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:
Kristiyan Kostadinov
2017-09-01 17:07:05 +02:00
committed by Jeremy Elbourn
parent 28ede304fb
commit 21c68ad95e
+7 -5
View File
@@ -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);
}
}
}