diff --git a/less/theme.less b/less/theme.less index 5a19d92422c08145636027745418113d581c3484..a15d16ecd2d2c1167c1027d6fa26485f3c592ad7 100644 --- a/less/theme.less +++ b/less/theme.less @@ -151,6 +151,18 @@ border-radius: 0; } +// Fix active state of dropdown items in collapsed mode +@media (max-width: @grid-float-breakpoint-max) { + .navbar .navbar-nav .open .dropdown-menu > .active > a { + &, + &:hover, + &:focus { + color: #fff; + #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%)); + } + } +} + // // Alerts