mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 00:54:04 +02:00
fixes rest of #21585; adds custom styles for inverse table accent hover and active states
This commit is contained in:
@@ -131,6 +131,20 @@
|
|||||||
&.table-bordered {
|
&.table-bordered {
|
||||||
border: 0;
|
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-head-color: $gray !default;
|
||||||
|
|
||||||
$table-inverse-bg: $gray-dark !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-border: lighten($gray-dark, 7.5%) !default;
|
||||||
$table-inverse-color: $body-bg !default;
|
$table-inverse-color: $body-bg !default;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user