Blame view

bower_components/Materialize/sass/components/_prefixer.scss 12.7 KB
74249687   Luigi Serra   Cross browser con...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  //---------------------------------------------------
  //  Sass Prefixer
  //  -------------------------------------------------
  //  TABLE OF CONTENTS
  //  (*) denotes a syntax-sugar helper
  //  -------------------------------------------------
  //
  //      animation($args)
  //          animation-delay($delay)
  //          animation-direction($direction)
  //          animation-duration($duration)
  //          animation-fill-mode($mode)
  //          animation-iteration-count($count)
  //          animation-name($name)
  //          animation-play-state($state)
  //          animation-timing-function($function)
  //      background-size($args)
  //          inner-shadow($args) *
  //      box-sizing($args)
  //          border-box() *
  //          content-box() *
  //      columns($args)
  //          column-count($count)
  //          column-gap($gap)
  //          column-rule($args)
  //          column-width($width)
  //      flexbox()
  //          flex($args)
  //          order($args)
  //          align($args)
  //          justify-content($args)
  //      gradient($default,$start,$stop) *
  //          linear-gradient-top($default,$color1,$stop1,$color2,$stop2,[$color3,$stop3,$color4,$stop4])*
  //          linear-gradient-left($default,$color1,$stop1,$color2,$stop2,[$color3,$stop3,$color4,$stop4])*
74249687   Luigi Serra   Cross browser con...
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  //      transform($args)
  //          transform-origin($args)
  //          transform-style($style)
  //          rotate($deg)
  //          scale($factor)
  //          translate($x,$y)
  //          translate3d($x,$y,$z)
  //          translateHardware($x,$y) *
  //      text-shadow($args)
  //      transition($args)
  //          transition-delay($delay)
  //          transition-duration($duration)
  //          transition-property($property)
  //          transition-timing-function($function)
  
  
  // Animation
  
c5169e0e   Renato De Donato   a new hope
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
  @mixin animation($args) {
      -webkit-animation: $args;
      -moz-animation: $args;
      -ms-animation: $args;
      -o-animation: $args;
      animation: $args;
  }
  @mixin animation-delay($delay) {
      -webkit-animation-delay: $delay;
      -moz-animation-delay: $delay;
      -ms-animation-delay: $delay;
      -o-animation-delay: $delay;
      animation-delay: $delay;
  }
  @mixin animation-direction($direction) {
      -webkit-animation-direction: $direction;
      -moz-animation-direction: $direction;
      -ms-animation-direction: $direction;
      -o-animation-direction: $direction;
  }
  @mixin animation-duration($duration) {
      -webkit-animation-duration: $duration;
      -moz-animation-duration: $duration;
      -ms-animation-duration: $duration;
      -o-animation-duration: $duration;
  }
  @mixin animation-fill-mode($mode) {
      -webkit-animation-fill-mode: $mode;
      -moz-animation-fill-mode: $mode;
      -ms-animation-fill-mode: $mode;
      -o-animation-fill-mode: $mode;
      animation-fill-mode: $mode;
  }
  @mixin animation-iteration-count($count) {
      -webkit-animation-iteration-count: $count;
      -moz-animation-iteration-count: $count;
      -ms-animation-iteration-count: $count;
      -o-animation-iteration-count: $count;
      animation-iteration-count: $count;
  }
  @mixin animation-name($name) {
      -webkit-animation-name: $name;
      -moz-animation-name: $name;
      -ms-animation-name: $name;
      -o-animation-name: $name;
      animation-name: $name;
  }
  @mixin animation-play-state($state) {
      -webkit-animation-play-state: $state;
      -moz-animation-play-state: $state;
      -ms-animation-play-state: $state;
      -o-animation-play-state: $state;
      animation-play-state: $state;
  }
  @mixin animation-timing-function($function) {
      -webkit-animation-timing-function: $function;
      -moz-animation-timing-function: $function;
      -ms-animation-timing-function: $function;
      -o-animation-timing-function: $function;
      animation-timing-function: $function;
  }
