mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 11:42:23 +01:00
fixes #8571 completely: add better th support for table classes
This commit is contained in:
parent
d4cd7efce6
commit
768e7edabf
20
dist/css/bootstrap.css
vendored
20
dist/css/bootstrap.css
vendored
@ -1198,7 +1198,10 @@ table th[class^="col-"] {
|
||||
.table > tfoot > tr > th.active,
|
||||
.table > thead > tr.active > td,
|
||||
.table > tbody > tr.active > td,
|
||||
.table > tfoot > tr.active > td {
|
||||
.table > tfoot > tr.active > td,
|
||||
.table > thead > tr.active > th,
|
||||
.table > tbody > tr.active > th,
|
||||
.table > tfoot > tr.active > th {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
@ -1210,7 +1213,10 @@ table th[class^="col-"] {
|
||||
.table > tfoot > tr > th.success,
|
||||
.table > thead > tr.success > td,
|
||||
.table > tbody > tr.success > td,
|
||||
.table > tfoot > tr.success > td {
|
||||
.table > tfoot > tr.success > td,
|
||||
.table > thead > tr.success > th,
|
||||
.table > tbody > tr.success > th,
|
||||
.table > tfoot > tr.success > th {
|
||||
background-color: #dff0d8;
|
||||
border-color: #d6e9c6;
|
||||
}
|
||||
@ -1223,7 +1229,10 @@ table th[class^="col-"] {
|
||||
.table > tfoot > tr > th.danger,
|
||||
.table > thead > tr.danger > td,
|
||||
.table > tbody > tr.danger > td,
|
||||
.table > tfoot > tr.danger > td {
|
||||
.table > tfoot > tr.danger > td,
|
||||
.table > thead > tr.danger > th,
|
||||
.table > tbody > tr.danger > th,
|
||||
.table > tfoot > tr.danger > th {
|
||||
background-color: #f2dede;
|
||||
border-color: #eed3d7;
|
||||
}
|
||||
@ -1236,7 +1245,10 @@ table th[class^="col-"] {
|
||||
.table > tfoot > tr > th.warning,
|
||||
.table > thead > tr.warning > td,
|
||||
.table > tbody > tr.warning > td,
|
||||
.table > tfoot > tr.warning > td {
|
||||
.table > tfoot > tr.warning > td,
|
||||
.table > thead > tr.warning > th,
|
||||
.table > tbody > tr.warning > th,
|
||||
.table > tfoot > tr.warning > th {
|
||||
background-color: #fcf8e3;
|
||||
border-color: #fbeed5;
|
||||
}
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user