Last active
April 1, 2025 05:37
-
-
Save Arty2/b145ae315cb3c2d6e3e0940ce0df2666 to your computer and use it in GitHub Desktop.
proton-tweaks
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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/*---------------------------------------------------------- | |
Firefox proton theme tweaks | |
references: https://gist.github.com/tung/439935f55cc83af20defd7867ec89c82; | |
*/ | |
/* remove radius from buttons and tabs */ | |
*|*:root { | |
--toolbarbutton-border-radius: 0 !important; | |
--tab-border-radius: 0 !important; | |
--toolbarbutton-outer-padding: 0 !important; | |
--toolbarbutton-inner-padding: 8px !important; | |
--toolbar-start-end-padding: 0 !important; | |
} | |
/* remove margin fron tabs */ | |
.tab-background { | |
margin-block: 0 !important; | |
} | |
/* remove padding between tabs */ | |
.tabbrowser-tab { | |
padding-inline: 0 !important; | |
} | |
/*fix for when titlebar gets taller when there are many tabs*/ | |
#tabbrowser-arrowscrollbox { | |
height: var(--tab-min-height); | |
} | |
/* remove titlebar top padding */ | |
#titlebar { | |
margin-top: 0 !important; | |
} | |
/* remove gaps in tab bar start and end */ | |
.titlebar-spacer[type="pre-tabs"] { | |
width: 0 !important; | |
} | |
.titlebar-spacer[type="post-tabs"] { | |
width: 0 !important; | |
} | |
/*TODO: remove corner radius from pop-ups*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment