vendor/assets/stylesheets/twbs/bootstrap/theme.less in twbs_less_rails-2.14.0 vs vendor/assets/stylesheets/twbs/bootstrap/theme.less in twbs_less_rails-2.15.0
- old
+ new
@@ -149,9 +149,21 @@
.navbar-fixed-top,
.navbar-fixed-bottom {
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
// --------------------------------------------------