2017-01-13 21:19:23 +08:00
|
|
|
@import "../../style/themes/default";
|
|
|
|
@import "../../style/mixins/index";
|
|
|
|
@import "../../input/style/mixin";
|
|
|
|
|
|
|
|
@input-prefix-cls: ~"@{ant-prefix}-input";
|
|
|
|
@select-prefix-cls: ~"@{ant-prefix}-select";
|
|
|
|
@autocomplete-prefix-cls: ~"@{select-prefix-cls}-auto-complete";
|
|
|
|
|
2017-02-09 10:45:42 +08:00
|
|
|
.@{autocomplete-prefix-cls} {
|
|
|
|
&.@{select-prefix-cls} {
|
|
|
|
.@{select-prefix-cls} {
|
|
|
|
&-selection {
|
|
|
|
border: 0;
|
2017-03-14 11:24:38 +08:00
|
|
|
box-shadow: none;
|
2017-02-09 10:45:42 +08:00
|
|
|
&--single {
|
2017-03-14 11:24:38 +08:00
|
|
|
height: 100%;
|
2017-02-09 10:45:42 +08:00
|
|
|
}
|
|
|
|
&__rendered {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
&__placeholder {
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 8px;
|
|
|
|
top: @input-height-base / 2;
|
|
|
|
}
|
|
|
|
}
|
2017-01-13 21:19:23 +08:00
|
|
|
}
|
2017-02-09 10:45:42 +08:00
|
|
|
|
|
|
|
.@{input-prefix-cls} {
|
|
|
|
.input();
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-lg {
|
|
|
|
.@{select-prefix-cls}-selection__placeholder {
|
|
|
|
top: @input-height-lg / 2;
|
2017-01-13 21:19:23 +08:00
|
|
|
}
|
2017-02-09 10:45:42 +08:00
|
|
|
.@{input-prefix-cls} {
|
|
|
|
.input-lg();
|
2017-01-13 21:19:23 +08:00
|
|
|
}
|
2017-02-09 10:45:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-sm {
|
|
|
|
.@{select-prefix-cls}-selection__placeholder {
|
|
|
|
top: @input-height-sm / 2;
|
|
|
|
}
|
|
|
|
.@{input-prefix-cls} {
|
|
|
|
.input-sm();
|
2017-01-13 21:19:23 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-09 10:45:42 +08:00
|
|
|
.@{input-prefix-cls} {
|
2017-02-28 15:46:45 +08:00
|
|
|
border: @border-width-base @border-style-base @border-color-base;
|
2017-02-09 10:45:42 +08:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
.hover;
|
|
|
|
}
|
2017-01-13 21:19:23 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|