diff --git a/imptune/static/app.css b/imptune/static/app.css index 442c870..5b3cebc 100644 --- a/imptune/static/app.css +++ b/imptune/static/app.css @@ -91,6 +91,36 @@ nav.sidebar li { border-left-color: var(--pico-primary, #1a73e8); } +/* Main wrapper: fills remaining space beside sidebar, stacks topbar + content */ +.main-wrapper { + flex: 1 1 auto; + min-width: 0; + display: flex; + flex-direction: column; +} + +/* Topbar: holds top-right controls */ +.topbar { + display: flex; + justify-content: flex-end; + align-items: center; + padding: 0.5rem 1rem; + border-bottom: 1px solid var(--pico-muted-border-color, #e0e0e0); + gap: 0.5rem; +} + +.topbar-controls { + display: flex; + gap: 0.5rem; + align-items: center; +} + +.topbar-controls button { + padding: 0.3rem 0.6rem; + font-size: 0.85rem; + min-width: 2.2rem; +} + /* Main content */ .main-content { flex: 1 1 auto; diff --git a/imptune/templates/base.html b/imptune/templates/base.html index d8d56b9..08c13ea 100644 --- a/imptune/templates/base.html +++ b/imptune/templates/base.html @@ -6,6 +6,110 @@