saffron 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile.lock +1 -1
  3. data/README.md +16 -9
  4. data/app/assets/stylesheets/entrances/_drop-in.scss +5 -5
  5. data/app/assets/stylesheets/entrances/_fade-in-down.scss +3 -3
  6. data/app/assets/stylesheets/entrances/_fade-in-left.scss +3 -3
  7. data/app/assets/stylesheets/entrances/_fade-in-right.scss +3 -3
  8. data/app/assets/stylesheets/entrances/_fade-in-up.scss +3 -3
  9. data/app/assets/stylesheets/entrances/_fade-in-zoom-big.scss +6 -6
  10. data/app/assets/stylesheets/entrances/_fade-in-zoom.scss +4 -4
  11. data/app/assets/stylesheets/entrances/_fade-in.scss +3 -3
  12. data/app/assets/stylesheets/entrances/_newspaper.scss +4 -4
  13. data/app/assets/stylesheets/entrances/_pop-in.scss +4 -4
  14. data/app/assets/stylesheets/entrances/_rise-in.scss +3 -3
  15. data/app/assets/stylesheets/entrances/_slide-in.scss +10 -10
  16. data/app/assets/stylesheets/entrances/_stretch.scss +12 -12
  17. data/app/assets/stylesheets/entrances/_turn-in.scss +10 -10
  18. data/app/assets/stylesheets/exits/_compress.scss +9 -9
  19. data/app/assets/stylesheets/exits/_drop-out.scss +4 -4
  20. data/app/assets/stylesheets/exits/_explode.scss +4 -4
  21. data/app/assets/stylesheets/exits/_fade-out-down.scss +4 -4
  22. data/app/assets/stylesheets/exits/_fade-out-left.scss +3 -3
  23. data/app/assets/stylesheets/exits/_fade-out-right.scss +3 -3
  24. data/app/assets/stylesheets/exits/_fade-out-up.scss +4 -4
  25. data/app/assets/stylesheets/exits/_fade-out-zoom-big.scss +5 -5
  26. data/app/assets/stylesheets/exits/_fade-out-zoom.scss +4 -4
  27. data/app/assets/stylesheets/exits/_fade-out.scss +3 -3
  28. data/app/assets/stylesheets/exits/_poof.scss +4 -4
  29. data/app/assets/stylesheets/exits/_rise-out.scss +4 -4
  30. data/app/assets/stylesheets/exits/_slide-out.scss +8 -8
  31. data/app/assets/stylesheets/exits/_turn-out.scss +10 -10
  32. data/app/assets/stylesheets/helpers/_animation.scss +2 -2
  33. data/app/assets/stylesheets/helpers/_contains.scss +1 -1
  34. data/app/assets/stylesheets/helpers/_keyframes.scss +5 -5
  35. data/app/assets/stylesheets/helpers/_prefix.scss +3 -3
  36. data/app/assets/stylesheets/helpers/_transform.scss +6 -6
  37. data/app/assets/stylesheets/helpers/_transition.scss +4 -4
  38. data/app/assets/stylesheets/in-place/_around-the-world.scss +4 -4
  39. data/app/assets/stylesheets/in-place/_bounce.scss +8 -8
  40. data/app/assets/stylesheets/in-place/_colors.scss +3 -3
  41. data/app/assets/stylesheets/in-place/_contract.scss +2 -2
  42. data/app/assets/stylesheets/in-place/_cube-flip.scss +16 -16
  43. data/app/assets/stylesheets/in-place/_enlarge.scss +2 -2
  44. data/app/assets/stylesheets/in-place/_expand.scss +1 -1
  45. data/app/assets/stylesheets/in-place/_flip.scss +6 -6
  46. data/app/assets/stylesheets/in-place/_float.scss +5 -5
  47. data/app/assets/stylesheets/in-place/_ping.scss +5 -5
  48. data/app/assets/stylesheets/in-place/_pulsate.scss +4 -4
  49. data/app/assets/stylesheets/in-place/_quiver.scss +13 -13
  50. data/app/assets/stylesheets/in-place/_shake.scss +8 -8
  51. data/app/assets/stylesheets/in-place/_spin.scss +4 -4
  52. data/app/assets/stylesheets/in-place/_square-dance.scss +6 -6
  53. data/app/assets/stylesheets/in-place/_sunrise.scss +4 -4
  54. data/app/assets/stylesheets/in-place/_sway.scss +5 -5
  55. data/app/assets/stylesheets/in-place/_teeter.scss +9 -9
  56. data/bower.json +1 -1
  57. data/lib/saffron/version.rb +1 -1
  58. data/saffron/entrances/_drop-in.scss +5 -5
  59. data/saffron/entrances/_fade-in-down.scss +3 -3
  60. data/saffron/entrances/_fade-in-left.scss +3 -3
  61. data/saffron/entrances/_fade-in-right.scss +3 -3
  62. data/saffron/entrances/_fade-in-up.scss +3 -3
  63. data/saffron/entrances/_fade-in-zoom-big.scss +6 -6
  64. data/saffron/entrances/_fade-in-zoom.scss +4 -4
  65. data/saffron/entrances/_fade-in.scss +3 -3
  66. data/saffron/entrances/_newspaper.scss +4 -4
  67. data/saffron/entrances/_pop-in.scss +4 -4
  68. data/saffron/entrances/_rise-in.scss +3 -3
  69. data/saffron/entrances/_slide-in.scss +10 -10
  70. data/saffron/entrances/_stretch.scss +12 -12
  71. data/saffron/entrances/_turn-in.scss +10 -10
  72. data/saffron/exits/_compress.scss +9 -9
  73. data/saffron/exits/_drop-out.scss +4 -4
  74. data/saffron/exits/_explode.scss +4 -4
  75. data/saffron/exits/_fade-out-down.scss +4 -4
  76. data/saffron/exits/_fade-out-left.scss +3 -3
  77. data/saffron/exits/_fade-out-right.scss +3 -3
  78. data/saffron/exits/_fade-out-up.scss +4 -4
  79. data/saffron/exits/_fade-out-zoom-big.scss +5 -5
  80. data/saffron/exits/_fade-out-zoom.scss +4 -4
  81. data/saffron/exits/_fade-out.scss +3 -3
  82. data/saffron/exits/_poof.scss +4 -4
  83. data/saffron/exits/_rise-out.scss +4 -4
  84. data/saffron/exits/_slide-out.scss +8 -8
  85. data/saffron/exits/_turn-out.scss +10 -10
  86. data/saffron/helpers/_animation.scss +2 -2
  87. data/saffron/helpers/_contains.scss +1 -1
  88. data/saffron/helpers/_keyframes.scss +5 -5
  89. data/saffron/helpers/_prefix.scss +3 -3
  90. data/saffron/helpers/_transform.scss +6 -6
  91. data/saffron/helpers/_transition.scss +4 -4
  92. data/saffron/in-place/_around-the-world.scss +4 -4
  93. data/saffron/in-place/_bounce.scss +8 -8
  94. data/saffron/in-place/_colors.scss +3 -3
  95. data/saffron/in-place/_contract.scss +2 -2
  96. data/saffron/in-place/_cube-flip.scss +16 -16
  97. data/saffron/in-place/_enlarge.scss +2 -2
  98. data/saffron/in-place/_expand.scss +1 -1
  99. data/saffron/in-place/_flip.scss +6 -6
  100. data/saffron/in-place/_float.scss +5 -5
  101. data/saffron/in-place/_ping.scss +5 -5
  102. data/saffron/in-place/_pulsate.scss +4 -4
  103. data/saffron/in-place/_quiver.scss +13 -13
  104. data/saffron/in-place/_shake.scss +8 -8
  105. data/saffron/in-place/_spin.scss +4 -4
  106. data/saffron/in-place/_square-dance.scss +6 -6
  107. data/saffron/in-place/_sunrise.scss +4 -4
  108. data/saffron/in-place/_sway.scss +5 -5
  109. data/saffron/in-place/_teeter.scss +9 -9
  110. data/tasks/package.json +2 -2
  111. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saffron",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "homepage": "https://github.com/corporadobob/saffron",
5
5
  "authors": [
6
6
  "JC <j@colindres.me>"
@@ -1,3 +1,3 @@
1
1
  module Saffron
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -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
  }