Hacker News new | ask | show | jobs
by louismerlin 866 days ago
I limited myself to black and white when creating the style-sheet, but maybe I should indeed add some kind of indicator for the "disabled" button, such as hatchings.

edit: hatchings make the inner text unreadable, I'll play around with opacity and dotted lines, thank you to the users who proposed them.

edit 2: went with dashed lines and published a new version. It even shaves off a couple of bytes off the minimized version :D

5 comments

Hmm I think the dashed lines still don't say to me "disabled" unless you told me. It looks more like a secondary button (eg "Go back" or "Cancel"). I really do think the use of reduced opacity would make sense here :)
this could be a rare but very practical usecase for strike-through text
Wow, I love that!
Could border-style dashed/dotted work?
Opacity maybe would help here.
Hatching seems an excellent idea.