搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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; }