garth-jekyll-theme 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/bourbon/_bourbon.scss +45 -80
  3. data/_sass/bourbon/bourbon/helpers/_buttons-list.scss +14 -0
  4. data/_sass/bourbon/bourbon/helpers/_scales.scss +27 -0
  5. data/_sass/bourbon/bourbon/helpers/_text-inputs-list.scss +26 -0
  6. data/_sass/bourbon/bourbon/library/_border-color.scss +25 -0
  7. data/_sass/bourbon/bourbon/library/_border-radius.scss +85 -0
  8. data/_sass/bourbon/bourbon/library/_border-style.scss +24 -0
  9. data/_sass/bourbon/bourbon/library/_border-width.scss +24 -0
  10. data/_sass/bourbon/bourbon/library/_buttons.scss +84 -0
  11. data/_sass/bourbon/{addons → bourbon/library}/_clearfix.scss +5 -5
  12. data/_sass/bourbon/bourbon/library/_contrast-switch.scss +60 -0
  13. data/_sass/bourbon/{addons → bourbon/library}/_ellipsis.scss +13 -6
  14. data/_sass/bourbon/bourbon/library/_font-face.scss +65 -0
  15. data/_sass/bourbon/bourbon/library/_font-stacks.scss +87 -0
  16. data/_sass/bourbon/bourbon/library/_hide-text.scss +24 -0
  17. data/_sass/bourbon/bourbon/library/_hide-visually.scss +65 -0
  18. data/_sass/bourbon/bourbon/library/_margin.scss +34 -0
  19. data/_sass/bourbon/bourbon/library/_modular-scale.scss +113 -0
  20. data/_sass/bourbon/bourbon/library/_padding.scss +34 -0
  21. data/_sass/bourbon/{addons → bourbon/library}/_position.scss +19 -13
  22. data/_sass/bourbon/bourbon/library/_prefixer.scss +38 -0
  23. data/_sass/bourbon/bourbon/library/_shade.scss +33 -0
  24. data/_sass/bourbon/bourbon/library/_size.scss +49 -0
  25. data/_sass/bourbon/bourbon/library/_strip-unit.scss +17 -0
  26. data/_sass/bourbon/bourbon/library/_text-inputs.scss +163 -0
  27. data/_sass/bourbon/{addons → bourbon/library}/_timing-functions.scss +7 -3
  28. data/_sass/bourbon/bourbon/library/_tint.scss +33 -0
  29. data/_sass/bourbon/bourbon/library/_triangle.scss +82 -0
  30. data/_sass/bourbon/bourbon/library/_value-prefixer.scss +38 -0
  31. data/_sass/bourbon/{addons → bourbon/library}/_word-wrap.scss +3 -3
  32. data/_sass/bourbon/bourbon/settings/_settings.scss +51 -0
  33. data/_sass/bourbon/bourbon/utilities/_assign-inputs.scss +29 -0
  34. data/_sass/bourbon/bourbon/utilities/_collapse-directionals.scss +51 -0
  35. data/_sass/bourbon/bourbon/utilities/_directional-values.scss +58 -0
  36. data/_sass/bourbon/{helpers → bourbon/utilities}/_font-source-declaration.scss +26 -17
  37. data/_sass/bourbon/bourbon/utilities/_retrieve-bourbon-setting.scss +16 -0
  38. data/_sass/bourbon/{functions → bourbon/utilities}/_unpack.scss +7 -5
  39. data/_sass/bourbon/{functions → bourbon/validators}/_contains-falsy.scss +5 -5
  40. data/_sass/bourbon/{functions → bourbon/validators}/_contains.scss +9 -8
  41. data/_sass/bourbon/bourbon/validators/_is-color.scss +13 -0
  42. data/_sass/bourbon/{functions → bourbon/validators}/_is-length.scss +6 -2
  43. data/_sass/bourbon/{functions → bourbon/validators}/_is-light.scss +7 -5
  44. data/_sass/bourbon/bourbon/validators/_is-number.scss +15 -0
  45. data/_sass/bourbon/bourbon/validators/_is-size.scss +18 -0
  46. data/_sass/neat/_neat-helpers.scss +8 -0
  47. data/_sass/neat/_neat.scss +23 -0
  48. data/_sass/neat/functions/_new-breakpoint.scss +49 -0
  49. data/_sass/neat/functions/_private.scss +114 -0
  50. data/_sass/neat/grid/_box-sizing.scss +15 -0
  51. data/_sass/neat/grid/_direction-context.scss +33 -0
  52. data/_sass/neat/grid/_display-context.scss +28 -0
  53. data/_sass/neat/grid/_fill-parent.scss +22 -0
  54. data/_sass/neat/grid/_media.scss +92 -0
  55. data/_sass/neat/grid/_omega.scss +87 -0
  56. data/_sass/neat/grid/_outer-container.scss +38 -0
  57. data/_sass/neat/grid/_pad.scss +25 -0
  58. data/_sass/neat/grid/_private.scss +35 -0
  59. data/_sass/neat/grid/_row.scss +52 -0
  60. data/_sass/neat/grid/_shift.scss +50 -0
  61. data/_sass/neat/grid/_span-columns.scss +94 -0
  62. data/_sass/neat/grid/_to-deprecate.scss +97 -0
  63. data/_sass/neat/grid/_visual-grid.scss +42 -0
  64. data/_sass/neat/settings/_disable-warnings.scss +13 -0
  65. data/_sass/neat/settings/_grid.scss +51 -0
  66. data/_sass/neat/settings/_visual-grid.scss +27 -0
  67. data/_sass/theme.scss +6 -0
  68. metadata +66 -79
  69. data/_sass/bourbon/_bourbon-deprecated-upcoming.scss +0 -411
  70. data/_sass/bourbon/addons/_border-color.scss +0 -26
  71. data/_sass/bourbon/addons/_border-radius.scss +0 -48
  72. data/_sass/bourbon/addons/_border-style.scss +0 -25
  73. data/_sass/bourbon/addons/_border-width.scss +0 -25
  74. data/_sass/bourbon/addons/_buttons.scss +0 -64
  75. data/_sass/bourbon/addons/_font-stacks.scss +0 -31
  76. data/_sass/bourbon/addons/_hide-text.scss +0 -27
  77. data/_sass/bourbon/addons/_margin.scss +0 -26
  78. data/_sass/bourbon/addons/_padding.scss +0 -26
  79. data/_sass/bourbon/addons/_prefixer.scss +0 -66
  80. data/_sass/bourbon/addons/_retina-image.scss +0 -25
  81. data/_sass/bourbon/addons/_size.scss +0 -51
  82. data/_sass/bourbon/addons/_text-inputs.scss +0 -113
  83. data/_sass/bourbon/addons/_triangle.scss +0 -63
  84. data/_sass/bourbon/css3/_animation.scss +0 -43
  85. data/_sass/bourbon/css3/_appearance.scss +0 -3
  86. data/_sass/bourbon/css3/_backface-visibility.scss +0 -3
  87. data/_sass/bourbon/css3/_background-image.scss +0 -42
  88. data/_sass/bourbon/css3/_background.scss +0 -55
  89. data/_sass/bourbon/css3/_border-image.scss +0 -59
  90. data/_sass/bourbon/css3/_calc.scss +0 -4
  91. data/_sass/bourbon/css3/_columns.scss +0 -47
  92. data/_sass/bourbon/css3/_filter.scss +0 -4
  93. data/_sass/bourbon/css3/_flex-box.scss +0 -287
  94. data/_sass/bourbon/css3/_font-face.scss +0 -24
  95. data/_sass/bourbon/css3/_font-feature-settings.scss +0 -4
  96. data/_sass/bourbon/css3/_hidpi-media-query.scss +0 -10
  97. data/_sass/bourbon/css3/_hyphens.scss +0 -4
  98. data/_sass/bourbon/css3/_image-rendering.scss +0 -14
  99. data/_sass/bourbon/css3/_keyframes.scss +0 -36
  100. data/_sass/bourbon/css3/_linear-gradient.scss +0 -38
  101. data/_sass/bourbon/css3/_perspective.scss +0 -8
  102. data/_sass/bourbon/css3/_placeholder.scss +0 -8
  103. data/_sass/bourbon/css3/_radial-gradient.scss +0 -39
  104. data/_sass/bourbon/css3/_selection.scss +0 -42
  105. data/_sass/bourbon/css3/_text-decoration.scss +0 -19
  106. data/_sass/bourbon/css3/_transform.scss +0 -15
  107. data/_sass/bourbon/css3/_transition.scss +0 -71
  108. data/_sass/bourbon/css3/_user-select.scss +0 -3
  109. data/_sass/bourbon/functions/_assign-inputs.scss +0 -11
  110. data/_sass/bourbon/functions/_is-number.scss +0 -11
  111. data/_sass/bourbon/functions/_is-size.scss +0 -13
  112. data/_sass/bourbon/functions/_modular-scale.scss +0 -69
  113. data/_sass/bourbon/functions/_px-to-em.scss +0 -13
  114. data/_sass/bourbon/functions/_px-to-rem.scss +0 -15
  115. data/_sass/bourbon/functions/_shade.scss +0 -24
  116. data/_sass/bourbon/functions/_strip-units.scss +0 -17
  117. data/_sass/bourbon/functions/_tint.scss +0 -24
  118. data/_sass/bourbon/functions/_transition-property-name.scss +0 -22
  119. data/_sass/bourbon/helpers/_convert-units.scss +0 -21
  120. data/_sass/bourbon/helpers/_directional-values.scss +0 -96
  121. data/_sass/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  122. data/_sass/bourbon/helpers/_linear-angle-parser.scss +0 -25
  123. data/_sass/bourbon/helpers/_linear-gradient-parser.scss +0 -41
  124. data/_sass/bourbon/helpers/_linear-positions-parser.scss +0 -61
  125. data/_sass/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
  126. data/_sass/bourbon/helpers/_radial-arg-parser.scss +0 -69
  127. data/_sass/bourbon/helpers/_radial-gradient-parser.scss +0 -50
  128. data/_sass/bourbon/helpers/_radial-positions-parser.scss +0 -18
  129. data/_sass/bourbon/helpers/_render-gradients.scss +0 -26
  130. data/_sass/bourbon/helpers/_shape-size-stripper.scss +0 -10
  131. data/_sass/bourbon/helpers/_str-to-num.scss +0 -50
  132. data/_sass/bourbon/settings/_asset-pipeline.scss +0 -7
  133. data/_sass/bourbon/settings/_prefixer.scss +0 -9
  134. data/_sass/bourbon/settings/_px-to-em.scss +0 -1
