Last active
August 22, 2024 02:14
-
-
Save reuben/4afa453611abd7f1477429b2c001fa1d to your computer and use it in GitHub Desktop.
Firefox userChrome.css for compact layout with Sideberry extension — add a "Flexible Space" on the left side of the toolbar to prevent navigation controls overlapping with macOS window controls
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
:root { | |
--uc-toolbar-height: 32px; | |
} | |
:root:not([uidensity="compact"]) { | |
--uc-toolbar-height: 34px; | |
} | |
#TabsToolbar > * { | |
visibility: collapse !important; | |
} | |
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls { | |
visibility: visible !important; | |
z-index: 2; | |
} | |
#TabsToolbar > .titlebar-buttonbox-container { | |
visibility: visible !important; | |
height:var(--uc-toolbar-height) !important; | |
} | |
#nav-bar{ | |
margin-top: calc(0px - var(--uc-toolbar-height)); | |
} | |
:root[inFullscreen] #navigator-toolbox { | |
margin-top: 11px; | |
} |
Author
reuben
commented
Aug 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment