_sass/_table.scss in askclass-course-theme-0.4.0 vs _sass/_table.scss in askclass-course-theme-0.5.0
- old
+ new
@@ -1,14 +1,11 @@
-$color-odd: #2a2a2a;
-$color-even: #2f2f2f;
-
table {
table-layout: fixed;
tr:nth-child(odd) {
- background-color: $color-odd;
+ background-color: var(--color-row-odd, '#2a2a2a');
}
th, tr:nth-child(even) {
- background-color: $color-even;
+ background-color: var(--color-row,even, '#2f2f2f');
}
td, th {
word-break: normal;
vertical-align: top;
padding: 7px;