aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-11-06 18:38:27 -0800
committerChris Rebert <[email protected]>2013-11-06 18:38:27 -0800
commit463343af63344dbbc3db04f40b0b804baa919b7e (patch)
tree54f8ecc09a4d1d49b0259c5bce30cc874c7a0619
parent798e64cebf60e1d0d75b0c1c8f1cedfc259130cd (diff)
downloadbootstrap-463343af63344dbbc3db04f40b0b804baa919b7e.tar.xz
bootstrap-463343af63344dbbc3db04f40b0b804baa919b7e.zip
more nesting in table.less
-rw-r--r--less/tables.less20
1 files changed, 12 insertions, 8 deletions
diff --git a/less/tables.less b/less/tables.less
index 55d5aa0e1..4c4284cb1 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -152,14 +152,18 @@ table {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
-.table > thead > tr,
-.table > tbody > tr,
-.table > tfoot > tr {
- > td.active,
- > th.active,
- &.active > td,
- &.active > th {
- background-color: @table-bg-active;
+.table {
+ > thead,
+ > tbody,
+ > tfoot {
+ > tr {
+ > td.active,
+ > th.active,
+ &.active > td,
+ &.active > th {
+ background-color: @table-bg-active;
+ }
+ }
}
}