Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见[这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

mailbox display with alternating lines of white/grey backgrounds in Thunderbird 115?

  • 7 个回答
  • 1 人有此问题
  • 155 次查看
  • 最后回复者为 Toad-Hall
  • 已存档

After upgrading to 115.0, the mailbox display has an all-white background. This is not nearly as easy to read is in version 112, which has alternating lines of white & grey for the background.

How can I customize 115 to have alternating colours for the background of each summary line?

After upgrading to 115.0, the mailbox display has an all-white background. This is not nearly as easy to read is in version 112, which has alternating lines of white & grey for the background. How can I customize 115 to have alternating colours for the background of each summary line?

所有回复 (7)

Alternating colours try this: Suggest pale grey #f2f2f2

I'm assuming you were already using a userChrome.css file, so adjust using the code between the lines below.


#threadTree tr:nth-child(2n) {
  background-color: #f2f2f2;
}


Please report back on results. Remember to exit Thunderbird before adjusting userChrome.css file.

If you cannot remember/ do not know how to set up userChrome.css then please ask and I'll provide more info.

由Toad-Hall于修改

I was not using userChrome.css in TB 112. Alternating colours per message in the main pane were presented by default, but no longer in TB 115.

I created a userChrome.css using the css as described. I enabled toolkit.legacyUserProfileCustomizations.stylesheets. The main pane still has an all-white background.

Try this: For zebra striping, I show two options, one for white background and one when using dark theme.

First, if not already done, 
Go to settings>general, scroll to bottom for config editor. 
Search for  toolkit.legacyUserProfileCustomizations.stylesheets   and set to True 
Then in profile, create a folder named chrome, if not already there
Then, create a text file named userChrome.css if not already there 
Then, place one of the following in the file. Close TB if running and restart. Feel free to twiddle with the colors, but do not ask me for help in that. This is an area of personal experimentation. But it works. Good luck. 


/* for WHITE background ver 115 plus */
/*  #######    */
@namespace html url("http://www.w3.org/1999/xhtml");

#threadTree tr:nth-child(2n) {
  background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)) !important;  
}

########################## separator line - do not include ########

/* ####  for ver 115 version  and DARK theme   */

@namespace html url("http://www.w3.org/1999/xhtml");

#threadTree tr:nth-child(2n) {
  background-image: linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)) !important;  
}

Thanks...placing userChrome.css inside a folder named chrome resolved it!

Is there a way to detect dark vs light theme, so that this customization can be dynamic, instead of hard-coded to one of light or dark?

Gary Hooper said

I was not using userChrome.css in TB 112. Alternating colours per message in the main pane were presented by default, but no longer in TB 115.

Not with native Thunderbird 102 unless via some theme.

Toad-Hall said

snip

Many thanks - I wasn't actually looking for anything this advanced, but you gave me enough info to fix the message pane itself (which 115 is ignoring the system color scheme on and thus making unreadable for me).

I've created a new question which offers a load of info code for anyone wanting to get the zebra striping. https://support.mozilla.org/en-US/questions/1425551