]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4416 in a different way: scope active state of navbar links to just the immedi...
authorMark Otto <markotto@twitter.com>
Fri, 17 Aug 2012 18:22:45 +0000 (11:22 -0700)
committerMark Otto <markotto@twitter.com>
Fri, 17 Aug 2012 18:22:45 +0000 (11:22 -0700)
docs/assets/css/bootstrap.css
less/navbar.less

index efc2e5915a56e75e633c3dbc55ff809aa51118cc..27b4f6e6c812cc0a02d080fa89562be7a103ce5d 100644 (file)
@@ -4220,9 +4220,9 @@ input[type="submit"].btn.btn-mini {
   background-color: transparent;
 }
 
-.navbar .nav .active > a,
-.navbar .nav .active > a:hover,
-.navbar .nav .active > a:focus {
+.navbar .nav .active > a,
+.navbar .nav .active > a:hover,
+.navbar .nav .active > a:focus {
   color: #555555;
   text-decoration: none;
   background-color: #e5e5e5;
index fc8f782dbd91ee9dbc18849b327c950b0012305f..f97afa697921b57d712c7cd8a5825fb77f622d34 100644 (file)
 }
 
 // Active nav items
-.navbar .nav .active > a,
-.navbar .nav .active > a:hover,
-.navbar .nav .active > a:focus {
+.navbar .nav .active > a,
+.navbar .nav .active > a:hover,
+.navbar .nav .active > a:focus {
   color: @navbarLinkColorActive;
   text-decoration: none;
   background-color: @navbarLinkBackgroundActive;