/* Change the folder ICON to the folder-open */
treechildren::-moz-tree-image(folderNameCol) {
margin-right: 2px !important;
list-style-image: url("images/folder-open.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the folder ICON to the folder-new-open */
treechildren::-moz-tree-image(folderNameCol, hasUnreadMessages-true,
newMessages-true) {
margin-right: 2px !important;
list-style-image: url("images/folder-new-open.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the INBOX-Folder ICON to the folder-inbox */
treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
margin-right: 2px !important;
list-style-image: url("images/folder-inbox.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the New-INBOX-Folder ICON to the folder-inbox-new */
treechildren::-moz-tree-image(folderNameCol,
specialFolder-Inbox,hasUnreadMessages-true, newMessages-true) {
margin-right: 2px; !important;
list-style-image: url("images/folder-inbox-new.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the Drafts-Folder ICON to the folder-draft-open */
treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
margin-right: 2px !important;
list-style-image: url("images/folder-draft-open.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the JUNK-Folder ICON to the folder-junk-open */
treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
margin-right: 2px !important;
list-style-image: url("images/folder-junk-open.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the Trash-Folder ICON to the folder-trash-open */
treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
margin-right: 2px !important;
list-style-image: url("images/folder-trash-open.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the Sent-Folder ICON to the folder-outbox */
treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
margin-right: 2px !important;
list-style-image: url("images/folder-outbox.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the server ICON to the server-local */
treechildren::-moz-tree-image(folderNameCol, isServer-true) {
margin-right: 2px !important;
list-style-image: url("images/server-local.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the server ICON to the server-local */
treechildren::-moz-tree-image(folderNameCol, biffState-NewMail,
isServer-true) {
margin-right: 2px !important;
list-style-image: url("images/server-local-new.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
/* Change the server ICON to the folder-newsgroup */
treechildren::-moz-tree-image(folderNameCol, serverType-nntp) {
margin-right: 2px !important;
list-style-image: url("images/folder-newsgroup.gif") !important;
-moz-image-region: rect(0 16px 16px 0) !important;
}
treechildren::-moz-tree-image(folderNameCol, isServer-true,
serverType-nntp) {
list-style-image: url("chrome://messenger/skin/icons/server-news.gif");
}
treechildren::-moz-tree-image(folderNameCol, isServer-true,
serverType-nntp, isSecure-true) {
list-style-image:
url("chrome://messenger/skin/icons/server-news-lock.gif");
}
Try the "subfoldersHaveUnreadMessages-true" value. So for the Inbox,
your CSS rule should be somthing like:
treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox,
subfoldersHaveUnreadMessages-true) {
...
}
--
Regards,
Roland
Unfortunately this didn't work, I have tried as you suggested as well
as others (listed below) all with the same result the Family icon stays
the same but the family member icon turns to the new mail icon. Is it
possible that this is just not possible?
treechildren::-moz-tree-image(folderNameCol,
hasUnreadMessages-true,subfoldersHaveUnreadMessages-true) {
list-style-image: url("images/folder-open-newmail.png") !important;
-moz-image-region: rect(0 24px 24px 0) !important;
}
treechildren::-moz-tree-image(folderNameCol,
subfoldersHaveUnreadMessages-true) {
list-style-image: url("images/folder-open-newmail.png") !important;
-moz-image-region: rect(0 24px 24px 0) !important;
}
treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox,
newMessages-true,subfoldersHaveUnreadMessages-true) {
list-style-image: url("images/inbox-newmail.png") !important;
-moz-image-region: rect(0 24px 24px 0) !important;
}
No virus found in this outgoing message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.6.14/1643 - Release Date: 8/30/2008 5:18 PM