From 4da7cad021eb42784faf1fca0d5c51342f196f32 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 15 Aug 2013 13:06:01 -0700 Subject: [PATCH] reorder and cleanup progress bar display --- assets/css/docs.css | 3 ++- components.html | 36 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/assets/css/docs.css b/assets/css/docs.css index 7f8cdba384..ca6c726308 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -408,7 +408,8 @@ body { .bs-example > .alert:last-child, .bs-example > .panel:last-child, .bs-example > .list-group:last-child, -.bs-example > .well:last-child { +.bs-example > .well:last-child, +.bs-example > .progress:last-child { margin-bottom: 0; } .bs-example > p > .close { diff --git a/components.html b/components.html index 963074ffb4..f76203a824 100644 --- a/components.html +++ b/components.html @@ -2020,13 +2020,13 @@ body { padding-bottom: 70px; }

Contextual alternatives

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

-
-
20% Complete
-
-
+
40% Complete (success)
-
+
+
20% Complete
+
+
60% Complete (warning)
@@ -2035,13 +2035,13 @@ body { padding-bottom: 70px; }
{% highlight html %}
-
- 20% Complete +
+ 40% Complete (success)
-
- 40% Complete (success) +
+ 20% Complete
@@ -2059,13 +2059,13 @@ body { padding-bottom: 70px; }

Striped

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

-
-
20% Complete
-
-
+
40% Complete (success)
-
+
+
20% Complete
+
+
60% Complete (warning)
@@ -2074,13 +2074,13 @@ body { padding-bottom: 70px; }
{% highlight html %}
-
- 20% Complete +
+ 40% Complete (success)
-
- 40% Complete (success) +
+ 20% Complete