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