forms.less: Animate the icon char, not the i-tag

refs #8369
This commit is contained in:
Johannes Meyer 2015-08-21 10:17:03 +02:00
parent 7244906515
commit a960f2cb4c
1 changed files with 4 additions and 7 deletions

View File

@ -335,14 +335,11 @@ i.autosubmit-warning {
margin-left: 0.2em;
margin-top: 0.25em;
&.spinning {
&.spinning:before {
margin: 0; // Disables wobbling
font-size: 90%; // icon-spin6 seems to be bigger than icon-cw
content: '\e874'; // icon-spin6
.animate(spin 2s infinite linear);
&:before {
margin: 0; // Disables wobbling
font-size: 90%; // icon-spin6 seems to be bigger than icon-cw
content: '\e874'; // icon-spin6
}
}
}