From: Geoff Kimball Date: Tue, 24 Nov 2015 17:14:35 +0000 (-0800) Subject: Add default flags to off-canvas Sass variables missing them, fixes #7174 X-Git-Tag: v6.0.4~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb93332df89a2d2aa6849b5d57eba7a62a88a99b;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add default flags to off-canvas Sass variables missing them, fixes #7174 --- diff --git a/scss/components/_off-canvas.scss b/scss/components/_off-canvas.scss index 2dd05b9ac..5065e0d92 100644 --- a/scss/components/_off-canvas.scss +++ b/scss/components/_off-canvas.scss @@ -8,34 +8,34 @@ /// Width of an off-canvas menu. /// @type Number -$offcanvas-size: 250px; +$offcanvas-size: 250px !default; /// Background color of an off-canvas menu. /// @type Color -$offcanvas-background: $light-gray; +$offcanvas-background: $light-gray !default; /// Z-index of an off-canvas menu. /// @type Number -$offcanvas-zindex: -1; +$offcanvas-zindex: -1 !default; /// Length of the animation on an off-canvas menu. /// @type Number -$offcanvas-transition-length: 0.5s; +$offcanvas-transition-length: 0.5s !default; /// Timing function of the animation on an off-canvas menu. /// @type Keyword -$offcanvas-transition-timing: ease; +$offcanvas-transition-timing: ease !default; /// Background color for the overlay that appears when an off-canvas menu is open. /// @type Color -$offcanvas-exit-background: rgba($white, 0.25); +$offcanvas-exit-background: rgba($white, 0.25) !default; /// CSS class used for the main content area. The off-canvas mixins use this to target the page body. -$maincontent-class: 'off-canvas-content'; +$maincontent-class: 'off-canvas-content' !default; /// Box shadow to place under the main content area. This shadow overlaps the off-canvas menus. /// @type Shadow -$maincontent-shadow: 0 0 10px rgba($black, 0.5); +$maincontent-shadow: 0 0 10px rgba($black, 0.5) !default; /// Adds baseline styles for off-canvas. This CSS is required to make the other pieces work. @mixin off-canvas-basics {