diff --git a/browser/themes/linux/browser.css b/browser/themes/linux/browser.css index 759221adca0..dad7d572d33 100644 --- a/browser/themes/linux/browser.css +++ b/browser/themes/linux/browser.css @@ -51,6 +51,18 @@ padding-bottom: 1px; } +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { + overflow: -moz-hidden-unscrollable; + max-height: 4em; + transition: min-height 170ms ease-out, max-height 170ms ease-out; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { + min-height: 0.1px; + max-height: 0; + transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; +} + #TabsToolbar:not([collapsed="true"]) + #nav-bar { border-top: 1px solid hsla(0,0%,0%,.3) !important; background-clip: padding-box; diff --git a/browser/themes/osx/browser.css b/browser/themes/osx/browser.css index f2de5ac6a92..926674ca681 100644 --- a/browser/themes/osx/browser.css +++ b/browser/themes/osx/browser.css @@ -109,6 +109,18 @@ toolbarseparator { background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%); } +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { + overflow: -moz-hidden-unscrollable; + max-height: 4em; + transition: min-height 170ms ease-out, max-height 170ms ease-out; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { + min-height: 0.1px; + max-height: 0; + transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; +} + #nav-bar { -moz-appearance: none; background: url(chrome://browser/skin/Toolbar-background-noise.png), @@ -149,7 +161,7 @@ toolbarseparator { padding: 4px; } -#PersonalToolbar { +#PersonalToolbar:not([collapsed=true]) { padding: 0 4px 4px; /* 4px padding ^ plus 19px personal-bookmarks (see below) */ min-height: 23px; diff --git a/browser/themes/windows/browser.css b/browser/themes/windows/browser.css index 6bedf99ec03..79e015bf0da 100644 --- a/browser/themes/windows/browser.css +++ b/browser/themes/windows/browser.css @@ -78,6 +78,18 @@ background-color: -moz-Dialog; } +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { + overflow: -moz-hidden-unscrollable; + max-height: 4em; + transition: min-height 170ms ease-out, max-height 170ms ease-out; +} + +#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] { + min-height: 0.1px; + max-height: 0; + transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear; +} + %ifdef WINDOWS_AERO @media not all and (-moz-windows-compositor), not all and (-moz-windows-default-theme) {