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

@ -1,12 +1,13 @@
.b-admin-general {
.flag-selector {
padding-top: 5px;
}
.flag-name {
border-bottom: 1px dashed #555;
cursor: pointer;
}
}

View file

@ -70,16 +70,16 @@
height: 18px;
vertical-align: bottom;
margin-bottom: 3px;
margin-top: 1px;
}
.sub-label {
padding-left: 8px;
padding-left: 12px;
}
.sub-checkbox {
position: absolute;
box-sizing: border-box;
margin-top: 1px;
.checkbox-box-sizes();
}

View file

@ -1,25 +1,26 @@
.b-settings-general {
.notification-desc-denied {
color: #999;
display: none;
}
.denied-by-browser {
.notification-desc-denied {
display: inline;
}
.notification-desc {
color: #999;
}
}
.flag-selector {
padding-top: 5px;
}
.flag-name {
border-bottom: 1px dashed #555;
}
}
.b-settings-general {
.notification-desc-denied {
color: #999;
display: none;
}
.denied-by-browser {
.notification-desc-denied {
display: inline;
}
.notification-desc {
color: #999;
}
}
.flag-selector {
padding-top: 5px;
}
.flag-name {
border-bottom: 1px dashed #555;
cursor: pointer;
}
}

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);
}