From 44447eeefe61dbb16cab59900c3c061d9f207fbc Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 24 Nov 2014 17:09:32 -0800 Subject: Give all embedded live docs examples data-example-id attrs Refs #11410 --- docs/_includes/components/progress-bars.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/_includes/components/progress-bars.html') diff --git a/docs/_includes/components/progress-bars.html b/docs/_includes/components/progress-bars.html index a7132e763..88340105b 100644 --- a/docs/_includes/components/progress-bars.html +++ b/docs/_includes/components/progress-bars.html @@ -10,7 +10,7 @@

Basic example

Default progress bar.

-
+
60% Complete @@ -27,7 +27,7 @@

With label

Remove the .sr-only class from within the progress bar to show a visible percentage. For low percentages, consider adding a min-width to ensure the label's text is fully visible.

-
+
60% @@ -44,7 +44,7 @@

Low percentages

Progress bars representing low single digit percentages, as well as 0%, include a min-width: 20px; for legibility.

-
+
0% @@ -72,7 +72,7 @@

Contextual alternatives

Progress bars use some of the same button and alert classes for consistent styles.

-
+
40% Complete (success) @@ -119,7 +119,7 @@

Striped

Uses a gradient to create a striped effect. Not available in IE8.

-
+
40% Complete (success) @@ -166,7 +166,7 @@

Animated

Add .active to .progress-bar-striped to animate the stripes right to left. Not available in IE9 and below.

-
+
45% Complete
@@ -182,7 +182,7 @@

Stacked

Place multiple bars into the same .progress to stack them.

-
+
35% Complete (success) -- cgit v1.2.3 From d9c3e5f3ad28a55102a6c880324ef8ac80ddf276 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Wed, 10 Dec 2014 16:50:21 +0000 Subject: Fix/merge advice on low percentage progress bars - actually add the ``min-width`` extra style (and use ``em`` rather than ``px``) to the 0% and 2% example - remove the unnecessarily redundant sentence in the "With labels" section - remove the unnecessary heading/section specifically for low percentage case, make it flow naturally as part of the "With labels" section --- docs/_includes/components/progress-bars.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'docs/_includes/components/progress-bars.html') diff --git a/docs/_includes/components/progress-bars.html b/docs/_includes/components/progress-bars.html index 88340105b..68d87e090 100644 --- a/docs/_includes/components/progress-bars.html +++ b/docs/_includes/components/progress-bars.html @@ -26,7 +26,7 @@ {% endhighlight %}

With label

-

Remove the .sr-only class from within the progress bar to show a visible percentage. For low percentages, consider adding a min-width to ensure the label's text is fully visible.

+

Remove the <span> with .sr-only class from within the progress bar to show a visible percentage.

@@ -41,29 +41,27 @@
{% endhighlight %} - -

Low percentages

-

Progress bars representing low single digit percentages, as well as 0%, include a min-width: 20px; for legibility.

+

To ensure that the label text remains legible even for low percentages, consider adding a min-width to the progress bar.

-
+
0%
-
+
2%
{% highlight html %}
-
+
0%
-
+
2%
-- cgit v1.2.3