mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 20:20:00 +08:00
c373710ce2
* fix: border style of Input.Search when allowClear (#27325) * fix: border style of Input.Search when allowClear * fix css * update * change name * docs: 4.7.3 changelog (#27350) * docs: 4.7.3 changelog * docs: Patch 27325 * chore: improve useCombinedRefs (#27352) * docs: 📝 update introduce * chore: fix API table border * chore: Adjust collapse arrow position align with first line Co-authored-by: xrk <xrkffgg@gmail.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: afc163 <afc163@gmail.com>
62 lines
887 B
Plaintext
62 lines
887 B
Plaintext
@import './index';
|
|
@import './mixin';
|
|
|
|
@input-affix-margin: 4px;
|
|
|
|
.@{ant-prefix}-input {
|
|
&-affix-wrapper {
|
|
.input();
|
|
display: inline-flex;
|
|
|
|
&:hover {
|
|
.hover();
|
|
z-index: 1;
|
|
.@{ant-prefix}-input-search-with-button & {
|
|
z-index: 0;
|
|
}
|
|
}
|
|
|
|
&-focused,
|
|
&:focus {
|
|
z-index: 1;
|
|
}
|
|
|
|
&-disabled {
|
|
.@{ant-prefix}-input[disabled] {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
> input.@{ant-prefix}-input {
|
|
padding: 0;
|
|
border: none;
|
|
outline: none;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&::before {
|
|
width: 0;
|
|
visibility: hidden;
|
|
content: '\a0';
|
|
}
|
|
}
|
|
|
|
&-prefix,
|
|
&-suffix {
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
}
|
|
|
|
&-prefix {
|
|
margin-right: @input-affix-margin;
|
|
}
|
|
|
|
&-suffix {
|
|
margin-left: @input-affix-margin;
|
|
}
|
|
}
|