Skip to content

Commit 7356a04

Browse files
committed
update
1 parent c2552db commit 7356a04

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/material/core/option/option.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,12 @@ $_side-padding: 16px;
4343
&.mdc-list-item--selected:not(.mdc-list-item--disabled) {
4444
// We don't change the background & text color in multiple mode since
4545
// it has the checkbox to show the selected state.
46-
&:not(.mat-mdc-option-multiple) {
46+
&:not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) {
4747
background-color: token-utils.slot(option-selected-state-layer-color, $fallbacks);
4848
.mdc-list-item__primary-text {
4949
color: token-utils.slot(option-selected-state-label-text-color, $fallbacks);
5050
}
5151
}
52-
53-
&:hover.mdc-list-item {
54-
background-color: token-utils.slot(option-hover-state-layer-color, $fallbacks);
55-
}
56-
57-
&:focus.mdc-list-item,
58-
&.mat-mdc-option-active.mdc-list-item {
59-
background-color: token-utils.slot(option-focus-state-layer-color, $fallbacks);
60-
}
6152
}
6253

6354
.mat-pseudo-checkbox {

0 commit comments

Comments
 (0)