Skip to content

Instantly share code, notes, and snippets.

@cfillion
Last active November 18, 2017 03:58
Show Gist options
  • Save cfillion/12d6c65d0749e1ac4607574ae59b97e7 to your computer and use it in GitHub Desktop.
Save cfillion/12d6c65d0749e1ac4607574ae59b97e7 to your computer and use it in GitHub Desktop.
My custom `profile_root/chrome/userChrome.css` file for tab numbering in Firefox
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
tab {
counter-increment: tabnumber;
}
.tabbrowser-tab:not([pinned]):not([selected]):before {
background: none !important;
color: black !important;
content: "\A0\A0" counter(tabnumber) !important;
font-size: 9px !important;
font-weight: bold !important;
margin-right: -1em !important;
opacity: 0.5 !important;
padding-top: 18px !important;
position: absolute !important;
z-index: 65535 !important;
}
.tabbrowser-tab::after, .tabbrowser-tab::before {
border: none !important;
}
#PopupAutoCompleteRichResult[type='autocomplete-richlistbox'] {
opacity: 0.9 !important;
}
#PopupAutoCompleteRichResult[type='autocomplete-richlistbox']:hover {
opacity: 0.4 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment