saffron 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +1 -1
- data/README.md +16 -9
- data/app/assets/stylesheets/entrances/_drop-in.scss +5 -5
- data/app/assets/stylesheets/entrances/_fade-in-down.scss +3 -3
- data/app/assets/stylesheets/entrances/_fade-in-left.scss +3 -3
- data/app/assets/stylesheets/entrances/_fade-in-right.scss +3 -3
- data/app/assets/stylesheets/entrances/_fade-in-up.scss +3 -3
- data/app/assets/stylesheets/entrances/_fade-in-zoom-big.scss +6 -6
- data/app/assets/stylesheets/entrances/_fade-in-zoom.scss +4 -4
- data/app/assets/stylesheets/entrances/_fade-in.scss +3 -3
- data/app/assets/stylesheets/entrances/_newspaper.scss +4 -4
- data/app/assets/stylesheets/entrances/_pop-in.scss +4 -4
- data/app/assets/stylesheets/entrances/_rise-in.scss +3 -3
- data/app/assets/stylesheets/entrances/_slide-in.scss +10 -10
- data/app/assets/stylesheets/entrances/_stretch.scss +12 -12
- data/app/assets/stylesheets/entrances/_turn-in.scss +10 -10
- data/app/assets/stylesheets/exits/_compress.scss +9 -9
- data/app/assets/stylesheets/exits/_drop-out.scss +4 -4
- data/app/assets/stylesheets/exits/_explode.scss +4 -4
- data/app/assets/stylesheets/exits/_fade-out-down.scss +4 -4
- data/app/assets/stylesheets/exits/_fade-out-left.scss +3 -3
- data/app/assets/stylesheets/exits/_fade-out-right.scss +3 -3
- data/app/assets/stylesheets/exits/_fade-out-up.scss +4 -4
- data/app/assets/stylesheets/exits/_fade-out-zoom-big.scss +5 -5
- data/app/assets/stylesheets/exits/_fade-out-zoom.scss +4 -4
- data/app/assets/stylesheets/exits/_fade-out.scss +3 -3
- data/app/assets/stylesheets/exits/_poof.scss +4 -4
- data/app/assets/stylesheets/exits/_rise-out.scss +4 -4
- data/app/assets/stylesheets/exits/_slide-out.scss +8 -8
- data/app/assets/stylesheets/exits/_turn-out.scss +10 -10
- data/app/assets/stylesheets/helpers/_animation.scss +2 -2
- data/app/assets/stylesheets/helpers/_contains.scss +1 -1
- data/app/assets/stylesheets/helpers/_keyframes.scss +5 -5
- data/app/assets/stylesheets/helpers/_prefix.scss +3 -3
- data/app/assets/stylesheets/helpers/_transform.scss +6 -6
- data/app/assets/stylesheets/helpers/_transition.scss +4 -4
- data/app/assets/stylesheets/in-place/_around-the-world.scss +4 -4
- data/app/assets/stylesheets/in-place/_bounce.scss +8 -8
- data/app/assets/stylesheets/in-place/_colors.scss +3 -3
- data/app/assets/stylesheets/in-place/_contract.scss +2 -2
- data/app/assets/stylesheets/in-place/_cube-flip.scss +16 -16
- data/app/assets/stylesheets/in-place/_enlarge.scss +2 -2
- data/app/assets/stylesheets/in-place/_expand.scss +1 -1
- data/app/assets/stylesheets/in-place/_flip.scss +6 -6
- data/app/assets/stylesheets/in-place/_float.scss +5 -5
- data/app/assets/stylesheets/in-place/_ping.scss +5 -5
- data/app/assets/stylesheets/in-place/_pulsate.scss +4 -4
- data/app/assets/stylesheets/in-place/_quiver.scss +13 -13
- data/app/assets/stylesheets/in-place/_shake.scss +8 -8
- data/app/assets/stylesheets/in-place/_spin.scss +4 -4
- data/app/assets/stylesheets/in-place/_square-dance.scss +6 -6
- data/app/assets/stylesheets/in-place/_sunrise.scss +4 -4
- data/app/assets/stylesheets/in-place/_sway.scss +5 -5
- data/app/assets/stylesheets/in-place/_teeter.scss +9 -9
- data/bower.json +1 -1
- data/lib/saffron/version.rb +1 -1
- data/saffron/entrances/_drop-in.scss +5 -5
- data/saffron/entrances/_fade-in-down.scss +3 -3
- data/saffron/entrances/_fade-in-left.scss +3 -3
- data/saffron/entrances/_fade-in-right.scss +3 -3
- data/saffron/entrances/_fade-in-up.scss +3 -3
- data/saffron/entrances/_fade-in-zoom-big.scss +6 -6
- data/saffron/entrances/_fade-in-zoom.scss +4 -4
- data/saffron/entrances/_fade-in.scss +3 -3
- data/saffron/entrances/_newspaper.scss +4 -4
- data/saffron/entrances/_pop-in.scss +4 -4
- data/saffron/entrances/_rise-in.scss +3 -3
- data/saffron/entrances/_slide-in.scss +10 -10
- data/saffron/entrances/_stretch.scss +12 -12
- data/saffron/entrances/_turn-in.scss +10 -10
- data/saffron/exits/_compress.scss +9 -9
- data/saffron/exits/_drop-out.scss +4 -4
- data/saffron/exits/_explode.scss +4 -4
- data/saffron/exits/_fade-out-down.scss +4 -4
- data/saffron/exits/_fade-out-left.scss +3 -3
- data/saffron/exits/_fade-out-right.scss +3 -3
- data/saffron/exits/_fade-out-up.scss +4 -4
- data/saffron/exits/_fade-out-zoom-big.scss +5 -5
- data/saffron/exits/_fade-out-zoom.scss +4 -4
- data/saffron/exits/_fade-out.scss +3 -3
- data/saffron/exits/_poof.scss +4 -4
- data/saffron/exits/_rise-out.scss +4 -4
- data/saffron/exits/_slide-out.scss +8 -8
- data/saffron/exits/_turn-out.scss +10 -10
- data/saffron/helpers/_animation.scss +2 -2
- data/saffron/helpers/_contains.scss +1 -1
- data/saffron/helpers/_keyframes.scss +5 -5
- data/saffron/helpers/_prefix.scss +3 -3
- data/saffron/helpers/_transform.scss +6 -6
- data/saffron/helpers/_transition.scss +4 -4
- data/saffron/in-place/_around-the-world.scss +4 -4
- data/saffron/in-place/_bounce.scss +8 -8
- data/saffron/in-place/_colors.scss +3 -3
- data/saffron/in-place/_contract.scss +2 -2
- data/saffron/in-place/_cube-flip.scss +16 -16
- data/saffron/in-place/_enlarge.scss +2 -2
- data/saffron/in-place/_expand.scss +1 -1
- data/saffron/in-place/_flip.scss +6 -6
- data/saffron/in-place/_float.scss +5 -5
- data/saffron/in-place/_ping.scss +5 -5
- data/saffron/in-place/_pulsate.scss +4 -4
- data/saffron/in-place/_quiver.scss +13 -13
- data/saffron/in-place/_shake.scss +8 -8
- data/saffron/in-place/_spin.scss +4 -4
- data/saffron/in-place/_square-dance.scss +6 -6
- data/saffron/in-place/_sunrise.scss +4 -4
- data/saffron/in-place/_sway.scss +5 -5
- data/saffron/in-place/_teeter.scss +9 -9
- data/tasks/package.json +2 -2
- metadata +22 -44
@@ -1,7 +1,7 @@
|
|
1
|
-
@include keyframes(fadeInDown) {
|
1
|
+
@include u-keyframes(fadeInDown) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateY($saf-translateY-distance * -1) translateZ(0));
|
4
|
+
@include u-transform(translateY($saf-translateY-distance * -1) translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
@@ -9,5 +9,5 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeInDown($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeInDown $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeInDown $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
@include keyframes(fadeInLeft) {
|
1
|
+
@include u-keyframes(fadeInLeft) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateX($saf-translateX-distance * -1) translateZ(0));
|
4
|
+
@include u-transform(translateX($saf-translateX-distance * -1) translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
@@ -9,5 +9,5 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeInLeft($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeInLeft $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeInLeft $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
@include keyframes(fadeInRight) {
|
1
|
+
@include u-keyframes(fadeInRight) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateX($saf-translateX-distance) translateZ(0));
|
4
|
+
@include u-transform(translateX($saf-translateX-distance) translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
@@ -9,5 +9,5 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeInRight($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeInRight $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeInRight $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
@include keyframes(fadeInUp) {
|
1
|
+
@include u-keyframes(fadeInUp) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateY($saf-translateY-distance) translateZ(0));
|
4
|
+
@include u-transform(translateY($saf-translateY-distance) translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
@@ -9,5 +9,5 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeInUp($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeInUp $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeInUp $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,20 +1,20 @@
|
|
1
|
-
@include keyframes(fadeInZoomBig) {
|
1
|
+
@include u-keyframes(fadeInZoomBig) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(scale(0));
|
4
|
+
@include u-transform(scale(0));
|
5
5
|
}
|
6
6
|
60% {
|
7
|
-
@include transform(scale(1.25));
|
7
|
+
@include u-transform(scale(1.25));
|
8
8
|
}
|
9
9
|
80% {
|
10
|
-
@include transform(scale(0.95));
|
10
|
+
@include u-transform(scale(0.95));
|
11
11
|
}
|
12
12
|
100% {
|
13
13
|
opacity: 1;
|
14
|
-
@include transform(scale(1));
|
14
|
+
@include u-transform(scale(1));
|
15
15
|
}
|
16
16
|
}
|
17
17
|
|
18
18
|
@mixin fadeInZoomBig($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
19
|
-
@include animation(fadeInZoomBig $duration $delay $fill-mode);
|
19
|
+
@include u-animation(fadeInZoomBig $duration $delay $fill-mode);
|
20
20
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(fadeInZoom) {
|
1
|
+
@include u-keyframes(fadeInZoom) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(scale(0) translateZ(0));
|
4
|
+
@include u-transform(scale(0) translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
8
|
-
@include transform(scale(1));
|
8
|
+
@include u-transform(scale(1));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin fadeInZoom($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
13
|
-
@include animation(fadeInZoom $duration $delay $fill-mode);
|
13
|
+
@include u-animation(fadeInZoom $duration $delay $fill-mode);
|
14
14
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
@include keyframes(fadeIn) {
|
1
|
+
@include u-keyframes(fadeIn) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateZ(0));
|
4
|
+
@include u-transform(translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
@@ -9,5 +9,5 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeIn($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeIn $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeIn $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(newspaper) {
|
1
|
+
@include u-keyframes(newspaper) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(rotate(720deg) scale(0.33) translateZ(0));
|
4
|
+
@include u-transform(rotate(720deg) scale(0.33) translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
8
|
-
@include transform(rotate(0deg) scale(1));
|
8
|
+
@include u-transform(rotate(0deg) scale(1));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin newspaper($duration: 1s, $delay: 0s, $fill-mode: both, $count: 1, $timing: ease-in-out) {
|
13
|
-
@include animation(newspaper $count $duration $delay $fill-mode $timing);
|
13
|
+
@include u-animation(newspaper $count $duration $delay $fill-mode $timing);
|
14
14
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(popIn) {
|
1
|
+
@include u-keyframes(popIn) {
|
2
2
|
0% {
|
3
|
-
@include transform(scale(0.25) translateZ(0));
|
3
|
+
@include u-transform(scale(0.25) translateZ(0));
|
4
4
|
opacity: 0;
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
8
|
-
@include transform(scale(1));
|
8
|
+
@include u-transform(scale(1));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin popIn($duration: 0.5s, $delay: 0s, $fill-mode: forwards) {
|
13
|
-
@include animation(popIn $duration $delay $fill-mode);
|
13
|
+
@include u-animation(popIn $duration $delay $fill-mode);
|
14
14
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
@include keyframes(riseIn) {
|
1
|
+
@include u-keyframes(riseIn) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateY($saf-drop-rise-distance) translateZ(0));
|
4
|
+
@include u-transform(translateY($saf-drop-rise-distance) translateZ(0));
|
5
5
|
}
|
6
6
|
50% {
|
7
7
|
opacity: 1
|
@@ -9,5 +9,5 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin riseIn($duration: 0.5s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(riseIn $duration $delay $fill-mode);
|
12
|
+
@include u-animation(riseIn $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,35 +1,35 @@
|
|
1
|
-
@include keyframes(slideInLeft) {
|
1
|
+
@include u-keyframes(slideInLeft) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateX($saf-translateX-distance * -10) translateZ(0));
|
4
|
+
@include u-transform(translateX($saf-translateX-distance * -10) translateZ(0));
|
5
5
|
}
|
6
6
|
65% {
|
7
7
|
opacity: 1;
|
8
|
-
@include transform(translateX($saf-translateX-distance));
|
8
|
+
@include u-transform(translateX($saf-translateX-distance));
|
9
9
|
}
|
10
10
|
100% {
|
11
|
-
@include transform(translateX(0));
|
11
|
+
@include u-transform(translateX(0));
|
12
12
|
}
|
13
13
|
}
|
14
14
|
|
15
15
|
@mixin slideInLeft($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
16
|
-
@include animation(slideInLeft $duration $delay $fill-mode);
|
16
|
+
@include u-animation(slideInLeft $duration $delay $fill-mode);
|
17
17
|
}
|
18
18
|
|
19
|
-
@include keyframes(slideInRight) {
|
19
|
+
@include u-keyframes(slideInRight) {
|
20
20
|
0% {
|
21
21
|
opacity: 0;
|
22
|
-
@include transform(translateX($saf-translateX-distance * 10) translateZ(0));
|
22
|
+
@include u-transform(translateX($saf-translateX-distance * 10) translateZ(0));
|
23
23
|
}
|
24
24
|
65% {
|
25
25
|
opacity: 1;
|
26
|
-
@include transform(translateX($saf-translateX-distance * -1));
|
26
|
+
@include u-transform(translateX($saf-translateX-distance * -1));
|
27
27
|
}
|
28
28
|
100% {
|
29
|
-
@include transform(translateX(0));
|
29
|
+
@include u-transform(translateX(0));
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
33
33
|
@mixin slideInRight($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
34
|
-
@include animation(slideInRight $duration $delay $fill-mode);
|
34
|
+
@include u-animation(slideInRight $duration $delay $fill-mode);
|
35
35
|
}
|
@@ -1,33 +1,33 @@
|
|
1
|
-
@include keyframes(stretch) {
|
1
|
+
@include u-keyframes(stretch) {
|
2
2
|
0% {
|
3
|
-
@include transform(scaleY(0));
|
3
|
+
@include u-transform(scaleY(0));
|
4
4
|
}
|
5
5
|
40% {
|
6
|
-
@include transform(scaleY($saf-stretch-compress-exageration));
|
6
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration));
|
7
7
|
}
|
8
8
|
60% {
|
9
|
-
@include transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .075)));
|
9
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .075)));
|
10
10
|
}
|
11
11
|
80% {
|
12
|
-
@include transform(scaleY($saf-stretch-compress-exageration));
|
12
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration));
|
13
13
|
}
|
14
14
|
100% {
|
15
|
-
@include transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .075)));
|
15
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .075)));
|
16
16
|
}
|
17
17
|
80% {
|
18
|
-
@include transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .025)));
|
18
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .025)));
|
19
19
|
}
|
20
20
|
100% {
|
21
|
-
@include transform(scaleY(1));
|
21
|
+
@include u-transform(scaleY(1));
|
22
22
|
}
|
23
23
|
}
|
24
24
|
|
25
25
|
@mixin stretchUp($duration: 1.75s, $delay: 0s, $count: 1, $fill-mode: both, $timing: ease-out) {
|
26
|
-
@include animation(stretch $count $duration $delay $fill-mode $timing);
|
27
|
-
@include prefix(transform-origin, 0 100%, webkit moz spec);
|
26
|
+
@include u-animation(stretch $count $duration $delay $fill-mode $timing);
|
27
|
+
@include u-prefix(u-transform-origin, 0 100%, webkit moz spec);
|
28
28
|
}
|
29
29
|
|
30
30
|
@mixin stretchDown($duration: 1.75s, $delay: 0s, $count: 1, $fill-mode: both, $timing: ease-out) {
|
31
|
-
@include animation(stretch $count $duration $delay $fill-mode $timing);
|
32
|
-
@include prefix(transform-origin, 0 0, webkit moz spec);
|
31
|
+
@include u-animation(stretch $count $duration $delay $fill-mode $timing);
|
32
|
+
@include u-prefix(u-transform-origin, 0 0, webkit moz spec);
|
33
33
|
}
|
@@ -1,31 +1,31 @@
|
|
1
|
-
@include keyframes(turnInDown) {
|
1
|
+
@include u-keyframes(turnInDown) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(perspective(500px) rotateX($saf-turn-angle * -1) translateZ(150px));
|
4
|
+
@include u-transform(perspective(500px) rotateX($saf-turn-angle * -1) translateZ(150px));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 1;
|
8
|
-
@include transform(perspective(800px) rotateX(0deg) translateZ(0));
|
9
|
-
@include prefix(backface-visibility, hidden, webkit moz spec);
|
8
|
+
@include u-transform(perspective(800px) rotateX(0deg) translateZ(0));
|
9
|
+
@include u-prefix(backface-visibility, hidden, webkit moz spec);
|
10
10
|
}
|
11
11
|
}
|
12
12
|
|
13
13
|
@mixin turnInDown($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
14
|
-
@include animation(turnInDown $duration $delay $fill-mode);
|
14
|
+
@include u-animation(turnInDown $duration $delay $fill-mode);
|
15
15
|
}
|
16
16
|
|
17
|
-
@include keyframes(turnInUp) {
|
17
|
+
@include u-keyframes(turnInUp) {
|
18
18
|
0% {
|
19
19
|
opacity: 0;
|
20
|
-
@include transform(perspective(500px) rotateX($saf-turn-angle) translateZ(150px));
|
20
|
+
@include u-transform(perspective(500px) rotateX($saf-turn-angle) translateZ(150px));
|
21
21
|
}
|
22
22
|
100% {
|
23
23
|
opacity: 1;
|
24
|
-
@include transform(perspective(800px) rotateX(0deg) translateZ(0));
|
25
|
-
@include prefix(backface-visibility, hidden, webkit moz spec);
|
24
|
+
@include u-transform(perspective(800px) rotateX(0deg) translateZ(0));
|
25
|
+
@include u-prefix(backface-visibility, hidden, webkit moz spec);
|
26
26
|
}
|
27
27
|
}
|
28
28
|
|
29
29
|
@mixin turnInUp($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
30
|
-
@include animation(turnInUp $duration $delay $fill-mode);
|
30
|
+
@include u-animation(turnInUp $duration $delay $fill-mode);
|
31
31
|
}
|
@@ -1,25 +1,25 @@
|
|
1
|
-
@include keyframes(compress) {
|
1
|
+
@include u-keyframes(compress) {
|
2
2
|
0% {
|
3
|
-
@include transform(scaleY(1) translateZ(0));
|
3
|
+
@include u-transform(scaleY(1) translateZ(0));
|
4
4
|
}
|
5
5
|
30% {
|
6
|
-
@include transform(scaleY($saf-stretch-compress-exageration));
|
6
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration));
|
7
7
|
}
|
8
8
|
50% {
|
9
|
-
@include transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .075)));
|
9
|
+
@include u-transform(scaleY($saf-stretch-compress-exageration - ($saf-stretch-compress-exageration * .075)));
|
10
10
|
}
|
11
11
|
100% {
|
12
|
-
@include transform(scaleY(0));
|
12
|
+
@include u-transform(scaleY(0));
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
16
16
|
@mixin compressUp($duration: 0.7s, $delay: 0s, $count: 1, $fill-mode: both, $timing: ease-out) {
|
17
|
-
@include animation(compress $count $duration $delay $fill-mode $timing);
|
18
|
-
@include prefix(transform-origin, 0 0, webkit moz spec);
|
17
|
+
@include u-animation(compress $count $duration $delay $fill-mode $timing);
|
18
|
+
@include prefix(u-transform-origin, 0 0, webkit moz spec);
|
19
19
|
}
|
20
20
|
|
21
21
|
@mixin compressDown($duration: 0.7s, $delay: 0s, $count: 1, $fill-mode: both, $timing: ease-out) {
|
22
|
-
@include animation(compress $count $duration $delay $fill-mode $timing);
|
23
|
-
@include prefix(transform-origin, 0 100%, webkit moz spec);
|
22
|
+
@include u-animation(compress $count $duration $delay $fill-mode $timing);
|
23
|
+
@include prefix(u-transform-origin, 0 100%, webkit moz spec);
|
24
24
|
}
|
25
25
|
|
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(dropOut) {
|
1
|
+
@include u-keyframes(dropOut) {
|
2
2
|
0% {
|
3
3
|
opacity: 1;
|
4
|
-
@include transform(translateZ(0));
|
4
|
+
@include u-transform(translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 0;
|
8
|
-
@include transform(translateY($saf-drop-rise-distance) rotate(-40deg));
|
8
|
+
@include u-transform(translateY($saf-drop-rise-distance) rotate(-40deg));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin dropOut($duration: 0.5s, $delay: 0s, $fill-mode: forwards) {
|
13
|
-
@include animation(dropOut $duration $delay $fill-mode);
|
13
|
+
@include u-animation(dropOut $duration $delay $fill-mode);
|
14
14
|
}
|
data/saffron/exits/_explode.scss
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(explode) {
|
1
|
+
@include u-keyframes(explode) {
|
2
2
|
0% {
|
3
3
|
opacity: 1;
|
4
|
-
@include transform(translateZ(0));
|
4
|
+
@include u-transform(translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 0;
|
8
|
-
@include transform(scale(5));
|
8
|
+
@include u-transform(scale(5));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin explode($duration: 0.5s, $delay: 0s, $fill-mode: forwards) {
|
13
|
-
@include animation(explode $duration $delay $fill-mode);
|
13
|
+
@include u-animation(explode $duration $delay $fill-mode);
|
14
14
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(fadeOutDown) {
|
1
|
+
@include u-keyframes(fadeOutDown) {
|
2
2
|
0% {
|
3
3
|
opacity: 1;
|
4
|
-
@include transform(translateZ(0));
|
4
|
+
@include u-transform(translateZ(0));
|
5
5
|
}
|
6
6
|
100% {
|
7
7
|
opacity: 0;
|
8
|
-
@include transform(translateY($saf-translateY-distance));
|
8
|
+
@include u-transform(translateY($saf-translateY-distance));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin fadeOutDown($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
13
|
-
@include animation(fadeOutDown $duration $delay $fill-mode);
|
13
|
+
@include u-animation(fadeOutDown $duration $delay $fill-mode);
|
14
14
|
}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
@include keyframes(fadeOutLeft) {
|
1
|
+
@include u-keyframes(fadeOutLeft) {
|
2
2
|
0% {
|
3
3
|
opacity: 1;
|
4
4
|
}
|
5
5
|
100% {
|
6
6
|
opacity: 0;
|
7
|
-
@include transform(translateX($saf-translateX-distance * -1) translateZ(0));
|
7
|
+
@include u-transform(translateX($saf-translateX-distance * -1) translateZ(0));
|
8
8
|
}
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeOutLeft($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeOutLeft $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeOutLeft $duration $delay $fill-mode);
|
13
13
|
}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
@include keyframes(fadeOutRight) {
|
1
|
+
@include u-keyframes(fadeOutRight) {
|
2
2
|
0% {
|
3
3
|
opacity: 1;
|
4
4
|
}
|
5
5
|
100% {
|
6
6
|
opacity: 0;
|
7
|
-
@include transform(translateX($saf-translateX-distance) translateZ(0));
|
7
|
+
@include u-transform(translateX($saf-translateX-distance) translateZ(0));
|
8
8
|
}
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin fadeOutRight($duration: 1s, $delay: 0s, $fill-mode: forwards) {
|
12
|
-
@include animation(fadeOutRight $duration $delay $fill-mode);
|
12
|
+
@include u-animation(fadeOutRight $duration $delay $fill-mode);
|
13
13
|
}
|