leongersen/noUiSlider — pull request #1 by adressler (2011-11-19 15:25:07+00:00)
Title: Handle hover styling

Hi Léon,
thank you for sharing this plugin on github!

Here is my first fix and pull request for you – my first pull request at all, so I hope I've done it right :)

When the mouse pointer leaves the handle while dragging, the :hover style is not applied, so the handle changes color. I added an additional .active class to the handle, so you can style it.

I also added a noUi_handle class to both handles to make css access easier.

If you accept this change, you have to change your documentation in one point:

change
.noUi_sliderKnob:hover { background: #adcbe1; border-color: #2673AB; }
into
.noUi_sliderKnob:hover,
.noUi_handle .active { background: #adcbe1; border-color: #2673AB; }

I did not check in a minified version. Perhaps you want to tag version numbers for stable releases. I don't know exactly how this is done with git... :)