Bug 1506465 - Port bug 1505801: Use --lwt-accent-color behind --toolbar-bgcolor in the find bar background. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sun, 11 Nov 2018 18:32:30 +0100
changeset 33699 f7517410336f5369c55533c6f195fc6cce1e5b7a
parent 33698 1499532bcad2f634b09bf111917795a907cc0984
child 33700 8ebed1915704a6107678b2d933790d22496bcb39
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersjorgk
bugs1506465, 1505801
Bug 1506465 - Port bug 1505801: Use --lwt-accent-color behind --toolbar-bgcolor in the find bar background. r=jorgk
mail/themes/linux/mail/messenger.css
mail/themes/osx/mail/messenger.css
mail/themes/windows/mail/messenger.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -823,16 +823,21 @@ button[type="menu-button"] {
 }
 
 findbar {
   background-color: var(--toolbar-bgcolor);
   color: var(--toolbar-color);
   text-shadow: none;
 }
 
+findbar:-moz-lwtheme {
+  background-color: var(--lwt-accent-color);
+  background-image: linear-gradient(var(--toolbar-bgcolor), var(--toolbar-bgcolor));
+}
+
 /* ::::: groupbox ::::: */
 
 groupbox {
   -moz-appearance: groupbox;
   margin: 5px;
   padding: 5px;
 }
 
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -761,18 +761,18 @@ statusbarpanel,
 findbar {
   background: linear-gradient(#e8e8e8, #d0d0d0) repeat-x;
   border-top: 1px solid #888;
   color: -moz-DialogText;
   text-shadow: none;
 }
 
 findbar:-moz-lwtheme {
-  background-color: var(--toolbar-bgcolor);
-  background-image: none;
+  background-color: var(--lwt-accent-color);
+  background-image: linear-gradient(var(--toolbar-bgcolor), var(--toolbar-bgcolor));
   color: var(--toolbar-color);
 }
 
 .contentTabAddress * {
   text-shadow: none;
 }
 
 /* ::::: groupbox ::::: */
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -881,16 +881,21 @@ statusbarpanel:-moz-lwtheme,
 }
 
 findbar {
   background-color: var(--toolbar-bgcolor);
   color: var(--toolbar-color);
   text-shadow: none;
 }
 
+findbar:-moz-lwtheme {
+  background-color: var(--lwt-accent-color);
+  background-image: linear-gradient(var(--toolbar-bgcolor), var(--toolbar-bgcolor));
+}
+
 /* ::::: groupbox ::::: */
 
 groupbox {
   -moz-appearance: groupbox;
   border: 2px groove ThreeDFace;
   border-radius: 3px;
   margin: 3px;
   padding: 3px 3px 6px;