搜索 | 用户支持

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

详细了解

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

  • 6 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 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;

}