Created
September 1, 2021 11:11
-
-
Save kastaneda/0456c7bf5fe59e87abbe086ab8e3ed66 to your computer and use it in GitHub Desktop.
Firefox 91 goddamned "floating tabs" fix
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
/* | |
* Based on https://www.askvg.com/tip-new-working-method-to-restore-classic-theme-and-ui-in-firefox-91-and-later-versions/ | |
* Modified a little for my own preferences | |
*/ | |
.tab-background { | |
/* I'm fine with rounded top corners */ | |
border-radius: 4px 4px 0px 0px !important; | |
margin-bottom: 0px !important; | |
} | |
.tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background { | |
background-color: color-mix(in srgb, currentColor 5%, transparent); | |
} | |
menupopup > menu, menupopup > menuitem { | |
padding-block: 2px !important; | |
} | |
:root { | |
--arrowpanel-menuitem-padding: 2px !important; | |
} | |
.titlebar-color { | |
color: -moz-accent-color-foreground; | |
background-color: -moz-accent-color; | |
} | |
#tabs-newtab-button { | |
/* Height is not the same as tab height */ | |
/* Margin cannot be overriden, so I use transparent border */ | |
border-top: 4px solid #0000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment