]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove references to -* outside _variables.scss
authorChristopher Baker <christopher@hmudesign.com>
Mon, 18 Apr 2016 01:56:09 +0000 (18:56 -0700)
committerChristopher Baker <christopher@hmudesign.com>
Mon, 18 Apr 2016 01:56:09 +0000 (18:56 -0700)
scss/_images.scss
scss/_tables.scss
scss/_variables.scss
scss/utilities/_background.scss

index d17006df24f2b23cb2d7e85d0b39e9fa4b24ce81..71d4b38bddfc5c4d3f8cf584befe92da36d91232 100644 (file)
@@ -48,5 +48,5 @@
 
 .figure-caption {
   font-size: $figure-caption-font-size;
-  color: $gray-light;
+  color: $figure-caption-color;
 }
index c04e7c9b8a4fa86a41547dad34bf095a806d567b..ff3ea4e572c36614e89ef6b67145c232ec288afe 100644 (file)
 .thead-inverse {
   th {
     color: #fff;
-    background-color: $gray-dark;
+    background-color: $table-bg-inverse;
   }
 }
 .thead-default {
   th {
-    color: $gray;
-    background-color: $gray-lighter;
+    color: $table-head-color;
+    background-color: $table-head-bg;
   }
 }
 
 .table-inverse {
-  color: $gray-lighter;
-  background-color: $gray-dark;
+  color: $body-bg;
+  background-color: $table-bg-inverse;
 
   &.table-bordered {
     border: 0;
   th,
   td,
   thead th {
-    border-color: $gray;
+    border-color: $body-bg;
   }
 }
 
index 82ef6f96309c3eca5fae160d6f8f7a3b1cdabff5..5ef5bcb4b9ffcd4be9b196241c75774966026abb 100644 (file)
@@ -244,10 +244,14 @@ $table-cell-padding:            .75rem !default;
 $table-sm-cell-padding:         .3rem !default;
 
 $table-bg:                      transparent !default;
+$table-bg-inverse:              $gray-dark !default;
 $table-bg-accent:               #f9f9f9 !default;
 $table-bg-hover:                #f5f5f5 !default;
 $table-bg-active:               $table-bg-hover !default;
 
+$table-head-bg:                 $gray-lighter !default;
+$table-head-color:              $gray !default;
+
 $table-border-width:            $border-width !default;
 $table-border-color:            $gray-lighter !default;
 
@@ -750,6 +754,7 @@ $thumbnail-box-shadow:        0 1px 2px rgba(0,0,0,.075) !default;
 // Figures
 
 $figure-caption-font-size: 90% !default;
+$figure-caption-color:     $gray-light !default;
 
 
 // Breadcrumbs
index 4bbf7318d92e17fd24a9e1aef6e3fb3aa2d44c84..737731c959d1532cfcf0d25859213644a88a322d 100644 (file)
@@ -5,12 +5,12 @@
 // Inverse
 // TODO: redo this as a proper class
 .bg-inverse {
-  color: $gray-lighter;
-  background-color: $gray-dark;
+  color: $body-bg;
+  background-color: $body-color;
 }
 
 .bg-faded {
-  background-color: $gray-lightest;
+  background-color: darken($body-bg, 3%);
 }
 
 @include bg-variant('.bg-primary', $brand-primary);