Bug 879162 - Adjust CSS to fix gap between menubar and tabs in autohide vs. permanent cases, r=dao
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 05 Jun 2013 14:24:16 +0200
changeset 134062 7b92268387848e7f7da1fd4b8c4f6b6a1bd5a795
parent 134061 558fa738a8985d4b7e17a2efe306dec04b986920
child 134323 21ceab5a762381c11b0d4d43c8d2857e03f0769f
push id120
push usergijskruitbosch@gmail.com
push dateWed, 05 Jun 2013 12:25:39 +0000
treeherderux@7b9226838784 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs879162
milestone24.0a1
Bug 879162 - Adjust CSS to fix gap between menubar and tabs in autohide vs. permanent cases, r=dao
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -24,17 +24,18 @@
 
 #main-menubar {
   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
 }
 
 /* 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([inactive]) ~ #TabsToolbar {
+#toolbar-menubar:not([autohide="true"]) ~ #TabsToolbar,
+#toolbar-menubar[autohide="true"]:not([inactive]) ~ #TabsToolbar {
   margin-top: 3px;
 }
 
 #main-window[sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
   margin-top: 15px;
 }
 
 #toolbar-menubar:not([autohide="true"]) {