aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-05 02:28:42 -0800
committerMark Otto <[email protected]>2012-02-05 02:28:42 -0800
commit546332d85de5837147b645bf6bab5fa06e2a1039 (patch)
tree2d0438be49a9620ae9afe4bd5d8046d94d23a319
parentf8c2d9b53d0b3cfba1f7fbced88457f53d1dbbd6 (diff)
downloadbootstrap-546332d85de5837147b645bf6bab5fa06e2a1039.tar.xz
bootstrap-546332d85de5837147b645bf6bab5fa06e2a1039.zip
resolve #1602 and add table hover style
-rw-r--r--docs/assets/bootstrap.zipbin52385 -> 52415 bytes
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/tables.less10
3 files changed, 13 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 8c304bc8b..f772cc9da 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files 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
// -----------------