diff --git a/get/studio/upload.php b/get/studio/upload.php new file mode 100644 index 0000000..a909ac1 --- /dev/null +++ b/get/studio/upload.php @@ -0,0 +1,3 @@ + + .drop-area { + border: 2px dashed #ccc; + border-radius: 1.5rem; + width: 90%; + height: 70vh; + margin: 0 auto; + padding: 1.5rem; + position: relative; + } + + #drop.highlight { + border-color: #0a0; + } + + .button-area { + margin-top: 1rem; + } + + .button { + display: inline-block; + padding: 0.5rem auto; + line-height: 1rem; + background: #ccc; + background: linear-gradient(#bfbfbf, #3f3f3f); + cursor: pointer; + border-radius: 0.5rem; + border: 1px outset #3f3f3f; + text-align: center; + } + + .button-right { + float: right; + } + + #image { + display: inline-block; + vertical-align: middle; + max-width: calc(100% - 9rem); + overflow-x: hidden; + text-overflow: ellipsis; + white-space: nowrap; + margin-left: 0.5rem; + } + + .clicked { + background: linear-gradient(#7f7f7f, #ffffff, #7f7f7f); + color: #777; + } + + .mouseover { + background: #ddd; + background: linear-gradient(#ffffff, #7f7f7f); + } + + #file-select, #thumbnail, #submit { + display: none; + } + + #upload-label { + position: absolute; + margin-right: 0.5rem; + top: 1rem; + color: #ccc; + } + + #upload-list { + width: 100%; + height: calc(100% - 3rem); + overflow-y: auto; + } + + #upload-table { + width: 100%; + border-collapse: collapse; + table-layout: fixed; + } + + .list-row:hover { + background: #777; + cursor: pointer; + } + + .name-cell, .title-cell { + width: 50%; + border-bottom: 1px solid #aaa; + overflow-x: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + .name-cell { + padding-right: 1rem; + color: #0a0; + } + + .title-cell { + color: #ccc; + } + + .hidden-cell { + display: none; + } + + .button-area { + width: 100%; + } + + .progress-bar { + width: 100%; + height: 1rem; + background: #ccc; + border: 1px solid #0a0; + border-radius: 0.5rem; + } + + .progress { + width: 0%; + height: 100%; + background: #0a0; + background: linear-gradient(#0a0, #050); + border-radius: 0.5rem; + } + + .form-tab { + border: 1px solid #ccc; + border-radius: 0.5rem; + background: #777; + padding: 1rem; + padding-bottom: 0; + position: absolute; + z-index: 100; + top: 50%; + left: 50%; + transform: translate(calc(60px - 50%), -50%); + min-width: 320px; + max-width: 90vw; + display: none; + } + + .fade-in { + animation: fadeIn ease 1s; + -webkit-animation: fadeIn ease 1s; + -moz-animation: fadeIn ease 1s; + -o-animation: fadeIn ease 1s; + -ms-animation: fadeIn ease 1s; + } + + @keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} + } + + @-webkit-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} + } + + @-moz-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} + } + + @-o-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} + } + + @-ms-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} + } + + .form-tab textarea { + resize: none; + } + + .form-tab input, .form-tab label, .form-tab textarea, .drop-area label { + font-size: 1rem; + } + + #main h1 { + margin-top: 0; + } + + @media screen and (min-width: 900px) { + + .name-cell { + width: 33%; + } + + .title-cell { + width: 67%; + } + } + + @media screen and (max-width: 600px) { + + .form-tab { + transform: translate(-50%, -50%); + } + + #main h1 { + margin-top: 30px; + } + } + + + +
+
+

Upload your video

+
+
+
+
+

Upload multiple videos with the file dialog or by dragging and dropping videos into the box.

+

After a video is uploaded, you can edit its metadata such as title, description, etc., by clicking on the table row.

+
+
+
+
+
+ + +
+
+
+
+
+
+ + +

+

+

+ + + None +

+

Start time: + + +

+

+ Visibility:
+ > + + > + + > +
+ Files on Skynet are public, be careful! +

+

+ + +

+
+
+ +