[FIX] hr_holidays: adapt hovered color on mandatory days
Commit[1] introduced a fix on the mandatory day style. But it also
creates another color issue: when we hover a mandatory day in the month
view the mandatory color dissapears.
This commit adapts the selector to handle this issue.
[1]: d75343d7d8
task-3758658
Part of task-3575827
closes odoo/odoo#155201
Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
This commit is contained in:
@@ -8,9 +8,14 @@
|
||||
.fc-day-number {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.fc-disabled-day):not(:hover):not(.fc-today) .fc-day-number {
|
||||
color: var(--mandatory-day-color) !important;
|
||||
> .fc-view-container {
|
||||
> .fc-dayGridYear-view .hr_mandatory_day:not(.fc-disabled-day):not(.fc-today):not(:hover),
|
||||
> .fc-dayGridMonth-view .hr_mandatory_day:not(.fc-disabled-day):not(.fc-today) {
|
||||
.fc-day-number {
|
||||
color: var(--mandatory-day-color) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user