Bug 1489585 - Style the statusbar so that the separators touch the bottom. r=jorgk DONTBUILD
authorRichard Marti <richard.marti@gmail.com>
Sun, 09 Sep 2018 11:15:24 +0200
changeset 33102 1c7fb9ee2572001fe667594e231ddf06057e49ff
parent 33101 2adc6fc14903dfd2e46bdfaf2aeeda44045c455d
child 33103 313ef1e6160918ca5287ab4cdbd50162136e0a03
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersjorgk
bugs1489585
Bug 1489585 - Style the statusbar so that the separators touch the bottom. r=jorgk DONTBUILD
mail/themes/windows/mail/messenger.css
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -296,20 +296,16 @@ sidebarheader .toolbarbutton-text:not([v
   margin-bottom: 0;
 }
 
 menulist.folderMenuItem menu:not(.folderMenuItem) {
   padding-top: 3px;
   padding-bottom: 3px;
 }
 
-#status-bar:-moz-lwtheme {
-  padding-bottom: 1px;
-}
-
 treechildren::-moz-tree-row {
   min-height: 18px;
 }
 
 treechildren::-moz-tree-row(multicol, odd) {
   background-color: transparent;
 }
 
@@ -724,61 +720,58 @@ menulist > menupopup:not([type="folder"]
     background-color: -moz-dialog;
   }
 }
 
 /* Status bar */
 
 statusbar {
   -moz-appearance: statusbar;
-  border-top: 1px solid ThreeDLightShadow;
-  border-left: 1px solid ThreeDShadow;
-  border-right: 1px solid ThreeDHighlight;
-  border-bottom: 1px solid ThreeDHighlight;
-  background-color: -moz-Dialog;
   min-height: 22px;
 }
 
+statusbar:-moz-lwtheme {
+  -moz-appearance: none;
+}
+
+statusbar:-moz-lwtheme-brighttext {
+  --tabs-border-color: hsla(0,0%,60%,.4);
+}
+
 statusbarpanel {
-  -moz-appearance: statusbarpanel;
+  -moz-appearance: none;
   -moz-box-align: center;
   -moz-box-pack: center;
-  border-left: 1px solid ThreeDHighlight;
-  border-top: 1px solid ThreeDHighlight;
-  border-right: 1px solid ThreeDShadow;
-  border-bottom: 1px solid ThreeDShadow;
+  border-inline-end: 1px solid ThreeDLightShadow;
   padding: 0 4px;
 }
 
-statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
-  -moz-appearance: none;
-  border-top-style: none;
-  border-bottom-style: none;
-  border-inline-start-style: none;
+statusbarpanel:-moz-lwtheme {
+  border-inline-end-color: var(--tabs-border-color);
 }
 
 .statusbar-resizerpanel {
   -moz-box-align: end;
   -moz-box-pack: end;
   -moz-appearance: resizerpanel;
   padding: 0;
-  border: none;
-}
-
-statusbar:-moz-lwtheme {
-  -moz-appearance: none;
-  background: none;
-  border-style: none;
+  border-inline-end-width: 0;
 }
 
 statusbarpanel label {
   margin-top: 0;
   margin-bottom: 0;
 }
 
+@media (-moz-windows-classic) {
+  statusbarpanel:not(:-moz-lwtheme) {
+    -moz-appearance: statusbarpanel;
+  }
+}
+
 /* Status panel */
 
 .statusbarpanel-iconic {
   padding: 0 1px;
 }
 
 .statuspanel-label {
   margin: 0;