-
Notifications
You must be signed in to change notification settings - Fork 0
/
bars.css
71 lines (70 loc) · 1.77 KB
/
bars.css
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
/* include css within <head> tags as
<link rel="stylesheet" href="<filename>.css">
*/
:root {
--bars_col_background: #CCC; /* light grey */
--bars_col_positive: #FF00FF; /* magenta */
--bars_col_negative: #008B8B; /* cyan */
--bars_col_zero: #333; /* dark grey 1 */
--bars_col_header: #444; /* dark grey 2 */
--bars_col_label: #008; /* dark blue */
--bars_col_value: #050; /* dark green */
--bars_col_footer: #555; /* dark grey 3 */
}
.bars_chart {
display: grid;
grid-template-columns: repeat(205, 1fr);
grid-row-gap: 5px;
font-family: Helvetica,Arial,Verdana,sans-serif;
background-color: var(--bars_col_background);
border: 2px solid;
border-radius: 3px;
padding: 4px;
white-space: nowrap;
}
.bars_header {
border-bottom: 2px solid;
font-weight: bold;
color: var(--bars_col_header);
}
.bars_label {
grid-column-start: 1;
grid-column-end: 2;
color: var(--bars_col_label);
}
.bars_value {
grid-column-start: 3;
grid-column-end: 4;
color: var(--bars_col_value);
text-align: right;
}
.bars_neg {
border-radius: 5px 0 0 5px;
background-color: var(--bars_col_negative);
}
.bars_zero {
background-color: var(--bars_col_zero);
}
.bars_pos {
border-radius: 0 5px 5px 0;
background-color: var(--bars_col_positive);
}
.bars_footer1 {
border-top: 2px solid;
}
.bars_footer_left {
font-style: italic;
grid-column: 1/2;
color: var(--bars_col_footer);
}
.bars_footer_mid {
font-style: italic;
grid-column: 3/4;
text-align: right;
color: var(--bars_col_footer);
}
.bars_footer_right {
font-style: italic;
grid-column: 5/206;
color: var(--bars_col_footer);
}