如何隐藏 Thunderbird 的排序栏?

发布于 2024-12-14 12:12:40 字数 127 浏览 6 评论 0原文

我隐藏了 Thunderbird 的几乎所有其他元素,以创建一个最小的界面。我只按日期对邮件进行排序,因此不需要排序栏。

排序栏是否有一个可以使用 CSS 轻松隐藏的类名称(如 .sortBar)?

I have almost all other elements of Thunderbird hidden to create a minimal interface. I keep my mail sorted by date only so I do not need the sort bar.

Does the sort bar have a class name (like .sortBar) that I can easily hide with CSS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜巴黎 2024-12-21 12:12:40

userChrome.css 适用于 Thunderbird 31.1.1:

vbox#threadContentArea > tree#threadTree > treecols:first-child {
    height:0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

注意:

  1. 在这种情况下仅使用 display:none 不起作用;如果熟悉 XUL / moz CSS 的人知道原因,欢迎评论。上面的规则可以解决这个问题,但留下 8px 高度的空白空间。再次欢迎改进 :)
  2. 要创建此类规则,请使用 DOM Inspector 插件(从 Thunderbird 的“扩展”屏幕安装它),然后检查 Thunderbird 的 XUL 树(文件 > 检查 Chrome 文档),并尝试构建 CSS您要修改的内容的选择器

This userChrome.css works as of Thunderbird 31.1.1:

vbox#threadContentArea > tree#threadTree > treecols:first-child {
    height:0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

Notes:

  1. Just using display:none doesn't work in this case; comments welcome if someone knowledgeable with XUL / moz CSS knows why. The rules above work around that, but leave an empty space of 8px height. Again, improvements welcome :)
  2. To create such rules, use the DOM Inspector addon (install it from Thunderbird's "Extensions" screen), then inspect the XUL tree of Thunderbird (File > Inspect Chrome Document), and try to build a CSS selector of what you want to modify.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文