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

搜尋 Mozilla 技術支援網站

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

了解更多

Calendar: How do I change the color of the CURRENT highlight on a thunderbird calendar?

  • 6 回覆
  • 1 有這個問題
  • 51 次檢視
  • 最近回覆由 GBossley

more options

It's not on settings. I found this css code but don't know how one installs css for thunderbird. I got as far as opening the config editor on the calendar options. But I don't see what entry it is.

Alternatively if I can change the weekend colors that would work well. They are nearly the same yellow as the CURRENT color.

https://support.mozilla.org/en-US/questions/1304213

Thanks!

It's not on settings. I found this css code but don't know how one installs css for thunderbird. I got as far as opening the config editor on the calendar options. But I don't see what entry it is. Alternatively if I can change the weekend colors that would work well. They are nearly the same yellow as the CURRENT color. https://support.mozilla.org/en-US/questions/1304213 Thanks!

被選擇的解決方法

One of the statements you refer to does go in config. Do that. For the others, you need to go to your profile and create a folder called 'chrome' (lower case). In that folder, create a simple text file called userChrome.css (case sensitive). In that folder, store the CSS statements from the link you referenced. This takes effect the next time you start Thunderbird.

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

所有回覆 (6)

more options

選擇的解決方法

One of the statements you refer to does go in config. Do that. For the others, you need to go to your profile and create a folder called 'chrome' (lower case). In that folder, create a simple text file called userChrome.css (case sensitive). In that folder, store the CSS statements from the link you referenced. This takes effect the next time you start Thunderbird.

more options

Update: also include this statement at top of the userChrome.css file:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

more options

What's the namespace url for? It's working without.

Thanks! That was easy enough! Much better that everything isn't in the nearly same pale yellows and blues.

Now I'll know how to add css the next time I want to, as well.

more options

That comment used to be required. If you're pleased, I ask you to mark this solved, so it will be removed from the list of open issues. Thank you.

more options

I don't think you can comment once it's solved, so I left it open for a reply. Thanks! I put it in comments in the file in case it turns out I need it, later.

THANK YOU! This has been frustrating me for a while!

由 curls3 於 修改

more options

I followed all the advice I could find, tested and proved my userChrome.css file was functioning, but the script suggested no longer appears to resolve this for me (since a laptop rebuilld). (I used the script below and set and set my toolkit.legacyUserProfileCustomizations.stylesheets preference to "True".)

.calendar-month-day-box-current-month[selected="true"] {

 background-color: orange !important;

}

.calendar-month-day-box-current-month[relation="today"] {

 background-color: red !important;

}