Changeset 49867 for branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/table/_style.scss
- Timestamp:
- 12/22/2020 04:15:41 PM (4 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/table/_style.scss
r49574 r49867 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.