@@ -157,23 +198,61 @@ This is how it looks:
You can create a striped progress bar by adding the `.progress-bar-striped` class to the `.progress-bar` element.
{% capture html -%}
+
{%- endcapture %}
{% include "docs/example.html" html=html %}
+## Animated progress
+
+To animate stripes, add the `.progress-bar-animated` class to a striped progress bar.
+
+{% capture html -%}
+
+
+{%- endcapture %}
+{% include "docs/example.html" html=html column-full-width %}
+
+## Separated progress
+
+Use `.progress-separated` to make stacked segments easier to read when values are close to each other.
+
+{% capture html -%}
+
+
+{%- endcapture %}
+{% include "docs/example.html" html=html vertical column %}
+
## Progress background
-By using a progress bar component as a background element, designers can create a dynamic and engaging visual experience for users. For example, the progress bar could be used to represent the completion of a long-term goal or project, such as a fundraising campaign or construction project. As users interact with the page, the progress bar could gradually fill up, creating a sense of momentum and progress.
+By using a progress bar component as a background element, designers can create a dynamic and engaging visual experience for users. For example, the progress bar could be used to represent the completion of a long-term goal or project, such as a fundraising campaign or construction project. As users interact with the
+page, the progress bar could gradually fill up, creating a sense of momentum and progress.
Thanks to this you can create a nice looking statistics section:
-{% capture html -%}
-{% include "ui/progressbg.html" value="65" text="Poland" show-value=true %}
-{% include "ui/progressbg.html" value="35" text="Germany" show-value=true %}
-{% include "ui/progressbg.html" value="28" text="United Stated" show-value=true %}
-{% include "ui/progressbg.html" value="20" text="United Kingdom" show-value=true %}
-{% include "ui/progressbg.html" value="15" text="France" show-value=true %}
-{%- endcapture %}
-{% include "docs/example.html" html=html vertical card %}
\ No newline at end of file
+{% capture html -%} {% include "ui/progressbg.html" value="65" text="Poland" show-value=true %} {% include "ui/progressbg.html" value="35" text="Germany" show-value=true %} {% include "ui/progressbg.html" value="28" text="United States" show-value=true %}
+{% include "ui/progressbg.html" value="20" text="United Kingdom" show-value=true %} {% include "ui/progressbg.html" value="15" text="France" show-value=true %} {%- endcapture %} {% include "docs/example.html" html=html column-full-width %}
+
+## Progress background colors
+
+You can combine progress background with contextual light colors to better separate categories.
+
+{% capture html -%} {% include "ui/progressbg.html" value="75" text="Success" color="success-lt" show-value=true %} {% include "ui/progressbg.html" value="60" text="Warning" color="warning-lt" show-value=true %} {% include "ui/progressbg.html" value="40" text="Danger" color="danger-lt" show-value=true %}
+{% include "ui/progressbg.html" value="90" text="Info" color="info-lt" show-value=true %} {%- endcapture %} {% include "docs/example.html" html=html column-full-width %}
diff --git a/shared/includes/docs/example.html b/shared/includes/docs/example.html
index f006288d4..6ae1a75c0 100644
--- a/shared/includes/docs/example.html
+++ b/shared/includes/docs/example.html
@@ -1,7 +1,7 @@
- {%- unless include.raw -%}
{%- endunless -%}
+ {%- unless include.raw -%}
{%- endunless -%}
{{ include.html | remove-href }}
{%- unless include.raw -%}
{%- endunless -%}