Handbooks reworked: wider dialog, clear steps, tips and pictures

The text ran outside the dialog box. Now it has a section bar, numbered steps,
button names that stand out and screenshots in both languages.
Phone: card headers wrap, so the EQ buttons no longer run off the screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 19:24:30 +01:00
1 parent fc0322cbc9
commit a639abf216
10 files changed
+77 -25

No files matched your search

+26 -6
View File
@@ -933,12 +933,30 @@ canvas.labcurve { display: block; width: 100%; height: 240px; background: var(--
.docbtn { flex: none; width: 28px; min-width: 28px; height: 28px; min-height: 28px; padding: 0; margin-left: 4px; color: var(--dim); }
.docbtn:hover { color: var(--accent); }
.docbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.docbody { width: min(600px, 82vw); max-height: 62vh; overflow-y: auto; padding-right: 6px; font-size: 13px; line-height: 1.5; }
.docbody section + section { margin-top: 16px; }
.docbody h4 { margin: 0 0 5px; font-size: 14px; color: var(--text); }
.docbody p { margin: 5px 0 0; color: var(--dim); }
.docbody ol { margin: 0; padding-left: 20px; }
.docbody li { margin: 3px 0; }
.dialog:has(> .docbody) { display: flex; flex-direction: column; width: min(820px, 100%); max-height: calc(100dvh - 32px); }
.docbody { position: relative; flex: 1; min-height: 0; overflow-y: auto; margin-right: -8px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent;
font-size: 14px; line-height: 1.55; }
.docnav { position: sticky; top: 0; z-index: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 0 10px; background: var(--panel); }
.docnav button { flex: none; }
.docbody section { padding: 16px 0; border-top: 1px solid var(--line); }
.docbody section:first-of-type { padding-top: 6px; border-top: 0; }
.docbody section:last-child { padding-bottom: 4px; }
.docbody h4 { margin: 0 0 8px; font-size: 16px; font-weight: 650; color: var(--text); }
.docbody p { margin: 0 0 10px; }
.docbody p:last-child { margin-bottom: 0; }
.docbody ol, .docbody ul { margin: 0; padding: 0; list-style: none; }
.docbody ol { counter-reset: step; }
.docbody li { position: relative; margin: 8px 0; padding-left: 32px; }
.docbody ol li { counter-increment: step; }
.docbody ol li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
font-size: 12px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.docbody ul li::before { content: ""; position: absolute; left: 8px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.docui { padding: 0 5px; border-radius: 4px; font-weight: 600; white-space: nowrap; background: var(--panel3); }
.doctip { margin: 12px 0 0 !important; padding: 9px 12px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--dim); background: var(--panel2); }
.docbody figure { margin: 12px 0; }
.docbody figure img { display: block; width: auto; max-width: 100%; max-height: 480px; height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; }
.docbody figcaption { margin-top: 6px; text-align: center; font-size: 12px; color: var(--dim); }
@media (max-width: 480px) { .dialog:has(> .docbody) { max-height: 92dvh; } .docui { white-space: normal; } }
/* ---- locked with "only show dashboard" */
body.dashonly #viewtabs, body.dashonly #devtabs, body.dashonly #btn-settings, body.dashonly #statusbar { display: none; }
body.dashonly #main { margin-left: 0; }
@@ -1022,3 +1040,5 @@ label.chk input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent
.led > .limled.seg { color: transparent; }
.led > .limled.seg.on { color: transparent; background: var(--led-o); }
}
@media (max-width: 600px) { .cards .card > h3 { flex-wrap: wrap; row-gap: 6px; height: auto; } .cards .card > h3 > * { min-width: 0; } }
.docui { padding: 0 4px; }