Bug 1411648 - Remove leftover z-index and bogus border from the nav bar. r?nhnt11
MozReview-Commit-ID: 5rdVAEHczZd
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -127,37 +127,30 @@
}
/* Draw the bottom border of the tabs toolbar when it's not using
-moz-appearance: toolbar. */
#main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar:not([collapsed="true"]) + #nav-bar,
#main-window:not([tabsintitlebar]) #TabsToolbar:not([collapsed="true"]) + #nav-bar,
#TabsToolbar:not([collapsed="true"]) + #nav-bar:-moz-lwtheme {
box-shadow: 0 calc(-1 * var(--tab-toolbar-navbar-overlap)) 0 var(--tabs-border);
- /* Position the toolbar above the bottom of background tabs */
- position: relative;
- z-index: 1;
}
/* Always draw a border on Yosemite to ensure the border is well-defined there
* (the default border is too light). */
@media (-moz-mac-yosemite-theme) {
:root:not(:-moz-lwtheme) {
--tabs-border: rgba(0,0,0,.2);
}
:root:not(:-moz-lwtheme):-moz-window-inactive {
--tabs-border: rgba(0,0,0,.05);
}
#main-window[tabsintitlebar] #TabsToolbar:not([collapsed="true"]) + #nav-bar:not(:-moz-lwtheme) {
- border-top: 1px solid var(--tabs-border);
- background-clip: padding-box;
- /* Position the toolbar above the bottom of background tabs */
- position: relative;
- z-index: 1;
+ box-shadow: 0 calc(-1 * var(--tab-toolbar-navbar-overlap)) 0 var(--tabs-border);
}
}
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
/* The toolbar buttons that animate are only visible when the #TabsToolbar is not collapsed.
The animations use position:absolute and require a positioned #nav-bar. */
position: relative;
}