vendor/twitter/bootstrap/sass/_tables.scss in bootstrap-generators-3.0.2.2 vs vendor/twitter/bootstrap/sass/_tables.scss in bootstrap-generators-3.1.0
- old
+ new
@@ -131,17 +131,19 @@
// Table cell sizing
//
// Reset default table behavior
table col[class*="col-"] {
+ position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
float: none;
display: table-column;
}
table {
td,
th {
&[class*="col-"] {
+ position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
float: none;
display: table-cell;
}
}
}
@@ -150,28 +152,15 @@
// Table backgrounds
//
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
-.table {
- > thead,
- > tbody,
- > tfoot {
- > tr {
- > td.active,
- > th.active,
- &.active > td,
- &.active > th {
- background-color: $table-bg-active;
- }
- }
- }
-}
-
// Generate the contextual variants
-@include table-row-variant('success', $state-success-bg, $state-success-border);
-@include table-row-variant('danger', $state-danger-bg, $state-danger-border);
-@include table-row-variant('warning', $state-warning-bg, $state-warning-border);
+@include table-row-variant('active', $table-bg-active);
+@include table-row-variant('success', $state-success-bg);
+@include table-row-variant('info', $state-info-bg);
+@include table-row-variant('warning', $state-warning-bg);
+@include table-row-variant('danger', $state-danger-bg);
// Responsive tables
//
// Wrap your tables in `.table-responsive` and we'll make them mobile friendly