@import '../../style/themes/default'; @import '../../style/mixins/index'; @import '../../input/style/mixin'; @import '../../button/style/mixin'; @import '../../grid/style/mixin'; @import './mixin'; @form-prefix-cls: ~'@{ant-prefix}-form'; @form-component-height: @input-height-base; @form-component-max-height: @input-height-lg; @form-feedback-icon-size: @font-size-base; @form-help-margin-top: (@form-component-height - @form-component-max-height) / 2 + 2px; // Extends additional 1px to fix precision issue. // https://github.com/ant-design/ant-design/issues/12803 // https://github.com/ant-design/ant-design/issues/8220 @form-explain-precision: 1px; @form-explain-height: floor(@font-size-base * @line-height-base); .@{form-prefix-cls} { .reset-component; .reset-form; } .@{form-prefix-cls}-item-required::before { display: inline-block; margin-right: 4px; color: @label-required-color; font-size: @font-size-base; font-family: SimSun, sans-serif; line-height: 1; content: '*'; .@{form-prefix-cls}-hide-required-mark & { display: none; } } // Radio && Checkbox input[type='radio'], input[type='checkbox'] { &[disabled], &.disabled { cursor: not-allowed; } } // These classes are used directly on