Debian Codegraph @

addons/hr_holidays/static/src/views/calendar/calendar_renderer.scss

raw
1 .o_timeoff_calendar {
2 background-color: $o-view-background-color;
3 flex-grow: 1;
4 flex-basis: fit-content;
5
6 .o_calendar_renderer .o_calendar_widget {
7 .hr_mandatory_day {
8 .fc-daygrid-day-number {
9 font-weight: 600;
10 }
11 }
12
13 > .fc-view-container > .fc-dayGridYear-view .hr_mandatory_day:not(.fc-day-disabled):not(.fc-day-today) .fc-daygrid-day-top:not(:hover),
14 > .fc-view-harness > .fc-dayGridMonth-view .hr_mandatory_day:not(.fc-day-disabled):not(.fc-day-today) {
15 .fc-daygrid-day-number {
16 color: var(--mandatory-day-color) !important;
17 }
18 }
19
20 .fc-bg-event {
21 border-radius: $border-radius-pill;
22 }
23
24 .fc-dayGridMonth-view .fc-day.fc-day-today[class*="hr_mandatory_day_"] {
25 --o-cw-bg: var(--mandatory-day-color);
26 }
27
28 @for $size from 1 through length($o-colors) {
29 .hr_mandatory_day_#{$size - 1} {
30 --mandatory-day-color: #{nth($o-colors, $size)};
31 }
32 }
33
34 .o_event_half_left {
35 clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
36 }
37
38 .o_event_half_right {
39 clip-path: polygon(100% 0, 50% 0, 50% 100%, 100% 100%);
40 }
41 }
42 }