You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
filepizza/static/index.css

143 lines
2.3 KiB
CSS

* { box-sizing: border-box; }
.upload-page {
margin: 100px auto 0;
width: 300px;
}
.drop-zone {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: table;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0);
}
.drop-zone-focus {
background: rgba(0, 0, 0, 0.5);
}
.drop-zone-focus:after {
color: white;
content: 'DROP TO UPLOAD';
display: table-cell;
font: 24px/40px sans-serif;
text-align: center;
text-shadow: 0 1px #333;
vertical-align: middle;
}
.arrow {
position: relative;
z-index: -1;
width: 300px;
height: 300px;
}
.arrow .arrow-border {
position: absolute;
width: 100%;
height: 100%;
border: 20px dotted #CCC;
border-radius: 100%;
-webkit-transition: -webkit-transform 1s;
-moz-transition: -moz-transform 1s;
transition: transform 1s;
}
.arrow.arrow-animated .arrow-border {
-webkit-animation: rotate 2s infinite linear;
-moz-animation: rotate 2s infinite linear;
animation: rotate 2s infinite linear;
}
.arrow .arrow-image {
position: absolute;
top: 60px;
left: 80px;
right: 80px;
bottom: 100px;
background: red;
}
.arrow .arrow-name {
bottom: 60px;
font: bold 18px/20px sans-serif;
left: 60px;
overflow: hidden;
position: absolute;
right: 60px;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
color: #333;
}
.arrow .arrow-size {
bottom: 40px;
font: italic 12px/20px sans-serif;
left: 60px;
position: absolute;
right: 60px;
text-align: center;
color: #777;
}
.tempalink {
border-radius: 3px;
border: 1px solid #EEE;
color: #333;
font: 18px/1 sans-serif;
height: 40px;
margin: 60px 0 0;
padding: 10px;
text-align: center;
width: 100%;
}
h1 {
color: #333;
font: bold 32px/40px sans-serif;
text-align: center;
margin: 60px 0 10px;
}
p {
color: #777;
font: 14px/20px sans-serif;
text-align: center;
margin: 10px 0;
}
.data {
color: #777;
font: 14px/20px sans-serif;
text-align: center;
overflow: hidden;
}
.data > .datum {
float: left;
width: 50%;
}
@-webkit-keyframes rotate {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes rotate {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}