mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(expansion-panel): dark theme header hover color (#6616)
Fixes the expansion panel header hover effect not being disabled for dark themes.
This commit is contained in:
committed by
Jeremy Elbourn
parent
28ede304fb
commit
21c68ad95e
@@ -15,11 +15,13 @@
|
||||
border-top-color: mat-color($foreground, divider);
|
||||
}
|
||||
|
||||
.mat-expansion-panel-header:not([aria-disabled='true']) {
|
||||
&.cdk-keyboard-focused,
|
||||
&.cdk-program-focused,
|
||||
&:hover {
|
||||
background: mat-color($background, hover);
|
||||
.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header {
|
||||
&:not([aria-disabled='true']) {
|
||||
&.cdk-keyboard-focused,
|
||||
&.cdk-program-focused,
|
||||
&:hover {
|
||||
background: mat-color($background, hover);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user