為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to customise or change the color of unread messages?

  • 3 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 gahakij559

more options

Hello, i try to customise the thunderbird mail colors, but can't find any settings to that. I want to change the colors for "marked as -> unread" messages and the color for new received messages. Can anyone tell me how to adjust this? I tried to add the "userChrome.css" file in the self created folder "chrome" in my profile directory, but nothing changed. Can someone help me? I use Ubuntu 22.04.4 LTS version and the thunderbird version 115.6.0.

Hello, i try to customise the thunderbird mail colors, but can't find any settings to that. I want to change the colors for "marked as -> unread" messages and the color for new received messages. Can anyone tell me how to adjust this? I tried to add the "userChrome.css" file in the self created folder "chrome" in my profile directory, but nothing changed. Can someone help me? I use Ubuntu 22.04.4 LTS version and the thunderbird version 115.6.0.

被選擇的解決方法

To set the colours of new and unread entries in the message list for new and unread messages (Table View):

/* threads pane unread colour table view */
#threadTree tr[data-properties~="unread"] {
color: red !important; }

/* threads pane new colour table view */
#threadTree tr[data-properties~="new"] {
color: green !important; }


Help/Troubleshooting Info, Profile Folder, Open Folder (Linux: Open Directory), close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userChrome.css, Save as type: All files *.*, copy in the above code, change the colours as desired. Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Settings/General/Config. editor, restart TB.

Online css generator

video on how to create a css file (Firefox and TB)

See attached picture.

從原來的回覆中察看解決方案 👍 3

所有回覆 (3)

more options

選擇的解決方法

To set the colours of new and unread entries in the message list for new and unread messages (Table View):

/* threads pane unread colour table view */
#threadTree tr[data-properties~="unread"] {
color: red !important; }

/* threads pane new colour table view */
#threadTree tr[data-properties~="new"] {
color: green !important; }


Help/Troubleshooting Info, Profile Folder, Open Folder (Linux: Open Directory), close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userChrome.css, Save as type: All files *.*, copy in the above code, change the colours as desired. Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Settings/General/Config. editor, restart TB.

Online css generator

video on how to create a css file (Firefox and TB)

See attached picture.

more options

In Folder Pane, I've managed to get the text name of folder to be red:

/* Folder Pane - colour of text if new mail */

.new-messages > .container > .name {

 color: red !important; 

}

how to do the same for "unread" mails, like, f.ex:

.unread-messages > .container > .name {

 color: red !important; 

}

more options

gahakij559 said

In Folder Pane, I've managed to get the text name of folder to be red: /* Folder Pane - colour of text if new mail */ .new-messages > .container > .name { color: red !important; } how to do the same for "unread" mails, like, f.ex: .unread-messages > .container > .name { color: red !important; }

...found it:

.unread > .container > .name