Bootstrap version 4

Bootstrap Version 4
This commit is contained in:
Francesco Malagrino
2018-02-06 19:17:39 +00:00
parent 88a1e61560
commit f1fdc89d7d
4696 changed files with 309296 additions and 0 deletions

30
4/scss/mixins/_table-row.scss Executable file
View File

@@ -0,0 +1,30 @@
// Tables
@mixin table-row-variant($state, $background) {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
.table-#{$state} {
&,
> th,
> td {
background-color: $background;
}
}
// Hover states for `.table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.table-hover {
$hover-background: darken($background, 5%);
.table-#{$state} {
@include hover {
background-color: $hover-background;
> td,
> th {
background-color: $hover-background;
}
}
}
}
}