Gaia/Design/BuildingBlocks: Difference between revisions

Jump to navigation Jump to search
Line 218: Line 218:
'''Characteristics:'''
'''Characteristics:'''


* May include an animated visual element, a text label, or some combination of the two.
* May include an animated visual element, a text label, or some combination of the two. The progress and activity indicators may be used in modal windows or Inline, together with content or next to it.
* Types:
 
** Progress
'''Modal:''' They're used when the phone cannot be interrupted while loading data.
*** Displays a loading animation that goes from 0 to 100 percent, communicating the current process status.
* '''Activity Bar:''' Used when an unknown amount of data is being downloaded.
** Activity
* '''Progress Bar:''' Used when a known amount of data is being downloaded. When this process is paused for some reason the empty part of the bar will go from solid to the candy bar style so the user has feedback on the process that is taking place.
*** Displays a looping animation, communicating to the user that the process is active.
* '''Spinner:''' Used when data is being sent.
'''Non-Modal:''' Displays a looping animation, communicating to the user that the process is active.
* '''Activity Bar:''' Used when an unknown amount of data is being downloaded. Note that the activiy bas is background sensitive and there is an option for light screens and another for the dark ones.
* '''Progress Bar:''' Used when a known amount of data is being downloaded. When this process is paused for some reason the empty part of the bar will go from solid to the candy bar style so the user has feedback on the process that is taking place.
* '''Inline Spinner:''' Used when data is being sent.


* [https://github.com/mozilla-b2g/gaia/blob/master/shared/style_unstable/progress_activity/index.html Link to CSS in Github]
* [https://github.com/mozilla-b2g/gaia/blob/master/shared/style_unstable/progress_activity/index.html Link to CSS in Github]
478

edits

Navigation menu