Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix styles for highlighting non-working days while hover is gone out side of datepicker

bsatarnejad0450a75f73b4
diff --git a/frontend/src/global_styles/content/_datepicker.sass b/frontend/src/global_styles/content/_datepicker.sass
index d1e3c06123a..a6723dc27df 100644
--- a/frontend/src/global_styles/content/_datepicker.sass
+++ b/frontend/src/global_styles/content/_datepicker.sass
@@ -204,3 +204,31 @@ $datepicker--border-radius: 5px
background: transparent !important
border-color: transparent !important
color: $spot-color-basic-gray-1 !important
+
+ &.flatpickr-non-working-day
+ background: $spot-color-basic-gray-6 !important
+ color: $spot-color-basic-gray-3 !important
+
+ &.flatpickr-non-working-day_enabled
+ background: $spot-color-basic-gray-6 !important
+ color: $spot-color-basic-gray-1 !important
+
+ &.today
+ color: $spot-color-basic-gray-1 !important
+
+ &.inRange,
+ &.startRange:not(.selected),
+ &.endRange:not(.selected)
+ color: $spot-color-basic-gray-1 !important
+ background: $spot-color-basic-gray-6 !important
+ border-color: $spot-color-basic-gray-6 !important
+
+ &.today
+ color: $spot-color-basic-gray-1 !important
+ background: $spot-color-indication-current-date !important
+ border-color: $spot-color-indication-current-date !important
+
+ &.today
+ color: $spot-color-basic-gray-3 !important
+ background: $spot-color-indication-current-date !important
+ border-color: $spot-color-indication-current-date !important
\ No newline at end of file