118 lines
2.4 KiB
CSS
118 lines
2.4 KiB
CSS
|
@font-face {
|
||
|
font-family: 'Open Sans';
|
||
|
font-style: normal;
|
||
|
font-weight: 300;
|
||
|
src: local("Open Sans Light"), local("OpenSans-Light");
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: 'Open Sans';
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
src: local("Open Sans"), local("OpenSans");
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: 'Open Sans';
|
||
|
font-style: normal;
|
||
|
font-weight: 600;
|
||
|
src: local("Open Sans Semibold"), local("OpenSans-Semibold");
|
||
|
}
|
||
|
|
||
|
.progress-container, .progress {
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.progress-container {
|
||
|
z-index: 0;
|
||
|
width: calc(100% - 5px);
|
||
|
height: calc(100% - 22px);
|
||
|
/*border: solid 1px #111;
|
||
|
background: #151515;
|
||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);*/
|
||
|
margin: 0 auto;
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.progress-container.done {
|
||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 2px #0c8112;
|
||
|
}
|
||
|
.progress-container.done .progress {
|
||
|
background: #0f9816;
|
||
|
}
|
||
|
.progress-container.done .progress-overlay {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.percent-progress, .progress-overlay {
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.percent-progress {
|
||
|
border-radius: 10px;
|
||
|
width: calc(100% - 2px);
|
||
|
background: #114baf;
|
||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
|
||
|
z-index: 1;
|
||
|
bottom: 0;
|
||
|
text-align: center;
|
||
|
color: #151515;
|
||
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
|
||
|
font-weight: bold;
|
||
|
transition: background 250ms ease;
|
||
|
}
|
||
|
|
||
|
@keyframes uploadarrow {
|
||
|
0% {
|
||
|
bottom: 0%;
|
||
|
border-bottom-color: rgba(255, 255, 255, 0);
|
||
|
}
|
||
|
|
||
|
50% {
|
||
|
border-bottom-color: rgba(255, 255, 255, 0.1);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
bottom: 100%;
|
||
|
border-bottom-color: rgba(255, 255, 255, 0);
|
||
|
}
|
||
|
}
|
||
|
@-webkit-keyframes uploadarrow {
|
||
|
0% {
|
||
|
bottom: 0%;
|
||
|
border-bottom-color: rgba(255, 255, 255, 0);
|
||
|
}
|
||
|
|
||
|
50% {
|
||
|
border-bottom-color: rgba(255, 255, 255, 0.1);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
bottom: 100%;
|
||
|
border-bottom-color: rgba(255, 255, 255, 0);
|
||
|
}
|
||
|
}
|
||
|
.progress-overlay {
|
||
|
z-index: 2;
|
||
|
width: 0;
|
||
|
height: 100%;
|
||
|
bottom: 0;
|
||
|
left: 15px;
|
||
|
border: solid 20px transparent;
|
||
|
border-width: 0 25px 20px 25px;
|
||
|
border-bottom-color: rgba(255, 255, 255, 0.25);
|
||
|
-webkit-animation: uploadarrow 900ms infinite ease-out;
|
||
|
-moz-animation: uploadarrow 900ms infinite linear;
|
||
|
-o-animation: uploadarrow 900ms infinite linear;
|
||
|
animation: uploadarrow 900ms infinite linear;
|
||
|
}
|
||
|
|
||
|
|
||
|
.percent-equal{
|
||
|
height: 100%;
|
||
|
position: relative;
|
||
|
}
|
||
|
.percent-equal div{
|
||
|
width: calc(100% - 1px);
|
||
|
position: absolute;
|
||
|
bottom: 0px;
|
||
|
border: 1px solid #FFFFFF;
|
||
|
}
|