mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 09:41:11 +00: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 {
|
.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
|
.table tbody tr:hover td, .table tbody tr:hover th {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
table .span1 {
|
table .span1 {
|
||||||
float: none;
|
float: none;
|
||||||
width: 44px;
|
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
|
// TABLE CELL SIZING
|
||||||
// -----------------
|
// -----------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user