From: Mark Otto Date: Sun, 5 Feb 2012 10:28:42 +0000 (-0800) Subject: resolve #1602 and add table hover style X-Git-Tag: v2.0.1~1^2~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=546332d85de5837147b645bf6bab5fa06e2a1039;p=thirdparty%2Fbootstrap.git resolve #1602 and add table hover style --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 8c304bc8b8..f772cc9da1 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 2674c48a6c..2f982b04aa 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 c069ed5886..cbc013aca7 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 // -----------------