mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Theme: Correctly override active dropdown items in collapsed navbars
This commit is contained in:
parent
3a988c3588
commit
0d851e8b8a
1 changed files with 12 additions and 0 deletions
|
@ -151,6 +151,18 @@
|
||||||
border-radius: 0;
|
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
|
// Alerts
|
||||||
|
|
Loading…
Add table
Reference in a new issue