rapido-css 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/README.mkdn +21 -0
  2. data/lib/rapido-css.rb +3 -0
  3. data/stylesheets/_components.scss +24 -0
  4. data/stylesheets/_default-styles.scss +480 -0
  5. data/stylesheets/_functions.scss +50 -0
  6. data/stylesheets/_normalize.scss +513 -0
  7. data/stylesheets/_rapido.scss +12 -0
  8. data/stylesheets/_settings.scss +5 -0
  9. data/stylesheets/_susy.scss +16 -0
  10. data/stylesheets/_utilities.scss +8 -0
  11. data/stylesheets/components/_alerts.scss +24 -0
  12. data/stylesheets/components/_breadcrumbs.scss +15 -0
  13. data/stylesheets/components/_button-groups.scss +65 -0
  14. data/stylesheets/components/_buttons.scss +121 -0
  15. data/stylesheets/components/_captions.scss +54 -0
  16. data/stylesheets/components/_close.scss +27 -0
  17. data/stylesheets/components/_dropdowns.scss +190 -0
  18. data/stylesheets/components/_forms.scss +579 -0
  19. data/stylesheets/components/_images.scss +0 -0
  20. data/stylesheets/components/_modals.scss +271 -0
  21. data/stylesheets/components/_navs.scss +102 -0
  22. data/stylesheets/components/_pager.scss +56 -0
  23. data/stylesheets/components/_pagination.scss +90 -0
  24. data/stylesheets/components/_pills.scss +91 -0
  25. data/stylesheets/components/_responsive-navs.scss +166 -0
  26. data/stylesheets/components/_sliders.scss +86 -0
  27. data/stylesheets/components/_tables.scss +109 -0
  28. data/stylesheets/components/_tabs.scss +55 -0
  29. data/stylesheets/components/_type.scss +266 -0
  30. data/stylesheets/settings/_base.scss +32 -0
  31. data/stylesheets/settings/_colors.scss +16 -0
  32. data/stylesheets/settings/_components.scss +45 -0
  33. data/stylesheets/settings/_dimensions.scss +103 -0
  34. data/stylesheets/settings/_effects.scss +15 -0
  35. data/stylesheets/susy/_susy_background.scss +18 -0
  36. data/stylesheets/susy/_susy_functions.scss +376 -0
  37. data/stylesheets/susy/_susy_grid.scss +286 -0
  38. data/stylesheets/susy/_susy_isolation.scss +50 -0
  39. data/stylesheets/susy/_susy_margin.scss +93 -0
  40. data/stylesheets/susy/_susy_media.scss +112 -0
  41. data/stylesheets/susy/_susy_padding.scss +92 -0
  42. data/stylesheets/susy/_susy_settings.scss +56 -0
  43. data/stylesheets/susy/_susy_support.scss +198 -0
  44. data/stylesheets/susy/_susy_units.scss +159 -0
  45. data/stylesheets/utilities/_animations.scss +672 -0
  46. data/stylesheets/utilities/_debug.scss +41 -0
  47. data/stylesheets/utilities/_helper-classes.scss +32 -0
  48. data/stylesheets/utilities/_icon-fonts.scss +111 -0
  49. data/stylesheets/utilities/_media-queries.scss +45 -0
  50. data/stylesheets/utilities/_mixins.scss +372 -0
  51. data/stylesheets/utilities/_retina-sprites.scss +70 -0
  52. data/stylesheets/utilities/_sprites.scss +26 -0
  53. data/templates/project/manifest.rb +2 -0
  54. data/templates/project/screen.scss +2 -0
  55. metadata +116 -0
