2019-05-06 12:04:39 +08:00
|
|
|
@import '../../style/themes/index';
|
2018-12-07 20:02:01 +08:00
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import './mixin';
|
2020-01-14 11:59:38 +08:00
|
|
|
@import './affix';
|
2020-02-10 15:26:32 +08:00
|
|
|
@import './allow-clear';
|
2016-04-27 20:44:36 +08:00
|
|
|
|
|
|
|
// 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
|
|
|
|
2020-04-17 16:04:20 +08:00
|
|
|
//== Style for input-group: input with label, with button or dropdown...
|
|
|
|
&-group {
|
|
|
|
.reset-component;
|
|
|
|
.input-group(~'@{ant-prefix}-input');
|
|
|
|
&-wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: start;
|
|
|
|
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-password-icon {
|
|
|
|
color: @text-color-secondary;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @input-icon-hover-color;
|
|
|
|
}
|
2017-05-28 15:27:55 +08:00
|
|
|
}
|
2017-01-01 01:06:19 +08:00
|
|
|
|
2020-04-17 16:04:20 +08:00
|
|
|
&[type='color'] {
|
|
|
|
height: @input-height-base;
|
2019-03-26 22:37:14 +08:00
|
|
|
|
2020-04-17 16:04:20 +08:00
|
|
|
&.@{ant-prefix}-input-lg {
|
|
|
|
height: @input-height-lg;
|
|
|
|
}
|
|
|
|
&.@{ant-prefix}-input-sm {
|
|
|
|
height: @input-height-sm;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
2018-11-29 10:03:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-07 20:02:01 +08:00
|
|
|
@import './search-input';
|
2020-03-19 16:44:16 +08:00
|
|
|
@import './rtl';
|