We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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

  • 2 odgovora
  • 0 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od 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 4WoofGrrrr

Svi odgovori (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 4WoofGrrrr