@@ -0,0 +1,672 @@
1
+
2
+ // FALSE per tutte le animazione
3
+ // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
4
+ $fadeIn: false !default;
5
+ $fadeOut: false !default;
6
+ $fadeInUp: false !default;
7
+ $fadeOutUp: false !default;
8
+ $fadeInDown: false !default;
9
+ $fadeOutDown: false !default;
10
+ $fadeInRight: false !default;
11
+ $fadeOutLeft: false !default;
12
+ $fadeInLeft: false !default;
13
+ $fadeOutRight: false !default;
14
+ $fadeInUpBig: false !default;
15
+ $fadeOutUpBig: false !default;
16
+ $fadeInDownBig: false !default;
17
+ $fadeOutDownBig: false !default;
18
+ $fadeInRightBig: false !default;
19
+ $fadeOutLeftBig: false !default;
20
+ $fadeInLeftBig: false !default;
21
+ $fadeOutRightBig: false !default;
22
+ $bounceIn: false !default;
23
+ $bounceInDown: false !default;
24
+ $bounceInUp: false !default;
25
+ $bounceInRight: false !default;
26
+ $bounceInLeft: false !default;
27
+ $bounceOut: false !default;
28
+ $bounceOutUp: false !default;
29
+ $bounceOutDown: false !default;
30
+ $bounceOutLeft: false !default;
31
+ $bounceOutRight: false !default;
32
+ $flash: false !default;
33
+ $bounce: false !default;
34
+ $shake: false !default;
35
+ $rotateInDownLeft: false !default;
36
+ $rotateInUpLeft: false !default;
37
+ $rotateInUpRight: false !default;
38
+ $rotateInDownRight: false !default;
39
+ $rotateOutDownLeft: false !default;
40
+ $rotateOutUpLeft: false !default;
41
+ $rotateOutDownRight: false !default;
42
+ $rotateOutUpRight: false !default;
43
+ $rotateIn: false !default;
44
+ $rotateOut: false !default;
45
+ $tada: false !default;
46
+
47
+
48
+ // ATTIVA ANIMAZIONI
49
+ // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
50
+ @each $animation in $animations {
51
+ @if $animation == 'fadeIn' {$fadeIn: true;}
52
+ @if $animation == 'fadeOut' {$fadeOut: true;}
53
+ @if $animation == 'fadeInUp' {$fadeInUp: true;}
54
+ @if $animation == 'fadeOutUp' {$fadeOutUp: true;}
55
+ @if $animation == 'fadeInDown' {$fadeInDown: true;}
56
+ @if $animation == 'fadeOutDown' {$fadeOutDown: true;}
57
+ @if $animation == 'fadeInRight' {$fadeInRight: true;}
58
+ @if $animation == 'fadeOutLeft' {$fadeOutLeft: true;}
59
+ @if $animation == 'fadeInLeft' {$fadeInLeft: true;}
60
+ @if $animation == 'fadeOutRight' {$fadeOutRight: true;}
61
+ @if $animation == 'fadeInUpBig' {$fadeInUpBig: true;}
62
+ @if $animation == 'fadeOutUpBig' {$fadeOutUpBig: true;}
63
+ @if $animation == 'fadeInDownBig' {$fadeInDownBig: true;}
64
+ @if $animation == 'fadeOutDownBig' {$fadeOutDownBig: true;}
65
+ @if $animation == 'fadeInRightBig' {$fadeInRightBig: true;}
66
+ @if $animation == 'fadeOutLeftBig' {$fadeOutLeftBig: true;}
67
+ @if $animation == 'fadeInLeftBig' {$fadeInLeftBig: true;}
68
+ @if $animation == 'fadeOutRightBig' {$fadeOutRightBig: true;}
69
+ @if $animation == 'bounceIn' {$bounceIn: true;}
70
+ @if $animation == 'bounceInDown' {$bounceInDown: true;}
71
+ @if $animation == 'bounceInUp' {$bounceInUp: true;}
72
+ @if $animation == 'bounceInRight' {$bounceInRight: true;}
73
+ @if $animation == 'bounceInLeft' {$bounceInLeft: true;}
74
+ @if $animation == 'bounceOut' {$bounceOut: true;}
75
+ @if $animation == 'bounceOutUp' {$bounceOutUp: true;}
76
+ @if $animation == 'bounceOutDown' {$bounceOutDown: true;}
77
+ @if $animation == 'bounceOutLeft' {$bounceOutLeft: true;}
78
+ @if $animation == 'bounceOutRight' {$bounceOutRight: true;}
79
+ @if $animation == 'flash' {$flash: true;}
80
+ @if $animation == 'bounce' {$bounce: true;}
81
+ @if $animation == 'shake' {$shake: true;}
82
+ @if $animation == 'rotateInDownLeft' {$rotateInDownLeft: true;}
83
+ @if $animation == 'rotateInUpLeft' {$rotateInUpLeft: true;}
84
+ @if $animation == 'rotateInUpRight' {$rotateInUpRight: true;}
85
+ @if $animation == 'rotateInDownRight' {$rotateInDownRight: true;}
86
+ @if $animation == 'rotateOutDownLeft' {$rotateOutDownLeft: true;}
87
+ @if $animation == 'rotateOutUpLeft' {$rotateOutUpLeft: true;}
88
+ @if $animation == 'rotateOutDownRight' {$rotateOutDownRight: true;}
89
+ @if $animation == 'rotateOutUpRight' {$rotateOutUpRight: true;}
90
+ @if $animation == 'rotateIn' {$rotateIn: true;}
91
+ @if $animation == 'rotateOut' {$rotateOut: true;}
92
+ @if $animation == 'tada' {$tada: true;}
93
+ }
94
+
95
+ // Animate Mixin Plugin;
96
+ @mixin animate($name, $duration: $animations-duration, $delay: $animations-delay, $function: $animations-function, $mode: $animations-mode) {
97
+ @include experimental(animation, $name $duration $delay $function $mode);
98
+ }
99
+
100
+ // Classi sileziose per le animazioni da usare con @extend;
101
+ @if $animations-classes {
102
+ @each $animation in $animations {
103
+ %#{$animation} {
104
+ @include animate($animation);
105
+ }
106
+ }
107
+ }
108
+
109
+
110
+ // Keyframes
111
+ @if $fadeIn == true {
112
+ @include keyframes(fadeIn) {
113
+ 0% { opacity: 0; }
114
+ 100% { opacity: 1; }
115
+ }
116
+ }
117
+ @if $fadeOut == true {
118
+ @include keyframes(fadeOut) {
119
+ 0% { opacity: 1; }
120
+ 100% { opacity: 0; }
121
+ }
122
+ }
123
+ @if $fadeInUp == true {
124
+ @include keyframes(fadeInUp) {
125
+ 0% {
126
+ @include transform(translateY(20px));
127
+ opacity: 0;
128
+ }
129
+ 100% {
130
+ @include transform(translateY(0));
131
+ opacity: 1;
132
+ }
133
+ }
134
+ }
135
+ @if $fadeOutUp == true {
136
+ @include keyframes(fadeOutUp) {
137
+ 0% {
138
+ @include transform(translateY(0));
139
+ opacity: 1;
140
+ }
141
+ 100% {
142
+ @include transform(translateY(-20px));
143
+ opacity: 0;
144
+ }
145
+ }
146
+ }
147
+ @if $fadeInDown == true {
148
+ @include keyframes(fadeInDown) {
149
+ 0% {
150
+ @include transform(translateY(-20px));
151
+ opacity: 0;
152
+ }
153
+ 100% {
154
+ @include transform(translateY(0));
155
+ opacity: 1;
156
+ }
157
+ }
158
+ }
159
+ @if $fadeOutDown == true {
160
+ @include keyframes(fadeOutDown) {
161
+ 0% {
162
+ @include transform(translateY(0));
163
+ opacity: 1;
164
+ }
165
+ 100% {
166
+ @include transform(translateY(20px));
167
+ opacity: 0;
168
+ }
169
+ }
170
+ }
171
+ @if $fadeInRight == true {
172
+ @include keyframes(fadeInRight) {
173
+ 0% {
174
+ @include transform(translateX(20px));
175
+ opacity: 0;
176
+ }
177
+ 100% {
178
+ @include transform(translateX(0));
179
+ opacity: 1;
180
+ }
181
+ }
182
+ }
183
+ @if $fadeOutLeft == true {
184
+ @include keyframes(fadeOutLeft) {
185
+ 0% {
186
+ @include transform(translateX(0));
187
+ opacity: 1;
188
+ }
189
+ 100% {
190
+ @include transform(translateX(-20px));
191
+ opacity: 0;
192
+ }
193
+ }
194
+ }
195
+ @if $fadeInLeft == true {
196
+ @include keyframes(fadeInLeft) {
197
+ 0% {
198
+ @include transform(translateX(-20px));
199
+ opacity: 0;
200
+ }
201
+ 100% {
202
+ @include transform(translateX(0));
203
+ opacity: 1;
204
+ }
205
+ }
206
+ }
207
+ @if $fadeOutRight == true {
208
+ @include keyframes(fadeOutRight) {
209
+ 0% {
210
+ @include transform(translateX(0));
211
+ opacity: 1;
212
+ }
213
+ 100% {
214
+ @include transform(translateX(20px));
215
+ opacity: 0;
216
+ }
217
+ }
218
+ }
219
+ @if $fadeInUpBig == true {
220
+ @include keyframes(fadeInUpBig) {
221
+ 0% {
222
+ @include transform(translateY(2000px));
223
+ opacity: 0;
224
+ }
225
+ 100% {
226
+ @include transform(translateY(0));
227
+ opacity: 1;
228
+ }
229
+ }
230
+ }
231
+ @if $fadeOutUpBig == true {
232
+ @include keyframes(fadeOutUpBig) {
233
+ 0% {
234
+ @include transform(translateY(0));
235
+ opacity: 1;
236
+ }
237
+ 100% {
238
+ @include transform(translateY(-2000px));
239
+ opacity: 0;
240
+ }
241
+ }
242
+ }
243
+ @if $fadeInDownBig == true {
244
+ @include keyframes(fadeInDownBig) {
245
+ 0% {
246
+ @include transform(translateY(-2000px));
247
+ opacity: 0;
248
+ }
249
+ 100% {
250
+ @include transform(translateY(0));
251
+ opacity: 1;
252
+ }
253
+ }
254
+ }
255
+ @if $fadeOutDownBig == true {
256
+ @include keyframes(fadeOutDownBig) {
257
+ 0% {
258
+ @include transform(translateY(0));
259
+ opacity: 1;
260
+ }
261
+ 100% {
262
+ @include transform(translateY(2000px));
263
+ opacity: 0;
264
+ }
265
+ }
266
+ }
267
+ @if $fadeInRightBig == true {
268
+ @include keyframes(fadeInRightBig) {
269
+ 0% {
270
+ @include transform(translateX(2000px));
271
+ opacity: 0;
272
+ }
273
+ 100% {
274
+ @include transform(translateX(0));
275
+ opacity: 1;
276
+ }
277
+ }
278
+ }
279
+ @if $fadeOutLeftBig == true {
280
+ @include keyframes(fadeOutLeftBig) {
281
+ 0% {
282
+ @include transform(translateX(0));
283
+ opacity: 1;
284
+ }
285
+ 100% {
286
+ @include transform(translateX(-2000px));
287
+ opacity: 0;
288
+ }
289
+ }
290
+ }
291
+ @if $fadeInLeftBig == true {
292
+ @include keyframes(fadeInLeftBig) {
293
+ 0% {
294
+ @include transform(translateX(-2000px));
295
+ opacity: 0;
296
+ }
297
+ 100% {
298
+ @include transform(translateX(0));
299
+ opacity: 1;
300
+ }
301
+ }
302
+ }
303
+ @if $fadeOutRightBig == true {
304
+ @include keyframes(fadeOutRightBig) {
305
+ 0% {
306
+ @include transform(translateX(0));
307
+ opacity: 1;
308
+ }
309
+ 100% {
310
+ @include transform(translateX(2000px));
311
+ opacity: 0;
312
+ }
313
+ }
314
+ }
315
+ @if $bounceIn == true {
316
+ @include keyframes(bounceIn) {
317
+ 0% {
318
+ @include transform(scale(0.3));
319
+ opacity: 0;
320
+ }
321
+ 50% {
322
+ @include transform(scale(1.05));
323
+ opacity: 1;
324
+ }
325
+ 70% {
326
+ @include transform(scale(0.9));
327
+ }
328
+ 100% {
329
+ @include transform(scale(1));
330
+ }
331
+ }
332
+ }
333
+ @if $bounceInDown == true {
334
+ @include keyframes(bounceInDown) {
335
+ 0% {
336
+ @include transform(translateY(-2000px));
337
+ opacity: 0;
338
+ }
339
+ 60% {
340
+ @include transform(translateY(30px));
341
+ opacity: 1;
342
+ }
343
+ 80% {
344
+ @include transform(translateY(-10px));
345
+ }
346
+ 100% {
347
+ @include transform(translateY(0));
348
+ }
349
+ }
350
+ }
351
+ @if $bounceInUp == true {
352
+ @include keyframes(bounceInUp) {
353
+ 0% {
354
+ @include transform(translateY(2000px));
355
+ opacity: 0;
356
+ }
357
+ 60% {
358
+ @include transform(translateY(-30px));
359
+ opacity: 1;
360
+ }
361
+ 80% {
362
+ @include transform(translateY(10px));
363
+ }
364
+ 100% {
365
+ @include transform(translateY(0));
366
+ }
367
+ }
368
+ }
369
+ @if $bounceInRight == true {
370
+ @include keyframes(bounceInRight) {
371
+ 0% {
372
+ @include transform(translateX(2000px));
373
+ opacity: 0;
374
+ }
375
+ 60% {
376
+ @include transform(translateX(-30px));
377
+ opacity: 1;
378
+ }
379
+ 80% {
380
+ @include transform(translateX(10px));
381
+ }
382
+ 100% {
383
+ @include transform(translateX(0));
384
+ }
385
+ }
386
+ }
387
+ @if $bounceInLeft == true {
388
+ @include keyframes(bounceInLeft) {
389
+ 0% {
390
+ @include transform(translateX(-2000px));
391
+ opacity: 0;
392
+ }
393
+ 60% {
394
+ @include transform(translateX(30px));
395
+ opacity: 1;
396
+ }
397
+ 80% {
398
+ @include transform(translateX(-10px));
399
+ }
400
+ 100% {
401
+ @include transform(translateX(0));
402
+ }
403
+ }
404
+ }
405
+ @if $bounceOut == true {
406
+ @include keyframes(bounceOut) {
407
+ 0% {
408
+ @include transform(scale(1));
409
+ }
410
+ 25% {
411
+ @include transform(scale(0.95));
412
+ }
413
+ 50% {
414
+ @include transform(scale(1.1));
415
+ opacity: 1;
416
+ }
417
+ 100% {
418
+ @include transform(scale(0.3));
419
+ opacity: 0;
420
+ }
421
+ }
422
+ }
423
+ @if $bounceOutUp == true {
424
+ @include keyframes(bounceOutUp) {
425
+ 0% {
426
+ @include transform(translateY(0));
427
+ }
428
+ 20% {
429
+ @include transform(translateY(20px));
430
+ opacity: 1;
431
+ }
432
+ 100% {
433
+ @include transform(translateY(-2000px));
434
+ opacity: 0;
435
+ }
436
+ }
437
+ }
438
+ @if $bounceOutDown == true {
439
+ @include keyframes(bounceOutDown) {
440
+ 0% {
441
+ @include transform(translateY(0));
442
+ }
443
+ 20% {
444
+ @include transform(translateY(-20px));
445
+ opacity: 1;
446
+ }
447
+ 100% {
448
+ @include transform(translateY(2000px));
449
+ opacity: 0;
450
+ }
451
+ }
452
+ }
453
+ @if $bounceOutLeft == true {
454
+ @include keyframes(bounceOutLeft) {
455
+ 0% {
456
+ @include transform(translateX(0));
457
+ }
458
+ 20% {
459
+ @include transform(translateX(20px));
460
+ opacity: 1;
461
+ }
462
+ 100% {
463
+ @include transform(translateX(-2000px));
464
+ opacity: 0;
465
+ }
466
+ }
467
+ }
468
+ @if $bounceOutRight == true {
469
+ @include keyframes(bounceOutRight) {
470
+ 0% {
471
+ @include transform(translateX(0));
472
+ }
473
+ 20% {
474
+ @include transform(translateX(-20px));
475
+ opacity: 1;
476
+ }
477
+ 100% {
478
+ @include transform(translateX(2000px));
479
+ opacity: 0;
480
+ }
481
+ }
482
+ }
483
+ @if $flash == true {
484
+ @include keyframes(flash) {
485
+ 0% { opacity: 1; }
486
+ 25% { opacity: 0; }
487
+ 50% { opacity: 1; }
488
+ 75% { opacity: 0; }
489
+ 100% { opacity: 1; }
490
+ }
491
+ }
492
+ @if $bounce == true {
493
+ @include keyframes(bounce) {
494
+ 0% { @include transform(translateY(0)); }
495
+ 20% { @include transform(translateY(0)); }
496
+ 40% { @include transform(translateY(-30px)); }
497
+ 50% { @include transform(translateY(0)); }
498
+ 60% { @include transform(translateY(-15px)); }
499
+ 80% { @include transform(translateY(0)); }
500
+ 100% { @include transform(translateY(0)); }
501
+ }
502
+ }
503
+ @if $shake == true {
504
+ @include keyframes(shake) {
505
+ 0% { @include transform(translateX(0)); }
506
+ 10% { @include transform(translateX(-10px)); }
507
+ 20% { @include transform(translateX(10px)); }
508
+ 30% { @include transform(translateX(-10px)); }
509
+ 40% { @include transform(translateX(10px)); }
510
+ 50% { @include transform(translateX(-10px)); }
511
+ 60% { @include transform(translateX(10px)); }
512
+ 70% { @include transform(translateX(-10px)); }
513
+ 80% { @include transform(translateX(10px)); }
514
+ 90% { @include transform(translateX(-10px)); }
515
+ 100% { @include transform(translateX(0)); }
516
+ }
517
+ }
518
+ @if $rotateInDownLeft == true {
519
+ @include keyframes(rotateInDownLeft) {
520
+ 0% {
521
+ @include transform-origin(left, bottom);
522
+ @include transform(rotate(-90deg));
523
+ opacity: 0;
524
+ }
525
+ 100% {
526
+ @include transform-origin(left, bottom);
527
+ @include transform(rotate(0));
528
+ opacity: 1;
529
+ }
530
+ }
531
+ }
532
+ @if $rotateInUpLeft == true {
533
+ @include keyframes(rotateInUpLeft) {
534
+ 0% {
535
+ @include transform-origin(left, bottom);
536
+ @include transform(rotate(90deg));
537
+ opacity: 0;
538
+ }
539
+ 100% {
540
+ @include transform-origin(left, bottom);
541
+ @include transform(rotate(0));
542
+ opacity: 1;
543
+ }
544
+ }
545
+ }
546
+ @if $rotateInUpRight == true {
547
+ @include keyframes(rotateInUpRight) {
548
+ 0% {
549
+ @include transform-origin(right, bottom);
550
+ @include transform(rotate(-90deg));
551
+ opacity: 0;
552
+ }
553
+ 100% {
554
+ @include transform-origin(right, bottom);
555
+ @include transform(rotate(0));
556
+ opacity: 1;
557
+ }
558
+ }
559
+ }
560
+ @if $rotateInDownRight == true {
561
+ @include keyframes(rotateInDownRight) {
562
+ 0% {
563
+ @include transform-origin(right, bottom);
564
+ @include transform(rotate(90deg));
565
+ opacity: 0;
566
+ }
567
+ 100% {
568
+ @include transform-origin(right, bottom);
569
+ @include transform(rotate(0));
570
+ opacity: 1;
571
+ }
572
+ }
573
+ }
574
+ @if $rotateOutDownLeft == true {
575
+ @include keyframes(rotateOutDownLeft) {
576
+ 0% {
577
+ @include transform-origin(left, bottom);
578
+ @include transform(rotate(0));
579
+ opacity: 1;
580
+ }
581
+ 100% {
582
+ @include transform-origin(left, bottom);
583
+ @include transform(rotate(90deg));
584
+ opacity: 0;
585
+ }
586
+ }
587
+ }
588
+ @if $rotateOutUpLeft == true {
589
+ @include keyframes(rotateOutUpLeft) {
590
+ 0% {
591
+ @include transform-origin(left, bottom);
592
+ @include transform(rotate(0));
593
+ opacity: 1;
594
+ }
595
+ 100% {
596
+ @include transform-origin(left, bottom);
597
+ @include transform(rotate(-90deg));
598
+ opacity: 0;
599
+ }
600
+ }
601
+ }
602
+ @if $rotateOutDownRight == true {
603
+ @include keyframes(rotateOutDownRight) {
604
+ 0% {
605
+ @include transform-origin(right, bottom);
606
+ @include transform(rotate(0));
607
+ opacity: 1;
608
+ }
609
+ 100% {
610
+ @include transform-origin(right, bottom);
611
+ @include transform(rotate(-90deg));
612
+ opacity: 0;
613
+ }
614
+ }
615
+ }
616
+ @if $rotateOutUpRight == true {
617
+ @include keyframes(rotateOutUpRight) {
618
+ 0% {
619
+ @include transform-origin(right, bottom);
620
+ @include transform(rotate(0));
621
+ opacity: 1;
622
+ }
623
+ 100% {
624
+ @include transform-origin(right, bottom);
625
+ @include transform(rotate(90deg));
626
+ opacity: 0;
627
+ }
628
+ }
629
+ }
630
+ @if $rotateIn == true {
631
+ @include keyframes(rotateIn) {
632
+ 0% {
633
+ @include transform-origin(center, center);
634
+ @include transform(rotate(-200deg));
635
+ opacity: 0;
636
+ }
637
+ 100% {
638
+ @include transform-origin(center, center);
639
+ @include transform(rotate(0));
640
+ opacity: 1;
641
+ }
642
+ }
643
+ }
644
+ @if $rotateOut == true {
645
+ @include keyframes(rotateOut) {
646
+ 0% {
647
+ @include transform-origin(center, center);
648
+ @include transform(rotate(0));
649
+ opacity: 1;
650
+ }
651
+ 100% {
652
+ @include transform-origin(center, center);
653
+ @include transform(rotate(200deg));
654
+ opacity: 0;
655
+ }
656
+ }
657
+ }
658
+ @if $tada == true {
659
+ @include keyframes(tada) {
660
+ 0% { @include transform(scale(1)); }
661
+ 10% { @include transform(scale(0.9) rotate(-3deg)); }
662
+ 20% { @include transform(scale(0.9) rotate(-3deg)); }
663
+ 30% { @include transform(scale(1.1) rotate(3deg)); }
664
+ 40% { @include transform(scale(1.1) rotate(-3deg)); }
665
+ 50% { @include transform(scale(1.1) rotate(3deg)); }
666
+ 60% { @include transform(scale(1.1) rotate(-3deg)); }
667
+ 70% { @include transform(scale(1.1) rotate(3deg)); }
668
+ 80% { @include transform(scale(1.1) rotate(-3deg)); }
669
+ 90% { @include transform(scale(1.1) rotate(3deg)); }
670
+ 100% { @include transform(scale(1) rotate(0)); }
671
+ }
672
+ }
@@ -0,0 +1,41 @@
1
+ @if $debug-mode {
2
+
3
+ :empty { outline:5px solid yellow;}
4
+
5
+ img {outline: 5px solid red;}
6
+ img[alt] {outline: none;}
7
+ img[alt=""] {outline: 5px solid yellow;}
8
+
9
+ a {outline: 5px solid yellow;}
10
+
11
+ a[title] {outline: none;}
12
+ a[href="#"], a[href*="javascript"] {outline: 5px solid yellow;}
13
+
14
+
15
+ a[target] {outline: 5px solid yellow;}
16
+
17
+ ul, ol {
18
+ > *:not(li){
19
+ outline:5px solid red;
20
+ }
21
+ }
22
+
23
+ th {outline: 5px solid yellow;}
24
+ th[scope] {outline: none;}
25
+ table > tr {outline: 5px solid yellow;}
26
+ tbody + tfoot {outline: 5px solid yellow;}
27
+
28
+
29
+ form {outline: 5px solid red;}
30
+ form[action] {outline: none;}
31
+
32
+ textarea, input {outline: 5px solid red;}
33
+ input[type] {outline: none;}
34
+ textarea[rows][cols] {outline: none;}
35
+ input[type=submit] {outline: 5px solid red;}
36
+ input[type=submit][value] {outline: none;}
37
+
38
+ [style] {outline: 5px solid yellow;}
39
+ [id] {outline: 5px solid yellow;}
40
+
41
+ }