Bug 1614950 - Update the style of the Status Panel in order to respect the theme selection. r=aleca
authorRichard Marti <richard.marti@gmail.com>
Fri, 14 Feb 2020 20:25:34 +0200
changeset 37353 3c4494bc702f2ac9ac89fc4f05cc9583345b25da
parent 37352 382c4128a1327e4dd803b8d2e7d49d001285d946
child 37354 b1eb4ea24f42c471b66d63ee13ad8e97711c8c21
push id2566
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:20:31 +0000
treeherdercomm-beta@a352facfa0a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleca
bugs1614950
Bug 1614950 - Update the style of the Status Panel in order to respect the theme selection. r=aleca
mail/themes/linux/mail/messenger.css
mail/themes/osx/mail/messenger.css
mail/themes/shared/mail/messenger.css
mail/themes/windows/mail/messenger.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -764,22 +764,22 @@ menulist[is="menulist-editable"][editabl
 .statusbar:-moz-lwtheme-brighttext {
   --tabs-border-color: hsla(0,0%,60%,.4);
 }
 
 .statusbarpanel {
   -moz-appearance: none;
 }
 
-/* Status panel */
-
 .statusbarpanel-iconic {
   padding: 0 1px;
 }
 
+/* Status panel */
+
 .statuspanel-label {
   margin: 0;
   padding: 2px 4px;
   background-color: -moz-dialog;
   border: 1px none ThreeDShadow;
   border-top-style: solid;
   color: -moz-dialogText;
   text-shadow: none;
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -676,22 +676,22 @@ button[is="button-menu-button"] > .butto
   border-style: none;
   text-shadow: inherit;
 }
 
 .statusbar:-moz-lwtheme-brighttext {
   --tabs-border-color: hsla(0,0%,60%,.4);
 }
 
-/* Status panel */
-
 .statusbarpanel-iconic {
   padding: 0;
 }
 
+/* Status panel */
+
 .statuspanel-label {
   margin: 0;
   padding: 2px 4px;
   background-color: #f9f9fa;
   border: 1px none #ddd;
   border-top-style: solid;
   color: #444;
   text-shadow: none;
--- a/mail/themes/shared/mail/messenger.css
+++ b/mail/themes/shared/mail/messenger.css
@@ -331,16 +331,24 @@ toolbarpaletteitem toolbarbutton {
 #throbber-box[busy="true"] {
   list-style-image: url("chrome://global/skin/icons/loading.png");
 }
 
 #wrapper-throbber-box > #throbber-box {
   list-style-image: url("chrome://messenger/skin/icons/notloading.png");
 }
 
+/* Status panel */
+
+:root[lwt-tree] .statuspanel-label {
+  background-color: var(--lwt-toolbar-field-background-color);
+  color: var(--lwt-toolbar-field-color, -moz-dialogText);
+  border-color: var(--lwt-toolbar-field-border-color);
+}
+
 /* ::::: Status bar ::::: */
 
 #status-bar:-moz-lwtheme {
   border-top: 1px solid var(--tabs-border-color);
 }
 
 #status-bar:-moz-lwtheme toolbarbutton {
   color: var(--lwt-text-color, inherit);
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -829,22 +829,22 @@ menulist > menupopup:not([is="folder-men
 }
 
 @media (-moz-windows-classic) {
   .statusbarpanel:not(:-moz-lwtheme) {
     -moz-appearance: statusbarpanel;
   }
 }
 
-/* Status panel */
-
 .statusbarpanel-iconic {
   padding: 0 1px;
 }
 
+/* Status panel */
+
 .statuspanel-label {
   margin: 0;
   padding: 2px 4px;
   background-color: -moz-dialog;
   border: 1px none ThreeDLightShadow;
   border-top-style: solid;
   color: -moz-dialogText;
   text-shadow: none;