From 2b50079ae5c619b96590f900dacff400bbba5a88 Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Thu, 9 Mar 2023 09:32:01 +0000 Subject: [PATCH] [FIX] hr_holidays: adapt stress days color to dark mode The colors of the stress days in the calendar were not adapted for the dark mode, they were too bright and thus unreadable. task-3216055 closes odoo/odoo#114796 X-original-commit: 0f60e0ac2c24998c2f792a55ae282d62df6b5f42 Signed-off-by: Kevin Baptiste --- .../static/src/views/calendar/calendar_renderer.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hr_holidays/static/src/views/calendar/calendar_renderer.scss b/addons/hr_holidays/static/src/views/calendar/calendar_renderer.scss index e12433e3b07..b6c7e39898b 100644 --- a/addons/hr_holidays/static/src/views/calendar/calendar_renderer.scss +++ b/addons/hr_holidays/static/src/views/calendar/calendar_renderer.scss @@ -5,7 +5,8 @@ .o_calendar_widget { @for $size from 1 through length($o-colors) { .hr_stress_day_#{$size - 1}:not(.fc-disabled-day) { - background-color: lighten(nth($o-colors, $size), 25%) !important; + background: nth($o-colors, $size) !important; + opacity: 0.4; } } }