aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-27 20:17:03 -0800
committerMark Otto <[email protected]>2012-01-27 20:17:03 -0800
commit4e191c423d2d1e834a4cb57ae246d03a82272ee4 (patch)
tree95029d699b5f0b2d681084244d61c1f71d3a571d
parent9800196bf7067b560e062dabfcb51f9b9c7e8dd5 (diff)
downloadbootstrap-4e191c423d2d1e834a4cb57ae246d03a82272ee4.tar.xz
bootstrap-4e191c423d2d1e834a4cb57ae246d03a82272ee4.zip
update progress bars to have a solid edge until 100% filled
-rw-r--r--docs/assets/css/bootstrap.css11
-rw-r--r--less/progress-bars.less8
2 files changed, 7 insertions, 12 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index ff7f8ea5e..861ef9141 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Fri Jan 27 20:04:50 PST 2012
+ * Date: Fri Jan 27 20:16:25 PST 2012
*/
article,
aside,
@@ -2926,12 +2926,8 @@ a.thumbnail:hover {
background-position: 40px 0;
}
}
-.progress, .progress .bar {
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
.progress {
+ overflow: hidden;
height: 18px;
margin-bottom: 18px;
background-color: #f7f7f7;
@@ -2945,6 +2941,9 @@ a.thumbnail:hover {
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
}
.progress .bar {
width: 0%;
diff --git a/less/progress-bars.less b/less/progress-bars.less
index ff754b817..228972f2c 100644
--- a/less/progress-bars.less
+++ b/less/progress-bars.less
@@ -28,18 +28,14 @@
// THE BARS
// --------
-// Common styles
-.progress,
-.progress .bar {
- .border-radius(4px);
-}
-
// Outer container
.progress {
+ overflow: hidden;
height: 18px;
margin-bottom: 18px;
#gradient > .vertical(#f5f5f5, #f9f9f9);
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
+ .border-radius(4px);
}
// Bar of progress