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,6 +1,6 @@
|
|
1
1
|
@mixin backgroundColor($from, $to, $selector: ":hover", $duration: 1.5s, $delay: 0s) {
|
2
2
|
background-color: $from;
|
3
|
-
@include transition(background-color $duration $delay);
|
3
|
+
@include u-transition(background-color $duration $delay);
|
4
4
|
&#{$selector} {
|
5
5
|
background-color: $to;
|
6
6
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
@mixin borderColor($from, $to, $selector: ":hover", $duration: 1.5s, $delay: 0s) {
|
10
10
|
border-color: $from;
|
11
|
-
@include transition(border-color $duration $delay);
|
11
|
+
@include u-transition(border-color $duration $delay);
|
12
12
|
&#{$selector} {
|
13
13
|
border-color: $to;
|
14
14
|
}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
@mixin color($from, $to, $selector: ":hover", $duration: 1.5s, $delay: 0s) {
|
18
18
|
color: $from;
|
19
|
-
@include transition(color $duration $delay);
|
19
|
+
@include u-transition(color $duration $delay);
|
20
20
|
&#{$selector} {
|
21
21
|
color: $to;
|
22
22
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@mixin contract($selector: ":hover", $duration: 0.5s, $delay: 0s, $timing: cubic-bezier(1.000, -0.600, 0.595, 0.835)) {
|
2
|
-
@include transition(all $duration $delay $timing);
|
2
|
+
@include u-transition(all $duration $delay $timing);
|
3
3
|
&#{$selector} {
|
4
|
-
@include transform(translateY($saf-enlarge-contract-jump) scale(1 / $saf-enlarge-contract-multiple));
|
4
|
+
@include u-transform(translateY($saf-enlarge-contract-jump) scale(1 / $saf-enlarge-contract-multiple));
|
5
5
|
}
|
6
6
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@mixin cubeFlipUp($selector: ".flipUp", $duration: 0.5s, $delay: 0s, $timing: cubic-bezier(0.905, -0.190, 0.480, 0.995)) {
|
2
2
|
position: relative;
|
3
|
-
@include prefix(transform-style, preserve-3d, webkit spec);
|
4
|
-
@include transition(all $duration $delay $timing);
|
3
|
+
@include u-prefix(transform-style, preserve-3d, webkit spec);
|
4
|
+
@include u-transition(all $duration $delay $timing);
|
5
5
|
&#{$selector} {
|
6
|
-
@include transform(rotateX(-90deg) translateY(100%) translateZ(0));
|
7
|
-
@include prefix(transform-origin, 50% 100%, webkit moz spec);
|
6
|
+
@include u-transform(rotateX(-90deg) translateY(100%) translateZ(0));
|
7
|
+
@include u-prefix(transform-origin, 50% 100%, webkit moz spec);
|
8
8
|
}
|
9
9
|
&::before,
|
10
10
|
&::after {
|
@@ -16,23 +16,23 @@
|
|
16
16
|
}
|
17
17
|
&::before {
|
18
18
|
top: 100%;
|
19
|
-
@include transform(rotateX(-90deg));
|
20
|
-
@include prefix(transform-origin, 0 0, webkit moz spec);
|
19
|
+
@include u-transform(rotateX(-90deg));
|
20
|
+
@include u-prefix(transform-origin, 0 0, webkit moz spec);
|
21
21
|
}
|
22
22
|
&::after {
|
23
23
|
top: -100%;
|
24
|
-
@include transform(rotateX(90deg));
|
25
|
-
@include prefix(transform-origin, 0 100%, webkit moz spec);
|
24
|
+
@include u-transform(rotateX(90deg));
|
25
|
+
@include u-prefix(transform-origin, 0 100%, webkit moz spec);
|
26
26
|
}
|
27
27
|
}
|
28
28
|
|
29
29
|
@mixin cubeFlipDown($selector: ".flipDown", $duration: 0.5s, $delay: 0s, $timing: cubic-bezier(0.905, -0.190, 0.480, 0.995)) {
|
30
30
|
position: relative;
|
31
|
-
@include prefix(transform-style, preserve-3d, webkit spec);
|
32
|
-
@include transition(all $duration $delay $timing);
|
31
|
+
@include u-prefix(transform-style, preserve-3d, webkit spec);
|
32
|
+
@include u-transition(all $duration $delay $timing);
|
33
33
|
&#{$selector} {
|
34
|
-
@include transform(rotateX(90deg) translateY(-100%) translateZ(0));
|
35
|
-
@include prefix(transform-origin, 50% 0, webkit moz spec);
|
34
|
+
@include u-transform(rotateX(90deg) translateY(-100%) translateZ(0));
|
35
|
+
@include u-prefix(transform-origin, 50% 0, webkit moz spec);
|
36
36
|
}
|
37
37
|
&::before,
|
38
38
|
&::after {
|
@@ -44,12 +44,12 @@
|
|
44
44
|
}
|
45
45
|
&::before {
|
46
46
|
top: 100%;
|
47
|
-
@include transform(rotateX(-90deg));
|
48
|
-
@include prefix(transform-origin, 0 0, webkit moz spec);
|
47
|
+
@include u-transform(rotateX(-90deg));
|
48
|
+
@include u-prefix(transform-origin, 0 0, webkit moz spec);
|
49
49
|
}
|
50
50
|
&::after {
|
51
51
|
top: -100%;
|
52
|
-
@include transform(rotateX(90deg));
|
53
|
-
@include prefix(transform-origin, 0 100%, webkit moz spec);
|
52
|
+
@include u-transform(rotateX(90deg));
|
53
|
+
@include u-prefix(transform-origin, 0 100%, webkit moz spec);
|
54
54
|
}
|
55
55
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@mixin enlarge($selector: ":hover", $duration: 0.5s, $delay: 0s, $timing: cubic-bezier(1.000, -0.600, 0.595, 0.835)) {
|
2
|
-
@include transition(all $duration $delay $timing);
|
2
|
+
@include u-transition(all $duration $delay $timing);
|
3
3
|
&#{$selector} {
|
4
|
-
@include transform(translateY($saf-enlarge-contract-jump * -1) scale($saf-enlarge-contract-multiple));
|
4
|
+
@include u-transform(translateY($saf-enlarge-contract-jump * -1) scale($saf-enlarge-contract-multiple));
|
5
5
|
}
|
6
6
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@mixin expand($direction, $amount: 1em, $selector: ":hover", $duration: 0.5s, $delay: 0s, $timing: cubic-bezier(0.680, -0.550, 0.275, 1.465)) {
|
2
|
-
@include transition(padding-#{$direction} $duration $delay $timing);
|
2
|
+
@include u-transition(padding-#{$direction} $duration $delay $timing);
|
3
3
|
&#{$selector} {
|
4
4
|
padding-#{$direction}: $amount;
|
5
5
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@mixin flip($selector: ".flipped", $duration: 0.5s, $delay: 0s, $fill-mode: both, $count: 1, $timing: ease-in) {
|
2
2
|
position: relative;
|
3
|
-
@include prefix(transform-style, preserve-3d, webkit spec);
|
4
|
-
@include transition(all $duration $delay $timing);
|
5
|
-
@include prefix(backface-visibility, hidden, webkit moz spec);
|
3
|
+
@include u-prefix(transform-style, preserve-3d, webkit spec);
|
4
|
+
@include u-transition(all $duration $delay $timing);
|
5
|
+
@include u-prefix(backface-visibility, hidden, webkit moz spec);
|
6
6
|
&#{$selector} {
|
7
|
-
@include transform(rotateY(180deg)translateZ(0));
|
7
|
+
@include u-transform(rotateY(180deg)translateZ(0));
|
8
8
|
}
|
9
9
|
&::after {
|
10
10
|
content: '';
|
@@ -12,8 +12,8 @@
|
|
12
12
|
left: 0;
|
13
13
|
height: 100%;
|
14
14
|
width: 100%;
|
15
|
-
@include prefix(backface-visibility, inherit, webkit moz spec);
|
16
|
-
@include transform(rotateY(180deg));
|
15
|
+
@include u-prefix(backface-visibility, inherit, webkit moz spec);
|
16
|
+
@include u-transform(rotateY(180deg));
|
17
17
|
}
|
18
18
|
}
|
19
19
|
|
@@ -1,17 +1,17 @@
|
|
1
|
-
@include keyframes(float) {
|
1
|
+
@include u-keyframes(float) {
|
2
2
|
0%, 50%, 100% {
|
3
|
-
@include transform(translateY($saf-float-bob-distance * -1) translateZ(0));
|
3
|
+
@include u-transform(translateY($saf-float-bob-distance * -1) translateZ(0));
|
4
4
|
}
|
5
5
|
25% {
|
6
|
-
@include transform(translateY($saf-float-bob-distance) rotate($saf-float-bob-angle));
|
6
|
+
@include u-transform(translateY($saf-float-bob-distance) rotate($saf-float-bob-angle));
|
7
7
|
}
|
8
8
|
75% {
|
9
|
-
@include transform(translateY($saf-float-bob-distance) rotate($saf-float-bob-angle * -1));
|
9
|
+
@include u-transform(translateY($saf-float-bob-distance) rotate($saf-float-bob-angle * -1));
|
10
10
|
}
|
11
11
|
}
|
12
12
|
|
13
13
|
@mixin float($duration: 5s, $delay: 0s, $fill-mode: none, $count: infinite, $timing: ease-in-out) {
|
14
14
|
// hack to fix jagged edges
|
15
15
|
outline: 1px solid transparent;
|
16
|
-
@include animation(float $count $duration $delay $fill-mode $timing);
|
16
|
+
@include u-animation(float $count $duration $delay $fill-mode $timing);
|
17
17
|
}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
@include keyframes(ping) {
|
1
|
+
@include u-keyframes(ping) {
|
2
2
|
0% {
|
3
|
-
@include transform(scale(0));
|
3
|
+
@include u-transform(scale(0));
|
4
4
|
}
|
5
5
|
100% {
|
6
|
-
@include transform(scale(1));
|
6
|
+
@include u-transform(scale(1));
|
7
7
|
opacity: 0;
|
8
8
|
}
|
9
9
|
}
|
10
10
|
|
11
11
|
@mixin ping($duration: 1.5s, $delay: 0s, $fill-mode: none, $count: infinite, $timing: ease-in-out) {
|
12
|
-
@include animation(ping $count $duration $delay $fill-mode $timing);
|
13
|
-
}
|
12
|
+
@include u-animation(ping $count $duration $delay $fill-mode $timing);
|
13
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
@include keyframes(pulsate) {
|
1
|
+
@include u-keyframes(pulsate) {
|
2
2
|
0%, 100% {
|
3
3
|
opacity: 1;
|
4
|
-
@include transform(scale(1) translateZ(0));
|
4
|
+
@include u-transform(scale(1) translateZ(0));
|
5
5
|
}
|
6
6
|
50% {
|
7
7
|
opacity: 0.85;
|
8
|
-
@include transform(scale($saf-pulsate-scale));
|
8
|
+
@include u-transform(scale($saf-pulsate-scale));
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
12
|
@mixin pulsate($duration: 1.5s, $delay: 0s, $fill-mode: none, $count: 3) {
|
13
|
-
@include animation(pulsate $count $duration $delay $fill-mode);
|
13
|
+
@include u-animation(pulsate $count $duration $delay $fill-mode);
|
14
14
|
}
|
@@ -1,36 +1,36 @@
|
|
1
|
-
@include keyframes(quiver) {
|
1
|
+
@include u-keyframes(quiver) {
|
2
2
|
0%{
|
3
|
-
@include transform(translate3d(2px, 1px, 0) rotate(0deg));
|
3
|
+
@include u-transform(translate3d(2px, 1px, 0) rotate(0deg));
|
4
4
|
}
|
5
5
|
10% {
|
6
|
-
@include transform(translate3d(-1px, 2px, 0) rotate($saf-quiver-angle));
|
6
|
+
@include u-transform(translate3d(-1px, 2px, 0) rotate($saf-quiver-angle));
|
7
7
|
}
|
8
8
|
20% {
|
9
|
-
@include transform(translate3d(-3px, 0) rotate($saf-quiver-angle * -1));
|
9
|
+
@include u-transform(translate3d(-3px, 0) rotate($saf-quiver-angle * -1));
|
10
10
|
}
|
11
11
|
30% {
|
12
|
-
@include transform(translate3d(0, 2px, 0) rotate(0deg));
|
12
|
+
@include u-transform(translate3d(0, 2px, 0) rotate(0deg));
|
13
13
|
}
|
14
14
|
40% {
|
15
|
-
@include transform(translate3d(1px, -1px, 0) rotate($saf-quiver-angle));
|
15
|
+
@include u-transform(translate3d(1px, -1px, 0) rotate($saf-quiver-angle));
|
16
16
|
}
|
17
17
|
50% {
|
18
|
-
@include transform(translate3d(-1px, 2px, 0) rotate($saf-quiver-angle * -1));
|
18
|
+
@include u-transform(translate3d(-1px, 2px, 0) rotate($saf-quiver-angle * -1));
|
19
19
|
}
|
20
20
|
60% {
|
21
|
-
@include transform(translate3d(-3px, 1px, 0) rotate(0deg));
|
21
|
+
@include u-transform(translate3d(-3px, 1px, 0) rotate(0deg));
|
22
22
|
}
|
23
23
|
70% {
|
24
|
-
@include transform(translate3d(2px, 1px, 0) rotate($saf-quiver-angle));
|
24
|
+
@include u-transform(translate3d(2px, 1px, 0) rotate($saf-quiver-angle));
|
25
25
|
}
|
26
26
|
80% {
|
27
|
-
@include transform(translate3d(-1px, -1px, 0) rotate($saf-quiver-angle * -1));
|
27
|
+
@include u-transform(translate3d(-1px, -1px, 0) rotate($saf-quiver-angle * -1));
|
28
28
|
}
|
29
29
|
90% {
|
30
|
-
@include transform(translate3d(2px, 2px, 0) rotate(0deg));
|
30
|
+
@include u-transform(translate3d(2px, 2px, 0) rotate(0deg));
|
31
31
|
}
|
32
32
|
100% {
|
33
|
-
@include transform(translate3d(1px, -2px, 0) rotate($saf-quiver-angle));
|
33
|
+
@include u-transform(translate3d(1px, -2px, 0) rotate($saf-quiver-angle));
|
34
34
|
}
|
35
35
|
|
36
36
|
}
|
@@ -38,5 +38,5 @@
|
|
38
38
|
@mixin quiver($duration: 0.75s, $delay: 0s, $fill-mode: none, $count: infinite) {
|
39
39
|
// hack to fix jagged edges
|
40
40
|
outline: 1px solid transparent;
|
41
|
-
@include animation(quiver $duration $delay $fill-mode $count);
|
41
|
+
@include u-animation(quiver $duration $delay $fill-mode $count);
|
42
42
|
}
|
@@ -1,24 +1,24 @@
|
|
1
|
-
@include keyframes(shake) {
|
1
|
+
@include u-keyframes(shake) {
|
2
2
|
0%, 100% {
|
3
|
-
@include transform(translateX(0) translateZ(0));
|
3
|
+
@include u-transform(translateX(0) translateZ(0));
|
4
4
|
}
|
5
5
|
15% {
|
6
|
-
@include transform(translateX($saf-shake-distance));
|
6
|
+
@include u-transform(translateX($saf-shake-distance));
|
7
7
|
}
|
8
8
|
35% {
|
9
|
-
@include transform(translateX($saf-shake-distance * -1));
|
9
|
+
@include u-transform(translateX($saf-shake-distance * -1));
|
10
10
|
}
|
11
11
|
50% {
|
12
|
-
@include transform(translateX($saf-shake-distance / 2));
|
12
|
+
@include u-transform(translateX($saf-shake-distance / 2));
|
13
13
|
}
|
14
14
|
65% {
|
15
|
-
@include transform(translateX($saf-shake-distance / 2 * -1));
|
15
|
+
@include u-transform(translateX($saf-shake-distance / 2 * -1));
|
16
16
|
}
|
17
17
|
85% {
|
18
|
-
@include transform(translateX($saf-shake-distance / 3));
|
18
|
+
@include u-transform(translateX($saf-shake-distance / 3));
|
19
19
|
}
|
20
20
|
}
|
21
21
|
|
22
22
|
@mixin shake($duration: 0.5s, $delay: 0s, $fill-mode: none, $count: 1) {
|
23
|
-
@include animation(shake $duration $delay $fill-mode $count);
|
23
|
+
@include u-animation(shake $duration $delay $fill-mode $count);
|
24
24
|
}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
@include keyframes(spin) {
|
1
|
+
@include u-keyframes(spin) {
|
2
2
|
0% {
|
3
|
-
@include transform(rotate(0deg) translateZ(0));
|
3
|
+
@include u-transform(rotate(0deg) translateZ(0));
|
4
4
|
}
|
5
5
|
100% {
|
6
|
-
@include transform(rotate(360deg));
|
6
|
+
@include u-transform(rotate(360deg));
|
7
7
|
}
|
8
8
|
}
|
9
9
|
|
10
10
|
@mixin spin($duration: 0.5s, $delay: 0s, $fill-mode: none, $count: 1, $timing: ease-in-out) {
|
11
|
-
@include animation(spin $count $duration $delay $fill-mode $timing);
|
11
|
+
@include u-animation(spin $count $duration $delay $fill-mode $timing);
|
12
12
|
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
@include keyframes(squareDance) {
|
1
|
+
@include u-keyframes(squareDance) {
|
2
2
|
0%, 100% {
|
3
|
-
@include transform(translate3d(100%, 0, 0));
|
3
|
+
@include u-transform(translate3d(100%, 0, 0));
|
4
4
|
}
|
5
5
|
25% {
|
6
|
-
@include transform(translate3d(100%, 100%, 0));
|
6
|
+
@include u-transform(translate3d(100%, 100%, 0));
|
7
7
|
}
|
8
8
|
50% {
|
9
|
-
@include transform(translate3d(0, 100%, 0));
|
9
|
+
@include u-transform(translate3d(0, 100%, 0));
|
10
10
|
}
|
11
11
|
75% {
|
12
|
-
@include transform(translate3d(0, 0, 0));
|
12
|
+
@include u-transform(translate3d(0, 0, 0));
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
16
16
|
@mixin squareDance($duration: 3s, $delay: 0s, $fill-mode: none, $count: infinite, $timing: ease-in-out) {
|
17
|
-
@include animation(squareDance $count $duration $delay $fill-mode $timing);
|
17
|
+
@include u-animation(squareDance $count $duration $delay $fill-mode $timing);
|
18
18
|
}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
@include keyframes(sunrise) {
|
1
|
+
@include u-keyframes(sunrise) {
|
2
2
|
0% {
|
3
|
-
@include transform(rotate(0deg) translate($saf-sunrise-arch) rotate(0deg));
|
3
|
+
@include u-transform(rotate(0deg) translate($saf-sunrise-arch) rotate(0deg));
|
4
4
|
}
|
5
5
|
100% {
|
6
|
-
@include transform(rotate(180deg) translate($saf-sunrise-arch) rotate(-180deg));
|
6
|
+
@include u-transform(rotate(180deg) translate($saf-sunrise-arch) rotate(-180deg));
|
7
7
|
}
|
8
8
|
}
|
9
9
|
|
10
10
|
@mixin sunrise($duration: 4s, $delay: 0s, $fill-mode: both, $count: 1, $timing: ease-in-out) {
|
11
|
-
@include animation(sunrise $count $duration $delay $fill-mode $timing);
|
11
|
+
@include u-animation(sunrise $count $duration $delay $fill-mode $timing);
|
12
12
|
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
@include keyframes(sway) {
|
1
|
+
@include u-keyframes(sway) {
|
2
2
|
0%, 50%, 100% {
|
3
|
-
@include transform(rotate($saf-sway-angle) translateZ(0));
|
3
|
+
@include u-transform(rotate($saf-sway-angle) translateZ(0));
|
4
4
|
}
|
5
5
|
25% {
|
6
|
-
@include transform(rotate($saf-sway-angle * -1));
|
6
|
+
@include u-transform(rotate($saf-sway-angle * -1));
|
7
7
|
}
|
8
8
|
75% {
|
9
|
-
@include transform(rotate($saf-sway-angle * -1));
|
9
|
+
@include u-transform(rotate($saf-sway-angle * -1));
|
10
10
|
}
|
11
11
|
}
|
12
12
|
|
13
13
|
@mixin sway($duration: 6.5s, $delay: 0s, $fill-mode: none, $count: infinite, $timing: ease-in-out) {
|
14
14
|
// hack to fix jagged edges
|
15
15
|
outline: 1px solid transparent;
|
16
|
-
@include animation(sway $count $duration $delay $fill-mode $timing);
|
16
|
+
@include u-animation(sway $count $duration $delay $fill-mode $timing);
|
17
17
|
}
|
@@ -1,29 +1,29 @@
|
|
1
|
-
@include keyframes(teeter) {
|
1
|
+
@include u-keyframes(teeter) {
|
2
2
|
0%, 100% {
|
3
|
-
@include transform(rotate(0deg) translateZ(0));
|
3
|
+
@include u-transform(rotate(0deg) translateZ(0));
|
4
4
|
}
|
5
5
|
15% {
|
6
|
-
@include transform(rotate($saf-teeter-angle));
|
6
|
+
@include u-transform(rotate($saf-teeter-angle));
|
7
7
|
}
|
8
8
|
30% {
|
9
|
-
@include transform(rotate($saf-teeter-angle * -1));
|
9
|
+
@include u-transform(rotate($saf-teeter-angle * -1));
|
10
10
|
}
|
11
11
|
45% {
|
12
|
-
@include transform(rotate($saf-teeter-angle / 2));
|
12
|
+
@include u-transform(rotate($saf-teeter-angle / 2));
|
13
13
|
}
|
14
14
|
60% {
|
15
|
-
@include transform(rotate($saf-teeter-angle / 2 * -1));
|
15
|
+
@include u-transform(rotate($saf-teeter-angle / 2 * -1));
|
16
16
|
}
|
17
17
|
73% {
|
18
|
-
@include transform(rotate($saf-teeter-angle / 3));
|
18
|
+
@include u-transform(rotate($saf-teeter-angle / 3));
|
19
19
|
}
|
20
20
|
86% {
|
21
|
-
@include transform(rotate($saf-teeter-angle / 3 * -1));
|
21
|
+
@include u-transform(rotate($saf-teeter-angle / 3 * -1));
|
22
22
|
}
|
23
23
|
}
|
24
24
|
|
25
25
|
@mixin teeter($duration: 1s, $delay: 0s, $fill-mode: none, $count: 1) {
|
26
26
|
// hack to fix jagged edges
|
27
27
|
outline: 1px solid transparent;
|
28
|
-
@include animation(teeter $duration $delay $fill-mode $count);
|
28
|
+
@include u-animation(teeter $duration $delay $fill-mode $count);
|
29
29
|
}
|
data/bower.json
CHANGED
data/lib/saffron/version.rb
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
@include keyframes(dropIn) {
|
1
|
+
@include u-keyframes(dropIn) {
|
2
2
|
0% {
|
3
3
|
opacity: 0;
|
4
|
-
@include transform(translateY($saf-drop-rise-distance * -1) rotate(0) translateZ(0));
|
4
|
+
@include u-transform(translateY($saf-drop-rise-distance * -1) rotate(0) translateZ(0));
|
5
5
|
}
|
6
6
|
10% {
|
7
|
-
@include transform(translateY($saf-drop-rise-distance * -1) rotate(-40deg));
|
7
|
+
@include u-transform(translateY($saf-drop-rise-distance * -1) rotate(-40deg));
|
8
8
|
}
|
9
9
|
90% {
|
10
10
|
opacity: 1;
|
11
11
|
}
|
12
12
|
100% {
|
13
|
-
@include transform(translateY(0) rotate(0));
|
13
|
+
@include u-transform(translateY(0) rotate(0));
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
17
|
@mixin dropIn($duration: 0.5s, $delay: 0s, $fill-mode: forwards) {
|
18
|
-
@include animation(dropIn $duration $delay $fill-mode);
|
18
|
+
@include u-animation(dropIn $duration $delay $fill-mode);
|
19
19
|
}
|