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

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

  • 2 odgovori
  • 0 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao 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

Izmjenjeno od strane 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.

Izmjenjeno od strane 4WoofGrrrr