mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fixes rest of #21585; adds custom styles for inverse table accent hover and active states
This commit is contained in:
parent
13a874e340
commit
d093460252
2 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue