{% import 'components/hljs.html' as hljs %}

<div class="{{ containerClass }}">
  <ol class="breadcrumb m-0">
    <li class="breadcrumb-item"><a href="index.html">Home</a></li>
    <li class="breadcrumb-item">Components</li>
    <li class="breadcrumb-item active">Progress bars</li>
  </ol>
</div>

<div class="{{ containerClass }} page-section">

  <h4>Backgrounds</h4>
  <div class="card mb-32pt">
    <div class="card-body">
      <p class="text-70">Use background utility classes to change the appearance of individual progress bars.</p>
      <div class="progress mb-16pt">
        <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
      <div class="progress mb-16pt">
        <div class="progress-bar bg-accent" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
      <div class="progress mb-16pt">
        <div class="progress-bar bg-primary" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
      <div class="progress">
        <div class="progress-bar bg-secondary" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
    </div>
    <div class="card-footer">
      {% call hljs.component() -%}
<div class="progress">
  <div class="progress-bar bg-success" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
</div>
      {%- endcall %}
    </div>
  </div>

  <h4>Labels</h4>
  <div class="card mb-32pt">
    <div class="card-body">
      <p class="text-70">Add labels to your progress bars by placing text within the <code>.progress-bar</code>.</p>
      <div class="progress" style="height: 20px;">
        <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
      </div>
    </div>
    <div class="card-footer">
      {% call hljs.component() -%}
<div class="progress" style="height: 20px;">
  <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
</div>
      {%- endcall %}
    </div>
  </div>

  <h4>Height</h4>
  <div class="card mb-32pt">
    <div class="card-body">
      <p class="text-70">We only set a <code>height</code> value on the <code>.progress</code> wrapper.</p>
      <div class="progress mb-16pt" style="height: 8px;">
        <div class="progress-bar bg-accent" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
      <div class="progress" style="height: 8px;">
        <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
    </div>
    <div class="card-footer">
      {% call hljs.component() -%}
        <div class="progress" style="height: 8px;">...</div>
      {%- endcall %}
    </div>
  </div>

  <h4>Multiple bars</h4>
  <div class="card mb-32pt">
    <div class="card-body">
      <p class="text-70">Include multiple progress bars in a progress component if you need.</p>
      <div class="progress">
        <div class="progress-bar bg-accent" role="progressbar" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
        <div class="progress-bar bg-primary" role="progressbar" style="width: 30%" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
        <div class="progress-bar bg-secondary" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
    </div>
    <div class="card-footer">
      {% call hljs.component() -%}
<div class="progress">
  <div class="progress-bar bg-accent" role="progressbar" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
  <div class="progress-bar bg-primary" role="progressbar" style="width: 30%" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
  <div class="progress-bar bg-secondary" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
</div>
      {%- endcall %}
    </div>
  </div>

  <h4>Striped</h4>
  <div class="card">
    <div class="card-body">
      <p class="text-70">Add <code>.progress-bar-striped</code> to any <code>.progress-bar</code> to apply a stripe via CSS gradient over the progress bar's background color.</p>
      <div class="progress mb-16pt">
        <div class="progress-bar progress-bar-striped bg-accent" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
      <div class="progress mb-16pt">
        <div class="progress-bar progress-bar-striped bg-primary" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
      <div class="progress mb-16pt">
        <div class="progress-bar progress-bar-striped bg-secondary" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
      </div>
    </div>
    <div class="card-footer">
      {% call hljs.component() -%}
<div class="progress">
  <div class="progress-bar progress-bar-striped bg-accent" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
</div>
      {%- endcall %}
    </div>
  </div>
  
</div>