Show which filter segment or chip is selected and focused without :has() #198
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user