From: Jonathan Taylor Date: Wed, 31 Oct 2018 13:35:42 +0000 (-0400) Subject: add variables for setting background-color thead, tbody, tfoot (#2206) X-Git-Tag: 0.7.3~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfd0b88c2c0ae8efccbbe8af2c7c36bea479ca21;p=thirdparty%2Fbulma.git add variables for setting background-color thead, tbody, tfoot (#2206) * add variables for setting background-color thead, tbody, tfoot * update changelog --- diff --git a/CHANGELOG.md b/CHANGELOG.md index f93b5477a..bc2a39c07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 0.7.3 ### New features - +* #2206 Fix #2046 -> Set background-color for Tables via sass vars * #2145 Fix #372 -> New indeterminate progress bars ### Improvements diff --git a/sass/elements/table.sass b/sass/elements/table.sass index a4c7e9bc9..a1cf93602 100644 --- a/sass/elements/table.sass +++ b/sass/elements/table.sass @@ -11,6 +11,10 @@ $table-head-cell-color: $text-strong !default $table-foot-cell-border-width: 2px 0 0 !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-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 color: currentColor thead + background-color: $table-head-background-color td, th border-width: $table-head-cell-border-width color: $table-head-cell-color tfoot + background-color: $table-foot-background-color td, th border-width: $table-foot-cell-border-width color: $table-foot-cell-color tbody + background-color: $table-body-background-color tr &:last-child td,