Bug 1438458 - Change devtools autocomplete selected items background color and font color to what is already in use in the search bar. r=nchevobbe draft
authorArthur Deschamps <arthur.deschamps1208@hotmail.com>
Sat, 17 Feb 2018 23:26:17 +0100
changeset 757190 06ec2a77f8c6160e23a29b8a8d162584995ff403
parent 756717 dde7eb1a589f1ec5221ad2a8c78007094f3b3b01
child 757191 ee6da719084581e9f9bb1db7b86351c83fe8a862
child 757293 28bc79c03bbfc6c9cd2b7e1cf270be8d3aedaf8b
push id99709
push userbmo:arthur.deschamps1208@hotmail.com
push dateTue, 20 Feb 2018 10:18:24 +0000
reviewersnchevobbe
bugs1438458
milestone60.0a1
Bug 1438458 - Change devtools autocomplete selected items background color and font color to what is already in use in the search bar. r=nchevobbe MozReview-Commit-ID: Gvkufgi9Zgc
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -125,26 +125,32 @@ html|button, html|select {
 
 .theme-firebug .devtools-autocomplete-popup {
   border-color: var(--theme-splitter-color);
   border-radius: 5px;
   font-size: var(--theme-autompletion-font-size);
   background: var(--theme-body-background);
 }
 
-.devtools-autocomplete-listbox .autocomplete-selected,
 .devtools-autocomplete-listbox .autocomplete-item:hover {
   background-color: rgba(128,128,128,0.3);
 }
 
-.theme-dark .devtools-autocomplete-listbox .autocomplete-selected,
 .theme-dark .devtools-autocomplete-listbox .autocomplete-item:hover {
   background-color: rgba(0,0,0,0.5);
 }
 
+.devtools-autocomplete-listbox .autocomplete-selected,
+.devtools-autocomplete-listbox .autocomplete-selected:hover,
+.theme-dark .devtools-autocomplete-listbox .autocomplete-selected,
+.theme-dark .devtools-autocomplete-listbox .autocomplete-selected:hover {
+  background-color: var(--theme-selection-background);
+  color: var(--theme-selection-color);
+}
+
 .devtools-autocomplete-listbox .autocomplete-selected > .autocomplete-value,
 .devtools-autocomplete-listbox:focus .autocomplete-selected > .initial-value {
   color: #222;
 }
 
 .theme-dark .devtools-autocomplete-listbox .autocomplete-selected > .autocomplete-value,
 .theme-dark .devtools-autocomplete-listbox:focus .autocomplete-selected > .initial-value {
   color: hsl(208,100%,60%);