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

34 lines
817 B
Plaintext
Raw Normal View History

2019-01-02 13:01:56 +00:00
@import '../../style/themes/default';
@import '../../style/mixins/index';
@import './mixin';
2017-12-06 10:54:20 +00:00
// 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;
2019-01-02 13:01:56 +00:00
.input-group(~'@{ant-prefix}-input');
2017-12-06 10:54:20 +00:00
&-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;
2019-01-02 13:01:56 +00:00
.input-affix-wrapper(~'@{ant-prefix}-input');
2017-12-06 10:54:20 +00:00
// https://github.com/ant-design/ant-design/issues/6144
.@{ant-prefix}-input {
2019-01-02 13:01:56 +00:00
min-height: 100%; // use min-height, assume that no smaller height to override
2017-12-06 10:54:20 +00:00
}
}
2018-01-15 10:54:26 +00:00
2019-01-02 13:01:56 +00:00
@import './search-input';