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:
1 parent
fc0322cbc9
commit
a639abf216
10 files changed
+77
-25
No files matched your search
@@ -57,6 +57,7 @@ pi_writer.py → pi_image.py (cloud-init SD card, installs server.py as a system
|
|||||||
the swallowing of the app lock. A safety catch per browser tab only: not stored, the server doesn't know it. Mute all stays.
|
the swallowing of the app lock. A safety catch per browser tab only: not stored, the server doesn't know it. Mute all stays.
|
||||||
* **Sound Lab / REW** (`static/rew.js`, handbooks in `static/docs.js`, `rew_call` in `server.py`) – the server talks to REW's API on `127.0.0.1:4735`, which only answers on
|
* **Sound Lab / REW** (`static/rew.js`, handbooks in `static/docs.js`, `rew_call` in `server.py`) – the server talks to REW's API on `127.0.0.1:4735`, which only answers on
|
||||||
REW's own computer; so Sound Lab is only in the desktop apps (`S.isApp`, the server refuses `/api/rew/` otherwise). Only checked against a fake server built from its OpenAPI spec.
|
REW's own computer; so Sound Lab is only in the desktop apps (`S.isApp`, the server refuses `/api/rew/` otherwise). Only checked against a fake server built from its OpenAPI spec.
|
||||||
|
Pictures of the handbooks: `static/docimg/<name>.<lang>.jpg`, one per language, only ever from this app itself.
|
||||||
* **DJ Brake** (`static/djbrake.html`, `App.dj_stream`) – the only page without a login, off by default. It may only ever learn
|
* **DJ Brake** (`static/djbrake.html`, `App.dj_stream`) – the only page without a login, off by default. It may only ever learn
|
||||||
`{on, ready, room, hint}` from `/djbrake/state`: never add device data or controls there. `dj_margin` moves its limit
|
`{on, ready, room, hint}` from `/djbrake/state`: never add device data or controls there. `dj_margin` moves its limit
|
||||||
down on purpose, so the page must never reveal it. On its own on purpose, without `app.js`.
|
down on purpose, so the page must never reveal it. On its own on purpose, without `app.js`.
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
+33
-18
@@ -5,31 +5,31 @@
|
|||||||
const DOC_LAB = () => ({
|
const DOC_LAB = () => ({
|
||||||
title: t("Sound Lab handbook"),
|
title: t("Sound Lab handbook"),
|
||||||
parts: [
|
parts: [
|
||||||
{ h: t("What it is for"), p: t("REW (Room EQ Wizard, free) measures your speakers in the room. Sound Lab brings its filters onto a channel of the DSP and sends the channel's EQ back to REW, so you don't type values by hand.") },
|
{ n: t("Overview"), h: t("What it is for"), fig: ["lab-take", t("A measurement taken over from REW: the orange curve is the prediction, the table lists each filter before anything reaches the DSP.")], p: t("REW (Room EQ Wizard, free) measures your speakers in the room. Sound Lab brings its filters onto a channel of the DSP and sends the channel's EQ back to REW, so you don't type values by hand.") },
|
||||||
{ h: t("Setting up"), steps: [
|
{ n: t("Setting up"), h: t("Setting up"), steps: [
|
||||||
t("Install REW on the computer running this app and connect a measuring microphone."),
|
t("Install REW on the computer running this app and connect a measuring microphone."),
|
||||||
t("In REW: Preferences → API → start the API, and tick that it starts with REW."),
|
t("In REW: Preferences → API → start the API, and tick that it starts with REW."),
|
||||||
t("Open Sound Lab and press “Check”. The dot turns green and shows the REW version."),
|
t("Open Sound Lab and press “Check”. The dot turns green and shows the REW version."),
|
||||||
], p: t("REW's API only answers on its own computer, so Sound Lab is part of the Windows and macOS apps only.") },
|
], tip: t("REW's API only answers on its own computer, so Sound Lab is part of the Windows and macOS apps only.") },
|
||||||
{ h: t("Example: correcting a top in a hall"), steps: [
|
{ n: t("Correcting"), h: t("Example: correcting a top in a hall"), steps: [
|
||||||
t("Export a preset first (File… → Export), so you can go back."),
|
t("Export a preset first (File… → Export), so you can go back."),
|
||||||
t("Mute everything except the speaker you are measuring and set a low level. Put the microphone at ear height in the audience area."),
|
t("Mute everything except the speaker you are measuring and set a low level. Put the microphone at ear height in the audience area."),
|
||||||
t("Measure in REW, open its EQ window, choose the equaliser “Generic” and let it calculate filters with “Match response to target”."),
|
t("Measure in REW, open its EQ window, choose the equaliser “Generic” and let it calculate filters with “Match response to target”."),
|
||||||
t("In Sound Lab pick the channel of this speaker, e.g. Out 1, choose the measurement and press “Take filters”."),
|
t("In Sound Lab pick the channel of this speaker, e.g. Out 1, choose the measurement and press “Take filters”."),
|
||||||
t("Check the orange curve and the table. Outputs have 9 bands and inputs 8; anything above that is left out and shown in the note."),
|
t("Check the orange curve and the table. Outputs have 9 bands and inputs 8; anything above that is left out and shown in the note."),
|
||||||
t("Press “Apply” and measure again. The new measurement should now look like the prediction."),
|
t("Press “Apply” and measure again. The new measurement should now look like the prediction."),
|
||||||
], p: t("Tip: prefer cutting peaks to filling dips. A dip caused by the room can't be filled by more power, and big boosts only use up headroom.") },
|
], tip: t("Prefer cutting peaks to filling dips. A dip caused by the room can't be filled by more power, and big boosts only use up headroom.") },
|
||||||
{ h: t("Example: checking the channel against a measurement"), steps: [
|
{ n: t("Comparing"), h: t("Example: checking the channel against a measurement"), steps: [
|
||||||
t("Pick the channel and press “Send curve as a new measurement”."),
|
t("Pick the channel and press “Send curve as a new measurement”."),
|
||||||
t("In REW it appears in the measurement list. Show it in “All SPL” together with your real measurement."),
|
t("In REW it appears in the measurement list. Show it in “All SPL” together with your real measurement."),
|
||||||
t("So you see at a glance whether crossover and EQ on the DSP do what the measurement needs."),
|
t("So you see at a glance whether crossover and EQ on the DSP do what the measurement needs."),
|
||||||
] },
|
] },
|
||||||
{ h: t("Example: trying changes in REW first"), steps: [
|
{ n: t("Trying first"), h: t("Example: trying changes in REW first"), steps: [
|
||||||
t("Choose a measurement and press “Send filters to the chosen measurement”. This replaces the filters of that measurement in REW."),
|
t("Choose a measurement and press “Send filters to the chosen measurement”. This replaces the filters of that measurement in REW."),
|
||||||
t("In REW's EQ window change the filters and watch the predicted result. Nothing changes on the DSP."),
|
t("In REW's EQ window change the filters and watch the predicted result. Nothing changes on the DSP."),
|
||||||
t("If you like it, press “Take filters” in Sound Lab, check and apply."),
|
t("If you like it, press “Take filters” in Sound Lab, check and apply."),
|
||||||
] },
|
] },
|
||||||
{ h: t("Without the API"), steps: [
|
{ n: t("Without the API"), h: t("Without the API"), steps: [
|
||||||
t("In REW's EQ window: File → Export → Filter settings as text."),
|
t("In REW's EQ window: File → Export → Filter settings as text."),
|
||||||
t("In Sound Lab press “Load REW filter file…”, check and apply."),
|
t("In Sound Lab press “Load REW filter file…”, check and apply."),
|
||||||
] },
|
] },
|
||||||
@@ -39,8 +39,8 @@ const DOC_LAB = () => ({
|
|||||||
const DOC_SF = () => ({
|
const DOC_SF = () => ({
|
||||||
title: t("SoundField handbook"),
|
title: t("SoundField handbook"),
|
||||||
parts: [
|
parts: [
|
||||||
{ h: t("What it is for"), p: t("SoundField is a top view of the room for planning before you set up: where speakers go, how evenly the room is covered, and which delays they need. It calculates a free field without reflections, so it is a planning aid, not a measurement.") },
|
{ n: t("Overview"), h: t("What it is for"), fig: ["sf-plan", t("The “Level” map: green is around the median of the audience area, red is 12 dB below it.")], p: t("SoundField is a top view of the room for planning before you set up: where speakers go, how evenly the room is covered, and which delays they need. It calculates a free field without reflections, so it is a planning aid, not a measurement.") },
|
||||||
{ h: t("Example: a band in a hall of 20 × 30 m"), steps: [
|
{ n: t("Planning"), h: t("Example: a band in a hall of 20 × 30 m"), steps: [
|
||||||
t("Under “Room” enter width 20 and depth 30, stage 8 × 4 m, the temperature and the ear height of the audience."),
|
t("Under “Room” enter width 20 and depth 30, stage 8 × 4 m, the temperature and the ear height of the audience."),
|
||||||
t("Press “Quick start” under “Suggestions” for a stereo pair and a sub, or “Stacks” for a sub left and right with the top on a pole."),
|
t("Press “Quick start” under “Suggestions” for a stereo pair and a sub, or “Stacks” for a sub left and right with the top on a pole."),
|
||||||
t("Drag the reference cross to your mixing position. Mains and subs are aligned in time at this point."),
|
t("Drag the reference cross to your mixing position. Mains and subs are aligned in time at this point."),
|
||||||
@@ -48,32 +48,47 @@ const DOC_SF = () => ({
|
|||||||
t("Look at the “Level” map and the spread below the plan. Aim for as many listeners as possible within ±3 dB."),
|
t("Look at the “Level” map and the spread below the plan. Aim for as many listeners as possible within ±3 dB."),
|
||||||
t("Follow “Suggestions”: they offer aiming, raising the mains, or delay speakers when the back of the room falls off."),
|
t("Follow “Suggestions”: they offer aiming, raising the mains, or delay speakers when the back of the room falls off."),
|
||||||
] },
|
] },
|
||||||
{ h: t("Example: the back of the hall is too quiet"), steps: [
|
{ n: t("The map"), h: t("Reading the map"), list: [
|
||||||
|
t("“Level”: how loud each spot of the room is, compared with the median of the audience area."),
|
||||||
|
t("“Sub”: where the subs add up and where they cancel at the chosen frequency."),
|
||||||
|
t("“Timing”: marked areas mean a delay arrives before the mains or more than 30 ms late."),
|
||||||
|
] },
|
||||||
|
{ n: t("Back of the hall"), h: t("Example: the back of the hall is too quiet"), steps: [
|
||||||
t("Press “Add delay line” in the suggestion, or add “+ Delay” and drag it to about two thirds of the room."),
|
t("Press “Add delay line” in the suggestion, or add “+ Delay” and drag it to about two thirds of the room."),
|
||||||
t("Drag its dashed target point to the middle of the area it should cover."),
|
t("Drag its dashed target point to the middle of the area it should cover."),
|
||||||
t("Switch the map to “Timing”: marked areas mean the delay arrives before the mains or more than 30 ms late."),
|
t("Switch the map to “Timing”: marked areas mean the delay arrives before the mains or more than 30 ms late."),
|
||||||
t("The offset under “Delays” keeps the mains arriving first, so the sound still seems to come from the stage. 5 ms is a good start."),
|
t("The offset under “Delays” keeps the mains arriving first, so the sound still seems to come from the stage. 5 ms is a good start."),
|
||||||
] },
|
] },
|
||||||
{ h: t("Example: subs, and why two can be worse than one"), steps: [
|
{ n: t("Subs"), h: t("Example: subs, and why two can be worse than one"), steps: [
|
||||||
t("Switch the map to “Sub” and choose a frequency such as 80 Hz."),
|
t("Switch the map to “Sub” and choose a frequency such as 80 Hz."),
|
||||||
t("With subs left and right you see lanes of cancellation through the room."),
|
t("With subs left and right you see lanes of cancellation through the room."),
|
||||||
t("Try the “Centre cluster” suggestion and compare: the lanes disappear."),
|
t("Try the “Centre cluster” suggestion and compare: the lanes disappear."),
|
||||||
] },
|
] },
|
||||||
{ h: t("Taking the delays to the DSP"), steps: [
|
{ n: t("To the DSP"), h: t("Taking the delays to the DSP"), fig: ["sf-delays", t("The “Delays” table: distance and delay per speaker, next to what is set on the DSP now.")], steps: [
|
||||||
t("Export a preset first (File… → Export)."),
|
t("Export a preset first (File… → Export)."),
|
||||||
t("Select a speaker and tick which DSP outputs feed it."),
|
t("Select a speaker and tick which DSP outputs feed it."),
|
||||||
t("In the “Delays” table press “Apply” for one speaker, or “Apply all”. The column “Now on DSP” shows what is set."),
|
t("In the “Delays” table press “Apply” for one speaker, or “Apply all”. The column “Now on DSP” shows what is set."),
|
||||||
t("Check the result by ear or with a measurement: temperature, reflections and real speakers differ from the model."),
|
], tip: t("Check the result by ear or with a measurement: temperature, reflections and real speakers differ from the model.") },
|
||||||
] },
|
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// “Names of buttons” in the texts stand out; the quotes go, the German ones too
|
||||||
|
const docText = s => s.split(/([“„][^”“]+[”“])/).map(x => /^[“„]/.test(x) ? h("b", { class: "docui" }, x.slice(1, -1)) : x);
|
||||||
|
|
||||||
function docDialog(doc) {
|
function docDialog(doc) {
|
||||||
const d = doc();
|
const d = doc();
|
||||||
|
const body = h("div", { class: "docbody" });
|
||||||
|
const secs = d.parts.map(part => h("section", {}, h("h4", {}, part.h),
|
||||||
|
part.p ? h("p", {}, docText(part.p)) : null,
|
||||||
|
part.fig ? h("figure", {}, h("img", { src: `docimg/${part.fig[0]}.${LANG}.jpg`, alt: "" }), h("figcaption", {}, docText(part.fig[1]))) : null,
|
||||||
|
part.steps ? h("ol", {}, part.steps.map(s => h("li", {}, docText(s)))) : null,
|
||||||
|
part.list ? h("ul", {}, part.list.map(s => h("li", {}, docText(s)))) : null,
|
||||||
|
part.tip ? h("p", { class: "doctip" }, docText(part.tip)) : null));
|
||||||
|
body.append(h("nav", { class: "docnav" }, d.parts.map((part, i) => h("button", { class: "chip", onclick: () => {
|
||||||
|
body.scrollTo({ top: secs[i].offsetTop - body.offsetTop - 48, behavior: "smooth" });
|
||||||
|
} }, part.n))), ...secs);
|
||||||
return modal({ title: d.title,
|
return modal({ title: d.title,
|
||||||
body: h("div", { class: "docbody" }, d.parts.map(part => h("section", {}, h("h4", {}, part.h),
|
body,
|
||||||
part.steps ? h("ol", {}, part.steps.map(s => h("li", {}, s))) : null,
|
|
||||||
part.p ? h("p", {}, part.p) : null))),
|
|
||||||
actions: [{ label: t("Close"), primary: true, value: () => true }] });
|
actions: [{ label: t("Close"), primary: true, value: () => true }] });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+17
-1
@@ -638,7 +638,6 @@ const DE = {
|
|||||||
"In Sound Lab pick the channel of this speaker, e.g. Out 1, choose the measurement and press “Take filters”.": "Im Sound Lab den Kanal dieses Lautsprechers wählen, z. B. Out 1, die Messung auswählen und „Filter holen“ drücken.",
|
"In Sound Lab pick the channel of this speaker, e.g. Out 1, choose the measurement and press “Take filters”.": "Im Sound Lab den Kanal dieses Lautsprechers wählen, z. B. Out 1, die Messung auswählen und „Filter holen“ drücken.",
|
||||||
"Check the orange curve and the table. Outputs have 9 bands and inputs 8; anything above that is left out and shown in the note.": "Die orange Kurve und die Tabelle prüfen. Ausgänge haben 9 Bänder, Eingänge 8; was darüber liegt, wird weggelassen und im Hinweis genannt.",
|
"Check the orange curve and the table. Outputs have 9 bands and inputs 8; anything above that is left out and shown in the note.": "Die orange Kurve und die Tabelle prüfen. Ausgänge haben 9 Bänder, Eingänge 8; was darüber liegt, wird weggelassen und im Hinweis genannt.",
|
||||||
"Press “Apply” and measure again. The new measurement should now look like the prediction.": "„Übernehmen“ drücken und neu messen. Die neue Messung sollte jetzt wie die Vorhersage aussehen.",
|
"Press “Apply” and measure again. The new measurement should now look like the prediction.": "„Übernehmen“ drücken und neu messen. Die neue Messung sollte jetzt wie die Vorhersage aussehen.",
|
||||||
"Tip: prefer cutting peaks to filling dips. A dip caused by the room can't be filled by more power, and big boosts only use up headroom.": "Tipp: Lieber Spitzen absenken als Löcher auffüllen. Ein Loch durch den Raum lässt sich nicht mit mehr Leistung füllen, große Anhebungen kosten nur Headroom.",
|
|
||||||
"Example: checking the channel against a measurement": "Beispiel: den Kanal mit einer Messung vergleichen",
|
"Example: checking the channel against a measurement": "Beispiel: den Kanal mit einer Messung vergleichen",
|
||||||
"Pick the channel and press “Send curve as a new measurement”.": "Den Kanal wählen und „Kurve als neue Messung senden“ drücken.",
|
"Pick the channel and press “Send curve as a new measurement”.": "Den Kanal wählen und „Kurve als neue Messung senden“ drücken.",
|
||||||
"In REW it appears in the measurement list. Show it in “All SPL” together with your real measurement.": "In REW erscheint sie in der Messungsliste. Zeige sie in „All SPL“ zusammen mit deiner echten Messung an.",
|
"In REW it appears in the measurement list. Show it in “All SPL” together with your real measurement.": "In REW erscheint sie in der Messungsliste. Zeige sie in „All SPL“ zusammen mit deiner echten Messung an.",
|
||||||
@@ -685,6 +684,23 @@ const DE = {
|
|||||||
"Note always in English": "Hinweis immer auf Englisch",
|
"Note always in English": "Hinweis immer auf Englisch",
|
||||||
"Warn earlier": "Früher warnen",
|
"Warn earlier": "Früher warnen",
|
||||||
"The page acts as if the limiter came this much earlier, so the DJ stays below the real one. The limiter itself does not change and the page does not show this setting.": "Die Seite tut so, als käme der Limiter um diesen Wert früher, damit der DJ unter dem echten bleibt. Der Limiter selbst ändert sich nicht, und die Seite zeigt diese Einstellung nicht.",
|
"The page acts as if the limiter came this much earlier, so the DJ stays below the real one. The limiter itself does not change and the page does not show this setting.": "Die Seite tut so, als käme der Limiter um diesen Wert früher, damit der DJ unter dem echten bleibt. Der Limiter selbst ändert sich nicht, und die Seite zeigt diese Einstellung nicht.",
|
||||||
|
"Overview": "Überblick",
|
||||||
|
"Correcting": "Korrigieren",
|
||||||
|
"Comparing": "Vergleichen",
|
||||||
|
"Trying first": "Erst ausprobieren",
|
||||||
|
"Planning": "Planen",
|
||||||
|
"The map": "Die Karte",
|
||||||
|
"Reading the map": "Die Karte lesen",
|
||||||
|
"Back of the hall": "Hinten in der Halle",
|
||||||
|
"Subs": "Subs",
|
||||||
|
"To the DSP": "Auf den DSP",
|
||||||
|
"A measurement taken over from REW: the orange curve is the prediction, the table lists each filter before anything reaches the DSP.": "Eine aus REW übernommene Messung: Die orange Kurve ist die Vorhersage, die Tabelle zeigt jeden Filter, bevor etwas auf den DSP kommt.",
|
||||||
|
"Prefer cutting peaks to filling dips. A dip caused by the room can't be filled by more power, and big boosts only use up headroom.": "Senke lieber Spitzen ab, statt Löcher aufzufüllen. Ein Loch durch den Raum lässt sich mit mehr Leistung nicht füllen, und große Anhebungen kosten nur Headroom.",
|
||||||
|
"The “Level” map: green is around the median of the audience area, red is 12 dB below it.": "Die Karte „Pegel“: Grün liegt um den Median der Publikumsfläche, Rot 12 dB darunter.",
|
||||||
|
"“Level”: how loud each spot of the room is, compared with the median of the audience area.": "„Pegel“: wie laut jede Stelle im Raum ist, verglichen mit dem Median der Publikumsfläche.",
|
||||||
|
"“Sub”: where the subs add up and where they cancel at the chosen frequency.": "„Sub“: wo sich die Subs bei der gewählten Frequenz addieren und wo sie sich auslöschen.",
|
||||||
|
"“Timing”: marked areas mean a delay arrives before the mains or more than 30 ms late.": "„Timing“: Markierte Flächen bedeuten, dass ein Delay vor den Mains oder mehr als 30 ms zu spät ankommt.",
|
||||||
|
"The “Delays” table: distance and delay per speaker, next to what is set on the DSP now.": "Die Tabelle „Delays“: Abstand und Delay pro Lautsprecher, daneben der aktuelle Wert auf dem DSP.",
|
||||||
};
|
};
|
||||||
|
|
||||||
const DE_PATTERNS = [
|
const DE_PATTERNS = [
|
||||||
|
|||||||
+26
-6
@@ -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 { 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:hover { color: var(--accent); }
|
||||||
.docbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
.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; }
|
.dialog:has(> .docbody) { display: flex; flex-direction: column; width: min(820px, 100%); max-height: calc(100dvh - 32px); }
|
||||||
.docbody section + section { margin-top: 16px; }
|
.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;
|
||||||
.docbody h4 { margin: 0 0 5px; font-size: 14px; color: var(--text); }
|
font-size: 14px; line-height: 1.55; }
|
||||||
.docbody p { margin: 5px 0 0; color: var(--dim); }
|
.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); }
|
||||||
.docbody ol { margin: 0; padding-left: 20px; }
|
.docnav button { flex: none; }
|
||||||
.docbody li { margin: 3px 0; }
|
.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" */
|
/* ---- locked with "only show dashboard" */
|
||||||
body.dashonly #viewtabs, body.dashonly #devtabs, body.dashonly #btn-settings, body.dashonly #statusbar { display: none; }
|
body.dashonly #viewtabs, body.dashonly #devtabs, body.dashonly #btn-settings, body.dashonly #statusbar { display: none; }
|
||||||
body.dashonly #main { margin-left: 0; }
|
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 { color: transparent; }
|
||||||
.led > .limled.seg.on { color: transparent; background: var(--led-o); }
|
.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; }
|
||||||
Reference in new issue
Block a user