lychee/assets/css/upload.css

197 lines
5.4 KiB
CSS
Raw Normal View History

/**
* @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;
2014-05-11 22:15:01 +00:00
width: 450px;
margin-left: -225px;
2014-05-16 20:11:10 +00:00
margin-top: -170px;
background-color: #444;
background-image: -webkit-linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
background-image: -moz-linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
background-image: -ms-linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
background-image: linear-gradient(top, 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 */
-webkit-animation-name: moveUp;
-webkit-animation-duration: .3s;
2014-03-16 18:23:23 +00:00
-webkit-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
-moz-animation-name: moveUp;
-moz-animation-duration: .3s;
2014-03-16 18:23:23 +00:00
-moz-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
animation-name: moveUp;
animation-duration: .3s;
2014-03-16 18:23:23 +00:00
animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
}
2014-05-11 22:15:01 +00:00
/* Header ------------------------------------------------*/
.upload_message h1 {
float: left;
width: 100%;
padding: 12px 0px;
color: #fff;
font-size: 16px;
font-weight: bold;
text-shadow: 0px -1px 0px #222;
text-align: center;
}
.upload_message .close {
position: absolute;
top: 0px;
right: 0px;
padding: 11px 14px 6px 7px;
color: #aaa;
font-size: 20px;
text-shadow: 0px -1px 0px #222;
cursor: pointer;
}
.upload_message .close:hover {
color: #fff;
}
/* Rows ------------------------------------------------*/
.upload_message .rows {
float: left;
margin: 3px 8px 8px 8px;
width: calc(100% - 16px);
height: 300px;
background-color: rgba(0, 0, 0, .5);
overflow: hidden;
overflow-y: scroll;
border-radius: 3px;
box-shadow: inset 0px 0px 3px rgba(0, 0, 0, .8);
}
/* Row ------------------------------------------------*/
.upload_message .rows .row {
display: inline-block;
2014-05-16 20:11:10 +00:00
padding: 8px 0px;
2014-05-11 22:15:01 +00:00
width: 100%;
background-color: rgba(255, 255, 255, .02);
}
.upload_message .rows .row:nth-child(2n) {
background-color: rgba(255, 255, 255, 0);
}
.upload_message .rows .row a.name {
float: left;
width: 70%;
2014-05-16 20:11:10 +00:00
padding: 5px 10px;
2014-05-11 22:15:01 +00:00
color: #fff;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
2014-05-11 22:15:01 +00:00
}
.upload_message .rows .row a.status {
float: right;
2014-05-16 20:11:10 +00:00
padding: 5px 10px;
2014-05-11 22:15:01 +00:00
color: rgba(255, 255, 255, .5);
font-size: 14px;
}
.upload_message .rows .row a.status.error {
color: rgb(213, 24, 24);
}
.upload_message .rows .row a.status.success {
color: rgb(42, 213, 0);
}
/* 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;
-webkit-animation-name: pulse;
-webkit-animation-duration: 2s;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: pulse;
-moz-animation-duration: 2s;
-moz-animation-timing-function: ease-in-out;
-moz-animation-iteration-count: infinite;
animation-name: pulse;
animation-duration: 2s;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
2014-05-11 22:15:01 +00:00
}*/
2014-05-11 22:15:01 +00:00
/* Text ------------------------------------------------
.upload_message p {
float: left;
width: 100%;
margin: 10px 0px 35px 0px;
color: #fff;
font-size: 14px;
text-align: center;
2014-05-11 22:15:01 +00:00
text-shadow: 0px -1px 0px rgba(0,0,0,.5);*/
}
2014-05-11 22:15:01 +00:00
/* Progress ------------------------------------------------
.upload_message .progressbar {
float: left;
width: 170px;
height: 25px;
margin: 15px;
background-size: 50px 25px;
background-repeat: repeat-x;
background-image: -webkit-linear-gradient(left, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
background-image: -moz-linear-gradient(left, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
background-image: linear-gradient(left 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;
-webkit-animation-name: moveBackground;
-webkit-animation-duration: 1s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: moveBackground;
-moz-animation-duration: 1s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
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: -webkit-linear-gradient(top, #f5f2f7, #c7c6c8);
background-image: -moz-linear-gradient(top, #f5f2f7, #c7c6c8);
background-image: -ms-linear-gradient(top, #f5f2f7, #c7c6c8);
background-image: linear-gradient(top, #f5f2f7, #c7c6c8);
border-radius: 50px;
-webkit-transition: width .2s, opacity .5;
-moz-transition: width .2s, opacity .5;
transition: width .2s, opacity .5;
2014-05-11 22:15:01 +00:00
}*/