mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
759b0bb821
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
34 lines
818 B
Plaintext
34 lines
818 B
Plaintext
@import "../../style/themes/default";
|
|
@import "../../style/mixins/index";
|
|
@import "./mixin";
|
|
|
|
// 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;
|
|
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
// Input with affix: prefix or suffix
|
|
.@{ant-prefix}-input-affix-wrapper {
|
|
.reset-component;
|
|
.input-affix-wrapper(~"@{ant-prefix}-input");
|
|
|
|
// https://github.com/ant-design/ant-design/issues/6144
|
|
.@{ant-prefix}-input {
|
|
min-height: 100%; // use min-height, assume that no smaller height to override
|
|
}
|
|
}
|
|
|
|
@import "./search-input";
|