cfpb/cf-forms — pull request #18 by himedlooff (2014-04-21 18:44:56+00:00)
Title: Fixes #1

Refactored to limit text based input styling scope to avoid styling checkboxes and radio buttons and anything else that isn't a text input.

The method I used to fix this was to use the [extend method in Less](http://lesscss.org/features/#extend-feature). This allows us to have a docs section on each input type while keeping the amount of duplicate CSS to a minimum. To get here required a little bit of refactoring for form icon usage. You now have to specify `.cf-form_input-icon` on each icon that you want to use after a text input. This keeps base styling for form icons a little easier to target. This also allows us to have a nice little docs section on form icon usage.