mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 06:21:30 +08:00
properly namespacing spin animation #3885
This commit is contained in:
parent
cf3ebc280a
commit
b3f34507b2
16
css/font-awesome.css
vendored
16
css/font-awesome.css
vendored
@ -78,12 +78,12 @@
|
|||||||
margin-left: .3em;
|
margin-left: .3em;
|
||||||
}
|
}
|
||||||
.fa-spin {
|
.fa-spin {
|
||||||
-webkit-animation: spin 2s infinite linear;
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
-moz-animation: spin 2s infinite linear;
|
-moz-animation: fa-spin 2s infinite linear;
|
||||||
-o-animation: spin 2s infinite linear;
|
-o-animation: fa-spin 2s infinite linear;
|
||||||
animation: spin 2s infinite linear;
|
animation: fa-spin 2s infinite linear;
|
||||||
}
|
}
|
||||||
@-moz-keyframes spin {
|
@-moz-keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-moz-transform: rotate(0deg);
|
-moz-transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@
|
|||||||
-moz-transform: rotate(359deg);
|
-moz-transform: rotate(359deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
@ -99,7 +99,7 @@
|
|||||||
-webkit-transform: rotate(359deg);
|
-webkit-transform: rotate(359deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@-o-keyframes spin {
|
@-o-keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-o-transform: rotate(0deg);
|
-o-transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
@ -107,7 +107,7 @@
|
|||||||
-o-transform: rotate(359deg);
|
-o-transform: rotate(359deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
2
css/font-awesome.min.css
vendored
2
css/font-awesome.min.css
vendored
File diff suppressed because one or more lines are too long
@ -2,25 +2,25 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
.@{fa-css-prefix}-spin {
|
.@{fa-css-prefix}-spin {
|
||||||
-webkit-animation: spin 2s infinite linear;
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
-moz-animation: spin 2s infinite linear;
|
-moz-animation: fa-spin 2s infinite linear;
|
||||||
-o-animation: spin 2s infinite linear;
|
-o-animation: fa-spin 2s infinite linear;
|
||||||
animation: spin 2s infinite linear;
|
animation: fa-spin 2s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-moz-keyframes spin {
|
@-moz-keyframes fa-spin {
|
||||||
0% { -moz-transform: rotate(0deg); }
|
0% { -moz-transform: rotate(0deg); }
|
||||||
100% { -moz-transform: rotate(359deg); }
|
100% { -moz-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes fa-spin {
|
||||||
0% { -webkit-transform: rotate(0deg); }
|
0% { -webkit-transform: rotate(0deg); }
|
||||||
100% { -webkit-transform: rotate(359deg); }
|
100% { -webkit-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-o-keyframes spin {
|
@-o-keyframes fa-spin {
|
||||||
0% { -o-transform: rotate(0deg); }
|
0% { -o-transform: rotate(0deg); }
|
||||||
100% { -o-transform: rotate(359deg); }
|
100% { -o-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
@ -2,25 +2,25 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
.#{$fa-css-prefix}-spin {
|
.#{$fa-css-prefix}-spin {
|
||||||
-webkit-animation: spin 2s infinite linear;
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
-moz-animation: spin 2s infinite linear;
|
-moz-animation: fa-spin 2s infinite linear;
|
||||||
-o-animation: spin 2s infinite linear;
|
-o-animation: fa-spin 2s infinite linear;
|
||||||
animation: spin 2s infinite linear;
|
animation: fa-spin 2s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-moz-keyframes spin {
|
@-moz-keyframes fa-spin {
|
||||||
0% { -moz-transform: rotate(0deg); }
|
0% { -moz-transform: rotate(0deg); }
|
||||||
100% { -moz-transform: rotate(359deg); }
|
100% { -moz-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes fa-spin {
|
||||||
0% { -webkit-transform: rotate(0deg); }
|
0% { -webkit-transform: rotate(0deg); }
|
||||||
100% { -webkit-transform: rotate(359deg); }
|
100% { -webkit-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-o-keyframes spin {
|
@-o-keyframes fa-spin {
|
||||||
0% { -o-transform: rotate(0deg); }
|
0% { -o-transform: rotate(0deg); }
|
||||||
100% { -o-transform: rotate(359deg); }
|
100% { -o-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
16
src/assets/font-awesome/less/spinning.less
vendored
16
src/assets/font-awesome/less/spinning.less
vendored
@ -5,25 +5,25 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
.@{fa-css-prefix}-spin {
|
.@{fa-css-prefix}-spin {
|
||||||
-webkit-animation: spin 2s infinite linear;
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
-moz-animation: spin 2s infinite linear;
|
-moz-animation: fa-spin 2s infinite linear;
|
||||||
-o-animation: spin 2s infinite linear;
|
-o-animation: fa-spin 2s infinite linear;
|
||||||
animation: spin 2s infinite linear;
|
animation: fa-spin 2s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-moz-keyframes spin {
|
@-moz-keyframes fa-spin {
|
||||||
0% { -moz-transform: rotate(0deg); }
|
0% { -moz-transform: rotate(0deg); }
|
||||||
100% { -moz-transform: rotate(359deg); }
|
100% { -moz-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes fa-spin {
|
||||||
0% { -webkit-transform: rotate(0deg); }
|
0% { -webkit-transform: rotate(0deg); }
|
||||||
100% { -webkit-transform: rotate(359deg); }
|
100% { -webkit-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-o-keyframes spin {
|
@-o-keyframes fa-spin {
|
||||||
0% { -o-transform: rotate(0deg); }
|
0% { -o-transform: rotate(0deg); }
|
||||||
100% { -o-transform: rotate(359deg); }
|
100% { -o-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
16
src/assets/font-awesome/scss/_spinning.scss
vendored
16
src/assets/font-awesome/scss/_spinning.scss
vendored
@ -5,25 +5,25 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
.#{$fa-css-prefix}-spin {
|
.#{$fa-css-prefix}-spin {
|
||||||
-webkit-animation: spin 2s infinite linear;
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
-moz-animation: spin 2s infinite linear;
|
-moz-animation: fa-spin 2s infinite linear;
|
||||||
-o-animation: spin 2s infinite linear;
|
-o-animation: fa-spin 2s infinite linear;
|
||||||
animation: spin 2s infinite linear;
|
animation: fa-spin 2s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-moz-keyframes spin {
|
@-moz-keyframes fa-spin {
|
||||||
0% { -moz-transform: rotate(0deg); }
|
0% { -moz-transform: rotate(0deg); }
|
||||||
100% { -moz-transform: rotate(359deg); }
|
100% { -moz-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-webkit-keyframes spin {
|
@-webkit-keyframes fa-spin {
|
||||||
0% { -webkit-transform: rotate(0deg); }
|
0% { -webkit-transform: rotate(0deg); }
|
||||||
100% { -webkit-transform: rotate(359deg); }
|
100% { -webkit-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@-o-keyframes spin {
|
@-o-keyframes fa-spin {
|
||||||
0% { -o-transform: rotate(0deg); }
|
0% { -o-transform: rotate(0deg); }
|
||||||
100% { -o-transform: rotate(359deg); }
|
100% { -o-transform: rotate(359deg); }
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes fa-spin {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: rotate(0deg);
|
-webkit-transform: rotate(0deg);
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
Loading…
Reference in New Issue
Block a user