matthewwithanm / jquery-icbiacontrol

Style browser controls without losing their native behaviors.
MIT License
12 stars 6 forks source link

I Can't Believe It's a File Upload #11

Closed aebsr closed 10 years ago

matthewwithanm commented 10 years ago

Beautiful :cry:

I made one small change—basically just moving the definition into the control map like the other controls and getting rid of the unused widgetTemplate.

Before I tag a new version, do you think we can come up with a better class name for "selected"? I can't really think of any and I guess there aren't any psuedoselectors we can steal.

matthewwithanm commented 10 years ago

@aebsr What do you think about having "Choose file" text in the default template? (I kind of like them to be as much like the native widgets as possible by default.

aebsr commented 10 years ago

Can't think of anything for the class. It's like a text input really, it has a value or it doesn't. "has-value" seems verbose. "selected" or "chosen" seem to make the most sense, though I'm in love with neither.

All for the default "Choose File" thing.