Merge pull request #158 from vanokhin/#140

Change animation names according to fa-css-prefix variable
This commit is contained in:
Julien Deswaef 2019-02-16 12:22:18 -05:00
parent 3750335274
commit b2c513c47f
2 changed files with 12 additions and 12 deletions

View File

@ -2,16 +2,16 @@
// --------------------------
.@{fa-css-prefix}-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
-webkit-animation: ~'@{fa-css-prefix}-spin' 2s infinite linear;
animation: ~'@{fa-css-prefix}-spin' 2s infinite linear;
}
.@{fa-css-prefix}-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
-webkit-animation: ~'@{fa-css-prefix}-spin' 1s infinite steps(8);
animation: ~'@{fa-css-prefix}-spin' 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
@-webkit-keyframes ~'@{fa-css-prefix}-spin' {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
@ -22,7 +22,7 @@
}
}
@keyframes fa-spin {
@keyframes ~'@{fa-css-prefix}-spin' {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);

View File

@ -2,16 +2,16 @@
// --------------------------
.#{$fa-css-prefix}-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
-webkit-animation: #{$fa-css-prefix}-spin 2s infinite linear;
animation: #{$fa-css-prefix}-spin 2s infinite linear;
}
.#{$fa-css-prefix}-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
-webkit-animation: #{$fa-css-prefix}-spin 1s infinite steps(8);
animation: #{$fa-css-prefix}-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
@-webkit-keyframes #{$fa-css-prefix}-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
@ -22,7 +22,7 @@
}
}
@keyframes fa-spin {
@keyframes #{$fa-css-prefix}-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);