0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

(#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

This commit is contained in:
Patrick Yeo 2017-08-18 18:13:56 -07:00 committed by Mark Otto
parent 6b6f45ad67
commit 0759427935
2 changed files with 12 additions and 12 deletions

View File

@ -105,8 +105,8 @@
.thead-inverse { .thead-inverse {
th { th {
color: $table-inverse-color; color: $table-dark-color;
background-color: $table-inverse-bg; background-color: $table-dark-bg;
} }
} }
@ -118,13 +118,13 @@
} }
.table-inverse { .table-inverse {
color: $table-inverse-color; color: $table-dark-color;
background-color: $table-inverse-bg; background-color: $table-dark-bg;
th, th,
td, td,
thead th { thead th {
border-color: $table-inverse-border-color; border-color: $table-dark-border-color;
} }
&.table-bordered { &.table-bordered {
@ -133,14 +133,14 @@
&.table-striped { &.table-striped {
tbody tr:nth-of-type(odd) { tbody tr:nth-of-type(odd) {
background-color: $table-inverse-accent-bg; background-color: $table-dark-accent-bg;
} }
} }
&.table-hover { &.table-hover {
tbody tr { tbody tr {
@include hover { @include hover {
background-color: $table-inverse-hover-bg; background-color: $table-dark-hover-bg;
} }
} }
} }

View File

@ -283,11 +283,11 @@ $table-border-color: $gray-200 !default;
$table-head-bg: $gray-200 !default; $table-head-bg: $gray-200 !default;
$table-head-color: $gray-700 !default; $table-head-color: $gray-700 !default;
$table-inverse-bg: $gray-900 !default; $table-dark-bg: $gray-900 !default;
$table-inverse-accent-bg: rgba($white, .05) !default; $table-dark-accent-bg: rgba($white, .05) !default;
$table-inverse-hover-bg: rgba($white, .075) !default; $table-dark-hover-bg: rgba($white, .075) !default;
$table-inverse-border-color: lighten($gray-900, 7.5%) !default; $table-dark-border-color: lighten($gray-900, 7.5%) !default;
$table-inverse-color: $body-bg !default; $table-dark-color: $body-bg !default;
// Buttons // Buttons