-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathMentorStatusPieChart.module.css
More file actions
106 lines (93 loc) · 1.69 KB
/
MentorStatusPieChart.module.css
File metadata and controls
106 lines (93 loc) · 1.69 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.mentorStatusContainer {
margin-top: 24px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
width: 100%;
height: 100%;
gap: 12px;
}
.mentorStatusChart {
position: relative;
width: min(320px, 100%);
max-width: 320px;
aspect-ratio: 1 / 1;
overflow: visible;
}
.mentorStatusCenter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-size: 14px;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
}
.mentorStatusHeading {
color: #828282;
font-size: 1.2rem;
letter-spacing: 0.5px;
text-transform: uppercase;
transform: translateY(6px);
width: 100%;
text-align: center;
}
.mentorCount {
color: #6c6c6c;
font-size: 1.8rem;
font-weight: 800;
line-height: 1.18;
margin-top: -10px;
}
.mentorPercentageChange {
font-weight: 600;
}
.mentorStatusLabels {
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
margin-top: 48px;
margin-bottom: 24px;
flex-wrap: nowrap;
padding: 0 20px;
width: max-content;
max-width: 100%;
box-sizing: border-box;
}
.mentorStatusLabel {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.875rem;
white-space: nowrap;
}
.mentorStatusColor {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 2px;
}
:global(.bg-oxford-blue) .mentorStatusHeading {
color: #f1f5ff;
}
:global(.bg-oxford-blue) .mentorCount {
color: #ffffff;
}
@media (max-width: 768px) {
.mentorStatusChart {
width: min(280px, 100%);
}
.mentorStatusLabels {
gap: 12px;
}
}
@media (min-width: 768px) {
.mentorStatusChart {
max-width: 280px;
}
}