-
Notifications
You must be signed in to change notification settings - Fork 434
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
Sizes #65
Comments
+1 - I'd need it too! |
Guys, thanks for your proposal. We can handle this when there will be free time, but you are very welcome with a Pull Request ;) |
In case someone wants to try this, I added the following CSS into the CSS file
and then, when I define the element in HTML i add checkbox-lg |
Here is my solution:
and here is the plunker: http://plnkr.co/edit/B4BatpwxCa2cBoYo0oEQ?p=preview (show it in fullscreen) |
+1 for this issue. I don't see the point of using Font Awesome in the first place if this plugin can't scale in icon sizes. @gandaldf is there a pattern in which the code changes when increasing the font size? If yes, it'd be great to have the SASS mixin doing the magic. It'd make your solution even more generic. |
@gandaldf Did you also have this problem with the ".checkbox-single & .radio-single clickable area" #76 ? This became really "unacceptable" once the size of the icon got bigger :( Switching to prettyCheckable. Not CSS only unfortunately, but more mature. |
Yeah the problem of checkbox/radiobox without label is real, but I haven't time to fix it now... :( |
I meant some calculation to make it more generic. For instance, allowing to set a given width just changing one variable: ideally you want to build a mixin. |
Can I use this solution at the moment? |
|
@hellboy81 I don't have the time at the moment to add a new format, if you can, try to develop it by your own and feel free to share your solution. @adrien-be I don't think it's possibile to have a "pixel perfect" solution using percentual or proportional values... from my tests it always ended with something not perfectly centered. |
Is there a way we could incorporate the BS sizes
such as checkbox-xs, checkbox-sm, checkbox-lg etc and refactor the size of the checkbox accordingly?
Thanks
The text was updated successfully, but these errors were encountered: