Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 1 | |
| 2 | $lightbg__grey: #b8c1c1; |
| 3 | $lightbg__accent: #3c6df0; |
| 4 | $lightbg__primary: #19273c; |
| 5 | |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 6 | //Breakpoints mixin |
| 7 | @mixin mediaQuery($breakpoint) { |
| 8 | @if $breakpoint == "x-small" { |
| 9 | @media (min-width: 25.000em) { //400px |
| 10 | @content; |
| 11 | } |
| 12 | } |
| 13 | @if $breakpoint == "small" { |
| 14 | @media (min-width: 47.938em) { //767px |
| 15 | @content; |
| 16 | } |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 17 | } |
| 18 | |
| 19 | @else if $breakpoint == "medium" { |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 20 | @media (min-width: 64.000em) { //1024px |
| 21 | @content; |
| 22 | } |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 23 | } |
| 24 | |
| 25 | @else if $breakpoint == "large" { |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 26 | @media (min-width: 85.375em) { //1366px |
| 27 | @content; |
| 28 | } |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 29 | } |
| 30 | |
| 31 | @else if $breakpoint == "x-large" { |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 32 | @media (min-width: 100.000em) { //1600px |
| 33 | @content; |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | //Fonts mixin |
| 39 | @mixin fontFamily { |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 40 | font-family: Arial, Verdana, sans-serif; |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 41 | font-weight: 200; |
| 42 | } |
| 43 | |
| 44 | //Transitions mixin |
| 45 | @mixin fastTransition-all { |
| 46 | transition: all .5s ease; |
| 47 | } |
| 48 | |
| 49 | @mixin slowTransition-all { |
| 50 | transition: all 1.5s ease; |
| 51 | } |
| 52 | |
| 53 | //Custom SVG arrow |
| 54 | @mixin bgImage__arrowDown-primary { |
| 55 | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: #19273c'></polygon></svg>"); |
| 56 | } |
| 57 | |
| 58 | @mixin bgImage__arrowDown-accent { |
Michael Davis | dfad5d5 | 2017-07-20 14:53:46 -0500 | [diff] [blame^] | 59 | background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: #3c6df0'></polygon></svg>"); |
Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 60 | } |
| 61 | |
| 62 | @mixin bgImage__arrowDown-grey { |
| 63 | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: #b8c1c1'></polygon></svg>"); |
| 64 | } |
Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 65 | |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 66 | |