seasons 0.9.3.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,535 @@
1
+ // VENDOR PREFIXR
2
+ $prefixes: -webkit- -moz- -ms- -o-
3
+
4
+ =prefix($attribute, $value, $prefixes)
5
+ @each $prefix in $prefixes
6
+ #{$prefix}#{$attribute}: $value
7
+ #{$attribute}: $value
8
+
9
+
10
+ // STANDARDIZE VENDOR-SPECIFIC PROPERTIES
11
+ =animation($value)
12
+ +prefix(animation, $value)
13
+
14
+ =animation-delay($value)
15
+ +prefix(animation-delay, $value)
16
+
17
+ =animation-direction($value)
18
+ +prefix(animation-direction, $value)
19
+
20
+ =animation-duration($value)
21
+ +prefix(animation-duration, $value)
22
+
23
+ =animation-fill-mode($value)
24
+ +prefix(animation-fill-mode, $value)
25
+
26
+ =animation-iteration-count($value)
27
+ +prefix(animation-iteration-count, $value)
28
+
29
+ =animation-name($value)
30
+ +prefix(animation-name, $value)
31
+
32
+ =animation-play-state($value)
33
+ +prefix(animation-play-state, $value)
34
+
35
+ =animation-timing-function($value)
36
+ +prefix(animation-timing-function, $value)
37
+
38
+ =appearance($value)
39
+ +prefix(appearance, $value)
40
+
41
+ =backface-visibility($value)
42
+ +prefix(backface-visibility, $value)
43
+
44
+ =background-clip($value)
45
+ +prefix(background-clip, $value)
46
+
47
+ =background-composite($value)
48
+ +prefix(background-composite, $value)
49
+
50
+ =background-origin($value)
51
+ +prefix(background-origin, $value)
52
+
53
+ =background-size($value)
54
+ +prefix(background-size, $value)
55
+
56
+ =border-after($value)
57
+ +prefix(border-after, $value)
58
+
59
+ =border-after-color($value)
60
+ +prefix(border-after-color, $value)
61
+
62
+ =border-after-style($value)
63
+ +prefix(border-after-style, $value)
64
+
65
+ =border-after-width($value)
66
+ +prefix(border-after-width, $value)
67
+
68
+ =border-before($value)
69
+ +prefix(border-before, $value)
70
+
71
+ =border-before-color($value)
72
+ +prefix(border-before-color, $value)
73
+
74
+ =border-before-style($value)
75
+ +prefix(border-before-style, $value)
76
+
77
+ =border-before-width($value)
78
+ +prefix(border-before-width, $value)
79
+
80
+ =border-bottom-left-radius($value)
81
+ +prefix(border-bottom-left-radius, $value)
82
+
83
+ =border-bottom-right-radius($value)
84
+ +prefix(border-bottom-right-radius, $value)
85
+
86
+ =border-end($value)
87
+ +prefix(border-end, $value)
88
+
89
+ =border-end-color($value)
90
+ +prefix(border-end-color, $value)
91
+
92
+ =border-end-style($value)
93
+ +prefix(border-end-style, $value)
94
+
95
+ =border-end-width($value)
96
+ +prefix(border-end-width, $value)
97
+
98
+ =border-fit($value)
99
+ +prefix(border-fit, $value)
100
+
101
+ =border-horizontal-spacing($value)
102
+ +prefix(border-horizontal-spacing, $value)
103
+
104
+ =border-image($value)
105
+ +prefix(border-image, $value)
106
+
107
+ =border-radius($value)
108
+ +prefix(border-radius, $value)
109
+
110
+ =border-start($value)
111
+ +prefix(border-start, $value)
112
+
113
+ =border-start-color($value)
114
+ +prefix(border-start-color, $value)
115
+
116
+ =border-start-style($value)
117
+ +prefix(border-start-style, $value)
118
+
119
+ =border-start-width($value)
120
+ +prefix(border-start-width, $value)
121
+
122
+ =border-top-left-radius($value)
123
+ +prefix(border-top-left-radius, $value)
124
+
125
+ =border-top-right-radius($value)
126
+ +prefix(border-top-right-radius, $value)
127
+
128
+ =border-vertical-spacing($value)
129
+ +prefix(border-vertical-spacing, $value)
130
+
131
+ =box-align($value)
132
+ +prefix(box-align, $value)
133
+
134
+ =box-direction($value)
135
+ +prefix(box-direction, $value)
136
+
137
+ =box-flex($value)
138
+ +prefix(box-flex, $value)
139
+
140
+ =box-flex-group($value)
141
+ +prefix(box-flex-group, $value)
142
+
143
+ =box-lines($value)
144
+ +prefix(box-lines, $value)
145
+
146
+ =box-ordinal-group($value)
147
+ +prefix(box-ordinal-group, $value)
148
+
149
+ =box-orient($value)
150
+ +prefix(box-orient, $value)
151
+
152
+ =box-pack($value)
153
+ +prefix(box-pack, $value)
154
+
155
+ =box-reflect($value)
156
+ +prefix(box-reflect, $value)
157
+
158
+ =box-shadow($value)
159
+ +prefix(box-shadow, $value)
160
+
161
+ =box-sizing($value)
162
+ +prefix(box-sizing, $value)
163
+
164
+ =color-correction($value)
165
+ +prefix(color-correction, $value)
166
+
167
+ =column-break-after($value)
168
+ +prefix(column-break-after, $value)
169
+
170
+ =column-break-before($value)
171
+ +prefix(column-break-before, $value)
172
+
173
+ =column-break-inside($value)
174
+ +prefix(column-break-inside, $value)
175
+
176
+ =column-count($value)
177
+ +prefix(column-count, $value)
178
+
179
+ =column-gap($value)
180
+ +prefix(column-gap, $value)
181
+
182
+ =column-rule($value)
183
+ +prefix(column-rule, $value)
184
+
185
+ =column-rule-color($value)
186
+ +prefix(column-rule-color, $value)
187
+
188
+ =column-rule-style($value)
189
+ +prefix(column-rule-style, $value)
190
+
191
+ =column-rule-width($value)
192
+ +prefix(column-rule-width, $value)
193
+
194
+ =column-span($value)
195
+ +prefix(column-span, $value)
196
+
197
+ =column-width($value)
198
+ +prefix(column-width, $value)
199
+
200
+ =columns($value)
201
+ +prefix(columns, $value)
202
+
203
+ =content-order($value)
204
+ +prefix(content-order, $value)
205
+
206
+ =dashboard-region($value)
207
+ +prefix(dashboard-region, $value)
208
+
209
+ =flex-order($value)
210
+ +prefix(flex-order, $value)
211
+
212
+ =flex-pack($value)
213
+ +prefix(flex-pack, $value)
214
+
215
+ =flow($value)
216
+ +prefix(flow, $value)
217
+
218
+ =font-feature-settings($value)
219
+ +prefix(font-feature-settings, $value)
220
+
221
+ =font-size-delta($value)
222
+ +prefix(font-size-delta, $value)
223
+
224
+ =font-smoothing($value)
225
+ +prefix(font-smoothing, $value)
226
+
227
+ =highlight($value)
228
+ +prefix(highlight, $value)
229
+
230
+ =hyphens($value)
231
+ +prefix(hyphens, $value)
232
+
233
+ =hyphenate-character($value)
234
+ +prefix(hyphenate-character, $value)
235
+
236
+ =hyphenate-limit-after($value)
237
+ +prefix(hyphenate-limit-after, $value)
238
+
239
+ =hyphenate-limit-before($value)
240
+ +prefix(hyphenate-limit-before, $value)
241
+
242
+ =line-box-contain($value)
243
+ +prefix(line-box-contain, $value)
244
+
245
+ =line-break($value)
246
+ +prefix(line-break, $value)
247
+
248
+ =line-clamp($value)
249
+ +prefix(line-clamp, $value)
250
+
251
+ =locale($value)
252
+ +prefix(locale, $value)
253
+
254
+ =logical-height($value)
255
+ +prefix(logical-height, $value)
256
+
257
+ =logical-width($value)
258
+ +prefix(logical-width, $value)
259
+
260
+ =margin-after($value)
261
+ +prefix(margin-after, $value)
262
+
263
+ =margin-after-collapse($value)
264
+ +prefix(margin-after-collapse, $value)
265
+
266
+ =margin-before($value)
267
+ +prefix(margin-before, $value)
268
+
269
+ =margin-before-collapse($value)
270
+ +prefix(margin-before-collapse, $value)
271
+
272
+ =margin-bottom-collapse($value)
273
+ +prefix(margin-bottom-collapse, $value)
274
+
275
+ =margin-collapse($value)
276
+ +prefix(margin-collapse, $value)
277
+
278
+ =margin-end($value)
279
+ +prefix(margin-end, $value)
280
+
281
+ =margin-start($value)
282
+ +prefix(margin-start, $value)
283
+
284
+ =margin-top-collapse($value)
285
+ +prefix(margin-top-collapse, $value)
286
+
287
+ =marquee($value)
288
+ +prefix(marquee, $value)
289
+
290
+ =marquee-direction($value)
291
+ +prefix(marquee-direction, $value)
292
+
293
+ =marquee-increment($value)
294
+ +prefix(marquee-increment, $value)
295
+
296
+ =marquee-repetition($value)
297
+ +prefix(marquee-repetition, $value)
298
+
299
+ =marquee-speed($value)
300
+ +prefix(marquee-speed, $value)
301
+
302
+ =marquee-style($value)
303
+ +prefix(marquee-style, $value)
304
+
305
+ =mask($value)
306
+ +prefix(mask, $value)
307
+
308
+ =mask-attachment($value)
309
+ +prefix(mask-attachment, $value)
310
+
311
+ =mask-box-image($value)
312
+ +prefix(mask-box-image, $value)
313
+
314
+ =mask-clip($value)
315
+ +prefix(mask-clip, $value)
316
+
317
+ =mask-composite($value)
318
+ +prefix(mask-composite, $value)
319
+
320
+ =mask-image($value)
321
+ +prefix(mask-image, $value)
322
+
323
+ =mask-origin($value)
324
+ +prefix(mask-origin, $value)
325
+
326
+ =mask-position($value)
327
+ +prefix(mask-position, $value)
328
+
329
+ =mask-position-x($value)
330
+ +prefix(mask-position-x, $value)
331
+
332
+ =mask-position-y($value)
333
+ +prefix(mask-position-y, $value)
334
+
335
+ =mask-repeat($value)
336
+ +prefix(mask-repeat, $value)
337
+
338
+ =mask-repeat-x($value)
339
+ +prefix(mask-repeat-x, $value)
340
+
341
+ =mask-repeat-y($value)
342
+ +prefix(mask-repeat-y, $value)
343
+
344
+ =mask-size($value)
345
+ +prefix(mask-size, $value)
346
+
347
+ =match-nearest-mail-blockquote-color($value)
348
+ +prefix(match-nearest-mail-blockquote-color, $value)
349
+
350
+ =max-logical-height($value)
351
+ +prefix(max-logical-height, $value)
352
+
353
+ =max-logical-width($value)
354
+ +prefix(max-logical-width, $value)
355
+
356
+ =min-logical-height($value)
357
+ +prefix(min-logical-height, $value)
358
+
359
+ =min-logical-width($value)
360
+ +prefix(min-logical-width, $value)
361
+
362
+ =nbsp-mode($value)
363
+ +prefix(nbsp-mode, $value)
364
+
365
+ =opacity($value)
366
+ +prefix(opacity, $value)
367
+
368
+ =padding-after($value)
369
+ +prefix(padding-after, $value)
370
+
371
+ =padding-before($value)
372
+ +prefix(padding-before, $value)
373
+
374
+ =padding-end($value)
375
+ +prefix(padding-end, $value)
376
+
377
+ =padding-start($value)
378
+ +prefix(padding-start, $value)
379
+
380
+ =perspective($value)
381
+ +prefix(perspective, $value)
382
+
383
+ =perspective-origin($value)
384
+ +prefix(perspective-origin, $value)
385
+
386
+ =perspective-origin-x($value)
387
+ +prefix(perspective-origin-x, $value)
388
+
389
+ =perspective-origin-y($value)
390
+ +prefix(perspective-origin-y, $value)
391
+
392
+ =region-break-after($value)
393
+ +prefix(region-break-after, $value)
394
+
395
+ =region-break-before($value)
396
+ +prefix(region-break-before, $value)
397
+
398
+ =region-break-inside($value)
399
+ +prefix(region-break-inside, $value)
400
+
401
+ =region-overflow($value)
402
+ +prefix(region-overflow, $value)
403
+
404
+ =rtl-ordering($value)
405
+ +prefix(rtl-ordering, $value)
406
+
407
+ =svg-shadow($value)
408
+ +prefix(svg-shadow, $value)
409
+
410
+ =tap-highlight-color($value)
411
+ +prefix(tap-highlight-color, $value)
412
+
413
+ =text-decorations-in-effect($value)
414
+ +prefix(text-decorations-in-effect, $value)
415
+
416
+ =text-emphasis-position($value)
417
+ +prefix(text-emphasis-position, $value)
418
+
419
+ =text-fill-color($value)
420
+ +prefix(text-fill-color, $value)
421
+
422
+ =text-security($value)
423
+ +prefix(text-security, $value)
424
+
425
+ =text-size-adjust($value)
426
+ +prefix(text-size-adjust, $value)
427
+
428
+ =text-stroke($value)
429
+ +prefix(text-stroke, $value)
430
+
431
+ =text-stroke-color($value)
432
+ +prefix(text-stroke-color, $value)
433
+
434
+ =text-stroke-width($value)
435
+ +prefix(text-stroke-width, $value)
436
+
437
+ =touch-callout($value)
438
+ +prefix(touch-callout, $value)
439
+
440
+ =transform($value)
441
+ +prefix(transform, $value)
442
+
443
+ =transform-origin($value)
444
+ +prefix(transform-origin, $value)
445
+
446
+ =transform-origin-x($value)
447
+ +prefix(transform-origin-x, $value)
448
+
449
+ =transform-origin-y($value)
450
+ +prefix(transform-origin-y, $value)
451
+
452
+ =transform-origin-z($value)
453
+ +prefix(transform-origin-z, $value)
454
+
455
+ =transform-style($value)
456
+ +prefix(transform-style, $value)
457
+
458
+ =transition($value: all 1s)
459
+ +prefix(transition, $value)
460
+
461
+ =transition-delay($value)
462
+ +prefix(transition-delay, $value)
463
+
464
+ =transition-duration($value)
465
+ +prefix(transition-duration, $value)
466
+
467
+ =transition-property($value)
468
+ +prefix(transition-property, $value)
469
+
470
+ =transition-timing-function($value)
471
+ +prefix(transition-timing-function, $value)
472
+
473
+ =user-drag($value)
474
+ +prefix(user-drag, $value)
475
+
476
+ =user-modify($value)
477
+ +prefix(user-modify, $value)
478
+
479
+ =user-select($value)
480
+ +prefix(user-select, $value)
481
+
482
+ =wrap-shape($value)
483
+ +prefix(wrap-shape, $value)
484
+
485
+
486
+ // OTHER CSS3 TOOLS
487
+ =corner-radius($top, $left, $borderradius)
488
+ -moz-border-radius-#{$top}#{$left}: $borderradius
489
+ -webkit-border-#{$top}-#{$left}-radius: $borderradius
490
+ -o-border-#{$top}-#{$left}-radius: $borderradius
491
+ border-#{$top}-#{$left}-radius: $borderradius
492
+
493
+ =gradient($top, $bottom)
494
+ background-color: $top / 2 + $bottom / 2
495
+ filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='")#{$top}unquote("', endColorstr='")#{$bottom}unquote("')")
496
+ -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$top}', endColorstr='#{$bottom}')")
497
+ background-image: -webkit-gradient(linear, left top, left bottom, from($top), to($bottom))
498
+ background-image: -webkit-linear-gradient(top, $top, $bottom)
499
+ background-image: -moz-linear-gradient(top, $top, $bottom)
500
+ background-image: -ms-linear-gradient(top, $top, $bottom)
501
+ background-image: -o-linear-gradient(top, $top, $bottom)
502
+ background-image: linear-gradient(top, $top, $bottom)
503
+
504
+ =hgradient($left, $right)
505
+ background-color: $left / 2 + $right / 2
506
+ filter: unquote("progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='")#{$left}unquote("', endColorstr='")#{$right}unquote("')")
507
+ -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#{$left}', endColorstr='#{$right}')")
508
+ background-image: -webkit-gradient(linear, left top, right top, from($left), to($right))
509
+ background-image: -webkit-linear-gradient(left, $left, $right)
510
+ background-image: -moz-linear-gradient(left, $left, $right)
511
+ background-image: -ms-linear-gradient(left, $left, $right)
512
+ background-image: -o-linear-gradient(left, $left, $right)
513
+ background-image: linear-gradient(left, $left, $right)
514
+
515
+ =gloss($color)
516
+ background-color: $color
517
+ filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='")#{lighten($color, 5%)}unquote("', endColorstr='")#{darken($color, 5%)}unquote("')")
518
+ -ms-filter: unquote("progid:DXImageTransform.Microsoft.gradient(startColorstr='#{lighten($color, 5%)}', endColorstr='#{darken($color, 5%)}')")
519
+ background-image: -webkit-gradient( linear, left bottom, left top, color-stop(1, lighten($color, 15%)), color-stop(0.5, $color), color-stop(0.49, darken($color, 5%)))
520
+ background-image: -webkit-linear-gradient(top, lighten($color, 15%) 0%, $color 50%, darken($color, 5%) 51%, darken($color, 5%) 100%)
521
+ background-image: -moz-linear-gradient(top, lighten($color, 15%) 0%, $color 50%, darken($color, 5%) 51%, darken($color, 5%) 100%)
522
+ background-image: linear-gradient(top, lighten($color, 15%) 0%, $color 50%, darken($color, 5%) 51%, darken($color, 5%) 100%)
523
+
524
+ // ROTATION
525
+ =rotate($deg)
526
+ display: block
527
+ +transform-origin(0% 100%)
528
+ .no-csstransforms &
529
+ @if $deg == 90
530
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1)
531
+ @if $deg == 180
532
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2)
533
+ @if $deg == 270
534
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3)
535
+ +prefix(transform, rotate($deg+deg))
@@ -0,0 +1,17 @@
1
+ // GRID MEASUREMENTS
2
+ @function grid($unit, $measure: $module-w)
3
+ @return (($measure * $unit) + ($gutter * ($unit - 1)))
4
+
5
+ =location($across: 1, $down: 1, $width: 1, $height: 1)
6
+ position: absolute
7
+ margin-left: grid($across, $module-w) - $module-w
8
+ position: absolute
9
+ top: (grid($down, $module-h) - $module-h) + $top
10
+ @if $width == "auto"
11
+ width: auto
12
+ @else
13
+ width: grid($width, $module-w)
14
+ @if $height == "auto"
15
+ height: auto
16
+ @else
17
+ height: grid($height, $module-h)