Skip to content

Commit

Permalink
[FIX] web: adjust hatched events for planning
Browse files Browse the repository at this point in the history
Prior to this commit, the "hatched" event style in Planning wasn't
displayed in Day and Week views.
This commit adjusts the css selector to fix this issue.

task-3617329
Part of task-3575827

closes #159317

X-original-commit: e916330
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
  • Loading branch information
Brieuc-brd committed Mar 27, 2024
1 parent 5b22e1d commit b365592
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/web/static/src/views/calendar/calendar_renderer.scss
Expand Up @@ -637,7 +637,10 @@
--fc-bg-event-color: #{$color-subtle};
}

&.o_event_hatched:not(.o_event_dot):not(.fc-day-grid-event), &.o_event_hatched.fc-day-grid-event .fc-bg, &.o_attendee_status_tentative:not(.o_event_dot) .fc-bg {
&.o_event_hatched:has(.fc-bg), &.o_attendee_status_tentative:has(.fc-bg) {
--fc-event-bg-color: #{$o-view-background-color};
}
&.o_event_hatched:not(.o_event_dot):not(.fc-daygrid-event):not(.fc-timegrid-event), &.o_event_hatched .fc-bg, &.o_attendee_status_tentative:not(.o_event_dot) .fc-bg {
background: repeating-linear-gradient(
45deg,
RGBA(to-rgb($color), .3),
Expand Down

0 comments on commit b365592

Please sign in to comment.