Hi,Is it possible 2 color the underground of subject column?

Discussion of general topics about Mozilla Thunderbird
Post Reply
User avatar
nodnolse
Posts: 47
Joined: November 20th, 2004, 9:42 pm

Hi,Is it possible 2 color the underground of subject column?

Post by nodnolse »

I mean, when I set a label to a message, it color only the text (if not selected). I'd like to color all the background of the subject column in the thread pane. Do You think that some extensions can do that? Maybe via 'config editor' or other shortcuts. ](*,) :roll: :roll:

Thanks for reading
User avatar
WaltS48
Posts: 5141
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Re: Hi,Is it possible 2 color the underground of subject col

Post by WaltS48 »

You select a message and tag it "Important" the whole line is in red for example.
You select another message and the highlight goes away leaving just the text in the Subject and other columns red.
You want the highlight to remain?

Don't know how to do that, but when I want to quickly find tagged messages I click the Tags icon in the Quick Filter bar.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
User avatar
nodnolse
Posts: 47
Joined: November 20th, 2004, 9:42 pm

Re: Hi,Is it possible 2 color the underground of subject col

Post by nodnolse »

Thanks for answer,

yes, I'd like that all line remains colored even I select other messages subjects. To me should be very useful. I hope that someone has a solution for that.

Thanks in advance
semigeek
Posts: 322
Joined: April 16th, 2014, 8:54 pm
Location: Colorado

Re: Hi,Is it possible 2 color the underground of subject col

Post by semigeek »

Yes, this should be possible with a userChrome.css file. To get an idea of how, read point #4 this thread:
http://forums.mozillazine.org/viewtopic ... p=14893772

Instead of changing the normal background color of alternating rows as I did, you want to change it for tagged messages. This will require finding and reading the Thunderbird code that manages tagged rows and their corresponding colors, and writing new rules of your own. It will take some work to get right, especially if you haven't worked with css before.

Note that you also have to change the text color, because TB uses black on light backgrounds and white on dark ones. Also it will become hard to tell which is the selected message, unless you choose a somewhat different color for tagged items when selected or not. And there are multiple tag colors. It gets complicated quickly...
Last edited by semigeek on May 29th, 2021, 8:25 am, edited 1 time in total.
morat
Posts: 6427
Joined: February 3rd, 2009, 6:29 pm

Re: Hi,Is it possible 2 color the underground of subject col

Post by morat »

That reply won't help. And it's the userChrome.css file that you would need to create, not the userContent.css file.

Styling tags
http://forums.mozillazine.org/viewtopic ... &t=3057136

It's rather complicated to style the tags. Most users shouldn't try.
semigeek
Posts: 322
Joined: April 16th, 2014, 8:54 pm
Location: Colorado

Re: Hi,Is it possible 2 color the underground of subject col

Post by semigeek »

morat wrote:it's the userChrome.css file that you would need to create
Yes, my slip (now corrected); I've been working with both lately. I just wanted to convey that this can be done -- and what sort of work it would take. (In my own modification I didn't even bother preserving the background colors for selected tagged items, which I don't particularly like anyway. But I've just added a simple fix for tag text color to it.)

Thanks for the thread you just linked, which is more specific to tags. Perhaps instead of messing around with colors, nodnolse would like the simpler solution of tobgo in that thread, to just make tagged items boldface also. (More likely he gave up, this was a couple of months ago... but if not, just follow standard instructions for enabling userchrome and creating the css file, for example here: https://www.userchrome.org/what-is-userchrome-css.html)
Post Reply