aboutsummaryrefslogtreecommitdiffstats
path: root/static/timeVisualizer.css
blob: 600ec4b4558308a5b69a8102dac4970ffa8a7803 (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
44
#timeVisualizer .grid {
    display: grid;
    grid-template-columns: repeat(8, 42px);
    grid-template-rows: repeat(3, 42px);
    gap: 2px;
    background: #f0f0f0;
    padding: 5px;
    width: fit-content;
    margin: 0 auto;
}

#timeVisualizer .cell {
    width: 42px;
    height: 42px;
    background: #ffffff;
    position: relative;
    border: 1px solid #ddd;
}

#timeVisualizer .sleep {
    background: #e6f3ff;
}

#timeVisualizer .past {
    background: #cccccc;
}

#timeVisualizer .current::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill);
    background: #cccccc;
}

#timeVisualizer .timeline {
    position: absolute;
    width: 2px;
    height: 100%;
    background: #000000;
    z-index: 1;
}