Polish dashboard layout and stabilize live map refreshes
Preserve map markers, zoom and open details during polling; consolidate technical notes and align interface spacing. Fix empty English translations inserting undefined text and add regression coverage.
This commit is contained in:
1 parent
c8941dc199
commit
33f1294405
17 files changed
+277
-50
No files matched your search
@@ -82,3 +82,36 @@ body:has(#chat:not([hidden])) .topbar{height:64px}
|
||||
|
||||
.sevenplus-inline{white-space:normal;text-align:center;padding:16px;border:1px solid #38546b;border-radius:12px;background:#102335;margin-bottom:14px}.sevenplus-inline img{display:block;max-width:100%;width:auto;max-height:280px;object-fit:contain;margin:auto;cursor:zoom-in}.sevenplus-inline p{font-size:11px;color:#97b5cc;margin:12px 0 0}.sevenplus-original>summary{cursor:pointer;color:#88a8c4;font-size:11px;white-space:normal;padding:10px 0}.sevenplus-parts{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.sevenplus-parts button{font-size:10px;padding:4px 7px}
|
||||
.reader:has(.sevenplus-inline){display:block;overflow:auto}.reader:has(.sevenplus-inline) .reader-body{overflow:visible;max-height:none}.reader:has(.sevenplus-inline) .message-attachments{max-height:none;overflow:visible}
|
||||
|
||||
/* Shared rhythm for operational pages. */
|
||||
:root{--panel-gap:16px;--control-height:40px;--panel-radius:12px;--text-secondary:#9bacbf}
|
||||
html{scrollbar-gutter:stable}
|
||||
#shell .sidebar{padding:24px 18px 20px}
|
||||
#shell .sidebar .brand{margin-bottom:26px;font-size:21px;letter-spacing:.3px}
|
||||
#shell .side-label{margin-bottom:12px;letter-spacing:1.5px}
|
||||
#shell nav button{min-height:42px;padding:10px 12px;margin-bottom:3px;font-size:13px;line-height:1.35;gap:10px}
|
||||
#shell .side-station{padding:16px 10px;font-size:12px;line-height:1.6}
|
||||
#shell .profile{padding-top:16px}
|
||||
#shell .topbar{padding-inline:28px}
|
||||
#shell .page:not(#home){padding:24px 28px;max-width:none}
|
||||
#shell .page :is(.page-heading,.journal-heading,.forward-heading,.chat-heading,.monitor-heading,.terminal-heading){gap:16px;margin:0 0 20px;min-height:40px;align-items:center}
|
||||
#shell .page :is(.page-heading,.journal-heading,.forward-heading,.chat-heading,.monitor-heading,.terminal-heading) h1{font:600 26px/1.25 'Segoe UI',sans-serif;letter-spacing:-.5px;margin:0}
|
||||
#shell :is(.journal-heading,.forward-heading,.terminal-heading) p{font-size:12px;line-height:1.6;margin:6px 0 0;color:var(--text-secondary)}
|
||||
#shell .page:not(#home) :is(.primary,.secondary){min-height:var(--control-height);padding:9px 14px;border-radius:8px;font-size:12px;line-height:1.5}
|
||||
#shell .page :is(.mail-toolbar,.journal-filters,.map-toolbar,.aprs-activity-toolbar) :is(input,select){height:var(--control-height);border-radius:8px;font-size:12px;padding:8px 12px}
|
||||
#shell :is(input,select,textarea):focus-visible{border-color:#8fb8de;box-shadow:0 0 0 3px #8fb8de20}
|
||||
#shell :is(button,a,summary):focus-visible{outline:2px solid #a1c9ec;outline-offset:3px}
|
||||
#shell .page :is(.journal-kpis,.forward-summary,.aprs-activity-kpis){gap:var(--panel-gap);margin-bottom:20px}
|
||||
#shell .page :is(.journal-kpis article,.forward-summary>div,.aprs-activity-kpis article){padding:16px 18px;border-radius:var(--panel-radius);background:linear-gradient(135deg,#192433,#121923);border:1px solid #293c52;min-width:0}
|
||||
#shell .page :is(.journal-kpis,.forward-summary,.aprs-activity-kpis) span{font-size:12px;color:var(--text-secondary)}
|
||||
#shell .page :is(.journal-kpis,.forward-summary,.aprs-activity-kpis) strong{display:block;font:500 26px/1.25 Consolas,monospace;font-variant-numeric:tabular-nums;color:#d5e5f4;margin-top:8px;overflow-wrap:anywhere}
|
||||
.data-notes{margin:16px 0 0;padding:12px 16px;border:1px solid #29384a;border-radius:9px;background:#111923;color:var(--text-secondary);font:12px/1.65 'Segoe UI',sans-serif;overflow-wrap:anywhere}
|
||||
.data-notes>summary{cursor:pointer;width:fit-content;color:#a9bfd6;font-size:12px;user-select:none}
|
||||
.data-notes[open]>summary{margin-bottom:10px}
|
||||
.data-notes p,.data-notes .journal-source,.data-notes .forward-note{font-size:12px;margin:8px 0 0;line-height:1.7;color:var(--text-secondary)}
|
||||
.data-notes>div{white-space:pre-line}
|
||||
.journal-table-scroll,.journal-detail,.map-info,#aprs-received-stations,.aprs-traffic-scroll,.reader-body{scrollbar-gutter:stable;overscroll-behavior:contain}
|
||||
@media(min-width:601px) and (max-height:760px){#shell .sidebar{padding-top:20px}#shell .sidebar .brand{margin-bottom:18px}#shell nav button{min-height:38px;padding-block:8px}#shell .side-station{padding-block:12px}}
|
||||
@media(max-width:700px){#shell .page:not(#home){padding:20px 16px}#shell .topbar{padding-inline:16px}#shell .page :is(.page-heading,.journal-heading,.forward-heading,.chat-heading,.monitor-heading,.terminal-heading){flex-wrap:wrap;gap:12px}#shell .page :is(.page-heading,.journal-heading,.forward-heading,.chat-heading,.monitor-heading,.terminal-heading) h1{font-size:23px}#shell .page :is(.journal-kpis,.forward-summary,.aprs-activity-kpis){gap:10px}#shell .page :is(.journal-kpis article,.forward-summary>div,.aprs-activity-kpis article){padding:14px}}
|
||||
@media(max-width:600px){#shell .sidebar{padding:16px}#shell .sidebar .brand{margin:0}#shell nav button{margin:0;min-height:38px;font-size:12px;padding:8px 10px}}
|
||||
@media(prefers-reduced-motion:reduce){.arrival-toast{animation:none}.chat-messages{scroll-behavior:auto}}
|
||||
Reference in new issue
Block a user