Bug 723863 - Standalone Message window toolbar doesn't show personas. r+ui-review=bwinton
authorRichard Marti <richard.marti@gmail.com>
Mon, 13 Feb 2012 20:49:04 +0000
changeset 9377 96284abe691b56b39f47d9b369c439bcd6534204
parent 9376 22c18ee522cbfc1f90bf0d3640d6544186eb408c
child 9378 c22269a950d7b1fbc9daf6546133225a1ba09429
push id7176
push userbugzilla@standard8.plus.com
push dateMon, 13 Feb 2012 21:00:12 +0000
treeherdercomm-central@96284abe691b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs723863
Bug 723863 - Standalone Message window toolbar doesn't show personas. r+ui-review=bwinton
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;