Something went wrong. Try again.
Custom CSS tweaks for Firefox
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394/* Firefox userChrome.css tweaks ********************************************************//* Github: https://github.com/aris-t2/customcssforfx ************************************//****************************************************************************************/
@import "./tabs_below_navigation_toolbar.css";
/* [!] NOT A STANDALONE FILE! *//* [!] This code does not achieve the requested result without above files content! */
:root{ --tab_below_main_content_bottom_margin: calc(4px + var(--tab-min-height)); --tab_below_main_content_toolbar_height: calc(3px + var(--tab-min-height)); --tab_below_main_content_top_margin: -3px;}
#main-window:not([inDOMFullscreen="true"]) #TabsToolbar { position: fixed; display: block; bottom: 0; width: 100vw; background-clip: padding-box; color: var(--toolbar-color); min-height: 0 !important; height: var(--tab_below_main_content_toolbar_height) !important; max-height: unset !important; border-top: 1px solid ThreeDShadow !important;}
#tabbrowser-tabs { width: 100%;}
#main-window:not([inDOMFullscreen="true"]) #browser,#main-window:not([inDOMFullscreen="true"]) #customization-container { margin-bottom: var(--tab_below_main_content_bottom_margin) !important;}
#navigator-toolbox { z-index: 3 !important;}
#main-window:is([tabsintitlebar],[customtitlebar]):not([sizemode="fullscreen"]):not([inDOMFullscreen="true"]) #toolbar-menubar[inactive] ~ #nav-bar { padding-top: 24px !important;}
#toolbar-menubar,#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="fullscreen"] #nav-bar { padding-inline-end: 140px !important;}
#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="fullscreen"] #toolbar-menubar[inactive] ~ #nav-bar { padding-top: initial !important;}
#toolbar-menubar:not([inactive]) { height: 24px !important;}
/* lw-theme support */:root[lwtheme] :not([inDOMFullscreen="true"]) #navigator-toolbox #TabsToolbar { background-repeat: no-repeat !important; background-position: bottom left !important; background-color: var(--toolbar-bgcolor) !important; background-image: var(--lwt-header-image) !important;}
/* caption button position in maximized mode after moving to the top */#main-window:is([tabsintitlebar],[customtitlebar]):not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container,#main-window:is([tabsintitlebar],[customtitlebar])[sizemode="maximized"]:not([inDOMFullscreen="true"]) #TabsToolbar .titlebar-buttonbox-container { top: 0 !important;}
#main-window[inDOMFullscreen] .titlebar-buttonbox-container { display: none !important; opacity: 0 !important;}
/* macOS support*/@media (-moz-platform: macos) { #main-window:is([tabsintitlebar],[customtitlebar]):not([sizemode="fullscreen"]):not([inDOMFullscreen="true"]) #navigator-toolbox { padding-top: 24px !important; }
#main-window[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #browser, #main-window[sizemode="fullscreen"]:not([inDOMFullscreen="true"]) #customization-container { margin-bottom: 0 !important; }
}