summaryrefslogtreecommitdiff
path: root/src/css/progressbar.css
blob: 0c1300dea981c0299cabe8c6c5cbf0db7cc4f88b (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
:root {
    --progress-bar-height: 6px;
    --progress-bar-width: 87%;
    --progress-bar-radius: 3px;
}
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.progress-bar div.progress-bar__base {
    background-color: #bbb;
    width: 100%;
    height: var(--progress-bar-height);
    width: var(--progress-bar-width);
    border-radius: var(--progress-bar-radius);

}
.progress-bar div.progress-bar__progress {
    background-color: var(--dark-grey);
    width: 68%; /* this can be controlled with javascript to set percent loaded */
    height: var(--progress-bar-height);
    border-radius: var(--progress-bar-radius);
}
.progress-bar div.progress-bar__percentage {
    font-size: var(--font-size-14);
    font-weight: bold;
    color: var(--light-grey);
}