formatting the selected message row in userchrome.css

User Help for Mozilla Thunderbird
Post Reply
pista
Posts: 49
Joined: February 9th, 2008, 1:21 pm

formatting the selected message row in userchrome.css

Post by pista »

Please refer to the following screenshot:

Image

I want to modify the foreground and background colors of the selected message row.
Which css lines have I to put in userchrome.css?
Thank you.

P.S.: I currently use TB 102.
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: formatting the selected message row in userchrome.css

Post by morat »

Try something like:

Code: Select all

#threadTree treechildren::-moz-tree-row(selected) {
  background-color: orange !important;
}
#threadTree treechildren::-moz-tree-cell-text(selected) {
  color: red !important;
}
Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3068029
pista
Posts: 49
Joined: February 9th, 2008, 1:21 pm

Re: formatting the selected message row in userchrome.css

Post by pista »

morat wrote:Try something like:

Code: Select all

#threadTree treechildren::-moz-tree-row(selected) {
  background-color: orange !important;
}
#threadTree treechildren::-moz-tree-cell-text(selected) {
  color: red !important;
}
Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3068029

It worked. Thank you.
Maybe I have already asked but I don't remember.
Is there any cheatsheet or some other resource that lists the name/ID of all TB GUI elements?
Post Reply