harvesthq/chosen — pull request #471 by parshap (2012-01-29 22:24:31+00:00)
Title: `chzn-default` class for styling placeholder text

There is no way to style the placeholder text with a Chosen single select. The multi select's input box gets a "default" class when the placeholder is in effect, but the single select has no equivelant.

I've added a `chzn-default` class to the `A.chzn-single` element when the placeholder is in effect. The following changes were made:

* The `A.chzn-single` element **starts with** the `chzn-default` class
* The `A.chzn-single` element **gains** the `chzn-default` class when a result is selected
* The `A.chzn-single` element **loses** the `chzn-default` class when the result is reset
* A CSS rule was added to style the single select placeholder text in the way the multi select placeholder text is styled