aboutsummaryrefslogtreecommitdiff
path: root/less/progress-bars.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-09 22:01:38 -0700
committerMark Otto <[email protected]>2014-03-09 22:01:38 -0700
commitccb17f110de8e90773a6ebfda9e35306d625dc78 (patch)
treead1bc7e6bc41eb9805b6a2531c5c37df7a92cb87 /less/progress-bars.less
parentbdd7651e323a93a4e3d207463451dd374b0a70fa (diff)
parentb1f71e5292017aca978fabb74d256989e1eeea07 (diff)
downloadbootstrap-ccb17f110de8e90773a6ebfda9e35306d625dc78.tar.xz
bootstrap-ccb17f110de8e90773a6ebfda9e35306d625dc78.zip
Merge branch 'master' into fix-8869
Diffstat (limited to 'less/progress-bars.less')
-rw-r--r--less/progress-bars.less23
1 files changed, 16 insertions, 7 deletions
diff --git a/less/progress-bars.less b/less/progress-bars.less
index 76c87be17..74b702843 100644
--- a/less/progress-bars.less
+++ b/less/progress-bars.less
@@ -6,13 +6,6 @@
// Bar animations
// -------------------------
-// WebKit
-@-webkit-keyframes progress-bar-stripes {
- from { background-position: 40px 0; }
- to { background-position: 0 0; }
-}
-
-// Spec and IE10+
@keyframes progress-bar-stripes {
from { background-position: 40px 0; }
to { background-position: 0 0; }
@@ -58,6 +51,22 @@
.animation(progress-bar-stripes 2s linear infinite);
}
+// Account for lower percentages
+.progress-bar {
+ &[aria-valuenow="1"],
+ &[aria-valuenow="2"] {
+ min-width: 30px;
+ }
+
+ &[aria-valuenow="0"] {
+ color: @gray-light;
+ min-width: 30px;
+ background-color: transparent;
+ background-image: none;
+ box-shadow: none;
+ }
+}
+
// Variations