Skip to content

Commit

Permalink
(less) more nesting in table.less
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Nov 7, 2013
1 parent eb6d2be commit 47e9d15
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions tables.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}

Expand Down

0 comments on commit 47e9d15

Please sign in to comment.