Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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 svar
  • 1 har detta problem
  • 19 visningar
  • Senaste svar av 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!

Alla svar (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; }