ellipsis-compass 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +15 -0
  2. data/lib/ellipsis-compass.rb +4 -0
  3. data/stylesheets/animation/_animate.scss +1206 -0
  4. data/stylesheets/animation/_animation.scss +121 -0
  5. data/stylesheets/animation/_animations.scss +771 -0
  6. data/stylesheets/animation/_transit.scss +425 -0
  7. data/stylesheets/animation/_transitions.scss +320 -0
  8. data/stylesheets/base/_breakpoints.scss +64 -0
  9. data/stylesheets/base/_document.scss +219 -0
  10. data/stylesheets/base/_global.scss +88 -0
  11. data/stylesheets/base/_normalize.scss +406 -0
  12. data/stylesheets/component/_component.scss +939 -0
  13. data/stylesheets/component/_ui.scss +955 -0
  14. data/stylesheets/flexbox/_flexbox.scss +305 -0
  15. data/stylesheets/font/_icons.scss +1492 -0
  16. data/stylesheets/font/_ubuntu.scss +38 -0
  17. data/stylesheets/form/_form.scss +836 -0
  18. data/stylesheets/grid/_grid.scss +312 -0
  19. data/stylesheets/helpers/_all.scss +8 -0
  20. data/stylesheets/helpers/_component.scss +177 -0
  21. data/stylesheets/helpers/_convenience.scss +277 -0
  22. data/stylesheets/helpers/_functions.scss +427 -0
  23. data/stylesheets/helpers/_grid.scss +39 -0
  24. data/stylesheets/helpers/_hardware-acceleration.scss +22 -0
  25. data/stylesheets/helpers/_mixins.scss +207 -0
  26. data/stylesheets/helpers/_touch.scss +107 -0
  27. data/stylesheets/helpers/_visibility.scss +138 -0
  28. data/stylesheets/image/_images.scss +19 -0
  29. data/stylesheets/imports/elements/_autosearch.scss +11 -0
  30. data/stylesheets/imports/elements/_badge.scss +23 -0
  31. data/stylesheets/imports/elements/_barchart.scss +254 -0
  32. data/stylesheets/imports/elements/_form.scss +8 -0
  33. data/stylesheets/imports/elements/_loginform.scss +6 -0
  34. data/stylesheets/imports/elements/_modellist.scss +14 -0
  35. data/stylesheets/imports/elements/_pluralize.scss +8 -0
  36. data/stylesheets/imports/elements/_signupform.scss +6 -0
  37. data/stylesheets/imports/elements/_slidenotification.scss +65 -0
  38. data/stylesheets/imports/elements/_stickyreveal.scss +44 -0
  39. data/stylesheets/imports/elements/_template.scss +7 -0
  40. data/stylesheets/imports/elements/_veneer.scss +36 -0
  41. data/stylesheets/shared/_shared.scss +282 -0
  42. data/stylesheets/touch/ui/_drawer.scss +41 -0
  43. data/stylesheets/touch/ui/_dropdown.scss +58 -0
  44. data/stylesheets/touch/ui/_menu.scss +131 -0
  45. data/stylesheets/touch/ui/_navbar.scss +44 -0
  46. data/stylesheets/touch/ui/_toggle.scss +127 -0
  47. data/stylesheets/touch/ui/_topbar.scss +48 -0
  48. data/stylesheets/typography/_typography.scss +746 -0
  49. data/stylesheets/ui/_autocomplete.scss +117 -0
  50. data/stylesheets/ui/_badge.scss +73 -0
  51. data/stylesheets/ui/_box.scss +78 -0
  52. data/stylesheets/ui/_breadcrumb.scss +64 -0
  53. data/stylesheets/ui/_button.scss +395 -0
  54. data/stylesheets/ui/_carousel.scss +284 -0
  55. data/stylesheets/ui/_collapsible.scss +61 -0
  56. data/stylesheets/ui/_container.scss +297 -0
  57. data/stylesheets/ui/_datepicker.scss +218 -0
  58. data/stylesheets/ui/_drawer.scss +96 -0
  59. data/stylesheets/ui/_dropdown.scss +394 -0
  60. data/stylesheets/ui/_file.scss +147 -0
  61. data/stylesheets/ui/_gallery.scss +219 -0
  62. data/stylesheets/ui/_label.scss +167 -0
  63. data/stylesheets/ui/_loading.scss +70 -0
  64. data/stylesheets/ui/_mediaobject.scss +108 -0
  65. data/stylesheets/ui/_menu.scss +287 -0
  66. data/stylesheets/ui/_menutab.scss +175 -0
  67. data/stylesheets/ui/_modal.scss +47 -0
  68. data/stylesheets/ui/_navbar.scss +315 -0
  69. data/stylesheets/ui/_notification.scss +154 -0
  70. data/stylesheets/ui/_pagination.scss +137 -0
  71. data/stylesheets/ui/_parallax.scss +233 -0
  72. data/stylesheets/ui/_popover.scss +3 -0
  73. data/stylesheets/ui/_rating.scss +106 -0
  74. data/stylesheets/ui/_sidebar.scss +110 -0
  75. data/stylesheets/ui/_slidingpanel.scss +57 -0
  76. data/stylesheets/ui/_social.scss +213 -0
  77. data/stylesheets/ui/_sticky.scss +9 -0
  78. data/stylesheets/ui/_table.scss +423 -0
  79. data/stylesheets/ui/_tabs.scss +242 -0
  80. data/stylesheets/ui/_toggle.scss +49 -0
  81. data/stylesheets/ui/_tooltip.scss +57 -0
  82. data/stylesheets/ui/_topbar.scss +210 -0
  83. data/stylesheets/ui/_tree.scss +3 -0
  84. data/stylesheets/ui/_window.scss +205 -0
  85. metadata +140 -0
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTc0NjRhZDg2NDk0Y2U1MzI4ODA4YmI2ODZiOGFmZThmZjVlYjczZg==
5
+ data.tar.gz: !binary |-
6
+ OTU1MjI2YjI2OGYwYWJjNTEyM2NiOTlkMTQ0ZDVjNWEyNGUzODM4MA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ OTVhYzUwYTBjODU0YWRiOGRiYjE1ZTI3OTYyODY4NGU1M2E3NzRkNGQ5ZDAy
10
+ ZjhlYWU0ODBmOWFhMDU4Y2M4MTA5MTUyYzI4NTZkZGYyMmM2YmI2NTQzMGI1
11
+ NGUyYTI2YmNkNDE2NjRhZmZiNzEwZWE2MWFmMWU3NjlkOWM4YTI=
12
+ data.tar.gz: !binary |-
13
+ Mjg1NzUxNTQ0YzgxMDg2OTY3ODkxYWE4YjExMTkzNDM1MTM3MWUzZTY3Zjk4
14
+ NGU0MmQ5MmFiMmY1ZmRmOGI4MzM5NWZjNGQyMmVjZGIwODQ4OGM1MGUzNGU3
15
+ NTFkYzY3MTAyNzA5Y2QyN2FhNGFhYWQzMTI1OGJjODVhNzBiYWE=
@@ -0,0 +1,4 @@
1
+ require 'compass'
2
+ Compass::Frameworks.register('ellipsis-compass',
3
+ :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'stylesheets')
4
+
@@ -0,0 +1,1206 @@
1
+ //@import "compass/css3/animation";
2
+ @import "compass/css3/transform";
3
+ @import "compass/css3/opacity";
4
+
5
+ //slide---------------------------------------------------------------------------------------------------------------
6
+ @mixin animate-slideIn() {
7
+ $name: slideIn;
8
+ @include keyframes($name) {
9
+ 0% {
10
+ opacity: 0;
11
+ @include translateY(-200px);
12
+ }
13
+ 20% {
14
+ opacity: 0;
15
+ @include translateY(-200px);
16
+ }
17
+ 100% {
18
+ @include translateY(0);
19
+ opacity: 1;
20
+ }
21
+ }
22
+ }
23
+ @mixin animate-slideOut() {
24
+ $name: slideOut;
25
+ @include keyframes($name) {
26
+ 0% {
27
+ opacity: 1;
28
+ @include translateY(0);
29
+ }
30
+ 5% {
31
+ opacity: 1;
32
+ @include translateY(1px);
33
+ }
34
+ 20% {
35
+ opacity: 1;
36
+ @include translateY(1px);
37
+ }
38
+ 80%{
39
+ opacity: 1;
40
+ }
41
+ 100% {
42
+ @include translateY(-100px);
43
+ opacity: 0;
44
+ }
45
+ }
46
+ }
47
+
48
+
49
+ @mixin animate-slideInDown() {
50
+ $name: slideInDown;
51
+ @include keyframes($name) {
52
+ 0% {
53
+ opacity: 0;
54
+ @include translateY(-2000px);
55
+ }
56
+ 20% {
57
+ opacity: 0;
58
+ @include translateY(-2000px);
59
+ }
60
+ 100% {
61
+ @include translateY(0);
62
+ opacity: 1;
63
+ }
64
+ }
65
+ }
66
+
67
+ @mixin animate-slideInUp() {
68
+ $name: slideInUp;
69
+ @include keyframes($name) {
70
+ 0% {
71
+ opacity: 0;
72
+ @include translateY(2000px);
73
+ }
74
+ 80% {
75
+ opacity: 1;
76
+ @include translateY(-5px);
77
+ }
78
+ 100% {
79
+ @include translateY(0);
80
+
81
+ }
82
+ }
83
+ }
84
+
85
+ @mixin animate-slideInLeft() {
86
+ $name: slideInLeft;
87
+ @include keyframes($name) {
88
+ 0% {
89
+ opacity: 0;
90
+ @include translateX(-2000px);
91
+ }
92
+ 5% {
93
+ opacity: 1;
94
+ @include translateX(-1800px);
95
+ }
96
+ 80% {
97
+
98
+ @include translateX(5px);
99
+ }
100
+ 100% {
101
+ @include translateX(0);
102
+
103
+ }
104
+ }
105
+ }
106
+
107
+ @mixin animate-slideInRight() {
108
+ $name: slideInRight;
109
+ @include keyframes($name) {
110
+ 0% {
111
+ opacity: 0;
112
+ @include translateX(2000px);
113
+ }
114
+ 5% {
115
+ opacity: 1;
116
+ @include translateX(1800px);
117
+ }
118
+ 80% {
119
+
120
+ @include translateX(-5px);
121
+ }
122
+ 100% {
123
+ @include translateX(0);
124
+
125
+ }
126
+ }
127
+ }
128
+
129
+ @mixin animate-slideOutDown() {
130
+ $name: slideOutDown;
131
+ @include keyframes($name) {
132
+ 0% {
133
+ @include translateY(0);
134
+ }
135
+ 20% {
136
+ opacity: 1;
137
+ @include translateY(-5px);
138
+ }
139
+ 100% {
140
+ @include translateY(2000px);
141
+ opacity: 0;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin animate-slideOutUp() {
147
+ $name: slideOutUp;
148
+ @include keyframes($name) {
149
+ 0% {
150
+ @include translateY(0);
151
+ }
152
+ 20% {
153
+ opacity: 1;
154
+ @include translateY(0);
155
+ }
156
+ 100% {
157
+ opacity: 0;
158
+ @include translateY(-2000px);
159
+
160
+ }
161
+ }
162
+ }
163
+
164
+ @mixin animate-slideOutLeft() {
165
+ $name: slideOutLeft;
166
+ @include keyframes($name) {
167
+ 0% {
168
+ @include translateX(0);
169
+ }
170
+ 20% {
171
+ opacity: 1;
172
+ @include translateX(5px);
173
+ }
174
+ 100% {
175
+ opacity: 0;
176
+ @include translateX(-2000px);
177
+
178
+ }
179
+ }
180
+ }
181
+
182
+ @mixin animate-slideOutRight() {
183
+ $name: slideOutRight;
184
+ @include keyframes($name) {
185
+ 0% {
186
+ @include translateX(0);
187
+ }
188
+ 20% {
189
+ opacity: 1;
190
+ @include translateX(-5px);
191
+ }
192
+ 100% {
193
+ opacity: 0;
194
+ @include translateX(2000px);
195
+
196
+ }
197
+ }
198
+ }
199
+
200
+ //below based on: https://github.com/daneden/animate.css
201
+ //with some stuff culled from: https://github.com/ericam/compass-animation
202
+
203
+ //fade ---------------------------------------------------------------------------------------------------------------
204
+
205
+ @mixin animate-fadeIn() {
206
+ $name: fadeIn;
207
+ @include keyframes($name) {
208
+ 0% {
209
+ opacity: 0;
210
+ }
211
+ 100% {
212
+ opacity: 1;
213
+ }
214
+ }
215
+ }
216
+
217
+ @mixin animate-fadeInUp() {
218
+ $name: fadeInUp;
219
+ @include keyframes($name) {
220
+ 0% {
221
+ @include translateY(20px);
222
+ opacity: 0;
223
+ }
224
+ 100% {
225
+ @include translateY(0);
226
+ opacity: 1;
227
+ }
228
+ }
229
+ }
230
+
231
+ @mixin animate-fadeInDown() {
232
+ $name: fadeInDown;
233
+ @include keyframes($name) {
234
+ 0% {
235
+ @include translateY(-20px);
236
+ opacity: 0;
237
+ }
238
+ 100% {
239
+ @include translateY(0);
240
+ opacity: 1;
241
+ }
242
+ }
243
+ }
244
+
245
+ @mixin animate-fadeInRight() {
246
+ $name: fadeInRight;
247
+ @include keyframes($name) {
248
+ 0% {
249
+ @include translateX(20px);
250
+ opacity: 0;
251
+ }
252
+ 100% {
253
+ @include translateX(0);
254
+ opacity: 1;
255
+ }
256
+ }
257
+ }
258
+
259
+ @mixin animate-fadeInLeft() {
260
+ $name: fadeInLeft;
261
+ @include keyframes($name) {
262
+ 0% {
263
+ @include translateX(-20px);
264
+ opacity: 0;
265
+ }
266
+ 100% {
267
+ @include translateX(0);
268
+ opacity: 1;
269
+ }
270
+ }
271
+ }
272
+
273
+ @mixin animate-fadeInUpBig() {
274
+ $name: fadeInUpBig;
275
+ @include keyframes($name) {
276
+ 0% {
277
+ @include translateY(2000px);
278
+ opacity: 0;
279
+ }
280
+ 100% {
281
+ @include translateY(0);
282
+ opacity: 1;
283
+ }
284
+ }
285
+ }
286
+
287
+ @mixin animate-fadeInDownBig() {
288
+ $name: fadeInDownBig;
289
+ @include keyframes($name) {
290
+ 0% {
291
+ opacity: 0;
292
+ @include translateY(-2000px);
293
+ }
294
+ 100% {
295
+ opacity: 1;
296
+ @include translateY(0);
297
+ }
298
+ }
299
+ }
300
+
301
+ @mixin animate-fadeInRightBig() {
302
+ $name: fadeInRightBig;
303
+ @include keyframes($name) {
304
+ 0% {
305
+ opacity: 0;
306
+ @include translateX(2000px);
307
+ }
308
+ 100% {
309
+ opacity: 1;
310
+ @include translateX(0);
311
+ }
312
+ }
313
+ }
314
+
315
+ @mixin animate-fadeInLeftBig() {
316
+ $name: fadeInLeftBig;
317
+ @include keyframes($name) {
318
+ 0% {
319
+ opacity: 0;
320
+ @include translateX(-2000px);
321
+ }
322
+ 100% {
323
+ opacity: 1;
324
+ @include translateX(0);
325
+ }
326
+ }
327
+ }
328
+
329
+ @mixin animate-fadeOut() {
330
+ $name: fadeOut;
331
+ @include keyframes($name) {
332
+ 0% {
333
+ opacity: 1;
334
+ }
335
+ 100% {
336
+ opacity: 0;
337
+ }
338
+ }
339
+ }
340
+
341
+ @mixin animate-fadeOutUp() {
342
+ $name: fadeOutUp;
343
+ @include keyframes($name) {
344
+ 0% {
345
+ @include translateY(0);
346
+ opacity: 1;
347
+ }
348
+ 100% {
349
+ @include translateY(-20px);
350
+ opacity: 0;
351
+ }
352
+ }
353
+ }
354
+
355
+ @mixin animate-fadeOutDown() {
356
+ $name: fadeOutDown;
357
+ @include keyframes($name) {
358
+ 0% {
359
+ @include translateY(0);
360
+ opacity: 1;
361
+ }
362
+ 100% {
363
+ @include translateY(20px);
364
+ opacity: 0;
365
+ }
366
+ }
367
+ }
368
+
369
+ @mixin animate-fadeOutRight() {
370
+ $name: fadeOutRight;
371
+ @include keyframes($name) {
372
+ 0% {
373
+ @include translateX(0);
374
+ opacity: 1;
375
+ }
376
+ 100% {
377
+ @include translateX(20px);
378
+ opacity: 0;
379
+ }
380
+ }
381
+ }
382
+
383
+ @mixin animate-fadeOutLeft() {
384
+ $name: fadeOutLeft;
385
+ @include keyframes($name) {
386
+ 0% {
387
+ @include translateX(0);
388
+ opacity: 1;
389
+ }
390
+ 100% {
391
+ @include translateX(-20px);
392
+ opacity: 0;
393
+ }
394
+ }
395
+ }
396
+
397
+ @mixin animate-fadeOutUpBig() {
398
+ $name: fadeOutUpBig;
399
+ @include keyframes($name) {
400
+ 0% {
401
+ @include translateY(0);
402
+ opacity: 1;
403
+ }
404
+ 100% {
405
+ @include translateY(-2000px);
406
+ opacity: 0;
407
+ }
408
+ }
409
+ }
410
+
411
+ @mixin animate-fadeOutDownBig() {
412
+ $name: fadeOutDownBig;
413
+ @include keyframes($name) {
414
+ 0% {
415
+ opacity: 1;
416
+ @include translateY(0);
417
+ }
418
+ 100% {
419
+ opacity: 0;
420
+ @include translateY(2000px);
421
+ }
422
+ }
423
+ }
424
+
425
+ @mixin animate-fadeOutRightBig() {
426
+ $name: fadeOutRightBig;
427
+ @include keyframes($name) {
428
+ 0% {
429
+ opacity: 1;
430
+ @include translateX(0);
431
+ }
432
+ 100% {
433
+ opacity: 0;
434
+ @include translateX(2000px);
435
+ }
436
+ }
437
+ }
438
+
439
+ @mixin animate-fadeOutLeftBig() {
440
+ $name: fadeOutLeftBig;
441
+ @include keyframes($name) {
442
+ 0% {
443
+ opacity: 1;
444
+ @include translateX(0);
445
+ }
446
+ 100% {
447
+ opacity: 0;
448
+ @include translateX(-2000px);
449
+ }
450
+ }
451
+ }
452
+
453
+ //bounce -------------------------------------------------------------------------------------------------------------
454
+
455
+ @mixin animate-bounceIn() {
456
+ $name: bounceIn;
457
+ @include keyframes($name) {
458
+ 0% {
459
+ opacity: 0;
460
+ @include scale(0.3);
461
+ }
462
+ 50% {
463
+ opacity: 1;
464
+ @include scale(1.05);
465
+ }
466
+ 70% {
467
+ @include scale(0.9);
468
+ }
469
+ 100% {
470
+ @include scale(1);
471
+ }
472
+ }
473
+ }
474
+
475
+ @mixin animate-bounceInDown() {
476
+ $name: bounceInDown;
477
+ @include keyframes($name) {
478
+ 0% {
479
+ opacity: 0;
480
+ @include translateY(-2000px);
481
+ }
482
+ 60% {
483
+ opacity: 1;
484
+ @include translateY(30px);
485
+ }
486
+ 80% {
487
+ @include translateY(-10px);
488
+ }
489
+ 100% {
490
+ @include translateY(0);
491
+ }
492
+ }
493
+ }
494
+
495
+ @mixin animate-bounceInUp() {
496
+ $name: bounceInUp;
497
+ @include keyframes($name) {
498
+ 0% {
499
+ opacity: 0;
500
+ @include translateY(2000px);
501
+ }
502
+ 60% {
503
+ opacity: 1;
504
+ @include translateY(-30px);
505
+ }
506
+ 80% {
507
+ @include translateY(10px);
508
+ }
509
+ 100% {
510
+ @include translateY(0);
511
+ }
512
+ }
513
+ }
514
+
515
+ @mixin animate-bounceInRight() {
516
+ $name: bounceInRight;
517
+ @include keyframes($name) {
518
+ 0% {
519
+ opacity: 0;
520
+ @include translateX(2000px);
521
+ }
522
+ 60% {
523
+ opacity: 1;
524
+ @include translateX(-30px);
525
+ }
526
+ 80% {
527
+ @include translateX(10px);
528
+ }
529
+ 100% {
530
+ @include translateX(0);
531
+ }
532
+ }
533
+ }
534
+
535
+ @mixin animate-bounceInLeft() {
536
+ $name: bounceInLeft;
537
+ @include keyframes($name) {
538
+ 0% {
539
+ opacity: 0;
540
+ @include translateX(-2000px);
541
+ }
542
+ 60% {
543
+ opacity: 1;
544
+ @include translateX(30px);
545
+ }
546
+ 80% {
547
+ @include translateX(-10px);
548
+ }
549
+ 100% {
550
+ @include translateX(0);
551
+ }
552
+ }
553
+ }
554
+
555
+ @mixin animate-bounceOut() {
556
+ $name: bounceOut;
557
+ @include keyframes(bounceOut) {
558
+ 0% {
559
+ @include scale(1);
560
+ }
561
+ 25% {
562
+ @include scale(0.95);
563
+ }
564
+ 50% {
565
+ opacity: 1;
566
+ @include scale(1.1);
567
+ }
568
+ 100% {
569
+ opacity: 0;
570
+ @include scale(0.3);
571
+ }
572
+ }
573
+ }
574
+
575
+ @mixin animate-bounceOutUp() {
576
+ $name: bounceOutUp;
577
+ @include keyframes($name) {
578
+ 0% {
579
+ @include translateY(0);
580
+ }
581
+ 20% {
582
+ opacity: 1;
583
+ @include translateY(20px);
584
+ }
585
+ 100% {
586
+ opacity: 0;
587
+ @include translateY(-2000px);
588
+ }
589
+ }
590
+ }
591
+
592
+ @mixin animate-bounceOutDown() {
593
+ $name: bounceOutDown;
594
+ @include keyframes($name) {
595
+ 0% {
596
+ @include translateY(0);
597
+ }
598
+ 20% {
599
+ opacity: 1;
600
+ @include translateY(-20px);
601
+ }
602
+ 100% {
603
+ opacity: 0;
604
+ @include translateY(2000px);
605
+ }
606
+ }
607
+ }
608
+
609
+ @mixin animate-bounceOutLeft() {
610
+ $name: bounceOutLeft;
611
+ @include keyframes($name) {
612
+ 0% {
613
+ @include translateX(0);
614
+ }
615
+ 20% {
616
+ opacity: 1;
617
+ @include translateX(20px);
618
+ }
619
+ 100% {
620
+ opacity: 0;
621
+ @include translateX(-2000px);
622
+ }
623
+ }
624
+ }
625
+
626
+ @mixin animate-bounceOutRight() {
627
+ $name: bounceOutRight;
628
+ @include keyframes($name) {
629
+ 0% {
630
+ @include translateX(0);
631
+ }
632
+ 20% {
633
+ opacity: 1;
634
+ @include translateX(-20px);
635
+ }
636
+ 100% {
637
+ opacity: 0;
638
+ @include translateX(2000px);
639
+ }
640
+ }
641
+ }
642
+
643
+ //rotate -----------------------------------------------------------------------------------------------------------
644
+
645
+ @mixin animate-rotateIn() {
646
+ $name: rotateIn;
647
+ @include keyframes($name) {
648
+ 0% {
649
+ @include transform-origin(center, center);
650
+ @include rotate(-200deg);
651
+ opacity: 0;
652
+ }
653
+ 100% {
654
+ @include transform-origin(center, center);
655
+ @include rotate(0);
656
+ opacity: 1;
657
+ }
658
+ }
659
+ }
660
+
661
+ @mixin animate-rotateInUpLeft() {
662
+ $name: rotateInUpLeft;
663
+ @include keyframes($name) {
664
+ 0% {
665
+ @include transform-origin(left, bottom);
666
+ @include rotate(90deg);
667
+ opacity: 0;
668
+ }
669
+ 100% {
670
+ @include transform-origin(left, bottom);
671
+ @include rotate(0);
672
+ opacity: 1;
673
+ }
674
+ }
675
+ }
676
+
677
+ @mixin animate-rotateInDownLeft() {
678
+ $name: rotateInDownLeft;
679
+ @include keyframes($name) {
680
+ 0% {
681
+ @include transform-origin(left, bottom);
682
+ @include rotate(-90deg);
683
+ opacity: 0;
684
+ }
685
+ 100% {
686
+ @include transform-origin(left, bottom);
687
+ @include rotate(0);
688
+ opacity: 1;
689
+ }
690
+ }
691
+ }
692
+
693
+ @mixin animate-rotateInUpRight() {
694
+ $name: rotateInUpRight;
695
+ @include keyframes($name) {
696
+ 0% {
697
+ @include transform-origin(right, bottom);
698
+ @include rotate(-90deg);
699
+ opacity: 0;
700
+ }
701
+ 100% {
702
+ @include transform-origin(right, bottom);
703
+ @include rotate(0);
704
+ opacity: 1;
705
+ }
706
+ }
707
+ }
708
+
709
+ @mixin animate-rotateInDownRight() {
710
+ $name: rotateInDownRight;
711
+ @include keyframes($name) {
712
+ 0% {
713
+ @include transform-origin(right, bottom);
714
+ @include rotate(90deg);
715
+ opacity: 0;
716
+ }
717
+ 100% {
718
+ @include transform-origin(right, bottom);
719
+ @include rotate(0);
720
+ opacity: 1;
721
+ }
722
+ }
723
+ }
724
+
725
+ @mixin animate-rotateOut() {
726
+ $name: rotateOut;
727
+ @include keyframes($name) {
728
+ 0% {
729
+ @include transform-origin(center, center);
730
+ @include rotate(0);
731
+ opacity: 1;
732
+ }
733
+ 100% {
734
+ @include transform-origin(center, center);
735
+ @include rotate(200deg);
736
+ opacity: 0;
737
+ }
738
+ }
739
+ }
740
+
741
+ @mixin animate-rotateOutUpLeft() {
742
+ $name: rotateOutUpLeft;
743
+ @include keyframes($name) {
744
+ 0% {
745
+ @include transform-origin(left, bottom);
746
+ @include rotate(0);
747
+ opacity: 1;
748
+ }
749
+ 100% {
750
+ @include transform-origin(left, bottom);
751
+ @include rotate(-90deg);
752
+ opacity: 0;
753
+ }
754
+ }
755
+ }
756
+
757
+ @mixin animate-rotateOutDownLeft() {
758
+ $name: rotateOutDownLeft;
759
+ @include keyframes($name) {
760
+ 0% {
761
+ @include transform-origin(left, bottom);
762
+ @include rotate(0);
763
+ opacity: 1;
764
+ }
765
+ 100% {
766
+ @include transform-origin(left, bottom);
767
+ @include rotate(90deg);
768
+ opacity: 0;
769
+ }
770
+ }
771
+ }
772
+
773
+ @mixin animate-rotateOutUpRight() {
774
+ $name: rotateOutUpRight;
775
+ @include keyframes($name) {
776
+ 0% {
777
+ @include transform-origin(right, bottom);
778
+ @include rotate(0);
779
+ opacity: 1;
780
+ }
781
+ 100% {
782
+ @include transform-origin(right, bottom);
783
+ @include rotate(90deg);
784
+ opacity: 0;
785
+ }
786
+ }
787
+ }
788
+
789
+ @mixin animate-rotateOutDownRight() {
790
+ $name: rotateOutDownRight;
791
+ @include keyframes($name) {
792
+ 0% {
793
+ @include transform-origin(right, bottom);
794
+ @include rotate(0);
795
+ opacity: 1;
796
+ }
797
+ 100% {
798
+ @include transform-origin(right, bottom);
799
+ @include rotate(-90deg);
800
+ opacity: 0;
801
+ }
802
+ }
803
+ }
804
+
805
+ //flip -------------------------------------------------------------------------------------------------------------
806
+
807
+ @mixin animate-flipInX() {
808
+ $name: flipInX;
809
+ @include keyframes($name) {
810
+ 0% {
811
+ @include transform(perspective(400px) rotateX(90deg));
812
+ @include opacity(0);
813
+ }
814
+ 40% {
815
+ @include transform(perspective(400px) rotateX(-10deg));
816
+ }
817
+ 70% {
818
+ @include transform(perspective(400px) rotateX(10deg));
819
+ }
820
+ 100% {
821
+ @include transform(perspective(400px) rotateX(0deg));
822
+ @include opacity(1);
823
+ }
824
+ }
825
+ }
826
+
827
+ @mixin animate-flipInY() {
828
+ $name: flipInY;
829
+ @include keyframes($name) {
830
+ 0% {
831
+ @include transform(perspective(400px) rotateY(90deg));
832
+ @include opacity(0);
833
+ }
834
+ 40% {
835
+ @include transform(perspective(400px) rotateY(-10deg));
836
+ }
837
+ 70% {
838
+ @include transform(perspective(400px) rotateY(10deg));
839
+ }
840
+ 100% {
841
+ @include transform(perspective(400px) rotateY(0deg));
842
+ @include opacity(1);
843
+ }
844
+ }
845
+ }
846
+
847
+ @mixin animate-flipOutX() {
848
+ $name: flipOutX;
849
+ @include keyframes($name) {
850
+ 0% {
851
+ @include transform(perspective(400px) rotateX(0deg));
852
+ @include opacity(1);
853
+ }
854
+ 100% {
855
+ @include transform(perspective(400px) rotateX(90deg));
856
+ @include opacity(0);
857
+ }
858
+ }
859
+ }
860
+
861
+ @mixin animate-flipOutY() {
862
+ $name: flipOutY;
863
+ @include keyframes($name) {
864
+ 0% {
865
+ @include transform(perspective(400px) rotateY(0deg));
866
+ @include opacity(1);
867
+ }
868
+ 100% {
869
+ @include transform(perspective(400px) rotateY(90deg));
870
+ @include opacity(0);
871
+ }
872
+ }
873
+ }
874
+
875
+ //roll ------------------------------------------------------------------------------------------------------------
876
+
877
+ @mixin animate-rollIn() {
878
+ $name: rollIn;
879
+ @include keyframes($name) {
880
+ 0% {
881
+ @include opacity(0);
882
+ @include transform(translateX(-100%) rotate(-120deg));
883
+ }
884
+ 100% {
885
+ @include opacity(1);
886
+ @include transform(translateX(0px) rotate(0deg));
887
+ }
888
+ }
889
+ }
890
+
891
+ @mixin animate-rollOut() {
892
+ $name: rollOut;
893
+ @include keyframes($name) {
894
+ 0% {
895
+ @include opacity(1);
896
+ @include transform(translateX(0px) rotate(0deg));
897
+ }
898
+ 100% {
899
+ @include opacity(0);
900
+ @include transform(translateX(-100%) rotate(-120deg));
901
+ }
902
+ }
903
+ }
904
+
905
+ //lightspeed ----------------------------------------------------------------------------------------------------
906
+
907
+ @mixin animate-lightSpeedIn() {
908
+ $name: lightSpeedIn;
909
+ @include keyframes($name) {
910
+ 0% {
911
+ @include transform(translateX(100%) skewX(-30deg));
912
+ @include opacity(0);
913
+ }
914
+ 60% {
915
+ @include transform(translateX(-20%) skewX(30deg));
916
+ @include opacity(1);
917
+ }
918
+ 80% {
919
+ @include transform(translateX(0%) skewX(-15deg));
920
+ @include opacity(1);
921
+ }
922
+ 100% {
923
+ @include transform(translateX(0%) skewX(0deg));
924
+ @include opacity(1);
925
+ }
926
+ }
927
+ }
928
+
929
+ @mixin animate-lightSpeedOut() {
930
+ $name: lightSpeedOut;
931
+ @include keyframes($name) {
932
+ 0% {
933
+ @include transform(translateX(0%) skewX(0deg));
934
+ @include opacity(1);
935
+ }
936
+ 100% {
937
+ @include transform(translateX(100%) skewX(-30deg));
938
+ @include opacity(0);
939
+ }
940
+ }
941
+ }
942
+
943
+ //attention ---------------------------------------------------------------------------------------------------------
944
+
945
+ @mixin animate-flash() {
946
+ $name: flash;
947
+ @include keyframes($name) {
948
+ 0% {
949
+ opacity: 1;
950
+ }
951
+ 25% {
952
+ opacity: 0;
953
+ }
954
+ 50% {
955
+ opacity: 1;
956
+ }
957
+ 75% {
958
+ opacity: 0;
959
+ }
960
+ 100% {
961
+ opacity: 1;
962
+ }
963
+ }
964
+ }
965
+
966
+ @mixin animate-pulse() {
967
+ $name: pulse;
968
+ @include keyframes($name) {
969
+ 0% {
970
+ @include scale(1);
971
+ }
972
+ 50% {
973
+ @include scale(1.1);
974
+ }
975
+ 100% {
976
+ @include scale(1);
977
+ }
978
+ }
979
+ }
980
+
981
+ @mixin animate-shake() {
982
+ $name: shake;
983
+ @include keyframes($name) {
984
+ 0% {
985
+ @include translateX(0);
986
+ }
987
+ 10% {
988
+ @include translateX(-10px);
989
+ }
990
+ 20% {
991
+ @include translateX(10px);
992
+ }
993
+ 30% {
994
+ @include translateX(-10px);
995
+ }
996
+ 40% {
997
+ @include translateX(10px);
998
+ }
999
+ 50% {
1000
+ @include translateX(-10px);
1001
+ }
1002
+ 60% {
1003
+ @include translateX(10px);
1004
+ }
1005
+ 70% {
1006
+ @include translateX(-10px);
1007
+ }
1008
+ 80% {
1009
+ @include translateX(10px);
1010
+ }
1011
+ 90% {
1012
+ @include translateX(-10px);
1013
+ }
1014
+ 100% {
1015
+ @include translateX(0);
1016
+ }
1017
+ }
1018
+ }
1019
+
1020
+ @mixin animate-swing() {
1021
+ $name: swing;
1022
+ @include keyframes($name) {
1023
+ 20%, 40%, 60%, 80%, 100% {
1024
+ @include transform-origin(top, center);
1025
+ }
1026
+ 20% {
1027
+ @include rotate(15deg);
1028
+ }
1029
+ 40% {
1030
+ @include rotate(-10deg);
1031
+ }
1032
+ 60% {
1033
+ @include rotate(5deg);
1034
+ }
1035
+ 80% {
1036
+ @include rotate(-5deg);
1037
+ }
1038
+ 100% {
1039
+ @include rotate(0deg);
1040
+ }
1041
+ }
1042
+ }
1043
+
1044
+ @mixin animate-tada() {
1045
+ $name: tada;
1046
+ @include keyframes($name) {
1047
+ 0% {
1048
+ @include scale(1);
1049
+ }
1050
+ 10% {
1051
+ @include transform(scale(0.9) rotate(-3deg));
1052
+ }
1053
+ 20% {
1054
+ @include transform(scale(0.9) rotate(-3deg));
1055
+ }
1056
+ 30% {
1057
+ @include transform(scale(1.1) rotate(3deg));
1058
+ }
1059
+ 40% {
1060
+ @include transform(scale(1.1) rotate(-3deg));
1061
+ }
1062
+ 50% {
1063
+ @include transform(scale(1.1) rotate(3deg));
1064
+ }
1065
+ 60% {
1066
+ @include transform(scale(1.1) rotate(-3deg));
1067
+ }
1068
+ 70% {
1069
+ @include transform(scale(1.1) rotate(3deg));
1070
+ }
1071
+ 80% {
1072
+ @include transform(scale(1.1) rotate(-3deg));
1073
+ }
1074
+ 90% {
1075
+ @include transform(scale(1.1) rotate(3deg));
1076
+ }
1077
+ 100% {
1078
+ @include transform(scale(1) rotate(0));
1079
+ }
1080
+ }
1081
+ }
1082
+
1083
+ @mixin animate-wiggle() {
1084
+ $name: wiggle;
1085
+ @include keyframes($name) {
1086
+ 0% {
1087
+ @include skewX(9deg);
1088
+ }
1089
+ 10% {
1090
+ @include skewX(-8deg);
1091
+ }
1092
+ 20% {
1093
+ @include skewX(7deg);
1094
+ }
1095
+ 30% {
1096
+ @include skewX(-6deg);
1097
+ }
1098
+ 40% {
1099
+ @include skewX(5deg);
1100
+ }
1101
+ 50% {
1102
+ @include skewX(-4deg);
1103
+ }
1104
+ 60% {
1105
+ @include skewX(3deg);
1106
+ }
1107
+ 70% {
1108
+ @include skewX(-2deg);
1109
+ }
1110
+ 80% {
1111
+ @include skewX(1deg);
1112
+ }
1113
+ 90% {
1114
+ @include skewX(0deg);
1115
+ }
1116
+ 100% {
1117
+ @include skewX(0deg);
1118
+ }
1119
+ }
1120
+ }
1121
+
1122
+ @mixin animate-wobble() {
1123
+ $name: wobble;
1124
+ @include keyframes($name) {
1125
+ 0% {
1126
+ @include translateX(0%);
1127
+ }
1128
+ 15% {
1129
+ @include transform(translateX(-25%) rotate(-5deg));
1130
+ }
1131
+ 30% {
1132
+ @include transform(translateX(20%) rotate(3deg));
1133
+ }
1134
+ 45% {
1135
+ @include transform(translateX(-15%) rotate(-3deg));
1136
+ }
1137
+ 60% {
1138
+ @include transform(translateX(10%) rotate(2deg));
1139
+ }
1140
+ 75% {
1141
+ @include transform(translateX(-5%) rotate(-1deg));
1142
+ }
1143
+ 100% {
1144
+ @include transform(translateX(0%));
1145
+ }
1146
+ }
1147
+ }
1148
+
1149
+ @mixin animate-rubberband() {
1150
+ $name: rubberband;
1151
+ @include keyframes($name) {
1152
+ 0% {
1153
+ @include transform(scale(1));
1154
+ }
1155
+ 30% {
1156
+ @include transform(scaleX(1.25) scaleY(0.75));
1157
+ }
1158
+ 40% {
1159
+ @include transform(scaleX(0.75) scaleY(1.25));
1160
+ }
1161
+ 60% {
1162
+ @include transform(scaleX(1.15) scaleY(0.85));
1163
+ }
1164
+ 100% {
1165
+ @include transform(scale(1));
1166
+ }
1167
+ }
1168
+ }
1169
+
1170
+ @mixin animate-hinge() {
1171
+ $name: hinge;
1172
+ @include keyframes($name) {
1173
+ 0% {
1174
+ @include transform(rotate(0));
1175
+ @include transform-origin(top, left);
1176
+ @include animation-timing-function(ease-in-out);
1177
+ }
1178
+ 20%,60% {
1179
+ @include transform(rotate(80deg));
1180
+ @include transform-origin(top, left);
1181
+ @include animation-timing-function(ease-in-out);
1182
+ }
1183
+ 40% {
1184
+ @include transform(rotate(60deg));
1185
+ @include transform-origin(top, left);
1186
+ @include animation-timing-function(ease-in-out);
1187
+ }
1188
+ 80% {
1189
+ @include transform(rotate(60deg));
1190
+ @include translateY(0);
1191
+ opacity:1;
1192
+ @include transform-origin(top, left);
1193
+ @include animation-timing-function(ease-in-out);
1194
+ }
1195
+ 100% {
1196
+ @include translateY(700px);
1197
+ opacity:0;
1198
+ }
1199
+ }
1200
+ }
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+