Fix select and treeSelect multiple disabled style

close #996
This commit is contained in:
afc163 2016-02-05 13:55:14 +08:00
parent 0bdeb3aa87
commit 7c7e8beed2
2 changed files with 18 additions and 10 deletions

View File

@ -69,20 +69,22 @@
} }
&-disabled &-selection { &-disabled &-selection {
background: #f4f4f4;
cursor: not-allowed;
&:hover, &:hover,
&:active { &:active {
border-color: @border-color-base; border-color: @border-color-base;
} }
} }
&-disabled &-selection--single { &-disabled &-selection--multiple &-selection__choice {
background: #f4f4f4; background: #e9e9e9;
cursor: not-allowed; color: #aaa;
} padding-right: 10px;
&__remove {
&-disabled &-selection--multiple &-selection__choice__remove {
display: none; display: none;
} }
}
&-selection--single { &-selection--single {
height: 28px; height: 28px;

View File

@ -181,15 +181,21 @@
} }
&-disabled &-selection { &-disabled &-selection {
background: #f4f4f4;
cursor: not-allowed;
&:hover, &:hover,
&:active { &:active {
border-color: @border-color-base; border-color: @border-color-base;
} }
} }
&-disabled &-selection--single { &-disabled &-selection--multiple &-selection__choice {
background: #f4f4f4; background: #e9e9e9;
cursor: not-allowed; color: #999;
padding-right: 10px;
&__remove {
display: none;
}
} }
&-selection--single { &-selection--single {