]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
resolve #1602 and add table hover style
authorMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2012 10:28:42 +0000 (02:28 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2012 10:28:42 +0000 (02:28 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/tables.less

index 8c304bc8b8abd74ed3086daa58cf345e30caa7c3..f772cc9da14f5599d7bb509c2e0a00f1f0a49a0b 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 2674c48a6c4b8400595ec5ce0e6f27bb8720a752..2f982b04aa4e844e9191febf7d35e67750061550 100644 (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;
index c069ed58862d4d542c88851db2b47bade8a160fd..cbc013aca73a014c133615087cc02475792d4a33 100644 (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
 // -----------------