aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Yeo <[email protected]>2017-08-18 18:13:56 -0700
committerMark Otto <[email protected]>2017-08-21 18:20:14 -0700
commit07594279357fe933d64a3350cd48863ace69404e (patch)
tree18f89d92b4998a9b3e94233b62d0ee792242fc3e
parent6b6f45ad673b4f1cbc63e29f01bc5ad10a87ebd5 (diff)
downloadbootstrap-07594279357fe933d64a3350cd48863ace69404e.tar.xz
bootstrap-07594279357fe933d64a3350cd48863ace69404e.zip
(#22414) Rename variables `$table-inverse-bg`, `$table-inverse-accent-bg`, `$table-inverse-hover-bg`, `$table-inverse-border-color`, `$table-inverse-color` to `$table-dark-bg`, `$table-dark-accent-bg`, `$table-dark-hover-bg`, `$table-dark-border-color`, `$table-dark-color` for consistency
-rw-r--r--scss/_tables.scss14
-rw-r--r--scss/_variables.scss10
2 files changed, 12 insertions, 12 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss
index a652d17c5..3f3a3f1b7 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -105,8 +105,8 @@
.thead-inverse {
th {
- color: $table-inverse-color;
- background-color: $table-inverse-bg;
+ color: $table-dark-color;
+ background-color: $table-dark-bg;
}
}
@@ -118,13 +118,13 @@
}
.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 {
@@ -133,14 +133,14 @@
&.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;
}
}
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 31d019321..c0b5494e6 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -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