Change background color of folder and message pane

Discussion of general topics about Seamonkey
Post Reply
jones23
Posts: 27
Joined: November 13th, 2013, 9:17 pm

Change background color of folder and message pane

Post by jones23 »

Hi,
I believe the last update (.16) broke my way to change the background color of the folder and message pane.
I used this userchrome.css

/* Folderpane & Messagepane */
treechildren {
background-color: #C9C9C9 !important; }

however now every other line has a white background.
https://i.imgur.com/hJenWbu.jpeg
i tried several other methods of changing the background, but it always had a similar result in that every other line wasn't affected by the changes.

Is there a new way to do this ?
Last edited by smsmith on April 5th, 2023, 5:20 pm, edited 1 time in total.
Reason: removed the [img] tags because the size of the image was breaking forum layout - smsmith/moderator
User avatar
Frank Lion
Posts: 21172
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Change background color of folder and message pane

Post by Frank Lion »

jones23 wrote:i tried several other methods of changing the background, but it always had a similar result in that every other line wasn't affected by the changes.

Is there a new way to do this ?
Do you want the simple fix or the technical explained fix?
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
jones23
Posts: 27
Joined: November 13th, 2013, 9:17 pm

Re: Change background color of folder and message pane

Post by jones23 »

Frank Lion wrote:
jones23 wrote:i tried several other methods of changing the background, but it always had a similar result in that every other line wasn't affected by the changes.

Is there a new way to do this ?
Do you want the simple fix or the technical explained fix?
Thanks for your response.
I read up a bit about this and it seems that Thunderbird/SeaMonkey uses off and on a system of even and odd lines, to make things more legible at the cost of some performance. Seems it was turned on again in SeaMonkey.
But I would settle for the quick fix. No need to waste too much of your time ;)
User avatar
Frank Lion
Posts: 21172
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Change background color of folder and message pane

Post by Frank Lion »

jones23 wrote:But I would settle for the quick fix.
Sure, no problem. Loads of ways to fix this, but here's just one -

Code: Select all

/* Franks Folderpane & Messagepane TreeChildren Background Fix... */
treechildren {
background-color: #C9C9C9 !important; }

treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol, odd) {
  background-color: unset !important;}
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
jones23
Posts: 27
Joined: November 13th, 2013, 9:17 pm

Re: Change background color of folder and message pane

Post by jones23 »

thx!
Post Reply