filesharing/public/css/app.css
2019-10-03 16:00:46 +02:00

260 lines
5.2 KiB
CSS
Vendored

@import url(https://fonts.googleapis.com/css?family=Indie+Flower|Quicksand);body {
background-image: url("/img/background.jpg");
background-repeat: no-repeat;
background-size: cover;
color: #FFF !important;
font-size: 14px;
min-height: 100vh;
font-family: "Quicksand", sans-serif;
}
body #content {
max-width: 500px;
width: 500px;
margin: 20px auto;
padding: 10px 10px 10px 10px;
background-size: 16px 16px;
font-size: 1rem;
background-color: rgba(56, 76, 65, 0.84);
border: 1px solid #45574d;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
body h1 {
margin-bottom: 5px;
text-transform: uppercase;
font-size: 3rem;
}
body h2 {
margin-top: 0;
color: rgba(255, 255, 255, 0.877);
text-transform: uppercase;
font-size: 1.7rem;
}
body .spacer {
clear: both;
line-height: 0;
padding: 0;
margin: 0;
font-size: 0;
}
body a,
body a:visited {
color: #58bfe4;
}
body label {
display: block;
width: 100%;
margin: 10px 0 5px 0;
}
body label:first-child {
margin: 0 0 5px 0;
}
body label:last-child {
margin: 10px 0 0 0;
}
body#upload div#upload-column {
float: left;
width: 190px;
}
body#upload div#upload-column form.dropzone {
margin: 0;
cursor: pointer;
background: linear-gradient(45deg, #33453b 45px, transparent 45px) 64px 64px, linear-gradient(45deg, #33453b 45px, transparent 45px, transparent 91px, #41574b 91px, #41574b 135px, transparent 135px), linear-gradient(-45deg, #33453b 23px, transparent 23px, transparent 68px, #33453b 68px, #33453b 113px, transparent 113px, transparent 158px, #33453b 158px);
background-color: #41574b;
background-size: 128px 128px;
text-align: center;
min-height: 170px;
max-height: 170px;
height: 100%;
white-space: nowrap;
position: relative;
}
body#upload div#upload-column form.dropzone:before {
content: "";
display: inline-block;
vertical-align: middle;
width: 0;
margin-right: -0.25em;
height: 100%;
}
body#upload div#upload-column form.dropzone.dz-drag-hover {
background-color: rgba(64, 154, 189, 0.66);
}
body#upload div#upload-column form.dropzone .dz-message {
font-family: "Indie Flower", cursive;
font-size: 1.3rem;
margin: 35px 15px;
display: inline-block;
vertical-align: middle;
white-space: normal;
padding: 0 1em;
}
body#upload div#upload-column .max-filesize-warning {
font-family: "Quicksand", sans-serif;
padding: 0;
margin: 2px 0 0 0;
font-size: 0.8rem;
position: absolute;
bottom: 0.5rem;
right: 0.5rem;
}
body#upload div#upload-column.wide {
width: 100%;
}
body#upload div#settings-column {
float: right;
max-width: 280px;
width: 280px;
display: none;
padding-left: 1rem;
}
body#upload div#settings-column p.link {
max-width: 80%;
width: 80%;
background-color: #CCC;
white-space: nowrap;
padding: 6px;
background-color: #545454;
margin: 0;
overflow: hidden;
display: inline-flex;
}
body#upload div#settings-column .clippy {
background-image: url(/img/clippy.svg);
background-size: 15px;
background-repeat: no-repeat;
background-color: transparent;
border: 0;
height: 28px;
width: 20px;
background-position: center center;
cursor: pointer;
}
body#upload div#files-list {
display: none;
margin: 20px 0 0 0;
font-size: 12px;
padding: 5px 0;
position: relative;
}
body#upload div#files-list .preview-tpl {
display: none;
}
body#upload div#files-list .file-row {
padding: 10px 0px 10px 6px;
border-top: 1px solid #5a5a5a;
position: relative;
}
body#upload div#files-list .file-row .dz-filename {
width: 60%;
overflow: hidden;
float: left;
position: relative;
}
body#upload div#files-list .file-row .dz-size {
width: 10%;
overflow: hidden;
float: right;
text-align: right;
}
body#upload div#files-list .file-row .dz-progress {
width: 12%;
overflow: hidden;
float: right;
min-height: 8px;
margin: 3px 10px 0 5px;
position: relative;
border-radius: 4px;
background-color: #eaeaea;
}
body#upload div#files-list .file-row .dz-progress .dz-upload {
position: absolute;
top: 0;
left: 0;
width: 0;
background-color: #51acd0;
}
body#upload div#files-list .file-row .dz-error-message {
position: absolute;
top: 10px;
right: 100px;
background-color: red;
padding: 0 8px;
}
body#upload div#files-list .file-row .dz-result {
width: 5%;
float: right;
margin-left: 10px;
}
body#upload div#files-list .file-row.dz-success .dz-result {
background-image: url("/img/success.png");
background-repeat: no-repeat;
background-size: contain;
}
body#upload div#files-list .file-row.dz-error .dz-result {
background-image: url("/img/error.png");
background-repeat: no-repeat;
background-size: contain;
}
body#download #files-list {
font-size: 1rem;
margin-bottom: 40px;
}
body#download .bundle-info {
font-size: 1rem;
}
body#download .expiry-warning {
font-size: 0.8rem;
font-style: italic;
margin-top: 30px;
}
body#download .download-all-btn {
margin: 0 auto;
width: 60%;
text-align: center;
font-size: 1.4rem;
background-color: #3a5142;
padding: 10px 5px;
box-shadow: inset 0px 1px 0px 0px #cae3fc;
}
body#download .download-all-btna,
body#download .download-all-btna:visited {
color: #FFF;
}