]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix hover state on .nav-list for active links
authorMark Otto <markdotto@gmail.com>
Thu, 2 Feb 2012 01:54:21 +0000 (17:54 -0800)
committerMark Otto <markdotto@gmail.com>
Thu, 2 Feb 2012 01:54:21 +0000 (17:54 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/navs.less

index 50266d0f6ec39e586b07e303f53179a48fc5c419..cf0b2430a3faeb5a088db57a22f224880377921b 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index fa5886991d9ec5cf911749bfdd1d2794bb7215ed..a90e31930bc0e699aa892c684fb418c3868c37f7 100644 (file)
@@ -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 {
index dfb2996f09892a40bcf2bfa94c09a232938519be..a29cb712bb8718aa46e0aaba74f944f38210afd7 100644 (file)
 .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;
 }