Bug 574434 - Move Firefox button to the left of the tabstrip when not using aero glass. r=gavin
authorDão Gottwald <dao@mozilla.com>
Fri, 25 Jun 2010 22:41:04 +0200
changeset 46246 2108cf37c7c30a7d3ee47fb072702102147943dc
parent 46245 549c24723dde1f07a76179ad95e05389ccd69c9c
child 46247 90f4e0452bc0eccbd4cc24eb0269293a414902f3
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs574434
milestone1.9.3a6pre
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 574434 - Move Firefox button to the left of the tabstrip when not using aero glass. r=gavin
browser/themes/winstripe/browser/browser.css
--- a/browser/themes/winstripe/browser/browser.css
+++ b/browser/themes/winstripe/browser/browser.css
@@ -119,22 +119,25 @@ statusbarpanel#statusbar-display {
 #appmenu-button {
   -moz-appearance: none;
   background-color: rgb(228,120,14);
   background-image: -moz-linear-gradient(rgba(255,255,255,.7),
                                          rgba(255,255,255,.4) 10%,
                                          rgba(255,255,255,0) 50%);
   background-clip: padding-box;
   border: 1px solid rgba(0,0,0,.5);
-  -moz-border-radius: 4px;
+  border-top-style: none;
+  -moz-border-radius-bottomleft: 4px;
+  -moz-border-radius-bottomright: 4px;
   -moz-box-shadow: 0 0 5px rgba(255,255,255,.5) inset;
   color: white;
   text-shadow: 0 0 2px #333;
   font-weight: bold;
-  padding: .2em 2em;
+  padding: .1em 1.5em;
+  margin: 0;
 }
 
 #appmenu-button:hover:not(:active):not([open]) {
   background-color: rgb(248,140,34);
 }
 
 #appmenu-button:hover:active,
 #appmenu-button[open] {
@@ -155,16 +158,35 @@ statusbarpanel#statusbar-display {
   margin: 0;
   -moz-margin-start: .5em;
 }
 
 #appmenu-button > menupopup > menuitem {
   -moz-padding-end: 16px;
 }
 
+/* XXX: stop-gap until the button can be drawn in the title bar */
+%ifdef WINSTRIPE_AERO
+@media not all and (-moz-windows-compositor) {
+%endif
+  #main-window[tabsontop="true"] > #appmenu-button-container > #appmenu-button {
+    position: relative !important;
+    margin-bottom: -1.6em !important;
+  }
+  #navigator-toolbox[tabsontop="true"] > #toolbar-menubar[autohide="true"] {
+    position: relative !important;
+    background-color: -moz-dialog !important;
+  }
+  #navigator-toolbox[tabsontop="true"] > #toolbar-menubar[autohide="true"] ~ #TabsToolbar {
+    -moz-padding-start: 10em !important;
+  }
+%ifdef WINSTRIPE_AERO
+}
+%endif
+
 /* ::::: bookmark buttons ::::: */
 
 toolbarbutton.bookmark-item {
   margin: 0;
   padding: 2px 3px;
 }
 
 toolbarbutton.bookmark-item:hover:active:not([disabled="true"]),