]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update progress bars to have a solid edge until 100% filled
authorMark Otto <markdotto@gmail.com>
Sat, 28 Jan 2012 04:17:03 +0000 (20:17 -0800)
committerMark Otto <markdotto@gmail.com>
Sat, 28 Jan 2012 04:17:03 +0000 (20:17 -0800)
docs/assets/css/bootstrap.css
less/progress-bars.less

index ff7f8ea5e48aba7d8e2ec535f97602b2d9332cda..861ef91414c22505bed93754f71b7e97d046b2d9 100644 (file)
@@ -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%;
index ff754b817348d47a04cbae77c5cdde96d52fcd8c..228972f2c316787f7f63e16fd921595f52604767 100644 (file)
 // 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