Code: Select all
/* Do not remove the @namespace line -- it's required for correct functioning */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
/* Folder pane -font size & type */
#folderTree >treechildren::-moz-tree-cell-text {
font-size: 9pt !important;
font-family: Helvetica, sans-serif; }
/* Folder pane -Line spacing */
#folderTree >treechildren::-moz-tree-row {
height: 20px !important; }
/* ###### Folder pane icon replacements ####### */
/* Mail "Inbox" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Inbox"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
list-style-image: url("smart_folder.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Mail "Sent" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Sent"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
list-style-image: url("folder.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Mail "Outbox" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Outbox"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Outbox) {
list-style-image: url("folder.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Mail "Trash" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Trash"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
list-style-image: url("trash_narrow.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Mail "Junk" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Junk"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
list-style-image: url("trash_narrow.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Mail "Drafts" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Drafts"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
list-style-image: url("document.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Mail "Templates" icon replacement */
.tabmail-tab[type="folder"][SpecialFolder="Templates"],
treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
list-style-image: url("document.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* All mail account icon replacements */
treechildren::-moz-tree-image(folderNameCol, specialFolder-none, isServer-true, serverType-pop3) {
list-style-image: url("folder.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* "Local Folders" icon replacement */
treechildren::-moz-tree-image(folderNameCol, specialFolder-none, isServer-true, serverType-none) {
List-style-image: url("folder.png") !important;
-moz-image-region: rect(0 16px 16px 0) !important;}
/* Usenet newsgroup account icon replacement */
#folderTree > treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp)
{list-style-image: url("news.png") !important;}
What's left is figuring out how to add custom icons for:
"Archive" folder
"Smart" (search) folders
Newsgroups
Any folder not already pre-defined above (mail sub-folders etc.)
Does anyone know how? I'm using TB 31.1.2 on a Mac.