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,121 @@
1
+
2
+
3
+ // @private css3-feature-support variables must always include a list of five boolean values
4
+ // representing in order: -moz, -webkit, -o, -ms, -khtml.
5
+ $animation-support: -moz, -webkit, -o, not -ms, -khtml;
6
+
7
+
8
+ // Name of any animation as a string.
9
+ $default-animation-name : null !default;
10
+
11
+ // Duration of the entire animation in seconds.
12
+ $default-animation-duration : null !default;
13
+
14
+ // Delay for start of animation in seconds.
15
+ $default-animation-delay : null !default;
16
+
17
+ // The timing function(s) to be used between keyframes. [ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier($number, $number, $number, $number)]
18
+ $default-animation-timing-function : null !default;
19
+
20
+ // The number of times an animation cycle is played. [infinite | $number]
21
+ $default-animation-iteration-count : null !default;
22
+
23
+ // Whether or not the animation should play in reverse on alternate cycles. [normal | alternate]
24
+ $default-animation-direction : null !default;
25
+
26
+ // What values are applied by the animation outside the time it is executing. [none | forwards | backwards | both]
27
+ $default-animation-fill-mode : null !default;
28
+
29
+ // Whether the animation is running or paused. [running | paused]
30
+ $default-animation-play-state : null !default;
31
+
32
+
33
+ // Create a named animation sequence that can be applied to elements later.
34
+ //
35
+ // $name - The name of your animation.
36
+ // @content - The keyframes of the animation.
37
+ @mixin keyframes(
38
+ $name,
39
+ $moz : $experimental-support-for-mozilla,
40
+ $webkit : $experimental-support-for-webkit,
41
+ $o : $experimental-support-for-opera,
42
+ $khtml : $experimental-support-for-khtml,
43
+ $official : true
44
+ ) {
45
+ @if $moz and supported(moz, $animation-support) {
46
+ @include with-only-support-for($moz: true) {
47
+ @-moz-keyframes #{$name} { @content; }
48
+ }
49
+ }
50
+ @if $webkit and supported(webkit, $animation-support) {
51
+ @include with-only-support-for($webkit: true) {
52
+ @-webkit-keyframes #{$name} { @content; }
53
+ }
54
+ }
55
+ @if $o and supported(o, $animation-support) {
56
+ @include with-only-support-for($o: true) {
57
+ @-o-keyframes #{$name} { @content; }
58
+ }
59
+ }
60
+ @if $khtml and supported(khtml, $animation-support) {
61
+ @include with-only-support-for($khtml: true) {
62
+ @-khtml-keyframes #{$name} { @content; }
63
+ }
64
+ }
65
+ @if $official and supported(official, $animation-support) {
66
+ @include with-only-support-for {
67
+ @keyframes #{$name} { @content; }
68
+ }
69
+ }
70
+ }
71
+
72
+
73
+ // Apply any number of animation names.
74
+ @mixin animation-name($name...) {
75
+ $name: set-arglist-default($name, $default-animation-name);
76
+ @include experimental(animation-name, $name, $animation-support...); }
77
+
78
+ // Apply any number of animation durations.
79
+ @mixin animation-duration($duration...) {
80
+ $duration: set-arglist-default($duration, $default-animation-duration);
81
+ @include experimental(animation-duration, $duration, $animation-support...); }
82
+
83
+ // Apply any number of animation delays.
84
+ @mixin animation-delay($delay...) {
85
+ $delay: set-arglist-default($delay, $default-animation-delay);
86
+ @include experimental(animation-delay, $delay, $animation-support...); }
87
+
88
+ // Apply any number of animation timing functions.
89
+ @mixin animation-timing-function($function...) {
90
+ $function: set-arglist-default($function, $default-animation-timing-function);
91
+ @include experimental(animation-timing-function, $function, $animation-support...); }
92
+
93
+ // Apply any number of animation iteration counts.
94
+ @mixin animation-iteration-count($count...) {
95
+ $count: set-arglist-default($count, $default-animation-iteration-count);
96
+ @include experimental(animation-iteration-count, $count, $animation-support...); }
97
+
98
+ // Apply any number of animation directions.
99
+ @mixin animation-direction($direction...) {
100
+ $direction: set-arglist-default($direction, $default-animation-direction);
101
+ @include experimental(animation-direction, $direction, $animation-support...); }
102
+
103
+ // Apply any number of animation fill modes.
104
+ @mixin animation-fill-mode($mode...) {
105
+ $mode: set-arglist-default($mode, $default-animation-fill-mode);
106
+ @include experimental(animation-fill-mode, $mode, $animation-support...); }
107
+
108
+ // Apply any number of animation play states.
109
+ @mixin animation-play-state($state...) {
110
+ $state: set-arglist-default($state, $default-animation-play-state);
111
+ @include experimental(animation-play-state, $state, $animation-support...); }
112
+
113
+ // Shortcut to apply any number of animations to an element, with all the settings.
114
+ //
115
+ // $animation... : Name and settings. [<values> | default]
116
+ @mixin animation($animation...) {
117
+ $default: -compass-space-list(compact($default-animation-name $default-animation-duration $default-animation-timing-function $default-animation-delay $default-animation-iteration-count $default-animation-direction $default-animation-fill-mode $default-animation-play-state));
118
+ $animation: set-arglist-default($animation, $default);
119
+ @include experimental(animation, $animation, $animation-support...);
120
+ }
121
+
@@ -0,0 +1,771 @@
1
+ @import "animate";
2
+
3
+ @mixin animation($name) {
4
+ -webkit-animation-name:$name;
5
+ -moz-animation-name:$name;
6
+ -o-animation-name:$name;
7
+ animation-name:$name;
8
+ }
9
+
10
+ @mixin animation-duration($duration:350ms){
11
+ -webkit-animation-duration: $duration;
12
+ -moz-animation-duration: $duration;
13
+ -o-animation-duration: $duration;
14
+ animation-duration: $duration;
15
+ }
16
+
17
+ @mixin animation-delay($delay:0){
18
+ -webkit-animation-delay:$delay;
19
+ -moz-animation-delay:$delay;
20
+ -o-animation-delay:$delay;
21
+ animation-delay:$delay;
22
+ }
23
+
24
+ @mixin animation-iteration($iteration:1){
25
+ -webkit-animation-iteration-count:$iteration;
26
+ -moz-animation-iteration-count:$iteration;
27
+ -o-animation-iteration-count:$iteration;
28
+ animation-iteration-count:$iteration;
29
+ }
30
+
31
+ @mixin animation-props($duration:1s,$delay:0,$iteration:1){
32
+ @include animation-duration($duration);
33
+ @include animation-delay($delay);
34
+ @include animation-iteration($iteration);
35
+ }
36
+
37
+ @mixin animation-backface-visibility(){
38
+ -webkit-backface-visibility: visible !important;
39
+ -moz-backface-visibility: visible !important;
40
+ -o-backface-visibility: visible !important;
41
+ backface-visibility: visible !important;
42
+ }
43
+
44
+ @mixin animation-timing-function($easing:ease-in){
45
+ -webkit-animation-timing-function: $easing;
46
+ -moz-animation-timing-function:$easing;
47
+ -o-animation-timing-function:$easing;
48
+ animation-timing-function:$easing;
49
+ }
50
+
51
+ @mixin animated($duration:350ms) {
52
+ @include animation-duration($duration);
53
+ -webkit-animation-fill-mode: both;
54
+ -moz-animation-fill-mode: both;
55
+ -o-animation-fill-mode: both;
56
+ animation-fill-mode: both;
57
+ }
58
+
59
+ .animated {
60
+ @include animated();
61
+ &.hinge {
62
+ @include animation-duration(2s);
63
+ }
64
+ &.infinite{
65
+ @include animation-iteration(infinite);
66
+ }
67
+ }
68
+
69
+
70
+
71
+ //animate------------------------------------------------------------------------------------------------------------
72
+
73
+ //slide keyframe animations---------------------------------------
74
+ @mixin slideIn(){
75
+ @include animate-slideIn();
76
+ .slideIn {
77
+ @include animation(slideIn);
78
+ @content;
79
+ }
80
+ }
81
+ @mixin slideOut(){
82
+ @include animate-slideOut();
83
+ .slideOut {
84
+ @include animation(slideOut);
85
+ @content;
86
+ }
87
+ }
88
+
89
+ @mixin slideInDown(){
90
+ @include animate-slideInDown();
91
+ .slideInDown {
92
+ @include animation(slideInDown);
93
+ @content;
94
+ }
95
+ }
96
+
97
+ @mixin slideInUp(){
98
+ @include animate-slideInUp();
99
+ .slideInUp {
100
+ @include animation(slideInUp);
101
+ @content;
102
+ }
103
+ }
104
+
105
+ @mixin slideInLeft(){
106
+ @include animate-slideInLeft();
107
+ .slideInLeft {
108
+ @include animation(slideInLeft);
109
+ @content;
110
+ }
111
+ }
112
+
113
+ @mixin slideInRight(){
114
+ @include animate-slideInRight();
115
+ .slideInRight {
116
+ @include animation(slideInRight);
117
+ @content;
118
+ }
119
+ }
120
+
121
+ @mixin slideOutUp(){
122
+ @include animate-slideOutUp();
123
+ .slideOutUp {
124
+ @include animation(slideOutUp);
125
+ @content;
126
+ }
127
+ }
128
+
129
+ @mixin slideOutDown(){
130
+ @include animate-slideOutDown();
131
+ .slideOutDown {
132
+ @include animation(slideOutDown);
133
+ @content;
134
+ }
135
+ }
136
+
137
+ @mixin slideOutLeft(){
138
+ @include animate-slideOutLeft();
139
+ .slideOutLeft {
140
+ @include animation(slideOutLeft);
141
+ @content;
142
+ }
143
+ }
144
+
145
+ @mixin slideOutRight(){
146
+ @include animate-slideOutRight();
147
+ .slideOutRight {
148
+ @include animation(slideOutRight);
149
+ @content;
150
+ }
151
+ }
152
+
153
+ //all slide keyframe animations
154
+ @mixin animations-slide(){
155
+ @include slideIn();
156
+ @include slideOut();
157
+ @include slideInDown();
158
+ @include slideInUp();
159
+ @include slideInLeft();
160
+ @include slideInRight();
161
+ @include slideOutDown();
162
+ @include slideOutUp();
163
+ @include slideOutLeft();
164
+ @include slideOutRight();
165
+ @content;
166
+ }
167
+
168
+ //fade keyframe animations----------------------------------------
169
+ @mixin fadeIn(){
170
+ @include animate-fadeIn();
171
+ .fadeIn {
172
+ @include animation(fadeIn);
173
+ @content;
174
+ }
175
+ }
176
+
177
+ @mixin fadeInLeft(){
178
+ @include animate-fadeInLeft();
179
+ .fadeInLeft {
180
+ @include animation(fadeInLeft);
181
+ @content;
182
+ }
183
+ }
184
+
185
+ @mixin fadeInRight(){
186
+ @include animate-fadeInRight();
187
+ .fadeInRight {
188
+ @include animation(fadeInRight);
189
+ @content;
190
+ }
191
+ }
192
+
193
+ @mixin fadeInUp(){
194
+ @include animate-fadeInUp();
195
+ .fadeInUp {
196
+ @include animation(fadeInUp);
197
+ @content;
198
+ }
199
+ }
200
+
201
+ @mixin fadeInDown(){
202
+ @include animate-fadeInDown();
203
+ .fadeInDown {
204
+ @include animation(fadeInDown);
205
+ @content;
206
+ }
207
+ }
208
+
209
+ @mixin fadeInLeftBig(){
210
+ @include animate-fadeInLeftBig();
211
+ .fadeInLeftBig {
212
+ @include animation(fadeInLeftBig);
213
+ @content;
214
+ }
215
+ }
216
+
217
+ @mixin fadeInRightBig(){
218
+ @include animate-fadeInRightBig();
219
+ .fadeInRightBig {
220
+ @include animation(fadeInRightBig);
221
+ @content;
222
+ }
223
+ }
224
+
225
+ @mixin fadeInUpBig(){
226
+ @include animate-fadeInUpBig();
227
+ .fadeInUpBig {
228
+ @include animation(fadeInUpBig);
229
+ @content;
230
+ }
231
+ }
232
+
233
+ @mixin fadeInDownBig(){
234
+ @include animate-fadeInDownBig();
235
+ .fadeInDownBig {
236
+ @include animation(fadeInDownBig);
237
+ @content;
238
+ }
239
+ }
240
+
241
+
242
+ @mixin fadeOut(){
243
+ @include animate-fadeOut();
244
+ .fadeOut {
245
+ @include animation(fadeOut);
246
+ @content;
247
+ }
248
+ }
249
+
250
+ @mixin fadeOutUp(){
251
+ @include animate-fadeOutUp();
252
+ .fadeOutUp {
253
+ @include animation(fadeOutUp);
254
+ @content;
255
+ }
256
+ }
257
+
258
+ @mixin fadeOutDown(){
259
+ @include animate-fadeOutDown();
260
+ .fadeOutDown {
261
+ @include animation(fadeOutDown);
262
+ @content;
263
+ }
264
+ }
265
+
266
+ @mixin fadeOutLeft(){
267
+ @include animate-fadeOutLeft();
268
+ .fadeOutLeft {
269
+ @include animation(fadeOutLeft);
270
+ @content;
271
+ }
272
+ }
273
+
274
+ @mixin fadeOutRight(){
275
+ @include animate-fadeOutRight();
276
+ .fadeOutRight {
277
+ @include animation(fadeOutRight);
278
+ @content;
279
+ }
280
+ }
281
+
282
+ @mixin fadeOutUpBig(){
283
+ @include animate-fadeOutUpBig();
284
+ .fadeOutUpBig {
285
+ @include animation(fadeOutUpBig);
286
+ @content;
287
+ }
288
+ }
289
+
290
+ @mixin fadeOutDownBig(){
291
+ @include animate-fadeOutDownBig();
292
+ .fadeOutDownBig {
293
+ @include animation(fadeOutDownBig);
294
+ @content;
295
+ }
296
+ }
297
+
298
+ @mixin fadeOutLeftBig(){
299
+ @include animate-fadeOutLeftBig();
300
+ .fadeOutLeftBig {
301
+ @include animation(fadeOutLeftBig);
302
+ @content;
303
+ }
304
+ }
305
+
306
+ @mixin fadeOutRightBig(){
307
+ @include animate-fadeOutRightBig();
308
+ .fadeOutRightBig {
309
+ @include animation(fadeOutRightBig);
310
+ @content;
311
+ }
312
+ }
313
+
314
+ //all fade keyframe animations
315
+ @mixin animations-fade(){
316
+ @include fadeIn();
317
+ @include fadeInUp();
318
+ @include fadeInDown();
319
+ @include fadeInLeft();
320
+ @include fadeInRight();
321
+ @include fadeInUpBig();
322
+ @include fadeInDownBig();
323
+ @include fadeInLeftBig();
324
+ @include fadeInRightBig();
325
+ @include fadeOut();
326
+ @include fadeOutUp();
327
+ @include fadeOutDown();
328
+ @include fadeOutLeft();
329
+ @include fadeOutRight();
330
+ @include fadeOutUpBig();
331
+ @include fadeOutDownBig();
332
+ @include fadeOutLeftBig();
333
+ @include fadeOutRightBig();
334
+ @content;
335
+ }
336
+
337
+
338
+ //bounce keyframe animations ------------------------------------------------------------------------
339
+
340
+ @mixin bounceIn(){
341
+ @include animate-bounceIn();
342
+ .bounceIn {
343
+ @include animation(bounceIn);
344
+ @content;
345
+ }
346
+ }
347
+
348
+ @mixin bounceInUp(){
349
+ @include animate-bounceInUp();
350
+ .bounceInUp {
351
+ @include animation(bounceInUp);
352
+ @content;
353
+ }
354
+ }
355
+
356
+ @mixin bounceInDown(){
357
+ @include animate-bounceInDown();
358
+ .bounceInDown {
359
+ @include animation(bounceInDown);
360
+ @content;
361
+ }
362
+ }
363
+
364
+ @mixin bounceInLeft(){
365
+ @include animate-bounceInLeft();
366
+ .bounceInLeft {
367
+ @include animation(bounceInLeft);
368
+ @content;
369
+ }
370
+ }
371
+
372
+ @mixin bounceInRight(){
373
+ @include animate-bounceInRight();
374
+ .bounceInRight {
375
+ @include animation(bounceInRight);
376
+ @content;
377
+ }
378
+ }
379
+
380
+ @mixin bounceOut(){
381
+ @include animate-bounceOut();
382
+ .bounceOut {
383
+ @include animation(bounceOut);
384
+ @content;
385
+ }
386
+ }
387
+
388
+ @mixin bounceOutUp(){
389
+ @include animate-bounceOutUp();
390
+ .bounceOutUp {
391
+ @include animation(bounceOutUp);
392
+ @content;
393
+ }
394
+ }
395
+
396
+ @mixin bounceOutDown(){
397
+ @include animate-bounceOutDown();
398
+ .bounceOutDown {
399
+ @include animation(bounceOutDown);
400
+ @content;
401
+ }
402
+ }
403
+
404
+ @mixin bounceOutLeft(){
405
+ @include animate-bounceOutLeft();
406
+ .bounceOutLeft {
407
+ @include animation(bounceOutLeft);
408
+ @content;
409
+ }
410
+ }
411
+
412
+ @mixin bounceOutRight(){
413
+ @include animate-bounceOutRight();
414
+ .bounceOutRight {
415
+ @include animation(bounceOutRight);
416
+ @content;
417
+ }
418
+ }
419
+
420
+
421
+ //all bounce keyframe animations
422
+ @mixin animations-bounce(){
423
+ @include bounceIn();
424
+ @include bounceInUp();
425
+ @include bounceInDown();
426
+ @include bounceInLeft();
427
+ @include bounceInRight();
428
+ @include bounceOut();
429
+ @include bounceOutUp();
430
+ @include bounceOutDown();
431
+ @include bounceOutLeft();
432
+ @include bounceOutRight();
433
+ @content;
434
+ }
435
+
436
+
437
+ //rotate keyframe animations ----------------------------------------------------------------------------
438
+
439
+ @mixin rotateIn(){
440
+ @include animate-rotateIn();
441
+ .rotateIn {
442
+ @include animation(rotateIn);
443
+ @content;
444
+ }
445
+ }
446
+
447
+ @mixin rotateInUpLeft(){
448
+ @include animate-rotateInUpLeft();
449
+ .rotateInUpLeft {
450
+ @include animation(rotateInUpLeft);
451
+ @content;
452
+ }
453
+ }
454
+
455
+ @mixin rotateInDownLeft(){
456
+ @include animate-rotateInDownLeft();
457
+ .rotateInDownLeft {
458
+ @include animation(rotateInDownLeft);
459
+ @content;
460
+ }
461
+ }
462
+
463
+ @mixin rotateInUpRight(){
464
+ @include animate-rotateInUpRight();
465
+ .rotateInUpRight {
466
+ @include animation(rotateInUpRight);
467
+ @content;
468
+ }
469
+ }
470
+
471
+ @mixin rotateInDownRight(){
472
+ @include animate-rotateIn();
473
+ .rotateInDownRight {
474
+ @include animation(rotateInDownRight);
475
+ @content;
476
+ }
477
+ }
478
+
479
+
480
+
481
+ @mixin rotateOut(){
482
+ @include animate-rotateOut();
483
+ .rotateOut {
484
+ @include animation(rotateOut);
485
+ @content;
486
+ }
487
+ }
488
+
489
+ @mixin rotateOutUpLeft(){
490
+ @include animate-rotateOutUpLeft();
491
+ .rotateOutUpLeft {
492
+ @include animation(rotateOutUpLeft);
493
+ @content;
494
+ }
495
+ }
496
+
497
+ @mixin rotateOutDownLeft(){
498
+ @include animate-rotateOutDownLeft();
499
+ .rotateOutDownLeft {
500
+ @include animation(rotateOutDownLeft);
501
+ @content;
502
+ }
503
+ }
504
+
505
+ @mixin rotateOutUpRight(){
506
+ @include animate-rotateOutUpRight();
507
+ .rotateOutUpRight {
508
+ @include animation(rotateOutUpRight);
509
+ @content;
510
+ }
511
+ }
512
+
513
+ @mixin rotateOutDownRight(){
514
+ @include animate-rotateOut();
515
+ .rotateOutDownRight {
516
+ @include animation(rotateOutDownRight);
517
+ @content;
518
+ }
519
+ }
520
+
521
+ //all rotate keyframe animations
522
+ @mixin animations-rotate(){
523
+ @include rotateIn();
524
+ @include rotateInUpLeft();
525
+ @include rotateInDownLeft();
526
+ @include rotateInUpRight();
527
+ @include rotateInDownRight();
528
+ @include rotateOut();
529
+ @include rotateOutUpLeft();
530
+ @include rotateOutDownLeft();
531
+ @include rotateOutUpRight();
532
+ @include rotateOutDownRight();
533
+ @content;
534
+ }
535
+
536
+
537
+ //flip keyframe animations ------------------------------------------------------------------------
538
+
539
+ @mixin flipInX(){
540
+ @include animate-flipInX();
541
+ .flipInX {
542
+ @include animation-backface-visibility();
543
+ @include animation(flipInX);
544
+ @content;
545
+ }
546
+ }
547
+
548
+ @mixin flipOutX(){
549
+ @include animate-flipOutX();
550
+ .flipOutX {
551
+ @include animation-backface-visibility();
552
+ @include animation(flipOutX);
553
+ @content;
554
+ }
555
+ }
556
+
557
+ @mixin flipInY(){
558
+ @include animate-flipInY();
559
+ .flipInY {
560
+ @include animation-backface-visibility();
561
+ @include animation(flipInY);
562
+ @content;
563
+ }
564
+ }
565
+
566
+ @mixin flipOutY(){
567
+ @include animate-flipOutY();
568
+ .flipOutY {
569
+ @include animation-backface-visibility();
570
+ @include animation(flipOutY);
571
+ @content;
572
+ }
573
+ }
574
+
575
+ //all flip keyframe animations
576
+ @mixin animations-flip(){
577
+ @include flipInX();
578
+ @include flipOutX();
579
+ @include flipInY();
580
+ @include flipOutY();
581
+ @content;
582
+ }
583
+
584
+
585
+ //roll keyframe animations ----------------------------------------------------------------------------------------
586
+
587
+ @mixin rollIn(){
588
+ @include animate-rollIn();
589
+ .rollIn {
590
+ @include animation(rollIn);
591
+ @content;
592
+ }
593
+ }
594
+
595
+ @mixin rollOut(){
596
+ @include animate-rollOut();
597
+ .rollOut {
598
+ @include animation(rollOut);
599
+ @content;
600
+ }
601
+ }
602
+
603
+ //all roll keyframe animations
604
+ @mixin animations-roll(){
605
+ @include rollIn();
606
+ @include rollOut();
607
+ @content;
608
+ }
609
+
610
+ //lightspeed keyframe animations -------------------------------------------------------------------------------------
611
+
612
+ @mixin lightSpeedIn(){
613
+ @include animate-lightSpeedIn();
614
+ .lightSpeedIn {
615
+ @include animation(lightSpeedIn);
616
+ @include animation-timing-function(ease-out);
617
+ @include animation-duration(500ms);
618
+ @content;
619
+ }
620
+ }
621
+
622
+ @mixin lightSpeedOut(){
623
+ @include animate-lightSpeedOut();
624
+ .lightSpeedOut {
625
+ @include animation(lightSpeedOut);
626
+ @include animation-timing-function(ease-in);
627
+ @include animation-duration(250ms);
628
+ @content;
629
+ }
630
+ }
631
+
632
+ //all roll keyframe animations
633
+ @mixin animations-lightSpeed(){
634
+ @include lightSpeedIn();
635
+ @include lightSpeedOut();
636
+ @content;
637
+ }
638
+
639
+
640
+ //attention --------------------------------------------------------------------------------------------------------
641
+
642
+ @mixin flash(){
643
+ @include animate-flash();
644
+ .flash {
645
+ @include animation(flash);
646
+ @content;
647
+ }
648
+ }
649
+
650
+ @mixin shake(){
651
+ @include animate-shake();
652
+ .shake {
653
+ @include animation(shake);
654
+ @content;
655
+ }
656
+ }
657
+
658
+ @mixin tada(){
659
+ @include animate-tada();
660
+ .tada {
661
+ @include animation(tada);
662
+ @content;
663
+ }
664
+ }
665
+
666
+ @mixin swing(){
667
+ @include animate-swing();
668
+ .swing {
669
+ @include animation(swing);
670
+ @content;
671
+ }
672
+ }
673
+
674
+ @mixin wobble(){
675
+ @include animate-wobble();
676
+ .wobble {
677
+ @include animation(wobble);
678
+ @content;
679
+ }
680
+ }
681
+
682
+ @mixin wiggle(){
683
+ @include animate-wiggle();
684
+ .wiggle {
685
+ @include animation(wiggle);
686
+ @include animation-duration(750ms);
687
+ @content;
688
+ }
689
+ }
690
+
691
+ @mixin pulse(){
692
+ @include animate-pulse();
693
+ .pulse {
694
+ @include animation(pulse);
695
+ @content;
696
+ }
697
+ }
698
+
699
+ @mixin rubberband(){
700
+ @include animate-rubberband();
701
+ .rubberband {
702
+ @include animation(rubberband);
703
+ @include animation-duration(750ms);
704
+ @content;
705
+ }
706
+ }
707
+
708
+ @mixin hinge(){
709
+ @include animate-hinge();
710
+ .hinge {
711
+ @include animation(hinge);
712
+ @content;
713
+ }
714
+ }
715
+
716
+ //all attention keyframe animations
717
+ @mixin animations-attention(){
718
+ @include flash();
719
+ @include shake();
720
+ @include tada();
721
+ @include swing();
722
+ @include wobble();
723
+ @include wiggle();
724
+ @include pulse();
725
+ @include rubberband();
726
+ @include hinge();
727
+ @content;
728
+ }
729
+
730
+ //all keyframe animations via one mixin
731
+ @mixin animations-all(){
732
+ @include animations-slide();
733
+ @include animations-fade();
734
+ @include animations-bounce();
735
+ @include animations-rotate();
736
+ @include animations-flip();
737
+ @include animations-roll();
738
+ @include animations-lightSpeed();
739
+ @include animations-attention();
740
+ @content;
741
+ }
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+