1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-rate {
font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
color: rgba(0, 0, 0, 0.65);
-webkit-box-sizing: border-box;
box-sizing: border-box;
line-height: unset;
margin: 0;
padding: 0;
list-style: none;
font-size: 20px;
display: inline-block;
color: #fadb14;
outline: none;
}
.ant-rate-disabled .ant-rate-star {
cursor: default;
}
.ant-rate-disabled .ant-rate-star:hover {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.ant-rate-star {
margin: 0;
padding: 0;
display: inline-block;
margin-right: 8px;
position: relative;
-webkit-transition: all 0.3s;
transition: all 0.3s;
color: inherit;
cursor: pointer;
}
.ant-rate-star:focus {
outline: 0;
}
.ant-rate-star-first,
.ant-rate-star-second {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 0.3s;
transition: all 0.3s;
color: #e8e8e8;
}
.ant-rate-star-first .anticon,
.ant-rate-star-second .anticon {
vertical-align: middle;
}
.ant-rate-star:hover,
.ant-rate-star:focus {
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
.ant-rate-star-first {
position: absolute;
left: 0;
top: 0;
width: 50%;
height: 100%;
overflow: hidden;
opacity: 0;
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-half .ant-rate-star-second {
opacity: 1;
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-full .ant-rate-star-second {
color: inherit;
}
.ant-rate-text {
margin-left: 8px;
display: inline-block;
font-size: 14px;
}