vendor/frameworks/twitter/bootstrap/tables.scss in anjlab-bootstrap-rails-2.1.0.5 vs vendor/frameworks/twitter/bootstrap/tables.scss in anjlab-bootstrap-rails-2.1.1.0

- old
+ new

@@ -131,11 +131,11 @@ caption + tbody tr:first-child td:last-child, colgroup + thead tr:first-child th:last-child, colgroup + tbody tr:first-child td:last-child { -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; - -moz-border-right-topleft: 4px; + -moz-border-radius-topleft: 4px; } } @@ -186,20 +186,40 @@ .span#{$i} { @include table-columns($i); } } } + // TABLE BACKGROUNDS // ----------------- // Exact selectors below required to override .table-striped -.table { - tbody tr.success td { +.table tbody tr { + &.success td { background-color: $successBackground; } - tbody tr.error td { + &.error td { background-color: $errorBackground; } - tbody tr.info td { + &.warning td { + background-color: $warningBackground; + } + &.info td { background-color: $infoBackground; + } +} + +// Hover states for .table-hover +.table-hover tbody tr { + &.success:hover td { + background-color: darken($successBackground, 5%); + } + &.error:hover td { + background-color: darken($errorBackground, 5%); + } + &.warning:hover td { + background-color: darken($warningBackground, 5%); + } + &.info:hover td { + background-color: darken($infoBackground, 5%); } }