Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Can I set the Folder Name color for Account folders that have UNREAD messages?

  • 2 replies
  • 0 have this problem
  • 1 view
  • Paskiausią atsakymą parašė 4WoofGrrrr

more options

I have the following in my userChrome.css to set the color of the Folder Name to green for Accounts that have NEW messages:

treechildren::-moz-tree-cell-text(isServer-true, folderNameCol, biffState-NewMail) {

 font-weight: bold !important;
 color: #00DD22 !important;

}

Can I set the color of the Folder Name for Accounts that have UNREAD messages? If so, what selectors would I use?

Thanks, ---Mark

I have the following in my userChrome.css to set the color of the Folder Name to green for Accounts that have NEW messages: treechildren::-moz-tree-cell-text(isServer-true, folderNameCol, biffState-NewMail) { font-weight: bold !important; color: #00DD22 !important; } Can I set the color of the Folder Name for Accounts that have UNREAD messages? If so, what selectors would I use? Thanks, ---Mark

Modified by 4WoofGrrrr

All Replies (2)

more options

Try this:

/* Highlight Folders if subfolders have unread messages */
treechildren::-moz-tree-cell-text(subfoldersHaveUnreadMessages-true) {
  color: red !important;
}

/* Make Folders having Unread_Messages distinct from others */
treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
  color: blue !important;
}

Help/More Troubleshooting, Profile Folder, Open Folder, close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userChrome.css, Save as type: All files *.*, copy in the above code, change the colors as desired. Toggle toolkit.legacyUserProfileCustomizations.stylesheets to true in Settings/General/Config. editor, restart TB.

more options

sfhowes said

Try this:
/* Highlight Folders if subfolders have unread messages */
treechildren::-moz-tree-cell-text(subfoldersHaveUnreadMessages-true) {
  color: red !important;
}

/* Make Folders having Unread_Messages distinct from others */
treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
  color: blue !important;
}


Yeah, thanks. I tried that. It doesn't seem to work for the ACCOUNT (IMAP) Folder.

Modified by 4WoofGrrrr