diff --git a/app/shared/overnight-calendar/_overnight-calendar.scss b/app/shared/overnight-calendar/_overnight-calendar.scss index 017bbfdd1..183dc1538 100644 --- a/app/shared/overnight-calendar/_overnight-calendar.scss +++ b/app/shared/overnight-calendar/_overnight-calendar.scss @@ -124,7 +124,7 @@ } } - &--highlighted:not(.DayPicker-Day--disabled) { + &--highlighted { background-color: $highlighted-color; &.DayPicker-Day--selected { @@ -192,6 +192,10 @@ @include add-focus(2px, $black) {} } + .DayPicker-Day--start.DayPicker-Day--disabled:not(.DayPicker-Day--booked):not(.DayPicker-Day--prevBooked) { + background: linear-gradient($half-day-angle, $medium-gray 49%, $highlighted-color 50%); + } + .DayPicker-Day--nextClosed.DayPicker-Day--prevBooked { background: linear-gradient($half-day-angle, $booked-color 49%, $medium-gray 50%); color: $black; @@ -210,11 +214,16 @@ color: $black; } - .DayPicker-Day--prevBooked.DayPicker-Day--disabled:not(.DayPicker-Day--booked) { + .DayPicker-Day--prevBooked.DayPicker-Day--disabled:not(.DayPicker-Day--booked):not(.DayPicker-Day--start) { background: linear-gradient($half-day-angle, $booked-color 49%, $medium-gray 50%); color: $black; } + .DayPicker-Day--prevBooked.DayPicker-Day--disabled.DayPicker-Day--start:not(.DayPicker-Day--booked) { + background: linear-gradient($half-day-angle, $booked-color 49%, $highlighted-color 50%); + color: $black; + } + .DayPicker-Day--booked.DayPicker-Day--prevClosed { background: linear-gradient($half-day-angle, $medium-gray 49%, $booked-color 50%); }