Bug 774167 - Personas make close/minimise/maximise buttons look strange on Windows. r+ui-r=andreasn
authorRichard Marti <richard.marti@gmail.com>
Mon, 16 Jul 2012 11:28:11 +0200
changeset 13196 c8502e65ecb5855eca2ea943bebc81f93c045a9c
parent 13195 cc9bb408f84efe540ecf612905909d45b2fa61e7
child 13197 2368e7da5f4bd7e2844f896c9afbbe9556f4ab38
push idunknown
push userunknown
push dateunknown
bugs774167
Bug 774167 - Personas make close/minimise/maximise buttons look strange on Windows. r+ui-r=andreasn
mail/themes/qute/mail/mailWindow1-aero.css
--- a/mail/themes/qute/mail/mailWindow1-aero.css
+++ b/mail/themes/qute/mail/mailWindow1-aero.css
@@ -6,16 +6,24 @@
 
 @media (-moz-windows-default-theme) {
   #messengerWindow[sizemode="maximized"] > #navigation-toolbox{
     margin-top: -6px;
   }
 }
 
 @media (-moz-windows-compositor) {
+  #messengerWindow[sizemode="normal"] > #titlebar {
+    -moz-appearance: -moz-window-titlebar;
+  }
+
+  #messengerWindow[sizemode="maximized"] > #titlebar {
+    -moz-appearance: -moz-window-titlebar-maximized;
+  }
+
   #messengerWindow[sizemode="normal"] > #titlebar > #titlebar-content {
     border-top-width: 0;
   }
 
   #messengerWindow[sizemode="normal"] #titlebar-buttonbox {
     margin-top: 0;
   }
 
@@ -24,22 +32,23 @@
     border-top: 2px solid;
     -moz-border-top-colors: rgb(37, 44, 51) rgba(255, 255, 255, .6);
   }
 
   .titlebar-button {
     display: none;
   }
 
-  #main-window[sizemode="maximized"] #titlebar-buttonbox {
-    -moz-margin-end: 3px;
+  #titlebar-buttonbox {
+    -moz-appearance: -moz-window-button-box;
   }
 
-  #titlebar-buttonbox-container:-moz-lwtheme {
-    -moz-appearance: -moz-window-button-box;
+  #messengerWindow[sizemode="maximized"] #titlebar-buttonbox {
+    -moz-appearance: -moz-window-button-box-maximized;
+    -moz-margin-end: 3px;
   }
 
   #messengerWindow:not(:-moz-lwtheme) {
     -moz-appearance: -moz-win-borderless-glass;
     background-color: transparent;
   }
 }