]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
add "!default" to _off-canvas.scss
authorSébastien GRAVIER <illusionperdu@gmail.com>
Tue, 24 Nov 2015 15:24:36 +0000 (16:24 +0100)
committerSébastien GRAVIER <illusionperdu@gmail.com>
Tue, 24 Nov 2015 15:24:36 +0000 (16:24 +0100)
scss/components/_off-canvas.scss

index 2dd05b9ac361708aa7591d1788462e034ea88864..5065e0d927cc0abb199e400020c3a428980b2abf 100644 (file)
@@ -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 {