Bug 1363407 - Awesome bar results and one-off buttons have different blue shades on keyboard selection. r?dao draft
authorDrew Willcoxon <adw@mozilla.com>
Thu, 11 May 2017 10:20:25 -0700
changeset 576358 92f91337e2da854803fbd7c9079a0b031aeaaa07
parent 570519 bc4a850c151b9042a21c017836e9b09ac9c327a8
child 628172 f163bb5be11baf8b72ce7dee75290f0b2b167996
push id58334
push userdwillcoxon@mozilla.com
push dateThu, 11 May 2017 17:21:04 +0000
reviewersdao
bugs1363407
milestone55.0a1
Bug 1363407 - Awesome bar results and one-off buttons have different blue shades on keyboard selection. r?dao MozReview-Commit-ID: 3Kb7olur077
browser/themes/osx/browser.css
browser/themes/windows/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1699,23 +1699,20 @@ toolbar .toolbarbutton-1 > .toolbarbutto
 }
 
 .autocomplete-richlistitem:hover,
 treechildren.searchbar-treebody::-moz-tree-row(hover) {
   background-color: hsla(0, 0%, 0%, 0.06);
   border-color: hsla(0, 0%, 0%, 0.1);
 }
 
-.autocomplete-richlistitem[selected] {
-  background-color: hsl(210, 80%, 52%);
-  color: hsl(0, 0%, 100%);
-}
-
+.autocomplete-richlistitem[selected],
 treechildren.searchbar-treebody::-moz-tree-row(selected) {
   background-color: Highlight;
+  color: HighlightText;
 }
 
 .ac-title {
   font-size: 14px;
 }
 
 .ac-separator,
 .ac-url,
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1439,25 +1439,16 @@ html|span.ac-emphasize-text-url {
 
 @media (-moz-windows-default-theme) {
   .autocomplete-richlistitem:hover,
   treechildren.searchbar-treebody::-moz-tree-row(hover) {
     background-color: hsla(0, 0%, 0%, 0.06);
     border-color: hsla(0, 0%, 0%, 0.1);
   }
 
-  .autocomplete-richlistitem[selected] {
-    background-color: hsl(210, 80%, 52%);
-    color: hsl(0, 0%, 100%);
-  }
-
-  treechildren.searchbar-treebody::-moz-tree-row(selected) {
-    background-color: Highlight;
-  }
-
   .ac-title:not([selected=true]) {
     color: hsl(0, 0%, 0%);
   }
 
   .ac-separator:not([selected=true]) {
     color: hsl(0, 0%, 50%);
   }
 
@@ -1493,16 +1484,22 @@ html|span.ac-emphasize-text-url {
   }
 
   .ac-tags-text[selected] > html|span.ac-tag {
     background-color: HighlightText;
     color: Highlight;
   }
 }
 
+.autocomplete-richlistitem[selected],
+treechildren.searchbar-treebody::-moz-tree-row(selected) {
+  background-color: Highlight;
+  color: HighlightText;
+}
+
 .ac-type-icon[type=bookmark] {
   list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
 }
 
 .ac-type-icon[type=bookmark][selected][current] {
   list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");
 }