mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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
2 changed files with 6 additions and 6 deletions
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 a new issue