2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fixes #8571 completely: add better th support for table classes

This commit is contained in:
Mark Otto
2013-07-25 10:01:42 -07:00
parent d4cd7efce6
commit 768e7edabf
3 changed files with 25 additions and 9 deletions
+8 -4
View File
@@ -160,24 +160,28 @@ table {
.table > tfoot > tr {
> td.active,
> th.active,
&.active > td {
&.active > td,
&.active > th {
background-color: @table-bg-hover;
}
> td.success,
> th.success,
&.success > td {
&.success > td,
&.success > th {
background-color: @state-success-bg;
border-color: @state-success-border;
}
> td.danger,
> th.danger,
&.danger > td {
&.danger > td,
&.danger > th {
background-color: @state-danger-bg;
border-color: @state-danger-border;
}
> td.warning,
> th.warning,
&.warning > td {
&.warning > td,
&.warning > th {
background-color: @state-warning-bg;
border-color: @state-warning-border;
}