Skip to content

Commit 05ff331

Browse files
Fix: dark mode UI issues and button visibility across participation page
1 parent 40ddac5 commit 05ff331

2 files changed

Lines changed: 65 additions & 0 deletions

File tree

src/components/CommunityPortal/Reports/Participation/MyCases.module.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,3 +511,26 @@
511511
color: #9b59b6 !important;
512512
}
513513
}
514+
515+
.myCasesPageDark .viewSwitcher button,
516+
.myCasesPageDark .createNew {
517+
background-color: #3A506B;
518+
color: #ffffff;
519+
border: 1px solid #3A506B;
520+
}
521+
522+
.myCasesPageDark .viewSwitcher button.active {
523+
background-color: #007bff;
524+
color: #ffffff;
525+
}
526+
527+
.myCasesPageDark .filterDropdown {
528+
background-color: #3A506B;
529+
color: #ffffff;
530+
border: 1px solid #3A506B;
531+
}
532+
533+
.myCasesPageDark .filterDropdown option {
534+
background-color: #3A506B;
535+
color: #ffffff;
536+
}

src/components/CommunityPortal/Reports/Participation/Participation.module.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,4 +1018,46 @@
10181018
.sendEmailBtn:disabled {
10191019
opacity: 0.5;
10201020
cursor: not-allowed;
1021+
}
1022+
1023+
/* ===== Dark mode fixes ===== */
1024+
1025+
.participationLandingPageDark :global(button) {
1026+
color: #ffffff !important;
1027+
}
1028+
1029+
.participationLandingPageDark :global(.btn),
1030+
.participationLandingPageDark :global(.btn-light),
1031+
.participationLandingPageDark :global(.btn-outline-secondary) {
1032+
color: #ffffff !important;
1033+
background-color: #3a506b !important;
1034+
border-color: #3a506b !important;
1035+
}
1036+
1037+
.participationLandingPageDark :global(.btn-primary),
1038+
.participationLandingPageDark :global(.active) {
1039+
color: #ffffff !important;
1040+
}
1041+
1042+
.trackingContainerDark .trackingFilters select {
1043+
background-color: #3A506B;
1044+
color: #ffffff;
1045+
border: 1px solid #3A506B;
1046+
}
1047+
1048+
.insightsDark .insightsFilters select {
1049+
background-color: #3A506B;
1050+
color: #ffffff;
1051+
border: 1px solid #3A506B;
1052+
}
1053+
1054+
.insightsDark .insightsTab {
1055+
background-color: #3A506B;
1056+
color: #ffffff;
1057+
border-right: 1px solid #555;
1058+
}
1059+
1060+
.insightsDark .insightsTab.activeTab {
1061+
background-color: #007bff;
1062+
color: #ffffff;
10211063
}

0 commit comments

Comments
 (0)