2015-08-20 16:55:42 +08:00
|
|
|
@select-prefix-cls: ant-select;
|
2015-06-09 21:16:59 +08:00
|
|
|
|
2015-07-08 22:07:15 +08:00
|
|
|
@import "../mixins/iconfont";
|
2015-06-11 19:23:35 +08:00
|
|
|
//mixin
|
2015-07-08 22:07:15 +08:00
|
|
|
.selection__clear() {
|
2015-06-11 19:23:35 +08:00
|
|
|
cursor: pointer;
|
|
|
|
float: right;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2015-08-10 15:39:50 +08:00
|
|
|
|
2015-07-20 21:32:31 +08:00
|
|
|
.selected_icon() {
|
|
|
|
position: relative;
|
|
|
|
&:after {
|
2015-11-17 16:20:55 +08:00
|
|
|
.iconfont-size-under-12px(9px);
|
2015-07-20 21:32:31 +08:00
|
|
|
display: inline-block;
|
2015-11-12 22:59:25 +08:00
|
|
|
content: '\e62e';
|
2015-07-20 21:32:31 +08:00
|
|
|
font-family: 'anticon';
|
|
|
|
font-weight: bold;
|
|
|
|
position: absolute;
|
2015-08-26 11:09:43 +08:00
|
|
|
top: 7px;
|
2015-11-17 16:20:55 +08:00
|
|
|
right: -1px;
|
2015-11-05 17:49:47 +08:00
|
|
|
padding-right: 14px;
|
2015-07-20 21:32:31 +08:00
|
|
|
color: @primary-color;
|
2015-11-26 19:32:55 +08:00
|
|
|
transform: scale(0.75);
|
2015-07-20 21:32:31 +08:00
|
|
|
}
|
|
|
|
}
|
2015-06-11 19:23:35 +08:00
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls} {
|
2015-06-09 21:16:59 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: #666;
|
2015-06-14 15:52:47 +08:00
|
|
|
font-size: @font-size-base;
|
2015-06-09 21:16:59 +08:00
|
|
|
|
|
|
|
> ul > li > a {
|
|
|
|
padding: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
// arrow
|
|
|
|
&-arrow {
|
2015-07-09 17:47:21 +08:00
|
|
|
.iconfont-mixin();
|
2015-06-09 21:16:59 +08:00
|
|
|
position: absolute;
|
2015-07-23 17:18:09 +08:00
|
|
|
top: 50%;
|
|
|
|
right: 8px;
|
|
|
|
line-height: 1;
|
|
|
|
margin-top: -5px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.iconfont-size-under-12px(8px);
|
2015-07-09 17:47:21 +08:00
|
|
|
|
|
|
|
* {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-06-15 19:29:32 +08:00
|
|
|
|
|
|
|
&:before {
|
2015-11-12 22:59:25 +08:00
|
|
|
content: '\e603';
|
2015-07-15 15:19:04 +08:00
|
|
|
transition: transform 0.2s ease;
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-11 19:23:35 +08:00
|
|
|
&-selection {
|
|
|
|
outline: none;
|
2015-06-09 21:16:59 +08:00
|
|
|
user-select: none;
|
|
|
|
|
2015-06-11 19:23:35 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
|
2015-06-09 21:16:59 +08:00
|
|
|
background-color: #fff;
|
2015-11-05 21:25:43 +08:00
|
|
|
border-radius: @border-radius-base;
|
2015-06-09 21:16:59 +08:00
|
|
|
border: 1px solid #d9d9d9;
|
2015-06-15 11:01:15 +08:00
|
|
|
.transition(all .3s @ease-in-out);
|
|
|
|
|
2015-06-11 19:23:35 +08:00
|
|
|
&:hover {
|
2015-08-31 12:20:04 +08:00
|
|
|
.hover;
|
2015-06-11 19:23:35 +08:00
|
|
|
}
|
|
|
|
&:active {
|
2015-08-31 12:20:04 +08:00
|
|
|
.active;
|
2015-06-11 19:23:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-15 19:29:32 +08:00
|
|
|
&-disabled {
|
|
|
|
color: #ccc;
|
|
|
|
cursor: not-allowed;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-disabled &-selection {
|
2015-11-26 19:32:55 +08:00
|
|
|
&:hover,
|
|
|
|
&:active {
|
2015-06-15 19:29:32 +08:00
|
|
|
border-color: #d9d9d9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-11 19:23:35 +08:00
|
|
|
&-selection--single {
|
|
|
|
height: 28px;
|
|
|
|
cursor: pointer;
|
2015-06-09 21:16:59 +08:00
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__rendered {
|
2015-06-09 21:16:59 +08:00
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-09-24 21:54:19 +08:00
|
|
|
white-space: nowrap;
|
2015-06-11 19:23:35 +08:00
|
|
|
padding-left: 10px;
|
2015-11-19 17:00:37 +08:00
|
|
|
padding-right: 24px;
|
2015-06-16 19:59:07 +08:00
|
|
|
line-height: 26px;
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__clear {
|
2015-06-11 19:23:35 +08:00
|
|
|
.selection__clear();
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
2015-08-10 16:35:51 +08:00
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__placeholder {
|
2015-08-10 16:35:51 +08:00
|
|
|
color: #ccc;
|
|
|
|
}
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
|
2015-08-10 15:39:50 +08:00
|
|
|
&-lg {
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection--single {
|
2015-08-08 19:11:10 +08:00
|
|
|
height: 32px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__rendered {
|
2015-08-08 19:11:10 +08:00
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection--multiple {
|
2015-08-08 19:11:10 +08:00
|
|
|
min-height: 32px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__rendered {
|
2015-08-10 15:39:50 +08:00
|
|
|
li {
|
2015-08-08 19:11:10 +08:00
|
|
|
height: 24px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__choice__content {
|
2015-08-08 19:11:10 +08:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-10 15:39:50 +08:00
|
|
|
&-sm {
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection--single {
|
2015-08-08 19:11:10 +08:00
|
|
|
height: 22px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__rendered {
|
2015-08-08 19:11:10 +08:00
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection--multiple {
|
2015-08-08 19:11:10 +08:00
|
|
|
min-height: 22px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__rendered {
|
2015-08-10 15:39:50 +08:00
|
|
|
li {
|
2015-08-08 19:11:10 +08:00
|
|
|
height: 14px;
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__choice__content {
|
2015-08-08 19:11:10 +08:00
|
|
|
line-height: 14px;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
}
|
2015-08-31 12:20:04 +08:00
|
|
|
.ant-select-selection__choice__remove {
|
2015-08-10 15:39:50 +08:00
|
|
|
position: relative;
|
|
|
|
top: -4px;
|
|
|
|
}
|
2015-08-08 19:11:10 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-14 20:16:05 +08:00
|
|
|
&-disabled &-selection__choice__remove {
|
|
|
|
color: #ccc;
|
|
|
|
cursor: default;
|
|
|
|
&:hover {
|
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-17 19:31:52 +08:00
|
|
|
&-search__field__wrap {
|
2015-08-18 00:41:55 +08:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2015-09-17 19:31:52 +08:00
|
|
|
&-search__field__placeholder {
|
2015-08-18 00:41:55 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 3px;
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
|
2015-07-14 20:16:05 +08:00
|
|
|
&-search--inline {
|
|
|
|
float: left;
|
|
|
|
|
2015-09-17 19:31:52 +08:00
|
|
|
.@{select-prefix-cls}-search__field__wrap {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-search__field {
|
2015-11-26 19:32:55 +08:00
|
|
|
border: 0;
|
2015-07-14 20:16:05 +08:00
|
|
|
font-size: 100%;
|
|
|
|
background: transparent;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
> i {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-09 21:16:59 +08:00
|
|
|
&-selection--multiple {
|
2015-06-15 19:29:32 +08:00
|
|
|
min-height: 28px;
|
2015-06-09 21:16:59 +08:00
|
|
|
cursor: text;
|
|
|
|
|
2015-08-31 19:41:58 +08:00
|
|
|
.@{select-prefix-cls}-search__field__placeholder {
|
|
|
|
top: 6px;
|
2015-09-08 16:38:19 +08:00
|
|
|
left: 10px;
|
2015-08-31 19:41:58 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-search--inline {
|
2015-07-15 19:59:54 +08:00
|
|
|
width: auto;
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-search__field {
|
2015-07-15 19:59:54 +08:00
|
|
|
width: 0.75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__rendered {
|
2015-06-09 21:16:59 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-09-08 16:38:19 +08:00
|
|
|
padding-left: 6px;
|
2015-06-16 14:54:31 +08:00
|
|
|
padding-bottom: 4px;
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__clear {
|
2015-06-11 19:23:35 +08:00
|
|
|
.selection__clear();
|
2015-06-09 21:16:59 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2015-06-15 19:29:32 +08:00
|
|
|
> ul > li {
|
|
|
|
margin-top: 4px;
|
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__choice {
|
2015-06-09 21:16:59 +08:00
|
|
|
background-color: #f3f3f3;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: default;
|
|
|
|
float: left;
|
2015-09-10 12:07:58 +08:00
|
|
|
padding: 0 20px 0 8px;
|
2015-06-09 21:16:59 +08:00
|
|
|
margin-right: 4px;
|
2015-09-10 12:07:58 +08:00
|
|
|
max-width: 99%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{select-prefix-cls}-selection__choice__content {
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-selection__choice__remove {
|
2015-07-08 22:07:15 +08:00
|
|
|
.iconfont-mixin();
|
2015-06-09 21:16:59 +08:00
|
|
|
color: #919191;
|
2015-11-16 15:31:54 +08:00
|
|
|
line-height: 20px;
|
2015-06-09 21:16:59 +08:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: bold;
|
2015-08-31 12:20:04 +08:00
|
|
|
.iconfont-size-under-12px(8px);
|
2015-07-09 18:17:15 +08:00
|
|
|
padding: 0 0 0 4px;
|
2015-09-10 12:07:58 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 4px;
|
2015-06-09 21:16:59 +08:00
|
|
|
&:hover {
|
|
|
|
color: #333;
|
|
|
|
}
|
2015-07-08 22:07:15 +08:00
|
|
|
|
|
|
|
&:before {
|
2015-11-12 22:59:25 +08:00
|
|
|
content: "\e62d";
|
2015-07-08 22:07:15 +08:00
|
|
|
}
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-open {
|
|
|
|
.@{select-prefix-cls}-arrow {
|
2015-11-13 18:04:39 +08:00
|
|
|
.ie-rotate(2);
|
|
|
|
-ms-transform: rotate(180deg);
|
2015-08-31 12:20:04 +08:00
|
|
|
&:before {
|
2015-11-13 18:04:39 +08:00
|
|
|
.rotate(180deg);
|
2015-08-31 12:20:04 +08:00
|
|
|
}
|
2015-07-21 10:59:47 +08:00
|
|
|
}
|
2015-08-23 15:42:38 +08:00
|
|
|
.@{select-prefix-cls}-selection {
|
|
|
|
.active();
|
2015-07-20 21:32:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-combobox {
|
|
|
|
.@{select-prefix-cls}-arrow {
|
2015-08-20 17:27:40 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2015-08-23 15:42:38 +08:00
|
|
|
.@{select-prefix-cls}-search--inline {
|
|
|
|
height: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.@{select-prefix-cls}-search__field__placeholder {
|
|
|
|
left: 10px;
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
.@{select-prefix-cls}-search__field__wrap {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.@{select-prefix-cls}-search__field {
|
|
|
|
padding: 0 10px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.@{select-prefix-cls}-selection__rendered {
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{select-prefix-cls}-dropdown {
|
2015-11-11 12:00:54 +08:00
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-bottomLeft,
|
|
|
|
&.slide-up-appear.slide-up-appear-active&-placement-bottomLeft {
|
2015-10-22 18:27:17 +08:00
|
|
|
animation-name: antSlideUpIn;
|
|
|
|
}
|
|
|
|
|
2015-11-11 12:00:54 +08:00
|
|
|
&.slide-up-enter.slide-up-enter-active&-placement-topLeft,
|
|
|
|
&.slide-up-appear.slide-up-appear-active&-placement-topLeft {
|
2015-10-22 18:27:17 +08:00
|
|
|
animation-name: antSlideDownIn;
|
|
|
|
}
|
|
|
|
|
2015-11-11 12:00:54 +08:00
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-bottomLeft {
|
2015-10-22 18:27:17 +08:00
|
|
|
animation-name: antSlideUpOut;
|
|
|
|
}
|
|
|
|
|
2015-11-11 12:00:54 +08:00
|
|
|
&.slide-up-leave.slide-up-leave-active&-placement-topLeft {
|
2015-10-22 18:27:17 +08:00
|
|
|
animation-name: antSlideDownOut;
|
|
|
|
}
|
|
|
|
|
2015-09-23 11:21:36 +08:00
|
|
|
&-menu-item {
|
|
|
|
transition: background 0.3s ease;
|
|
|
|
}
|
2015-08-23 15:42:38 +08:00
|
|
|
|
|
|
|
&--single &-menu-item-selected {
|
2015-09-23 11:21:36 +08:00
|
|
|
.selected_icon();
|
2015-08-23 15:42:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&--multiple &-menu-item-selected {
|
|
|
|
.selected_icon();
|
|
|
|
}
|
|
|
|
|
|
|
|
&-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid #d9d9d9;
|
|
|
|
box-shadow: @overlay-shadow;
|
2015-11-06 16:06:18 +08:00
|
|
|
border-radius: @border-radius-base;
|
2015-08-23 15:42:38 +08:00
|
|
|
box-sizing: border-box;
|
2015-08-24 16:38:19 +08:00
|
|
|
z-index: 1070;
|
2015-08-23 15:42:38 +08:00
|
|
|
left: -9999px;
|
|
|
|
top: -9999px;
|
|
|
|
position: absolute;
|
|
|
|
outline: none;
|
|
|
|
overflow: hidden;
|
2015-08-24 16:07:44 +08:00
|
|
|
font-size: @font-size-base;
|
2015-08-23 15:42:38 +08:00
|
|
|
|
|
|
|
&-menu {
|
2015-06-09 21:16:59 +08:00
|
|
|
outline: none;
|
2015-08-23 15:42:38 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding-left: 0; // Override default ul/ol
|
|
|
|
list-style: none;
|
|
|
|
max-height: 250px;
|
|
|
|
overflow: auto;
|
2015-07-14 20:16:05 +08:00
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-item-group-list {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
> .@{select-prefix-cls}-dropdown-menu-item {
|
|
|
|
padding-left: 24px;
|
2015-07-14 20:16:05 +08:00
|
|
|
}
|
2015-08-23 15:42:38 +08:00
|
|
|
}
|
2015-07-14 20:16:05 +08:00
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-item-group-title {
|
|
|
|
color: #999;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding: 8px 16px;
|
|
|
|
}
|
2015-08-01 17:51:55 +08:00
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-item {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
2015-09-24 22:16:28 +08:00
|
|
|
padding: 7px 33px 7px 16px;
|
2015-08-23 15:42:38 +08:00
|
|
|
font-weight: normal;
|
|
|
|
color: #666;
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
2015-09-24 22:16:28 +08:00
|
|
|
overflow: hidden;
|
2015-08-01 17:51:55 +08:00
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
2015-11-26 19:32:55 +08:00
|
|
|
&:hover,
|
|
|
|
&-active {
|
2015-08-23 15:42:38 +08:00
|
|
|
background-color: tint(@primary-color, 90%) !important;
|
2015-08-01 17:51:55 +08:00
|
|
|
}
|
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-disabled {
|
|
|
|
color: #ccc;
|
|
|
|
cursor: not-allowed;
|
|
|
|
pointer-events: none;
|
2015-07-14 20:16:05 +08:00
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&:hover {
|
2015-07-14 20:16:05 +08:00
|
|
|
color: #ccc;
|
2015-08-23 15:42:38 +08:00
|
|
|
background-color: #fff;
|
2015-07-14 20:16:05 +08:00
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2015-08-23 15:42:38 +08:00
|
|
|
}
|
2015-07-14 20:16:05 +08:00
|
|
|
|
2015-08-23 15:42:38 +08:00
|
|
|
&-divider {
|
|
|
|
height: 1px;
|
|
|
|
margin: 1px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #e5e5e5;
|
|
|
|
line-height: 0;
|
2015-07-14 20:16:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-26 19:32:55 +08:00
|
|
|
&-container-open,
|
|
|
|
&-open {
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-dropdown {
|
2015-07-14 20:16:05 +08:00
|
|
|
display: block;
|
2015-06-09 21:16:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-11 12:00:54 +08:00
|
|
|
.@{select-prefix-cls}-dropdown-search {
|
2015-06-09 21:16:59 +08:00
|
|
|
display: block;
|
|
|
|
padding: 4px;
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-search__field__placeholder {
|
2015-09-23 11:42:46 +08:00
|
|
|
left: 7px;
|
2015-09-17 19:31:52 +08:00
|
|
|
top: 5px;
|
2015-08-18 00:41:55 +08:00
|
|
|
}
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-search__field__wrap {
|
2015-08-18 00:41:55 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{select-prefix-cls}-search__field {
|
2015-09-23 11:42:46 +08:00
|
|
|
padding: 4px 7px;
|
2015-06-09 21:16:59 +08:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 1px solid #d9d9d9;
|
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
|
|
|
}
|
2015-08-20 16:55:42 +08:00
|
|
|
&.@{select-prefix-cls}-search--hide {
|
2015-06-09 21:16:59 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-06-14 15:52:47 +08:00
|
|
|
}
|