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

Styling hides all checkboxes but doesn't replace all with icons #10

Open
zosnap opened this issue Mar 31, 2016 · 0 comments
Open

Styling hides all checkboxes but doesn't replace all with icons #10

zosnap opened this issue Mar 31, 2016 · 0 comments

Comments

@zosnap
Copy link

zosnap commented Mar 31, 2016

There's this style rule defined in the buttons module (line 244 of _buttons.scss)

  // Hide radio buttons and checkboxes within button groups
  input[type=checkbox], input[type=radio] {
    position: absolute;
    left: -9999em;
  }

This hides all checkboxes and radio buttons. It's accompanied by a whole set of other style rules that replace standard checkboxes and radio buttons with icomoon icons and style the label elements to look like buttons. However, these rules are only applied to checkboxes accompanied by labels with the class "btn". This results in checkboxes that aren't accompanied by "btn" labels being hidden but not replaced with anything.

You can see the issue in lines 135-242 of _buttons.scss.

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

1 participant