Show which filter segment or chip is selected and focused without :has() #198

Merged
lilleman merged 5 commits from item-44 into main 2026-10-31 12:29:15 +01:00
Showing only changes of commit c78e5509b2 - Show all commits
+2 -2
View File
@@ -480,8 +480,8 @@ span.nav-self { cursor: default; } /* static / non-clickable */
/* Without :has() every nav branch stays open and no theme rule applies, so the disclosure toggles and
the theme switch are hidden. The filter inputs are shown instead: the native control is then the
only sign of a choice or of focus, and the dot goes, since it would stay grey beside a ticked box. This block must come
after the base rules, since @supports adds no specificity. */
only sign of a choice or of focus, and the dot goes, since it would stay grey beside a ticked box.
This block must come after the base rules, since @supports adds no specificity. */
@supports not selector(:has(a)) {
.nav-disc { visibility: hidden; } /* keeps its width, so the labels stay aligned */
.theme-switch { display: none; }