From c5c60729062cc3d89be7447b5d330367417aa6f7 Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Sat, 3 Feb 2018 21:08:46 -0600 Subject: Update --- .../bootstrap/scss/mixins/_table-row.scss | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 assets/node_modules/bootstrap/scss/mixins/_table-row.scss (limited to 'assets/node_modules/bootstrap/scss/mixins/_table-row.scss') diff --git a/assets/node_modules/bootstrap/scss/mixins/_table-row.scss b/assets/node_modules/bootstrap/scss/mixins/_table-row.scss new file mode 100644 index 0000000..84f1d30 --- /dev/null +++ b/assets/node_modules/bootstrap/scss/mixins/_table-row.scss @@ -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; + } + } + } + } +} -- cgit v1.2.3-59-ga6da