mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 08:04:59 +02:00
more nesting in table.less
This commit is contained in:
@@ -152,15 +152,19 @@ 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,
|
||||||
|
> tfoot {
|
||||||
|
> tr {
|
||||||
> td.active,
|
> td.active,
|
||||||
> th.active,
|
> th.active,
|
||||||
&.active > td,
|
&.active > td,
|
||||||
&.active > th {
|
&.active > th {
|
||||||
background-color: @table-bg-active;
|
background-color: @table-bg-active;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generate the contextual variants
|
// Generate the contextual variants
|
||||||
|
Reference in New Issue
Block a user