New spinner icon

This commit is contained in:
RainLoop Team 2015-01-06 00:55:06 +04:00
parent 1613a4528b
commit 46187d0749
11 changed files with 95 additions and 56 deletions

View file

@ -70,6 +70,7 @@
line-height: 20px;
}
/*
@keyframes rotation {
to {transform: rotate(1turn);}
}
@ -86,19 +87,56 @@
line-height: 100%;
}
}
*/
@keyframes rotation {
to {transform: rotate(1turn);}
}
.icon-spinner {
font-family: Arial;
&:before {
content: "";
}
height: 11px;
width: 11px;
margin-right: -1px;
background: none;
border: 3px solid #aaa;
border-top-color: #333;
border-radius: 100%;
animation: none;
&.animated {
border-color: transparent;
border-top-color: #999;
animation: rotation .8s infinite linear;
}
}
html.no-cssanimations .icon-spinner {
background: none;
background-image: url('@{rlSyncFileStop}');
background-repeat: no-repeat;
border: none;
box-shadow: none;
height: 16px;
width: 16px;
font-family: Arial;
&:before {
content: "";
}
&.animated {
background: none;
background-image: url('@{rlSyncFile}');
}
}
html.cssanimations .icon-spinner.animated:before {
animation: rotation 1s infinite steps(40);
}