index.css
2.11 KB
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
86
87
88
89
90
91
92
93
94
95
/* 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 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
display: inline-block;
margin: 0;
padding: 0;
color: #fadb14;
font-size: 20px;
line-height: unset;
list-style: none;
outline: none;
}
.ant-rate-disabled .ant-rate-star {
cursor: default;
}
.ant-rate-disabled .ant-rate-star:hover {
-webkit-transform: scale(1);
transform: scale(1);
}
.ant-rate-star {
position: relative;
display: inline-block;
color: inherit;
cursor: pointer;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-rate-star:not(:last-child) {
margin-right: 8px;
}
.ant-rate-star > div:focus {
outline: 0;
}
.ant-rate-star > div:hover,
.ant-rate-star > div:focus {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
.ant-rate-star-first,
.ant-rate-star-second {
color: #f0f0f0;
-webkit-transition: all 0.3s;
transition: all 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-rate-star-first .anticon,
.ant-rate-star-second .anticon {
vertical-align: middle;
}
.ant-rate-star-first {
position: absolute;
top: 0;
left: 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 {
display: inline-block;
margin: 0 8px;
font-size: 14px;
}
.ant-rate-rtl {
direction: rtl;
}
.ant-rate-rtl .ant-rate-star:not(:last-child) {
margin-right: 0;
margin-left: 8px;
}
.ant-rate-rtl .ant-rate-star-first {
right: 0;
left: auto;
}