涂煌豪
2022-05-06 98e508d2852896dbde98edcc9ed6d87645a6a230
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.THIS .days-block {
    text-align: center;
    margin-right: 8px;
    padding: 8px 12px;
    border-radius: 0.25rem;
    border: solid 1px rgb(216, 221, 230);
.THIS .days-block.red {
    color: #C23934;
    border: solid 1px #C23934;
 
.THIS .days-block.green {
    color: #00716B;
    border: solid 1px #00716B;
 
.THIS .days-block.orange {
    color: #FFB75D;
    border: solid 1px #FFB75D;
 
.THIS .days {
    font-size: 32px;
    line-height: 32px;
    font-weight: 300;
    margin-right: 12px;
    margin: 0;
    padding: 0;
 
.THIS .chart {
    position: relative;
    height: 40px;
}
 
.THIS .bar {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    height: 32px;
    width: 0;
    transition: all .5s ease-in-out;
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 0;
}
 
.THIS .bar.green {
    background-color: #00716B;
}
 
.THIS .bar.orange {
    background-color: #FFB75D;
}
 
.THIS .bar.red {
    background-color: #C23934;
}
 
.THIS .axis {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    bottom: 0;
 
}
 
.THIS .axis > div {
    height: 34px;
    flex: 1;
    border-bottom: solid 1px rgb(216, 221, 230);
    border-left: solid 1px rgb(216, 221, 230);
}
 
.THIS .axis .legend {
    margin-top: 36px;
}