0
0
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:
Mark Otto 2012-02-05 02:28:42 -08:00
parent f8c2d9b53d
commit 546332d85d
3 changed files with 13 additions and 0 deletions

Binary file not shown.

View File

@ -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;

View File

@ -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
// -----------------