sammy 0.0.1.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 +7 -0
  2. data/README.md +4 -0
  3. data/lib/sammy.rb +9 -0
  4. data/stylesheets/_sammy.sass +3 -0
  5. data/stylesheets/sammy/_animations.scss +35 -0
  6. data/stylesheets/sammy/_css3.scss +3 -0
  7. data/stylesheets/sammy/_shared.scss +2 -0
  8. data/stylesheets/sammy/_utilities.scss +1 -0
  9. data/stylesheets/sammy/animations/_attention-seekers.scss +7 -0
  10. data/stylesheets/sammy/animations/_bouncing-entrances.scss +5 -0
  11. data/stylesheets/sammy/animations/_bouncing-exits.scss +5 -0
  12. data/stylesheets/sammy/animations/_fading-entrances.scss +12 -0
  13. data/stylesheets/sammy/animations/_fading-exits.scss +12 -0
  14. data/stylesheets/sammy/animations/_flippers.scss +5 -0
  15. data/stylesheets/sammy/animations/_rotating-entrances.scss +5 -0
  16. data/stylesheets/sammy/animations/_rotating-exits.scss +5 -0
  17. data/stylesheets/sammy/animations/_specials.scss +3 -0
  18. data/stylesheets/sammy/animations/attention-seekers/_bounce.scss +30 -0
  19. data/stylesheets/sammy/animations/attention-seekers/_flash.scss +28 -0
  20. data/stylesheets/sammy/animations/attention-seekers/_pulse.scss +28 -0
  21. data/stylesheets/sammy/animations/attention-seekers/_shake.scss +34 -0
  22. data/stylesheets/sammy/animations/attention-seekers/_swing.scss +30 -0
  23. data/stylesheets/sammy/animations/attention-seekers/_tada.scss +34 -0
  24. data/stylesheets/sammy/animations/attention-seekers/_wobble.scss +32 -0
  25. data/stylesheets/sammy/animations/bouncing-entrances/_bounceIn.scss +37 -0
  26. data/stylesheets/sammy/animations/bouncing-entrances/_bounceInDown.scss +37 -0
  27. data/stylesheets/sammy/animations/bouncing-entrances/_bounceInLeft.scss +37 -0
  28. data/stylesheets/sammy/animations/bouncing-entrances/_bounceInRight.scss +37 -0
  29. data/stylesheets/sammy/animations/bouncing-entrances/_bounceInUp.scss +37 -0
  30. data/stylesheets/sammy/animations/bouncing-exits/_bounceOut.scss +37 -0
  31. data/stylesheets/sammy/animations/bouncing-exits/_bounceOutDown.scss +34 -0
  32. data/stylesheets/sammy/animations/bouncing-exits/_bounceOutLeft.scss +34 -0
  33. data/stylesheets/sammy/animations/bouncing-exits/_bounceOutRight.scss +34 -0
  34. data/stylesheets/sammy/animations/bouncing-exits/_bounceOutUp.scss +34 -0
  35. data/stylesheets/sammy/animations/fading-entrances/_fadeIn.scss +25 -0
  36. data/stylesheets/sammy/animations/fading-entrances/_fadeInDown.scss +31 -0
  37. data/stylesheets/sammy/animations/fading-entrances/_fadeInDownBig.scss +31 -0
  38. data/stylesheets/sammy/animations/fading-entrances/_fadeInLeft.scss +31 -0
  39. data/stylesheets/sammy/animations/fading-entrances/_fadeInLeftBig.scss +31 -0
  40. data/stylesheets/sammy/animations/fading-entrances/_fadeInRight.scss +31 -0
  41. data/stylesheets/sammy/animations/fading-entrances/_fadeInRightBig.scss +31 -0
  42. data/stylesheets/sammy/animations/fading-entrances/_fadeInUp.scss +31 -0
  43. data/stylesheets/sammy/animations/fading-entrances/_fadeInUpBig.scss +31 -0
  44. data/stylesheets/sammy/animations/fading-exits/_fadeOut.scss +25 -0
  45. data/stylesheets/sammy/animations/fading-exits/_fadeOutDown.scss +31 -0
  46. data/stylesheets/sammy/animations/fading-exits/_fadeOutDownBig.scss +31 -0
  47. data/stylesheets/sammy/animations/fading-exits/_fadeOutLeft.scss +31 -0
  48. data/stylesheets/sammy/animations/fading-exits/_fadeOutLeftBig.scss +31 -0
  49. data/stylesheets/sammy/animations/fading-exits/_fadeOutRight.scss +31 -0
  50. data/stylesheets/sammy/animations/fading-exits/_fadeOutRightBig.scss +31 -0
  51. data/stylesheets/sammy/animations/fading-exits/_fadeOutUp.scss +31 -0
  52. data/stylesheets/sammy/animations/fading-exits/_fadeOutUpBig.scss +31 -0
  53. data/stylesheets/sammy/animations/flippers/_flip.scss +44 -0
  54. data/stylesheets/sammy/animations/flippers/_flipInX.scss +38 -0
  55. data/stylesheets/sammy/animations/flippers/_flipInY.scss +38 -0
  56. data/stylesheets/sammy/animations/flippers/_flipOutX.scss +32 -0
  57. data/stylesheets/sammy/animations/flippers/_flipOutY.scss +32 -0
  58. data/stylesheets/sammy/animations/rotating-entrances/_rotateIn.scss +33 -0
  59. data/stylesheets/sammy/animations/rotating-entrances/_rotateInDownLeft.scss +33 -0
  60. data/stylesheets/sammy/animations/rotating-entrances/_rotateInDownRight.scss +33 -0
  61. data/stylesheets/sammy/animations/rotating-entrances/_rotateInUpLeft.scss +33 -0
  62. data/stylesheets/sammy/animations/rotating-entrances/_rotateInUpRight.scss +33 -0
  63. data/stylesheets/sammy/animations/rotating-exits/_rotateOut.scss +33 -0
  64. data/stylesheets/sammy/animations/rotating-exits/_rotateOutDownLeft.scss +33 -0
  65. data/stylesheets/sammy/animations/rotating-exits/_rotateOutDownRight.scss +33 -0
  66. data/stylesheets/sammy/animations/rotating-exits/_rotateOutUpLeft.scss +33 -0
  67. data/stylesheets/sammy/animations/rotating-exits/_rotateOutUpRight.scss +33 -0
  68. data/stylesheets/sammy/animations/specials/_hinge.scss +48 -0
  69. data/stylesheets/sammy/animations/specials/_rollIn.scss +33 -0
  70. data/stylesheets/sammy/animations/specials/_rollOut.scss +33 -0
  71. data/stylesheets/sammy/css3/_animation.scss +75 -0
  72. data/stylesheets/sammy/css3/_backface-visibility.scss +14 -0
  73. data/stylesheets/sammy/css3/_transform.scss +27 -0
  74. data/stylesheets/sammy/css3/animation/_animation-delay.scss +18 -0
  75. data/stylesheets/sammy/css3/animation/_animation-direction.scss +18 -0
  76. data/stylesheets/sammy/css3/animation/_animation-duration.scss +17 -0
  77. data/stylesheets/sammy/css3/animation/_animation-fill-mode.scss +18 -0
  78. data/stylesheets/sammy/css3/animation/_animation-iteration-count.scss +18 -0
  79. data/stylesheets/sammy/css3/animation/_animation-name.scss +18 -0
  80. data/stylesheets/sammy/css3/animation/_animation-play-state.scss +18 -0
  81. data/stylesheets/sammy/css3/animation/_animation-timing-function.scss +18 -0
  82. data/stylesheets/sammy/utilities/_mixins.scss +12 -0
  83. data/templates/sammy/manifest.rb +2 -0
  84. data/templates/sammy/screen.scss +2 -0
  85. metadata +140 -0
