connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 580 forks source link

Disabled State #51

Closed paranoid-android closed 8 years ago

paranoid-android commented 9 years ago

Hello,

In Photon, buttons have an active class available to them. It would be valuable if a disabled class was also available. An example of a disabled button can be seen in the Finder in OS X.

  1. Open the Finder.
  2. Click "Documents"
  3. In the toolbar, you'll probably notice that the "Edit Tags" and "Share the selected items" buttons are disabled until you select one or more files.
sbruchmann commented 9 years ago

FWIW, an attribute selector would fit here as well/better.

developit commented 9 years ago

@sbruchmann Agreed!

Delapouite commented 8 years ago

Thanks for the PR @iamdade

connors commented 8 years ago

Fixed in 78236888ba306ee81c10b8d873e2d8ab816adce9