mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 05:33:02 +02:00
Merge pull request #13920 from AndreiRailean/patch-1
assign background to row of .table-striped
This commit is contained in:
@@ -106,12 +106,9 @@ th {
|
|||||||
|
|
||||||
.table-striped {
|
.table-striped {
|
||||||
> tbody > tr:nth-child(odd) {
|
> tbody > tr:nth-child(odd) {
|
||||||
> td,
|
|
||||||
> th {
|
|
||||||
background-color: @table-bg-accent;
|
background-color: @table-bg-accent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Hover effect
|
// Hover effect
|
||||||
@@ -120,12 +117,9 @@ th {
|
|||||||
|
|
||||||
.table-hover {
|
.table-hover {
|
||||||
> tbody > tr:hover {
|
> tbody > tr:hover {
|
||||||
> td,
|
|
||||||
> th {
|
|
||||||
background-color: @table-bg-hover;
|
background-color: @table-bg-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Table cell sizing
|
// Table cell sizing
|
||||||
|
Reference in New Issue
Block a user