blob: eb0d1f7674052dcdf02ad5a69a060238fc8d736b (
plain)
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
|
* { box-sizing: border-box }
html,body { margin: 0; padding: 0; width: 100%; height: 100%; font-family: 'Helvetica', sans-serif; font-weight: 300; }
body {
background: linear-gradient(52deg, #fde, #ffe);
}
header {
font-size: 13px;
position: fixed;
bottom: 10px;
left: 10px;
background: white;
padding: 10px;
}
header span {
margin-left: 5px;
border-left: 1px solid #444;
color: #444;
padding-left: 5px;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%; height: 100%;
}
.app {
display: flex;
flex-direction: column;
}
.player {
width: 100%;
height: 50vmin;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.player img, .player canvas {
width: 88vmin;
height: 50vmin;
}
.params {
font-size: 10px;
display: flex;
flex-direction: row;
justify-content: flex-start;
}
.paramGroup {
padding-right: 10px;
}
.paramGroup.inactive {
background: rgba(255,255,255,0);
opacity: 0.4;
}
.paramGroup > label {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 2px 0;
margin-bottom: 3px;
min-height: 22px;
}
.params h3 {
margin: 0; padding: 0;
}
.slider {
margin-bottom: 3px;
}
.slider input[type=text] {
width: 34px;
border: 1px solid transparent;
margin-right: 5px;
}
.slider input[type=text]:focus {
border: 1px solid #ddd; background: white;
}
.param {
display: flex;
flex-direction: row;
align-items: center;
}
.param > label {
display: flex;
justify-content: space-between;
align-items: center;
width: 120px;
text-align: right;
}
.select.param > label,
.button.param > label {
width: 250px;
}
.select select {
max-width: 150px;
}
.param > label span {
white-space: nowrap;
}
|