We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

How to change the color of account/folder items in the left account and folder pane when account/folder contains new mails via userCrome.css or userContent.css

  • 5 个回答
  • 1 人有此问题
  • 19 次查看
  • 最后回复者为 online6

more options

I'm using the ubuntu dark theme. The folders, that contains new messages are bright white. I wish to change this color to a more eye friendly color. Whats the correct handle of this items in the userChrome or userContent? Thanks fro advise!

I'm using the ubuntu dark theme. The folders, that contains new messages are bright white. I wish to change this color to a more eye friendly color. Whats the correct handle of this items in the userChrome or userContent? Thanks fro advise!

所有回复 (5)

more options

The color of the folder name and number of new messages can be modified with this userChrome.css (see picture):

/* Change the color of folders with unread messages */
treechildren::-moz-tree-cell-text(hasUnreadMessages-true)
{color: red !important;}
more options

Thanks for the quick reply, it woks!

more options

Hi, can one define different colors for unread and new messages?

more options

Every new message is unread, but not every unread message is new, and a folder can have unread and new messages. So, I don't think it's possible to have different colors in the folder text.

more options

I've solved it with this in my userChrome.css

/* Change the color of folders with new messages */ treechildren::-moz-tree-cell-text(newMessages-true) { color: red !important; font-weight: bold !important; }