vendor/twitter/bootstrap/sass/_tables.scss in bootstrap-generators-2.1.1 vs vendor/twitter/bootstrap/sass/_tables.scss in bootstrap-generators-2.2.1

- old
+ new

@@ -69,11 +69,11 @@ .table-bordered { border: 1px solid $tableBorder; border-collapse: separate; // Done so we can round those corners! *border-collapse: collapse; // IE7 can't round corners anyway border-left: 0; - @include border-radius(4px); + @include border-radius($baseBorderRadius); th, td { border-left: 1px solid $tableBorder; } // Prevent a double border @@ -131,16 +131,18 @@ 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-radius-topleft: 4px; + -moz-border-radius-topright: 4px; } } + + // ZEBRA-STRIPING // -------------- // Default zebra-stripe styles (alternating gray and transparent backgrounds) .table-striped { @@ -168,21 +170,24 @@ // TABLE CELL SIZING // ----------------- // Reset default grid behavior -table [class*=span], -.row-fluid table [class*=span] { +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { display: table-cell; float: none; // undo default grid column styles margin-left: 0; // undo default grid column styles } // Change the column widths to account for td/th padding -.table { - @for $i from 1 through 24 { - .span#{$i} { @include tableColumns($i); } +.table td, +.table th { + @for $i from 1 through 12 { + &.span#{$i} { @include tableColumns($i); } } } @@ -202,10 +207,9 @@ } &.info td { background-color: $infoBackground; } } - // Hover states for .table-hover .table-hover tbody tr { &.success:hover td { background-color: darken($successBackground, 5%); \ No newline at end of file