-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (45 loc) · 814 Bytes
/
Copy pathstyle.css
File metadata and controls
57 lines (45 loc) · 814 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.base-timer {
position: relative;
width: 64px;
height: 64px;
}
.base-timer__svg {
transform: scaleX(-1);
}
.base-timer__circle {
fill: red;
stroke: none;
}
.base-timer__path-elapsed {
stroke-width: 7px;
stroke: red;
}
.base-timer__path-remaining {
stroke-width: 7px;
stroke-linecap: round;
transform: rotate(90deg);
transform-origin: center;
transition: 1s linear all;
fill-rule: nonzero;
stroke: currentColor;
}
.base-timer__path-remaining.green {
color:rgb (255,255,255);
}
.base-timer__path-remaining.orange {
color: orange;
}
.base-timer__path-remaining.red {
color: red;
}
.base-timer__label {
position: absolute;
width: 64px;
height: 64px;
top: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: white;
}