@@ -1,4 +0,0 @@
1
- @mixin filter($function: none) {
2
- // <filter-function> [<filter-function]* | none
3
- @include prefixer(filter, $function, webkit spec);
4
- }
@@ -1,287 +0,0 @@
1
- // CSS3 Flexible Box Model and property defaults
2
-
3
- // Custom shorthand notation for flexbox
4
- @mixin box($orient: inline-axis, $pack: start, $align: stretch) {
5
- @include display-box;
6
- @include box-orient($orient);
7
- @include box-pack($pack);
8
- @include box-align($align);
9
- }
10
-
11
- @mixin display-box {
12
- display: -webkit-box;
13
- display: -moz-box;
14
- display: -ms-flexbox; // IE 10
15
- display: box;
16
- }
17
-
18
- @mixin box-orient($orient: inline-axis) {
19
- // horizontal|vertical|inline-axis|block-axis|inherit
20
- @include prefixer(box-orient, $orient, webkit moz spec);
21
- }
22
-
23
- @mixin box-pack($pack: start) {
24
- // start|end|center|justify
25
- @include prefixer(box-pack, $pack, webkit moz spec);
26
- -ms-flex-pack: $pack; // IE 10
27
- }
28
-
29
- @mixin box-align($align: stretch) {
30
- // start|end|center|baseline|stretch
31
- @include prefixer(box-align, $align, webkit moz spec);
32
- -ms-flex-align: $align; // IE 10
33
- }
34
-
35
- @mixin box-direction($direction: normal) {
36
- // normal|reverse|inherit
37
- @include prefixer(box-direction, $direction, webkit moz spec);
38
- -ms-flex-direction: $direction; // IE 10
39
- }
40
-
41
- @mixin box-lines($lines: single) {
42
- // single|multiple
43
- @include prefixer(box-lines, $lines, webkit moz spec);
44
- }
45
-
46
- @mixin box-ordinal-group($int: 1) {
47
- @include prefixer(box-ordinal-group, $int, webkit moz spec);
48
- -ms-flex-order: $int; // IE 10
49
- }
50
-
51
- @mixin box-flex($value: 0) {
52
- @include prefixer(box-flex, $value, webkit moz spec);
53
- -ms-flex: $value; // IE 10
54
- }
55
-
56
- @mixin box-flex-group($int: 1) {
57
- @include prefixer(box-flex-group, $int, webkit moz spec);
58
- }
59
-
60
- // CSS3 Flexible Box Model and property defaults
61
- // Unified attributes for 2009, 2011, and 2012 flavours.
62
-
63
- // 2009 - display (box | inline-box)
64
- // 2011 - display (flexbox | inline-flexbox)
65
- // 2012 - display (flex | inline-flex)
66
- @mixin display($value) {
67
- // flex | inline-flex
68
- @if $value == "flex" {
69
- // 2009
70
- display: -webkit-box;
71
- display: -moz-box;
72
- display: box;
73
-
74
- // 2012
75
- display: -webkit-flex;
76
- display: -moz-flex;
77
- display: -ms-flexbox; // 2011 (IE 10)
78
- display: flex;
79
- } @else if $value == "inline-flex" {
80
- display: -webkit-inline-box;
81
- display: -moz-inline-box;
82
- display: inline-box;
83
-
84
- display: -webkit-inline-flex;
85
- display: -moz-inline-flex;
86
- display: -ms-inline-flexbox;
87
- display: inline-flex;
88
- } @else {
89
- display: $value;
90
- }
91
- }
92
-
93
- // 2009 - box-flex (integer)
94
- // 2011 - flex (decimal | width decimal)
95
- // 2012 - flex (integer integer width)
96
- @mixin flex($value) {
97
-
98
- // Grab flex-grow for older browsers.
99
- $flex-grow: nth($value, 1);
100
-
101
- // 2009
102
- @include prefixer(box-flex, $flex-grow, webkit moz spec);
103
-
104
- // 2011 (IE 10), 2012
105
- @include prefixer(flex, $value, webkit moz ms spec);
106
- }
107
-
108
- // 2009 - box-orient ( horizontal | vertical | inline-axis | block-axis)
109
- // - box-direction (normal | reverse)
110
- // 2011 - flex-direction (row | row-reverse | column | column-reverse)
111
- // 2012 - flex-direction (row | row-reverse | column | column-reverse)
112
- @mixin flex-direction($value: row) {
113
-
114
- // Alt values.
115
- $value-2009: $value;
116
- $value-2011: $value;
117
- $direction: normal;
118
-
119
- @if $value == row {
120
- $value-2009: horizontal;
121
- } @else if $value == "row-reverse" {
122
- $value-2009: horizontal;
123
- $direction: reverse;
124
- } @else if $value == column {
125
- $value-2009: vertical;
126
- } @else if $value == "column-reverse" {
127
- $value-2009: vertical;
128
- $direction: reverse;
129
- }
130
-
131
- // 2009
132
- @include prefixer(box-orient, $value-2009, webkit moz spec);
133
- @include prefixer(box-direction, $direction, webkit moz spec);
134
-
135
- // 2012
136
- @include prefixer(flex-direction, $value, webkit moz spec);
137
-
138
- // 2011 (IE 10)
139
- -ms-flex-direction: $value;
140
- }
141
-
142
- // 2009 - box-lines (single | multiple)
143
- // 2011 - flex-wrap (nowrap | wrap | wrap-reverse)
144
- // 2012 - flex-wrap (nowrap | wrap | wrap-reverse)
145
- @mixin flex-wrap($value: nowrap) {
146
- // Alt values
147
- $alt-value: $value;
148
- @if $value == nowrap {
149
- $alt-value: single;
150
- } @else if $value == wrap {
151
- $alt-value: multiple;
152
- } @else if $value == "wrap-reverse" {
153
- $alt-value: multiple;
154
- }
155
-
156
- @include prefixer(box-lines, $alt-value, webkit moz spec);
157
- @include prefixer(flex-wrap, $value, webkit moz ms spec);
158
- }
159
-
160
- // 2009 - TODO: parse values into flex-direction/flex-wrap
161
- // 2011 - TODO: parse values into flex-direction/flex-wrap
162
- // 2012 - flex-flow (flex-direction || flex-wrap)
163
- @mixin flex-flow($value) {
164
- @include prefixer(flex-flow, $value, webkit moz spec);
165
- }
166
-
167
- // 2009 - box-ordinal-group (integer)
168
- // 2011 - flex-order (integer)
169
- // 2012 - order (integer)
170
- @mixin order($int: 0) {
171
- // 2009
172
- @include prefixer(box-ordinal-group, $int, webkit moz spec);
173
-
174
- // 2012
175
- @include prefixer(order, $int, webkit moz spec);
176
-
177
- // 2011 (IE 10)
178
- -ms-flex-order: $int;
179
- }
180
-
181
- // 2012 - flex-grow (number)
182
- @mixin flex-grow($number: 0) {
183
- @include prefixer(flex-grow, $number, webkit moz spec);
184
- -ms-flex-positive: $number;
185
- }
186
-
187
- // 2012 - flex-shrink (number)
188
- @mixin flex-shrink($number: 1) {
189
- @include prefixer(flex-shrink, $number, webkit moz spec);
190
- -ms-flex-negative: $number;
191
- }
192
-
193
- // 2012 - flex-basis (number)
194
- @mixin flex-basis($width: auto) {
195
- @include prefixer(flex-basis, $width, webkit moz spec);
196
- -ms-flex-preferred-size: $width;
197
- }
198
-
199
- // 2009 - box-pack (start | end | center | justify)
200
- // 2011 - flex-pack (start | end | center | justify)
201
- // 2012 - justify-content (flex-start | flex-end | center | space-between | space-around)
202
- @mixin justify-content($value: flex-start) {
203
-
204
- // Alt values.
205
- $alt-value: $value;
206
- @if $value == "flex-start" {
207
- $alt-value: start;
208
- } @else if $value == "flex-end" {
209
- $alt-value: end;
210
- } @else if $value == "space-between" {
211
- $alt-value: justify;
212
- } @else if $value == "space-around" {
213
- $alt-value: distribute;
214
- }
215
-
216
- // 2009
217
- @include prefixer(box-pack, $alt-value, webkit moz spec);
218
-
219
- // 2012
220
- @include prefixer(justify-content, $value, webkit moz ms o spec);
221
-
222
- // 2011 (IE 10)
223
- -ms-flex-pack: $alt-value;
224
- }
225
-
226
- // 2009 - box-align (start | end | center | baseline | stretch)
227
- // 2011 - flex-align (start | end | center | baseline | stretch)
228
- // 2012 - align-items (flex-start | flex-end | center | baseline | stretch)
229
- @mixin align-items($value: stretch) {
230
-
231
- $alt-value: $value;
232
-
233
- @if $value == "flex-start" {
234
- $alt-value: start;
235
- } @else if $value == "flex-end" {
236
- $alt-value: end;
237
- }
238
-
239
- // 2009
240
- @include prefixer(box-align, $alt-value, webkit moz spec);
241
-
242
- // 2012
243
- @include prefixer(align-items, $value, webkit moz ms o spec);
244
-
245
- // 2011 (IE 10)
246
- -ms-flex-align: $alt-value;
247
- }
248
-
249
- // 2011 - flex-item-align (auto | start | end | center | baseline | stretch)
250
- // 2012 - align-self (auto | flex-start | flex-end | center | baseline | stretch)
251
- @mixin align-self($value: auto) {
252
-
253
- $value-2011: $value;
254
- @if $value == "flex-start" {
255
- $value-2011: start;
256
- } @else if $value == "flex-end" {
257
- $value-2011: end;
258
- }
259
-
260
- // 2012
261
- @include prefixer(align-self, $value, webkit moz spec);
262
-
263
- // 2011 (IE 10)
264
- -ms-flex-item-align: $value-2011;
265
- }
266
-
267
- // 2011 - flex-line-pack (start | end | center | justify | distribute | stretch)
268
- // 2012 - align-content (flex-start | flex-end | center | space-between | space-around | stretch)
269
- @mixin align-content($value: stretch) {
270
-
271
- $value-2011: $value;
272
- @if $value == "flex-start" {
273
- $value-2011: start;
274
- } @else if $value == "flex-end" {
275
- $value-2011: end;
276
- } @else if $value == "space-between" {
277
- $value-2011: justify;
278
- } @else if $value == "space-around" {
279
- $value-2011: distribute;
280
- }
281
-
282
- // 2012
283
- @include prefixer(align-content, $value, webkit moz spec);
284
-
285
- // 2011 (IE 10)
286
- -ms-flex-line-pack: $value-2011;
287
- }
@@ -1,24 +0,0 @@
1
- @mixin font-face(
2
- $font-family,
3
- $file-path,
4
- $weight: normal,
5
- $style: normal,
6
- $asset-pipeline: $asset-pipeline,
7
- $file-formats: eot woff2 woff ttf svg) {
8
-
9
- $font-url-prefix: font-url-prefixer($asset-pipeline);
10
-
11
- @font-face {
12
- font-family: $font-family;
13
- font-style: $style;
14
- font-weight: $weight;
15
-
16
- src: font-source-declaration(
17
- $font-family,
18
- $file-path,
19
- $asset-pipeline,
20
- $file-formats,
21
- $font-url-prefix
22
- );
23
- }
24
- }
@@ -1,4 +0,0 @@
1
- @mixin font-feature-settings($settings...) {
2
- @if length($settings) == 0 { $settings: none; }
3
- @include prefixer(font-feature-settings, $settings, webkit moz ms spec);
4
- }
@@ -1,10 +0,0 @@
1
- // HiDPI mixin. Default value set to 1.3 to target Google Nexus 7 (http://bjango.com/articles/min-device-pixel-ratio/)
2
- @mixin hidpi($ratio: 1.3) {
3
- @media only screen and (-webkit-min-device-pixel-ratio: $ratio),
4
- only screen and (min--moz-device-pixel-ratio: $ratio),
5
- only screen and (-o-min-device-pixel-ratio: #{$ratio}/1),
6
- only screen and (min-resolution: round($ratio * 96dpi)),
7
- only screen and (min-resolution: $ratio * 1dppx) {
8
- @content;
9
- }
10
- }
@@ -1,4 +0,0 @@
1
- @mixin hyphens($hyphenation: none) {
2
- // none | manual | auto
3
- @include prefixer(hyphens, $hyphenation, webkit moz ms spec);
4
- }
@@ -1,14 +0,0 @@
1
- @mixin image-rendering ($mode:auto) {
2
-
3
- @if ($mode == crisp-edges) {
4
- -ms-interpolation-mode: nearest-neighbor; // IE8+
5
- image-rendering: -moz-crisp-edges;
6
- image-rendering: -o-crisp-edges;
7
- image-rendering: -webkit-optimize-contrast;
8
- image-rendering: crisp-edges;
9
- }
10
-
11
- @else {
12
- image-rendering: $mode;
13
- }
14
- }
@@ -1,36 +0,0 @@
1
- // Adds keyframes blocks for supported prefixes, removing redundant prefixes in the block's content
2
- @mixin keyframes($name) {
3
- $original-prefix-for-webkit: $prefix-for-webkit;
4
- $original-prefix-for-mozilla: $prefix-for-mozilla;
5
- $original-prefix-for-microsoft: $prefix-for-microsoft;
6
- $original-prefix-for-opera: $prefix-for-opera;
7
- $original-prefix-for-spec: $prefix-for-spec;
8
-
9
- @if $original-prefix-for-webkit {
10
- @include disable-prefix-for-all();
11
- $prefix-for-webkit: true !global;
12
- @-webkit-keyframes #{$name} {
13
- @content;
14
- }
15
- }
16
-
17
- @if $original-prefix-for-mozilla {
18
- @include disable-prefix-for-all();
19
- $prefix-for-mozilla: true !global;
20
- @-moz-keyframes #{$name} {
21
- @content;
22
- }
23
- }
24
-
25
- $prefix-for-webkit: $original-prefix-for-webkit !global;
26
- $prefix-for-mozilla: $original-prefix-for-mozilla !global;
27
- $prefix-for-microsoft: $original-prefix-for-microsoft !global;
28
- $prefix-for-opera: $original-prefix-for-opera !global;
29
- $prefix-for-spec: $original-prefix-for-spec !global;
30
-
31
- @if $original-prefix-for-spec {
32
- @keyframes #{$name} {
33
- @content;
34
- }
35
- }
36
- }
@@ -1,38 +0,0 @@
1
- @mixin linear-gradient($pos, $g1, $g2: null,
2
- $g3: null, $g4: null,
3
- $g5: null, $g6: null,
4
- $g7: null, $g8: null,
5
- $g9: null, $g10: null,
6
- $fallback: null) {
7
- // Detect what type of value exists in $pos
8
- $pos-type: type-of(nth($pos, 1));
9
- $pos-spec: null;
10
- $pos-degree: null;
11
-
12
- // If $pos is missing from mixin, reassign vars and add default position
13
- @if ($pos-type == color) or (nth($pos, 1) == "transparent") {
14
- $g10: $g9; $g9: $g8; $g8: $g7; $g7: $g6; $g6: $g5;
15
- $g5: $g4; $g4: $g3; $g3: $g2; $g2: $g1; $g1: $pos;
16
- $pos: null;
17
- }
18
-
19
- @if $pos {
20
- $positions: _linear-positions-parser($pos);
21
- $pos-degree: nth($positions, 1);
22
- $pos-spec: nth($positions, 2);
23
- }
24
-
25
- $full: $g1, $g2, $g3, $g4, $g5, $g6, $g7, $g8, $g9, $g10;
26
-
27
- // Set $g1 as the default fallback color
28
- $fallback-color: nth($g1, 1);
29
-
30
- // If $fallback is a color use that color as the fallback color
31
- @if (type-of($fallback) == color) or ($fallback == "transparent") {
32
- $fallback-color: $fallback;
33
- }
34
-
35
- background-color: $fallback-color;
36
- background-image: -webkit-linear-gradient($pos-degree $full); // Safari 5.1+, Chrome
37
- background-image: unquote("linear-gradient(#{$pos-spec}#{$full})");
38
- }
@@ -1,8 +0,0 @@
1
- @mixin perspective($depth: none) {
2
- // none | <length>
3
- @include prefixer(perspective, $depth, webkit moz spec);
4
- }
5
-
6
- @mixin perspective-origin($value: 50% 50%) {
7
- @include prefixer(perspective-origin, $value, webkit moz spec);
8
- }
@@ -1,8 +0,0 @@
1
- @mixin placeholder {
2
- $placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input";
3
- @each $placeholder in $placeholders {
4
- &:#{$placeholder}-placeholder {
5
- @content;
6
- }
7
- }
8
- }