-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiframe-snippet.html
More file actions
37 lines (37 loc) · 1.23 KB
/
iframe-snippet.html
File metadata and controls
37 lines (37 loc) · 1.23 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background-color: rgba(0,0,0,0) !important; }
iframe { width: 100%; height: 100%; border: none; background-color: rgba(0,0,0,0) !important; }
#loading {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
color: #666;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
text-align: center;
}
.spinner {
width: 28px; height: 28px;
border: 3px solid rgba(83,52,131,0.3);
border-top-color: #533483;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin: 0 auto 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }
</style>
</head>
<body>
<div id="loading">
<div class="spinner"></div>
Connecting to Stream Deck...
</div>
<iframe src="http://localhost:28199" allowtransparency="true" onload="document.getElementById('loading').style.display='none'"></iframe>
</body>
</html>