Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

Thunderbird 115 folder pane colours

mrm.one 已回复
mrm.one

Does anyone know how to change the folderpane colours in 115. I use a userChrome.css, which no longer works in 115, as I beleive the commands have changed.

This is what I use currently, but have no idea what changed need to be made to make it work in 115. Any help would be appreciated.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* set default namespace to XUL */


treechildren::-moz-tree-row {margin-bottom: -3px !important;} treechildren::-moz-tree-row(hover), treechildren::-moz-tree-row(selected) {margin-bottom: -2px !important;}

/**/

   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true, selected) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true, selected) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true),
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
     font-weight: bold !important;
     color: Black !important;
   }
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true, selected),
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected),
   #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true, selected) {
     font-weight: bold !important;
     color: Black !important;
   }

/**/'''''''

Does anyone know how to change the folderpane colours in 115. I use a userChrome.css, which no longer works in 115, as I beleive the commands have changed. This is what I use currently, but have no idea what changed need to be made to make it work in 115. Any help would be appreciated. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ treechildren::-moz-tree-row {margin-bottom: -3px !important;} treechildren::-moz-tree-row(hover), treechildren::-moz-tree-row(selected) {margin-bottom: -2px !important;} /**/ #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, hasUnreadMessages-true, selected) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, subfoldersHaveUnreadMessages-true, selected) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true), #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true), #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) { font-weight: bold !important; color: Black !important; } #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, closed, newMessages-true, selected), #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected), #folderTree > treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true, selected) { font-weight: bold !important; color: Black !important; } /**/''''''''''''
已附加屏幕截图

所有回复 (2)

There was much new code (part of the goal) in 115 that eliminated much of the CSS that many (including myself) have used through the years. Discovering replacement CSS with the new environment will be a matter of individual experimentation. SO, what that means is that some of the CSS tweaks that we have used may not be available in the near future, if at all. CSS is no specialty of mine so I also am waiting to see what new CSS becomes available.

Thanks David, I will just have to keep trawling through the web, and hope as 115 usage increases, more details emerge. Appreciate you taking the time to reply.