From 993fe2d8a789e38a2a822bdc13657d99f6145e9e Mon Sep 17 00:00:00 2001 From: Cedric Date: Fri, 23 Oct 2026 19:16:13 +0200 Subject: [PATCH] =?UTF-8?q?UI=20:=20listes=20d=C3=A9roulantes=20lisibles?= =?UTF-8?q?=20en=20th=C3=A8me=20sombre,=20cadre=20unique=20sur=20la=20cibl?= =?UTF-8?q?e=20s=C3=A9lectionn=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - option/optgroup prennent les couleurs du thème (texte clair sur fond clair sinon) - carte cluster : bord de statut en ombre interne (suit les coins arrondis), sélection en contour accent de 2 px au lieu du double cadre Co-Authored-By: Claude Opus 5.5 (1M context) --- web/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/style.css b/web/style.css index a202a15..29f0add 100644 --- a/web/style.css +++ b/web/style.css @@ -112,6 +112,9 @@ body { padding-bottom: 44px; } button, input, select, textarea { font: inherit; color: inherit; } +/* native dropdown lists: follow the theme (light text on a light popup otherwise) */ +select { color-scheme: inherit; } +option, optgroup { background-color: var(--panel); color: var(--text); } button { cursor: pointer; } svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .muted { color: var(--muted); } @@ -251,10 +254,11 @@ body.busy .progress::after { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 12px 10px 14px; text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); - border-left: 3px solid var(--st, var(--border)); + /* status edge drawn inside the border: follows the rounded corners */ + box-shadow: inset 3px 0 0 var(--st, var(--border)); } button.ccard:hover { background: var(--row-hover); } -.ccard[aria-selected="true"] { border-color: var(--accent); border-left-color: var(--st, var(--accent)); box-shadow: 0 0 0 3px var(--accent-soft); } +.ccard[aria-selected="true"] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--st, var(--accent)), 0 0 0 1px var(--accent); } .ccard.ref { --st: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--panel)); cursor: default; } .ccard.st-ok { --st: var(--ok); } .ccard.st-diff { --st: var(--warn); }