Bug 963590 - [Mac] Make sure lightweight themes don't affect fullscreen toolbar height/position. r=MattN

This commit is contained in:
Tim Chien 2014-04-08 03:35:00 +02:00
parent 15bff3febb
commit 1c96f3f561

View File

@ -3928,15 +3928,14 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
/* Lion Fullscreen window styling */
@media (-moz-mac-lion-theme) {
#navigator-toolbox[inFullscreen]:not(:-moz-lwtheme)::before {
#navigator-toolbox[inFullscreen]::before {
/* Adjust by the full element height of #titlebar, since that element is
* not displayed in native full-screen.
* Also add the height of the tabs, since we're calculating the
* total height of this pseudo-element, not just the top-padding. */
height: calc(@tabHeight@ + @spaceAboveTabbar@) !important;
}
#main-window[inFullscreen][privatebrowsingmode=temporary],
#main-window[inFullscreen]:-moz-lwtheme {
#main-window[inFullscreen][privatebrowsingmode=temporary] {
/* Adjust by the full element height of #titlebar, since that element is
* not displayed in native full-screen. */
padding-top: @spaceAboveTabbar@;