Bug 1449323 - Make popup_highlight_* properties affect the one-off engines highlight. r=dao draft
authorTim Nguyen <ntim.bugs@gmail.com>
Tue, 27 Mar 2018 23:46:51 +0200
changeset 773405 7cbea47a3448956cb672bd530653d065f6b7fe7f
parent 773304 d91b03764f7808379a9692ec6af3ed951bb46c68
push id104223
push userbmo:ntim.bugs@gmail.com
push dateTue, 27 Mar 2018 21:47:15 +0000
reviewersdao
bugs1449323
milestone61.0a1
Bug 1449323 - Make popup_highlight_* properties affect the one-off engines highlight. r=dao MozReview-Commit-ID: KtW1lSLmx3S
browser/themes/shared/searchbar.inc.css
--- a/browser/themes/shared/searchbar.inc.css
+++ b/browser/themes/shared/searchbar.inc.css
@@ -110,19 +110,19 @@
 
 .searchbar-engine-one-off-item:not([selected]):not(.dummy):hover,
 .addengine-item:hover {
   background-color: var(--arrowpanel-dimmed-further);
   color: inherit;
 }
 
 .searchbar-engine-one-off-item[selected] {
-  background-color: Highlight;
+  background-color: var(--autocomplete-popup-highlight-background);
   background-image: none;
-  color: HighlightText;
+  color: var(--autocomplete-popup-highlight-color);
 }
 
 .searchbar-engine-one-off-item > .button-box {
   padding: 0;
 }
 
 .searchbar-engine-one-off-item > .button-box > .button-text {
   display: none;
@@ -147,18 +147,18 @@
   padding: 0 10px;
 }
 
 .addengine-item:first-of-type {
   border-top: 1px solid var(--panel-separator-color);
 }
 
 .addengine-item[selected] {
-  background-color: Highlight;
-  color: HighlightText;
+  background-color: var(--autocomplete-popup-highlight-background);
+  color: var(--autocomplete-popup-highlight-color);
 }
 
 .addengine-item[type=menu][selected] {
   color: inherit;
   background-color: var(--arrowpanel-dimmed-further);
 }
 
 .addengine-item > .toolbarbutton-badge-stack > .toolbarbutton-icon {