0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #2305 from MeilleursAgents/features/warning_progress_bar

Progress bars: Added warning (orange) bar
This commit is contained in:
Mark Otto 2012-02-28 08:52:16 -08:00
commit 2087339035
2 changed files with 9 additions and 0 deletions

View File

@ -1742,6 +1742,7 @@
<ul>
<li><code>.progress-info</code></li>
<li><code>.progress-success</code></li>
<li><code>.progress-warning</code></li>
<li><code>.progress-danger</code></li>
</ul>
<p>Alternatively, you can customize the LESS files and roll your own colors and sizes.</p>

View File

@ -93,3 +93,11 @@
.progress-info.progress-striped .bar {
#gradient > .striped(#5bc0de);
}
// Warning (orange)
.progress-warning .bar {
#gradient > .vertical(lighten(@orange, 15%), @orange);
}
.progress-warning.progress-striped .bar {
#gradient > .striped(lighten(@orange, 15%));
}