--- /dev/null
+/*
+ Created on : Mar 5, 2015, 2:57:46 PM
+ Author : laury
+*/
+
+ @import "mixins/gradient";
+ @import "mixins/off-canvas-arrow";
\ No newline at end of file
-@import "mixins/off-canvas-arrow";
-
+@import "mixins";
@import "settings";
@import "foundation";
@import "wordpress";
@import "structure";
-
// Or selectively include components
// @import
// "foundation/components/accordion",
--- /dev/null
+/*
+ Created on : Mar 5, 2015, 2:57:35 PM
+ Author : laury
+*/
+
+@mixin gradient($from, $to) {
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, $from), color-stop(1, $to));
+ background: -moz-linear-gradient(center top, $from 5%, $to 100%);
+ filter: progid:DXIm-ageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr'#{$to}');
+}
\ No newline at end of file
-@mixin off-canvas-arrow($direction: down, $color: white) {
- border-left: 15px solid transparent;
- border-right: 15px solid transparent;
+@mixin off-canvas-arrow($direction: down, $color: white, $size: 20px) {
+ border-left: $size - 5 solid transparent;
+ border-right: $size - 5 solid transparent;
@if $direction == 'up' {
- border-bottom: 20px solid $color;
+ border-bottom: $size solid $color;
border-top: 0;
// if width is not passed, or empty do this
} @else {
- border-top: 20px solid $color;
+ border-top: $size solid $color;
border-bottom: 0;
}
}
\ No newline at end of file