selected check style should be in select-dropdown rather than dropdown

This commit is contained in:
afc163 2015-08-12 16:18:15 +08:00
parent f6aaefa43f
commit f975a891a6
2 changed files with 12 additions and 16 deletions

View File

@ -103,21 +103,6 @@
background-color: #e5e5e5;
line-height: 0;
}
&-selected {
background-color: tint(@primary-color, 90%);
position: relative;
&:after {
content: '\e613';
font-family: 'anticon';
font-weight: bold;
position: absolute;
top: 6px;
right: 16px;
color: @primary-color;
background-color: tint(@primary-color, 90%);
}
}
}
}
}

View File

@ -254,7 +254,18 @@
.@{selectPrefixCls}-selection--single + .@{selectPrefixCls}-dropdown {
.@{selectPrefixCls}-dropdown-menu-item-selected {
background-color: tint(@primary-color, 90%) !important;
background-color: tint(@primary-color, 90%);
position: relative;
&:after {
content: '\e613';
font-family: 'anticon';
font-weight: bold;
position: absolute;
top: 6px;
right: 16px;
color: @primary-color;
background-color: tint(@primary-color, 90%);
}
}
}
.@{selectPrefixCls}-selection--multiple + .@{selectPrefixCls}-dropdown {