File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,16 @@ $mat-calendar-weekday-table-font-size: 11px !default;
38
38
box-shadow : inset 0 0 0 $mat-datepicker-selected-today-box-shadow-width
39
39
mat-color ($palette , default-contrast );
40
40
}
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
+ }
41
51
}
42
52
43
53
// 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;
93
103
color : $disabled-color ;
94
104
}
95
105
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
-
106
106
.mat-calendar-body-in-preview {
107
107
$divider-color : mat-color ($foreground , divider );
108
108
You can’t perform that action at this time.
0 commit comments