-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathToolStatusDonutChart.module.css
More file actions
121 lines (106 loc) · 2.04 KB
/
ToolStatusDonutChart.module.css
File metadata and controls
121 lines (106 loc) · 2.04 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.toolDonutWrapper {
--donut-text-color: #000;
--legend-text-color: #000;
width: 100%;
height: 100%;
margin: 0 auto;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.toolDonutWrapperDark {
--donut-text-color: #fff;
--legend-text-color: #fff;
}
.toolDonutTitle {
text-align: center;
font-weight: 600;
margin-bottom: 1rem;
font-size: 1.1rem;
color: var(--donut-text-color);
flex-shrink: 0;
}
.toolDonutFilters {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 3rem;
margin-bottom: 1.5rem;
}
.filterItem {
display: flex;
flex-direction: column;
align-items: center;
font-size: 14px;
text-align: center;
}
.filterLabel {
font-weight: 600;
font-size: 14px;
color: var(--donut-text-color);
}
.toolDonutWrapper select {
width: 220px;
margin-top: 8px;
padding: 10px 14px;
border: 1px solid #d1d5db;
border-radius: 14px;
background-color: #ffffff;
color: #111827;
font-size: 20px;
line-height: 1.2;
outline: none;
}
.toolDonutWrapper select:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.toolDonutWrapperDark select {
background-color: #253342;
color: #ffffff;
border-color: #3a506b;
}
.toolDonutWrapperDark select:focus {
border-color: #5b89c2;
box-shadow: 0 0 0 2px rgba(91, 137, 194, 0.25);
}
.toolDonutWrapperDark select option {
background-color: #253342;
color: #ffffff;
}
.filterValue {
font-size: 14px;
color: #888;
margin-top: 2px;
font-weight: 500;
}
.toolDonutLegend {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 1rem;
gap: 0.5rem;
width: 100%;
flex-shrink: 0;
}
.toolDonutLegendItem {
color: #ffffff;
padding: 6px 16px;
border-radius: 0;
font-size: 14px;
font-weight: 500;
min-width: 140px;
text-align: center;
}
/* Responsive adjustments for donut chart */
@media (max-width: 768px) {
.toolDonutFilters {
flex-direction: column;
gap: 1rem;
}
.filterItem {
width: 100%;
}
}