aboutsummaryrefslogtreecommitdiff
path: root/scss/_tables.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-09-27 14:12:37 -0700
committerGitHub <[email protected]>2020-09-27 14:12:37 -0700
commit43cbdbffedaa4f60947f76dc06728466a93d261d (patch)
tree8a824ab920db97747cec5c0be6f965818ab07aee /scss/_tables.scss
parent6c2abf3a1ec67f3e03d3b3ce4ce545462c7eba11 (diff)
downloadbootstrap-table-striped-cols.tar.xz
bootstrap-table-striped-cols.zip
Add striped table columnstable-striped-cols
Diffstat (limited to 'scss/_tables.scss')
-rw-r--r--scss/_tables.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss
index 47ffde166..a6b2b2f69 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -104,6 +104,13 @@
}
}
+.table-striped-cols {
+ > tbody > td:nth-of-type(#{$table-striped-order}) {
+ --bs-table-accent-bg: var(--bs-table-striped-bg);
+ color: var(--bs-table-striped-color);
+ }
+}
+
// Active table
//
// The `.table-active` class can be added to highlight rows or cells