current/css/toolbars/menubar_in_fullscreen_mode_alt.css
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


/* menubar visibility in fullscreen mode */
#main-window[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #toolbar-menubar {
  visibility: visible !important;
}

#toolbar-menubar {
  width: unset !important;
  -moz-window-dragging: unset !important;
}

#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #navigator-toolbox[style*="margin-top: -"] #toolbar-menubar {
  visibility: collapse !important;
  display: none !important;
}

#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #toolbar-menubar {
  -moz-margin-start: 0px !important;
}

#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="fullscreen"] #nav-bar {
  margin-top: 26px !important;
}

@media (-moz-platform: windows) {
	#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="fullscreen"] #nav-bar {
	  margin-top: 18px !important;
	}
}
