aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-01 17:54:21 -0800
committerMark Otto <[email protected]>2012-02-01 17:54:21 -0800
commit3a2f0765bfe6cd5696bf3b054364b6a03cbe05da (patch)
treea888f7cde5a9c7c6a424fbb26fa044fa8e864ba5
parent73238701bd9c5fd43108e1e2a16ce6bdbcd728c9 (diff)
downloadbootstrap-3a2f0765bfe6cd5696bf3b054364b6a03cbe05da.tar.xz
bootstrap-3a2f0765bfe6cd5696bf3b054364b6a03cbe05da.zip
fix hover state on .nav-list for active links
-rw-r--r--docs/assets/bootstrap.zipbin52333 -> 52339 bytes
-rw-r--r--docs/assets/css/bootstrap.css4
-rw-r--r--less/navs.less5
3 files changed, 5 insertions, 4 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 50266d0f6..cf0b2430a 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 fa5886991..a90e31930 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -2108,12 +2108,12 @@ button.btn.small, input[type="submit"].btn.small {
.nav-list > li + .nav-header {
margin-top: 9px;
}
-.nav-list .active > a {
+.nav-list .active > a, .nav-list .active > a:hover {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-color: #0088cc;
}
-.nav-list .icon {
+.nav-list [class^="icon-"] {
margin-right: 2px;
}
.nav-tabs, .nav-pills {
diff --git a/less/navs.less b/less/navs.less
index dfb2996f0..a29cb712b 100644
--- a/less/navs.less
+++ b/less/navs.less
@@ -49,12 +49,13 @@
.nav-list > li + .nav-header {
margin-top: 9px;
}
-.nav-list .active > a {
+.nav-list .active > a,
+.nav-list .active > a:hover {
color: @white;
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
background-color: @linkColor;
}
-.nav-list .icon {
+.nav-list [class^="icon-"] {
margin-right: 2px;
}