Color to highlight mailboxes
-
- Posts: 606
- Joined: November 6th, 2004, 4:41 pm
- Contact:
Color to highlight mailboxes
When there is unread mail, the containing mailbox is supposed to be highlighted with dark black text.
Is there a way to specify that a different color be used?
Is there a way to specify that a different color be used?
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
Try this code which is very closed to yours, I hope you'll like it.I've used this code longer time.
So, in the userchrome.css (c\documents and setting\user\Application data\thunderbird\profile\chrome\userchrome. css)add this code:
Restart TB, send e-mail to yourself to see a different at once.
So, in the userchrome.css (c\documents and setting\user\Application data\thunderbird\profile\chrome\userchrome. css)add this code:
Code: Select all
/*** Messagepane text ***/
treechildren:-moz-tree-cell-text(unread) {
font-weight: bold !important;
color: rgb(255,0,0) !important;
font-size: 9pt !important;
font-family: Arial !important;
font-style:italic !important;}
Restart TB, send e-mail to yourself to see a different at once.
-
- Posts: 606
- Joined: November 6th, 2004, 4:41 pm
- Contact:
-
- Posts: 606
- Joined: November 6th, 2004, 4:41 pm
- Contact:
zoriv wrote:Try this code which is very closed to yours, I hope you'll like it.I've used this code longer time.
So, in the userchrome.css (c\documents and setting\user\Application data\thunderbird\profile\chrome\userchrome. css)add this code:Code: Select all
/*** Messagepane text ***/
treechildren:-moz-tree-cell-text(unread) {
font-weight: bold !important;
color: rgb(255,0,0) !important;
font-size: 9pt !important;
font-family: Arial !important;
font-style:italic !important;}
Restart TB, send e-mail to yourself to see a different at once.
The above code colors the mail item, I was asking about a way to color the mailbox.
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
Maybe you mean for this effect:
[img][img]http://img502.imageshack.us/img502/5466/capturewiz0022ot.jpg[/img][/img]
[img][img]http://img502.imageshack.us/img502/5466/capturewiz0022ot.jpg[/img][/img]
-
- Posts: 606
- Joined: November 6th, 2004, 4:41 pm
- Contact:
zoriv wrote:Maybe you mean for this effect:
[img][img]http://img502.imageshack.us/img502/5466/capturewiz0022ot.jpg[/img][/img]
i just want to highlight the mail boxes that have unread mail in a color other than bold black.
when quickly scrolling thru the mailboxes, it is too easy to miss bold black, esapecially with aging eyes.
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
-
- Posts: 3891
- Joined: October 31st, 2003, 8:38 pm
I use something like this (only more complicated), in userChrome.css.
This will affect the folder pane items. For other colors, this is handy:
http://meyerweb.com/eric/tools/color-blend/
Code: Select all
/* when folder has unread messages */
treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
color: #3300FF !important;
}
/* when subfolder has unread messages */
treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
color: #66CC00 !important;
}
/* when new messages are in folder */
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
color: #FF0000 !important;
}
This will affect the folder pane items. For other colors, this is handy:
http://meyerweb.com/eric/tools/color-blend/
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
I've added your codes in userchrome.css, but I can't see any diference. Please,
let me see the screenshot.
Thank you very much for the information, although I've already known this address.Put this address in your bookmarks also.
let me see the screenshot.
This will affect the folder pane items. For other colors, this is handy:
http://meyerweb.com/eric/tools/color-blend/
Thank you very much for the information, although I've already known this address.Put this address in your bookmarks also.
-
- Posts: 3891
- Joined: October 31st, 2003, 8:38 pm
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
-
- Posts: 606
- Joined: November 6th, 2004, 4:41 pm
- Contact:
Thanx.
Your code works for me, at least the red and blue does.
I rarely, if ever save unread nessages, so I'll likely never see the green.
However, I looked at the Thunderbird KB, etc. and was ubable to find adequate explanation of the syntax and allowed values in the .css.
Where is this documented?
Where is treechildren documented?
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
However, I looked at the Thunderbird KB, etc. and was ubable to find adequate explanation of the syntax and allowed values in the .css.
Where is this documented?
Where is treechildren documented?
I don't know what's your ambtions with creating different features and changing the interface of TB or FF.
In this world of this codes took me my curiosity and one member( I can't say his alias, taking into the consideqartion his privacy) of this forum who helped me too much through the training and making different codes in TB and FF. What's my point of this. Surfing through this site you'll learn too much and acquired experince will make you to make your own codes for yr FF and TB. For the begining to learn more for some codes visit this site.
-
- Posts: 3891
- Joined: October 31st, 2003, 8:38 pm
I don't know if it is fully "documented" anywhere that's available to us mere users. I've just picked up things here and there -- from the forums (esp. people like bozz and jeroen_p), from poking around inside classic.jar (in the TB folder in Program Folders), and a bit from playing with the DOM inspector.
http://kb.mozillazine.org/DOM_Inspector
You might get some tips from this monster of a thread (though they might be talking more about Firefox than TB):
http://forums.mozillazine.org/viewtopic.php?t=244616
There are also some useful links here:
http://kb.mozillazine.org/CSS
http://kb.mozillazine.org/DOM_Inspector
You might get some tips from this monster of a thread (though they might be talking more about Firefox than TB):
http://forums.mozillazine.org/viewtopic.php?t=244616
There are also some useful links here:
http://kb.mozillazine.org/CSS
- zoriv
- Posts: 1249
- Joined: May 6th, 2005, 2:01 pm
- Contact:
To wintogreen:
Thanks a lot for http://forums.mozillazine.org/viewtopic.php?t=244616 site. I will just update my modest knowledge of syntax,
Thanks a lot for http://forums.mozillazine.org/viewtopic.php?t=244616 site. I will just update my modest knowledge of syntax,