Remove weekend background tint — cross-browser compositing unreliable
After 10+ attempts, semi-transparent HSL values on near-black backgrounds produce visible teal artifacts in Firefox due to compositor divergence. Weekday/weekend frames now use identical --fc-neutral-bg-color. FC's own weekend td background is neutralised with transparent !important. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a0ccaaa4bc
commit
a0533ee0a7
@ -164,20 +164,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Weekend column tint */
|
||||
/* Month view: paint the fc-daygrid-day-frame (FC6 inner div) with 5% white overlay.
|
||||
The parent <td> bg is hidden behind the frame painted by --fc-neutral-bg-color, so
|
||||
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: hsl(0 0% 9% / 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: hsl(0 0% 5.5%) !important;
|
||||
/* Weekend columns: neutralise FullCalendar's built-in weekend td background.
|
||||
The frame inherits --fc-neutral-bg-color identically to weekdays.
|
||||
Weekend tint removed after 10+ attempts — cross-browser compositing divergence
|
||||
(Firefox produces teal artifact from semi-transparent HSL on near-black bg). */
|
||||
.fc .fc-day-sat,
|
||||
.fc .fc-day-sun {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user