Permalink
Browse files

Fix table-row-variant mixin

  • Loading branch information...
1 parent 5132d24 commit 81a82e796cc4ab501cf882852424276136702c71 @browntiger browntiger committed Nov 5, 2013
Showing with 10 additions and 8 deletions.
  1. +10 −8 app/assets/stylesheets/twitter/bootstrap/_mixins.scss
@@ -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%);
}
}
}

0 comments on commit 81a82e7

Please sign in to comment.