From 3692548ad0c7040c4e0583d92c03924a766f5d21 Mon Sep 17 00:00:00 2001 From: jimmy Date: Tue, 17 Nov 2026 16:49:01 +1300 Subject: [PATCH] style: bridge status dots and other pending style changes Co-Authored-By: Claude Haiku 5.5 --- web/static/style.css | 63 ++++++++++++++++++++++++++++++++------------ 1 file changed, 46 insertions(+), 17 deletions(-) diff --git a/web/static/style.css b/web/static/style.css index db262d7..6897079 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -1489,11 +1489,18 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap { /* Header / global dialogs */ #help-modal.active, -#audio-modal.active, #settings-modal.active { z-index: 1080; } +/* Editors opened from Settings (the Bridges and Outputs tabs) */ +#edit-bridge-modal.active, +#edit-output-modal.active, +#edit-user-modal.active, +#edit-role-modal.active { + z-index: 1090; +} + /* JS-appended overlays (e.g. preset “From Palette”, add-preset-to-zone) — must sit above #preset-editor-modal */ .modal.modal-child-overlay.active { z-index: 1080; @@ -1795,6 +1802,26 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap { align-items: center; } +/* A row with its title, dropdown or button on one line (the Users and Roles lists) */ +.group-list-row.row-inline { + flex-direction: row; + align-items: center; + justify-content: space-between; + gap: 0.75rem; +} + +.group-list-row.row-inline .group-list-row-info { + flex: 1; +} + +.group-list-row.row-inline .group-list-row-actions { + flex-shrink: 0; +} + +.group-list-row.row-inline .group-list-row-meta { + text-align: left; +} + .zone-modal-create-row { flex-wrap: wrap; align-items: center; @@ -1833,14 +1860,15 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap { flex-direction: column; gap: 0; margin-bottom: 0.5rem; - max-height: 14rem; + max-height: 26rem; overflow: hidden; min-height: 0; } .zone-devices-list { flex: 1 1 auto; - min-height: 0; + min-height: 5rem; + max-height: 12rem; overflow-y: auto; display: flex; flex-direction: column; @@ -2360,15 +2388,14 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap { } /* Settings modal */ +/* One size for every Settings tab: the content scrolls inside it */ #settings-modal .modal-content { - max-width: 900px; + width: 900px; + max-width: 95vw; + height: min(680px, 90vh); max-height: 90vh; overflow-y: auto; -} - -#settings-modal.settings-modal--led-tool .modal-content { - max-width: 960px; - width: 95vw; + box-sizing: border-box; } #settings-modal .settings-tabs { @@ -2407,14 +2434,6 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap { display: none; } -#settings-modal .settings-led-tool-iframe { - width: 100%; - height: min(75vh, 720px); - border: 1px solid #4a4a4a; - border-radius: 4px; - background: #0b1020; -} - #settings-modal .settings-section.ap-settings-section { margin-top: 1.5rem; } @@ -2721,9 +2740,15 @@ html.simulated-bpm-mode .seq-switch-toggle-wrap { } /* Settings > Network > Bridges: one row per running bridge */ +.bridge-status-dot { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; margin-right: 0.5em; vertical-align: middle; background: #888; } +.bridge-status-up { background: #2e9e4f; } +.bridge-status-down { background: #d9822b; } +.bridge-status-local { background: #3a7bd5; } .bridge-row { margin: 10px 0; } .bridge-row .btn-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; } .bridge-row .btn-group input[type="number"] { width: 6em; } +.bridge-row .btn-group input[type="text"] { flex: 1 1 12em; min-width: 0; } +.bridge-row .btn-group[hidden] { display: none; } /* --------------------------------------------------------------------------------------------- * Sequence timeline (seq_timeline.js): a DAW-style arrangement. Tracks are targets, clips are @@ -3561,6 +3586,10 @@ body.sim-split-dragging .sim-pane-divider { border-bottom: 1px solid #2a2d35; } +.sim-pane-tabs-gap { + flex: 1; +} + .sim-pane-tabs button { padding: 2px 10px; font-size: 12px;