0

我目前正在使用以下内容在 Firefox(周视图)中的 Google 日历中为周末着色:

@-moz-document url-prefix("https://www.google.com/calendar/") {  td.tg-weekend {
    background-color: #Ffd4d4;} }

但是当一天是周末时,它会以正常的蓝色而不是红色显示。如果当天是周末,是否可以将当天的颜色保持为红色(有一个名为的CSS元素tg-col-today,但我不知道如何使用它来检查今天列是否与周末列相同)

4

1 回答 1

2

替换td.tg-weekendtd.tg-weekend, td.tg-weekend .tg-today

于 2013-01-12T17:46:00.877 回答