Created
April 12, 2017 07:35
-
-
Save linusyu/ad5f0e222850d617f9583397193bd5f5 to your computer and use it in GitHub Desktop.
让 Firefox 的 tab 显示序号
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"); | |
.tabbrowser-tab:not([pinned]){ | |
min-width: 50px; | |
} | |
window { | |
counter-reset:section; | |
} | |
.tab-stack{ | |
padding-left: 3px; | |
} | |
.tab-stack::before{ | |
counter-increment:section; | |
content:counter(section); | |
color: #000; | |
line-height: 31px; | |
display: block; | |
} | |
.tab-content{ | |
padding-left: 18px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment