From 57d384e477bfa8ab6f8467bb8ad52054e918167b Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 31 Dec 2022 10:44:42 +0100 Subject: firefox: tab counter --- mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mozilla/.mozilla/firefox') diff --git a/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css b/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css index 292f913..5e97c30 100644 --- a/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css +++ b/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css @@ -52,3 +52,15 @@ tab { .tabbrowser-tab:hover .tab-background:not([selected]) { background: #eeeeee !important; } + +/* Tab counter */ +#tabbrowser-tabs{ + counter-reset: n_tabs 0; +} +.tabbrowser-tab .tab-content{padding-left: 2px;} +.tabbrowser-tab .tab-content::before{ + display: -moz-box; + padding-right:3px; + counter-increment: n_tabs; + content: counter(n_tabs); +} -- cgit v1.2.3