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';
|
2022-02-14 17:09:35 +08:00
|
|
|
@import './status';
|
2016-04-27 20:44:36 +08:00
|
|
|
|
2021-07-22 19:47:29 +08:00
|
|
|
@input-prefix-cls: ~'@{ant-prefix}-input';
|
|
|
|
|
2016-04-27 20:44:36 +08:00
|
|
|
// Input styles
|
2021-07-22 19:47:29 +08:00
|
|
|
.@{input-prefix-cls} {
|
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();
|
2021-07-22 19:47:29 +08:00
|
|
|
.input-group(~'@{input-prefix-cls}');
|
2021-10-13 15:38:59 +08:00
|
|
|
|
2020-04-17 16:04:20 +08:00
|
|
|
&-wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: start;
|
|
|
|
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-08 13:46:11 +08:00
|
|
|
&-password-icon.@{iconfont-css-prefix} {
|
2020-04-17 16:04:20 +08:00
|
|
|
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
|
|
|
|
2021-07-22 19:47:29 +08:00
|
|
|
&.@{input-prefix-cls}-lg {
|
2020-04-17 16:04:20 +08:00
|
|
|
height: @input-height-lg;
|
|
|
|
}
|
2021-07-22 19:47:29 +08:00
|
|
|
&.@{input-prefix-cls}-sm {
|
2020-04-17 16:04:20 +08:00
|
|
|
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
|
|
|
|
2021-11-27 15:35:42 +08:00
|
|
|
&-textarea-show-count {
|
|
|
|
// https://github.com/ant-design/ant-design/issues/33049
|
|
|
|
> .@{input-prefix-cls} {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
2021-02-05 20:34:28 +08:00
|
|
|
float: right;
|
2020-10-12 12:43:04 +08:00
|
|
|
color: @text-color-secondary;
|
2021-02-05 20:34:28 +08:00
|
|
|
white-space: nowrap;
|
2020-10-10 11:30:58 +08:00
|
|
|
content: attr(data-count);
|
2021-02-05 20:34:28 +08:00
|
|
|
pointer-events: none;
|
2020-10-10 11:30:58 +08:00
|
|
|
}
|
|
|
|
}
|
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';
|