-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
92 lines (88 loc) · 1.4 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<title>Example UI</title>
<style type="text/css">
#container{
overflow: hidden;
margin: 0;
padding: 0;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 10;
}
body{
background-color: black;
overflow: hidden
}
#overlay > *{
background-color: gray;
position: absolute;
width: 200px;
}
#overlay > * > h2{
background-color: #999;
}
#overlay{
position: fixed;
left: 0;
top: 0;
z-index: 20;
}
#lightbox-backing{
display: block;
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
z-index: 30;
background: rgba(0,0,0,0.7);
}
#lightbox-backing:empty {
background: blue;
display: none;
}
#lightbox{
position: fixed;
top: 50%;
left: 50%;
background: white;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
}
.hidden { display: none !important; visibility: hidden; }
</style>
</head>
<body>
<div id='lightbox-backing'><div id='lightbox'>
<p>name:</p>
<input type='text'>
</div></div>
<div id="overlay">
<aside>
<h2></h2>
<h3></h3>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
<input type="file" accept="image/*">
<input type='color'>
<input type='number'>
<h3></h3>
<ul>
<li></li>
<li></li>
</ul>
</aside>
</div>
<script type="text/javascript">
</script>
</body>
</html>