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 @@ -37,6 +37,16 @@ $mat-calendar-weekday-table-font-size: 11px !default;
37
37
box-shadow : inset 0 0 0 $mat-datepicker-selected-today-box-shadow-width
38
38
mat-color ($palette , default-contrast );
39
39
}
40
+
41
+ .mat-calendar-body-cell :not (.mat-calendar-body-disabled ):hover ,
42
+ .cdk-keyboard-focused .mat-calendar-body-active ,
43
+ .cdk-program-focused .mat-calendar-body-active {
44
+ & > .mat-calendar-body-cell-content {
45
+ @include _mat-datepicker-unselected-cell {
46
+ background-color : mat-color ($palette , 0.3 );
47
+ }
48
+ }
49
+ }
40
50
}
41
51
42
52
// Utility mixin to target cells that aren't selected. Used to make selector easier to follow.
@@ -92,16 +102,6 @@ $mat-calendar-weekday-table-font-size: 11px !default;
92
102
color : $disabled-color ;
93
103
}
94
104
95
- .mat-calendar-body-cell :not (.mat-calendar-body-disabled ):hover ,
96
- .cdk-keyboard-focused .mat-calendar-body-active ,
97
- .cdk-program-focused .mat-calendar-body-active {
98
- & > .mat-calendar-body-cell-content {
99
- @include _mat-datepicker-unselected-cell {
100
- background-color : mat-color ($background , hover );
101
- }
102
- }
103
- }
104
-
105
105
.mat-calendar-body-in-preview {
106
106
$divider-color : mat-color ($foreground , divider );
107
107
You can’t perform that action at this time.
0 commit comments