Bug 615890 - Reduce Firefox button height in non-maximized windows on Windows XP. r=gavin a=b
authorDão Gottwald <dao@mozilla.com>
Fri, 14 Jan 2011 17:22:32 +0100
changeset 60518 2e68d97b6932d46477ba3b81eec490f1c9a22d05
parent 60517 e23b4fe4e09ce67c38d940af2dfc77f4aba16ae8
child 60519 67846d45d7cf4eb9651add35b0fb5447d1b5e477
push id18032
push userdgottwald@mozilla.com
push dateFri, 14 Jan 2011 16:23:00 +0000
treeherdermozilla-central@2e68d97b6932 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin, b
bugs615890
milestone2.0b10pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 615890 - Reduce Firefox button height in non-maximized windows on Windows XP. r=gavin a=b
browser/themes/winstripe/browser/browser.css
--- a/browser/themes/winstripe/browser/browser.css
+++ b/browser/themes/winstripe/browser/browser.css
@@ -154,16 +154,24 @@
 }
 
 @media all and (-moz-windows-classic) {
   #appmenu-button {
     margin-bottom: 1px;
   }
 }
 
+%ifndef WINSTRIPE_AERO
+@media all and (-moz-windows-default-theme) {
+  #main-window[sizemode="normal"] #appmenu-button {
+    margin-bottom: 5px;
+  }
+}
+%endif
+
 #main-window[privatebrowsingmode=temporary] #appmenu-button {
   background-image: -moz-linear-gradient(rgb(153,38,211), rgb(105,19,163) 95%);
   border-color: rgba(43,8,65,.9);
 }
 
 #appmenu-button:hover:not(:active):not([open]) {
   background-image: -moz-radial-gradient(center bottom, farthest-side, rgba(252,240,89,.5) 10%, rgba(252,240,89,0) 70%),
                     -moz-radial-gradient(center bottom, farthest-side, rgb(236,133,0), rgba(255,229,172,0)),