2020-03-05 12:17:50 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import './mixin';
|
2020-03-08 15:12:21 +08:00
|
|
|
@import './affix';
|
|
|
|
@import './allow-clear';
|
2020-03-05 12:17:50 +08:00
|
|
|
|
|
|
|
// Input styles
|
|
|
|
.@{ant-prefix}-input {
|
|
|
|
.reset-component;
|
|
|
|
.input;
|
|
|
|
|
2020-04-20 10:04:24 +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;
|
|
|
|
}
|
2020-03-05 12:17:50 +08:00
|
|
|
}
|
|
|
|
|
2020-04-20 10:04:24 +08:00
|
|
|
&[type='color'] {
|
|
|
|
height: @input-height-base;
|
2020-03-05 12:17:50 +08:00
|
|
|
|
2020-04-20 10:04:24 +08:00
|
|
|
&.@{ant-prefix}-input-lg {
|
|
|
|
height: @input-height-lg;
|
|
|
|
}
|
|
|
|
&.@{ant-prefix}-input-sm {
|
|
|
|
height: @input-height-sm;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
2020-03-05 12:17:50 +08:00
|
|
|
}
|
2020-10-14 13:31:22 +08:00
|
|
|
|
|
|
|
&-textarea {
|
|
|
|
&-show-count::after {
|
|
|
|
display: block;
|
|
|
|
color: @normal-color;
|
|
|
|
text-align: right;
|
|
|
|
content: attr(data-count);
|
|
|
|
}
|
|
|
|
}
|
2020-03-05 12:17:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@import './search-input';
|
2020-03-23 13:51:37 +08:00
|
|
|
@import './rtl';
|
2020-06-07 01:10:11 +08:00
|
|
|
@import './IE11';
|