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:
parent
29c91cd706
commit
f5ed64b7da
@ -170,14 +170,14 @@
|
|||||||
the tint must target the frame itself, not the td. */
|
the tint must target the frame itself, not the td. */
|
||||||
.fc .fc-day-sat .fc-daygrid-day-frame,
|
.fc .fc-day-sat .fc-daygrid-day-frame,
|
||||||
.fc .fc-day-sun .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) */
|
/* Weekend tint: timegrid column cells (week/day view) */
|
||||||
.fc .fc-timegrid-col.fc-day-sat,
|
.fc .fc-timegrid-col.fc-day-sat,
|
||||||
.fc .fc-timegrid-col.fc-day-sun {
|
.fc .fc-timegrid-col.fc-day-sun {
|
||||||
background-color: rgba(255, 255, 255, 0.05) !important;
|
background-color: hsl(0 0% 5.5%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user