]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
add variables for setting background-color thead, tbody, tfoot (#2206)
authorJonathan Taylor <jonathan.taylor@motionsuggests.com>
Wed, 31 Oct 2018 13:35:42 +0000 (09:35 -0400)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 31 Oct 2018 13:35:42 +0000 (13:35 +0000)
* add variables for setting background-color thead, tbody, tfoot

* update changelog

CHANGELOG.md
sass/elements/table.sass

index f93b5477a71de61310df5a888820773f13e4e270..bc2a39c076fbaad0777ee0dd2d7defd580ae576f 100644 (file)
@@ -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
index a4c7e9bc9dbd38f6b3d7403b455171f6a2581ac7..a1cf9360286289857ad693c71b862e1a0e6f0b14 100644 (file)
@@ -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,