mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
resolve #1602 and add table hover style
This commit is contained in:
parent
f8c2d9b53d
commit
546332d85d
Binary file not shown.
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@ -1061,6 +1061,9 @@ table {
|
||||
.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
.table tbody tr:hover td, .table tbody tr:hover th {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
table .span1 {
|
||||
float: none;
|
||||
width: 44px;
|
||||
|
@ -113,6 +113,16 @@ table {
|
||||
}
|
||||
|
||||
|
||||
// HOVER EFFECT
|
||||
// ------------
|
||||
// Placed here since it has to come after the potential zebra striping
|
||||
.table {
|
||||
tbody tr:hover td,
|
||||
tbody tr:hover th {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// TABLE CELL SIZING
|
||||
// -----------------
|
||||
|
Loading…
Reference in New Issue
Block a user