blob: d1588747881ba0f52978a5b20ad650fea7adf5e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
@use '_variables' as *;
@use '_mixins' as *;
@use 'video.js/dist/video-js';
$assets-path: '../../assets/';
@use '../../sass/player/index';
[hidden] {
display: none !important;
}
body {
font-family: $main-fonts;
font-weight: $font-regular;
color: #000;
}
video {
width: 99%;
}
/* fill the entire space */
html,
body {
height: 100%;
margin: 0;
background-color: #0f0f10;
}
#video-wrapper {
width: 100%;
height: 100%;
}
.video-js.vjs-peertube-skin {
width: 100%;
height: 100%;
overflow: hidden;
.vjs-poster {
background-size: 100% auto;
}
}
#error-block,
#video-password-block {
display: none;
user-select: none;
flex-direction: column;
align-content: center;
justify-content: center;
text-align: center;
width: 100%;
height: 100%;
color: #fff;
box-sizing: border-box;
font-family: sans-serif;
}
#error-title {
font-size: 45px;
margin-bottom: 5px;
}
#error-content {
font-size: 24px;
}
#placeholder-preview {
position: absolute;
top: 0;
left: 0;
background-size: 100% auto;
width: 100%;
height: 100%;
background-position: 50% 50%;
background-repeat: no-repeat;
}
.player-information {
width: 100%;
color: #fff;
background: rgba(0, 0, 0, 0.6);
padding: 20px 0;
position: absolute;
bottom: 0;
text-align: center;
}
#video-password-content {
@include margin(1rem, 0, 2rem);
}
#video-password-input,
#video-password-submit {
line-height: 23px;
padding: 1rem;
margin: 1rem 0.5rem;
border: 0;
font-weight: 600;
border-radius: 3px!important;
font-size: 18px;
display: inline-block;
}
#video-password-submit {
color: #fff;
background-color: #f2690d;
cursor: pointer;
}
#video-password-submit:hover {
background-color: #f47825;
}
#video-password-error {
margin-top: 10px;
margin-bottom: 10px;
height: 2rem;
font-weight: bolder;
}
#video-password-block svg {
margin-left: auto;
margin-right: auto;
}
@media screen and (max-width: 300px) {
#error-block {
font-size: 36px;
}
#error-content {
font-size: 14px;
}
}
|