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! 🎁

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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 odpovědí
  • 1 má tento problém
  • 19 zobrazení
  • Poslední odpověď od 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!

Všechny odpovědi (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; }