Bug 1538285 - Make saved logins footer colors theme-friendly. r=MattN a=pascalc
authorNarcis Beleuzu <nbeleuzu@mozilla.com>
Sat, 30 Mar 2019 21:04:14 +0200
changeset 525830 732f25bcbf19f9378a5efc23f9ed6bc7b66986c0
parent 525829 1e6778961f8a06dd498199a5f9f0057704624ddf
child 525831 ab24bd3fb3e79b0df21b42780c8b87e3922a1bf3
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN, pascalc
bugs1538285
milestone67.0
Bug 1538285 - Make saved logins footer colors theme-friendly. r=MattN a=pascalc Reviewers: MattN Reviewed By: MattN Bug #: 1538285 Differential Revision: https://phabricator.services.mozilla.com/D24581
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -693,25 +693,25 @@ html|input.urlbar-input {
 #urlbar:not([actiontype="switchtab"]):not([actiontype="extension"]) > #urlbar-display-box,
 #urlbar:not([actiontype="switchtab"]) > #urlbar-display-box > #switchtab,
 #urlbar:not([actiontype="extension"]) > #urlbar-display-box > #extension {
   display: none;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"] {
   -moz-box-pack: center;
-  color: var(--btn-text-color);
+  color: -moz-fieldText;
   min-height: 40px;
   border-top: 1px solid rgba(38,38,38,.15);
-  background-color: #EDEDED;
+  background-color: hsla(0,0%,80%,.35); /* match arrowpanel-dimmed */;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"]:hover,
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"][selected] {
-  background-color: #DCDCDE;
+  background-color: hsla(0,0%,80%,.5); /* match arrowpanel-dimmed-further */
 }
 
 #PopupAutoComplete[firstresultstyle="insecureWarning"] {
   min-width: 200px;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
   -moz-binding: none;