Commit ded21ebc authored by Mark Otto's avatar Mark Otto

fixes #4416 in a different way: scope active state of navbar links to just the...

fixes #4416 in a different way: scope active state of navbar links to just the immediate navbar link, not dropdown elements
parent 54c645e3
...@@ -4220,9 +4220,9 @@ input[type="submit"].btn.btn-mini { ...@@ -4220,9 +4220,9 @@ input[type="submit"].btn.btn-mini {
background-color: transparent; background-color: transparent;
} }
.navbar .nav .active > a, .navbar .nav > .active > a,
.navbar .nav .active > a:hover, .navbar .nav > .active > a:hover,
.navbar .nav .active > a:focus { .navbar .nav > .active > a:focus {
color: #555555; color: #555555;
text-decoration: none; text-decoration: none;
background-color: #e5e5e5; background-color: #e5e5e5;
......
...@@ -225,9 +225,9 @@ ...@@ -225,9 +225,9 @@
} }
// Active nav items // Active nav items
.navbar .nav .active > a, .navbar .nav > .active > a,
.navbar .nav .active > a:hover, .navbar .nav > .active > a:hover,
.navbar .nav .active > a:focus { .navbar .nav > .active > a:focus {
color: @navbarLinkColorActive; color: @navbarLinkColorActive;
text-decoration: none; text-decoration: none;
background-color: @navbarLinkBackgroundActive; background-color: @navbarLinkBackgroundActive;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment