2020-01-13 19:36:27 +08:00
|
|
|
@import './index';
|
|
|
|
@import './mixin';
|
|
|
|
|
2020-01-14 11:59:38 +08:00
|
|
|
@input-affix-margin: 4px;
|
|
|
|
|
2020-01-13 19:36:27 +08:00
|
|
|
.@{ant-prefix}-input {
|
|
|
|
&-affix-wrapper {
|
|
|
|
.input();
|
|
|
|
display: inline-flex;
|
|
|
|
|
2020-02-10 15:26:32 +08:00
|
|
|
> input.@{ant-prefix}-input {
|
2020-01-13 19:36:27 +08:00
|
|
|
padding: 0;
|
|
|
|
border: none;
|
2020-01-14 11:59:38 +08:00
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2020-03-25 22:44:56 +08:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
width: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
content: '\a0';
|
|
|
|
}
|
2020-01-13 19:36:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-prefix,
|
|
|
|
&-suffix {
|
|
|
|
flex: none;
|
|
|
|
}
|
|
|
|
|
2020-01-14 11:59:38 +08:00
|
|
|
&-prefix {
|
|
|
|
margin-right: @input-affix-margin;
|
|
|
|
}
|
2020-01-13 19:36:27 +08:00
|
|
|
|
2020-01-14 11:59:38 +08:00
|
|
|
&-suffix {
|
|
|
|
margin-left: @input-affix-margin;
|
|
|
|
}
|
|
|
|
}
|