From ccfff174ae01fe2c782a2a329854e24763474316 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 06:07:51 +0200 Subject: [PATCH] =?UTF-8?q?cleanup:=20.form-row.section-header=20+=20reuse?= =?UTF-8?q?=20.inline-toggle=20=E2=80=94=20kill=206=20inline=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two recurring inline-style patterns in Settings: 1. The "card title + right-aligned refresh button" header — used by the System-Check card and the Storage card. Both carried the identical 3-property inline style on the form-row plus an inline margin:0 on the h3 inside. Now expressed as .form-row.section-header (with a descendant h3 margin reset) — two cards, four inline attrs gone. 2. The "checkbox + Auto-Refresh label" pattern next to the debug-log and runtime-metrics action buttons — both were inline-styled with display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-secondary). The existing .inline-toggle class (already used by the VOD filter row's Hide-downloaded toggle) is the exact same pattern at 12px instead of 13px — close enough that unifying onto the shared class is the right move. 1px down beats keeping a third near-duplicate definition. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/index.html | 12 ++++++------ src/styles.css | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/index.html b/src/index.html index 728f8a3..c333095 100644 --- a/src/index.html +++ b/src/index.html @@ -665,8 +665,8 @@
-
-

System-Check

+
+

System-Check

System: Unbekannt
@@ -681,7 +681,7 @@
-
-
-

Storage

+
+

Storage

Disk-Verbrauch pro Streamer im aktuellen Download-Ordner. Live-Aufnahmen werden separat ausgewiesen.

@@ -790,7 +790,7 @@
-