5

I'm currently using the following to colorize weekends in Google Calendar in Firefox (week-view):

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

But when the day is a weekend, it shows up in the normal bluish color instead of the reddish color. Is it possible to keep the color of the current day red if the current day is a weekend (there is a CSS element called tg-col-today, but I don't know how to use that to check if the today column is the same a a weekend column)

  • Have a look at this thread: productforums.google.com/forum/#!topic/calendar/MwuAGn4wVgs There's a chrome extension in the chrome webstore. – Jacob Jan Tuinstra Jan 1 '13 at 21:16
  • I'm on Firefox. – notablytipsy Jan 1 '13 at 22:56
  • There were pieces of code for FF available. – Jacob Jan Tuinstra Jan 2 '13 at 3:25
  • I wasn't able to find the source code. – notablytipsy Jan 2 '13 at 5:26
  • 1
    Also, this isn't what I'm looking for. If 'Today' is Sunday, Sunday gets colored with 'Today's' color instead of Sunday's color, which is the problem I had with the CSS above. I would also prefer a Javascript/CSS solution rather than an add-on – notablytipsy Jan 3 '13 at 2:39
4

@AdamTaylor answered my question on Stack Overflow

Replace td.tg-weekend with td.tg-weekend, td.tg-weekend .tg-today

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.