Skip to content

Commit

Permalink
Fixes #10341: don't change border color on contextual table classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Oct 29, 2013
1 parent 67cab7f commit c6e76d9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -1705,15 +1705,13 @@ table th[class*="col-"] {
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
background-color: #dff0d8;
border-color: #d6e9c6;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr.success:hover > th {
background-color: #d0e9c6;
border-color: #c9e2b3;
}

.table > thead > tr > td.danger,
Expand All @@ -1729,15 +1727,13 @@ table th[class*="col-"] {
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
background-color: #f2dede;
border-color: #ebccd1;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc;
border-color: #e4b9c0;
}

.table > thead > tr > td.warning,
Expand All @@ -1753,15 +1749,13 @@ table th[class*="col-"] {
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
background-color: #fcf8e3;
border-color: #faebcc;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr.warning:hover > th {
background-color: #faf2cc;
border-color: #f7e1b5;
}

@media (max-width: 767px) {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions less/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@
&.@{state} > td,
&.@{state} > th {
background-color: @background;
border-color: @border;
}
}

Expand All @@ -453,7 +452,6 @@
&.@{state}:hover > td,
&.@{state}:hover > th {
background-color: darken(@background, 5%);
border-color: darken(@border, 5%);
}
}
}
Expand Down

0 comments on commit c6e76d9

Please sign in to comment.