ant-design-vue/components/input/style/index.less

34 lines
818 B
Plaintext
Raw Normal View History

2017-12-06 10:54:20 +00:00
@import "../../style/themes/default";
@import "../../style/mixins/index";
@import "./mixin";
// Input styles
.@{ant-prefix}-input {
2018-01-15 10:54:26 +00:00
.reset-component;
2017-12-06 10:54:20 +00:00
.input;
}
//== Style for input-group: input with label, with button or dropdown...
.@{ant-prefix}-input-group {
2018-01-15 10:54:26 +00:00
.reset-component;
2017-12-06 10:54:20 +00:00
.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 {
2018-01-15 10:54:26 +00:00
.reset-component;
2017-12-06 10:54:20 +00:00
.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
}
}
2018-01-15 10:54:26 +00:00
@import "./search-input";