]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more nesting in table.less
authorChris Rebert <code@rebertia.com>
Thu, 7 Nov 2013 02:38:27 +0000 (18:38 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 7 Nov 2013 02:38:27 +0000 (18:38 -0800)
less/tables.less

index 55d5aa0e186a19c2ddddbd8c03268898ae2394c2..4c4284cb1d52a2607a3f238f0c820086c1f73ae5 100644 (file)
@@ -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;
+      }
+    }
   }
 }