mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
Merge ee5246de88
into 1039a4788d
This commit is contained in:
commit
42221ffe10
1 changed files with 4 additions and 4 deletions
|
@ -50,10 +50,10 @@
|
||||||
|
|
||||||
// Striped
|
// Striped
|
||||||
@if enable-classes {
|
@if enable-classes {
|
||||||
#{$parent-selector} table {
|
#{$parent-selector} table.striped {
|
||||||
&.striped {
|
tbody tr:is(:nth-child(odd of :not([hidden]))) {
|
||||||
tbody tr:nth-child(odd) th,
|
th,
|
||||||
tbody tr:nth-child(odd) td {
|
td {
|
||||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue