Spaces:
Running
on
Zero
Running
on
Zero
fix dark theme
Browse files- javascript/app.js +5 -1
javascript/app.js
CHANGED
@@ -174,6 +174,8 @@ class MidiVisualizer extends HTMLElement{
|
|
174 |
allTrackBtn.textContent = "All";
|
175 |
allTrackBtn.style.width = "50%";
|
176 |
allTrackBtn.style.height = "100%";
|
|
|
|
|
177 |
allTrackBtn.style.border = "none";
|
178 |
allTrackBtn.style.cursor = 'pointer';
|
179 |
let self = this;
|
@@ -186,6 +188,8 @@ class MidiVisualizer extends HTMLElement{
|
|
186 |
noneTrackBtn.textContent = "None";
|
187 |
noneTrackBtn.style.width = "50%";
|
188 |
noneTrackBtn.style.height = "100%";
|
|
|
|
|
189 |
noneTrackBtn.style.border = "none";
|
190 |
noneTrackBtn.style.cursor = 'pointer';
|
191 |
noneTrackBtn.onclick = function (){
|
@@ -281,7 +285,7 @@ class MidiVisualizer extends HTMLElement{
|
|
281 |
}
|
282 |
track.setEmpty = function (empty){
|
283 |
if (empty!==track.empty){
|
284 |
-
content.style.color = empty?"grey":"
|
285 |
}
|
286 |
}
|
287 |
|
|
|
174 |
allTrackBtn.textContent = "All";
|
175 |
allTrackBtn.style.width = "50%";
|
176 |
allTrackBtn.style.height = "100%";
|
177 |
+
allTrackBtn.style.backgroundColor = "rgba(200, 200, 200, 0.3)";
|
178 |
+
allTrackBtn.style.color = 'inherit';
|
179 |
allTrackBtn.style.border = "none";
|
180 |
allTrackBtn.style.cursor = 'pointer';
|
181 |
let self = this;
|
|
|
188 |
noneTrackBtn.textContent = "None";
|
189 |
noneTrackBtn.style.width = "50%";
|
190 |
noneTrackBtn.style.height = "100%";
|
191 |
+
noneTrackBtn.style.backgroundColor = "rgba(200, 200, 200, 0.3)";
|
192 |
+
noneTrackBtn.style.color = 'inherit';
|
193 |
noneTrackBtn.style.border = "none";
|
194 |
noneTrackBtn.style.cursor = 'pointer';
|
195 |
noneTrackBtn.onclick = function (){
|
|
|
285 |
}
|
286 |
track.setEmpty = function (empty){
|
287 |
if (empty!==track.empty){
|
288 |
+
content.style.color = empty?"grey":"inherit";
|
289 |
}
|
290 |
}
|
291 |
|