You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.0 KiB
95 lines
2.0 KiB
/* 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 {
|
|
box-sizing: border-box;
|
|
color: rgba(0, 0, 0, 0.85);
|
|
font-size: 14px;
|
|
font-variant: tabular-nums;
|
|
line-height: 1.5715;
|
|
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 {
|
|
transform: scale(1);
|
|
}
|
|
.ant-rate-star {
|
|
position: relative;
|
|
display: inline-block;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.ant-rate-star:not(:last-child) {
|
|
margin-right: 8px;
|
|
}
|
|
.ant-rate-star > div {
|
|
transition: all 0.3s, outline 0s;
|
|
}
|
|
.ant-rate-star > div:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
.ant-rate-star > div:focus {
|
|
outline: 0;
|
|
}
|
|
.ant-rate-star > div:focus-visible {
|
|
outline: 1px dashed #fadb14;
|
|
transform: scale(1.1);
|
|
}
|
|
.ant-rate-star-first,
|
|
.ant-rate-star-second {
|
|
color: #f0f0f0;
|
|
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;
|
|
}
|