Show which filter segment or chip is selected and focused without :has()
CI / full-gate (push) Failing after 1m3s

This commit is contained in:
2026-10-31 12:19:21 +01:00
parent 8a93d59988
commit d0e1de96b8
5 changed files with 44 additions and 16 deletions
+9 -7
View File
@@ -294,13 +294,6 @@ span.nav-self { cursor: default; } /* static / non-clickable */
}
}
/* Without :has() every branch is open and every theme rule is inert: neither control does anything.
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; }
}
.footer-actions { display: flex; align-items: center; gap: 4px; }
.profile {
display: flex; align-items: center; gap: 9px; flex: 1 1 auto;
@@ -485,6 +478,15 @@ span.nav-self { cursor: default; } /* static / non-clickable */
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 1px; }
}
/* Without :has() every branch is open and every theme rule is inert: neither control does anything.
The filter inputs stay visible, since the native control is then the only sign of a choice or of
focus. 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; }
.segmented input, .chip input { position: static; opacity: 1; margin: 0; }
}
/* date range */
.daterange {
display: inline-flex; align-items: center; gap: 6px;