Bug 888044 - [Australis] Hide the titlebar placeholder when menubar is shown. r=mconley, r=dao
authorDulanja Wijethunga <dulanja33@gmail.com>
Wed, 08 Jan 2014 09:41:39 -0500
changeset 162549 c7136dd407a6f1a02c4bf99b47cd6bfbf94a1199
parent 162548 cd03f802a3b9aede1c12cb7b2b116219b1738016
child 162550 b46d73d9f7150adaf415ca4fd2100f1655cbac66
push id25959
push userryanvm@gmail.com
push dateWed, 08 Jan 2014 20:28:56 +0000
treeherdermozilla-central@9ca0f64ee634 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, dao
bugs888044
milestone29.0a1
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 888044 - [Australis] Hide the titlebar placeholder when menubar is shown. r=mconley, r=dao
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -19,16 +19,22 @@
 #menubar-items {
   -moz-box-orient: vertical; /* for flex hack */
 }
 
 #main-menubar {
   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
 }
 
+/* Hides the titlebar-placeholder underneath the window caption buttons when we
+   are not autohiding the menubar. */
+#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
+  display: none;
+}
+
 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
    toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
    of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
 #toolbar-menubar:not([autohide="true"]) ~ #TabsToolbar,
 #toolbar-menubar[autohide="true"]:not([inactive]) ~ #TabsToolbar {
   margin-top: 3px;
 }