blob: ed64ceb5618563aee390303491114ff3d3fbe3e0 (
plain)
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
|
@use "../../../styles/abstracts/functions" as fun;
.progress {
margin: var(--spacing-sm) auto var(--spacing-md);
text-align: center;
&__info {
margin-bottom: var(--spacing-2xs);
font-size: var(--font-size-sm);
}
&__bar[value] {
display: block;
width: clamp(25ch, 20vw, 30ch);
max-width: 100%;
height: fun.convert-px(13);
margin: auto;
appearance: none;
background: var(--color-bg-tertiary);
border: fun.convert-px(1) solid var(--color-primary-darker);
border-radius: 1em;
box-shadow: inset 0 0 fun.convert-px(4) fun.convert-px(1)
var(--color-shadow-light);
&::-webkit-progress-value {
background-color: var(--color-primary-dark);
border-radius: 1em;
}
&::-moz-progress-bar {
background-color: var(--color-primary-dark);
border-radius: 1em;
}
&::-webkit-progress-bar {
background: var(--color-bg-tertiary);
border: fun.convert-px(1) solid var(--color-primary-darker);
border-radius: 1em;
box-shadow: inset 0 0 fun.convert-px(4) fun.convert-px(1)
var(--color-shadow-light);
}
}
}
|