|
1 | 1 | /* Main table layout */ |
2 | 2 | .issueTable { |
3 | | - --issueTable-th-font-size: 12px; |
4 | | - --issueTable-th-padding: 12px 16px; |
5 | | - --issueTable-td-font-size: 10px; |
6 | | - --issueTable-td-padding: 10px 12px; |
| 3 | + --issue-table-th-font-size: 12px; |
| 4 | + --issue-table-th-padding: 12px 16px; |
| 5 | + --issue-table-td-font-size: 10px; |
| 6 | + --issue-table-td-padding: 10px 12px; |
| 7 | + |
7 | 8 | border-collapse: separate; |
8 | 9 | border-spacing: 0 10px; /* vertical spacing between rows */ |
9 | 10 | width: 100%; |
|
16 | 17 | /* Header cells */ |
17 | 18 | .issueTable thead th { |
18 | 19 | font-weight: 600; |
19 | | - font-size: var(--issueTable-th-font-size); |
| 20 | + font-size: var(--issue-table-th-font-size); |
20 | 21 | color: #6c757d; |
21 | 22 | text-align: left; |
22 | | - padding: var(--issueTable-th-padding); |
| 23 | + padding: var(--issue-table-th-padding); |
23 | 24 | border-bottom: 1px solid #dee2e6; |
24 | 25 | background-color: white; |
25 | 26 | } |
26 | 27 |
|
27 | 28 | /* Body cells */ |
28 | 29 | .issueTable tbody td { |
29 | | - font-size: var(--issueTable-td-font-size); |
| 30 | + font-size: var(--issue-table-td-font-size); |
30 | 31 | color: #212529; |
31 | | - padding: var(--issueTable-td-padding); |
32 | | - background-color: #ffffff; |
| 32 | + padding: var(--issue-table-td-padding); |
| 33 | + background-color: #fff; |
33 | 34 | vertical-align: middle; |
34 | 35 | white-space: normal; /* Allows text wrapping */ |
35 | | - word-wrap: break-word; /* Breaks long words */ |
36 | | - overflow-wrap: break-word; |
| 36 | + overflow-wrap: break-word; /* Breaks long words */ |
37 | 37 | max-width: 200px; |
38 | 38 | } |
39 | 39 |
|
40 | 40 | /* Row styling */ |
41 | 41 | .issueTable tbody tr { |
42 | 42 | border-radius: 8px; |
43 | | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); |
| 43 | + box-shadow: 0 2px 4px rgb(0 0 0 / 5%); |
44 | 44 | } |
45 | 45 |
|
46 | 46 | .renameActive { |
|
57 | 57 | .renameInput:focus { |
58 | 58 | outline: none; |
59 | 59 | border: 1px solid #007bff; |
60 | | - box-shadow: 0 0 3px rgba(0, 123, 255, 0.5); |
| 60 | + box-shadow: 0 0 3px rgb(0 123 255 / 50%); |
61 | 61 | } |
62 | 62 |
|
63 | 63 | /* Button for tags (Virtual / In-person) */ |
|
74 | 74 | gap: 4px; |
75 | 75 | background-color: #fff; |
76 | 76 | border-radius: 8px; |
77 | | - box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); |
| 77 | + box-shadow: 0 4px 12px rgb(0 0 0 / 10%); |
78 | 78 | text-align: center !important; |
79 | 79 | left: 0 !important; |
80 | 80 | min-width: 4rem!important; |
|
111 | 111 | padding-bottom: 12px; |
112 | 112 | } |
113 | 113 |
|
114 | | - /* Light mode for multi select*/ |
| 114 | + /* Light mode for multi select */ |
115 | 115 | :global(.custom-select__control) { |
116 | 116 | background-color: #fff; |
117 | 117 | color: #000; |
|
132 | 132 | } |
133 | 133 |
|
134 | 134 | :global(.custom-select__multi-value__remove:hover) { |
135 | | - background-color: #ced4da; |
| 135 | + background-color: #868e96; |
136 | 136 | color: #fff; |
137 | 137 | } |
138 | 138 |
|
|
161 | 161 |
|
162 | 162 | :global(.dark-theme) .issueTable thead th { |
163 | 163 | background-color: #1c2541; |
164 | | - color: #cccccc; |
| 164 | + color: #ccc; |
165 | 165 | border: 1px solid #eceaea; |
166 | 166 | } |
167 | 167 |
|
|
172 | 172 | } |
173 | 173 |
|
174 | 174 | :global(.dark-theme) .issueTable tbody tr { |
175 | | - box-shadow: 0 2px 4px rgba(255, 255, 255, 0.05); |
| 175 | + box-shadow: 0 2px 4px rgb(255 255 255 / 5%); |
176 | 176 | } |
177 | 177 |
|
178 | 178 | :global(.dark-theme) .issueTable :global(.btn-outline-primary) { |
|
183 | 183 |
|
184 | 184 | :global(.dark-theme) .dropdownMenuCustom { |
185 | 185 | background-color: #1c2541; |
186 | | - box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1); |
| 186 | + box-shadow: 0 4px 12px rgb(255 255 255 / 10%); |
187 | 187 | min-width: 4rem; |
188 | 188 | } |
189 | 189 |
|
|
277 | 277 |
|
278 | 278 | /* Selected day styling in dark theme */ |
279 | 279 | .darkThemeCalendar :global(.react-datepicker__day--selected) { |
280 | | - background-color: #4a90e2 !important; |
| 280 | + background-color: #1a5fa8 !important; |
281 | 281 | color: #fff !important; |
282 | 282 | border-radius: 50%; |
283 | 283 | } |
|
289 | 289 | border-radius: 50%; |
290 | 290 | } |
291 | 291 |
|
292 | | -/* Dark mode for multi select*/ |
| 292 | +/* Dark mode for multi select */ |
293 | 293 | :global(.dark-theme) :global(.custom-select__control), :global(.dark-theme) :global(.custom-select__menu) { |
294 | 294 | background-color: #1c2541!important; |
295 | 295 | border-color: #666!important; |
|
325 | 325 | } |
326 | 326 |
|
327 | 327 | :global(.dark-theme) :global(.custom-select__multi-value__remove:hover) { |
328 | | - background-color: #ff6b6b!important; |
| 328 | + background-color: #c0392b!important; |
329 | 329 | color: #fff!important; |
330 | 330 | } |
331 | 331 |
|
|
343 | 343 | } |
344 | 344 |
|
345 | 345 | /* Filter controls layout for small screens */ |
346 | | -@media (max-width: 768px) { |
| 346 | +@media (width <= 768px) { |
347 | 347 | :global(.custom-select__control) { |
348 | 348 | font-size: 10px; |
349 | 349 | } |
|
360 | 360 | } |
361 | 361 |
|
362 | 362 | /* Column adjustments for filter Row */ |
363 | | -@media (max-width: 768px) { |
| 363 | +@media (width <= 768px) { |
364 | 364 | :global(.row) > :global(.col-md-4), |
365 | 365 | :global(.row) > :global(.col-md-2) { |
366 | 366 | flex: 0 0 100%; |
|
370 | 370 | } |
371 | 371 |
|
372 | 372 | /* Adjust table font and padding for narrow screens */ |
373 | | -@media (max-width: 576px) { |
| 373 | +@media (width <= 576px) { |
374 | 374 | .issueTable { |
375 | | - --issueTable-th-font-size: 8px; |
376 | | - --issueTable-th-padding: 8px 10px; |
377 | | - --issueTable-td-font-size: 8px; |
378 | | - --issueTable-td-padding: 8px 10px; |
| 375 | + --issue-table-th-font-size: 8px; |
| 376 | + --issue-table-th-padding: 8px 10px; |
| 377 | + --issue-table-td-font-size: 8px; |
| 378 | + --issue-table-td-padding: 8px 10px; |
379 | 379 | } |
380 | 380 |
|
381 | 381 | .dropdownToggleCustom { |
|
415 | 415 | } |
416 | 416 |
|
417 | 417 | :global(.dark-theme) .paginationContainer :global(.btn-primary) { |
418 | | - background-color: #007bff !important; |
| 418 | + background-color: #0056b3 !important; |
419 | 419 | color: #fff !important; |
420 | | - border-color: #007bff !important; |
| 420 | + border-color: #0056b3 !important; |
421 | 421 | } |
422 | 422 |
|
423 | 423 | /* Make dropdown menu fill screen width on very small devices */ |
424 | | -@media (max-width: 480px) { |
| 424 | +@media (width <= 480px) { |
425 | 425 | .dropdownMenuCustom { |
426 | 426 | width: 100vw; |
427 | 427 | left: 0 !important; |
|
436 | 436 | left: 0; |
437 | 437 | width: 100vw; |
438 | 438 | height: 100vh; |
439 | | - background-color: rgba(0, 0, 0, 0.5); |
| 439 | + background-color: rgb(0 0 0 / 50%); |
440 | 440 | display: flex; |
441 | 441 | align-items: center; |
442 | 442 | justify-content: center; |
|
449 | 449 | padding: 1.5rem; |
450 | 450 | max-width: 400px; |
451 | 451 | width: 90%; |
452 | | - box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 452 | + box-shadow: 0 4px 6px rgb(0 0 0 / 10%); |
453 | 453 | } |
454 | 454 |
|
455 | 455 | .modalDialogCustom:global(.dark-theme) { |
|
0 commit comments