2019-07-02 17:39:11 +03:00
|
|
|
:root {
|
|
|
|
--main-title-color: #ae81ff;
|
|
|
|
--link-hover-color: #ae81ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* normalize */
|
2019-06-26 22:02:31 +03:00
|
|
|
* {
|
|
|
|
font-weight: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #c5c8c6;
|
|
|
|
background: #1e1e1e;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
z-index: 100;
|
2019-07-02 17:39:11 +03:00
|
|
|
color: var(--main-title-color);
|
2019-06-26 22:02:31 +03:00
|
|
|
text-shadow: -2px 2px 3px rgba(0, 0, 0, 0.7);
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 20px;
|
|
|
|
text-indent: 20px;
|
|
|
|
line-height: 50px;
|
|
|
|
width: 100%;
|
|
|
|
height: 50px;
|
|
|
|
background: #171717;
|
|
|
|
border-bottom: 1px solid #272727;
|
2020-03-22 16:40:13 +03:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a.centered {
|
|
|
|
float: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2019-06-26 22:02:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
width: 1156px;
|
|
|
|
margin:0 auto;
|
|
|
|
margin-top: 15px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#player {
|
2019-07-02 17:39:11 +03:00
|
|
|
width: 854px;
|
2019-06-26 22:02:31 +03:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
/* 480p */
|
2019-06-26 22:02:31 +03:00
|
|
|
#video {
|
|
|
|
width: 100%;
|
|
|
|
height: 480px;
|
|
|
|
background: #000;
|
|
|
|
box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
#player > h1 {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#player > h2 {
|
|
|
|
margin-top: 5px;
|
|
|
|
color: #676867;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#player > p {
|
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 80%;
|
|
|
|
width: 100%;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist {
|
2019-06-26 22:02:31 +03:00
|
|
|
font-size: 13px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
width: 290px;
|
|
|
|
background: #282a2e;
|
|
|
|
box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a {
|
2019-06-26 22:02:31 +03:00
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
|
|
|
position: relative;
|
2019-07-02 17:39:11 +03:00
|
|
|
min-height: 54px;
|
2019-06-26 22:02:31 +03:00
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a:hover {
|
|
|
|
color: var(--link-hover-color);
|
2019-06-26 22:02:31 +03:00
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a.playing {
|
2019-06-26 22:02:31 +03:00
|
|
|
background: #383a3e;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a + a {
|
2019-06-26 22:02:31 +03:00
|
|
|
border-top: 1px solid #1e1e1e;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a > img {
|
2019-06-26 22:02:31 +03:00
|
|
|
width: 70px;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a > div {
|
2019-06-26 22:02:31 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 90px;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a > div > h1 {
|
2019-06-26 22:02:31 +03:00
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist > a > div > h2 {
|
2019-06-26 22:02:31 +03:00
|
|
|
margin-top: 5px;
|
|
|
|
color: #676867;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
/* 360p */
|
|
|
|
@media only screen and (max-width: 1180px) {
|
2019-06-26 22:02:31 +03:00
|
|
|
main {
|
|
|
|
width: 940px;
|
|
|
|
}
|
|
|
|
#player {
|
|
|
|
width: 640px;
|
|
|
|
}
|
|
|
|
#video {
|
|
|
|
height: 360px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
/* 240p */
|
|
|
|
@media only screen and (max-width: 965px) {
|
2019-06-26 22:02:31 +03:00
|
|
|
main {
|
|
|
|
width: 726px;
|
|
|
|
}
|
|
|
|
#player {
|
|
|
|
width: 426px;
|
|
|
|
}
|
|
|
|
#video {
|
|
|
|
height: 240px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-02 17:39:11 +03:00
|
|
|
/* 240p with shifted playlist */
|
|
|
|
@media only screen and (max-width: 750px) {
|
2019-06-26 22:02:31 +03:00
|
|
|
main {
|
|
|
|
width: 426px;
|
|
|
|
}
|
|
|
|
#player {
|
|
|
|
width: 426px;
|
|
|
|
}
|
|
|
|
#video {
|
|
|
|
height: 240px;
|
|
|
|
}
|
2019-07-02 17:39:11 +03:00
|
|
|
#playlist {
|
2019-06-26 22:02:31 +03:00
|
|
|
width: 426px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2019-07-02 17:39:11 +03:00
|
|
|
|
|
|
|
/* responsive width with shifted playlist */
|
|
|
|
@media only screen and (max-width: 440px) {
|
|
|
|
main {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#player {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#video {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
#playlist {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2020-03-21 13:34:37 +03:00
|
|
|
|
|
|
|
/* Upload */
|
|
|
|
.upload_form_cont {
|
|
|
|
background: -moz-linear-gradient(#ffffff, #f2f2f2);
|
|
|
|
background: -ms-linear-gradient(#ffffff, #f2f2f2);
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2));
|
|
|
|
background: -webkit-linear-gradient(#ffffff, #f2f2f2);
|
|
|
|
background: -o-linear-gradient(#ffffff, #f2f2f2);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2');
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2')";
|
|
|
|
background: linear-gradient(#ffffff, #f2f2f2);
|
|
|
|
color:#000;
|
|
|
|
overflow:hidden;
|
|
|
|
}
|
|
|
|
#upload_form {
|
|
|
|
float:left;
|
|
|
|
padding:20px;
|
|
|
|
width:700px;
|
|
|
|
}
|
|
|
|
#upload_form > div {
|
|
|
|
margin-bottom:10px;
|
|
|
|
}
|
|
|
|
#speed,#remaining {
|
|
|
|
float:left;
|
|
|
|
width:100px;
|
|
|
|
}
|
|
|
|
#b_transfered {
|
|
|
|
float:right;
|
|
|
|
text-align:right;
|
|
|
|
}
|
|
|
|
.clear_both {
|
|
|
|
clear:both;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
border-radius:10px;
|
|
|
|
-moz-border-radius:10px;
|
|
|
|
-ms-border-radius:10px;
|
|
|
|
-o-border-radius:10px;
|
|
|
|
-webkit-border-radius:10px;
|
|
|
|
border:1px solid #ccc;
|
|
|
|
font-size:14pt;
|
|
|
|
padding:5px 10px;
|
|
|
|
}
|
|
|
|
input[type=button] {
|
|
|
|
background: -moz-linear-gradient(#ffffff, #dfdfdf);
|
|
|
|
background: -ms-linear-gradient(#ffffff, #dfdfdf);
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #dfdfdf));
|
|
|
|
background: -webkit-linear-gradient(#ffffff, #dfdfdf);
|
|
|
|
background: -o-linear-gradient(#ffffff, #dfdfdf);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dfdfdf');
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dfdfdf')";
|
|
|
|
background: linear-gradient(#ffffff, #dfdfdf);
|
|
|
|
}
|
|
|
|
#video_file {
|
|
|
|
width:400px;
|
|
|
|
}
|
|
|
|
#progress_info {
|
|
|
|
font-size:10pt;
|
|
|
|
}
|
|
|
|
#fileinfo,#error,#error2,#abort,#warnsize {
|
|
|
|
color:#aaa;
|
|
|
|
display:none;
|
|
|
|
font-size:10pt;
|
|
|
|
font-style:italic;
|
|
|
|
margin-top:10px;
|
|
|
|
}
|
|
|
|
#progress {
|
|
|
|
border:1px solid #ccc;
|
|
|
|
display:none;
|
|
|
|
float:left;
|
|
|
|
height:14px;
|
|
|
|
border-radius:10px;
|
|
|
|
-moz-border-radius:10px;
|
|
|
|
-ms-border-radius:10px;
|
|
|
|
-o-border-radius:10px;
|
|
|
|
-webkit-border-radius:10px;
|
|
|
|
background: -moz-linear-gradient(#66cc00, #4b9500);
|
|
|
|
background: -ms-linear-gradient(#66cc00, #4b9500);
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #66cc00), color-stop(100%, #4b9500));
|
|
|
|
background: -webkit-linear-gradient(#66cc00, #4b9500);
|
|
|
|
background: -o-linear-gradient(#66cc00, #4b9500);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#66cc00', endColorstr='#4b9500');
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#66cc00', endColorstr='#4b9500')";
|
|
|
|
background: linear-gradient(#66cc00, #4b9500);
|
|
|
|
}
|
|
|
|
#progress_percent {
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
#upload_response {
|
|
|
|
margin-top: 10px;
|
|
|
|
padding: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
display: none;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius:10px;
|
|
|
|
-moz-border-radius:10px;
|
|
|
|
-ms-border-radius:10px;
|
|
|
|
-o-border-radius:10px;
|
|
|
|
-webkit-border-radius:10px;
|
|
|
|
box-shadow: 0 0 5px #ccc;
|
|
|
|
background: -moz-linear-gradient(#bbb, #eee);
|
|
|
|
background: -ms-linear-gradient(#bbb, #eee);
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bbb), color-stop(100%, #eee));
|
|
|
|
background: -webkit-linear-gradient(#bbb, #eee);
|
|
|
|
background: -o-linear-gradient(#bbb, #eee);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#eee');
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#eee')";
|
|
|
|
background: linear-gradient(#000000, #1e1e1e);
|
|
|
|
}
|
2020-03-22 15:31:22 +03:00
|
|
|
|
|
|
|
.fileContainer {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
label.filebutton {
|
|
|
|
width:120px;
|
|
|
|
height:40px;
|
|
|
|
overflow:hidden;
|
|
|
|
position:relative;
|
|
|
|
background:linear-gradient(#000000, #1e1e1e);
|
|
|
|
box-shadow: 0 0 5px #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
label span input {
|
|
|
|
z-index: 999;
|
|
|
|
line-height: 0;
|
|
|
|
font-size: 50px;
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
left: -700px;
|
|
|
|
opacity: 0;
|
|
|
|
filter: alpha(opacity = 0);
|
|
|
|
-ms-filter: "alpha(opacity=0)";
|
|
|
|
cursor: pointer;
|
|
|
|
_cursor: hand;
|
|
|
|
margin: 0;
|
|
|
|
padding:0;
|
|
|
|
}
|