-
-
Save tsukkee/733705 to your computer and use it in GitHub Desktop.
numbering on each tab for Firefox
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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
#TabsToolbar { | |
counter-reset: tabnumber; | |
} | |
#TabsToolbar tab { | |
counter-increment: tabnumber; | |
} | |
#TabsToolbar tab:not([pinned])::before { | |
display: inline-block; | |
position: relative; | |
z-index:65535; | |
width: 4em; | |
margin-right: -4em; | |
padding-top: 10px; | |
content: counter(tabnumber); | |
font-family: menlo, monospace; | |
font-size: 0.8em; | |
font-weight: bold; | |
color: #eee; | |
text-shadow: rgba(0,0,0,.2) 1px 0, | |
rgba(0,0,0,.2) 0 1px, | |
rgba(0,0,0,.2) -1px 0, | |
rgba(0,0,0,.2) 0 -1px, | |
blue 0 0 0.4em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment