File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 17
17
.mat-step-header {
18
18
& .cdk-keyboard-focused ,
19
19
& .cdk-program-focused ,
20
- & :hover {
20
+ & :hover:not ([aria-disabled ]),
21
+ & :hover [aria-disabled = ' false' ] {
21
22
background-color : theming .get-color-from-palette ($background , hover );
22
23
}
23
24
25
+ & :hover [aria-disabled = ' true' ] {
26
+ cursor : default ;
27
+ }
28
+
24
29
// On touch devices the :hover state will linger on the element after a tap.
25
30
// Reset it via `@media` after the declaration, because the media query isn't
26
31
// supported by all browsers yet.
Original file line number Diff line number Diff line change 70
70
[optional] ="step.optional "
71
71
[errorMessage] ="step.errorMessage "
72
72
[iconOverrides] ="_iconOverrides "
73
- [disableRipple] ="disableRipple "
73
+ [disableRipple] ="disableRipple || !_stepIsNavigable(i, step) "
74
74
[color] ="step.color || color "> </ mat-step-header >
75
75
</ ng-template >
You can’t perform that action at this time.
0 commit comments