Bug 1496042 - Set a background-color for the statusbar on Windows 7. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Wed, 03 Oct 2018 14:30:11 +0200
changeset 33052 0390d62ad309
parent 33051 04ee89d424ba
child 33053 61b8f27889a4
push id386
push userclokep@gmail.com
push dateTue, 23 Oct 2018 00:48:12 +0000
bugs1496042
Bug 1496042 - Set a background-color for the statusbar on Windows 7. r+a=jorgk
mail/themes/windows/mail/addrbook/addressbook.css
mail/themes/windows/mail/compose/messengercompose.css
mail/themes/windows/mail/mailWindow1.css
mail/themes/windows/mail/messageWindow.css
mail/themes/windows/mail/messenger.css
--- a/mail/themes/windows/mail/addrbook/addressbook.css
+++ b/mail/themes/windows/mail/addrbook/addressbook.css
@@ -153,17 +153,8 @@ toolbox > toolbar:last-of-type {
 
 @media (-moz-windows-glass) {
   #ab-toolbox:not(:-moz-lwtheme) {
     color: black;
     text-shadow: 0 0 .7em white, 0 0 .7em white, 0 1px 0 rgba(255, 255, 255, .4);
     --toolbox-border-bottom-color: #aabccf;
   }
 }
-
-@media (-moz-os-version: windows-win7) and (-moz-windows-default-theme) {
-
-  #status-bar {
-    -moz-appearance: none;
-    border-style: none;
-    border-top: 1px solid ThreeDShadow;
-  }
-}
--- a/mail/themes/windows/mail/compose/messengercompose.css
+++ b/mail/themes/windows/mail/compose/messengercompose.css
@@ -807,22 +807,16 @@ toolbar:not(:-moz-lwtheme) {
     margin-inline-end: 4px;
     padding: 2px 0 !important;
     border-color: rgba(23, 51, 78, .08) rgba(23, 51, 78, .12)
                   rgba(23, 51, 78, .1);
     background-image: linear-gradient(hsla(0, 0%, 100%, .2),
                       hsla(0, 0%, 100%, .1));
     box-shadow: none;
   }
-
-  #status-bar {
-    -moz-appearance: none;
-    border-style: none;
-    border-top: 1px solid threedshadow;
-  }
 }
 
 @media (-moz-os-version: windows-win8) and (-moz-windows-default-theme),
        (-moz-os-version: windows-win10) and (-moz-windows-default-theme) {
   .aw-menulist {
     margin: 0 1px 2px;
     margin-inline-end: 4px;
     padding: 2px 0 !important;
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -628,17 +628,16 @@ treechildren::-moz-tree-cell-text(imapde
 
     #messengerWindow[sizemode=normal] #mail-toolbar-menubar2 {
       border-right: 1px solid var(--glassShadowColor);
       border-left: 1px solid var(--glassShadowColor);
       background-clip: padding-box;
     }
 
     #messengerWindow[sizemode=normal] statusbar {
-      -moz-appearance: none;
       margin-top: -1px;
       border: 1px solid var(--glassShadowColor);
       border-top-color: threedshadow;
       border-radius: 1px 1px 0 0;
       background-clip: padding-box;
     }
   }
 }
--- a/mail/themes/windows/mail/messageWindow.css
+++ b/mail/themes/windows/mail/messageWindow.css
@@ -53,21 +53,13 @@
 #attachment-splitter {
   transition: border-color .3s;
 }
 
 #attachment-splitter[state="collapsed"]:hover {
   border-bottom: 4px solid highlight;
 }
 
-@media (-moz-windows-compositor) {
-  #status-bar {
-    -moz-appearance: none;
-    border-style: none;
-    border-top: 1px solid ThreeDShadow;
-  }
-}
-
 @media (-moz-os-version: windows-win10) and (-moz-windows-default-theme) {
   #menubar-items > #mail-menubar > menu {
     -moz-appearance: menuitem;
   }
 }
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -756,16 +756,26 @@ statusbarpanel:-moz-lwtheme {
   border-inline-end-width: 0;
 }
 
 statusbarpanel label {
   margin-top: 0;
   margin-bottom: 0;
 }
 
+@media (-moz-os-version: windows-win7) and (-moz-windows-default-theme),
+       (-moz-os-version: windows-win8) and (-moz-windows-default-theme) {
+  #status-bar:not(:-moz-lwtheme) {
+    -moz-appearance: none;
+    border-style: none;
+    border-top: 1px solid ThreeDShadow;
+    background-color: var(--toolbar-bgcolor);
+  }
+}
+
 @media (-moz-windows-classic) {
   statusbarpanel:not(:-moz-lwtheme) {
     -moz-appearance: statusbarpanel;
   }
 }
 
 /* Status panel */