Change hightlight color of selected emails?
- Flycaster
- Posts: 1167
- Joined: November 19th, 2008, 12:13 pm
- Location: Boynton Beach, FL
Change hightlight color of selected emails?
I am not happy with the highlight color of emails that I select to read. So, when selecting an email from the inbox, for example - or any box for that matter, I would like to be able to decide which color will highlight these selections.
Windows 11, FF Latest, Edge v94, Thunderbird Latest, Defender
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
- Flycaster
- Posts: 1167
- Joined: November 19th, 2008, 12:13 pm
- Location: Boynton Beach, FL
Re: Change hightlight color of selected emails?
Thanks, I did look at the link, but a couple of problems. Couldn't figure out if those codes are the ones I need. Also, the link and codes are 7 years old; would they still work now? Let me state, perhaps more clearly, what I need: When looking at the emails in any of my accounts boxes (inbox, sentbox, trash, etc,) I usually scroll down to each new email using the down arrow in the Mail toolbar. With a tap of the down arrow, a new email is selected and highlighted. At present, that highlight doesn't really do it for me and I would like to have a code that will allow me to change the highlight color of the selected email.morat wrote:Similar thread: http://forums.mozillazine.org/viewtopic ... &t=2287343
Windows 11, FF Latest, Edge v94, Thunderbird Latest, Defender
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Change hightlight color of selected emails?
Try searching on Google. You may find a more recent thread with the same code.
Google search: threadTree treechildren selected site:forums.mozillazine.org
Styling a Tree
http://developer.mozilla.org/en-US/docs ... ing_a_Tree
Google search: threadTree treechildren selected site:forums.mozillazine.org
Styling a Tree
http://developer.mozilla.org/en-US/docs ... ing_a_Tree
- Flycaster
- Posts: 1167
- Joined: November 19th, 2008, 12:13 pm
- Location: Boynton Beach, FL
Re: Change hightlight color of selected emails?
Hey Morat, I do appreciate your trying to help me with this project. I looked at the link, but to tell you the truth, I have trouble wrapping my head around this stuff and can't begin to know how to use it. However, if I do have the code to highlight selected emails, I do know where to put it and how to modify some aspects of the code (like colors and sizes.)morat wrote:Try searching on Google. You may find a more recent thread with the same code.
Google search: threadTree treechildren selected site:forums.mozillazine.org
Styling a Tree
http://developer.mozilla.org/en-US/docs ... ing_a_Tree
Windows 11, FF Latest, Edge v94, Thunderbird Latest, Defender
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Change hightlight color of selected emails?
Here is the same code from the other thread. It works for me in Thunderbird 52.
http://kb.mozillazine.org/UserChrome.css
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#threadTree treechildren::-moz-tree-row(selected) {
-moz-appearance: none !important;
background-color: black !important;
}
#threadTree treechildren:-moz-tree-cell-text(selected) {
-moz-appearance: none !important;
color: orange !important;
}
#threadTree treechildren::-moz-tree-row(selected, focus) {
-moz-appearance: none !important;
background-color: red !important;
}
#threadTree treechildren:-moz-tree-cell-text(selected, focus) {
-moz-appearance: none !important;
color: yellow !important;
}
- Flycaster
- Posts: 1167
- Joined: November 19th, 2008, 12:13 pm
- Location: Boynton Beach, FL
Re: Change hightlight color of selected emails?
Entered the code into my userChrome.css, restarted TB, but nothing happened. Perhaps I did something wrong.
Windows 11, FF Latest, Edge v94, Thunderbird Latest, Defender
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Change hightlight color of selected emails?
Try this:
Test:
* click a message in thread pane to select a message
* hold shift key
* click another message a few rows below to select multiple messages
* release shift key
* press tab to change focus
* press shift tab to change focus again
If there are no color changes, then I don't know a solution for Windows 10.
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#threadTree treechildren::-moz-tree-row(selected) {
-moz-appearance: none !important;
background-image: none !important;
background-color: black !important;
}
#threadTree treechildren::-moz-tree-cell-text(selected) {
-moz-appearance: none !important;
color: orange !important;
}
#threadTree treechildren::-moz-tree-row(selected, focus) {
-moz-appearance: none !important;
background-image: none !important;
background-color: red !important;
}
#threadTree treechildren::-moz-tree-cell-text(selected, focus) {
-moz-appearance: none !important;
color: yellow !important;
}
* click a message in thread pane to select a message
* hold shift key
* click another message a few rows below to select multiple messages
* release shift key
* press tab to change focus
* press shift tab to change focus again
If there are no color changes, then I don't know a solution for Windows 10.
Last edited by morat on August 23rd, 2018, 6:56 am, edited 1 time in total.
- Flycaster
- Posts: 1167
- Joined: November 19th, 2008, 12:13 pm
- Location: Boynton Beach, FL
Re: Change hightlight color of selected emails?
No color changes. Maybe I did something wrong when adding code to the userChrome. Here's a screen shot:
Windows 11, FF Latest, Edge v94, Thunderbird Latest, Defender
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Change hightlight color of selected emails?
My highlight color is the one I chose in my Windows 7 color scheme on the Win Control Panel. Does that work in 10?
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network