Created
December 4, 2019 02:03
-
-
Save hansbala/f2bf9cc819207ffc36c65bc591db0932 to your computer and use it in GitHub Desktop.
This file contains 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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ | |
:root { | |
/* fix for full screen mode */ | |
--tab-toolbar-navbar-overlap: 0px !important; | |
/* set minimum tab height */ | |
--tab-min-height: 24px !important; | |
} | |
#TabsToolbar {height:var(--tab-min-height)!important; margin-top:-1px!important; margin-bottom:1px!important} | |
/* Override vertical shifts when moving a tab */ | |
#TabsToolbar[movingtab] {padding-bottom:0px!important} | |
#TabsToolbar[movingtab] > .tabbrowser-tabs {padding-bottom:0px!important; margin-bottom:0px!important} | |
#TabsToolbar[movingtab] + #nav-bar {margin-top:0px!important} | |
/* | |
* Make the toolbar extra-compact (similar to v56 with CTR) | |
* | |
* Applies to Compact density | |
* | |
* Contributor(s): Alex Vallat | |
*/ | |
:root[uidensity=compact] #urlbar, | |
:root[uidensity=compact] .searchbar-textbox { | |
font-size: unset !important; | |
min-height: 18px !important; | |
} | |
:root[uidensity=compact] #identity-box { | |
max-height: 20px; | |
} | |
:root[uidensity=compact] #nav-bar .toolbarbutton-1 { | |
padding: 0px !important; | |
} | |
/* Compatibility with auto-hide.css */ | |
:root[uidensity=compact] #navigator-toolbox { | |
--nav-bar-height: 24px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment