lychee/assets/css/upload.css
2014-07-20 16:49:43 +02:00

85 lines
2.2 KiB
CSS

/**
* @name upload.css
* @author Tobias Reich
* @copyright 2014 by Tobias Reich
*/
#upload {
display: none;
}
.upload_overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background-color: rgba(0,0,0,.85);
z-index: 1000;
}
.upload_message {
position: absolute;
display: inline-block;
width: 200px;
margin-left: -100px;
margin-top: -85px;
background-image: linear-gradient(to bottom, rgb(75, 75, 75), rgb(45, 45, 45));
border-radius: 5px;
box-shadow: 0px 0px 5px #000, inset 0px 1px 0px rgba(255,255,255,.08), inset 1px 0px 0px rgba(255,255,255,.03), inset -1px 0px 0px rgba(255,255,255,.03);
animation-name: moveUp;
animation-duration: .3s;
animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
}
/* Icon ------------------------------------------------*/
.upload_message a {
float: left;
width: 100%;
margin: 35px 0px 5px 0px;
color: #fff;
font-size: 70px;
text-shadow: 0px 1px 2px rgba(0,0,0,.5);
text-align: center;
animation-name: pulse;
animation-duration: 2s;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
}
/* Text ------------------------------------------------*/
.upload_message p {
float: left;
width: 100%;
margin: 10px 0px 35px 0px;
color: #fff;
font-size: 14px;
text-align: center;
text-shadow: 0px -1px 0px rgba(0,0,0,.5);
}
/* Progress ------------------------------------------------*/
.upload_message .progressbar {
float: left;
width: 170px;
height: 25px;
margin: 15px;
background-size: 50px 25px;
background-repeat: repeat-x;
background-image: linear-gradient(to right, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
border: 1px solid #090909;
box-shadow: 0 1px 0 rgba(255,255,255,.06), inset 0px 0px 2px #222;
border-radius: 50px;
animation-name: moveBackground;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
.upload_message .progressbar div {
float: left;
width: 0%;
height: 100%;
box-shadow: 0 1px 0 #000, 1px 0px 2px #000;
background-color: #f5f2f7;
background-image: linear-gradient(to bottom, #f5f2f7, #c7c6c8);
border-radius: 50px;
transition: width .2s, opacity .5;
}