Show which filter segment or chip is selected and focused without :has()
CI / full-gate (push) Failing after 1m3s
CI / full-gate (push) Failing after 1m3s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user