mirror of
https://github.com/valitydev/gentelella.git
synced 2024-11-06 08:15:17 +00:00
195 lines
9.2 KiB
CSS
195 lines
9.2 KiB
CSS
|
/*! bootstrap-progressbar v0.9.0 | Copyright (c) 2012-2015 Stephan Groß | MIT license | http://www.minddust.com */
|
||
|
@-webkit-keyframes progress-bar-stripes {
|
||
|
from {
|
||
|
background-position: 40px 0;
|
||
|
}
|
||
|
to {
|
||
|
background-position: 0 0;
|
||
|
}
|
||
|
}
|
||
|
@keyframes progress-bar-stripes {
|
||
|
from {
|
||
|
background-position: 40px 0;
|
||
|
}
|
||
|
to {
|
||
|
background-position: 0 0;
|
||
|
}
|
||
|
}
|
||
|
.progress {
|
||
|
overflow: hidden;
|
||
|
height: 20px;
|
||
|
margin-bottom: 20px;
|
||
|
background-color: #f5f5f5;
|
||
|
border-radius: 4px;
|
||
|
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
||
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
.progress-bar {
|
||
|
float: left;
|
||
|
width: 0%;
|
||
|
height: 100%;
|
||
|
font-size: 12px;
|
||
|
line-height: 20px;
|
||
|
color: #ffffff;
|
||
|
text-align: center;
|
||
|
background-color: #428bca;
|
||
|
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
||
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
||
|
-webkit-transition: width 0.6s ease;
|
||
|
-o-transition: width 0.6s ease;
|
||
|
transition: width 0.6s ease;
|
||
|
}
|
||
|
.progress-striped .progress-bar,
|
||
|
.progress-bar-striped {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-size: 40px 40px;
|
||
|
}
|
||
|
.progress.active .progress-bar,
|
||
|
.progress-bar.active {
|
||
|
-webkit-animation: progress-bar-stripes 2s linear infinite;
|
||
|
-o-animation: progress-bar-stripes 2s linear infinite;
|
||
|
animation: progress-bar-stripes 2s linear infinite;
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="1"],
|
||
|
.progress-bar[aria-valuenow="2"] {
|
||
|
min-width: 30px;
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="0"] {
|
||
|
color: #777777;
|
||
|
min-width: 30px;
|
||
|
background-color: transparent;
|
||
|
background-image: none;
|
||
|
box-shadow: none;
|
||
|
}
|
||
|
.progress-bar-success {
|
||
|
background-color: #5cb85c;
|
||
|
}
|
||
|
.progress-striped .progress-bar-success {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress-bar-info {
|
||
|
background-color: #5bc0de;
|
||
|
}
|
||
|
.progress-striped .progress-bar-info {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress-bar-warning {
|
||
|
background-color: #f0ad4e;
|
||
|
}
|
||
|
.progress-striped .progress-bar-warning {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress-bar-danger {
|
||
|
background-color: #d9534f;
|
||
|
}
|
||
|
.progress-striped .progress-bar-danger {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress {
|
||
|
position: relative;
|
||
|
}
|
||
|
.progress .progress-bar {
|
||
|
position: absolute;
|
||
|
overflow: hidden;
|
||
|
line-height: 20px;
|
||
|
}
|
||
|
.progress .progressbar-back-text {
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
font-size: 12px;
|
||
|
line-height: 20px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.progress .progressbar-front-text {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
font-size: 12px;
|
||
|
line-height: 20px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.progress.right .progress-bar {
|
||
|
right: 0;
|
||
|
}
|
||
|
.progress.right .progressbar-front-text {
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
}
|
||
|
.progress.vertical {
|
||
|
width: 20px;
|
||
|
height: 100%;
|
||
|
float: left;
|
||
|
margin-right: 20px;
|
||
|
}
|
||
|
.progress.vertical.bottom {
|
||
|
position: relative;
|
||
|
}
|
||
|
.progress.vertical.bottom .progressbar-front-text {
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
}
|
||
|
.progress.vertical .progress-bar {
|
||
|
width: 100%;
|
||
|
height: 0;
|
||
|
-webkit-transition: height 0.6s ease;
|
||
|
-o-transition: height 0.6s ease;
|
||
|
transition: height 0.6s ease;
|
||
|
}
|
||
|
.progress.vertical.bottom .progress-bar {
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="1"],
|
||
|
.progress-bar[aria-valuenow="2"] {
|
||
|
min-width: 0;
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="0"] {
|
||
|
color: #ffffff;
|
||
|
min-width: 0;
|
||
|
background-color: #428bca;
|
||
|
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
||
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="0"].progress-bar-success {
|
||
|
background-color: #5cb85c;
|
||
|
}
|
||
|
.progress-striped .progress-bar[aria-valuenow="0"].progress-bar-success {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="0"].progress-bar-info {
|
||
|
background-color: #5bc0de;
|
||
|
}
|
||
|
.progress-striped .progress-bar[aria-valuenow="0"].progress-bar-info {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="0"].progress-bar-warning {
|
||
|
background-color: #f0ad4e;
|
||
|
}
|
||
|
.progress-striped .progress-bar[aria-valuenow="0"].progress-bar-warning {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|
||
|
.progress-bar[aria-valuenow="0"].progress-bar-danger {
|
||
|
background-color: #d9534f;
|
||
|
}
|
||
|
.progress-striped .progress-bar[aria-valuenow="0"].progress-bar-danger {
|
||
|
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||
|
}
|