Skip to content

Commit

Permalink
Fix table-row-variant mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
browntiger committed Nov 5, 2013
1 parent 5132d24 commit 81a82e7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions app/assets/stylesheets/twitter/bootstrap/_mixins.scss
Expand Up @@ -433,22 +433,24 @@
.table > thead > tr,
.table > tbody > tr,
.table > tfoot > tr {
> td.#{state},
> th.#{state},
&.#{state} > td,
&.#{state} > th {
> td.#{$state},
> th.#{$state},
&.#{$state} > td,
&.#{$state} > th {
background-color: $background;
border-color: $border;
}
}

// Hover states for `.table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.table-hover > tbody > tr {
> td.#{state}:hover,
> th.#{state}:hover,
&.#{state}:hover > td,
&.#{state}:hover > th {
> td.#{$state}:hover,
> th.#{$state}:hover,
&.#{$state}:hover > td,
&.#{$state}:hover > th {
background-color: darken($background, 5%);
border-color: darken($border, 5%);
}
}
}
Expand Down

0 comments on commit 81a82e7

Please sign in to comment.