File size: 1,186 Bytes
27d3085
 
 
 
 
 
 
 
 
 
 
 
78f6230
27d3085
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78f6230
 
27d3085
 
 
 
 
78f6230
 
27d3085
 
78f6230
 
27d3085
 
 
 
 
 
 
78f6230
 
27d3085
 
78f6230
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
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

html,
body {
  height: 100%;
}

body {
  padding: 16px 32px;
}

body,
#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#controls {
  display: flex;
  padding: 1rem;
  gap: 1rem;
}

#controls > div {
  text-align: center;
}

h1,
h3 {
  text-align: center;
}

h3 {
  margin-top: 0.5rem;
}

#container {
  position: relative;
  width: 720px;
  height: 405px;
  max-width: 100%;
  max-height: 100%;
  border: 2px dashed #d1d5db;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: 1rem;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

#status {
  min-height: 16px;
  margin: 8px 0;
}

video {
  width: 100%;
  height: 100%;
}

input[type="text"] {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  margin-top: 2px;
}

input[type="range"] {
  margin-top: 6px;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  border-radius: 2px;
}

#overlay:not(:empty) {
  padding: 0.5rem;
}