mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
add variables for setting background-color thead, tbody, tfoot (#2206)
* add variables for setting background-color thead, tbody, tfoot * update changelog
This commit is contained in:
committed by
Jeremy Thomas
parent
2eed7b3994
commit
dfd0b88c2c
@@ -3,7 +3,7 @@
|
|||||||
## 0.7.3
|
## 0.7.3
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
* #2206 Fix #2046 -> Set background-color for Tables via sass vars
|
||||||
* #2145 Fix #372 -> New indeterminate progress bars
|
* #2145 Fix #372 -> New indeterminate progress bars
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ $table-head-cell-color: $text-strong !default
|
|||||||
$table-foot-cell-border-width: 2px 0 0 !default
|
$table-foot-cell-border-width: 2px 0 0 !default
|
||||||
$table-foot-cell-color: $text-strong !default
|
$table-foot-cell-color: $text-strong !default
|
||||||
|
|
||||||
|
$table-head-background-color: transparent !default
|
||||||
|
$table-body-background-color: transparent !default
|
||||||
|
$table-foot-background-color: transparent !default
|
||||||
|
|
||||||
$table-row-hover-background-color: $white-bis !default
|
$table-row-hover-background-color: $white-bis !default
|
||||||
|
|
||||||
$table-row-active-background-color: $primary !default
|
$table-row-active-background-color: $primary !default
|
||||||
@@ -62,16 +66,19 @@ $table-striped-row-even-hover-background-color: $white-ter !default
|
|||||||
border-color: $table-row-active-color
|
border-color: $table-row-active-color
|
||||||
color: currentColor
|
color: currentColor
|
||||||
thead
|
thead
|
||||||
|
background-color: $table-head-background-color
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
border-width: $table-head-cell-border-width
|
border-width: $table-head-cell-border-width
|
||||||
color: $table-head-cell-color
|
color: $table-head-cell-color
|
||||||
tfoot
|
tfoot
|
||||||
|
background-color: $table-foot-background-color
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
border-width: $table-foot-cell-border-width
|
border-width: $table-foot-cell-border-width
|
||||||
color: $table-foot-cell-color
|
color: $table-foot-cell-color
|
||||||
tbody
|
tbody
|
||||||
|
background-color: $table-body-background-color
|
||||||
tr
|
tr
|
||||||
&:last-child
|
&:last-child
|
||||||
td,
|
td,
|
||||||
|
|||||||
Reference in New Issue
Block a user