]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
(#22414) Rename variables `$table-inverse-bg`, `$table-inverse-accent-bg`, `$table...
authorPatrick Yeo <patrick.yeo@liferay.com>
Sat, 19 Aug 2017 01:13:56 +0000 (18:13 -0700)
committerMark Otto <markd.otto@gmail.com>
Tue, 22 Aug 2017 01:20:14 +0000 (18:20 -0700)
scss/_tables.scss
scss/_variables.scss

index a652d17c5fad16aec069b6eb2040edb60de08cb1..3f3a3f1b757690f5c870264a60f4cb793f801235 100644 (file)
 
 .thead-inverse {
   th {
-    color: $table-inverse-color;
-    background-color: $table-inverse-bg;
+    color: $table-dark-color;
+    background-color: $table-dark-bg;
   }
 }
 
 }
 
 .table-inverse {
-  color: $table-inverse-color;
-  background-color: $table-inverse-bg;
+  color: $table-dark-color;
+  background-color: $table-dark-bg;
 
   th,
   td,
   thead th {
-    border-color: $table-inverse-border-color;
+    border-color: $table-dark-border-color;
   }
 
   &.table-bordered {
 
   &.table-striped {
     tbody tr:nth-of-type(odd) {
-      background-color: $table-inverse-accent-bg;
+      background-color: $table-dark-accent-bg;
     }
   }
 
   &.table-hover {
     tbody tr {
       @include hover {
-        background-color: $table-inverse-hover-bg;
+        background-color: $table-dark-hover-bg;
       }
     }
   }
index 31d01932148d93fb55e0bb561b5ecd8ab742c41c..c0b5494e6182b8afb27043c622ddbe71c14ef9e8 100644 (file)
@@ -283,11 +283,11 @@ $table-border-color:            $gray-200 !default;
 $table-head-bg:                 $gray-200 !default;
 $table-head-color:              $gray-700 !default;
 
-$table-inverse-bg:              $gray-900 !default;
-$table-inverse-accent-bg:       rgba($white, .05) !default;
-$table-inverse-hover-bg:        rgba($white, .075) !default;
-$table-inverse-border-color:    lighten($gray-900, 7.5%) !default;
-$table-inverse-color:           $body-bg !default;
+$table-dark-bg:              $gray-900 !default;
+$table-dark-accent-bg:       rgba($white, .05) !default;
+$table-dark-hover-bg:        rgba($white, .075) !default;
+$table-dark-border-color:    lighten($gray-900, 7.5%) !default;
+$table-dark-color:           $body-bg !default;
 
 
 // Buttons