-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (97 loc) · 2.82 KB
/
index.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
94
95
96
97
98
<html>
<head>
<style>
body {
font-family: system-ui;
background: #333333;
color: white;
text-align: center;
width: 100%;
height: 100%;
background-image: url('images/background.jpg');
background-size: cover;
}
#hud-container {
position: absolute;
left: 0;
right: 0;
bottom: 24px;
margin: 0 auto;
backdrop-filter: blur(5px);
}
.hud {
position: relative;
display: inline-block;
list-style-type: none;
padding: 0;
margin: 0;
background-color:rgba(255, 255, 255, 0.3);
border-radius: 6px;
padding: 0 8px;
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
-moz-backdrop-filter: blur(32px);
transition: all .2s ease-in-out;
cursor: pointer;
}
.hud:hover {
transform: scale(1.02) translateZ(0);
background-color:rgba(255, 255, 255, 0.5);
}
.hud li {
float: left;
padding: 4px;
transition: all .2s ease-in-out;
}
.hud li:hover {
transform: scale(1.15) translateZ(0);
}
.hud li a {
display: block;
width: 32px;
height: 32px;
background-size: 32px 32px;
background-repeat: none;
-webkit-filter: drop-shadow(0px 1px 0px rgba(0,0,0,0.5));
-moz-filter: drop-shadow(0px 1px 0px rgba(0,0,0,0.5));
filter: drop-shadow(0px 1px 0px rgba(0,0,0,0.5));
}
.hud .hud-user {
border-radius: 2px;
}
.hud .hud-user img {
margin-top: 5px;
width: 20px;
height: 20px;
border-radius: 2px;
border: 1px solid white;
}
.hud .hud-microphone { background-image: url('images/icon-microphone.svg'); }
.hud .hud-screenshare { background-image: url('images/icon-screenshare.svg'); }
.hud .hud-add { background-image: url('images/icon-add.svg'); }
.hud .hud-settings { background-image: url('images/icon-settings.svg'); }
.hud .hud-exit { background-image: url('images/icon-exit.svg'); }
.hud .hud-divider {
width: 1px;
height: 18px;
background: #fff;
padding: 0;
margin: 10px 8px;
border-bottom: 1px solid #000;
}
</style>
</head>
<body>
<div id="hud-container">
<ul class="hud">
<li><a href="#" class="hud-user"><img src="images/icon-user.png" /></a></li>
<li><a href="#" class="hud-microphone"></a></li>
<li><a href="#" class="hud-screenshare"></a></li>
<li><a href="#" class="hud-add"></a></li>
<li><a href="#" class="hud-exit"></a></li>
<li class="hud-divider"></li>
<li><a href="#" class="hud-settings"></a></li>
</ul>
</div>
</body>
</htmk>