Skip to content

CSS improvements - ON/OFF position fixes #45

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mfdeveloper
Copy link

CSS base improvements to this switch button. The following visual features have been added:

  • Fix ON/OFF position, changing the right/left pixels and align strategy
  • CSS3 rule to prevent select on/off text when the user click successively
  • Remove any outline border when the user clicks
  • Added .red and .blue classes to the basic scheme colors.
  • Refactor .on and .off selectors to reduce DRY
  • Convert checked default green color from rgba to hex format

Please, verify this merge request 😄

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

Successfully merging this pull request may close these issues.

1 participant