/// @type Color
$topbar-background: $light-gray !default;
+/// Background color submenus within the top bar. Usefull if $topbar-background is transparent.
+/// @type Color
+$topbar-submenu-background: $topbar-background !default;
+
/// Spacing for the top bar title.
/// @type Number
$topbar-title-spacing: 1rem !default;
background-color: $topbar-background;
}
+ // check if $topbar-background is differnt from $topbar-background-submenu
+ @if ($topbar-background != $topbar-submenu-background) {
+ ul ul {
+ background-color: $topbar-submenu-background;
+ }
+ }
+
input {
width: $topbar-input-width;
margin-#{$global-right}: 1rem;
$topbar-padding: 0.5rem;
$topbar-background: $light-gray;
+$topbar-submenu-background: $topbar-background;
$topbar-title-spacing: 1rem;
$topbar-input-width: 200px;