-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
bar-chart.scss
68 lines (57 loc) · 1.11 KB
/
bar-chart.scss
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
.bar-chart-wrapper {
border: 1px solid #dce0e6;
border-radius: 4px;
padding: $spacing-l $spacing-l $spacing-s $spacing-l;
height: 100%;
width: 100%;
> div.is-border {
border: 0.3px solid #dce0e6;
width: 94%;
margin-left: 3%;
margin-bottom: $spacing-xxs;
}
}
.chart-header {
margin-left: $spacing-l;
display: grid;
grid-template-columns: 3fr 1fr;
.header-left {
.chart-title {
font-size: $size-5;
font-weight: $font-weight-bold;
line-height: normal;
}
.chart-description {
font-size: $size-8;
font-weight: $font-weight-normal;
color: $ui-gray-700;
margin-bottom: $spacing-xs;
}
}
.header-right {
text-align: center;
> button {
font-size: $size-8;
&:hover {
text-decoration: underline;
}
}
}
}
.bar-chart-container {
padding: $spacing-m $spacing-l $spacing-m $spacing-l;
}
.bar-chart {
.tick > text {
font-weight: $font-weight-semibold;
font-size: $size-8;
}
}
.legend-container {
height: $spacing-l;
margin-top: $spacing-xs;
}
.legend {
width: 100%;
height: 100%;
}