mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-11 10:05:07 +08:00
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
@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";
|
|
|
|
.@{autocomplete-prefix-cls} {
|
|
&.@{select-prefix-cls} {
|
|
.@{select-prefix-cls} {
|
|
&-selection {
|
|
border: 0;
|
|
box-shadow: none;
|
|
&__rendered {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
height: 100%;
|
|
line-height: @input-height-base;
|
|
}
|
|
&__placeholder {
|
|
margin-left: (@input-padding-horizontal + 1px);
|
|
margin-right: (@input-padding-horizontal + 1px);
|
|
}
|
|
}
|
|
}
|
|
|
|
&-allow-clear {
|
|
.@{select-prefix-cls}-selection:hover .@{select-prefix-cls}-selection__rendered {
|
|
margin-right: 0 !important;
|
|
}
|
|
}
|
|
|
|
.@{input-prefix-cls} {
|
|
background: transparent;
|
|
border-width: @border-width-base;
|
|
line-height: @line-height-base;
|
|
&:focus,
|
|
&:hover {
|
|
.hover;
|
|
}
|
|
}
|
|
|
|
&-lg {
|
|
.@{select-prefix-cls}-selection__rendered {
|
|
line-height: @input-height-lg;
|
|
}
|
|
.@{input-prefix-cls} {
|
|
.input-lg();
|
|
}
|
|
}
|
|
|
|
&-sm {
|
|
.@{select-prefix-cls}-selection__rendered {
|
|
line-height: @input-height-sm;
|
|
}
|
|
.@{input-prefix-cls} {
|
|
.input-sm();
|
|
}
|
|
}
|
|
}
|
|
}
|