Closed Bug 639805 Opened 14 years ago Closed 14 years ago

Add default button style

Categories

(addons.mozilla.org Graveyard :: Add-on Builder, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Builder 0.9.1

People

(Reporter: zalun, Assigned: zalun)

Details

Attachments

(3 files)

Add default modal button style. This is the button which callbeck will be called after hiting [Enter]
Do you like the colors in attachments?
I'm not sure about the cancel button being red. What about a prompt like 'Remove this file? Are you sure? There's no undo.' and then the Remove button is green? I'm kind of thinking that positive buttons we want people to click should be green, and buttons that could be damaging should be red. Plus, those shades seem very similar, is contrast different enough for color blind users?
I've added the "irreversible" switch which at the moment only adds the "irreversible" className. Check how this works in "delete addon" feature https://github.com/mozilla/FlightDeck/commit/8a4c0f25eab6069208a8c18e4225d41bb9236452
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: