2014-02-01 15:49:36 +00:00
|
|
|
/*
|
|
|
|
Compenent: Progress bars
|
|
|
|
--------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* size variation */
|
|
|
|
.progress.sm {
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
.progress.xs {
|
|
|
|
height: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Vertical bars */
|
|
|
|
.progress.vertical {
|
|
|
|
position: relative;
|
|
|
|
width: 30px;
|
|
|
|
height: 200px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
> .progress-bar {
|
|
|
|
width: 100%!important;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Sizes
|
|
|
|
&.sm {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.xs {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Remove margins from progress bars when put in a table */
|
|
|
|
.table {
|
|
|
|
tr > td .progress {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2013-12-25 03:09:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Variations
|
|
|
|
// -------------------------
|
2014-02-01 15:49:36 +00:00
|
|
|
.progress-bar-light-blue, .progress-bar-primary {
|
|
|
|
.progress-bar-variant(@light-blue);
|
2013-12-25 03:09:19 +00:00
|
|
|
}
|
2014-02-01 15:49:36 +00:00
|
|
|
.progress-bar-green, .progress-bar-success {
|
|
|
|
.progress-bar-variant(@green);
|
2013-12-25 03:09:19 +00:00
|
|
|
}
|
|
|
|
|
2014-02-01 15:49:36 +00:00
|
|
|
.progress-bar-aqua, .progress-bar-info {
|
|
|
|
.progress-bar-variant(@aqua);
|
2013-12-25 03:09:19 +00:00
|
|
|
}
|
|
|
|
|
2014-02-01 15:49:36 +00:00
|
|
|
.progress-bar-yellow, .progress-bar-warning {
|
|
|
|
.progress-bar-variant(@yellow);
|
2013-12-25 03:09:19 +00:00
|
|
|
}
|
2014-02-01 15:49:36 +00:00
|
|
|
|
|
|
|
.progress-bar-red, .progress-bar-danger {
|
|
|
|
.progress-bar-variant(@red);
|
|
|
|
}
|