Bug 710831 - Fix transition between tab selector and message header. r=mconley,ui-r=bwinton,a=Standard8.
authorAndreas Nilsson <nisses.mail@home.se>
Tue, 31 Jan 2012 13:26:22 -0500
changeset 10141 0dd648cb208c8e46eefbe043122542b636b14291
parent 10140 6265ae02ba1945d896ba8067652a0892c9e50faf
child 10142 015e0052d398c7fc60be3a8706b52368a4ab392d
push idunknown
push userunknown
push dateunknown
reviewersmconley, bwinton, Standard8
bugs710831
Bug 710831 - Fix transition between tab selector and message header. r=mconley,ui-r=bwinton,a=Standard8.
mail/themes/gnomestripe/mail/messageHeader.css
mail/themes/qute/mail/messageHeader-aero.css
mail/themes/qute/mail/messageHeader.css
--- a/mail/themes/gnomestripe/mail/messageHeader.css
+++ b/mail/themes/gnomestripe/mail/messageHeader.css
@@ -45,16 +45,23 @@
 /* ::::: for the entire area ::::: */
 .main-header-area {
   color: WindowText;
   background-color: AppWorkspace;
   border-bottom: 1px solid ThreeDShadow;
   padding: 0.4ex;
 }
 
+/* :::::  message in a tab ::::: */
+#displayDeck[collapsed="true"] + splitter + #messagepaneboxwrapper 
+.main-header-area {
+  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.3), 
+                                         rgba(255, 255, 255, 0) 19px);
+}
+
 /* ::::: msg header toolbars ::::: */
 
 #expandedHeaderView[show_header_mode="all"] {
   overflow-y: auto;
   overflow-x: hidden;
   max-height: 14em;
 }
 
--- a/mail/themes/qute/mail/messageHeader-aero.css
+++ b/mail/themes/qute/mail/messageHeader-aero.css
@@ -44,18 +44,33 @@
 /* ::::: for the entire area ::::: */
 .main-header-area {
   color: WindowText;
   background-color: ButtonFace;
   border-bottom: 1px solid #A9B7C9; /* The same color as the splitters */
   padding: 0.4ex;
 }
 
+/* :::::  message in a tab ::::: */
+
+#displayDeck[collapsed="true"] + splitter + #messagepaneboxwrapper 
+.main-header-area {
+  background-image: -moz-linear-gradient(rgba(255, 255, 255, .5),
+                                         rgba(255, 255, 255, .5) 100%);
+}
+
+@media all and (-moz-windows-default-theme) {
+  #displayDeck[collapsed="true"] + splitter + #messagepaneboxwrapper 
+  .main-header-area {
+    background-image: none;
+    background-color: rgb(233, 239, 245);
+  }
+}
+
 /* ::::: msg header toolbars ::::: */
-
 #expandedHeaderView[show_header_mode="all"] {
   overflow-y: auto;
   overflow-x: hidden;
   max-height: 14em;
 }
 
 /* ::::: msg header buttons ::::: */
 .headerContainer {
--- a/mail/themes/qute/mail/messageHeader.css
+++ b/mail/themes/qute/mail/messageHeader.css
@@ -45,16 +45,24 @@
 /* ::::: for the entire area ::::: */
 .main-header-area {
   color: WindowText;
   background-color: ButtonFace;
   border-bottom: 1px solid ThreeDDarkShadow;
   padding: 0.4ex;
 }
 
+/* :::::  message in a tab ::::: */
+
+#displayDeck[collapsed="true"] + splitter + #messagepaneboxwrapper 
+.main-header-area {
+  background-image: -moz-linear-gradient(rgba(255, 255, 255, .5),
+                                         rgba(255, 255, 255, .5) 100%);
+}
+
 /* ::::: msg header toolbars ::::: */
 
 #expandedHeaderView[show_header_mode="all"] {
   overflow-y: auto;
   overflow-x: hidden;
   max-height: 14em;
 }