]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add drilldown sub menu background variable
authorBrett Mason <brettsmason@users.noreply.github.com>
Fri, 27 Nov 2015 15:19:32 +0000 (15:19 +0000)
committerBrett Mason <brettsmason@users.noreply.github.com>
Fri, 27 Nov 2015 15:19:32 +0000 (15:19 +0000)
Added drilldown submenu background variable so that the background colour can be overwritten.

scss/components/_drilldown.scss

index 6e0f24f3a696e74b7fc19295a91602e2a69ca9f5..7a3b02648ed524dc1895ab360daa6436c8e6e26c 100644 (file)
@@ -14,6 +14,10 @@ $drilldown-transition: transform 0.15s linear !default;
 /// @type Boolean
 $drilldown-arrows: true !default;
 
+/// Background color for drilldown submenus.
+/// @type Color
+$drilldown-sub-background: $white !default;
+
 @mixin foundation-drilldown-menu {
   // Applied to the Menu container
   .is-drilldown {
@@ -29,7 +33,7 @@ $drilldown-arrows: true !default;
     z-index: -1;
     height: 100%;
     width: 100%;
-    background: $white;
+    background: $drilldown-sub-background;
     transition: $drilldown-transition;
 
     &.is-active {