-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
bar-chart.scss
65 lines (54 loc) · 1.03 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
.bar-chart-wrapper {
border: $light-border;
border-radius: $radius-large;
padding: $spacing-l $spacing-l $spacing-s $spacing-l;
height: 100%;
width: 100%;
> div.is-border {
border: 0.3px solid $ui-gray-200;
margin-bottom: $spacing-xxs;
}
}
.chart-header {
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: right;
> button {
font-size: $size-8;
&:hover {
text-decoration: underline;
}
}
}
}
.bar-chart-container {
padding: $spacing-m 0;
}
.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%;
}