2016-04-27 20:44:36 +08:00
|
|
|
@import "../../style/themes/default";
|
|
|
|
@import "../../style/mixins/index";
|
|
|
|
@import "./mixin";
|
|
|
|
|
|
|
|
// Input styles
|
2016-09-14 16:18:33 +08:00
|
|
|
.@{ant-prefix}-input {
|
2017-09-22 18:33:29 +08:00
|
|
|
.reset-component;
|
2016-04-27 20:44:36 +08:00
|
|
|
.input;
|
|
|
|
}
|
2016-05-23 20:09:25 +08:00
|
|
|
|
|
|
|
//== Style for input-group: input with label, with button or dropdown...
|
2016-09-14 16:18:33 +08:00
|
|
|
.@{ant-prefix}-input-group {
|
2017-09-22 18:33:29 +08:00
|
|
|
.reset-component;
|
2016-09-14 16:18:33 +08:00
|
|
|
.input-group(~"@{ant-prefix}-input");
|
2017-05-28 15:27:55 +08:00
|
|
|
&-wrapper {
|
|
|
|
display: inline-block;
|
2017-06-08 11:32:47 +08:00
|
|
|
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
|
2017-08-17 18:13:06 +08:00
|
|
|
width: 100%;
|
2017-05-28 15:27:55 +08:00
|
|
|
}
|
2016-05-23 20:09:25 +08:00
|
|
|
}
|
2017-01-01 01:06:19 +08:00
|
|
|
|
2017-03-18 21:26:42 +08:00
|
|
|
// Input with affix: prefix or suffix
|
|
|
|
.@{ant-prefix}-input-affix-wrapper {
|
2017-09-22 18:33:29 +08:00
|
|
|
.reset-component;
|
2017-03-18 21:26:42 +08:00
|
|
|
.input-affix-wrapper(~"@{ant-prefix}-input");
|
2017-05-15 18:15:29 +08:00
|
|
|
|
|
|
|
// https://github.com/ant-design/ant-design/issues/6144
|
|
|
|
.@{ant-prefix}-input {
|
2017-05-18 15:07:34 +08:00
|
|
|
min-height: 100%; // use min-height, assume that no smaller height to override
|
2017-05-15 18:15:29 +08:00
|
|
|
}
|
2017-01-01 01:06:19 +08:00
|
|
|
}
|
2017-09-15 17:03:43 +08:00
|
|
|
|
|
|
|
@import "./search-input";
|