|
1 | | -/* ===== ORIGINAL STYLES (UNCHANGED) ===== */ |
2 | | - |
3 | | -/* Activity List Container */ |
4 | 1 | .activityListContainer { |
5 | 2 | padding: 20px; |
6 | 3 | min-height: calc(100vh - 140px); |
7 | 4 | } |
8 | 5 |
|
9 | | -/* Dark mode follows Dashboard pattern using bg-oxford-blue */ |
10 | | -.activityListContainer:global(.bg-oxford-blue) { |
11 | | - color: #ffffff; |
| 6 | +.activityListContainerDark { |
| 7 | + color: #fff; |
12 | 8 | padding-bottom: 40px; |
13 | 9 | } |
14 | 10 |
|
|
20 | 16 | font-weight: 600; |
21 | 17 | } |
22 | 18 |
|
23 | | -/* Dark mode heading */ |
24 | | -.activityListContainer:global(.bg-oxford-blue) .heading { |
25 | | - color: #ffffff !important; |
26 | | -} |
27 | | - |
28 | | -/* Body background helper */ |
29 | | -:global(.activity-list-dark-body), |
30 | | -:global(.activity-list-dark-body #root), |
31 | | -:global(.activity-list-dark-body .App) { |
32 | | - background-color: #1b2a41 !important; |
33 | | - color: #ffffff !important; |
34 | | -} |
35 | | - |
36 | 19 | .filters { |
37 | 20 | display: flex; |
38 | 21 | justify-content: center; |
|
42 | 25 | padding: 10px; |
43 | 26 | background: #fff; |
44 | 27 | border-radius: 8px; |
45 | | - box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 28 | + box-shadow: 0 4px 6px rgb(0 0 0 / 10%); |
46 | 29 | } |
47 | 30 |
|
48 | 31 | .darkModeFilters { |
| 32 | + display: flex; |
| 33 | + justify-content: center; |
| 34 | + align-items: flex-end; |
| 35 | + gap: 30px; |
| 36 | + margin: 30px 0; |
| 37 | + padding: 10px; |
49 | 38 | background: #1e2a3a; |
50 | 39 | box-shadow: none; |
51 | 40 | border: 1px solid #3a4a5c; |
52 | 41 | border-radius: 0; |
53 | 42 | } |
54 | 43 |
|
55 | | -.filters label { |
| 44 | +.filters label, |
| 45 | +.darkModeFilters label { |
56 | 46 | display: flex; |
57 | 47 | flex-direction: column; |
58 | 48 | font-weight: 500; |
59 | 49 | color: #1f2937; |
60 | 50 | } |
61 | 51 |
|
62 | 52 | .filters input, |
63 | | -.filters select { |
| 53 | +.filters select, |
| 54 | +.darkModeFilters input, |
| 55 | +.darkModeFilters select { |
64 | 56 | padding: 10px; |
65 | 57 | border: 1px solid #d1d5db; |
66 | 58 | border-radius: 6px; |
67 | 59 | margin-top: 5px; |
68 | 60 | font-size: 1rem; |
69 | 61 | transition: all 0.3s ease; |
70 | | - background-color: #ffffff; |
| 62 | + background-color: #fff; |
71 | 63 | color: #333; |
72 | 64 | } |
73 | 65 |
|
74 | 66 | .darkModeInput { |
75 | 67 | background-color: #1e2a3a !important; |
76 | | - color: #ffffff !important; |
| 68 | + color: #fff !important; |
77 | 69 | border: 1px solid #3a4a5c !important; |
78 | 70 | color-scheme: dark; |
79 | 71 | } |
|
86 | 78 | .filters input:focus { |
87 | 79 | outline: none; |
88 | 80 | border-color: #3b82f6; |
89 | | - box-shadow: 0 0 8px rgba(59, 130, 246, 0.3); |
| 81 | + box-shadow: 0 0 8px rgb(59 130 246 / 30%); |
90 | 82 | } |
91 | 83 |
|
92 | 84 | .darkModeInput:focus { |
93 | 85 | border-color: #5c9ce6 !important; |
94 | | - box-shadow: 0 0 8px rgba(92, 156, 230, 0.5) !important; |
| 86 | + box-shadow: 0 0 8px rgb(92 156 230 / 50%) !important; |
95 | 87 | } |
96 | 88 |
|
97 | 89 | .darkModeInput::placeholder { |
98 | 90 | color: #a0a0a0; |
99 | 91 | } |
100 | 92 |
|
101 | | -/* Clear button */ |
102 | | -.clearButton { |
103 | | - padding: 10px 20px; |
104 | | - background-color: #ef4444; |
105 | | - color: #ffffff; |
106 | | - border: none; |
107 | | - border-radius: 6px; |
108 | | - font-size: 1rem; |
109 | | - cursor: pointer; |
110 | | - transition: all 0.3s ease; |
111 | | -} |
112 | | - |
113 | | -.clearButton:hover:not(:disabled) { |
114 | | - background-color: #dc2626; |
115 | | - transform: translateY(-2px); |
116 | | - box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3); |
117 | | -} |
118 | | - |
119 | | -.clearButton:disabled { |
120 | | - background-color: #9ca3af; |
121 | | - cursor: not-allowed; |
122 | | - opacity: 0.6; |
123 | | -} |
124 | | - |
125 | 93 | .darkFilters input[type="date"]::-webkit-calendar-picker-indicator { |
126 | 94 | filter: invert(1); |
127 | 95 | } |
128 | 96 |
|
129 | 97 | .activityList { |
130 | 98 | max-width: 900px; |
131 | 99 | margin: 0 auto; |
132 | | - background: #ffffff; |
| 100 | + background: #fff; |
133 | 101 | padding: 30px; |
134 | 102 | border-radius: 12px; |
135 | | - box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); |
| 103 | + box-shadow: 0 6px 12px rgb(0 0 0 / 10%); |
136 | 104 | } |
137 | 105 |
|
138 | 106 | .darkModeList { |
|
162 | 130 | .darkModeItem { |
163 | 131 | background-color: #1e2a3a !important; |
164 | 132 | border: 1px solid #3a4a5c !important; |
165 | | - color: #ffffff !important; |
| 133 | + color: #fff !important; |
166 | 134 | border-radius: 0; |
167 | 135 | } |
168 | 136 |
|
169 | 137 | .activityList li:hover { |
170 | 138 | transform: translateY(-3px); |
171 | | - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
| 139 | + box-shadow: 0 4px 8px rgb(0 0 0 / 10%); |
172 | 140 | } |
173 | 141 |
|
174 | 142 | .darkModeItem:hover { |
|
200 | 168 | margin: 20px 0; |
201 | 169 | } |
202 | 170 |
|
| 171 | +.clearButtonWrapper{ |
| 172 | + display: flex; |
| 173 | + justify-content: center; |
| 174 | + gap: 30px; |
| 175 | + padding: 10px; |
| 176 | + border-radius: 8px; |
| 177 | +} |
| 178 | + |
203 | 179 | .clearFiltersButton { |
204 | | - margin: 30px 0; |
205 | 180 | padding: 10px 14px; |
206 | | - border: 1px solid #000000; |
| 181 | + border: 1px solid #000; |
207 | 182 | border-radius: 6px; |
208 | 183 | background: #f9fafb; |
209 | 184 | color: #1f2937; |
210 | | - font-family: 'Poppins', sans-serif; |
| 185 | + font-family: Poppins, sans-serif; |
211 | 186 | font-size: 1rem; |
212 | 187 | font-weight: 500; |
213 | 188 | cursor: pointer; |
214 | 189 | transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease; |
215 | 190 | } |
216 | 191 |
|
217 | | -.clearFiltersButton:hover:not(:disabled) { |
218 | | - transform: scale(1.05); |
219 | | - background-color: #f9fafb; |
220 | | -} |
221 | | - |
222 | 192 | .clearFiltersButton:disabled { |
223 | 193 | opacity: 0.5; |
224 | 194 | cursor: not-allowed; |
225 | 195 | transform: none; |
226 | 196 | } |
227 | 197 |
|
| 198 | +.clearFiltersButton:hover:not(:disabled) { |
| 199 | + transform: scale(1.05); |
| 200 | + background-color: #f9fafb; |
| 201 | +} |
| 202 | + |
| 203 | + |
228 | 204 | .clearFiltersButtonDark { |
229 | | - border: 1px solid #ffffff; |
| 205 | + border: 1px solid #fff; |
230 | 206 | background: #0f172a; |
231 | 207 | color: #f1f5f9; |
232 | 208 | } |
|
242 | 218 | top: 100%; |
243 | 219 | left: 0; |
244 | 220 | right: 0; |
245 | | - background: #ffffff; |
| 221 | + background: #fff; |
246 | 222 | border: 1px solid #d1d5db; |
247 | 223 | border-radius: 6px; |
248 | 224 | margin-top: 4px; |
249 | 225 | max-height: 250px; |
250 | 226 | overflow-y: auto; |
251 | | - box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 227 | + box-shadow: 0 4px 6px rgb(0 0 0 / 10%); |
252 | 228 | z-index: 1000; |
253 | 229 | } |
254 | 230 |
|
|
277 | 253 | } |
278 | 254 |
|
279 | 255 | /* Responsive */ |
280 | | -@media (max-width: 768px) { |
| 256 | +@media (width <= 768px) { |
281 | 257 | .filters { |
282 | 258 | flex-direction: column; |
283 | 259 | align-items: center; |
|
0 commit comments