Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (92 loc) · 1.64 KB
/
Copy pathstyle.css
File metadata and controls
92 lines (92 loc) · 1.64 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
*, *::before, *::after {
box-sizing: inherit;
cursor: inherit;
}
:root {
font-size: 18px;
font-family: sans-serif;
box-sizing: border-box;
/* Disable selection */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body {
margin: 0;
width: 100vw;
height: 100vh;
font-size: 1.5rem;
color: #ccc;
}
canvas {
/* NOTE: This is needed to avoid overflow. */
display: block;
width: 100%;
height: 100%;
}
#canvas {
/* This color is from the color map. */
background: rgb(68, 1, 84);
}
#axes-overlay {
position: absolute;
z-index: 1000;
height: 100vh;
right: 0;
text-align: right;
visibility: hidden;
}
#state-bearer.spectrogram-state #axes-overlay {
visibility: visible;
}
.horizontal-line {
border-top: 2px solid #ccc;
position: absolute;
width: 100%;
}
/* Increase spacing around checkboxes */
input[type="checkbox"] {
margin: 0 1rem;
}
.overlay {
position: absolute;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
}
.horizontal-split {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
}
.show-default-state {
visibility: hidden;
}
#state-bearer.default-state .show-default-state {
visibility: visible;
}
.show-spectrogram-state {
visibility: hidden;
}
#state-bearer.spectrogram-state .show-spectrogram-state {
visibility: visible;
}
/* Make buttons look like regular text */
button {
cursor: pointer;
border: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;
background: transparent;
color: inherit;
font: inherit;
line-height: normal;
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
-webkit-appearance: none;
}