Skip to content

Commit 3a717e5

Browse files
committed
Make selection color no longer apply to content.
This does mean that the default selection color is used in settings and such where other colors are applied. Not sure how to work around exactly.
1 parent 7b9a9fc commit 3a717e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

browser/themes/shared/r3dfox.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
--tabpanel-background-color: linear-gradient(to bottom, #480808 0%,#240103 93%,#200000 97%,#1E0000 100%) !important;
3030
}
3131

32-
::selection {
32+
.urlbar-input::selection, .searchbar-textbox::selection {
3333
background: light-dark(rgb(255, 80, 80), rgb(160, 60, 60)) !important;
3434
}
3535

@@ -70,7 +70,7 @@
7070
--download-progress-fill-color: light-dark(rgb(255, 86, 30), rgb(255, 118, 72)) !important;
7171
--lwt-tab-line-color: light-dark(rgb(255, 86, 30), rgb(255, 118, 72)) !important;
7272

73-
::selection {
73+
.urlbar-input::selection, .searchbar-textbox::selection {
7474
background: light-dark(rgb(255, 118, 72), rgb(183, 98, 69)) !important;
7575
}
7676

@@ -112,7 +112,7 @@
112112
--download-progress-fill-color: light-dark(rgb(255, 40, 201), rgb(255, 80, 211)) !important;
113113
--lwt-tab-line-color: light-dark(rgb(255, 40, 201), rgb(255, 80, 211)) !important;
114114

115-
::selection {
115+
.urlbar-input::selection, .searchbar-textbox::selection {
116116
background: light-dark(rgb(255, 80, 211), rgb(160, 60, 135)) !important;
117117
}
118118

0 commit comments

Comments
 (0)