Refs #33491 -- Split CSS selected-row highlight selectors.
Combined selectors break the whole rule where :has() is not supported, for example on Firefox. Thanks to Marcelo Galigniana for the report.
This commit is contained in:
parent
0aa2f16e63
commit
e1056ed5a2
|
@ -260,7 +260,10 @@
|
||||||
|
|
||||||
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
|
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
|
||||||
selector and the JS adding the class can be removed. */
|
selector and the JS adding the class can be removed. */
|
||||||
#changelist table tbody tr.selected,
|
#changelist table tbody tr.selected {
|
||||||
|
background-color: var(--selected-row);
|
||||||
|
}
|
||||||
|
|
||||||
#changelist table tbody tr:has(input[type=checkbox]:checked) {
|
#changelist table tbody tr:has(input[type=checkbox]:checked) {
|
||||||
background-color: var(--selected-row);
|
background-color: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue