loading icon

This commit is contained in:
Adam Bradley
2013-10-23 13:46:56 -05:00
parent 155165164b
commit f64822e1c2
2 changed files with 51 additions and 0 deletions

View File

@ -132,3 +132,16 @@ $bezier-function: cubic-bezier(.1, .7, .1, 1);
animation: fadeIn 0.3s; animation: fadeIn 0.3s;
} }
} }
@-moz-keyframes spin {
100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform:rotate(360deg);
}
}

View File

@ -50,3 +50,41 @@
} }
} }
.icon-loading {
font-family: 'ionicons';
speak: none;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-animation:spin .75s linear infinite;
-moz-animation:spin .75s linear infinite;
animation:spin .75s linear infinite;
&:before {
content: "\e036";
}
}
.icon-refreshing {
font-family: 'ionicons';
speak: none;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-animation:spin .75s linear infinite;
-moz-animation:spin .75s linear infinite;
animation:spin .75s linear infinite;
&:before {
content: "\e036";
}
}