MozillaZine


formatting the selected message row in userchrome.css

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

Post Posted August 12th, 2022, 12:58 pm

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: 5297
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 12th, 2022, 4:00 pm

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: viewtopic.php?f=39&t=3068029

pista
 
Posts: 48
Joined: February 9th, 2008, 1:21 pm

Post Posted August 13th, 2022, 1:56 am

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: viewtopic.php?f=39&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?


Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 3 guests