Last active
March 6, 2023 20:03
-
-
Save aphilas/d18ff7a2508d92615ed21bbe78bba337 to your computer and use it in GitHub Desktop.
Firefox numbered tabs
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
Source - https://github.com/tuomassalo/tab-numbering/blob/master/README.md | |
Add to /home/<user>/.mozilla/firefox/<profile>/chrome/userChrome.css | |
Enable toolkit.legacyUserProfileCustomizations.stylesheets in about:config |
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
tabs { | |
counter-reset: tab-counter; | |
} | |
tab:nth-child(1) .tab-content::before, | |
tab:nth-child(2) .tab-content::before, | |
tab:nth-child(3) .tab-content::before, | |
tab:nth-child(4) .tab-content::before, | |
tab:nth-child(5) .tab-content::before, | |
tab:nth-child(6) .tab-content::before, | |
tab:nth-child(7) .tab-content::before, | |
tab:nth-child(8) .tab-content::before { | |
counter-increment: tab-counter; | |
content: counter(tab-counter) ""; | |
position: absolute; | |
left: 22px; | |
top: 6px; | |
padding: 0px 4px; | |
border-radius: 7px; | |
opacity: .7; | |
font-weight: bold; | |
font-size: 70%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment