-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebvr.css
More file actions
162 lines (140 loc) · 2.69 KB
/
webvr.css
File metadata and controls
162 lines (140 loc) · 2.69 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
html, body {
background-color: #000;
font-size: 16px;
overflow: hidden;
/* NOTE: Don't use `-apple-system` at the head of a shorthand font declaration.
See https://booking.design/implementing-system-fonts-on-booking-com-a-lesson-learned-bdc984df627f for more info. */
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
html, body, #canvas, #loader {
height: 100%;
left: 0;
margin: 0;
padding: 0;
top: 0;
width: 100%;
}
a:link, a:visited {
color: #198EFB;
}
#loader {
background: #2C3146;
}
[data-unity-loaded='true'] #loader {
display: none;
}
#progress {
bottom: 0;
height: 80px;
position: absolute;
width: 0;
}
.loading {
align-items: center;
color: #fff;
display: flex;
font-size: 50px;
font-weight: light;
height: 100%;
justify-content: center;
}
/* loading dots */
.loading:after {
content: ' .';
animation: dots 2s steps(5, end) infinite;
}
@keyframes dots {
0%, 20% {
color: rgba(0,0,0,0);
text-shadow:
.25em 0 0 rgba(0,0,0,0),
.5em 0 0 rgba(0,0,0,0);
}
40% {
color: #fff;
text-shadow:
.25em 0 0 rgba(0,0,0,0),
.5em 0 0 rgba(0,0,0,0);
}
60% {
text-shadow:
.25em 0 0 #fff,
.5em 0 0 rgba(0,0,0,0);
}
80%, 100% {
text-shadow:
.25em 0 0 #fff,
.5em 0 0 #fff;
}
}
#canvas {
display: block;
position: absolute;
z-index: 0;
}
#vr {
position: absolute;
display: flex;
right: 30px;
bottom: 30px;
}
#status {
display: none;
background: #fff;
margin-right: 15px;
padding: 10px;
}
[data-unity-loaded='true'] #status[data-enabled='true'] {
display: block;
}
#vr button {
border: none;
}
#entervr {
background: #fff url(../vr.png) center no-repeat;
background-size: 80%;
cursor: pointer;
display: none;
height: 100px;
width: 100px;
}
[data-unity-loaded='true'] #entervr[data-enabled='true'] {
display: block;
}
#progress,
#entervr:hover,
#instruction button {
background-color: #198EFB;
}
#instruction {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
position: absolute;
top: 0;
width: 100%;
pointer-events: none;
}
#instruction button {
color: #fff;
cursor: pointer;
font-size: 25px;
padding: 15px 20px;
}
#icons {
display: flex;
}
.panel {
background: #fff;
display: none;
max-width: 50%;
padding: 10px 30px;
pointer-events: all;
}
.panel[data-enabled='true'] {
display: block;
}
.center {
text-align: center;
}