mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
84ca70e8b7
fixed #1
46 lines
716 B
Plaintext
46 lines
716 B
Plaintext
@import './index';
|
|
@import './mixin';
|
|
|
|
@input-affix-margin: 4px;
|
|
|
|
.@{ant-prefix}-input {
|
|
&-affix-wrapper {
|
|
.input();
|
|
display: inline-flex;
|
|
|
|
> input.@{ant-prefix}-input {
|
|
padding: 0;
|
|
border: none;
|
|
outline: none;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-prefix,
|
|
&-suffix {
|
|
flex: none;
|
|
}
|
|
|
|
&-prefix {
|
|
margin-right: @input-affix-margin;
|
|
}
|
|
|
|
&-suffix {
|
|
margin-left: @input-affix-margin;
|
|
}
|
|
|
|
// ======================== RTL ========================
|
|
&-affix-wrapper-rtl {
|
|
.@{ant-prefix}-input-prefix {
|
|
margin: 0 0 0 @input-affix-margin;
|
|
}
|
|
|
|
.@{ant-prefix}-input-suffix {
|
|
margin: 0 @input-affix-margin 0 0;
|
|
}
|
|
}
|
|
}
|