Skip to content

Instantly share code, notes, and snippets.

@AnalogFeelings
Last active September 18, 2022 17:50
Show Gist options
  • Save AnalogFeelings/2be35719e4c2f9eb5ff3479882c6bae1 to your computer and use it in GitHub Desktop.
Save AnalogFeelings/2be35719e4c2f9eb5ff3479882c6bae1 to your computer and use it in GitHub Desktop.
User stylesheet to bring back the old titlebars in firefox.
/*================================================RECREATION OF THE OLD FIREFOX TITLEBAR================================================*/
/*- Enabling user stylesheets: https://www.reddit.com/r/FirefoxCSS/comments/73dvty/tutorial_how_to_create_and_livedebug_userchromecss/ */
:root {
--tab-min-height: 26px !important;
}
:root #tabbrowser-tabs {
--tab-min-height: 26px !important;
}
#toolbar-menubar .titlebar-button {
padding-block: 0px !important;
}
.tab-background {
--tab-block-margin: 3px 0 !important;
--tab-border-radius: 0px !important;
}
.tab-background:is([selected], [multiselected]) {
background-color: var(--toolbar-bgcolor) !important;
background-image: var(--toolbar-bgimage) !important;
box-sizing: border-box !important;
border-top: 2px solid skyblue !important;
}
.tab-close-button {
background-size: cover !important;
}
.tabbrowser-tab[first-visible-tab="true"] {
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-right: 2px !important;
padding-left: 0 !important;
}
.tab-close-button {
margin-top: 5px !important;
}
.tab-text {
margin-top: 3px !important;
}
.tab-icon-image {
margin-top: 5px !important;
}
.tab-icon-overlay {
margin-top: 5px !important;
}
.tab-secondary-label {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment