choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
45 lines (36 loc) • 796 B
text/less
@import '../../../../lib/style/themes/default';
@import '../../field/style/mixin';
@rate-line-height: 1;
.rate-basic() {
&-wrapper {
position: relative;
display: inline-block;
align-items: center;
line-height: @rate-line-height;
white-space: @label-white-space;
vertical-align: middle;
outline: none;
cursor: pointer;
}
&:disabled {
cursor: not-allowed;
pointer-events: none;
}
&-disabled {
cursor: not-allowed;
}
&-float-label&-required .@{field-label-prefix-cls}::after {
width: 0.08rem;
content: "*";
}
&-float-label + .@{c7n-pro-prefix}-validation-message {
padding-left: 0;
}
&-float-label .@{field-label-prefix-cls} {
display: inline-block;
padding: 0;
&::after {
width: 0;
}
}
}