Bug 1486202 - Follow-up for ESR, take 2: Move some 'position: relative' from messenger.css to messageWindow.css. r+a=jorgk DONTBUILD BETA_60_CONTINUATION
authorRichard Marti <richard.marti@gmail.com>
Sun, 02 Sep 2018 14:00:39 +0200
branchBETA_60_CONTINUATION
changeset 32459 370e9fd8b362
parent 32458 9c11a5d238e1
child 32460 09c4e2c198c3
push id385
push userclokep@gmail.com
push dateTue, 04 Sep 2018 23:26:14 +0000
bugs1486202
Bug 1486202 - Follow-up for ESR, take 2: Move some 'position: relative' from messenger.css to messageWindow.css. r+a=jorgk DONTBUILD
mail/base/content/messenger.css
mail/themes/linux/mail/messageWindow.css
mail/themes/osx/mail/messageWindow.css
mail/themes/windows/mail/messageWindow.css
--- a/mail/base/content/messenger.css
+++ b/mail/base/content/messenger.css
@@ -213,38 +213,35 @@ menupopup[type="folder"] {
   background-repeat: no-repeat;
   background-position: right top !important;
 }
 
 :root:-moz-lwtheme:-moz-window-inactive {
   background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color)) !important;
 }
 
-/* Set position: relative to let the LW-background-box be behind them. */
-#navigation-toolbox:-moz-lwtheme,
-#tabmail-container:-moz-lwtheme,
-#mail-toolbox:-moz-lwtheme,
-#messagepaneboxwrapper:-moz-lwtheme {
-  position: relative;
-}
-
+/* Add a box to draw additional background images. */
 #LW-background-box {
   display: none;
 }
 
-/* Add a box to draw additional background images. */
 #LW-background-box:-moz-lwtheme {
   display: -moz-box;
   height: 60px;
   position: fixed;
   pointer-events: none;
   top: 0;
   width: -moz-available;
 }
 
+/* Set position: relative to let the LW-background-box be behind. */
+#tabmail-container {
+  position: relative;
+}
+
 /* Set additional backgrounds alignment relative to toolbox.
    This rule needs to be in content to avoid CSP issues. */
 #LW-background-box:-moz-lwtheme,
 #status-bar:-moz-lwtheme,
 #ab-toolbox:-moz-lwtheme,
 #compose-toolbox:-moz-lwtheme {
   background-image: var(--lwt-additional-images);
   background-position: var(--lwt-background-alignment);
--- a/mail/themes/linux/mail/messageWindow.css
+++ b/mail/themes/linux/mail/messageWindow.css
@@ -8,18 +8,25 @@
 
 @import url("chrome://messenger/skin/");
 @import url("chrome://messenger/skin/primaryToolbar.css");
 @import url("chrome://messenger/skin/tagColors.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 .mail-toolbox {
-  margin-top: 0px;
-  padding-top: 0px;
+  margin-top: 0;
+  padding-top: 0;
+}
+
+/* Set position: relative to let the LW-background-box be behind them. */
+#navigation-toolbox:-moz-lwtheme,
+#mail-toolbox:-moz-lwtheme,
+#messagepaneboxwrapper:-moz-lwtheme {
+  position: relative;
 }
 
 #messagepanebox {
   text-shadow: none;
 }
 
 /* ..... message pane adjustments ..... */
 
--- a/mail/themes/osx/mail/messageWindow.css
+++ b/mail/themes/osx/mail/messageWindow.css
@@ -10,26 +10,33 @@
 @import url("chrome://messenger/skin/primaryToolbar.css");
 @import url("chrome://messenger/skin/tagColors.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: Mail Toolbars and Menubars ::::: */
 
 .mail-toolbox {
-  border-bottom: 0px;
+  border-bottom: 0;
 }
 
 #mail-toolbox:-moz-lwtheme {
   background: none;
   box-shadow: none;
 }
 
 .mail-toolbox > toolbar:not(:-moz-lwtheme) {
   -moz-appearance: toolbar;
 }
 
+/* Set position: relative to let the LW-background-box be behind them. */
+#navigation-toolbox:-moz-lwtheme,
+#mail-toolbox:-moz-lwtheme,
+#messagepaneboxwrapper:-moz-lwtheme {
+  position: relative;
+}
+
 /* ::::: message header borders ::::: */
 
 #messagepanebox {
   text-shadow: none;
   background-color: #FFFFFF;
 }
--- a/mail/themes/windows/mail/messageWindow.css
+++ b/mail/themes/windows/mail/messageWindow.css
@@ -21,16 +21,23 @@
   text-shadow: none;
   background-color: -moz-Dialog;
 }
 
 #mail-toolbox:-moz-lwtheme {
   text-shadow: none;
 }
 
+/* Set position: relative to let the LW-background-box be behind them. */
+#navigation-toolbox:-moz-lwtheme,
+#mail-toolbox:-moz-lwtheme,
+#messagepaneboxwrapper:-moz-lwtheme {
+  position: relative;
+}
+
 /* ..... splitter adjustments ..... */
 #attachment-splitter {
   border: none;
   border-bottom: 1px solid #A9B7C9;
   min-height: 0;
   height: 5px;
   background-color: transparent;
   margin-top: -5px;