forked from ionic-team/ionicons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ionicons-animation.scss
60 lines (51 loc) · 1.39 KB
/
_ionicons-animation.scss
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
// Animation Icons
// --------------------------
.#{$ionicons-prefix}spin {
-webkit-animation: spin .8s infinite linear;
-moz-animation: spin .8s infinite linear;
-o-animation: spin .8s infinite linear;
animation: spin .8s 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}refreshing {
@extend .ion;
@extend .#{$ionicons-prefix}spin;
}
.#{$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}refreshing:before {
@extend .#{$ionicons-prefix}refresh:before;
}