Rate function in javascript

This commit is contained in:
Mouse Reeve
2020-04-03 16:47:47 -07:00
parent 560c5fd2f7
commit 458e71a41e
3 changed files with 19 additions and 6 deletions

View File

@ -321,6 +321,7 @@ button .icon {
}
.rate-stars .icon {
cursor: pointer;
color: goldenrod;
}
.rate-stars form {
display: inline;
@ -331,7 +332,12 @@ button .icon {
border: none;
padding: 0;
margin: 0;
color: goldenrod;
}
.rate-stars:hover .icon:before {
content: '\e9d9';
}
.rate-stars form:hover ~ form .icon:before{
content: '\e9d7';
}
.review-form .rate-stars:hover .icon:before {
@ -340,10 +346,6 @@ button .icon {
.review-form .rate-stars label {
display: inline;
}
.review-form .rate-stars form:hover ~ form .icon:before{
content: '\e9d7';
}
.review-form .rate-stars input + .icon:before {
content: '\e9d9';
}