mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
37e042358d
* feat: remove form status style && input support status * test: update snapshot * feat: update status prop in config provider * fix: form item validateStatus support * chore: code clean * feat: status classname change * test: update snapshot * refactor: move formItemStatusContext to form folder * refactor: merge utils * refactor: rename statusUtils * chore: code clean * test: fix coverage * chore: remove status prop of Form.Item * chore: code clean * docs: update demo * test: fix lint * feat: status only success and warning * test: fix lint * docs: update deamo
70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
@import './mixin';
|
|
@import './affix';
|
|
@import './allow-clear';
|
|
@import './status';
|
|
|
|
@input-prefix-cls: ~'@{ant-prefix}-input';
|
|
|
|
// Input styles
|
|
.@{input-prefix-cls} {
|
|
.reset-component();
|
|
.input();
|
|
|
|
//== Style for input-group: input with label, with button or dropdown...
|
|
&-group {
|
|
.reset-component();
|
|
.input-group(~'@{input-prefix-cls}');
|
|
|
|
&-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;
|
|
}
|
|
}
|
|
|
|
&[type='color'] {
|
|
height: @input-height-base;
|
|
|
|
&.@{input-prefix-cls}-lg {
|
|
height: @input-height-lg;
|
|
}
|
|
&.@{input-prefix-cls}-sm {
|
|
height: @input-height-sm;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
}
|
|
}
|
|
|
|
&-textarea-show-count {
|
|
// https://github.com/ant-design/ant-design/issues/33049
|
|
> .@{input-prefix-cls} {
|
|
height: 100%;
|
|
}
|
|
|
|
&::after {
|
|
float: right;
|
|
color: @text-color-secondary;
|
|
white-space: nowrap;
|
|
content: attr(data-count);
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@import './search-input';
|
|
@import './rtl';
|
|
@import './IE11';
|