Skip to content

Instantly share code, notes, and snippets.

@Arty2
Last active February 21, 2024 14:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Arty2/b145ae315cb3c2d6e3e0940ce0df2666 to your computer and use it in GitHub Desktop.
Save Arty2/b145ae315cb3c2d6e3e0940ce0df2666 to your computer and use it in GitHub Desktop.
proton-tweaks
@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