threatgrid / ctia-ui

A web-based interface to a Cisco Threat Intel API instance
5 stars 2 forks source link

Save Button "working" indicator #9

Closed pxninja closed 7 years ago

pxninja commented 7 years ago

When I click "Save", I want to see the button change to indicate things are being saved.

pxninja commented 7 years ago

Specifically for class "blue-btn-680b8". Loader SVG needed within button, in addition to appending the class "working". Because this is a transient state like "hover" or "disabled", the class is not snowflaked because the definition of "working" is specific to the class it's being appended to.

screen shot 2016-11-15 at 4 00 52 pm
pxninja commented 7 years ago

Correction, the "working" class can be appended to: • blue-btn-680b8 • blue-btn-med-a6220 • blue-btn-sml-6cc96

pxninja commented 7 years ago

Update, you can now add "working" to the following button classes: • btn-df5f9 • btn-med-f59ac • btn-sml-03d87

• primary-btn-7d131 • primary-btn-med-e350a • primary-btn-sml-9d3d9

• red-btn-0eaca • red-btn-med-9a73d • red-btn-sml-c55c6