From 3a2f0765bfe6cd5696bf3b054364b6a03cbe05da Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 1 Feb 2012 17:54:21 -0800 Subject: fix hover state on .nav-list for active links --- docs/assets/bootstrap.zip | Bin 52333 -> 52339 bytes docs/assets/css/bootstrap.css | 4 ++-- less/navs.less | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 50266d0f6..cf0b2430a 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 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; } -- cgit v1.2.3