haruka123
小狐狸
小狐狸
  • UID57156
  • 注册日期2019-06-17
  • 最后登录2023-06-10
  • 发帖数5
  • 经验7枚
  • 威望0点
  • 贡献值8点
  • 好评度1点
  • 社区居民
阅读:1605回复:3

[css]73.0 启用标签计数+列出所有标签 求帮助

楼主#
更多 发布于:2020-02-16 14:30


/*启用标签计数+列出所有标签*/
#main-window {
    counter-reset: tabs;
}
 
.tabbrowser-tab:not(:-moz-any([concealed])) {
    counter-increment: tabs;
}
 
#alltabs-button {
    visibility: visible!important;
    margin-right: -22px !important;
}
 
#alltabs-button:after {
    content: counter(tabs);
    display: -moz-box;
}
 
#alltabs-button> :-moz-any(label, image) {
    display: none;
}

72之前一直使用的是贴出的这段




73增加了 browser.tabs.tabmanager.enabled 但是如何启用标签计数呢? 谢谢!

最新喜欢:

hillhill
新垣结衣
火狐狸
火狐狸
  • UID55997
  • 注册日期2017-09-25
  • 最后登录2022-08-31
  • 发帖数103
  • 经验115枚
  • 威望0点
  • 贡献值64点
  • 好评度10点
  • 忠实会员
  • 社区居民
1楼#
发布于:2020-02-16 16:19
/*启用标签计数+列出所有标签*/
#main-window {
  counter-reset: tabs;
}
 
.tabbrowser-tab:not(:-moz-any([concealed])) {
  counter-increment: tabs;
}
 
#alltabs-button {
  visibility: visible!important;
  margin-right: -22px !important;
}
 
#alltabs-button:after {
  content: counter(tabs);
  display: -moz-box;
}
haruka123
小狐狸
小狐狸
  • UID57156
  • 注册日期2019-06-17
  • 最后登录2023-06-10
  • 发帖数5
  • 经验7枚
  • 威望0点
  • 贡献值8点
  • 好评度1点
  • 社区居民
2楼#
发布于:2020-02-16 18:22
新垣结衣:/*启用标签计数+列出所有标签*/
#main-window {
  counter-reset: tabs;
}
 
.tabbrowser-tab:not(:-moz-any()) {
  counter-increment...
回到原帖
有效,谢谢你的帮助!
eagle5678
千年狐狸
千年狐狸
  • UID4956
  • 注册日期2005-04-10
  • 最后登录2023-04-02
  • 发帖数1247
  • 经验204枚
  • 威望0点
  • 贡献值120点
  • 好评度3点
3楼#
发布于:2020-10-02 20:24
没效果啊
游客

返回顶部