aboutsummaryrefslogtreecommitdiff
path: root/less/tables.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/tables.less')
-rw-r--r--less/tables.less9
1 files changed, 7 insertions, 2 deletions
diff --git a/less/tables.less b/less/tables.less
index b816e7c2d..f3b9967f0 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -48,6 +48,11 @@ table {
tbody + tbody {
border-top: 2px solid @tableBorder;
}
+
+ // Nesting
+ .table {
+ background-color: @bodyBackground;
+ }
}
@@ -143,8 +148,8 @@ table {
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
.table-striped {
tbody {
- tr:nth-child(odd) td,
- tr:nth-child(odd) th {
+ > tr:nth-child(odd) > td,
+ > tr:nth-child(odd) > th {
background-color: @tableBackgroundAccent;
}
}