修改emoji-rating

This commit is contained in:
ForeverSmiYng 2024-09-11 11:57:43 +08:00
parent 94429c5ad5
commit 72437d390d

View File

@ -31,11 +31,11 @@ function emojiRating(dom_id, fieldid, fieldValue, noChoose, text_arr, size, just
float: right; float: right;
cursor: pointer; cursor: pointer;
font-size: ${sr_size}px; font-size: ${sr_size}px;
fill: #6666; fill: #fff;
} }
.${dom_id}_rating:not(:checked) > label > svg { .${dom_id}_rating:not(:checked) > label > svg {
fill: #6666; /* Set default color for SVG */ fill: #fff; /* Set default color for SVG */
transition: fill 0.3s ease; /* Add a transition effect */ transition: fill 0.3s ease; /* Add a transition effect */
} }