AdminLTE/build/less/progress-bars.less

112 lines
1.6 KiB
Plaintext
Raw Normal View History

2015-02-01 22:25:09 +01:00
/*
* Component: Progress Bar
* -----------------------
*/
//General CSS
2015-07-12 15:42:26 +02:00
.progress,
2015-02-01 22:25:09 +01:00
.progress > .progress-bar {
.box-shadow(none);
&, .progress-bar {
.border-radius(@progress-bar-border-radius);
}
}
/* size variation */
.progress.sm,
.progress-sm {
height: 10px;
&, .progress-bar {
.border-radius(@progress-bar-sm-border-radius);
}
}
2015-09-19 20:05:54 +02:00
2015-02-01 22:25:09 +01:00
.progress.xs,
.progress-xs {
height: 7px;
&, .progress-bar {
.border-radius(@progress-bar-xs-border-radius);
}
}
2015-09-19 20:05:54 +02:00
2015-02-01 22:25:09 +01:00
.progress.xxs,
.progress-xxs {
height: 3px;
&, .progress-bar {
.border-radius(@progress-bar-xs-border-radius);
}
}
2015-09-19 20:05:54 +02:00
2015-02-01 22:25:09 +01:00
/* Vertical bars */
.progress.vertical {
position: relative;
width: 30px;
height: 200px;
display: inline-block;
margin-right: 10px;
> .progress-bar {
2015-07-21 04:36:04 +02:00
width: 100%;
2015-02-01 22:25:09 +01:00
position: absolute;
bottom: 0;
}
//Sizes
&.sm,
2015-09-19 20:05:54 +02:00
&.progress-sm {
2015-02-01 22:25:09 +01:00
width: 20px;
}
&.xs,
2015-09-19 20:05:54 +02:00
&.progress-xs {
2015-02-01 22:25:09 +01:00
width: 10px;
}
&.xxs,
2015-09-19 20:05:54 +02:00
&.progress-xxs {
2015-02-01 22:25:09 +01:00
width: 3px;
}
}
//Progress Groups
.progress-group {
.progress-text {
font-weight: 600;
}
.progress-number {
float: right;
}
}
/* Remove margins from progress bars when put in a table */
.table {
tr > td .progress {
margin: 0;
}
}
// Variations
// -------------------------
.progress-bar-light-blue,
.progress-bar-primary {
.progress-bar-variant(@light-blue);
}
2015-09-19 20:05:54 +02:00
2015-02-01 22:25:09 +01:00
.progress-bar-green,
.progress-bar-success {
.progress-bar-variant(@green);
}
.progress-bar-aqua,
.progress-bar-info {
.progress-bar-variant(@aqua);
}
.progress-bar-yellow,
.progress-bar-warning {
.progress-bar-variant(@yellow);
}
.progress-bar-red,
.progress-bar-danger {
.progress-bar-variant(@red);
2015-07-12 15:42:26 +02:00
}