1 | @import '../../../../es/style/themes/default';
|
2 | @import '../../field/style/mixin';
|
3 |
|
4 | @rate-line-height: 1;
|
5 |
|
6 | .rate-basic() {
|
7 | &-wrapper {
|
8 | position: relative;
|
9 | display: inline-block;
|
10 | align-items: center;
|
11 | line-height: @rate-line-height;
|
12 | white-space: @label-white-space;
|
13 | vertical-align: middle;
|
14 | outline: none;
|
15 | cursor: pointer;
|
16 | }
|
17 |
|
18 | &:disabled {
|
19 | cursor: not-allowed;
|
20 | pointer-events: none;
|
21 | }
|
22 |
|
23 | &-disabled {
|
24 | cursor: not-allowed;
|
25 | }
|
26 |
|
27 | &-float-label&-required .@{field-label-prefix-cls}::after {
|
28 | width: 0.08rem;
|
29 | content: "*";
|
30 | }
|
31 |
|
32 | &-float-label + .@{c7n-pro-prefix}-validation-message {
|
33 | padding-left: 0;
|
34 | }
|
35 |
|
36 | &-float-label .@{field-label-prefix-cls} {
|
37 | display: inline-block;
|
38 | padding: 0;
|
39 |
|
40 | &::after {
|
41 | width: 0;
|
42 | }
|
43 | }
|
44 | }
|