Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 replies
  • 1 has this problem
  • 19 views
  • Last reply by 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!

All Replies (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; }