You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/input/style/index.less

34 lines
818 B

7 years ago
@import "../../style/themes/default";
@import "../../style/mixins/index";
@import "./mixin";
// Input styles
.@{ant-prefix}-input {
7 years ago
.reset-component;
7 years ago
.input;
}
//== Style for input-group: input with label, with button or dropdown...
.@{ant-prefix}-input-group {
7 years ago
.reset-component;
7 years ago
.input-group(~"@{ant-prefix}-input");
&-wrapper {
display: inline-block;
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
width: 100%;
}
}
// Input with affix: prefix or suffix
.@{ant-prefix}-input-affix-wrapper {
7 years ago
.reset-component;
7 years ago
.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
}
}
7 years ago
@import "./search-input";