Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible when the case of no checked stars to make that case all unchecked? #21

Closed
murhafh opened this issue Jul 13, 2017 · 4 comments

Comments

@murhafh
Copy link

murhafh commented Jul 13, 2017

No description provided.

@szynszyliszys
Copy link
Collaborator

Hi @murhafh, see if this answers your question: #14

@murhafh
Copy link
Author

murhafh commented Jul 14, 2017

Thanks I managed to do that by setting background-position: 0 0 in for example .starability-growRotate>label and then adding another entry .starability-growRotate>input:checked+label:before { opacity: 1 }

That seem to do the trick have all stars unchecked by default if no star is checked.

@murhafh murhafh closed this as completed Jul 14, 2017
@iFlash
Copy link

iFlash commented Oct 18, 2017

murhafh: That does not completely do the trick. It starts with no stars selected, but when you select, for example 5 stars, and then you want to select ONE stars, the stars 2,3, and 4 remain yellow while hovering over the first star where they should turn to grey to indicate the change.

@szynszyliszys
Copy link
Collaborator

I've added an empty input to have no rating at all at the beginning in the new version. You can copy it from the README or index.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants