up1/index.html

373 lines
9.4 KiB
HTML
Raw Normal View History

2015-06-06 02:02:44 +02:00
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
2015-06-12 03:47:31 +02:00
<link rel="shortcut icon" href="static/favicon/16px.png" sizes="16x16" type="image/png">
<link rel="shortcut icon" href="static/favicon/32px.png" sizes="32x32" type="image/png">
<link rel="shortcut icon" href="static/favicon/64px.png" sizes="64x64" type="image/png">
<link rel="shortcut icon" href="static/favicon/128px.png" sizes="128x128" type="image/png">
2015-06-12 00:56:39 +02:00
<title>Up1</title>
2015-06-06 02:02:44 +02:00
<style>
body, html {
height: 100%;
margin: 0;
padding: 0;
font-family: Sans-Serif;
2015-06-10 17:45:02 +02:00
overflow: auto;
2015-06-06 02:02:44 +02:00
}
body {
2015-06-06 02:44:21 +02:00
background-color: #1d1f21;
2015-06-06 02:02:44 +02:00
}
.contentarea h1 {
margin: 0;
}
.contentarea .boxarea {
2015-06-06 02:02:44 +02:00
text-align: center;
vertical-align: middle;
2015-06-24 03:53:47 +02:00
display: table-cell;
}
.contentarea {
color: white;
2015-06-06 02:02:44 +02:00
margin: 0;
text-align: center;
vertical-align: middle;
}
.boxarea {
2015-06-10 08:21:00 +02:00
-webkit-transition: background-color 400ms ease-out;
-moz-transition: background-color 400ms ease-out;
-o-transition: background-color 400ms ease-out;
-ms-transition: background-color 400ms ease-out;
transition: background-color 400ms ease-out;
}
2015-06-12 04:04:11 +02:00
.noscript {
color: white;
text-align: center;
vertical-align: middle;
margin: 0;
}
#pastearea:hover {
2015-06-10 17:45:02 +02:00
background-color: #313538;
-webkit-transition: background-color 100ms ease-in;
-moz-transition: background-color 100ms ease-in;
-o-transition: background-color 100ms ease-in;
-ms-transition: background-color 100ms ease-in;
transition: background-color 100ms ease-in;
}
2015-06-06 02:02:44 +02:00
.contentarea {
width: 200px;
height: 200px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
border: 2px solid white;
}
#pastearea {
cursor: pointer;
}
#pastearea.dragover {
background-color: rgba(255, 255, 255, .2);
}
2015-06-12 03:52:37 +02:00
.footer {
2015-06-24 03:04:17 +02:00
position: fixed;
2015-06-10 17:45:02 +02:00
bottom: 10px;
margin: auto;
text-align: center;
width: 100%;
2015-06-10 08:21:00 +02:00
}
2015-06-06 02:02:44 +02:00
2015-06-12 03:52:37 +02:00
.footer a {
2015-06-11 00:53:05 +02:00
color: white;
opacity: .5;
2015-06-10 17:45:02 +02:00
font-size: 14px;
2015-06-11 00:53:05 +02:00
text-decoration: none;
2015-06-10 17:45:02 +02:00
}
2015-06-06 02:02:44 +02:00
#progressamountbg {
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 10, 0, .5);
width: 0;
height: 100%;
z-index: -1;
}
#finallink {
color: white;
}
#module_download, #downloaddetails {
2015-06-06 02:02:44 +02:00
width: 100%;
height: 100%;
2015-06-06 02:10:38 +02:00
position: absolute;
top: 0;
2015-06-06 02:02:44 +02:00
}
#module_download .preview {
2015-06-06 02:02:44 +02:00
max-width: 100%;
max-height: 100%;
2015-06-06 23:44:42 +02:00
}
2015-06-07 00:05:55 +02:00
#previewimg img {
display: block;
margin: 0 auto;
}
2015-06-10 17:45:02 +02:00
#previewimg img:not(.dragged) {
max-width: 100vw;
max-height: 100vh;
2015-06-06 02:02:44 +02:00
}
#module_download .preview {
2015-06-10 17:45:02 +02:00
display: block;
margin: 0 auto;
}
2015-06-07 00:05:55 +02:00
2015-06-24 05:34:33 +02:00
audio.preview, video.preview, .downloadexplain, #downloadprogress, #previewimg {
2015-06-06 02:02:44 +02:00
position: relative;
top: 50%;
2015-06-06 04:29:56 +02:00
text-align: center;
2015-06-11 08:33:28 +02:00
-webkit-transform: translateY(-50%);
2015-06-06 02:02:44 +02:00
transform: translateY(-50%);
2015-06-06 23:54:08 +02:00
margin: 0 auto;
2015-06-06 02:02:44 +02:00
}
2015-06-24 05:33:25 +02:00
.downloadexplain {
color: #fff;
font-size: 30px;
}
2015-06-06 23:44:42 +02:00
body {
overflow: auto;
}
2015-06-06 02:02:44 +02:00
#pastecatcher {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 0;
opacity: 0;
overflow: hidden;
}
2015-06-11 01:22:15 +02:00
.previewtext {
2015-06-06 02:02:44 +02:00
position: absolute;
2015-06-11 20:59:58 +02:00
top: 55px;
2015-06-06 23:10:41 +02:00
width: 100%;
height: calc(100% - 110px);
overflow: auto;
}
2015-06-11 01:22:15 +02:00
.previewtext pre {
2015-06-06 23:10:41 +02:00
margin: 0;
padding-left: 50px;
}
2015-06-11 01:22:15 +02:00
.previewtext code {
2015-06-10 17:45:02 +02:00
background: none;
margin: 0;
overflow: visible;
}
2015-06-11 01:22:15 +02:00
.previewtext > textarea {
2015-06-10 17:45:02 +02:00
background: transparent none repeat scroll 0% 0%;
border: 0px none;
padding: 0px;
2015-06-11 00:56:33 +02:00
position: absolute;
2015-06-10 17:45:02 +02:00
font-family: monospace;
outline: medium none;
resize: none;
margin: 0;
2015-06-11 01:01:28 +02:00
padding-top: 6.5px;
2015-06-10 17:45:02 +02:00
padding-left: 50px;
2015-06-11 01:02:32 +02:00
font-family: monospace !important;
2015-06-10 17:45:02 +02:00
font-size: 13px;
2015-06-11 01:02:32 +02:00
color: #c5c8c6 !important;
2015-06-24 04:22:31 +02:00
width: 100%;
2015-06-10 17:45:02 +02:00
height: calc(100% - 5px);
2015-06-11 00:54:28 +02:00
box-sizing: border-box;
2015-06-10 17:45:02 +02:00
color: white;
}
2015-06-06 02:02:44 +02:00
.hidden {
display: none !important;
}
2015-06-11 23:08:54 +02:00
.topbar {
position: fixed;
z-index: 1;
width: 100%;
2015-06-11 23:08:54 +02:00
height: 40px;
padding: 5px;
box-sizing: border-box;
display: -webkit-flex;
display: flex;
}
2015-06-11 01:22:15 +02:00
#downloaded_filename {
2015-06-06 02:02:44 +02:00
padding: 5px;
background-color: rgba(0, 0, 0, .5);
2015-06-11 20:12:58 +02:00
border-radius: 5px;
2015-06-06 02:02:44 +02:00
margin: 0;
color: white;
2015-06-11 23:08:54 +02:00
height: 40px;
2015-06-06 02:02:44 +02:00
opacity: .75;
2015-06-11 23:08:54 +02:00
overflow: hidden;
text-overflow: ellipsis;
display: block;
vertical-align: middle;
text-align: middle;
2015-06-06 02:02:44 +02:00
z-index: 1;
2015-06-11 23:08:54 +02:00
line-height: 30px;
2015-06-06 05:55:05 +02:00
box-sizing: border-box;
2015-06-06 05:49:46 +02:00
white-space: nowrap;
overflow: hidden;
2015-06-06 02:02:44 +02:00
}
2015-06-10 17:45:02 +02:00
2015-06-11 01:22:15 +02:00
#create_filename {
2015-06-10 08:21:00 +02:00
position: fixed;
font-size: 16px;
top: 10px;
2015-06-10 08:21:00 +02:00
left: 10px;
padding: 5px;
background-color: rgba(0, 0, 0, .5);
border-bottom-right-radius: initial;
border: 1px solid white;
margin: 0;
2015-06-11 12:25:17 +02:00
width: 170px;
2015-06-10 08:21:00 +02:00
color: white;
opacity: .75;
z-index: 1;
max-width: 100%;
box-sizing: border-box;
white-space: nowrap;
overflow: hidden;
}
2015-06-06 02:02:44 +02:00
2015-06-11 23:08:54 +02:00
#btnarea {
2015-06-06 23:44:42 +02:00
position: fixed;
2015-06-06 02:02:44 +02:00
bottom: 5px;
2015-06-11 23:08:54 +02:00
}
.viewswitcher {
margin-left: auto;
2015-06-11 23:15:32 +02:00
vertical-align: top;
2015-06-11 23:08:54 +02:00
white-space: nowrap;
display: -webkit-flex;
display: flex;
-webkit-flex-shrink: 0;
flex-shrink: 0;
}
#btnarea {
z-index: 1;
2015-06-06 02:02:44 +02:00
}
.btn {
2015-06-11 23:08:54 +02:00
display: inline-block;
height: 40px;
2015-06-11 00:53:05 +02:00
margin: 0;
2015-06-11 23:08:54 +02:00
-webkit-box-align: start;
2015-06-11 11:55:38 +02:00
font: inherit;
2015-06-11 00:53:05 +02:00
padding: 10px;
2015-06-11 11:55:38 +02:00
font-size: 16px;
2015-06-06 02:02:44 +02:00
border: 2px solid white;
cursor: pointer;
color: white !important;
text-decoration: none;
2015-06-11 23:26:22 +02:00
line-height: 16px;
text-align: center;
vertical-align: middle;
2015-06-06 02:02:44 +02:00
opacity: .75;
2015-06-11 20:47:17 +02:00
background-color: rgba(0, 0, 0, .5);
2015-06-06 02:02:44 +02:00
box-sizing: border-box;
2015-06-11 23:08:54 +02:00
white-space: nowrap;
2015-06-11 00:53:05 +02:00
transition: all 400ms ease-out;
2015-06-11 23:08:54 +02:00
margin-left: 5px;
2015-06-06 02:02:44 +02:00
}
2015-06-06 04:29:56 +02:00
#downloadprogress {
color: white;
}
2015-06-10 17:45:02 +02:00
.btn:hover {
opacity: 1;
2015-06-11 00:53:05 +02:00
background-color: #313538;
transition: all 100ms ease-in;
2015-06-10 17:45:02 +02:00
}
2015-06-06 23:10:41 +02:00
2015-06-11 11:55:38 +02:00
#linenos, #create_linenos {
2015-06-06 23:10:41 +02:00
color: #7d7d7d;
position: absolute;
top: 6.5px;
font-family: monospace;
left: 5px;
float: left;
z-index: -1;
text-align: right;
width: 30px;
overflow: hidden;
}
2015-06-06 23:44:42 +02:00
.dragresize.dragging {
cursor: nwse-resize;
}
.viewcontent {
width: 100%;
height: 100%;
}
.loadingtext {
color: white;
text-align: center;
}
2015-06-24 03:53:47 +02:00
#uploadview .centerview {
display: table;
width: 100%;
height: 100%;
}
2015-06-06 02:02:44 +02:00
</style>
<script src="/static/js/base/main.js"></script>
2015-06-06 02:02:44 +02:00
<script>
window.onunload = function () {}
2015-06-06 02:02:44 +02:00
</script>
2015-06-06 21:51:28 +02:00
<link rel="stylesheet" href="/static/deps/hybrid.min.css">
<script src="/static/deps/highlight.min.js"></script>
2015-06-06 02:02:44 +02:00
</head>
<body>
2015-06-11 11:55:38 +02:00
<div class="modulecontent modulearea"></div>
2015-06-10 17:45:02 +02:00
2015-06-12 04:04:11 +02:00
<noscript class="noscript">
<h2>
Javascript is required to view and upload files.
</h2>
</noscript>
2015-06-12 03:52:37 +02:00
<div id="footer" class="footer">
<a href="https://github.com/Upload/Up1" target="_blank">Source Code</a>
-
2015-06-24 04:09:35 +02:00
<a href="#" id="contact" target="_blank">Contact</a>
2015-06-10 08:21:00 +02:00
</div>
2015-06-06 02:02:44 +02:00
</body>
</html>