File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,16 @@ $mat-calendar-weekday-table-font-size: 11px !default;
3838 box-shadow : inset 0 0 0 $mat-datepicker-selected-today-box-shadow-width
3939 mat-color ($palette , default-contrast );
4040 }
41+
42+ .mat-calendar-body-cell :not (.mat-calendar-body-disabled ):hover ,
43+ .cdk-keyboard-focused .mat-calendar-body-active ,
44+ .cdk-program-focused .mat-calendar-body-active {
45+ & > .mat-calendar-body-cell-content {
46+ @include _mat-datepicker-unselected-cell {
47+ background-color : mat-color ($palette , 0.3 );
48+ }
49+ }
50+ }
4151}
4252
4353// Utility mixin to target cells that aren't selected. Used to make selector easier to follow.
@@ -93,16 +103,6 @@ $mat-calendar-weekday-table-font-size: 11px !default;
93103 color : $disabled-color ;
94104 }
95105
96- .mat-calendar-body-cell :not (.mat-calendar-body-disabled ):hover ,
97- .cdk-keyboard-focused .mat-calendar-body-active ,
98- .cdk-program-focused .mat-calendar-body-active {
99- & > .mat-calendar-body-cell-content {
100- @include _mat-datepicker-unselected-cell {
101- background-color : mat-color ($background , hover );
102- }
103- }
104- }
105-
106106 .mat-calendar-body-in-preview {
107107 $divider-color : mat-color ($foreground , divider );
108108
You can’t perform that action at this time.
0 commit comments