Gaia/Design/BuildingBlocks: Difference between revisions

Jump to navigation Jump to search
Line 151: Line 151:
== Confirm ==
== Confirm ==
 
 
* '''Used for:'''
  '''Usage:''' Prompts user to take action.
** Prompts user to take action. eg:
* Confirm a deletion
*** Confirm a deletion
* Respond to a system event (eg: restart device after a SIM card swap)
*** Respond to a system event (eg: restart device after a SIM card swap)
* Grant or deny a permission
*** Grant or deny a permission




* '''Characteristics:'''
  '''Characteristics'''
** Modal: occupies the screen and requires user input to clear.
* Modal: occupies the screen and requires user input to clear.
** Consists: of
* Consists: of
*** Title
** Title
*** Body (optional)
** Body (optional)
*** Icon (optional)
** Icon (optional)
*** Input: Confirmation.
** Input: Confirmation.
**** Can customize label string
*** Can customize label string
*** Input: Cancel (optional).
** Input: Cancel (optional).
**** Can customize label string
*** Can customize label string




 
  '''Downloads'''
----
 
 
 
* '''Downloads:'''
* [https://github.com/mozilla-b2g/gaia/blob/master/shared/style/confirm.css Link to CSS in Github ]
* [https://github.com/mozilla-b2g/gaia/blob/master/shared/style/confirm.css Link to CSS in Github ]
* [https://mozilla.box.com/shared/static/fvxfclsxyxcz55uygsf3.zip Source PSD (.zip)]
* [https://mozilla.box.com/shared/static/fvxfclsxyxcz55uygsf3.zip Source PSD (.zip)]
478

edits

Navigation menu