forked from luiscuenca/Spatial-Audio-API-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
134 lines (133 loc) · 2.35 KB
/
style.css
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
body {
height: 95vh;
width: 100vw; /* Don't wiggle on mobile when moving around */
}
map {
height: 100%;
width: 100%;
display: block;
}
map, picture {
background-size: cover;
background-position: center;
}
avatar {
height: 100px;
width: 100px;
border-radius: 50%;
position: absolute;
background-color: transparent;
}
arms, volume, picture {
height: 100%;
width: 100%;
}
arms, reach {
position: relative;
display: block;
}
reach {
border-radius: 50%;
height: 200px;
width: 200px;
transform: translate(-50px, 0);
}
volume, picture {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
}
volume {
box-shadow: 0 0 10px black, 0 0 5px black;
transition: height 100ms, width 100ms;
}
nameDisplay, avatar button, self, countdown {
margin: 0;
padding: 0;
text-align: center;
color: white;
text-shadow: 0 0 10px black, 0 0 5px black;
position: absolute;
background-color: transparent;
}
nameDisplay {
left: 50%;
transform: translate(-50%, 0);
top: 10px;
min-width: 80%;
}
self {
top: 30%;
width: 100%;
}
self i {
position: relative;
top: 4px;
}
avatar button {
border: none;
bottom: 10px;
left: 5px;
}
avatar button.disabled {
color: grey;
text-shadow: none;
}
countdown {
display: none;
bottom: 4px;
left: 22px;
}
countdown.counting {
display: inline-block;
}
micControls {
width: 45px;
height: 130px;
display: block;
position: fixed;
right: 10px;
top: 15px;
}
micControls button {
display: block;
margin: 0;
}
volumeMeter {
width: 25px;
height: 100px;
display: block;
}
segment {
width: 100%;
height: 8px;
display: block;
border: 2px solid black;
border-bottom: 0;
opacity: 50%;
}
segment.v1 { border-bottom: 2px solid black; }
.v10, .v9 { background-color: red; }
.v8, .v7 { background-color: orange; }
.v6, .v5, .v4 { background-color: green; }
.v3, .v2, .v1 { background-color: grey; }
micControls input {
position: relative;
transform: rotate(-90deg);
width: 100px;
right: 16px;
bottom: 55px;
}
micControls.muted button.mute,
micControls:not(.muted) button.unmute,
.hidden {
display: none;
}
lobby, room {
display: block;
}
total, concurrency {
display: inline;
}