2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Fixes #12848: Account for and document progress bars at 0-3%

This commit is contained in:
Mark Otto
2014-03-04 16:55:15 -08:00
parent 13ed379767
commit 24de9b0994
10 changed files with 74 additions and 6 deletions
+16
View File
@@ -58,6 +58,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