[FIX] web: fix the unavailabilities day in calendar view

Currently, if there is unavailabilities day then white background and
border appear in calendar month mode. It does not show the same background.
Now the same background(grey) will appear.

closes odoo/odoo#78240
task-2648148

closes odoo/odoo#78444

X-original-commit: 64f2acc79d39331f79f3ac68d451f638cbd93393
Related: odoo/enterprise#21720
Signed-off-by: LTU-Odoo <IT-Ideas@users.noreply.github.com>
This commit is contained in:
Prakash Prajapati
2021-10-15 16:13:57 +00:00
parent f922df6af6
commit 31943bc6ac
@@ -126,7 +126,6 @@ $o-cw-filter-avatar-size: 20px;
.o_calendar_disabled {
background-color: $gray-200;
border-color: white !important;
}
// ====== Specific agenda types ======
@@ -195,10 +194,10 @@ $o-cw-filter-avatar-size: 20px;
box-shadow: inset 0 1px 0 gray('400');
}
.fc-day.fc-widget-content.fc-today {
.fc-day.fc-widget-content.fc-today:not(.o_calendar_disabled) {
border-left-color: rgba($o-brand-odoo, 0.3);
border-right-color: rgba($o-brand-odoo, 0.3);
background: rgba($o-brand-odoo, .05);
background: $o-view-background-color;
}
.fc-event {
@@ -305,9 +304,11 @@ $o-cw-filter-avatar-size: 20px;
}
.fc-bg .fc-today {
background: $o-view-background-color;
border-color: gray('300');
}
.fc-bg .fc-today:not(.o_calendar_disabled) {
background: $o-view-background-color;
}
.fc-content-skeleton .fc-today .fc-day-number {
margin-top: 3px;