Bug 1497697 - On content tabs, add correct background color (instead of transparent) to the findbar. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Wed, 10 Oct 2018 00:23:23 +0200
changeset 33054 789383f2f5ba
parent 33053 61b8f27889a4
child 33055 67b3bff2c91a
push id386
push userclokep@gmail.com
push dateTue, 23 Oct 2018 00:48:12 +0000
bugs1497697
Bug 1497697 - On content tabs, add correct background color (instead of transparent) to the findbar. r+a=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
@@ -752,8 +752,23 @@ button[type="menu-button"] {
 
 .button-menubutton-dropmarker {
   -moz-appearance: toolbarbutton-dropdown !important;
 }
 
 .button-menubutton-dropmarker {
   margin-inline-end: 3px;
 }
+
+.contentTabInstance {
+  background-color: -moz-dialog;
+}
+
+.contentTabInstance > findbar {
+  background-color: -moz-dialog;
+  color: -moz-DialogText;
+  text-shadow: none;
+}
+
+.contentTabInstance > findbar:-moz-lwtheme {
+  background-color: var(--toolbar-bgcolor);
+  color: var(--toolbar-color, -moz-DialogText);
+}
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -698,8 +698,25 @@ statusbar:-moz-lwtheme {
 }
 
 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
   border-left-style: solid;
   border-top-left-radius: .3em;
   margin-left: 1em;
 }
+
+.contentTabInstance {
+  background-color: -moz-dialog;
+}
+
+.contentTabInstance > findbar {
+  background: linear-gradient(#e8e8e8, #d0d0d0) repeat-x;
+  border-top: 1px solid #888;
+  color: -moz-DialogText;
+  text-shadow: none;
+}
+
+.contentTabInstance > findbar:-moz-lwtheme {
+  background-color: var(--toolbar-bgcolor);
+  background-image: none;
+  color: var(--toolbar-color, -moz-DialogText);
+}
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -812,8 +812,23 @@ statusbarpanel label {
 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
   border-left-style: solid;
   /* disabled for triggering grayscale AA (bug 659213)
   border-top-left-radius: .3em;
   */
   margin-left: 1em;
 }
+
+.contentTabInstance {
+  background-color: -moz-dialog;
+}
+
+.contentTabInstance > findbar {
+  background-color: -moz-dialog;
+  color: -moz-DialogText;
+  text-shadow: none;
+}
+
+.contentTabInstance > findbar:-moz-lwtheme {
+  background-color: var(--toolbar-bgcolor);
+  color: var(--toolbar-color, -moz-DialogText);
+}