Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. r=dao, a=gchang
authorpast@mozilla.com <past@mozilla.com>
Tue, 21 Jun 2016 15:21:36 +0000
changeset 341753 a9e1fd7149e0ee37e1ddc5f4157506110e779ecf
parent 341752 f20f82876561686c4f8a619a0e1baa9f58261e0f
child 341754 fb650a44de9ebb79104dd29b9534827398bf40de
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, gchang
bugs1275700
milestone49.0a2
Bug 1275700 - Fix the color of the AwesomeBar and Search Results popup on Linux. r=dao, a=gchang MozReview-Commit-ID: HF2qk05sGK7
browser/themes/linux/browser.css
browser/themes/linux/searchbar.css
toolkit/themes/linux/global/autocomplete.css
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -924,17 +924,17 @@ menuitem:not([type]):not(.menuitem-toolt
 #urlbar-search-footer {
   border-top: 1px solid hsla(210,4%,10%,.14);
   background-color: hsla(210,4%,10%,.07);
 }
 
 #urlbar-search-settings {
   -moz-appearance: none;
   -moz-user-focus: ignore;
-  color: inherit;
+  color: GrayText;
   margin: 0;
   border: 0;
   padding: 8px 20px;
   background: transparent;
 }
 
 #urlbar-search-settings:hover {
   background-color: hsla(210,4%,10%,.07);
--- a/browser/themes/linux/searchbar.css
+++ b/browser/themes/linux/searchbar.css
@@ -91,17 +91,17 @@ menuitem[cmd="cmd_clearhistory"][disable
 .search-panel-tree {
   border-top: 1px solid #ccc !important;
 }
 
 .search-panel-header {
   font-weight: normal;
   border-top: 1px solid rgba(0, 0, 0, 0.2);
   padding: 3px 5px;
-  color: MenuText;
+  color: GrayText;
 }
 
 .search-panel-header > label {
   margin-top: 2px !important;
   margin-bottom: 1px !important;
 }
 
 .search-panel-current-input > label {
@@ -224,17 +224,16 @@ menuitem[cmd="cmd_clearhistory"][disable
 }
 
 .search-panel-tree > .autocomplete-treebody::-moz-tree-image(fromhistory, selected) {
   list-style-image: url("chrome://browser/skin/search-history-icon.svg#search-history-icon-active");
 }
 
 .search-setting-button {
   -moz-appearance: none;
-  background-color: Menu;
   border: none;
   border-top: 1px solid rgba(0, 0, 0, 0.2);
   margin: 0;
   min-height: 32px;
 }
 
 .search-setting-button[selected] {
   background-color: Highlight;
--- a/toolkit/themes/linux/global/autocomplete.css
+++ b/toolkit/themes/linux/global/autocomplete.css
@@ -49,30 +49,31 @@ panel[type="autocomplete"],
 panel[type="autocomplete-richlistbox"],
 .autocomplete-history-popup {
   border-width: 1px;
   -moz-border-top-colors: ThreeDDarkShadow;
   -moz-border-right-colors: ThreeDDarkShadow;
   -moz-border-bottom-colors: ThreeDDarkShadow;
   -moz-border-left-colors: ThreeDDarkShadow;
   padding: 0;
+  color: -moz-FieldText;
   background-color: -moz-Field;
+  -moz-appearance: none;
 }
 
 .autocomplete-history-popup {
   max-height: 180px;
 }
 
 /* ::::: tree ::::: */
 
 .autocomplete-tree {
   -moz-appearance: none !important;
   border: none !important;
   background-color: transparent !important;
-  color: MenuText;
 }
 
 .autocomplete-treecol {
   -moz-appearance: none !important;
   margin: 0 !important;
   border: none !important;
   padding: 0 !important;
 }
@@ -102,20 +103,16 @@ treechildren.autocomplete-treebody::-moz
 /* ::::: richlistbox autocomplete ::::: */
 
 .autocomplete-richlistbox {
   -moz-appearance: none;
   margin: 1px;
   background-color: transparent;
 }
 
-.autocomplete-richlistitem {
-  color: MenuText;
-}
-
 .autocomplete-richlistitem[selected] {
   color: HighlightText;
 }
 
 .ac-type-icon {
   width: 16px;
   height: 16px;
   max-width: 16px;