Bug 1584793 - Add in-content colors to autocomplete richlistbox for dark mode r=dao
authorKestrel <ke5trel@protonmail.com>
Mon, 30 Sep 2019 15:03:32 +0000
changeset 495787 c9450968c8fb58284ffc476acc24ca4d701c7f9f
parent 495786 8a269edb06c26a20ac6854644032adc9c4677c81
child 495788 f52bbe2a1903043286ca49d8ca2e7923209668b3
push id114140
push userdvarga@mozilla.com
push dateWed, 02 Oct 2019 18:04:51 +0000
treeherdermozilla-inbound@32eb0ea893f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1584793
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1584793 - Add in-content colors to autocomplete richlistbox for dark mode r=dao Differential Revision: https://phabricator.services.mozilla.com/D47553
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -835,16 +835,22 @@ html|select[size][multiple] > html|optio
 xul|treechildren::-moz-tree-row(hover) {
   background-color: var(--in-content-item-hover);
 }
 
 xul|treechildren::-moz-tree-row(selected) {
   background-color: var(--in-content-item-selected);
 }
 
+xul|panel[type="autocomplete-richlistbox"] {
+  background-color: var(--in-content-box-background);
+  border: 1px solid var(--in-content-box-border-color);
+  color: var(--in-content-text-color);
+}
+
 /* Trees */
 
 xul|tree {
   -moz-appearance: none;
   font-size: 1em;
   border: 1px solid var(--in-content-box-border-color);
   border-radius: 2px;
   background-color: var(--in-content-box-background);