🐛 Fix disabled Option wrong hover color

This commit is contained in:
afc163 2019-05-08 15:53:32 +08:00
parent 6464cfdb32
commit a4fb429a19
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48

View File

@ -504,7 +504,7 @@
cursor: pointer;
transition: background 0.3s ease;
&:hover {
&:hover:not(&-disabled) {
background-color: @item-hover-bg;
}
@ -516,24 +516,23 @@
border-radius: 0 0 @border-radius-base @border-radius-base;
}
&-disabled {
color: @disabled-color;
cursor: not-allowed;
&:hover {
color: @disabled-color;
background-color: @component-background;
cursor: not-allowed;
}
}
&-selected {
color: @text-color;
font-weight: @select-item-selected-font-weight;
background-color: @background-color-light;
}
&-active {
&-disabled {
color: @disabled-color;
cursor: not-allowed;
&:hover {
color: @disabled-color;
cursor: not-allowed;
}
}
&-active:not(&-disabled) {
background-color: @item-active-bg;
}