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:
commit
2087339035
@ -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>
|
||||
|
@ -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%));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user