74249687   Luigi Serra   Cross browser con...
114
115
  
  // Keyframes
c5169e0e   Renato De Donato   a new hope
116
117
118
119
120
121
122
123
124
125
126
  @mixin keyframes($animation-name) {
    @-webkit-keyframes #{$animation-name} {
      @content;
    }
    @-moz-keyframes #{$animation-name} {
      @content;
    }
    @keyframes #{$animation-name} {
      @content;
    }
  }
74249687   Luigi Serra   Cross browser con...
127
128
129
  
  // Backface-visibility
  
c5169e0e   Renato De Donato   a new hope
130
131
132
133
134
135
  @mixin backface-visibility($args) {
      -webkit-backface-visibility: $args;
      -moz-backface-visibility: $args;
      -ms-backface-visibility: $args;
      backface-visibility: $args;
  }
74249687   Luigi Serra   Cross browser con...
136
137
138
139
  
  
  // Background Size
  
c5169e0e   Renato De Donato   a new hope
140
141
142
143
  @mixin background-size($args) {
      -webkit-background-size: $args;
      background-size: $args;
  }
74249687   Luigi Serra   Cross browser con...
144
145
146
  
  // Box Sizing
  
c5169e0e   Renato De Donato   a new hope
147
148
149
150
151
152
153
154
155
156
157
  @mixin box-sizing($args) {
      -webkit-box-sizing: $args;
      -moz-box-sizing: $args;
      box-sizing: $args;
  }
  @mixin border-box(){
      @include box-sizing(border-box);
  }
  @mixin content-box(){
      @include box-sizing(content-box);
  }
74249687   Luigi Serra   Cross browser con...
158
159
160
161
  
  
  // Columns
  
c5169e0e   Renato De Donato   a new hope
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
  @mixin columns($args) {
      -webkit-columns: $args;
      -moz-columns: $args;
      columns: $args;
  }
  @mixin column-count($count) {
      -webkit-column-count: $count;
      -moz-column-count: $count;
      column-count: $count;
  }
  @mixin column-gap($gap) {
      -webkit-column-gap: $gap;
      -moz-column-gap: $gap;
      column-gap: $gap;
  }
  @mixin column-width($width) {
      -webkit-column-width: $width;
      -moz-column-width: $width;
      column-width: $width;
  }
  @mixin column-rule($args) {
      -webkit-column-rule: $args;
      -moz-column-rule: $args;
      column-rule: $args;
  }
74249687   Luigi Serra   Cross browser con...
187
188
  
  // Filter
c5169e0e   Renato De Donato   a new hope
189
190
191
192
193
194
  @mixin filter($args) {
      -webkit-filter: $args;
      -moz-filter: $args;
      -o-filter: $args;
      -ms-filter: $args;
  }
74249687   Luigi Serra   Cross browser con...
195
196
  
  // Flexbox
c5169e0e   Renato De Donato   a new hope
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
  @mixin flexbox() {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
      @mixin flex($values) {
        -webkit-box-flex: $values;
        -moz-box-flex:  $values;
        -webkit-flex:  $values;
        -ms-flex:  $values;
        flex:  $values;
      }
      @mixin order($val) {
        -webkit-box-ordinal-group: $val;
        -moz-box-ordinal-group: $val;
        -ms-flex-order: $val;
        -webkit-order: $val;
        order: $val;
      }
      @mixin align($align) {
        -webkit-flex-align: $align;
        -ms-flex-align: $align;
        -webkit-align-items: $align;
        align-items: $align;
      }
      @mixin justify-content($val) {
        -webkit-justify-content: $val;
        justify-content: $val;
      }
74249687   Luigi Serra   Cross browser con...
228
229
  // Gradients
  
c5169e0e   Renato De Donato   a new hope
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
  @mixin gradient($default: #F5F5F5, $start: #EEE, $stop: #FFF) {
      @include linear-gradient-top($default,$start,0%,$stop,100%);
  }
  @mixin linear-gradient-top($default,$color1,$stop1,$color2,$stop2) {
      background-color: $default;
      background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2));
      background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2);
      background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2);
      background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2);
      background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2);
      background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2);
  }
  @mixin linear-gradient-top2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
      background-color: $default;
      background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
      background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
  }
  @mixin linear-gradient-top3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
      background-color: $default;
      background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
      background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
  }
  @mixin linear-gradient-left($default,$color1,$stop1,$color2,$stop2) {
      background-color: $default;
      background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2));
      background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2);
      background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2);
      background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2);
      background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2);
      background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2);
  }
  @mixin linear-gradient-left2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
      background-color: $default;
      background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
      background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
      background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
  }
  @mixin linear-gradient-left3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
      background-color: $default;
      background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
      background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
      background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
