mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
Update _table.scss
use `:is()`
This commit is contained in:
parent
a8aa4b8936
commit
ee5246de88
1 changed files with 5 additions and 5 deletions
|
@ -50,13 +50,13 @@
|
||||||
|
|
||||||
// Striped
|
// Striped
|
||||||
@if enable-classes {
|
@if enable-classes {
|
||||||
/* clean-css ignore:start */
|
|
||||||
#{$parent-selector} table.striped {
|
#{$parent-selector} table.striped {
|
||||||
tbody tr:nth-child(odd of :not([hidden])) th,
|
tbody tr:is(:nth-child(odd of :not([hidden]))) {
|
||||||
tbody tr:nth-child(odd of :not([hidden])) td {
|
th,
|
||||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
td {
|
||||||
|
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* clean-css ignore:end */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue