Fix Firefox weekend tint: use absolute HSL values instead of rgba overlay

Firefox composites rgba(255,255,255,0.05) differently against the
fc-daygrid-day-frame's --fc-neutral-bg-color background, producing a
visible mismatch. Switched to absolute HSL values that match the base
pattern:
- Month frame: hsl(0 0% 10% / 0.65) — same alpha as neutral-bg but
  slightly lighter (10% vs 8% lightness)
- Timegrid cols: hsl(0 0% 5.5%) — slightly above page bg (3.9%)

Cross-browser consistent since no alpha compositing is needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kyle 2026-03-13 20:09:57 +08:00
parent 29c91cd706
commit f5ed64b7da

View File

@ -170,14 +170,14 @@
the tint must target the frame itself, not the td. */
.fc .fc-day-sat .fc-daygrid-day-frame,
.fc .fc-day-sun .fc-daygrid-day-frame {
background-color: rgba(255, 255, 255, 0.05) !important;
background-color: hsl(0 0% 10% / 0.65) !important;
}
/* Weekend tint: timegrid column cells (week/day view) */
.fc .fc-timegrid-col.fc-day-sat,
.fc .fc-timegrid-col.fc-day-sun {
background-color: rgba(255, 255, 255, 0.05) !important;
background-color: hsl(0 0% 5.5%) !important;
}