74249687   Luigi Serra   Cross browser con...
286
  }
a1a3bc73   Luigi Serra   graphs updates
287
  
74249687   Luigi Serra   Cross browser con...
288
289
  // Text Shadow
  
c5169e0e   Renato De Donato   a new hope
290
291
292
  @mixin text-shadow($args) {
      text-shadow: $args;
  }
74249687   Luigi Serra   Cross browser con...
293
294
295
296
  
  
  // Transforms
  
c5169e0e   Renato De Donato   a new hope
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
  @mixin transform($args) {
      -webkit-transform: $args;
      -moz-transform: $args;
      -ms-transform: $args;
      -o-transform: $args;
      transform: $args;
  }
  @mixin transform-origin($args) {
      -webkit-transform-origin: $args;
      -moz-transform-origin: $args;
      -ms-transform-origin: $args;
      -o-transform-origin: $args;
      transform-origin: $args;
  }
  @mixin transform-style($style) {
      -webkit-transform-style: $style;
      -moz-transform-style: $style;
      -ms-transform-style: $style;
      -o-transform-style: $style;
      transform-style: $style;
  }
  @mixin rotate($deg:45deg){
      @include transform(rotate($deg));
  }
  @mixin scale($factor:.5){
      @include transform(scale($factor));
  }
  @mixin translate($x,$y){
      @include transform(translate($x,$y));
  }
  @mixin translate3d($x,$y,$z) {
      @include transform(translate3d($x,$y,$z));
  }
  @mixin translateHardware($x,$y) {
      @include translate($x,$y);
      -webkit-transform: translate3d($x,$y,0);
      -moz-transform: translate3d($x,$y,0);
      -o-transform: translate3d($x,$y,0);
      -ms-transform: translate3d($x,$y,0);
      transform: translate3d($x,$y,0);
  }
74249687   Luigi Serra   Cross browser con...
338
339
340
341
  
  
  // Transitions
  
c5169e0e   Renato De Donato   a new hope
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
  @mixin transition($args:200ms) {
      -webkit-transition: $args;
      -moz-transition: $args;
      -o-transition: $args;
      -ms-transition: $args;
      transition: $args;
  }
  @mixin transition-delay($delay:0) {
      -webkit-transition-delay: $delay;
      -moz-transition-delay: $delay;
      -o-transition-delay: $delay;
      -ms-transition-delay: $delay;
      transition-delay: $delay;
  }
  @mixin transition-duration($duration:200ms) {
      -webkit-transition-duration: $duration;
      -moz-transition-duration: $duration;
      -o-transition-duration: $duration;
      -ms-transition-duration: $duration;
      transition-duration: $duration;
  }
  @mixin transition-property($property:all) {
      -webkit-transition-property: $property;
      -moz-transition-property: $property;
      -o-transition-property: $property;
      -ms-transition-property: $property;
      transition-property: $property;
  }
  @mixin transition-timing-function($function:ease) {
      -webkit-transition-timing-function: $function;
      -moz-transition-timing-function: $function;
      -o-transition-timing-function: $function;
      -ms-transition-timing-function: $function;
      transition-timing-function: $function;
  }