asymptotically asymptotically - 1 month ago 16
CSS Question

Google Calendar colorize weekends in Firefox

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 as a weekend column)

Answer

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

Comments