Last active
April 17, 2025 14:20
-
-
Save waimus/3209ce6fbd468fe548698000c2281d49 to your computer and use it in GitHub Desktop.
Firefox CSS tabs toolbar auto hide.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* tab bar auto hide */ | |
@-moz-document url(chrome://browser/content/browser.xul), | |
url(chrome://browser/content/browser.xhtml) { | |
/* show tabs toolbar when navigator-toolbox gets hovered */ | |
#main-window:not([customizing]) #navigator-toolbox:hover #TabsToolbar { | |
visibility: visible !important; | |
opacity: 1 !important; | |
margin-bottom: 0px; | |
transition: visibility 0.1s linear, opacity 0.1s linear, margin-bottom 0.1s linear; | |
} | |
/* hide tabs toolbar when unfocused */ | |
#main-window:not([customizing]) #TabsToolbar:not(:hover) { | |
visibility: collapse !important; | |
opacity: 0 !important; | |
margin-bottom: -40px; | |
transition: visibility 0.1s linear, opacity 0.1s linear, margin-bottom 0.1s linear; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!! Works on Firefox v.137.0.2