ant-design/components/input/style/index.less
二货机器人 4192c1f6d9 fix: Some input style issue (#21316)
* fix firefox flex bug

* fix input wrapper style

* fix clear text style

* update snapshot
2020-02-10 15:26:32 +08:00

42 lines
807 B
Plaintext

@import '../../style/themes/index';
@import '../../style/mixins/index';
@import './mixin';
@import './affix';
@import './allow-clear';
// Input styles
.@{ant-prefix}-input {
.reset-component;
.input;
}
//== Style for input-group: input with label, with button or dropdown...
.@{ant-prefix}-input-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
&-rtl {
direction: rtl;
}
}
&-rtl {
direction: rtl;
}
}
.@{ant-prefix}-input-password-icon {
color: @text-color-secondary;
cursor: pointer;
transition: all 0.3s;
&:hover {
color: @input-icon-hover-color;
}
}
@import './search-input';