fixes rest of #21585; adds custom styles for inverse table accent hover and active states

This commit is contained in:
Mark Otto 2017-03-19 17:37:00 -07:00 committed by Mark Otto
parent 13a874e340
commit d093460252
2 changed files with 17 additions and 0 deletions

View File

@ -131,6 +131,20 @@
&.table-bordered {
border: 0;
}
&.table-striped {
tbody tr:nth-of-type(odd) {
background-color: $table-inverse-bg-accent;
}
}
&.table-hover {
tbody tr {
@include hover {
background-color: $table-inverse-bg-hover;
}
}
}
}

View File

@ -327,6 +327,9 @@ $table-head-bg: $gray-lighter !default;
$table-head-color: $gray !default;
$table-inverse-bg: $gray-dark !default;
$table-inverse-bg-accent: rgba($white, .05) !default;
$table-inverse-bg-hover: rgba($white, .075) !default;
$table-inverse-bg-active: $table-inverse-bg-hover !default;
$table-inverse-border: lighten($gray-dark, 7.5%) !default;
$table-inverse-color: $body-bg !default;