diff options
Diffstat (limited to 'assets/scss/bootstrap/mixins/_table-row.scss')
-rwxr-xr-x | assets/scss/bootstrap/mixins/_table-row.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/assets/scss/bootstrap/mixins/_table-row.scss b/assets/scss/bootstrap/mixins/_table-row.scss index 84f1d30..f8d6186 100755 --- a/assets/scss/bootstrap/mixins/_table-row.scss +++ b/assets/scss/bootstrap/mixins/_table-row.scss @@ -1,6 +1,6 @@ // Tables -@mixin table-row-variant($state, $background) { +@mixin table-row-variant($state, $background, $border: null) { // Exact selectors below required to override `.table-striped` and prevent // inheritance to nested tables. .table-#{$state} { @@ -9,6 +9,15 @@ > td { background-color: $background; } + + @if $border != null { + th, + td, + thead th, + tbody + tbody { + border-color: $border; + } + } } // Hover states for `.table-hover` |