From 79fa9ec30d5877bf4b8c01bdccb348b18590e438 Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Wed, 13 Jan 2010 17:19:49 +0100 Subject: [PATCH] Bug 534152 - When the toolbars in the main browser window are hidden using the toolbar toggle pill, add a dummy 2px-high toolbar so that the titlebar separator isn't shown and the tabs can visually merge with the titlebar. r=dao --- browser/themes/pinstripe/browser/browser.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/browser/themes/pinstripe/browser/browser.css b/browser/themes/pinstripe/browser/browser.css index 8dd24b1f6b4f..02d4d4029a65 100644 --- a/browser/themes/pinstripe/browser/browser.css +++ b/browser/themes/pinstripe/browser/browser.css @@ -120,8 +120,11 @@ background-color: #eeeeee; } -#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"] { - border-top: 1px solid rgba(0,0,0,0.65); +#main-window[chromehidden~="toolbar"][chromehidden~="location"][chromehidden~="directories"]::before { + content: ""; + display: -moz-box; + -moz-appearance: -moz-mac-unified-toolbar; + height: 2px; } /* ----- INACTIVE WINDOW ----- */