Skip to content

Commit e8146bb

Browse files
Fix notification button text in dark mode
Fixes an issue with the "options" button on the privacy notification in dark mode that made the text white and unreadable.
1 parent 348097c commit e8146bb

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

userChrome.css

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -810,15 +810,27 @@ tr.table-layout.selected.current {
810810
/* DARK MODE */
811811
@media (prefers-color-scheme: dark) {
812812

813-
@media (-moz-platform: windows) {
814-
/* Replace the maximize icon with custom SVG */
815-
.titlebar-max {
816-
-moz-default-appearance: -moz-window-button-maximize;
817-
list-style-image: url("Titlebar_Icons/maximize-dark.png") !important;
818-
opacity: 0.9 !important;
813+
@media (-moz-platform: windows) {
814+
815+
/* Replace the maximize icon with custom SVG */
816+
.titlebar-max {
817+
-moz-default-appearance: -moz-window-button-maximize;
818+
list-style-image: url("Titlebar_Icons/maximize-dark.png") !important;
819+
opacity: 0.9 !important;
819820

821+
}
822+
}
823+
824+
.notification-button .button-text,
825+
.notification-button .button-icon {
826+
color: black !important;
827+
fill: black !important;
828+
filter: none !important;
829+
opacity: 1 !important;
830+
}
831+
.notification-button.button-menu-list {
832+
stroke: #000 !important;
820833
}
821-
}
822834

823835

824836
:is(ul, ol)[role="tree"] li.selected.current>.container {

0 commit comments

Comments
 (0)