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 {
|
2020-12-22 11:08:12 +08:00
|
|
|
.reset-component();
|
|
|
|
.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 {
|
2020-12-22 11:08:12 +08:00
|
|
|
.reset-component();
|
2020-04-17 16:04:20 +08:00
|
|
|
.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
|
|
|
}
|
2020-10-10 11:30:58 +08:00
|
|
|
|
|
|
|
&-textarea {
|
|
|
|
&-show-count::after {
|
|
|
|
display: block;
|
2020-10-12 12:43:04 +08:00
|
|
|
color: @text-color-secondary;
|
2020-10-10 11:30:58 +08:00
|
|
|
text-align: right;
|
|
|
|
content: attr(data-count);
|
|
|
|
}
|
|
|
|
}
|
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';
|
2020-06-02 21:17:57 +08:00
|
|
|
@import './IE11';
|