-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathanimationsUsage.scss
92 lines (87 loc) · 2.69 KB
/
animationsUsage.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.ep-circle--progress {
animation-timing-function: ease-in-out;
&.animation__default {
animation-name: ep-progress--init__default;
}
&.animation__rs {
animation-name: ep-progress--init__rs;
}
&.animation__bounce {
animation-name: ep-progress--init__bounce;
}
&.animation__reverse {
animation-name: ep-progress--init__reverse;
}
&.animation__loop {
animation-name: ep-progress--init__loop;
}
}
.ep-circle--loader {
&.animation__loading {
animation-name: ep-progress--loading, ep-progress--loading__rotation;
animation-iteration-count: infinite !important;
animation-duration: 2s, 1s;
animation-timing-function: ease-in-out, linear;
}
}
.ep-half-circle--loader {
&.animation__loading {
animation-name: ep-half-progress--loading;
animation-iteration-count: infinite !important;
animation-duration: 2s;
animation-timing-function: ease-in-out;
}
}
.ep-half-circle--empty, .ep-half-circle--empty__fill, .ep-circle--empty, .ep-circle--empty__fill {
&.ep-circle--nodata {
opacity: 0.5;
}
}
.ep-circle--progress__dot-container {
animation-timing-function: ease-in-out;
&.animation__rs {
animation-name: ep-dot--init__rs;
}
&.animation__bounce {
animation-fill-mode: forwards;
animation-name: ep-dot--init__disabled;
}
&.animation__reverse {
animation-name: ep-dot--init__reverse;
}
&.animation__loop {
animation-name: ep-dot--init__loop;
}
&.ep-half-circle-progress__dot{
&.animation__bounce {
animation-fill-mode: forwards;
animation-name: ep-dot--init__disabled;
}
&.animation__loop {
animation-fill-mode: forwards;
animation-name: ep-dot--init__disabled;
}
}
}
@include ep-progress--init__default(var(--ep-stroke-offset), var(--ep-circumference));
@include ep-progress--init__rs(var(--ep-stroke-offset), var(--ep-circumference));
@include ep-progress--init__bounce(
var(--ep-stroke-offset),
var(--ep-bounce-in-stroke-offset),
var(--ep-bounce-out-stroke-offset),
var(--ep-circumference)
);
@include ep-progress--init__reverse(
var(--ep-reverse-stroke-offset),
var(--ep-circumference),
var(--ep-double-circumference)
);
@include ep-progress--init__loop(
var(--ep-loop-stroke-offset),
var(--ep-circumference),
var(--ep-negative-circumference)
);
@include ep-progress--loading(var(--ep-loading-stroke-offset), var(--ep-circumference));
@include ep-half-progress--loading(var(--ep-circumference));
@include ep-progress--loading__rotation();
@include ep-dot--init__rs(var(--ep-dot-start), var(--ep-dot-end), var(--ep-dot-360));