-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
177 lines (170 loc) · 3.56 KB
/
style.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
html,
body {
height: 100%;
user-select: auto;
}
body {
color-scheme: dark;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
font-size: 16px;
font-family: "Montserrat", sans-serif;
background-color: #22222a;
background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23000' fill-opacity='0.1'%3E%3Cpolygon fill-rule='evenodd' points='8 4 12 6 8 8 6 12 4 8 0 6 4 4 6 0 8 4'/%3E%3C/g%3E%3C/svg%3E" );
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background-color: #222; }
::-webkit-scrollbar-thumb { background-color: #777; }
/* .......................................................................... */
#head {
display: flex;
align-items: center;
justify-content: center;
margin-top: auto;
margin-bottom: 10px;
padding-top: 32px;
gap: 12px;
}
gsui-analysertime {
width: 200px;
height: 32px;
border-radius: 8px;
background-color: #0003;
}
#analyserBottom gsui-analysertime {
width: 100%;
}
#analyserBottom {
width: 100%;
margin-top: 20px;
}
#analyserBottom:empty {
display: none;
}
#title {
display: flex;
align-items: baseline;
gap: 10px;
position: relative;
z-index: 1;
font-size: 24px;
font-weight: bold;
white-space: nowrap;
}
#title span:first-child {
text-shadow: 0 0 20px #fff4;
}
#title span:last-child {
font-size: 10px;
color: #999;
}
/* .......................................................................... */
#myPiano {
position: relative;
display: flex;
gap: 8px;
padding-right: calc( 8px + 16px );
user-select: none;
}
#velocityLabel {
display: flex;
width: 16px;
align-items: center;
writing-mode: vertical-rl;
justify-content: space-between;
font-size: 12px;
opacity: .4;
}
#niceBorder {
display: flex;
flex-direction: column;
overflow: hidden;
height: 110px;
min-height: 60px;
max-width: calc( 100% - 4px * 2 );
padding: 4px;
border-radius: 4px;
background-image: linear-gradient( 90deg, #ff4040, #d07fff );
box-shadow: 8px 8px 0px #0003;
}
#myPiano gsui-keys {
flex: 1;
}
/* .......................................................................... */
#octaves-loaders {
display: none;
width: 100%;
height: 4px;
background-color: #0008;
}
#octaves-loaders:has( .octave-needed.octave-loading ) {
display: flex;
}
.octave-loader {
flex: 1;
background-color: #afa;
}
.octave-loader:not( .octave-needed ) {
display: none;
}
.octave-loading {
animation: octave-loading-anim .2s alternate infinite linear;
}
@keyframes octave-loading-anim {
from { background-color: transparent; }
to { background-color: #fffa; }
}
/* .......................................................................... */
#pianoTop {
position: absolute;
inset: 0 calc( 16px + 8px );
top: -540px;
bottom: 100%;
pointer-events: none;
}
#pianoSVGGradients {
position: absolute;
}
#pianoTop svg[ viewBox ] {
position: absolute;
bottom: 0;
fill: url( #pianoGradient );
}
#pianoTop svg:last-child {
transform: skewY( 345deg ) scaleX( .9 );
transform-origin: left;
fill: url( #pianoGradient2 );
}
/* .......................................................................... */
#foot {
display: flex;
align-items: center;
flex-direction: column;
margin-top: auto;
gap: 12px;
max-width: 470px;
padding: 20px 6ch;
font-size: 12px;
text-align: center;
color: #fff6;
/* background-color: indianred;*/
}
#foot a {
color: inherit;
}
#foot i {
white-space: nowrap;
}
#copyright {
font-weight: bold;
color: inherit;
}
@media ( max-width: 450px ) {
#head {
flex-direction: column;
}
}