Skip to content

Commit

Permalink
fix(date-picker): adjust style slectors for disabled or prev/next days (
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeyhrt authored and joshblack committed Jan 23, 2020
1 parent baf2e0a commit dc3de34
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/components/src/components/date-picker/_date-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@
}
}

.#{$prefix}--date-picker__days .nextMonthDay,
.#{$prefix}--date-picker__days .prevMonthDay {
color: $text-02;
.#{$prefix}--date-picker__day.nextMonthDay,
.#{$prefix}--date-picker__day.prevMonthDay {
color: $text-05;
}

.#{$prefix}--date-picker__day.today,
Expand Down Expand Up @@ -352,11 +352,10 @@
}
}

.#{$prefix}--date-picker__day.disabled,
.flatpickr-day.disabled {
.#{$prefix}--date-picker__day.flatpickr-day.flatpickr-disabled {
cursor: not-allowed;
opacity: 0.5;
color: $ui-05;
color: $disabled-02;

&:hover {
background: transparent;
Expand Down

0 comments on commit dc3de34

Please sign in to comment.