This commit is contained in:
retoor 2025-10-28 20:50:53 +01:00
parent 87e19e3d02
commit 2deb8a2069
2 changed files with 19 additions and 7 deletions

View File

@ -6,7 +6,6 @@ import uuid
import signal import signal
from datetime import datetime from datetime import datetime
from contextlib import asynccontextmanager from contextlib import asynccontextmanager
import aiohttp_debugtoolbar
from snek import snode from snek import snode
from snek.view.threads import ThreadsView from snek.view.threads import ThreadsView
@ -497,7 +496,6 @@ class Application(BaseApplication):
raise raised_exception raise raised_exception
app = Application(db_path="sqlite:///snek.db") app = Application(db_path="sqlite:///snek.db")
#aiohttp_debugtoolbar.setup(app)
async def main(): async def main():

View File

@ -407,34 +407,48 @@ a {
width: 250px; width: 250px;
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
padding-top: 10px; padding-top: 20px;
overflow-y: auto; overflow-y: auto;
grid-area: sidebar; grid-area: sidebar;
} }
.sidebar h2 { .sidebar h2 {
color: #f05a28; color: #f05a28;
font-size: 1.2em; font-size: 0.75em;
margin-bottom: 20px; font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 10px;
margin-top: 20px;
}
.sidebar h2:first-child {
margin-top: 0;
} }
.sidebar ul { .sidebar ul {
list-style: none; list-style: none;
margin-bottom: 15px;
} }
.sidebar ul li { .sidebar ul li {
margin-bottom: 15px; margin-bottom: 4px;
} }
.sidebar ul li a { .sidebar ul li a {
color: #ccc; color: #ccc;
text-decoration: none; text-decoration: none;
font-size: 1em; font-size: 0.9em;
transition: color 0.3s; transition: color 0.3s;
display: block;
padding: 4px 8px;
border-radius: 4px;
transition: background-color 0.2s, color 0.2s;
} }
.sidebar ul li a:hover { .sidebar ul li a:hover {
color: #fff; color: #fff;
background-color: rgba(255, 255, 255, 0.05);
} }
@keyframes glow { @keyframes glow {