Skip to content

Commit aebad62

Browse files
Fix dark mode issue of helpful Search and search results in light mode (#4376)
* Fix dark mode issue of helpful Search and search results in light mode * Fix dark mode issue of helpful Search and search results in light mode
1 parent f98ec73 commit aebad62

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

css/activities.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,19 @@
1616
outline: none;
1717
}
1818

19+
body:not(.dark) #helpfulSearch,
20+
body:not(.dark) .ui-autocomplete {
21+
background-color: #fff !important;
22+
color: #000 !important;
23+
}
24+
25+
body:not(.dark) .ui-autocomplete li:hover {
26+
background-color: #ddd !important;
27+
}
1928

29+
body:not(.dark) #helpfulSearchDiv {
30+
background-color: #f9f9f9 !important;
31+
}
2032

2133
.modal {
2234
display: none;

css/themes.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@
7575
.dark #search,
7676
#helpfulSearch,
7777
.ui-autocomplete {
78-
background-color: #1c1c1c;
79-
color: #fff;
78+
background-color: #1c1c1c !important;
79+
color: #fff !important;
8080
}
8181

8282
.dark .ui-autocomplete li:hover {
83-
background-color: #225a91;
83+
background-color: #225a91 !important;
8484
}
8585

8686
.dark #helpfulSearchDiv {
87-
background-color: transparent;
87+
background-color: transparent !important;
8888
}
8989

9090
.dark #crossButton {

0 commit comments

Comments
 (0)