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

[47145] Selected date (number) not visible when matches with Today (#13025)

Behrokh Satarnejadb38eb4d5f2e3
diff --git a/frontend/src/global_styles/content/_datepicker.sass b/frontend/src/global_styles/content/_datepicker.sass
index 122883df6fc..e90afd9eee4 100644
--- a/frontend/src/global_styles/content/_datepicker.sass
+++ b/frontend/src/global_styles/content/_datepicker.sass
@@ -237,11 +237,11 @@ $datepicker--selected-border-radius: 5px
border-color: transparent !important
color: $spot-color-basic-gray-1 !important
- &.flatpickr-non-working-day
+ &.flatpickr-non-working-day:not(.today,.selected)
background: $spot-color-basic-gray-6 !important
color: $spot-color-basic-gray-3 !important
- &.flatpickr-non-working-day_enabled
+ &.flatpickr-non-working-day_enabled:not(.today,.selected)
background: $spot-color-basic-gray-6 !important
color: $spot-color-basic-gray-1 !important
@@ -255,15 +255,6 @@ $datepicker--selected-border-radius: 5px
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
- background: $spot-color-indication-current-date !important
- border-color: $spot-color-indication-current-date !important
-
.flatpickr-calendar:not(.inline)
box-shadow: $spot-shadow-light-mid !important
padding: $spot-spacing-0_5 !important