animate.sass-rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/README.md +26 -0
- data/Rakefile +26 -0
- data/lib/animate.sass-rails.rb +6 -0
- data/lib/animate.sass-rails/version.rb +3 -0
- data/vendor/assets/stylesheets/_animate.sass +7 -0
- data/vendor/assets/stylesheets/animate/_animations.sass +35 -0
- data/vendor/assets/stylesheets/animate/_css3.sass +3 -0
- data/vendor/assets/stylesheets/animate/_shared.sass +2 -0
- data/vendor/assets/stylesheets/animate/_utilities.sass +1 -0
- data/vendor/assets/stylesheets/animate/animations/_attention-seekers.sass +7 -0
- data/vendor/assets/stylesheets/animate/animations/_bouncing-entrances.sass +5 -0
- data/vendor/assets/stylesheets/animate/animations/_bouncing-exits.sass +5 -0
- data/vendor/assets/stylesheets/animate/animations/_fading-entrances.sass +12 -0
- data/vendor/assets/stylesheets/animate/animations/_fading-exits.sass +12 -0
- data/vendor/assets/stylesheets/animate/animations/_flippers.sass +5 -0
- data/vendor/assets/stylesheets/animate/animations/_rotating-entrances.sass +5 -0
- data/vendor/assets/stylesheets/animate/animations/_rotating-exits.sass +5 -0
- data/vendor/assets/stylesheets/animate/animations/_specials.sass +3 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_bounce.sass +42 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_flash.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_pulse.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_shake.sass +50 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_swing.sass +41 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_tada.sass +50 -0
- data/vendor/assets/stylesheets/animate/animations/attention-seekers/_wobble.sass +44 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-entrances/_bounceIn.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-entrances/_bounceInDown.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-entrances/_bounceInLeft.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-entrances/_bounceInRight.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-entrances/_bounceInUp.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-exits/_bounceOut.sass +38 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-exits/_bounceOutDown.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-exits/_bounceOutLeft.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-exits/_bounceOutRight.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/bouncing-exits/_bounceOutUp.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeIn.sass +32 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInDown.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInDownBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInLeft.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInLeftBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInRight.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInRightBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInUp.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-entrances/_fadeInUpBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOut.sass +32 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutDown.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutDownBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutLeft.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutLeftBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutRight.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutRightBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutUp.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/fading-exits/_fadeOutUpBig.sass +34 -0
- data/vendor/assets/stylesheets/animate/animations/flippers/_flip.sass +44 -0
- data/vendor/assets/stylesheets/animate/animations/flippers/_flipInX.sass +39 -0
- data/vendor/assets/stylesheets/animate/animations/flippers/_flipInY.sass +39 -0
- data/vendor/assets/stylesheets/animate/animations/flippers/_flipOutX.sass +35 -0
- data/vendor/assets/stylesheets/animate/animations/flippers/_flipOutY.sass +35 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-entrances/_rotateIn.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-entrances/_rotateInDownLeft.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-entrances/_rotateInDownRight.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-entrances/_rotateInUpLeft.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-entrances/_rotateInUpRight.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-exits/_rotateOut.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-exits/_rotateOutDownLeft.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-exits/_rotateOutDownRight.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-exits/_rotateOutUpLeft.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/rotating-exits/_rotateOutUpRight.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/specials/_hinge.sass +48 -0
- data/vendor/assets/stylesheets/animate/animations/specials/_rollIn.sass +36 -0
- data/vendor/assets/stylesheets/animate/animations/specials/_rollOut.sass +36 -0
- data/vendor/assets/stylesheets/animate/css3/_animation.sass +49 -0
- data/vendor/assets/stylesheets/animate/css3/_backface-visibility.sass +8 -0
- data/vendor/assets/stylesheets/animate/css3/_transform.sass +19 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-delay.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-direction.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-duration.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-fill-mode.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-iteration-count.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-name.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-play-state.sass +10 -0
- data/vendor/assets/stylesheets/animate/css3/animation/_animation-timing-function.sass +10 -0
- data/vendor/assets/stylesheets/animate/utilities/_mixins.sass +7 -0
- metadata +146 -0
data/MIT-LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright 2012 YOURNAME
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# animate.sass-rails
|
|
2
|
+
|
|
3
|
+
Make animate.sass easily usable in your Rails application.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
1) Add to your `Gemfile`:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
gem 'animate.sass-rails'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
2) Run `bundle install` or simply `bundle`.
|
|
14
|
+
|
|
15
|
+
3) In you `application.sass` or whatever SASS file of your app:
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
@import 'animate'
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
4) Enjoy.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## Acknowledgements
|
|
25
|
+
|
|
26
|
+
Many thanks to... a lot of people! First of them [Adam Stacoviak](https://github.com/adamstac) for his port of [Animate.css](http://daneden.me/animate/). See [more credits](https://github.com/adamstac/animate.sass/blob/master/README.mdown#credits-and-special-thanks).
|
data/Rakefile
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env rake
|
|
2
|
+
begin
|
|
3
|
+
require 'bundler/setup'
|
|
4
|
+
rescue LoadError
|
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
|
6
|
+
end
|
|
7
|
+
begin
|
|
8
|
+
require 'rdoc/task'
|
|
9
|
+
rescue LoadError
|
|
10
|
+
require 'rdoc/rdoc'
|
|
11
|
+
require 'rake/rdoctask'
|
|
12
|
+
RDoc::Task = Rake::RDocTask
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
|
17
|
+
rdoc.title = 'AnimateSassRails'
|
|
18
|
+
rdoc.options << '--line-numbers'
|
|
19
|
+
rdoc.rdoc_files.include('README.rdoc')
|
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Bundler::GemHelper.install_tasks
|
|
25
|
+
|
|
26
|
+
task :default => :test
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Attention seekers
|
|
2
|
+
// flash bounce shake tada swing wobble pulse
|
|
3
|
+
@import animations/attention-seekers
|
|
4
|
+
|
|
5
|
+
// Fading entrances
|
|
6
|
+
// fadeIn fadeInUp fadeInDown fadeInLeft fadeInRight fadeInUpBig fadeInDownBig fadeInLeftBig fadeInRightBig
|
|
7
|
+
@import animations/fading-entrances
|
|
8
|
+
|
|
9
|
+
// Fading exits
|
|
10
|
+
// fadeOut fadeOutUp fadeOutDown fadeOutLeft fadeOutRight fadeOutUpBig fadeOutDownBig fadeOutLeftBig fadeOutRightBig
|
|
11
|
+
@import animations/fading-exits
|
|
12
|
+
|
|
13
|
+
// Bouncing entrances
|
|
14
|
+
// bounceIn bounceInDown bounceInUp bounceInLeft bounceInRight
|
|
15
|
+
@import animations/bouncing-entrances
|
|
16
|
+
|
|
17
|
+
// Bouncing exits
|
|
18
|
+
// bounceOut bounceOutDown bounceOutUp bounceOutLeft bounceOutRight
|
|
19
|
+
@import animations/bouncing-exits
|
|
20
|
+
|
|
21
|
+
// Rotating entrances
|
|
22
|
+
// rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft rotateInUpRight
|
|
23
|
+
@import animations/rotating-entrances
|
|
24
|
+
|
|
25
|
+
// Rotating exits
|
|
26
|
+
// rotateOut rotateOutDownLeft rotateOutDownRight rotateOutUpLeft rotateOutUpRight
|
|
27
|
+
@import animations/rotating-exits
|
|
28
|
+
|
|
29
|
+
// Specials
|
|
30
|
+
// hinge rollIn rollOut
|
|
31
|
+
@import animations/specials
|
|
32
|
+
|
|
33
|
+
// Flippers
|
|
34
|
+
// flip flipInX flipOutX flipInY flipOutY
|
|
35
|
+
@import animations/flippers
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import utilities/mixins
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Normal
|
|
2
|
+
@import fading-entrances/fadeIn
|
|
3
|
+
@import fading-entrances/fadeInUp
|
|
4
|
+
@import fading-entrances/fadeInDown
|
|
5
|
+
@import fading-entrances/fadeInLeft
|
|
6
|
+
@import fading-entrances/fadeInRight
|
|
7
|
+
|
|
8
|
+
// Big
|
|
9
|
+
@import fading-entrances/fadeInUpBig
|
|
10
|
+
@import fading-entrances/fadeInDownBig
|
|
11
|
+
@import fading-entrances/fadeInLeftBig
|
|
12
|
+
@import fading-entrances/fadeInRightBig
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Normal
|
|
2
|
+
@import fading-exits/fadeOut
|
|
3
|
+
@import fading-exits/fadeOutUp
|
|
4
|
+
@import fading-exits/fadeOutDown
|
|
5
|
+
@import fading-exits/fadeOutLeft
|
|
6
|
+
@import fading-exits/fadeOutRight
|
|
7
|
+
|
|
8
|
+
// Big
|
|
9
|
+
@import fading-exits/fadeOutUpBig
|
|
10
|
+
@import fading-exits/fadeOutDownBig
|
|
11
|
+
@import fading-exits/fadeOutLeftBig
|
|
12
|
+
@import fading-exits/fadeOutRightBig
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=bounce($prefix)
|
|
2
|
+
0%
|
|
3
|
+
+transform(translateY(0), $prefix)
|
|
4
|
+
20%
|
|
5
|
+
+transform(translateY(0), $prefix)
|
|
6
|
+
40%
|
|
7
|
+
+transform(translateY(-30px), $prefix)
|
|
8
|
+
50%
|
|
9
|
+
+transform(translateY(0), $prefix)
|
|
10
|
+
60%
|
|
11
|
+
+transform(translateY(-15px), $prefix)
|
|
12
|
+
80%
|
|
13
|
+
+transform(translateY(0), $prefix)
|
|
14
|
+
100%
|
|
15
|
+
+transform(translateY(0), $prefix)
|
|
16
|
+
|
|
17
|
+
@if $experimental-support-for-webkit
|
|
18
|
+
@-webkit-keyframes bounce
|
|
19
|
+
+bounce(webkit)
|
|
20
|
+
|
|
21
|
+
@if $experimental-support-for-khtml
|
|
22
|
+
@-khtml-keyframes bounce
|
|
23
|
+
+bounce(khtml)
|
|
24
|
+
|
|
25
|
+
@if $experimental-support-for-mozilla
|
|
26
|
+
@-moz-keyframes bounce
|
|
27
|
+
+bounce(moz)
|
|
28
|
+
|
|
29
|
+
@if $experimental-support-for-microsoft
|
|
30
|
+
@-ms-keyframes bounce
|
|
31
|
+
+bounce(ms)
|
|
32
|
+
|
|
33
|
+
@if $experimental-support-for-opera
|
|
34
|
+
@-o-keyframes bounce
|
|
35
|
+
+bounce(o)
|
|
36
|
+
|
|
37
|
+
@keyframes bounce
|
|
38
|
+
+bounce(none)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
.bounce
|
|
42
|
+
+animation-name(bounce)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
=flash
|
|
2
|
+
0%
|
|
3
|
+
opacity: 1
|
|
4
|
+
25%
|
|
5
|
+
opacity: 0
|
|
6
|
+
50%
|
|
7
|
+
opacity: 1
|
|
8
|
+
75%
|
|
9
|
+
opacity: 0
|
|
10
|
+
100%
|
|
11
|
+
opacity: 1
|
|
12
|
+
|
|
13
|
+
@if $experimental-support-for-webkit
|
|
14
|
+
@-webkit-keyframes flash
|
|
15
|
+
+flash
|
|
16
|
+
|
|
17
|
+
@if $experimental-support-for-khtml
|
|
18
|
+
@-khtml-keyframes flash
|
|
19
|
+
+flash
|
|
20
|
+
|
|
21
|
+
@if $experimental-support-for-mozilla
|
|
22
|
+
@-moz-keyframes flash
|
|
23
|
+
+flash
|
|
24
|
+
|
|
25
|
+
@if $experimental-support-for-microsoft
|
|
26
|
+
@-ms-keyframes flash
|
|
27
|
+
+flash
|
|
28
|
+
|
|
29
|
+
@if $experimental-support-for-opera
|
|
30
|
+
@-o-keyframes flash
|
|
31
|
+
+flash
|
|
32
|
+
|
|
33
|
+
@keyframes flash
|
|
34
|
+
+flash
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
.flash
|
|
38
|
+
+animation-name(flash)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Originally authored by Nick Pettit - https://github.com/nickpettit/glide
|
|
2
|
+
|
|
3
|
+
=pulse($prefix)
|
|
4
|
+
0%
|
|
5
|
+
+transform(scale(1), $prefix)
|
|
6
|
+
50%
|
|
7
|
+
+transform(scale(1.1), $prefix)
|
|
8
|
+
100%
|
|
9
|
+
+transform(scale(1), $prefix)
|
|
10
|
+
|
|
11
|
+
@if $experimental-support-for-webkit
|
|
12
|
+
@-webkit-keyframes pulse
|
|
13
|
+
+pulse(webkit)
|
|
14
|
+
|
|
15
|
+
@if $experimental-support-for-khtml
|
|
16
|
+
@-khtml-keyframes pulse
|
|
17
|
+
+pulse(khtml)
|
|
18
|
+
|
|
19
|
+
@if $experimental-support-for-mozilla
|
|
20
|
+
@-moz-keyframes pulse
|
|
21
|
+
+pulse(moz)
|
|
22
|
+
|
|
23
|
+
@if $experimental-support-for-microsoft
|
|
24
|
+
@-ms-keyframes pulse
|
|
25
|
+
+pulse(ms)
|
|
26
|
+
|
|
27
|
+
@if $experimental-support-for-opera
|
|
28
|
+
@-o-keyframes pulse
|
|
29
|
+
+pulse(o)
|
|
30
|
+
|
|
31
|
+
@keyframes pulse
|
|
32
|
+
+pulse(none)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
.pulse
|
|
36
|
+
+animation-name(pulse)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
=shake($prefix)
|
|
2
|
+
0%
|
|
3
|
+
+transform(translateX(0), $prefix)
|
|
4
|
+
10%
|
|
5
|
+
+transform(translateX(-10px), $prefix)
|
|
6
|
+
20%
|
|
7
|
+
+transform(translateX(10px), $prefix)
|
|
8
|
+
30%
|
|
9
|
+
+transform(translateX(-10px), $prefix)
|
|
10
|
+
40%
|
|
11
|
+
+transform(translateX(10px), $prefix)
|
|
12
|
+
50%
|
|
13
|
+
+transform(translateX(-10px), $prefix)
|
|
14
|
+
60%
|
|
15
|
+
+transform(translateX(10px), $prefix)
|
|
16
|
+
70%
|
|
17
|
+
+transform(translateX(-10px), $prefix)
|
|
18
|
+
80%
|
|
19
|
+
+transform(translateX(10px), $prefix)
|
|
20
|
+
90%
|
|
21
|
+
+transform(translateX(-10px), $prefix)
|
|
22
|
+
100%
|
|
23
|
+
+transform(translateX(0), $prefix)
|
|
24
|
+
|
|
25
|
+
@if $experimental-support-for-webkit
|
|
26
|
+
@-webkit-keyframes shake
|
|
27
|
+
+shake(webkit)
|
|
28
|
+
|
|
29
|
+
@if $experimental-support-for-khtml
|
|
30
|
+
@-khtml-keyframes shake
|
|
31
|
+
+shake(khtml)
|
|
32
|
+
|
|
33
|
+
@if $experimental-support-for-mozilla
|
|
34
|
+
@-moz-keyframes shake
|
|
35
|
+
+shake(moz)
|
|
36
|
+
|
|
37
|
+
@if $experimental-support-for-microsoft
|
|
38
|
+
@-ms-keyframes shake
|
|
39
|
+
+shake(ms)
|
|
40
|
+
|
|
41
|
+
@if $experimental-support-for-opera
|
|
42
|
+
@-o-keyframes shake
|
|
43
|
+
+shake(o)
|
|
44
|
+
|
|
45
|
+
@keyframes shake
|
|
46
|
+
+shake(none)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
.shake
|
|
50
|
+
+animation-name(shake)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=swing($prefix)
|
|
2
|
+
20%, 40%, 60%, 80%, 100%
|
|
3
|
+
+transform-origin(top center, $prefix)
|
|
4
|
+
20%
|
|
5
|
+
+transform(rotate(15deg), $prefix)
|
|
6
|
+
40%
|
|
7
|
+
+transform(rotate(-10deg), $prefix)
|
|
8
|
+
60%
|
|
9
|
+
+transform(rotate(5deg), $prefix)
|
|
10
|
+
80%
|
|
11
|
+
+transform(rotate(-5deg), $prefix)
|
|
12
|
+
100%
|
|
13
|
+
+transform(rotate(0deg), $prefix)
|
|
14
|
+
|
|
15
|
+
@if $experimental-support-for-webkit
|
|
16
|
+
@-webkit-keyframes swing
|
|
17
|
+
+swing(webkit)
|
|
18
|
+
|
|
19
|
+
@if $experimental-support-for-khtml
|
|
20
|
+
@-khtml-keyframes swing
|
|
21
|
+
+swing(khtml)
|
|
22
|
+
|
|
23
|
+
@if $experimental-support-for-mozilla
|
|
24
|
+
@-moz-keyframes swing
|
|
25
|
+
+swing(moz)
|
|
26
|
+
|
|
27
|
+
@if $experimental-support-for-microsoft
|
|
28
|
+
@-ms-keyframes swing
|
|
29
|
+
+swing(ms)
|
|
30
|
+
|
|
31
|
+
@if $experimental-support-for-opera
|
|
32
|
+
@-o-keyframes swing
|
|
33
|
+
+swing(o)
|
|
34
|
+
|
|
35
|
+
@keyframes swing
|
|
36
|
+
+swing(none)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
.swing
|
|
40
|
+
+transform-origin(top center)
|
|
41
|
+
+animation-name(swing)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
=tada($prefix)
|
|
2
|
+
0%
|
|
3
|
+
+transform(scale(1), $prefix)
|
|
4
|
+
10%
|
|
5
|
+
+transform(scale(0.9) rotate(-3deg), $prefix)
|
|
6
|
+
20%
|
|
7
|
+
+transform(scale(0.9) rotate(-3deg), $prefix)
|
|
8
|
+
30%
|
|
9
|
+
+transform(scale(1.1) rotate(3deg), $prefix)
|
|
10
|
+
40%
|
|
11
|
+
+transform(scale(1.1) rotate(-3deg), $prefix)
|
|
12
|
+
50%
|
|
13
|
+
+transform(scale(1.1) rotate(3deg), $prefix)
|
|
14
|
+
60%
|
|
15
|
+
+transform(scale(1.1) rotate(-3deg), $prefix)
|
|
16
|
+
70%
|
|
17
|
+
+transform(scale(1.1) rotate(3deg), $prefix)
|
|
18
|
+
80%
|
|
19
|
+
+transform(scale(1.1) rotate(-3deg), $prefix)
|
|
20
|
+
90%
|
|
21
|
+
+transform(scale(1.1) rotate(3deg), $prefix)
|
|
22
|
+
100%
|
|
23
|
+
+transform(scale(1) rotate(0), $prefix)
|
|
24
|
+
|
|
25
|
+
@if $experimental-support-for-webkit
|
|
26
|
+
@-webkit-keyframes tada
|
|
27
|
+
+tada(webkit)
|
|
28
|
+
|
|
29
|
+
@if $experimental-support-for-khtml
|
|
30
|
+
@-khtml-keyframes tada
|
|
31
|
+
+tada(khtml)
|
|
32
|
+
|
|
33
|
+
@if $experimental-support-for-mozilla
|
|
34
|
+
@-moz-keyframes tada
|
|
35
|
+
+tada(moz)
|
|
36
|
+
|
|
37
|
+
@if $experimental-support-for-microsoft
|
|
38
|
+
@-ms-keyframes tada
|
|
39
|
+
+tada(ms)
|
|
40
|
+
|
|
41
|
+
@if $experimental-support-for-opera
|
|
42
|
+
@-o-keyframes tada
|
|
43
|
+
+tada(o)
|
|
44
|
+
|
|
45
|
+
@keyframes tada
|
|
46
|
+
+tada(none)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
.tada
|
|
50
|
+
+animation-name(tada)
|