1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 22:16:38 +02:00

move table variants to use sass map

This commit is contained in:
Mark Otto
2017-06-28 09:36:27 -07:00
parent 3e0375e03b
commit 0f232de9d7
2 changed files with 15 additions and 64 deletions

View File

@@ -92,12 +92,9 @@
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
// Generate the contextual variants
@include table-row-variant(active, $table-active-bg);
@include table-row-variant(success, $state-success-bg);
@include table-row-variant(info, $state-info-bg);
@include table-row-variant(warning, $state-warning-bg);
@include table-row-variant(danger, $state-danger-bg);
@each $color, $value in $theme-colors {
@include table-row-variant($color, theme-color-level($color, -9));
}
// Inverse styles