Commit 07594279 authored by Patrick Yeo's avatar Patrick Yeo Committed by Mark Otto
Browse files

(#22414) Rename variables `$table-inverse-bg`, `$table-inverse-accent-bg`,...

(#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
parent 6b6f45ad
8 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!25494web pack,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23973aaaa,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 12 additions and 12 deletions
+12 -12
......@@ -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;
}
}
}
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment