From: Brett Mason Date: Fri, 27 Nov 2015 15:19:32 +0000 (+0000) Subject: Add drilldown sub menu background variable X-Git-Tag: v6.0.5~8^2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=829c07d911971ab0aa0868b4253a756d35eb2a1c;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add drilldown sub menu background variable Added drilldown submenu background variable so that the background colour can be overwritten. --- diff --git a/scss/components/_drilldown.scss b/scss/components/_drilldown.scss index 6e0f24f3a..7a3b02648 100644 --- a/scss/components/_drilldown.scss +++ b/scss/components/_drilldown.scss @@ -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 {