thoughtbot / bourbon

A Lightweight Sass Tool Set
https://www.bourbon.io/
MIT License
9.09k stars 878 forks source link

Buttons - disabled and active state via classes #529

Closed ryanjm closed 9 years ago

ryanjm commented 10 years ago

If you create a group of buttons it is helpful to be able to put a button into the "active" (or hover) state via a class.

Similarly, it is helpful to be able to do the same for disable. Being able to disable an anchor tag (or at least make it look like it is disabled) via a class is also helpful.

Is there another way of achieving the same results without changing anything? If not, would a PR for adding .disabled and .active to the :disabled and :hover states be accepted?

tysongach commented 9 years ago

We are actually removing the button add-on from Bourbon in favor of Bitters having one simple button, that we encourage people to change and make their own.

The Bitters button is very simple and there is a PR open to add focus states.