UI : listes déroulantes lisibles en thème sombre, cadre unique sur la cible sélectionnée

- 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) <noreply@anthropic.com>
This commit is contained in:
cedricandClaude Opus 5.5 committed 2026-10-23 19:16:13 +02:00
1 parent 2ca2f87307
commit 993fe2d8a7
1 file changed
+6 -2
+6 -2
View File
@@ -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); }