From 546332d85de5837147b645bf6bab5fa06e2a1039 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 5 Feb 2012 02:28:42 -0800 Subject: resolve #1602 and add table hover style --- docs/assets/bootstrap.zip | Bin 52385 -> 52415 bytes docs/assets/css/bootstrap.css | 3 +++ less/tables.less | 10 ++++++++++ 3 files changed, 13 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 8c304bc8b..f772cc9da 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 2674c48a6..2f982b04a 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; diff --git a/less/tables.less b/less/tables.less index c069ed588..cbc013aca 100644 --- a/less/tables.less +++ b/less/tables.less @@ -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 // ----------------- -- cgit v1.2.3