aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--less/theme.less12
1 files changed, 12 insertions, 0 deletions
diff --git a/less/theme.less b/less/theme.less
index 5a19d9242..a15d16ecd 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