@@ -0,0 +1,31 @@
1
+ @mixin fadeInRight($prefix) {
2
+ 0% {
3
+ opacity: 0;
4
+ @include transform(translateX(20px), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 1;
8
+ @include transform(translateX(0), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeInRight { @include fadeInRight(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeInRight { @include fadeInRight(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeInRight { @include fadeInRight(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeInRight { @include fadeInRight(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeInRight { @include fadeInRight(o); }
26
+ }
27
+ @keyframes fadeInRight { @include fadeInRight(none); }
28
+
29
+ .fadeInRight {
30
+ @include animation-name(fadeInRight);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeInRightBig($prefix) {
2
+ 0% {
3
+ opacity: 0;
4
+ @include transform(translateX(2000px), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 1;
8
+ @include transform(translateX(0), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeInRightBig { @include fadeInRightBig(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeInRightBig { @include fadeInRightBig(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeInRightBig { @include fadeInRightBig(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeInRightBig { @include fadeInRightBig(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeInRightBig { @include fadeInRightBig(o); }
26
+ }
27
+ @keyframes fadeInRightBig { @include fadeInRightBig(none); }
28
+
29
+ .fadeInRightBig {
30
+ @include animation-name(fadeInRightBig);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeInUp($prefix) {
2
+ 0% {
3
+ opacity: 0;
4
+ @include transform(translateY(20px), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 1;
8
+ @include transform(translateY(0), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeInUp { @include fadeInUp(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeInUp { @include fadeInUp(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeInUp { @include fadeInUp(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeInUp { @include fadeInUp(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeInUp { @include fadeInUp(o); }
26
+ }
27
+ @keyframes fadeInUp { @include fadeInUp(none); }
28
+
29
+ .fadeInUp {
30
+ @include animation-name(fadeInUp);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeInUpBig($prefix) {
2
+ 0% {
3
+ opacity: 0;
4
+ @include transform(translateY(2000px), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 1;
8
+ @include transform(translateY(0), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeInUpBig { @include fadeInUpBig(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeInUpBig { @include fadeInUpBig(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeInUpBig { @include fadeInUpBig(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeInUpBig { @include fadeInUpBig(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeInUpBig { @include fadeInUpBig(o); }
26
+ }
27
+ @keyframes fadeInUpBig { @include fadeInUpBig(none); }
28
+
29
+ .fadeInUpBig {
30
+ @include animation-name(fadeInUpBig);
31
+ }
@@ -0,0 +1,25 @@
1
+ @mixin fadeOut {
2
+ 0% { opacity: 1; }
3
+ 100% { opacity: 0; }
4
+ }
5
+
6
+ @if $experimental-support-for-webkit {
7
+ @-webkit-keyframes fadeOut { @include fadeOut; }
8
+ }
9
+ @if $experimental-support-for-khtml {
10
+ @-khtml-keyframes fadeOut { @include fadeOut; }
11
+ }
12
+ @if $experimental-support-for-mozilla {
13
+ @-moz-keyframes fadeOut { @include fadeOut; }
14
+ }
15
+ @if $experimental-support-for-microsoft {
16
+ @-ms-keyframes fadeOut { @include fadeOut; }
17
+ }
18
+ @if $experimental-support-for-opera {
19
+ @-o-keyframes fadeOut { @include fadeOut; }
20
+ }
21
+ @keyframes fadeOut { @include fadeOut; }
22
+
23
+ .fadeOut {
24
+ @include animation-name(fadeOut);
25
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutDown($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateY(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateY(20px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutDown { @include fadeOutDown(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutDown { @include fadeOutDown(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutDown { @include fadeOutDown(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutDown { @include fadeOutDown(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutDown { @include fadeOutDown(o); }
26
+ }
27
+ @keyframes fadeOutDown { @include fadeOutDown(none); }
28
+
29
+ .fadeOutDown {
30
+ @include animation-name(fadeOutDown);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutDownBig($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateY(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateY(2000px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutDownBig { @include fadeOutDownBig(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutDownBig { @include fadeOutDownBig(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutDownBig { @include fadeOutDownBig(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutDownBig { @include fadeOutDownBig(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutDownBig { @include fadeOutDownBig(o); }
26
+ }
27
+ @keyframes fadeOutDownBig { @include fadeOutDownBig(none); }
28
+
29
+ .fadeOutDownBig {
30
+ @include animation-name(fadeOutDownBig);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutLeft($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateX(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateX(-20px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutLeft { @include fadeOutLeft(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutLeft { @include fadeOutLeft(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutLeft { @include fadeOutLeft(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutLeft { @include fadeOutLeft(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutLeft { @include fadeOutLeft(o); }
26
+ }
27
+ @keyframes fadeOutLeft { @include fadeOutLeft(none); }
28
+
29
+ .fadeOutLeft {
30
+ @include animation-name(fadeOutLeft);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutLeftBig($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateX(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateX(-2000px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutLeftBig { @include fadeOutLeftBig(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutLeftBig { @include fadeOutLeftBig(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutLeftBig { @include fadeOutLeftBig(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutLeftBig { @include fadeOutLeftBig(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutLeftBig { @include fadeOutLeftBig(o); }
26
+ }
27
+ @keyframes fadeOutLeftBig { @include fadeOutLeftBig(none); }
28
+
29
+ .fadeOutLeftBig {
30
+ @include animation-name(fadeOutLeftBig);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutRight($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateX(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateX(20px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutRight { @include fadeOutRight(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutRight { @include fadeOutRight(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutRight { @include fadeOutRight(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutRight { @include fadeOutRight(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutRight { @include fadeOutRight(o); }
26
+ }
27
+ @keyframes fadeOutRight { @include fadeOutRight(none); }
28
+
29
+ .fadeOutRight {
30
+ @include animation-name(fadeOutRight);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutRightBig($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateX(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateX(2000px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutRightBig { @include fadeOutRightBig(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutRightBig { @include fadeOutRightBig(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutRightBig { @include fadeOutRightBig(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutRightBig { @include fadeOutRightBig(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutRightBig { @include fadeOutRightBig(o); }
26
+ }
27
+ @keyframes fadeOutRightBig { @include fadeOutRightBig(none); }
28
+
29
+ .fadeOutRightBig {
30
+ @include animation-name(fadeOutRightBig);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutUp($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateY(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateY(-20px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutUp { @include fadeOutUp(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutUp { @include fadeOutUp(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutUp { @include fadeOutUp(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutUp { @include fadeOutUp(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutUp { @include fadeOutUp(o); }
26
+ }
27
+ @keyframes fadeOutUp { @include fadeOutUp(none); }
28
+
29
+ .fadeOutUp {
30
+ @include animation-name(fadeOutUp);
31
+ }
@@ -0,0 +1,31 @@
1
+ @mixin fadeOutUpBig($prefix) {
2
+ 0% {
3
+ opacity: 1;
4
+ @include transform(translateY(0), $prefix);
5
+ }
6
+ 100% {
7
+ opacity: 0;
8
+ @include transform(translateY(-2000px), $prefix);
9
+ }
10
+ }
11
+
12
+ @if $experimental-support-for-webkit {
13
+ @-webkit-keyframes fadeOutUpBig { @include fadeOutUpBig(webkit); }
14
+ }
15
+ @if $experimental-support-for-khtml {
16
+ @-khtml-keyframes fadeOutUpBig { @include fadeOutUpBig(khtml); }
17
+ }
18
+ @if $experimental-support-for-mozilla {
19
+ @-moz-keyframes fadeOutUpBig { @include fadeOutUpBig(moz); }
20
+ }
21
+ @if $experimental-support-for-microsoft {
22
+ @-ms-keyframes fadeOutUpBig { @include fadeOutUpBig(ms); }
23
+ }
24
+ @if $experimental-support-for-opera {
25
+ @-o-keyframes fadeOutUpBig { @include fadeOutUpBig(o); }
26
+ }
27
+ @keyframes fadeOutUpBig { @include fadeOutUpBig(none); }
28
+
29
+ .fadeOutUpBig {
30
+ @include animation-name(fadeOutUpBig);
31
+ }
@@ -0,0 +1,44 @@
1
+ @mixin flip($prefix) {
2
+ 0% {
3
+ @include transform(perspective(400px) rotateY(0), $prefix);
4
+ @include animation-timing-function(ease-out, $prefix: $prefix);
5
+ }
6
+ 40% {
7
+ @include transform(perspective(400px) translateZ(150px) rotateY(170deg), $prefix);
8
+ @include animation-timing-function(ease-out, $prefix: $prefix);
9
+ }
10
+ 50% {
11
+ @include transform(perspective(400px) translateZ(150px) rotateY(190deg) scale(1), $prefix);
12
+ @include animation-timing-function(ease-in, $prefix: $prefix);
13
+ }
14
+ 80% {
15
+ @include transform(perspective(400px) rotateY(360deg) scale(.95), $prefix);
16
+ @include animation-timing-function(ease-in, $prefix: $prefix);
17
+ }
18
+ 100% {
19
+ @include transform(perspective(400px) scale(1), $prefix);
20
+ @include animation-timing-function(ease-in, $prefix: $prefix);
21
+ }
22
+ }
23
+
24
+ @if $experimental-support-for-webkit {
25
+ @-webkit-keyframes flip { @include flip(webkit); }
26
+ }
27
+ @if $experimental-support-for-khtml {
28
+ @-khtml-keyframes flip { @include flip(khtml); }
29
+ }
30
+ @if $experimental-support-for-mozilla {
31
+ @-moz-keyframes flip { @include flip(moz); }
32
+ }
33
+ @if $experimental-support-for-microsoft {
34
+ @-ms-keyframes flip { @include flip(ms); }
35
+ }
36
+ @if $experimental-support-for-opera {
37
+ @-o-keyframes flip { @include flip(o); }
38
+ }
39
+ @keyframes flip { @include flip(none); }
40
+
41
+ .flip {
42
+ @include animation-name(flip);
43
+ @include backface-visibility(visible !important);
44
+ }