-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathVolunteerStatusPieChart.module.css
More file actions
68 lines (59 loc) · 1.05 KB
/
VolunteerStatusPieChart.module.css
File metadata and controls
68 lines (59 loc) · 1.05 KB
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
.volunteerStatusContainer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}
.volunteerStatusChart {
position: relative;
width: 100%;
max-width: 400px;
height: 400px;
}
.volunteerStatusLabels {
display: flex;
justify-content: center;
gap: 24px;
margin-top: 20px;
margin-bottom: 50px;
flex-wrap: wrap;
}
.volunteerStatusLabel {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
}
.volunteerStatusValue {
font-weight: 600;
}
.volunteerStatusColor {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 5px;
}
/* Center text inside the donut */
.volunteerStatusCenter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-size: 14px;
}
.volunteerStatusHeading {
color: #828282;
font-size: 1.2rem;
}
.volunteerCount {
color: #6c6c6c;
font-size: 2rem;
font-weight: bolder;
}
/* Optional: style for comparison text */
.percentageChange {
font-weight: bold;
margin-top: 4px;
}