mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fixes #4416 in a different way: scope active state of navbar links to just the immediate navbar link, not dropdown elements
This commit is contained in:
parent
54c645e33d
commit
ded21ebc91
6
docs/assets/css/bootstrap.css
vendored
6
docs/assets/css/bootstrap.css
vendored
@ -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;
|
||||
|
@ -225,9 +225,9 @@
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user