Skip to content

Commit

Permalink
fix(calendar): prevent selected day text color override (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Jul 1, 2019
1 parent 4d66419 commit e8834d7
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,20 @@
}
}

nb-calendar-day-picker .day-cell {
&.bounding-month {
color: nb-theme(calendar-cell-inactive-text-color);
}

&:not(.disabled):not(.empty):hover {
background-color: nb-theme(calendar-cell-hover-background-color);
color: nb-theme(calendar-cell-hover-text-color);
font-size: nb-theme(calendar-cell-hover-text-font-size);
font-weight: nb-theme(calendar-cell-hover-text-font-weight);
line-height: nb-theme(calendar-cell-hover-text-line-height);
}
}

nb-calendar-day-picker .day-cell,
nb-calendar-month-picker .month-cell,
nb-calendar-year-picker .year-cell {
Expand Down Expand Up @@ -159,18 +173,4 @@
line-height: nb-theme(calendar-cell-active-text-line-height);
}
}

nb-calendar-day-picker .day-cell {
&.bounding-month {
color: nb-theme(calendar-cell-inactive-text-color);
}

&:not(.disabled):not(.empty):hover {
background-color: nb-theme(calendar-cell-hover-background-color);
color: nb-theme(calendar-cell-hover-text-color);
font-size: nb-theme(calendar-cell-hover-text-font-size);
font-weight: nb-theme(calendar-cell-hover-text-font-weight);
line-height: nb-theme(calendar-cell-hover-text-line-height);
}
}
}

0 comments on commit e8834d7

Please sign in to comment.