mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 09:04:14 +02:00
Allow to change .table-striped
odd
or even
(#25333)
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
||||||
|
|
||||||
.table-striped {
|
.table-striped {
|
||||||
tbody tr:nth-of-type(odd) {
|
tbody tr:nth-of-type(#{$table-striped-order}) {
|
||||||
background-color: $table-accent-bg;
|
background-color: $table-accent-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -317,6 +317,8 @@ $table-dark-hover-bg: rgba($white, .075) !default;
|
|||||||
$table-dark-border-color: lighten($gray-900, 7.5%) !default;
|
$table-dark-border-color: lighten($gray-900, 7.5%) !default;
|
||||||
$table-dark-color: $body-bg !default;
|
$table-dark-color: $body-bg !default;
|
||||||
|
|
||||||
|
$table-striped-order: odd !default;
|
||||||
|
|
||||||
|
|
||||||
// Buttons + Forms
|
// Buttons + Forms
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user