jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/less/Rate/index.less
2024-11-15 11:51:28 +08:00

40 lines
565 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;
}
}
}