Bug 1297788 - Use photon colors for autocomplete popup. r=jaws
authorTim Nguyen <ntim.bugs@gmail.com>
Tue, 21 Nov 2017 20:08:48 +0000
changeset 701819 5a9be669bd5cf3113d5757b30b124460dde0378a
parent 701818 c8d3ad173dbcc225b69ec710bce5b5bec6b13955
child 701820 bc89bf67b38d97cfe57f714f8b0c29c535670ced
push id90298
push userbmo:bpostelnicu@mozilla.com
push dateWed, 22 Nov 2017 10:54:01 +0000
reviewersjaws
bugs1297788
milestone59.0a1
Bug 1297788 - Use photon colors for autocomplete popup. r=jaws MozReview-Commit-ID: IvM7FAelBhu
browser/themes/osx/browser.css
browser/themes/shared/compacttheme.inc.css
browser/themes/windows/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -367,21 +367,21 @@ html|span.ac-tag {
   padding: 0 1px;
 }
 
 .ac-separator:not([selected=true]) {
   color: hsl(0, 0%, 50%);
 }
 
 .ac-url:not([selected=true]) {
-  color: hsl(210, 77%, 47%);
+  color: #0a84ff;
 }
 
 .ac-action:not([selected=true]) {
-  color: hsl(178, 100%, 28%);
+  color: #12bc00;
 }
 
 .ac-tags-text[selected] > html|span.ac-tag {
   background-color: hsl(0, 0%, 100%);
   color: hsl(210, 80%, 40%);
 }
 
 html|span.ac-emphasize-text-title,
--- a/browser/themes/shared/compacttheme.inc.css
+++ b/browser/themes/shared/compacttheme.inc.css
@@ -31,37 +31,37 @@
   --chrome-color: rgb(249, 249, 250);
   --chrome-secondary-background-color: hsl(240, 1%, 20%);
   --toolbox-border-bottom-color: hsla(240, 5%, 5%, .1);
   --chrome-nav-bar-separator-color: rgba(0,0,0,.2);
   --chrome-nav-buttons-background: hsla(240, 5%, 5%, .1);
   --chrome-nav-buttons-hover-background: hsla(240, 5%, 5%, .15);
   --chrome-nav-bar-controls-border-color: hsla(240, 5%, 5%, .3);
   --chrome-selection-color: #fff;
-  --chrome-selection-background-color: #5675B9;
+  --chrome-selection-background-color: #0060df;
 
   /* Url and search bars */
   --url-and-searchbar-background-color: rgb(71, 71, 73);
   --url-and-searchbar-color: var(--chrome-color);
   --urlbar-separator-color: #5F6670;
 }
 
 :root:-moz-lwtheme-darktext {
   --url-and-searchbar-background-color: #fff;
 
   --chrome-background-color: #E3E4E6;
   --chrome-color: #18191a;
   --chrome-secondary-background-color: #f5f6f7;
   --toolbox-border-bottom-color: #cccccc;
   --chrome-nav-bar-separator-color: #B6B6B8;
-  --chrome-nav-buttons-background: #ffffff; /* --theme-body-background */
+  --chrome-nav-buttons-background: #ffffff;
   --chrome-nav-buttons-hover-background: #DADBDB;
   --chrome-nav-bar-controls-border-color: #ccc;
   --chrome-selection-color: #f5f7fa;
-  --chrome-selection-background-color: #4c9ed9;
+  --chrome-selection-background-color: #0060df;
 }
 
 .toolbarbutton-animatable-box[brighttext],
 toolbar[brighttext] .toolbarbutton-animatable-box,
 toolbar[brighttext] .toolbarbutton-1 {
   fill: rgb(249, 249, 250);
 }
 
@@ -113,8 +113,13 @@ toolbar[brighttext] .toolbarbutton-1 {
   background-color: rgba(255,255,255,.3);
 }
 
 .tab-icon-sound[soundplaying],
 .tab-icon-sound[muted] {
   filter: none !important; /* removes drop-shadow filter */
 }
 
+/* Improve contrast of URL bar notification "Change Settings" link */
+
+#search-suggestions-change-settings {
+  color: #0a84ff;
+}
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -632,21 +632,21 @@ html|span.ac-emphasize-text-url {
     color: hsl(0, 0%, 0%);
   }
 
   .ac-separator:not([selected=true]) {
     color: hsl(0, 0%, 50%);
   }
 
   .ac-url:not([selected=true]) {
-    color: hsl(210, 77%, 47%);
+    color: #0a84ff;
   }
 
   .ac-action:not([selected=true]) {
-    color: hsl(178, 100%, 28%);
+    color: #12bc00;
   }
 
   html|span.ac-tag {
     background-color: hsl(216, 0%, 88%);
     color: hsl(0, 0%, 0%);
   }
 
   .ac-tags-text[selected] > html|span.ac-tag {