Bug 723863 - Standalone Message window toolbar doesn't show personas. r+ui-review=bwinton,a=Standard8
authorRichard Marti <richard.marti@gmail.com>
Mon, 13 Feb 2012 20:49:04 +0000
changeset 10174 5e76697585898561fce46452894e91d8a4ffa548
parent 10173 1257dccef3801a8b29f12dd1cd07937f6e01cd8e
child 10175 f1f57e95314c50a862cbfae578eed557b92e482c
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs723863
Bug 723863 - Standalone Message window toolbar doesn't show personas. r+ui-review=bwinton,a=Standard8
mail/themes/pinstripe/mail/messageWindow.css
mail/themes/pinstripe/mail/primaryToolbar.css
--- a/mail/themes/pinstripe/mail/messageWindow.css
+++ b/mail/themes/pinstripe/mail/messageWindow.css
@@ -41,14 +41,28 @@
 
 @import url("chrome://messenger/skin/");
 @import url("chrome://messenger/skin/primaryToolbar.css");
 @import url("chrome://global/skin/toolbar.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;
+}
+
+.mail-toolbox:-moz-lwtheme {
+  background: none !important;
+}
+
+.mail-toolbox > toolbar:not(:-moz-lwtheme) {
+  -moz-appearance: toolbar;
+}
+
 /* ::::: message header borders ::::: */
 
 #messagepanebox {
   text-shadow: none;
   background-color: #FFFFFF;
 }
--- a/mail/themes/pinstripe/mail/primaryToolbar.css
+++ b/mail/themes/pinstripe/mail/primaryToolbar.css
@@ -43,24 +43,16 @@
    == the standalone message window.  The other native-OS-style toolbars
    == (addressbook and compose) are already styled elsewhere.
    ====================================================================== */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: Mail Toolbars and Menubars ::::: */
 
-window[windowtype="mail:messageWindow"] .mail-toolbox {
-  border-bottom: 0px;
-}
-
-window[windowtype="mail:messageWindow"] .mail-toolbox > toolbar {
-  -moz-appearance: toolbar;
-}
-
 .mail-toolbox {
   -moz-appearance: none;
   border-bottom: 1px solid rgba(0, 0, 0, 0.57);
   background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 19px);
 }
 
 .mail-toolbox:not(:-moz-lwtheme) {
   background-color: -moz-mac-chrome-active;