|
a |
|
b/modules/HTTPRequest/playground/styles.css |
|
|
1 |
/* Copyright 2016 Google Inc. All Rights Reserved. |
|
|
2 |
|
|
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
4 |
you may not use this file except in compliance with the License. |
|
|
5 |
You may obtain a copy of the License at |
|
|
6 |
|
|
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
8 |
|
|
|
9 |
Unless required by applicable law or agreed to in writing, software |
|
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
12 |
See the License for the specific language governing permissions and |
|
|
13 |
limitations under the License. |
|
|
14 |
==============================================================================*/ |
|
|
15 |
|
|
|
16 |
/* General Type */ |
|
|
17 |
|
|
|
18 |
body { |
|
|
19 |
font-family: "Helvetica", "Arial", sans-serif; |
|
|
20 |
background-color: #f7f7f7; |
|
|
21 |
} |
|
|
22 |
|
|
|
23 |
h1 { |
|
|
24 |
font-size: 34px; |
|
|
25 |
} |
|
|
26 |
|
|
|
27 |
header h1 { |
|
|
28 |
line-height: 1.45em; |
|
|
29 |
font-weight: 300; |
|
|
30 |
color: rgba(255, 255, 255, 0.7); |
|
|
31 |
} |
|
|
32 |
|
|
|
33 |
h1 b { |
|
|
34 |
font-weight: 400; |
|
|
35 |
color: rgba(255, 255, 255, 1); |
|
|
36 |
} |
|
|
37 |
|
|
|
38 |
h2 { |
|
|
39 |
margin: 5px 0; |
|
|
40 |
font-weight: 300; |
|
|
41 |
font-size: 18px; |
|
|
42 |
} |
|
|
43 |
|
|
|
44 |
h3 { |
|
|
45 |
margin: 10px 0; |
|
|
46 |
} |
|
|
47 |
|
|
|
48 |
p a { |
|
|
49 |
color: #0D658C; |
|
|
50 |
} |
|
|
51 |
div.relative{ |
|
|
52 |
position: relative; |
|
|
53 |
top: 500px; |
|
|
54 |
} |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
/* PLOT COLUMNS */ |
|
|
58 |
.MDS { |
|
|
59 |
float: left; |
|
|
60 |
width: 45%; |
|
|
61 |
padding-top: 100px; |
|
|
62 |
padding-left: 100px; |
|
|
63 |
padding-bottom: 100px; |
|
|
64 |
|
|
|
65 |
} |
|
|
66 |
.otherPlot { |
|
|
67 |
float: left; |
|
|
68 |
width: 40%; |
|
|
69 |
padding-top: 100px; |
|
|
70 |
padding-right: 100px; |
|
|
71 |
padding-bottom: 100px; |
|
|
72 |
} |
|
|
73 |
.plots:after { |
|
|
74 |
content: ""; |
|
|
75 |
display: table; |
|
|
76 |
clear: both; |
|
|
77 |
} |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
/* TABS */ |
|
|
82 |
/* Style the tab */ |
|
|
83 |
.tab { |
|
|
84 |
overflow: hidden; |
|
|
85 |
border: 1px solid #ccc; |
|
|
86 |
background-color: #1A3D4D; |
|
|
87 |
} |
|
|
88 |
|
|
|
89 |
/* Style the buttons that are used to open the tab content */ |
|
|
90 |
.tab button { |
|
|
91 |
background-color: #1A3D4D; |
|
|
92 |
float: left; |
|
|
93 |
border: none; |
|
|
94 |
color: white; |
|
|
95 |
outline: none; |
|
|
96 |
cursor: pointer; |
|
|
97 |
padding: 14px 16px; |
|
|
98 |
transition: 0.3s; |
|
|
99 |
|
|
|
100 |
} |
|
|
101 |
|
|
|
102 |
/* Change background color of buttons on hover */ |
|
|
103 |
.tab button:hover { |
|
|
104 |
background-color: #F8BB7F; |
|
|
105 |
} |
|
|
106 |
|
|
|
107 |
/* Create an active/current tablink class */ |
|
|
108 |
.tab button.active { |
|
|
109 |
background-color: #ccc; |
|
|
110 |
} |
|
|
111 |
|
|
|
112 |
/* Style the tab content */ |
|
|
113 |
.tabcontent { |
|
|
114 |
display: none; |
|
|
115 |
padding: 6px 12px; |
|
|
116 |
border: 1px solid #ccc; |
|
|
117 |
border-top: none; |
|
|
118 |
} |
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
/* Layout */ |
|
|
124 |
|
|
|
125 |
body { |
|
|
126 |
margin: 0; |
|
|
127 |
max-width: 100%; |
|
|
128 |
overflow-x: hidden; |
|
|
129 |
} |
|
|
130 |
|
|
|
131 |
.l--body { |
|
|
132 |
width: 550px; |
|
|
133 |
margin-left: auto; |
|
|
134 |
margin-right: auto; |
|
|
135 |
} |
|
|
136 |
|
|
|
137 |
.l--page { |
|
|
138 |
width: 944px; |
|
|
139 |
margin-left: auto; |
|
|
140 |
margin-right: auto; |
|
|
141 |
} |
|
|
142 |
|
|
|
143 |
@media (min-width: 1180px) { |
|
|
144 |
.l--page { |
|
|
145 |
width: 1100px; |
|
|
146 |
} |
|
|
147 |
} |
|
|
148 |
|
|
|
149 |
@media (min-width: 1400px) { |
|
|
150 |
.l--page { |
|
|
151 |
width: 1220px; |
|
|
152 |
} |
|
|
153 |
} |
|
|
154 |
|
|
|
155 |
/* Buttons */ |
|
|
156 |
|
|
|
157 |
#main-part .mdl-button { |
|
|
158 |
background-color: rgba(158,158,158,.1); |
|
|
159 |
width: 28px; |
|
|
160 |
height: 28px; |
|
|
161 |
min-width: 28px; |
|
|
162 |
} |
|
|
163 |
|
|
|
164 |
#main-part .mdl-button:hover { |
|
|
165 |
background-color: rgba(158,158,158,.3); |
|
|
166 |
} |
|
|
167 |
|
|
|
168 |
#main-part .mdl-button:focus:not(:active) { |
|
|
169 |
background-color: rgba(158,158,158,.4); |
|
|
170 |
} |
|
|
171 |
|
|
|
172 |
#main-part .mdl-button:active { |
|
|
173 |
background-color: rgba(158,158,158,.5); |
|
|
174 |
} |
|
|
175 |
|
|
|
176 |
#main-part .mdl-button .material-icons { |
|
|
177 |
font-size: 20px; |
|
|
178 |
color: rgba(0, 0, 0, 0.7); |
|
|
179 |
} |
|
|
180 |
|
|
|
181 |
|
|
|
182 |
.button { |
|
|
183 |
cursor: pointer; |
|
|
184 |
display: -webkit-box; |
|
|
185 |
display: -moz-box; |
|
|
186 |
display: -ms-flexbox; |
|
|
187 |
display: -webkit-flex; |
|
|
188 |
display: flex; |
|
|
189 |
align-items: center; |
|
|
190 |
-webkit-justify-content: center; |
|
|
191 |
justify-content: center; |
|
|
192 |
width: 24px; |
|
|
193 |
height: 24px; |
|
|
194 |
font-size: 18px; |
|
|
195 |
border-radius: 50%; |
|
|
196 |
margin: 0 1px; |
|
|
197 |
background-color: rgba(0,0,0,0.05); |
|
|
198 |
outline: none; |
|
|
199 |
border: none; |
|
|
200 |
padding: 0; |
|
|
201 |
color: #666; |
|
|
202 |
transition: background-color 0.3s, color 0.3s; |
|
|
203 |
} |
|
|
204 |
|
|
|
205 |
.button:hover { |
|
|
206 |
background-color: rgba(0,0,0,0.1); |
|
|
207 |
|
|
|
208 |
} |
|
|
209 |
|
|
|
210 |
.button:active { |
|
|
211 |
background-color: rgba(0,0,0,0.15); |
|
|
212 |
color: #333; |
|
|
213 |
} |
|
|
214 |
|
|
|
215 |
.button i { |
|
|
216 |
font-size: 16px; |
|
|
217 |
} |
|
|
218 |
|
|
|
219 |
.hide-button { |
|
|
220 |
cursor: pointer; |
|
|
221 |
padding: 6px 4px 8px 4px; |
|
|
222 |
border-left: 1px solid #2c2c2c; |
|
|
223 |
border-bottom: 1px solid #2c2c2c; |
|
|
224 |
position: fixed; |
|
|
225 |
right: 0px; |
|
|
226 |
background: #1a1a1a; |
|
|
227 |
color: #eee; |
|
|
228 |
font: 11px 'Lucida Grande', sans-serif; |
|
|
229 |
display: table; |
|
|
230 |
} |
|
|
231 |
|
|
|
232 |
/* Header */ |
|
|
233 |
|
|
|
234 |
.github-link { |
|
|
235 |
width: 60px; |
|
|
236 |
height: 60px; |
|
|
237 |
position: absolute; |
|
|
238 |
display: block; |
|
|
239 |
top: 0; |
|
|
240 |
right: 0; |
|
|
241 |
z-index: 1000; |
|
|
242 |
} |
|
|
243 |
|
|
|
244 |
.github-link .bg { |
|
|
245 |
fill: #fff; |
|
|
246 |
fill-opacity: 0.2; |
|
|
247 |
} |
|
|
248 |
|
|
|
249 |
.github-link:hover .bg { |
|
|
250 |
fill-opacity: 0.3; |
|
|
251 |
} |
|
|
252 |
|
|
|
253 |
.github-link .icon { |
|
|
254 |
fill: #fff; |
|
|
255 |
fill-opacity: 0.6; |
|
|
256 |
} |
|
|
257 |
|
|
|
258 |
.github-link:hover .icon { |
|
|
259 |
fill-opacity: 0.7; |
|
|
260 |
} |
|
|
261 |
|
|
|
262 |
header { |
|
|
263 |
border-bottom: solid 1px rgba(0,0,0,0.4); |
|
|
264 |
background-color: #183D4E; |
|
|
265 |
color: white; |
|
|
266 |
overflow: hidden; |
|
|
267 |
box-shadow: 0 2px 4px rgba(0,0,0,0.2); |
|
|
268 |
position: relative; |
|
|
269 |
} |
|
|
270 |
|
|
|
271 |
header h1 { |
|
|
272 |
font-size: 30px; |
|
|
273 |
text-align: center; |
|
|
274 |
margin-top: 30px; |
|
|
275 |
margin-bottom: 30px; |
|
|
276 |
-webkit-font-smoothing: antialiased; |
|
|
277 |
} |
|
|
278 |
|
|
|
279 |
header h1 .optional { |
|
|
280 |
display: none; |
|
|
281 |
} |
|
|
282 |
|
|
|
283 |
@media (min-width: 1064px) { |
|
|
284 |
header h1 .optional { |
|
|
285 |
display: inline; |
|
|
286 |
} |
|
|
287 |
} |
|
|
288 |
|
|
|
289 |
@media (min-height: 700px) { |
|
|
290 |
header h1 { |
|
|
291 |
margin-top: 40px; |
|
|
292 |
margin-bottom: 40px; |
|
|
293 |
} |
|
|
294 |
} |
|
|
295 |
|
|
|
296 |
@media (min-height: 800px) { |
|
|
297 |
header h1 { |
|
|
298 |
font-size: 34px; |
|
|
299 |
margin-top: 60px; |
|
|
300 |
margin-bottom: 60px; |
|
|
301 |
} |
|
|
302 |
} |
|
|
303 |
|
|
|
304 |
/* Top Controls */ |
|
|
305 |
|
|
|
306 |
#top-controls { |
|
|
307 |
border-bottom: 1px solid #ddd; |
|
|
308 |
padding: 18px 0; |
|
|
309 |
box-shadow: 0 1px 4px rgba(0,0,0,0.08); |
|
|
310 |
background: white; |
|
|
311 |
} |
|
|
312 |
|
|
|
313 |
@media (min-height: 700px) { |
|
|
314 |
#top-controls { |
|
|
315 |
padding: 24px 0; |
|
|
316 |
} |
|
|
317 |
} |
|
|
318 |
|
|
|
319 |
#top-controls .container { |
|
|
320 |
display: -webkit-box; |
|
|
321 |
display: -moz-box; |
|
|
322 |
display: -ms-flexbox; |
|
|
323 |
display: -webkit-flex; |
|
|
324 |
display: flex; |
|
|
325 |
-webkit-justify-content: space-betweenspace-between; |
|
|
326 |
justify-content: space-between; |
|
|
327 |
} |
|
|
328 |
|
|
|
329 |
#top-controls .timeline-controls { |
|
|
330 |
display: -webkit-box; |
|
|
331 |
display: -moz-box; |
|
|
332 |
display: -ms-flexbox; |
|
|
333 |
display: -webkit-flex; |
|
|
334 |
display: flex; |
|
|
335 |
align-items: center; |
|
|
336 |
margin-right: 20px; |
|
|
337 |
width: 140px; |
|
|
338 |
} |
|
|
339 |
|
|
|
340 |
#play-pause-button .material-icons { |
|
|
341 |
color: white; |
|
|
342 |
font-size: 36px; |
|
|
343 |
transform: translate(-18px,-12px); |
|
|
344 |
} |
|
|
345 |
|
|
|
346 |
|
|
|
347 |
#play-pause-button .material-icons:nth-of-type(2) { |
|
|
348 |
display: none; |
|
|
349 |
} |
|
|
350 |
|
|
|
351 |
#play-pause-button.playing .material-icons:nth-of-type(1) { |
|
|
352 |
display: none; |
|
|
353 |
} |
|
|
354 |
|
|
|
355 |
#play-pause-button.playing .material-icons:nth-of-type(2) { |
|
|
356 |
display: inherit; |
|
|
357 |
} |
|
|
358 |
|
|
|
359 |
#top-controls .control { |
|
|
360 |
flex-grow: 1; |
|
|
361 |
max-width: 180px; |
|
|
362 |
min-width: 110px; |
|
|
363 |
margin-left: 30px; |
|
|
364 |
margin-top: 6px; |
|
|
365 |
} |
|
|
366 |
|
|
|
367 |
#top-controls .control .label, |
|
|
368 |
#top-controls .control label { |
|
|
369 |
color: #777; |
|
|
370 |
font-size: 13px; |
|
|
371 |
display: block; |
|
|
372 |
margin-bottom: 6px; |
|
|
373 |
font-weight: 300; |
|
|
374 |
} |
|
|
375 |
|
|
|
376 |
#top-controls .control .value { |
|
|
377 |
font-size: 24px; |
|
|
378 |
margin: 0; |
|
|
379 |
font-weight: 300; |
|
|
380 |
} |
|
|
381 |
|
|
|
382 |
#top-controls .control .select { |
|
|
383 |
position: relative; |
|
|
384 |
} |
|
|
385 |
|
|
|
386 |
#top-controls .control select { |
|
|
387 |
-webkit-appearance: none; |
|
|
388 |
-moz-appearance: none; |
|
|
389 |
appearance: none; |
|
|
390 |
display: block; |
|
|
391 |
background: none; |
|
|
392 |
border: none; |
|
|
393 |
border-radius: 0; |
|
|
394 |
padding: 6px 0; |
|
|
395 |
width: 100%; |
|
|
396 |
font-size: 14px; |
|
|
397 |
border-bottom: solid 1px #ccc; |
|
|
398 |
color: #333; |
|
|
399 |
outline: none; |
|
|
400 |
} |
|
|
401 |
|
|
|
402 |
#top-controls .control select:focus { |
|
|
403 |
border-bottom-color: #183D4E; |
|
|
404 |
} |
|
|
405 |
|
|
|
406 |
#top-controls .control .select::after { |
|
|
407 |
class: "material-icons"; |
|
|
408 |
content: "arrow_drop_down"; |
|
|
409 |
color: #999; |
|
|
410 |
font-family: 'Material Icons'; |
|
|
411 |
font-weight: normal; |
|
|
412 |
font-style: normal; |
|
|
413 |
font-size: 18px; |
|
|
414 |
line-height: 1; |
|
|
415 |
letter-spacing: normal; |
|
|
416 |
text-transform: none; |
|
|
417 |
display: inline-block; |
|
|
418 |
white-space: nowrap; |
|
|
419 |
word-wrap: normal; |
|
|
420 |
direction: ltr; |
|
|
421 |
position: absolute; |
|
|
422 |
right: 0; |
|
|
423 |
top: 6px; |
|
|
424 |
pointer-events: none; |
|
|
425 |
} |
|
|
426 |
|
|
|
427 |
/* Hover card */ |
|
|
428 |
#hovercard { |
|
|
429 |
display: none; |
|
|
430 |
position: absolute; |
|
|
431 |
padding: 5px; |
|
|
432 |
border: 1px solid #aaa; |
|
|
433 |
z-index: 1000; |
|
|
434 |
background: #fff; |
|
|
435 |
cursor: default; |
|
|
436 |
border-radius: 5px; |
|
|
437 |
left: 240px; |
|
|
438 |
width: 150px; |
|
|
439 |
top: -20px; |
|
|
440 |
} |
|
|
441 |
|
|
|
442 |
#hovercard input { |
|
|
443 |
width: 60px; |
|
|
444 |
} |
|
|
445 |
|
|
|
446 |
/* Main Part*/ |
|
|
447 |
|
|
|
448 |
#main-part { |
|
|
449 |
display: -webkit-box; |
|
|
450 |
display: -moz-box; |
|
|
451 |
display: -ms-flexbox; |
|
|
452 |
display: -webkit-flex; |
|
|
453 |
display: flex; |
|
|
454 |
-webkit-justify-content: space-between; |
|
|
455 |
justify-content: space-between; |
|
|
456 |
margin-top: 30px; |
|
|
457 |
margin-bottom: 50px; |
|
|
458 |
padding-top: 2px; |
|
|
459 |
position: relative; |
|
|
460 |
} |
|
|
461 |
|
|
|
462 |
@media (min-height: 700px) { |
|
|
463 |
#main-part { |
|
|
464 |
margin-top: 50px; |
|
|
465 |
} |
|
|
466 |
} |
|
|
467 |
|
|
|
468 |
#main-part h4 { |
|
|
469 |
display: -webkit-box; |
|
|
470 |
display: -moz-box; |
|
|
471 |
display: -ms-flexbox; |
|
|
472 |
display: -webkit-flex; |
|
|
473 |
display: flex; |
|
|
474 |
align-items: center; |
|
|
475 |
font-weight: 400; |
|
|
476 |
font-size: 16px; |
|
|
477 |
text-transform: uppercase; |
|
|
478 |
position: relative; |
|
|
479 |
padding-bottom: 8px; |
|
|
480 |
margin: 0; |
|
|
481 |
line-height: 1.4em; |
|
|
482 |
} |
|
|
483 |
|
|
|
484 |
#main-part p, |
|
|
485 |
#main-part .column .label, |
|
|
486 |
#main-part .column label { |
|
|
487 |
font-weight: 300; |
|
|
488 |
line-height: 1.38em; |
|
|
489 |
margin: 0; |
|
|
490 |
color: #777; |
|
|
491 |
font-size: 13px; |
|
|
492 |
} |
|
|
493 |
|
|
|
494 |
.more { |
|
|
495 |
position: absolute; |
|
|
496 |
left: 50%; |
|
|
497 |
} |
|
|
498 |
|
|
|
499 |
.more button { |
|
|
500 |
position: absolute; |
|
|
501 |
left: -28px; |
|
|
502 |
top: -28px; |
|
|
503 |
background: white; |
|
|
504 |
} |
|
|
505 |
|
|
|
506 |
.more button:hover, |
|
|
507 |
.more button:active, |
|
|
508 |
.more button:focus, |
|
|
509 |
.more button:focus:not(:active) { |
|
|
510 |
background: white; |
|
|
511 |
} |
|
|
512 |
|
|
|
513 |
svg text { |
|
|
514 |
dominant-baseline: middle; |
|
|
515 |
} |
|
|
516 |
|
|
|
517 |
canvas { |
|
|
518 |
display: block; |
|
|
519 |
} |
|
|
520 |
|
|
|
521 |
.link { |
|
|
522 |
fill: none; |
|
|
523 |
stroke: #aaa; |
|
|
524 |
stroke-width: 1; |
|
|
525 |
} |
|
|
526 |
|
|
|
527 |
g.column rect { |
|
|
528 |
stroke: none; |
|
|
529 |
} |
|
|
530 |
|
|
|
531 |
#heatmap { |
|
|
532 |
position: relative; |
|
|
533 |
float: left; |
|
|
534 |
margin-top: 10px; |
|
|
535 |
} |
|
|
536 |
|
|
|
537 |
#heatmap .tick line { |
|
|
538 |
stroke: #ddd; |
|
|
539 |
} |
|
|
540 |
|
|
|
541 |
#heatmap .tick text { |
|
|
542 |
fill: #bbb; |
|
|
543 |
dominant-baseline: auto; |
|
|
544 |
} |
|
|
545 |
|
|
|
546 |
#heatmap .tick:nth-child(7) text { |
|
|
547 |
fill: #333; |
|
|
548 |
} |
|
|
549 |
|
|
|
550 |
#heatmap .tick:nth-child(7) line { |
|
|
551 |
stroke: #999; |
|
|
552 |
} |
|
|
553 |
|
|
|
554 |
/* Data column */ |
|
|
555 |
|
|
|
556 |
.vcenter { |
|
|
557 |
display: -webkit-box; |
|
|
558 |
display: -moz-box; |
|
|
559 |
display: -ms-flexbox; |
|
|
560 |
display: -webkit-flex; |
|
|
561 |
display: flex; |
|
|
562 |
align-items: center; |
|
|
563 |
} |
|
|
564 |
|
|
|
565 |
.data.column { |
|
|
566 |
width: 10%; |
|
|
567 |
} |
|
|
568 |
|
|
|
569 |
.data.column .dataset-list { |
|
|
570 |
margin: 20px 0 10px; |
|
|
571 |
overflow: hidden; |
|
|
572 |
} |
|
|
573 |
|
|
|
574 |
.data.column .dataset { |
|
|
575 |
position: relative; |
|
|
576 |
float: left; |
|
|
577 |
width: 34px; |
|
|
578 |
height: 34px; |
|
|
579 |
margin: 0 14px 14px 0; |
|
|
580 |
} |
|
|
581 |
|
|
|
582 |
.data.column .dataset:nth-of-type(2n) { |
|
|
583 |
margin-right: 0; |
|
|
584 |
} |
|
|
585 |
|
|
|
586 |
.data.column .data-thumbnail { |
|
|
587 |
cursor: pointer; |
|
|
588 |
width: 100%; |
|
|
589 |
height: 100%; |
|
|
590 |
opacity: 0.2; |
|
|
591 |
border: 2px solid rgba(0,0,0,0.1); |
|
|
592 |
border-radius: 3px; |
|
|
593 |
} |
|
|
594 |
|
|
|
595 |
/*.data.column .dataset:first-of-type { |
|
|
596 |
margin-top: 8px; |
|
|
597 |
} |
|
|
598 |
|
|
|
599 |
.data.column .dataset:last-of-type { |
|
|
600 |
margin-bottom: 20px; |
|
|
601 |
}*/ |
|
|
602 |
|
|
|
603 |
.data.column .data-thumbnail:hover { |
|
|
604 |
border: 2px solid #999; |
|
|
605 |
} |
|
|
606 |
|
|
|
607 |
.data.column .data-thumbnail.selected { |
|
|
608 |
border: 2px solid black; |
|
|
609 |
opacity: 1; |
|
|
610 |
box-shadow: 0 1px 5px rgba(0,0,0,0.2); |
|
|
611 |
background-color: white; |
|
|
612 |
} |
|
|
613 |
|
|
|
614 |
#main-part .data.column .dataset .label { |
|
|
615 |
position: absolute; |
|
|
616 |
left: 48px; |
|
|
617 |
top: calc(50% - 9px); |
|
|
618 |
display: none; |
|
|
619 |
} |
|
|
620 |
|
|
|
621 |
#main-part .data.column p.slider { |
|
|
622 |
margin: 0 -25px 20px; |
|
|
623 |
} |
|
|
624 |
|
|
|
625 |
#main-part .basic-button { |
|
|
626 |
font-family: "Roboto", "Helvetica", "Arial", sans-serif; |
|
|
627 |
margin-top: 25px; |
|
|
628 |
height: 34px; |
|
|
629 |
margin-right: 0; |
|
|
630 |
width: 100%; |
|
|
631 |
display: block; |
|
|
632 |
color: rgba(0, 0, 0, 0.5); |
|
|
633 |
border: none; |
|
|
634 |
background: rgba(158,158,158,.1); |
|
|
635 |
border-radius: 3px; |
|
|
636 |
padding: 5px; |
|
|
637 |
font-size: 12px; |
|
|
638 |
text-transform: uppercase; |
|
|
639 |
font-weight: 500; |
|
|
640 |
outline: none; |
|
|
641 |
transition: background 0.3s linear; |
|
|
642 |
cursor: pointer; |
|
|
643 |
} |
|
|
644 |
|
|
|
645 |
#main-part .basic-button:hover { |
|
|
646 |
background: rgba(158,158,158,.3); |
|
|
647 |
color: rgba(0, 0, 0, 0.6); |
|
|
648 |
} |
|
|
649 |
|
|
|
650 |
#main-part .basic-button:focus { |
|
|
651 |
background: rgba(158,158,158,.4); |
|
|
652 |
color: rgba(0, 0, 0, 0.7); |
|
|
653 |
} |
|
|
654 |
|
|
|
655 |
#main-part .basic-button:active { |
|
|
656 |
background: rgba(158,158,158,.5); |
|
|
657 |
color: rgba(0, 0, 0, 0.8); |
|
|
658 |
} |
|
|
659 |
|
|
|
660 |
/* Features column */ |
|
|
661 |
|
|
|
662 |
.features.column { |
|
|
663 |
width: 10%; |
|
|
664 |
position: relative; |
|
|
665 |
} |
|
|
666 |
|
|
|
667 |
.features.column .plus-minus-neurons { |
|
|
668 |
position: absolute; |
|
|
669 |
text-align: center; |
|
|
670 |
line-height: 28px; |
|
|
671 |
top: -58px; |
|
|
672 |
width: 65px; |
|
|
673 |
height: 44px; |
|
|
674 |
font-size: 12px; |
|
|
675 |
z-index: 100; |
|
|
676 |
} |
|
|
677 |
|
|
|
678 |
.plus-minus-neurons .mdl-button:first-of-type { |
|
|
679 |
margin-right: 5px; |
|
|
680 |
} |
|
|
681 |
|
|
|
682 |
.features.column .callout { |
|
|
683 |
position: absolute; |
|
|
684 |
width: 95px; |
|
|
685 |
font-style: italic; |
|
|
686 |
} |
|
|
687 |
|
|
|
688 |
.features.column .callout svg { |
|
|
689 |
position: absolute; |
|
|
690 |
left: -15px; |
|
|
691 |
width: 30px; |
|
|
692 |
height: 30px; |
|
|
693 |
} |
|
|
694 |
|
|
|
695 |
.features.column .callout svg path { |
|
|
696 |
fill: none; |
|
|
697 |
stroke: black; |
|
|
698 |
stroke-opacity: 0.4; |
|
|
699 |
} |
|
|
700 |
|
|
|
701 |
.features.column .callout svg defs path { |
|
|
702 |
fill: black; |
|
|
703 |
stroke: none; |
|
|
704 |
fill-opacity: 0.4; |
|
|
705 |
} |
|
|
706 |
|
|
|
707 |
#main-part .features.column .callout .label { |
|
|
708 |
position: absolute; |
|
|
709 |
top: 24px; |
|
|
710 |
left: 3px; |
|
|
711 |
font-size: 11px; |
|
|
712 |
} |
|
|
713 |
|
|
|
714 |
/* Network (inside features column) */ |
|
|
715 |
|
|
|
716 |
#network { |
|
|
717 |
position: absolute; |
|
|
718 |
top: 110px; |
|
|
719 |
left: 0; |
|
|
720 |
z-index: 100; |
|
|
721 |
} |
|
|
722 |
|
|
|
723 |
#network svg .main-label { |
|
|
724 |
font-size: 13px; |
|
|
725 |
fill: #333; |
|
|
726 |
font-weight: 300; |
|
|
727 |
} |
|
|
728 |
|
|
|
729 |
.axis line { |
|
|
730 |
fill: none; |
|
|
731 |
stroke: #777; |
|
|
732 |
shape-rendering: crispEdges; |
|
|
733 |
} |
|
|
734 |
|
|
|
735 |
.axis text { |
|
|
736 |
fill: #777; |
|
|
737 |
font-size: 10px; |
|
|
738 |
} |
|
|
739 |
|
|
|
740 |
.axis path { |
|
|
741 |
display: none; |
|
|
742 |
} |
|
|
743 |
|
|
|
744 |
#network svg .active .main-label { |
|
|
745 |
fill: #333 |
|
|
746 |
} |
|
|
747 |
|
|
|
748 |
#network svg #markerArrow { |
|
|
749 |
fill: black; |
|
|
750 |
stroke: black; |
|
|
751 |
stroke-opacity: 0.2; |
|
|
752 |
} |
|
|
753 |
|
|
|
754 |
#network .node { |
|
|
755 |
cursor: default; |
|
|
756 |
} |
|
|
757 |
|
|
|
758 |
#network .node rect { |
|
|
759 |
fill: white; |
|
|
760 |
stroke-width: 0; |
|
|
761 |
} |
|
|
762 |
|
|
|
763 |
#network .node.inactive { |
|
|
764 |
opacity: 0.5; |
|
|
765 |
} |
|
|
766 |
|
|
|
767 |
#network .node.hovered { |
|
|
768 |
opacity: 1.0; |
|
|
769 |
} |
|
|
770 |
|
|
|
771 |
@-webkit-keyframes flowing { |
|
|
772 |
from { stroke-dashoffset: 0; } to { stroke-dashoffset: -10; } |
|
|
773 |
} |
|
|
774 |
|
|
|
775 |
#network .core .link { |
|
|
776 |
stroke-dasharray: 9 1; |
|
|
777 |
stroke-dashoffset: 1; |
|
|
778 |
/*-webkit-animation: 0.5s linear 0s infinite flowing;*/ |
|
|
779 |
} |
|
|
780 |
|
|
|
781 |
/** Invisible thick links used for showing weight values on mouse hover. */ |
|
|
782 |
#network .core .link-hover { |
|
|
783 |
stroke-width: 8; |
|
|
784 |
stroke: black; |
|
|
785 |
fill: none; |
|
|
786 |
opacity: 0; |
|
|
787 |
} |
|
|
788 |
|
|
|
789 |
#network .canvas canvas { |
|
|
790 |
position: absolute; |
|
|
791 |
top: -2px; |
|
|
792 |
left: -2px; |
|
|
793 |
border: 2px solid black; |
|
|
794 |
border-radius: 3px; |
|
|
795 |
box-shadow: 0 2px 5px rgba(0,0,0,0.2); |
|
|
796 |
} |
|
|
797 |
|
|
|
798 |
#network .canvas.inactive canvas { |
|
|
799 |
box-shadow: inherit; |
|
|
800 |
} |
|
|
801 |
|
|
|
802 |
#network .canvas.inactive canvas { |
|
|
803 |
opacity: 0.4; |
|
|
804 |
border: 0; |
|
|
805 |
top: 0; |
|
|
806 |
left: 0; |
|
|
807 |
} |
|
|
808 |
|
|
|
809 |
#network .canvas.hovered canvas { |
|
|
810 |
opacity: 1.0; |
|
|
811 |
border: 2px solid #666; |
|
|
812 |
top: -2px; |
|
|
813 |
left: -2px; |
|
|
814 |
} |
|
|
815 |
|
|
|
816 |
/* Hidden layers column */ |
|
|
817 |
|
|
|
818 |
.hidden-layers.column { |
|
|
819 |
width: 40%; |
|
|
820 |
} |
|
|
821 |
|
|
|
822 |
#main-part .hidden-layers h4 { |
|
|
823 |
-webkit-justify-content: center; |
|
|
824 |
justify-content: center; |
|
|
825 |
margin-top: -5px; |
|
|
826 |
} |
|
|
827 |
|
|
|
828 |
.hidden-layers #layers-label { |
|
|
829 |
width: 125px; |
|
|
830 |
display: inline-block; |
|
|
831 |
} |
|
|
832 |
|
|
|
833 |
.hidden-layers #num-layers { |
|
|
834 |
margin: 0 10px; |
|
|
835 |
width: 10px; |
|
|
836 |
display: inline-block; |
|
|
837 |
} |
|
|
838 |
|
|
|
839 |
.hidden-layers h4 .mdl-button { |
|
|
840 |
margin-right: 5px; |
|
|
841 |
} |
|
|
842 |
|
|
|
843 |
.bracket { |
|
|
844 |
margin-top: 5px; |
|
|
845 |
border: solid 1px rgba(0, 0, 0, 0.2); |
|
|
846 |
border-bottom: 0; |
|
|
847 |
height: 4px; |
|
|
848 |
} |
|
|
849 |
|
|
|
850 |
.bracket.reverse { |
|
|
851 |
border-bottom: solid 1px rgba(0, 0, 0, 0.2); |
|
|
852 |
border-top: 0; |
|
|
853 |
margin-top: 0; |
|
|
854 |
margin-bottom: 5px; |
|
|
855 |
} |
|
|
856 |
|
|
|
857 |
/* Output column */ |
|
|
858 |
|
|
|
859 |
.output.column { |
|
|
860 |
width: 275px; |
|
|
861 |
} |
|
|
862 |
|
|
|
863 |
.metrics { |
|
|
864 |
position: relative; |
|
|
865 |
font-weight: 300; |
|
|
866 |
font-size: 13px; |
|
|
867 |
height: 60px; |
|
|
868 |
} |
|
|
869 |
|
|
|
870 |
#linechart { |
|
|
871 |
position: absolute; |
|
|
872 |
top: 0; |
|
|
873 |
right: 0; |
|
|
874 |
width: 50%; |
|
|
875 |
height: 55px; |
|
|
876 |
} |
|
|
877 |
.metrics .train { |
|
|
878 |
color: #777; |
|
|
879 |
} |
|
|
880 |
|
|
|
881 |
#loss-test { |
|
|
882 |
color: black; |
|
|
883 |
} |
|
|
884 |
|
|
|
885 |
.output .output-stats .value { |
|
|
886 |
color: rgba(0, 0, 0, 0.6); |
|
|
887 |
/*font-size: 20px;*/ |
|
|
888 |
font-weight: 300; |
|
|
889 |
display: inline; |
|
|
890 |
|
|
|
891 |
} |
|
|
892 |
|
|
|
893 |
g.train circle { |
|
|
894 |
stroke: white; |
|
|
895 |
stroke-width: 1; |
|
|
896 |
stroke-opacity: 0.8; |
|
|
897 |
fill-opacity: 0.9; |
|
|
898 |
} |
|
|
899 |
|
|
|
900 |
g.test circle { |
|
|
901 |
stroke-width: 1; |
|
|
902 |
stroke: black; |
|
|
903 |
stroke-opacity: 0.6; |
|
|
904 |
fill-opacity: 0.9; |
|
|
905 |
} |
|
|
906 |
|
|
|
907 |
#main-part .output .mdl-checkbox__label.label { |
|
|
908 |
line-height: 1.7em; |
|
|
909 |
} |
|
|
910 |
|
|
|
911 |
/* Article */ |
|
|
912 |
|
|
|
913 |
article { |
|
|
914 |
background: white; |
|
|
915 |
padding: 80px 0; |
|
|
916 |
box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1); |
|
|
917 |
/*border-top: 1px solid rgba(0, 0, 0, 0.08);*/ |
|
|
918 |
} |
|
|
919 |
|
|
|
920 |
article h2, article h3 { |
|
|
921 |
margin: 60px 0 20px 0; |
|
|
922 |
font-size: 22px; |
|
|
923 |
font-weight: 500; |
|
|
924 |
line-height: 1.45em; |
|
|
925 |
color: rgba(0, 0, 0, 0.7); |
|
|
926 |
} |
|
|
927 |
|
|
|
928 |
article h3 { |
|
|
929 |
margin: 40px 0 20px 0; |
|
|
930 |
font-size: 18px; |
|
|
931 |
} |
|
|
932 |
|
|
|
933 |
article :first-child h2 { |
|
|
934 |
margin-top: 0; |
|
|
935 |
} |
|
|
936 |
|
|
|
937 |
article p { |
|
|
938 |
font-weight: 400; |
|
|
939 |
font-size: 17px; |
|
|
940 |
line-height: 1.6; |
|
|
941 |
color: rgba(0, 0, 0, 0.7); |
|
|
942 |
|
|
|
943 |
} |
|
|
944 |
|
|
|
945 |
/* Footer */ |
|
|
946 |
|
|
|
947 |
footer { |
|
|
948 |
border-top: solid 1px #eee; |
|
|
949 |
color: #ccc; |
|
|
950 |
font-weight: 300; |
|
|
951 |
padding: 40px 0; |
|
|
952 |
height: 30px; |
|
|
953 |
} |
|
|
954 |
|
|
|
955 |
footer svg { |
|
|
956 |
margin-top: 2px; |
|
|
957 |
float: left; |
|
|
958 |
width: 110px; |
|
|
959 |
height: 18px; |
|
|
960 |
fill: #aaa; |
|
|
961 |
} |
|
|
962 |
|
|
|
963 |
footer .links { |
|
|
964 |
float: right; |
|
|
965 |
font-size: 13px; |
|
|
966 |
height: 30px; |
|
|
967 |
line-height: 30px; |
|
|
968 |
margin-left: 20px; |
|
|
969 |
} |
|
|
970 |
|
|
|
971 |
footer .links a { |
|
|
972 |
margin-right: 15px; |
|
|
973 |
text-decoration: none; |
|
|
974 |
color: #999; |
|
|
975 |
} |
|
|
976 |
|
|
|
977 |
footer .links a:hover { |
|
|
978 |
text-decoration: underline; |
|
|
979 |
} |
|
|
980 |
|
|
|
981 |
.hide-controls { |
|
|
982 |
display: -webkit-box; |
|
|
983 |
display: -moz-box; |
|
|
984 |
display: -ms-flexbox; |
|
|
985 |
display: -webkit-flex; |
|
|
986 |
display: flex; |
|
|
987 |
flex-wrap: wrap; |
|
|
988 |
-webkit-justify-content: space-between; |
|
|
989 |
justify-content: space-between; |
|
|
990 |
} |
|
|
991 |
|
|
|
992 |
.hide-controls label.mdl-checkbox { |
|
|
993 |
width: 145px; |
|
|
994 |
height: 30px; |
|
|
995 |
} |
|
|
996 |
|
|
|
997 |
.hide-controls .mdl-checkbox__label { |
|
|
998 |
font-size: 13px; |
|
|
999 |
} |
|
|
1000 |
|
|
|
1001 |
/* Material Overrides */ |
|
|
1002 |
|
|
|
1003 |
/* Buttons */ |
|
|
1004 |
|
|
|
1005 |
.mdl-button--fab.mdl-button--colored, |
|
|
1006 |
.mdl-button--fab.mdl-button--colored:hover, |
|
|
1007 |
.mdl-button--fab.mdl-button--colored:active, |
|
|
1008 |
.mdl-button--fab.mdl-button--colored:focus, |
|
|
1009 |
.mdl-button--fab.mdl-button--colored:focus:not(:active) { |
|
|
1010 |
background: #183D4E; |
|
|
1011 |
} |
|
|
1012 |
|
|
|
1013 |
/* Checkbox */ |
|
|
1014 |
|
|
|
1015 |
.mdl-checkbox__box-outline { |
|
|
1016 |
border-color: rgba(0, 0, 0, 0.5); |
|
|
1017 |
} |
|
|
1018 |
|
|
|
1019 |
.mdl-checkbox.is-checked .mdl-checkbox__tick-outline { |
|
|
1020 |
background-color: #183D4E; |
|
|
1021 |
} |
|
|
1022 |
|
|
|
1023 |
.mdl-checkbox.is-checked .mdl-checkbox__tick-outline { |
|
|
1024 |
background-color: #183D4E; |
|
|
1025 |
} |
|
|
1026 |
|
|
|
1027 |
.mdl-checkbox.is-checked .mdl-checkbox__box-outline { |
|
|
1028 |
border-color: #183D4E; |
|
|
1029 |
} |
|
|
1030 |
|
|
|
1031 |
.mdl-checkbox__ripple-container .mdl-ripple { |
|
|
1032 |
background-color: #183D4E; |
|
|
1033 |
} |
|
|
1034 |
|
|
|
1035 |
/* Slider */ |
|
|
1036 |
|
|
|
1037 |
#main-part .mdl-slider.is-upgraded { |
|
|
1038 |
color: #183D4E; |
|
|
1039 |
} |
|
|
1040 |
|
|
|
1041 |
#main-part .mdl-slider__background-lower { |
|
|
1042 |
background-color: #183D4E; |
|
|
1043 |
} |
|
|
1044 |
|
|
|
1045 |
#main-part .mdl-slider.is-upgraded::-webkit-slider-thumb { |
|
|
1046 |
background-color: #183D4E; |
|
|
1047 |
} |
|
|
1048 |
|
|
|
1049 |
#main-part .mdl-slider.is-upgraded::-moz-range-thumb { |
|
|
1050 |
background-color: #183D4E; |
|
|
1051 |
} |
|
|
1052 |
|
|
|
1053 |
#main-part .mdl-slider.is-upgraded::-ms-thumb { |
|
|
1054 |
background-color: #183D4E; |
|
|
1055 |
} |
|
|
1056 |
|
|
|
1057 |
#main-part .mdl-slider.is-upgraded.is-lowest-value::-webkit-slider-thumb { |
|
|
1058 |
border-color: #183D4E; |
|
|
1059 |
} |
|
|
1060 |
|
|
|
1061 |
#main-part .mdl-slider.is-upgraded.is-lowest-value::-moz-range-thumb { |
|
|
1062 |
border-color: #183D4E; |
|
|
1063 |
} |
|
|
1064 |
/* Keep grey focus circle for non-start values */ |
|
|
1065 |
#main-part .mdl-slider.is-upgraded:focus:not(:active)::-webkit-slider-thumb { |
|
|
1066 |
box-shadow: 0 0 0 10px rgba(0,0,0, 0.12); |
|
|
1067 |
} |