-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (93 loc) · 1.54 KB
/
style.css
File metadata and controls
103 lines (93 loc) · 1.54 KB
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
body {
margin: 0;
padding: 0;
max-width: unset;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.video-container {
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
video {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
transform: scale(1, 1);
}
button {
position: absolute;
top: 22px;
left: 22px;
z-index: 999;
padding-left: 15px;
padding-right: 15px;
background-color: rgba(0, 0, 0, 0.1);
}
.loader-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.7);
color: white;
z-index: 10;
}
.loader {
border: 5px solid #f3f3f3;
border-top: 5px solid #3498db;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
margin-bottom: 20px;
}
.loader-text {
font-size: 18px;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.hidden {
display: none;
}
#camera-select {
position: absolute;
top: 22px;
left: 80px;
z-index: 999;
padding: 5px;
border: 1px solid;
display: none;
}
.stream-info {
position: absolute;
bottom: 22px;
left: 22px;
z-index: 999;
padding: 10px;
background-color: rgba(0, 0, 0, 0.7);
color: white;
border-radius: 5px;
font-size: 14px;
display: none;
}