QRDN

quite random domain name

All Articles

Thunderbird Lightning: mark all-day events in month/multi-week calendar view


Thunderbird Lightning calendar in month or multi-week view should mark the empty space of days which have an all day event differently.

Write into your ~/.thunderbird/<profilename>/chrome/userChrome.css (maybe need to create the chrome/ directory too):

.calendar-month-day-box-list:has(calendar-month-day-box-item[status=CONFIRMED][allday=true]) {
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.05) 0px 10px,
    rgba(255, 255, 255, 0.05) 10px 20px
  );
}

userChrome.css needs activation: in about:config set toolkit.legacyUserProfileCustomizations.stylesheets to true. I then had to restart thunderbird for this to be effective.

TODO: use the color of the all-day event(s). Maybe could use the elements() function to reference the rendered event in the background definition?

References