Last active
August 11, 2021 09:26
-
-
Save insin/8680aaa5d04d32211b0854c8494e22d0 to your computer and use it in GitHub Desktop.
Firefox 91 userChrome.css
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
/* Remove the gap to the left and right of the title tab bar */ | |
#TabsToolbar hbox.titlebar-spacer[type="pre-tabs"], | |
#TabsToolbar hbox.titlebar-spacer[type="post-tabs"] { | |
display: none !important; | |
} | |
/* Remove the buttons on the right of the location bar */ | |
#page-action-buttons { | |
display: none !important; | |
} | |
/* Proton Tabs Tweaks */ | |
#tabbrowser-tabs { | |
--user-tab-rounding: 6px; | |
} | |
.tab-background { | |
border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important; | |
margin-block: 1px 0 !important; | |
} | |
/* Remove extra padding between tabs */ | |
.tabbrowser-tab { | |
padding-left: 0 !important; | |
} | |
#TabsToolbar .toolbarbutton-1 { | |
/* Remove rounded corners from new tab / list all tabs button */ | |
--tab-border-radius: 0; | |
/* Make the new tab button touch the toolbar */ | |
--tabs-navbar-shadow-size: 0; | |
} | |
/* Remove extra padding in tab scroll buttons */ | |
#scrollbutton-up, | |
#scrollbutton-down { | |
padding: 0 !important; | |
} | |
/* Tighten up drop-down/context/popup menu spacing */ | |
menupopup > menuitem, menupopup > menu { | |
padding-block: 4px !important; | |
} | |
:root { | |
--arrowpanel-menuitem-padding: 4px 8px !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment