english_tea 0.6.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/english_tea.scss +0 -12
  3. data/app/assets/stylesheets/english_tea/modules.scss +1 -0
  4. data/{vendor/assets/stylesheets/snapper.scss → app/assets/stylesheets/english_tea/modules/_snapper.scss} +0 -0
  5. data/app/assets/stylesheets/english_tea/setup/_mixins.scss +486 -0
  6. data/lib/english_tea/version.rb +1 -1
  7. data/vendor/bourbon/LICENSE +21 -0
  8. data/vendor/snapper/LICENSE +21 -0
  9. metadata +5 -83
  10. data/vendor/assets/stylesheets/bourbon.scss +0 -91
  11. data/vendor/assets/stylesheets/bourbon/_bourbon-deprecate.scss +0 -19
  12. data/vendor/assets/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +0 -425
  13. data/vendor/assets/stylesheets/bourbon/addons/_border-color.scss +0 -29
  14. data/vendor/assets/stylesheets/bourbon/addons/_border-radius.scss +0 -48
  15. data/vendor/assets/stylesheets/bourbon/addons/_border-style.scss +0 -28
  16. data/vendor/assets/stylesheets/bourbon/addons/_border-width.scss +0 -28
  17. data/vendor/assets/stylesheets/bourbon/addons/_buttons.scss +0 -69
  18. data/vendor/assets/stylesheets/bourbon/addons/_clearfix.scss +0 -25
  19. data/vendor/assets/stylesheets/bourbon/addons/_ellipsis.scss +0 -30
  20. data/vendor/assets/stylesheets/bourbon/addons/_font-stacks.scss +0 -31
  21. data/vendor/assets/stylesheets/bourbon/addons/_hide-text.scss +0 -27
  22. data/vendor/assets/stylesheets/bourbon/addons/_margin.scss +0 -29
  23. data/vendor/assets/stylesheets/bourbon/addons/_padding.scss +0 -29
  24. data/vendor/assets/stylesheets/bourbon/addons/_position.scss +0 -51
  25. data/vendor/assets/stylesheets/bourbon/addons/_prefixer.scss +0 -66
  26. data/vendor/assets/stylesheets/bourbon/addons/_retina-image.scss +0 -27
  27. data/vendor/assets/stylesheets/bourbon/addons/_size.scss +0 -56
  28. data/vendor/assets/stylesheets/bourbon/addons/_text-inputs.scss +0 -118
  29. data/vendor/assets/stylesheets/bourbon/addons/_timing-functions.scss +0 -34
  30. data/vendor/assets/stylesheets/bourbon/addons/_triangle.scss +0 -63
  31. data/vendor/assets/stylesheets/bourbon/addons/_word-wrap.scss +0 -29
  32. data/vendor/assets/stylesheets/bourbon/css3/_animation.scss +0 -61
  33. data/vendor/assets/stylesheets/bourbon/css3/_appearance.scss +0 -5
  34. data/vendor/assets/stylesheets/bourbon/css3/_backface-visibility.scss +0 -5
  35. data/vendor/assets/stylesheets/bourbon/css3/_background-image.scss +0 -44
  36. data/vendor/assets/stylesheets/bourbon/css3/_background.scss +0 -57
  37. data/vendor/assets/stylesheets/bourbon/css3/_border-image.scss +0 -61
  38. data/vendor/assets/stylesheets/bourbon/css3/_calc.scss +0 -6
  39. data/vendor/assets/stylesheets/bourbon/css3/_columns.scss +0 -67
  40. data/vendor/assets/stylesheets/bourbon/css3/_filter.scss +0 -6
  41. data/vendor/assets/stylesheets/bourbon/css3/_flex-box.scss +0 -327
  42. data/vendor/assets/stylesheets/bourbon/css3/_font-face.scss +0 -29
  43. data/vendor/assets/stylesheets/bourbon/css3/_font-feature-settings.scss +0 -6
  44. data/vendor/assets/stylesheets/bourbon/css3/_hidpi-media-query.scss +0 -12
  45. data/vendor/assets/stylesheets/bourbon/css3/_hyphens.scss +0 -6
  46. data/vendor/assets/stylesheets/bourbon/css3/_image-rendering.scss +0 -15
  47. data/vendor/assets/stylesheets/bourbon/css3/_keyframes.scss +0 -38
  48. data/vendor/assets/stylesheets/bourbon/css3/_linear-gradient.scss +0 -40
  49. data/vendor/assets/stylesheets/bourbon/css3/_perspective.scss +0 -12
  50. data/vendor/assets/stylesheets/bourbon/css3/_placeholder.scss +0 -10
  51. data/vendor/assets/stylesheets/bourbon/css3/_radial-gradient.scss +0 -40
  52. data/vendor/assets/stylesheets/bourbon/css3/_selection.scss +0 -44
  53. data/vendor/assets/stylesheets/bourbon/css3/_text-decoration.scss +0 -27
  54. data/vendor/assets/stylesheets/bourbon/css3/_transform.scss +0 -21
  55. data/vendor/assets/stylesheets/bourbon/css3/_transition.scss +0 -81
  56. data/vendor/assets/stylesheets/bourbon/css3/_user-select.scss +0 -5
  57. data/vendor/assets/stylesheets/bourbon/functions/_assign-inputs.scss +0 -16
  58. data/vendor/assets/stylesheets/bourbon/functions/_contains-falsy.scss +0 -25
  59. data/vendor/assets/stylesheets/bourbon/functions/_contains.scss +0 -31
  60. data/vendor/assets/stylesheets/bourbon/functions/_is-length.scss +0 -16
  61. data/vendor/assets/stylesheets/bourbon/functions/_is-light.scss +0 -26
  62. data/vendor/assets/stylesheets/bourbon/functions/_is-number.scss +0 -16
  63. data/vendor/assets/stylesheets/bourbon/functions/_is-size.scss +0 -23
  64. data/vendor/assets/stylesheets/bourbon/functions/_modular-scale.scss +0 -74
  65. data/vendor/assets/stylesheets/bourbon/functions/_px-to-em.scss +0 -24
  66. data/vendor/assets/stylesheets/bourbon/functions/_px-to-rem.scss +0 -26
  67. data/vendor/assets/stylesheets/bourbon/functions/_shade.scss +0 -24
  68. data/vendor/assets/stylesheets/bourbon/functions/_strip-units.scss +0 -22
  69. data/vendor/assets/stylesheets/bourbon/functions/_tint.scss +0 -24
  70. data/vendor/assets/stylesheets/bourbon/functions/_transition-property-name.scss +0 -37
  71. data/vendor/assets/stylesheets/bourbon/functions/_unpack.scss +0 -32
  72. data/vendor/assets/stylesheets/bourbon/helpers/_convert-units.scss +0 -26
  73. data/vendor/assets/stylesheets/bourbon/helpers/_directional-values.scss +0 -108
  74. data/vendor/assets/stylesheets/bourbon/helpers/_font-source-declaration.scss +0 -53
  75. data/vendor/assets/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +0 -24
  76. data/vendor/assets/stylesheets/bourbon/helpers/_linear-angle-parser.scss +0 -35
  77. data/vendor/assets/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +0 -51
  78. data/vendor/assets/stylesheets/bourbon/helpers/_linear-positions-parser.scss +0 -77
  79. data/vendor/assets/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +0 -41
  80. data/vendor/assets/stylesheets/bourbon/helpers/_radial-arg-parser.scss +0 -74
  81. data/vendor/assets/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +0 -55
  82. data/vendor/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss +0 -28
  83. data/vendor/assets/stylesheets/bourbon/helpers/_render-gradients.scss +0 -31
  84. data/vendor/assets/stylesheets/bourbon/helpers/_shape-size-stripper.scss +0 -15
  85. data/vendor/assets/stylesheets/bourbon/helpers/_str-to-num.scss +0 -55
  86. data/vendor/assets/stylesheets/bourbon/settings/_asset-pipeline.scss +0 -7
  87. data/vendor/assets/stylesheets/bourbon/settings/_deprecation-warnings.scss +0 -8
  88. data/vendor/assets/stylesheets/bourbon/settings/_prefixer.scss +0 -9
  89. data/vendor/assets/stylesheets/bourbon/settings/_px-to-em.scss +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e65cf2f60a5cae0cd0b7250cb6b7734309869a0c
4
- data.tar.gz: e0c0e09972f69d01f49b943174af68701adec487
3
+ metadata.gz: e2d9ca6fa262785a5c6815978f4d8cce575c6b97
4
+ data.tar.gz: 7f6f707cf55ab93cc0df149e7f6b3e0b93378e33
5
5
  SHA512:
6
- metadata.gz: 5de04a7d3cd9712ba7be66ddb3487e11018bcf546d038e6ac0df377d92bb8df9de5e4cfd2419f8db7cd886fdb0ec32f1ac84cde061739ee04b2596c185b218ce
7
- data.tar.gz: 82328972490c93b323a808fd6bfe93a4bd43a89cb896e7cbed378faa3be0cfac41e5c82c1b71cc150ef6c25290b4fd087ffa18c47b63e1b8bed4932ffa207a65
6
+ metadata.gz: 76ead5fda39917e6c1733dd310dffb6674726ec4e036fb11dac684de0338e694a80c443b10ad6f126b6f5bd90c5623a6bf391c6c7efbe66853ace77fbbe1fd0f
7
+ data.tar.gz: 41a0e4a1e640e6f188c290f3d189ffbdd99f87a30362c87ac63350b2121f126834469fb8c1092257d8e9ca97e981627ee70e8358779e3d7a19043e341d821061
@@ -3,18 +3,6 @@
3
3
  // @joelparr
