-
Notifications
You must be signed in to change notification settings - Fork 0
/
newMonitor.html
93 lines (85 loc) · 1.97 KB
/
newMonitor.html
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
<!doctype html>
<html lang="en">
<meta charset="utf-8"></meta>
<head>
<title>Booth</title>
<script src="./newMonitor.js"></script>
<style>
html, body {
margin: 0;
color: #fff;
font-family: sans-serif;
font-weight: lighter;
width:100vw;
height:100vh;
text-align: center;
font-size: 5vw;
/* cursor: none; */
z-index: -100;
overflow: hidden;
}
.main {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
display: inline-block;
background-color: rgba(170,170,170, .5);
width: 75vw;
height: 75vh;
border-radius: 5vh;
}
div.select select{
background: transparent;
border: none;
font-size: 1em;
border-radius: .25em;
background-color: #39f;
color: #fff;
}
div.select select:active{
background: transparent;
border: none;
font-size: 1em;
border-radius: .25em;
background-color: #17d;
color: #fff;
}
div.select option:hover {
background-color: #17d;
}
.button {
display: inline-block;
border-radius: 1vh;
width: 25%;
padding: 1vh;
background-color: #39f;
user-select: none;
}
.button:active {
background-color: #17d;
}
iframe {
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<div class='main'>
<p>Select a window for this display</p>
<div class='select'>
<select id='windows'>
<optgroup id='windowOpts'>
<option value="" selected disabled hidden>Choose window here</option>
</optgroup>
</select>
</div><br/>
<div class='button' id='save'>Save</div>
</div>
<iframe id='demo'></iframe>
<muse-growl id='growl'></muse-growl>
</body>
</html>