Progress and activity 2.0 implementation

This article gives you all you need to implement 2.0 Gaia-style progress and activity indicators in your own app.

Live sample

The following gives you an idea of what rendered progress and activity indicators would look like, in different situations.

Code

Here is the code you'll need.

CSS

<link href="(your styles folder)/style/progress_activity.css" rel="stylesheet" type="text/css">

The CSS can be found in the Gaia project 2.0 branch under shared/style/progress_activity.css. Copy this into your own project, along with the associated resources.

HTML

Note: The CSS inside the <style> element isn't needed for the implementation: it is just for the purposes of this example.

<!doctype html>
<html>
<head>
  <link href="https://mdn.github.io/gaia-2.0-bb/progress_activity.css" rel="stylesheet" type="text/css">
  <link href="https://gaia-components.github.io/gaia-icons/gaia-icons-embedded.css" rel="stylesheet" type="text/css">

  <!-- The below two links aren't needed for all progress and activity indicators;
       they are just needed for some of these examples -->
  <link href="https://mdn.github.io/gaia-2.0-bb/headers.css" rel="stylesheet" type="text/css">
  <link href="https://mdn.github.io/gaia-2.0-bb/confirm.css" rel="stylesheet" type="text/css">

  <style>
    html, body {
        margin: 0;
        padding: 0;
        font-size: 10px;
        background-color: #fff;
      }

      body { background: none; }

      h2.bb-docs {
        font-size: 1.8rem;
        font-family: sans-serif;
        font-weight: lighter;
        color: #666;
        margin: 10px 0;
        background-color: #f5f5f5;
        padding: 0.4rem 0.4rem 0.4rem 3rem;
        border: solid 1px #e8e8e8;
      }

      form[role="dialog"][data-type="confirm"] {
        position: relative;
        height: 30rem;
      }

      form[role="dialog"][data-type="confirm"] > section {
        overflow: hidden;
      }

      div.browser {
        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAA0CAIAAAAovDW6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6e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07VKUCJq/lp76HBN3YkTx48fP93crAbVtrNtZFMFok1w1r6wEUwhZAJEYNRwNAMz86fSxF8sLhuBFUcwqNnP16a+kxAjNazD0UNdH8dyXBoDx5Vm+HnQxe3fEr7SDC92OPGLey5hNsGe/myRmfZfITmx7//i/1+vBmPGlgnDhfiHL4gdF3+TFzmzqY+Zza84alwiOjg6mcf8x/h/AQYAC2hQYiOqOvcAAAAASUVORK5CYII=) no-repeat left top;
        height: 5.2rem;
        background-size: 32rem;
      }
      div.browser + progress {
        width: 32rem;
        margin-bottom: 1rem;
      }
      .bb-steps progress[value] {
        width: 25%;
        transform: translateX(100%);
      }
  </style>
</head>
<body>

<section role="region">
  <h2 class="bb-docs">Spinner</h2>
  <progress></progress>

  <h2 class="bb-docs">Activity bar</h2>
  <progress class="pack-activity" value="0" max="100"></progress>

  <h2 class="bb-docs">Progress steps</h2>
  <p class="bb-steps">
    <progress value="2" max="4"></progress>
  </p>

  <h2 class="bb-docs">Progress bar</h2>
  <progress value="80" max="100"></progress>

  <h2 class="bb-docs">Progress + activity bar</h2>
  <progress class="pack-activity" value="80" max="100"></progress>
</section>

<h2 class="bb-docs">Progress bar + Confirm BB</h2>
  <form role="dialog" data-type="confirm">
    <section>
      <h1>Name of the action</h1>
      <p style="text-align: center">
        <progress></progress>
      </p>
    </section>
    <menu>
      <button class="full">Cancel</button>
    </menu>
  </form>

  <br/>

  <form role="dialog" data-type="confirm">
    <section>
      <h1>Name of the action</h1>
      <p role="status">
        <span>80%</span>
        <progress value="80" max="100"></progress>
      </p>
    </section>
    <menu>
      <button class="full">Cancel</button>
    </menu>
  </form>


  <h2 class="bb-docs">Progress bar in Headers</h2>
  <section role="region">
    <header>
      <a href="#"><span class="icon icon-back">back</span></a>
      <h1>Song title</h1>
    </header>
    <progress value="80" max="100"></progress>
    <header>
      <h2>Subheader text</h2>
    </header>
  </section>

    <section role="region">
    <header>
      <a href="#"><span class="icon icon-back">back</span></a>
      <h1>Song title</h1>
    </header>
    <progress value="80" max="100" class="pack-activity"></progress>
    <header>
      <h2>Subheader text</h2>
    </header>
  </section>

  <h2 class="bb-docs">Activity bar in Headers</h2>
    <div class="browser"></div>
    <progress class="pack-activity light" value="0" max="100"></progress>

</body>
</html>

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, chrisdavidmills-github
 Last updated by: chrisdavidmills,