| 13542 |
anikendra |
1 |
// Animation Icons
|
|
|
2 |
// --------------------------
|
|
|
3 |
|
|
|
4 |
.#{$ionicons-prefix}spin {
|
|
|
5 |
-webkit-animation: spin 1s infinite linear;
|
|
|
6 |
-moz-animation: spin 1s infinite linear;
|
|
|
7 |
-o-animation: spin 1s infinite linear;
|
|
|
8 |
animation: spin 1s infinite linear;
|
|
|
9 |
}
|
|
|
10 |
|
|
|
11 |
@-moz-keyframes spin {
|
|
|
12 |
0% { -moz-transform: rotate(0deg); }
|
|
|
13 |
100% { -moz-transform: rotate(359deg); }
|
|
|
14 |
}
|
|
|
15 |
@-webkit-keyframes spin {
|
|
|
16 |
0% { -webkit-transform: rotate(0deg); }
|
|
|
17 |
100% { -webkit-transform: rotate(359deg); }
|
|
|
18 |
}
|
|
|
19 |
@-o-keyframes spin {
|
|
|
20 |
0% { -o-transform: rotate(0deg); }
|
|
|
21 |
100% { -o-transform: rotate(359deg); }
|
|
|
22 |
}
|
|
|
23 |
@-ms-keyframes spin {
|
|
|
24 |
0% { -ms-transform: rotate(0deg); }
|
|
|
25 |
100% { -ms-transform: rotate(359deg); }
|
|
|
26 |
}
|
|
|
27 |
@keyframes spin {
|
|
|
28 |
0% { transform: rotate(0deg); }
|
|
|
29 |
100% { transform: rotate(359deg); }
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
.#{$ionicons-prefix}loading-a,
|
|
|
34 |
.#{$ionicons-prefix}loading-b,
|
|
|
35 |
.#{$ionicons-prefix}loading-c,
|
|
|
36 |
.#{$ionicons-prefix}loading-d,
|
|
|
37 |
.#{$ionicons-prefix}looping,
|
|
|
38 |
.#{$ionicons-prefix}refreshing,
|
|
|
39 |
.#{$ionicons-prefix}ios7-reloading {
|
|
|
40 |
@extend .ion;
|
|
|
41 |
// must spin entire element for android 4.3 and below
|
|
|
42 |
@extend .#{$ionicons-prefix}spin;
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
.#{$ionicons-prefix}loading-a {
|
|
|
46 |
-webkit-animation-timing-function: steps(8, start);
|
|
|
47 |
-moz-animation-timing-function: steps(8, start);
|
|
|
48 |
animation-timing-function: steps(8, start);
|
|
|
49 |
}
|
|
|
50 |
|
|
|
51 |
.#{$ionicons-prefix}loading-a:before {
|
|
|
52 |
@extend .#{$ionicons-prefix}load-a:before;
|
|
|
53 |
}
|
|
|
54 |
|
|
|
55 |
.#{$ionicons-prefix}loading-b:before {
|
|
|
56 |
@extend .#{$ionicons-prefix}load-b:before;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
.#{$ionicons-prefix}loading-c:before {
|
|
|
60 |
@extend .#{$ionicons-prefix}load-c:before;
|
|
|
61 |
}
|
|
|
62 |
|
|
|
63 |
.#{$ionicons-prefix}loading-d:before {
|
|
|
64 |
@extend .#{$ionicons-prefix}load-d:before;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
.#{$ionicons-prefix}looping:before {
|
|
|
68 |
@extend .#{$ionicons-prefix}loop:before;
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
.#{$ionicons-prefix}refreshing:before {
|
|
|
72 |
@extend .#{$ionicons-prefix}refresh:before;
|
|
|
73 |
}
|
|
|
74 |
|
|
|
75 |
.#{$ionicons-prefix}ios7-reloading:before {
|
|
|
76 |
@extend .#{$ionicons-prefix}ios7-reload:before;
|
|
|
77 |
}
|