mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
fixes #4371: scope hovers on table rows to tbody
This commit is contained in:
Vendored
+2
-2
@@ -1863,8 +1863,8 @@ table {
|
|||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-hover tr:hover td,
|
.table-hover tbody tr:hover td,
|
||||||
.table-hover tr:hover th {
|
.table-hover tbody tr:hover th {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+5
-3
@@ -159,9 +159,11 @@ table {
|
|||||||
// ------------
|
// ------------
|
||||||
// Placed here since it has to come after the potential zebra striping
|
// Placed here since it has to come after the potential zebra striping
|
||||||
.table-hover {
|
.table-hover {
|
||||||
tr:hover td,
|
tbody {
|
||||||
tr:hover th {
|
tr:hover td,
|
||||||
background-color: @tableBackgroundHover;
|
tr:hover th {
|
||||||
|
background-color: @tableBackgroundHover;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user