jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/less/Rate/index.less
2024-11-10 15:01:22 +08:00

40 lines
566 B
Plaintext

@import (reference) "./variable.less";
@import "../style/mixins/hairline.less";
.ant-rate {
display: inline-flex;
font-size: 48 * @rpx;
user-select: none;
&-container {
display: flex;
}
&-star {
position: relative;
margin-right: 8 * @rpx;
line-height: 1;
&:last-child {
margin-right: 0;
}
&-icon {
color:#eee;
}
&-icon-active {
color: @COLOR_YELLOW;
}
&-icon-half-active {
position: absolute;
left: 0;
top: 0;
width: 50%;
overflow: hidden;
}
}
}