/// Background color for top level items.
/// @type Color
-$dropdownmenu-background: $white !default;
+$dropdownmenu-background: null !default;
/// Background color for dropdowns.
/// @type Color
-$dropdownmenu-submenu-background: $dropdownmenu-background !default;
+$dropdownmenu-submenu-background: $white !default;
/// Padding for top level items.
/// @type Number
a {
@include disable-mouse-outline;
+ }
+
+ // Top-level item
+ > li > a {
background: $dropdownmenu-background;
padding: $dropdownmenu-padding;
}
- // Active state
- .is-active > a {
+ // Top-level item active state
+ > li.is-active > a {
background: $dropdown-menu-item-background-active;
color: $dropdown-menu-item-color-active;
}