forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQCircularProgress.styl
More file actions
38 lines (32 loc) · 799 Bytes
/
QCircularProgress.styl
File metadata and controls
38 lines (32 loc) · 799 Bytes
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
.q-circular-progress
display: inline-block
position: relative
vertical-align: middle
width: 1em
height: 1em
line-height: 1
&.q-focusable
border-radius: 50%
&__svg
width: 100%
height: 100%
&__text
font-size: .25em
&--indeterminate
.q-circular-progress__svg
transform-origin: 50% 50%
animation: q-spin 2s linear infinite /* rtl:ignore */
.q-circular-progress__circle
stroke-dasharray: 1 400
stroke-dashoffset: 0
animation: q-circular-progress-circle 1.5s ease-in-out infinite /* rtl:ignore */
@keyframes q-circular-progress-circle
0%
stroke-dasharray: 1, 400
stroke-dashoffset: 0
50%
stroke-dasharray: 400, 400
stroke-dashoffset: -100
100%
stroke-dasharray: 400, 400
stroke-dashoffset: -300