mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
29 lines
740 B
Plaintext
29 lines
740 B
Plaintext
@import "../../style/themes/default";
|
|
@import "../../style/mixins/index";
|
|
@import "./mixin";
|
|
@import "./search-input";
|
|
|
|
// Input styles
|
|
.@{ant-prefix}-input {
|
|
.input;
|
|
}
|
|
|
|
//== Style for input-group: input with label, with button or dropdown...
|
|
.@{ant-prefix}-input-group {
|
|
.input-group(~"@{ant-prefix}-input");
|
|
&-wrapper {
|
|
display: inline-block;
|
|
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
|
|
}
|
|
}
|
|
|
|
// Input with affix: prefix or suffix
|
|
.@{ant-prefix}-input-affix-wrapper {
|
|
.input-affix-wrapper(~"@{ant-prefix}-input");
|
|
|
|
// https://github.com/ant-design/ant-design/issues/6144
|
|
.@{ant-prefix}-input {
|
|
min-height: 100%; // use min-height, assume that no smaller height to override
|
|
}
|
|
}
|