|
@ -6,35 +6,60 @@ |
|
|
@select-prefix-cls: ~"@{ant-prefix}-select"; |
|
|
@select-prefix-cls: ~"@{ant-prefix}-select"; |
|
|
@autocomplete-prefix-cls: ~"@{select-prefix-cls}-auto-complete"; |
|
|
@autocomplete-prefix-cls: ~"@{select-prefix-cls}-auto-complete"; |
|
|
|
|
|
|
|
|
.@{autocomplete-prefix-cls}.@{select-prefix-cls} { |
|
|
.@{autocomplete-prefix-cls} { |
|
|
|
|
|
&.@{select-prefix-cls} { |
|
|
|
|
|
|
|
|
.@{select-prefix-cls} { |
|
|
.@{select-prefix-cls} { |
|
|
&-search--inline { |
|
|
&-search--inline { |
|
|
position: relative; |
|
|
position: relative; |
|
|
|
|
|
} |
|
|
|
|
|
&-selection { |
|
|
|
|
|
border: 0; |
|
|
|
|
|
&--single { |
|
|
|
|
|
height: auto; |
|
|
|
|
|
} |
|
|
|
|
|
&__rendered { |
|
|
|
|
|
margin-left: 0; |
|
|
|
|
|
margin-right: 0; |
|
|
|
|
|
line-height: 0; |
|
|
|
|
|
} |
|
|
|
|
|
&__placeholder { |
|
|
|
|
|
margin-left: 8px; |
|
|
|
|
|
margin-right: 8px; |
|
|
|
|
|
top: @input-height-base / 2; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
&-selection { |
|
|
|
|
|
border: 0; |
|
|
.@{input-prefix-cls} { |
|
|
&--single { |
|
|
.input(); |
|
|
height: auto; |
|
|
background: transparent; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&-lg { |
|
|
|
|
|
.@{select-prefix-cls}-selection__placeholder { |
|
|
|
|
|
top: @input-height-lg / 2; |
|
|
} |
|
|
} |
|
|
&__rendered { |
|
|
.@{input-prefix-cls} { |
|
|
margin-left: 0; |
|
|
.input-lg(); |
|
|
margin-right: 0; |
|
|
|
|
|
line-height: 0; |
|
|
|
|
|
} |
|
|
} |
|
|
&__placeholder { |
|
|
} |
|
|
margin-left: 8px; |
|
|
|
|
|
margin-right: 8px; |
|
|
&-sm { |
|
|
top: 12px; |
|
|
.@{select-prefix-cls}-selection__placeholder { |
|
|
|
|
|
top: @input-height-sm / 2; |
|
|
|
|
|
} |
|
|
|
|
|
.@{input-prefix-cls} { |
|
|
|
|
|
.input-sm(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.@{input-prefix-cls} { |
|
|
.@{input-prefix-cls} { |
|
|
border: 1px solid @border-color-base; |
|
|
border: @border-width-base @border-style-base @border-color-base; |
|
|
&:focus, |
|
|
&:focus, |
|
|
&:hover { |
|
|
&:hover { |
|
|
.hover; |
|
|
.hover; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|