-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
381 lines (373 loc) · 9.68 KB
/
index.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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
@import url(range.css);
@font-face {
font-family: "Oswald-Regular";
src: url('Oswald-Regular.ttf');
}
@font-face {
font-family: "Oswald-Light";
src: url('Oswald-Light.ttf');
}
html, body {
margin: 0;
padding: 0;
background: #141E30;
overflow: hidden;
width: 100%;
height: 100%;
display: flex;
align-content: center;
align-items: center;
justify-content: center;
font-family: "Oswald-Light", Calibri, sans-serif;
color: #eee;
/*background-image: linear-gradient(to top, #141E30 0%, #243B55 100%);*/
}
/*background-image: linear-gradient(to top, #09203f 0%, #537895 100%);*/
a {
color: #9fd9ff;
}
a:hover {
color: #ddd;
}
label:hover {
cursor: pointer;
}
.content {
display: flex;
justify-content: flex-start;
align-content: center;
align-items: center;
position: relative;
max-width: 1000px;
}
#canvas {
position: relative;
font-size: 0;
}
@keyframes play-video {
0.01% {
opacity: 0;
visibility: visible;
}
3% {
opacity: 1;
}
98% {
opacity: 1;
}
100% {
opacity: 0;
visibility: hidden;
}
}
#video.play {
animation: play-video 22s;
}
#video {
position: absolute;
left: 40%;
opacity: 0;
visibility: hidden;
}
#video video {
height: 450px;
object-fit: cover;
/*display: none;*/
}
#video .overlay {
top: 0;
width: 100%;
height: 100%;
position: absolute;
background: radial-gradient(closest-side, transparent 70%, #141E30);
}
#volume-control {
/*position: absolute;*/
/*bottom: -20px;*/
}
button, input, optgroup, select, textarea {
margin: 0 4px;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button, input {
overflow: visible;
}
button, select {
text-transform: none;
}
[type=button], [type=reset], [type=submit], button {
-webkit-appearance: button;
}
button, .btn {
display: inline-block;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
color: #eee;
background-color: #007bff;
border: 1px solid #007bff;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
cursor: pointer;
}
button:hover {
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
button:not(:disabled):not(.disabled):active {
color: #fff;
background-color: #0062cc;
border-color: #005cbf;
}
button:focus {
outline: 0;
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
}
button:disabled {
opacity: .6;
color: #fff;
background-color: #007bff;
border-color: #007bff;
cursor: not-allowed;
}
.image-grid {
min-width: 1280px;
position: absolute;
animation: animatedBackground 70s linear infinite;
opacity: .5;
height: 100%;
display: flex;
flex-flow: row wrap;
flex-basis: auto;
flex-grow: 1;
/*justify-content: flex-start;*/
/*align-content: flex-start;*/
justify-content: space-between;
align-content: space-between;
padding: .1vh;
margin: 0 0;
}
.image-grid-item {
display: block;
opacity: .8;
transform: scale(1);
margin: auto;
}
.image-grid-item-container {
list-style: none;
max-width: 120px;
min-width: 60px;
max-height: 120px;
margin: 40px;
overflow: hidden;
display: flex;
}
.image-grid-view {
position: absolute;
pointer-events: none;
width: 100%;
height: 100%;
}
.hero-background {
position: relative;
overflow: hidden;
width: 100%;
/*height: 150%;*/
height: 100%;
/*background-color: #2b2b2b;*/
perspective: 700px;
}
.hero-background-overlay,
.hero-background-stripe {
position: absolute;
background: linear-gradient(to bottom, rgba(49,52,61,0) 0%, rgba(20, 30, 48, 0.9) 50%, #141E30 100%);
/*height: 150%;*/
height: 100%;
width: 100%;
top: 0;
}
.hero-background-stripe {
transform: skewX(80deg);
}
@keyframes animatedBackground {
0% {
opacity: 0;
transform: scale(1.25) rotateX(20deg) translateX(-10px) translateY(0)
}
5% {
opacity: 0.5;
}
97% {
opacity: 0.5;
}
100% {
opacity: 0;
transform: scale(1.25) rotateX(25deg) translateX(0px) translateY(-85%)
}
}
.animation-paused {
animation-play-state: paused;
}
#wheel-data-sets {
padding-bottom: 10px;
position: absolute;
bottom: 10px;
color: #ccc;
display: flex;
flex-wrap: wrap;
width: 80%;
justify-content: space-between;
user-select: none;
line-height: 24px;
}
#wheel-data-sets * {
vertical-align: middle;
}
#wheel-data-sets a {
color: #ccc;
}
#wheel-data-sets a:hover {
color: #eee;
}
#wheel-data-sets .break {
flex-basis: 100%;
height: 14px;
}
#wheel-data-sets label {
margin-right: 32px;
}
#wheel-data-sets #scrooge + label {
margin-right: 0;
}
.dialog {
position: absolute;
left: 50%;
top: 50%;
margin: -25%;
min-width: 250px;
background-color: #141E30;
padding: 10px;
border-radius: .25rem;
border: 2px solid #1c3b55;
text-align: center;
display: none;
z-index: 10; /* keep on top of other elements on the page */
outline: 9999px solid rgba(0,0,0,0.5);
}
.dialog textarea {
background-color: #1c3b55;
color: #eee;
}
.dialog .options {
max-height: 300px;
text-align: left;
overflow-y: scroll;
}
.dialog .options label {
line-height: 1.4em;
}
.dialog hr {
width: 50%;
border-style: dashed;
border-width: 1px 0 0 0;
}
.dialog .presets {
text-align: left;
}
.dialog .presets a {
text-decoration: none;
border-bottom: 1px dotted;
}
.dialog .options::-webkit-scrollbar-track,
.dialog textarea::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #9ed9ff;
}
.dialog .options::-webkit-scrollbar,
.dialog textarea::-webkit-scrollbar
{
width: 6px;
background-color: #9ed9ff;
}
.dialog .options::-webkit-scrollbar-thumb,
.dialog textarea::-webkit-scrollbar-thumb
{
background-color: #000000;
}
#sources,
#video-suggest,
#btn-edit {
display: inline-block;
width: 24px;
height: 24px;
background-size: 100%;
background-color: transparent;
}
#sources,
#video-suggest {
opacity: 0.4;
}
#sources {
background-image: url("data:image/svg+xml,<svg fill='%23eee' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.9,2.1c-4.6,0.5-8.3,4.2-8.8,8.7c-0.6,5,2.5,9.3,6.9,10.7v-2.3c0,0-0.4,0.1-0.9,0.1c-1.4,0-2-1.2-2.1-1.9 c-0.1-0.4-0.3-0.7-0.6-1C5.1,16.3,5,16.3,5,16.2C5,16,5.3,16,5.4,16c0.6,0,1.1,0.7,1.3,1c0.5,0.8,1.1,1,1.4,1c0.4,0,0.7-0.1,0.9-0.2 c0.1-0.7,0.4-1.4,1-1.8c-2.3-0.5-4-1.8-4-4c0-1.1,0.5-2.2,1.2-3C7.1,8.8,7,8.3,7,7.6C7,7.2,7,6.6,7.3,6c0,0,1.4,0,2.8,1.3 C10.6,7.1,11.3,7,12,7s1.4,0.1,2,0.3C15.3,6,16.8,6,16.8,6C17,6.6,17,7.2,17,7.6c0,0.8-0.1,1.2-0.2,1.4c0.7,0.8,1.2,1.8,1.2,3 c0,2.2-1.7,3.5-4,4c0.6,0.5,1,1.4,1,2.3v3.3c4.1-1.3,7-5.1,7-9.5C22,6.1,16.9,1.4,10.9,2.1z'/></svg>");
}
#video-suggest {
/* <div>Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div> */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cdefs class='undefined'%3E%3Cstyle type='text/css'%3E .undefined%7B fill: %23ccc; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M47 31c-7.2 0-13 5.8-13 13s5.8 13 13 13 13-5.8 13-13S54.2 31 47 31zM47 55c-6.1 0-11-4.9-11-11s4.9-11 11-11 11 4.9 11 11S53.1 55 47 55z' class='undefined'/%3E%3Cpath d='M53 43h-5v-5c0-0.6-0.4-1-1-1s-1 0.4-1 1v5h-5c-0.6 0-1 0.4-1 1s0.4 1 1 1h5v5c0 0.6 0.4 1 1 1s1-0.4 1-1v-5h5c0.6 0 1-0.4 1-1S53.6 43 53 43z' class='undefined'/%3E%3Cpath d='M47 28c0.3 0 0.7 0 1 0.1V27h8v3.8c0.7 0.5 1.4 1 2 1.6V4c0-0.6-0.4-1-1-1H1C0.4 3 0 3.4 0 4v44c0 0.6 0.4 1 1 1h30.8C31.3 47.4 31 45.7 31 44 31 35.2 38.2 28 47 28zM48 5h8v9h-8V5zM48 16h8v9h-8V16zM10 47H2v-9h8V47zM10 36H2v-9h8V36zM10 25H2v-9h8V25zM10 14H2V5h8V14zM25 34c-0.2 0-0.3 0-0.5-0.1C24.2 33.7 24 33.4 24 33V19c0-0.4 0.2-0.7 0.5-0.9 0.3-0.2 0.7-0.2 1 0l11 7C36.8 25.3 37 25.7 37 26s-0.2 0.7-0.5 0.8l-11 7C25.4 33.9 25.2 34 25 34z' class='undefined'/%3E%3C/svg%3E ");
}
#sources:hover,
#video-suggest:hover {
opacity: 1;
}
#btn-edit {
border: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 20 20'%3E%3Cpath fill='%23ccc' stroke='%23557' stroke-linecap='square' stroke-linejoin='bevel' d='M10.005 1.005c-.467 0-.934.06-1.381.128-.071 1.146-.251 2.265-1.202 2.659-.953.394-1.847-.286-2.71-1.049a9.163 9.163 0 00-1.994 1.97c.765.864 1.47 1.754 1.074 2.71-.396.954-1.534 1.13-2.685 1.201a8.98 8.98 0 00-.102 1.38c0 .479.03.95.102 1.407 1.151.07 2.29.196 2.685 1.15.395.956-.309 1.897-1.074 2.762.548.748 1.245 1.396 1.994 1.943.86-.759 1.76-1.416 2.71-1.023.955.396 1.131 1.508 1.202 2.66a9.19 9.19 0 002.736 0c.07-1.152.247-2.264 1.201-2.66.95-.393 1.85.264 2.71 1.023.75-.547 1.446-1.195 1.995-1.943-.766-.865-1.47-1.806-1.074-2.761.395-.955 1.559-1.08 2.71-1.151.072-.458.102-.928.102-1.406 0-.472-.032-.929-.102-1.381-1.151-.07-2.315-.247-2.71-1.202-.396-.955.308-1.845 1.074-2.71a9.165 9.165 0 00-1.994-1.969c-.863.763-1.758 1.443-2.71 1.049-.951-.394-1.131-1.513-1.202-2.66a8.848 8.848 0 00-1.355-.127zm0 6.06c1.626 0 2.94 1.314 2.94 2.94s-1.314 2.94-2.94 2.94-2.966-1.314-2.966-2.94 1.34-2.94 2.966-2.94z' color='%23000'%2F%3E%3C%2Fsvg%3E");
margin: 0 0 0 -24px;
}
@media (min-width: 2400px) {
.image-grid-item-container {
overflow: visible;
margin: 80px;
}
.image-grid-item {
transform: scale(1.4);
}
}
#item-image {
position: absolute;
width: 40%;
height: 100%;
display: flex;
align-items: center;
user-select: none;
}
#item-image .arc {
position: absolute;
background: url(images/arc.png) no-repeat 60px center;
height: 100%;
width: 200px;
}
#item-image img {
width: 90px;
height: 90px;
filter: drop-shadow(0 0 2px #aaa);
}
#btn-edit.hide {
display: none;
}