mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
more nesting in table.less
This commit is contained in:
parent
798e64cebf
commit
463343af63
@ -152,14 +152,18 @@ table {
|
|||||||
// Exact selectors below required to override `.table-striped` and prevent
|
// Exact selectors below required to override `.table-striped` and prevent
|
||||||
// inheritance to nested tables.
|
// inheritance to nested tables.
|
||||||
|
|
||||||
.table > thead > tr,
|
.table {
|
||||||
.table > tbody > tr,
|
> thead,
|
||||||
.table > tfoot > tr {
|
> tbody,
|
||||||
> td.active,
|
> tfoot {
|
||||||
> th.active,
|
> tr {
|
||||||
&.active > td,
|
> td.active,
|
||||||
&.active > th {
|
> th.active,
|
||||||
background-color: @table-bg-active;
|
&.active > td,
|
||||||
|
&.active > th {
|
||||||
|
background-color: @table-bg-active;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user