4
4
  // ==========================================================================
5
5
 
6
- $output-bourbon-deprecation-warnings: false;
7
- @import 'bourbon/css3/flex-box';
8
- @import 'bourbon/css3/columns';
9
- @import 'bourbon/css3/filter';
10
- @import 'bourbon/css3/transition';
11
- @import 'bourbon/css3/transform';
12
- @import 'bourbon/bourbon-deprecate';
13
- @import 'bourbon/settings/prefixer';
14
- @import 'bourbon/addons/prefixer';
15
-
16
- @import 'snapper';
17
-
18
6
  @import 'english_tea/setup';
19
7
  @import 'english_tea/media';
20
8
  @import 'english_tea/buttons';
@@ -18,5 +18,6 @@
18
18
  @import 'modules/modal';
19
19
  @import 'modules/fadein';
20
20
  @import 'modules/stickybanner';
21
+ @import 'modules/snapper';
21
22
  @import 'modules/tabs';
22
23
  @import 'modules/billing';
@@ -2,6 +2,492 @@
2
2
  // Global SASS mixin declarations
3
3
  // ========================================================================== */
4
4
 
5
+ // ==========================================================================
6
+ // From Bourbon https://github.com/thoughtbot/bourbon
7
+ // ========================================================================== */
8
+
9
+ // bourbon/addons/prefixer.scss
10
+
11
+ /// A mixin for generating vendor prefixes on non-standardized properties.
12
+ ///
13
+ /// @param {String} $property
14
+ /// Property to prefix
15
+ ///
16
+ /// @param {*} $value
17
+ /// Value to use
18
+ ///
19
+ /// @param {List} $prefixes
20
+ /// Prefixes to define
21
+ ///
22
+ /// @example scss - Usage
23
+ /// .element {
24
+ /// @include prefixer(border-radius, 10px, webkit ms spec);
25
+ /// }
26
+ ///
27
+ /// @example css - CSS Output
28
+ /// .element {
29
+ /// -webkit-border-radius: 10px;
30
+ /// -moz-border-radius: 10px;
31
+ /// border-radius: 10px;
32
+ /// }
33
+
34
+ @mixin prefixer($property, $value, $prefixes) {
35
+ @each $prefix in $prefixes {
36
+ @if $prefix == webkit {
37
+ -webkit-#{$property}: $value;
38
+ } @else if $prefix == moz {
39
+ -moz-#{$property}: $value;
40
+ } @else if $prefix == ms {
41
+ -ms-#{$property}: $value;
42
+ } @else if $prefix == o {
43
+ -o-#{$property}: $value;
44
+ } @else if $prefix == spec {
45
+ #{$property}: $value;
46
+ } @else {
47
+ @warn "Unrecognized prefix: #{$prefix}";
48
+ }
49
+ }
50
+ }
51
+
52
+ // bourbon/css3/flex-box
53
+
54
+ // CSS3 Flexible Box Model and property defaults
55
+
56
+ // Custom shorthand notation for flexbox
57
+ @mixin box($orient: inline-axis, $pack: start, $align: stretch) {
58
+ @include display-box;
59
+ @include box-orient($orient);
60
+ @include box-pack($pack);
61
+ @include box-align($align);
62
+ }
63
+
64
+ @mixin display-box {
65
+ display: -webkit-box;
66
+ display: -moz-box;
67
+ display: -ms-flexbox; // IE 10
68
+ display: box;
69
+ }
70
+
71
+ @mixin box-orient($orient: inline-axis) {
72
+ // horizontal|vertical|inline-axis|block-axis|inherit
73
+ @include prefixer(box-orient, $orient, webkit moz spec);
74
+ }
75
+
76
+ @mixin box-pack($pack: start) {
77
+ // start|end|center|justify
78
+ @include prefixer(box-pack, $pack, webkit moz spec);
79
+ -ms-flex-pack: $pack; // IE 10
80
+ }
81
+
82
+ @mixin box-align($align: stretch) {
83
+ // start|end|center|baseline|stretch
84
+ @include prefixer(box-align, $align, webkit moz spec);
85
+ -ms-flex-align: $align; // IE 10
86
+ }
87
+
88
+ @mixin box-direction($direction: normal) {
89
+ // normal|reverse|inherit
90
+ @include prefixer(box-direction, $direction, webkit moz spec);
91
+ -ms-flex-direction: $direction; // IE 10
92
+ }
93
+
94
+ @mixin box-lines($lines: single) {
95
+ // single|multiple
96
+ @include prefixer(box-lines, $lines, webkit moz spec);
97
+ }
98
+
99
+ @mixin box-ordinal-group($int: 1) {
100
+ @include prefixer(box-ordinal-group, $int, webkit moz spec);
101
+ -ms-flex-order: $int; // IE 10
102
+ }
103
+
104
+ @mixin box-flex($value: 0) {
105
+ @include prefixer(box-flex, $value, webkit moz spec);
106
+ -ms-flex: $value; // IE 10
107
+ }
108
+
109
+ @mixin box-flex-group($int: 1) {
110
+ @include prefixer(box-flex-group, $int, webkit moz spec);
111
+ }
112
+
113
+ // CSS3 Flexible Box Model and property defaults
114
+ // Unified attributes for 2009, 2011, and 2012 flavours.
115
+
116
+ // 2009 - display (box | inline-box)
117
+ // 2011 - display (flexbox | inline-flexbox)
118
+ // 2012 - display (flex | inline-flex)
119
+ @mixin display($value) {
120
+ // flex | inline-flex
121
+ @if $value == "flex" {
122
+ // 2009
123
+ display: -webkit-box;
124
+ display: -moz-box;
125
+ display: box;
126
+
127
+ // 2012
128
+ display: -webkit-flex;
129
+ display: -moz-flex;
130
+ display: -ms-flexbox; // 2011 (IE 10)
131
+ display: flex;
132
+ } @else if $value == "inline-flex" {
133
+ display: -webkit-inline-box;
134
+ display: -moz-inline-box;
135
+ display: inline-box;
136
+
137
+ display: -webkit-inline-flex;
138
+ display: -moz-inline-flex;
139
+ display: -ms-inline-flexbox;
140
+ display: inline-flex;
141
+ } @else {
142
+ display: $value;
143
+ }
144
+ }
145
+
146
+ // 2009 - box-flex (integer)
147
+ // 2011 - flex (decimal | width decimal)
148
+ // 2012 - flex (integer integer width)
149
+ @mixin flex($value) {
150
+ // Grab flex-grow for older browsers.
151
+ $flex-grow: nth($value, 1);
152
+
153
+ // 2009
154
+ @include prefixer(box-flex, $flex-grow, webkit moz spec);
155
+
156
+ // 2011 (IE 10), 2012
157
+ @include prefixer(flex, $value, webkit moz ms spec);
158
+ }
159
+
160
+ // 2009 - box-orient ( horizontal | vertical | inline-axis | block-axis)
161
+ // - box-direction (normal | reverse)
162
+ // 2011 - flex-direction (row | row-reverse | column | column-reverse)
163
+ // 2012 - flex-direction (row | row-reverse | column | column-reverse)
164
+ @mixin flex-direction($value: row) {
165
+ // Alt values.
166
+ $value-2009: $value;
167
+ $value-2011: $value;
168
+ $direction: normal;
169
+
170
+ @if $value == row {
171
+ $value-2009: horizontal;
172
+ } @else if $value == "row-reverse" {
173
+ $value-2009: horizontal;
174
+ $direction: reverse;
175
+ } @else if $value == column {
176
+ $value-2009: vertical;
177
+ } @else if $value == "column-reverse" {
178
+ $value-2009: vertical;
179
+ $direction: reverse;
180
+ }
181
+
182
+ // 2009
183
+ @include prefixer(box-orient, $value-2009, webkit moz spec);
184
+ @include prefixer(box-direction, $direction, webkit moz spec);
185
+
186
+ // 2012
187
+ @include prefixer(flex-direction, $value, webkit moz spec);
188
+
189
+ // 2011 (IE 10)
190
+ -ms-flex-direction: $value;
191
+ }
192
+
193
+ // 2009 - box-lines (single | multiple)
194
+ // 2011 - flex-wrap (nowrap | wrap | wrap-reverse)
195
+ // 2012 - flex-wrap (nowrap | wrap | wrap-reverse)
196
+ @mixin flex-wrap($value: nowrap) {
197
+ // Alt values
198
+ $alt-value: $value;
199
+ @if $value == nowrap {
200
+ $alt-value: single;
201
+ } @else if $value == wrap {
202
+ $alt-value: multiple;
203
+ } @else if $value == "wrap-reverse" {
204
+ $alt-value: multiple;
205
+ }
206
+
207
+ @include prefixer(box-lines, $alt-value, webkit moz spec);
208
+ @include prefixer(flex-wrap, $value, webkit moz ms spec);
209
+ }
210
+
211
+ // 2009 - TODO: parse values into flex-direction/flex-wrap
212
+ // 2011 - TODO: parse values into flex-direction/flex-wrap
213
+ // 2012 - flex-flow (flex-direction || flex-wrap)
214
+ @mixin flex-flow($value) {
215
+ @include prefixer(flex-flow, $value, webkit moz spec);
216
+ }
217
+
218
+ // 2009 - box-ordinal-group (integer)
219
+ // 2011 - flex-order (integer)
220
+ // 2012 - order (integer)
221
+ @mixin order($int: 0) {
222
+ // 2009
223
+ @include prefixer(box-ordinal-group, $int, webkit moz spec);
224
+
225
+ // 2012
226
+ @include prefixer(order, $int, webkit moz spec);
227
+
228
+ // 2011 (IE 10)
229
+ -ms-flex-order: $int;
230
+ }
231
+
232
+ // 2012 - flex-grow (number)
233
+ @mixin flex-grow($number: 0) {
234
+ @include prefixer(flex-grow, $number, webkit moz spec);
235
+ -ms-flex-positive: $number;
236
+ }
237
+
238
+ // 2012 - flex-shrink (number)
239
+ @mixin flex-shrink($number: 1) {
240
+ @include prefixer(flex-shrink, $number, webkit moz spec);
241
+ -ms-flex-negative: $number;
242
+ }
243
+
244
+ // 2012 - flex-basis (number)
245
+ @mixin flex-basis($width: auto) {
246
+ @include prefixer(flex-basis, $width, webkit moz spec);
247
+ -ms-flex-preferred-size: $width;
248
+ }
249
+
250
+ // 2009 - box-pack (start | end | center | justify)
251
+ // 2011 - flex-pack (start | end | center | justify)
252
+ // 2012 - justify-content (flex-start | flex-end | center | space-between | space-around)
253
+ @mixin justify-content($value: flex-start) {
254
+ // Alt values.
255
+ $alt-value: $value;
256
+ @if $value == "flex-start" {
257
+ $alt-value: start;
258
+ } @else if $value == "flex-end" {
259
+ $alt-value: end;
260
+ } @else if $value == "space-between" {
261
+ $alt-value: justify;
262
+ } @else if $value == "space-around" {
263
+ $alt-value: distribute;
264
+ }
265
+
266
+ // 2009
267
+ @include prefixer(box-pack, $alt-value, webkit moz spec);
268
+
269
+ // 2012
270
+ @include prefixer(justify-content, $value, webkit moz ms o spec);
271
+
272
+ // 2011 (IE 10)
273
+ -ms-flex-pack: $alt-value;
274
+ }
275
+
276
+ // 2009 - box-align (start | end | center | baseline | stretch)
277
+ // 2011 - flex-align (start | end | center | baseline | stretch)
278
+ // 2012 - align-items (flex-start | flex-end | center | baseline | stretch)
279
+ @mixin align-items($value: stretch) {
280
+ $alt-value: $value;
281
+
282
+ @if $value == "flex-start" {
283
+ $alt-value: start;
284
+ } @else if $value == "flex-end" {
285
+ $alt-value: end;
286
+ }
287
+
288
+ // 2009
289
+ @include prefixer(box-align, $alt-value, webkit moz spec);
290
+
291
+ // 2012
292
+ @include prefixer(align-items, $value, webkit moz ms o spec);
293
+
294
+ // 2011 (IE 10)
295
+ -ms-flex-align: $alt-value;
296
+ }
297
+
298
+ // 2011 - flex-item-align (auto | start | end | center | baseline | stretch)
299
+ // 2012 - align-self (auto | flex-start | flex-end | center | baseline | stretch)
300
+ @mixin align-self($value: auto) {
301
+ $value-2011: $value;
302
+ @if $value == "flex-start" {
303
+ $value-2011: start;
304
+ } @else if $value == "flex-end" {
305
+ $value-2011: end;
306
+ }
307
+
308
+ // 2012
309
+ @include prefixer(align-self, $value, webkit moz spec);
310
+
311
+ // 2011 (IE 10)
312
+ -ms-flex-item-align: $value-2011;
313
+ }
314
+
315
+ // 2011 - flex-line-pack (start | end | center | justify | distribute | stretch)
316
+ // 2012 - align-content (flex-start | flex-end | center | space-between | space-around | stretch)
317
+ @mixin align-content($value: stretch) {
318
+ $value-2011: $value;
319
+ @if $value == "flex-start" {
320
+ $value-2011: start;
321
+ } @else if $value == "flex-end" {
322
+ $value-2011: end;
323
+ } @else if $value == "space-between" {
324
+ $value-2011: justify;
325
+ } @else if $value == "space-around" {
326
+ $value-2011: distribute;
327
+ }
328
+
329
+ // 2012
330
+ @include prefixer(align-content, $value, webkit moz spec);
331
+
332
+ // 2011 (IE 10)
333
+ -ms-flex-line-pack: $value-2011;
334
+ }
335
+
336
+
337
+ // bourbon/css3/columns
338
+
339
+ @mixin columns($arg: auto) {
340
+ // <column-count> || <column-width>
341
+ @include prefixer(columns, $arg, webkit moz spec);
342
+ }
343
+
344
+ @mixin column-count($int: auto) {
345
+ // auto || integer
346
+ @include prefixer(column-count, $int, webkit moz spec);
347
+ }
348
+
349
+ @mixin column-gap($length: normal) {
350
+ // normal || length
351
+ @include prefixer(column-gap, $length, webkit moz spec);
352
+ }
353
+
354
+ @mixin column-fill($arg: auto) {
355
+ // auto || length
356
+ @include prefixer(column-fill, $arg, webkit moz spec);
357
+ }
358
+
359
+ @mixin column-rule($arg) {
360
+ // <border-width> || <border-style> || <color>
361
+ @include prefixer(column-rule, $arg, webkit moz spec);
362
+ }
363
+
364
+ @mixin column-rule-color($color) {
365
+ @include prefixer(column-rule-color, $color, webkit moz spec);
366
+ }
367
+
368
+ @mixin column-rule-style($style: none) {
369
+ // none | hidden | dashed | dotted | double | groove | inset | inset | outset | ridge | solid
370
+ @include prefixer(column-rule-style, $style, webkit moz spec);
371
+ }
372
+
373
+ @mixin column-rule-width($width: none) {
374
+ @include prefixer(column-rule-width, $width, webkit moz spec);
375
+ }
376
+
377
+ @mixin column-span($arg: none) {
378
+ // none || all
379
+ @include prefixer(column-span, $arg, webkit moz spec);
380
+ }
381
+
382
+ @mixin column-width($length: auto) {
383
+ // auto || length
384
+ @include prefixer(column-width, $length, webkit moz spec);
385
+ }
386
+
387
+
388
+ // bourbon/css3/filter
389
+
390
+ @mixin filter($function: none) {
391
+ // <filter-function> [<filter-function]* | none
392
+ @include prefixer(filter, $function, webkit spec);
393
+ }
394
+
395
+
396
+ // bourbon/css3/transform
397
+
398
+ @mixin transform($property: none) {
399
+ // none | <transform-function>
400
+ @include prefixer(transform, $property, webkit moz ms o spec);
401
+ }
402
+
403
+ @mixin transform-origin($axes: 50%) {
404
+ // x-axis - left | center | right | length | %
405
+ // y-axis - top | center | bottom | length | %
406
+ // z-axis - length
407
+ @include prefixer(transform-origin, $axes, webkit moz ms o spec);
408
+ }
409
+
410
+ @mixin transform-style($style: flat) {
411
+ @include prefixer(transform-style, $style, webkit moz ms o spec);
412
+ }
413
+
414
+
415
+ // bourbon/css3/transition
416
+
417
+ // Shorthand mixin. Supports multiple parentheses-deliminated values for each variable.
418
+ // Example: @include transition (all 2s ease-in-out);
419
+ // @include transition (opacity 1s ease-in 2s, width 2s ease-out);
420
+ // @include transition-property (transform, opacity);
421
+
422
+ @mixin transition($properties...) {
423
+ // Fix for vendor-prefix transform property
424
+ $needs-prefixes: false;
425
+ $webkit: ();
426
+ $moz: ();
427
+ $spec: ();
428
+
429
+ // Create lists for vendor-prefixed transform
430
+ @each $list in $properties {
431
+ @if nth($list, 1) == "transform" {
432
+ $needs-prefixes: true;
433
+ $list1: -webkit-transform;
434
+ $list2: -moz-transform;
435
+ $list3: ();
436
+
437
+ @each $var in $list {
438
+ $list3: join($list3, $var);
439
+
440
+ @if $var != "transform" {
441
+ $list1: join($list1, $var);
442
+ $list2: join($list2, $var);
443
+ }
444
+ }
445
+
446
+ $webkit: append($webkit, $list1);
447
+ $moz: append($moz, $list2);
448
+ $spec: append($spec, $list3);
449
+ } @else {
450
+ $webkit: append($webkit, $list, comma);
451
+ $moz: append($moz, $list, comma);
452
+ $spec: append($spec, $list, comma);
453
+ }
454
+ }
455
+
456
+ @if $needs-prefixes {
457
+ -webkit-transition: $webkit;
458
+ -moz-transition: $moz;
459
+ transition: $spec;
460
+ } @else {
461
+ @if length($properties) >= 1 {
462
+ @include prefixer(transition, $properties, webkit moz spec);
463
+ } @else {
464
+ $properties: all 0.15s ease-out 0s;
465
+ @include prefixer(transition, $properties, webkit moz spec);
466
+ }
467
+ }
468
+ }
469
+
470
+ @mixin transition-property($properties...) {
471
+ -webkit-transition-property: transition-property-names($properties, "webkit");
472
+ -moz-transition-property: transition-property-names($properties, "moz");
473
+ transition-property: transition-property-names($properties, false);
474
+ }
475
+
476
+ @mixin transition-duration($times...) {
477
+ @include prefixer(transition-duration, $times, webkit moz spec);
478
+ }
479
+
480
+ @mixin transition-timing-function($motions...) {
481
+ // ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier()
482
+ @include prefixer(transition-timing-function, $motions, webkit moz spec);
483
+ }
484
+
485
+ @mixin transition-delay($times...) {
486
+ @include prefixer(transition-delay, $times, webkit moz spec);
487
+ }
488
+
489
+
490
+
5
491
  // ---
6
492
  // MQ
7
493
  // Media queries