From: Mark Otto Date: Thu, 2 Feb 2012 01:54:21 +0000 (-0800) Subject: fix hover state on .nav-list for active links X-Git-Tag: v2.0.1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2f0765bfe6cd5696bf3b054364b6a03cbe05da;p=thirdparty%2Fbootstrap.git fix hover state on .nav-list for active links --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 50266d0f6e..cf0b2430a3 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 fa5886991d..a90e31930b 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 dfb2996f09..a29cb712bb 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; }