Changeset 49864 for trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/table/_style.scss
- Timestamp:
- 12/22/2020 03:00:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/table/_style.scss
r49574 r49864 4 4 min-width: 240px; 5 5 border-collapse: collapse; 6 7 thead, 8 tfoot { 9 text-align: center; 10 } 6 11 7 12 th { … … 15 20 } 16 21 22 figcaption { 23 color: var(--global--color-primary); 24 font-size: var(--global--font-size-xs); 25 } 26 17 27 &.is-style-regular .has-background, 28 &.is-style-stripes .has-background, 18 29 &.is-style-stripes .has-background thead tr, 19 30 &.is-style-stripes .has-background tfoot tr, 20 &.is-style-stripes .has-background tbody tr :nth-child(even){31 &.is-style-stripes .has-background tbody tr { 21 32 color: var(--table--has-background-text-color); 22 33 } … … 32 43 tbody tr:nth-child(odd) { 33 44 background-color: var(--table--stripes-background-color); 45 } 46 47 .has-background tbody tr:nth-child(odd) { 48 background-color: var(--global--color-white-90); 34 49 } 35 50 }
Note: See TracChangeset
for help on using the changeset viewer.