ant-design-blazor/components/input/style/affix.less

62 lines
887 B
Plaintext
Raw Normal View History

@import './index';
@import './mixin';
@input-affix-margin: 4px;
.@{ant-prefix}-input {
&-affix-wrapper {
.input();
display: inline-flex;
2020-10-25 23:07:27 +08:00
&:hover {
.hover();
z-index: 1;
.@{ant-prefix}-input-search-with-button & {
z-index: 0;
}
}
&-focused,
&:focus {
z-index: 1;
}
2020-04-10 17:44:53 +08:00
&-disabled {
.@{ant-prefix}-input[disabled] {
background: transparent;
}
}
> input.@{ant-prefix}-input {
2020-05-11 21:47:35 +08:00
padding: 0;
border: none;
outline: none;
&:focus {
box-shadow: none;
}
}
2020-03-30 09:53:10 +08:00
&::before {
width: 0;
visibility: hidden;
content: '\a0';
}
}
&-prefix,
&-suffix {
2020-04-26 10:41:53 +08:00
display: flex;
flex: none;
2020-04-26 10:41:53 +08:00
align-items: center;
}
&-prefix {
margin-right: @input-affix-margin;
}
&-suffix {
margin-left: @input-affix-margin;
}
}