-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
638 lines (540 loc) · 17.7 KB
/
index.html
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
padding: 20px;
/* background-color: #0f1116; */
color: #fff;
font-family: 'Inter', sans-serif;
font-size: 13px;
min-height: 70vh;
margin-top: 30px;
background: linear-gradient(45deg, #20001e, #001724);/* 45deg=diagonal */
height: 100vh; /* Ensures it covers the full viewport height */
overflow: hidden;
}
.container {
max-height: 90%;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 18px;
max-width: 950px;
margin: 0 auto;
}
.box {
/* background: #16181a; */
background: linear-gradient(45deg, #00273e7b, #36003378);/* 45deg=diagonal */
border-radius: 15px;
padding: 23px;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
min-height: 200px;
position: relative;
overflow-y: hidden; /* This ADDs the Scrollbar*/
/* overflow: hidden; /* This REMOVES the Scrollbar*/
}
.box:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(18, 17, 17, 0.2);
}
.box::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
}
.box:nth-child(1)::before { background: #ff0040ad; }
.box:nth-child(2)::before { background: #00ff55ad; }
.box:nth-child(3)::before { background: #8636ffad; }
.box:nth-child(4)::before { background: #ffd426ad; }
.box:nth-child(5)::before { background: #ff0095ad; }
.box:nth-child(6)::before { background: #00e5ffad; }
.box:nth-child(7)::before { background: #00ff77ad; }
.box:nth-child(8)::before { background: #001affad; }
.box:nth-child(9)::before { background: #ff9100ad; }
.box h2 {
margin: 0 0 6px 0;
margin-top: -5px;
font-size: 1.4em;
font-weight: 600;
color: #fff;
}
.box p {
margin: 0;
color: #8b8b8b;
line-height: 1.6;
overflow-y: auto;
max-height: calc(100% - 31px);
}
.date {
position: absolute;
bottom: 20px;
right: 20px;
font-size: 0.8em;
color: #666;
margin-bottom: -3px;
}
/* New styles for editable notepad */
.notepad {
display: flex;
flex-direction: column;
height: calc(100% - 5px);
}
.notepad-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.save-status {
font-size: 0.8em;
color: #666;
}
.editor {
flex-grow: 1;
background: #242830;
border: none;
border-radius: 8px;
padding: 15px;
color: #fff;
font-family: 'Inter', sans-serif;
resize: none;
outline: none;
font-size: 0.9em;
line-height: 1.6;
}
.editor::placeholder {
color: #666;
}
.save-btn {
background: #f20c7bd9;
border: none;
border-radius: 4px;
color: white;
padding: 5px 15px;
cursor: pointer;
font-size: 0.9em;
transition: background 0.3s ease;
}
.save-btn:hover {
background: #870d3c;
}
.input-group {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.task-input {
flex: 1;
background: #242830;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 4px;
padding: 8px 12px;
color: #fff;
font-size: 0.9em;
outline: none;
}
.add-btn {
background: #6B5FFF;
border: none;
border-radius: 4px;
color: white;
padding: 8px 15px;
cursor: pointer;
font-size: 0.9em;
transition: background 0.3s ease;
}
.add-btn:hover {
background: #5346ff;
}
.task-list {
list-style: none;
padding: 0;
margin: 0;
height: calc(100% - 80px);
width: 100%;
overflow-y: auto;
}
.task-list li {
background: #242830;
margin-bottom: 8px;
padding: 8px 12px;
border-radius: 4px;
display: flex;
justify-content: space-between;
align-items: center;
animation: fadeIn 0.3s ease;
overflow: auto;
}
.delete-btn {
background: none;
border: none;
color: #ff3366;
cursor: pointer;
padding: 0 5px;
}
.box.dragging {
opacity: 0.5;
border: 2px dashed #FF3366;
}
.box {
cursor: default; /* Reset cursor for box */
}
.box h2 {
cursor: move; /* Show grab cursor only on title */
}
/* Style for the top navigation bar */
.top-bar {
/* background-color: #333; /* Dark background color */
background: linear-gradient(45deg, #004369bd, #53004fc2);/* 45deg=diagonal */
color: white; /* Text color */
position: fixed; /* Make the bar fixed at the top */
top: 0;
left: 0;
width: 100%; /* Full width */
z-index: 1000; /* Ensure the bar is above other content */
padding: 10px 0;
}
/* Style for the unordered list inside the top bar */
.top-bar ul {
list-style-type: none; /* Remove bullet points */
display: flex; /* Display links in a row */
justify-content: center; /* Center the links */
padding: 0;
margin: 0;
}
/* Style for each list item in the top bar */
.top-bar ul li {
margin: 0 20px; /* Space out the links */
}
/* Style for the links */
.top-bar ul li a {
text-decoration: none; /* Remove underlines */
color: white; /* Link color */
font-size: 14px;
transition: color 0.15s; /* Smooth transition for hover effect */
}
/* Hover effect for the links */
.top-bar ul li a:hover {
color: #ff6600; /* Change color on hover */
}
/* Style the scrollbar itself */
::-webkit-scrollbar {
width: 12px; /* Set the width of the vertical scrollbar */
/* height: 12px; /* Set the height of the horizontal scrollbar */
}
/* Style the track (the part the scrollbar moves along) */
::-webkit-scrollbar-track {
background: #2b2b2b; /* Light gray background */
border-radius: 10px; /* Rounded corners for the track */
}
/* Style the thumb (the draggable part of the scrollbar) */
::-webkit-scrollbar-thumb {
background-image: linear-gradient(180deg, #8b004c 0%, #17558f 99%);
box-shadow: inset 2px 2px 5px 0 rgba(#000000, 0.5);
border-radius: 10px; /* Rounded corners for the thumb */
border: 2px solid #000000; /* Optional: border for contrast */
}
/* Style the thumb when it's hovered */
::-webkit-scrollbar-thumb:hover {
background-image: linear-gradient(180deg, #430527 0%, #0f3355 99%);
}
/* Optional: Style the scrollbar corner (for when both horizontal and vertical scrollbars appear) */
::-webkit-scrollbar-corner {
background: #ff0000; /* Corner background color */
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
.container {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3, 1fr);
}
}
@media (max-width: 480px) {
.container {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- NAV DIV -->
<nav class="top-bar">
<ul>
<li><a href="https://www.example1.com" target="_blank">GPT</a></li>
<li><a href="https://www.example2.com" target="_blank">Claude </a></li>
<li><a href="https://www.example3.com" target="_blank">YouTube</a></li>
<li><a href="https://www.example4.com" target="_blank">GitHub </a></li>
<li><a href="https://www.example5.com" target="_blank">Reddit </a></li>
<li><a href="https://www.example5.com" target="_blank">Google </a></li>
<li><a href="https://www.example5.com" target="_blank">DuckDuckGo</a></li>
<li><a href="https://www.example5.com" target="_blank">U.G. </a></li>
<li><a href="https://www.example5.com" target="_blank">PaidTabs </a></li>
<!-- GMX Proton.me iCloud Mail.com
UG, MOISES, TFT
-->
</ul>
</nav>
<div class="container" id="container">
<!-- TRANS DIV -->
<div class="box">
<h2 draggable="true">YT Transcribers:</h2>
<p>
- <br>
- <br>
- <br>
- <br>
</p>
<span class="date">Scrape recent/popular uploads</span>
</div>
<!-- VENDORS DIV -->
<div class="box">
<h2 draggable="true">Tab Vendors:</h2>
<p> - https://www.sheetmusicdirect.com/ <br>
- https://paidtabs.com/ <br>
- https://www.mymusicsheet.com/ <br>
- https://www.kokomu.jp/ <br>
- UG? Muse? <br>
- ko fi? shopify? JP? KR? CHINA ?<br>
- Fiver? Patreon?
</p>
<span class="date">Upload GP GP& Tux PDF Muse mXML</span>
</div>
<!-- Guitarists DIV -->
<div class="box">
<h2 draggable="true">Pop. Guitarists</h2>
<p> - Tim Henson <BR>
- Daijiro Nakagawa<BR>
- Yvette Young<BR>
- Ichika Nito, Manuel Gardner Fernandes<BR>
- Bearclaw?<BR>
- Plini, Mateus Asato, Rabea Massaad, Sungah Jung<BR>
- Mike Dawes, Jon Gomm <BR>
- Chan Kim<BR>
- T-Cophony? Marcin Patrzalek? Alexandr Misko?
</p>
<span class="date">Scrape for recent uploads.</span>
</div>
<!-- Bass Tabs DIV -->
<div class="box">
<h2 draggable="true">Bass Tabs</h2>
<p> good charlotte bass <BR>
sum41 bass<BR>
foo fighters bass<BR>
rchp<BR>
the used<BR>
fftl</p>
<span class="date">Upload Bass tabs and backing tracks</span>
</div>
<!-- DEV list DIV -->
<div class="box">
<h2 draggable="true">Dev These:</h2>
<p>
<b>App/Site:</b> Japanese Mathrock Chords/Scale Generator<br>
<b>App/Site:</b> CHON Mathrock Chords/Scale Generator<br>
<b>ChromeExt.:</b> YT CSS edit <br>
<b>ChromeExt.:</b> YT custom VolumeBar <br>
<b>ChromeExt.:</b> YT ad skip, block, sponder-div remover <br>
<b>ChromeExt.:</b> UG div remover <br>
<b>ChromeExt.:</b> Reddit div remgit push -u origin mainover <br>
<b>Bot:</b> Scrape YT Transcribers -> List of recent Videos. <br>
<b>Bot:</b> Scrape Pop. Guitarists -> List of Videos. <br>
<b>Bot:</b> Scrape YT & Spotify -> List of NEW MathRock Songs<br>
<br>
- my Multi-VLC (w/ EQ & Vol) <br>
- my Audio -> Midi / mXML <br>
- character custimistion creator?<br>
- make own HIIT Timer(random gen workouts & add and remove tags (legs, abs, bad knees, bad wrists, carido etc)
</p>
<span class="date">Upload to do list (some WIPs)</span>
</div>
<!-- Notepad DIV -->
<div class="box">
<div class="notepad">
<div class="notepad-header">
<h2 draggable="true">Quick Notes</h2>
<p>
<button id="saveButton" class="save-btn">Save</button>
<span class="save-status" id="saveStatus">Saved</span>
</div>
<textarea class="editor" id="notepadEditor" placeholder="Start typing your notes here..."></textarea></p>
</div>
</div>
<!--MATHROCK TABS DIV -->
<div class="box">
<h2 draggable="true">MathRock Tabs:</h2>
<p>Covet <br>
Via Luna <br>
Tim Henson / Polyphia <br>
CHON <br>
Daijiro Nakagawa <br>
Jyocho<br>
Uchu Conbini<br>
Jyocho<br>
</p>
<span class="date">Most Popular</span>
</div>
<!-- ACCOUNTS THIS DIV -->
<div class="box">
<span style="opacity: 0.001;">
<h2 draggable="true">Accountzs</h2>
<p><text font-size="1"> <b>PaidTabs Accounts:</b> <br>
- Ambroxiak.Music@gmail.com <!-- a6 --> <br>
- JamesRobsonMusic@yahoo.com <!-- MusicalFarting1966 --> <br>
- IJH <br>
- <s>Akira</s> <br>
<b>YT Channels:</b> <br>
- IJH <br>
- MathRock Riffs <br>
<b>Emails:</b> <br>
- ianjunhep91@gmx.co.uk <br>
- ianjunhep@gmail.com <br>
- Ambroxiak.Music@gmail.com <br>
- JamesRobsonMusic@yahoo.com <br>
- JamesRobsonMusic@yahoo.com <br>
</span>
</p>
<span class="date">high on meth</span>
</div>
<!-- LIST DIV -->
<div class="box">
<h2 draggable="true">To Do List / Ideas:</h2>
<div class="input-group">
<input type="text" id="taskInput" class="task-input" placeholder="Add new task...">
<button id="addTaskButton" class="add-btn">Add</button>
</div>
<p><ul id="taskList" class="task-list"></ul></p>
</div>
</div>
<script>
const editor = document.getElementById('notepadEditor');
const saveButton = document.getElementById('saveButton');
const taskInput = document.getElementById('taskInput');
const addTaskButton = document.getElementById('addTaskButton');
const taskList = document.getElementById('taskList');
const boxes = document.querySelectorAll('.box');
const container = document.querySelector('.container');
const saveStatus = document.getElementById('saveStatus');
let saveTimeout;
let tasks = JSON.parse(localStorage.getItem('tasks')) || [];
renderTasks();
// Load saved content
editor.value = localStorage.getItem('notepadContent') || '';
// Replace your current drag handling code with this:
boxes.forEach(box => {
const title = box.querySelector('h2');
// Make only the title draggable
title.draggable = true;
// Add drag start event to title
title.addEventListener('dragstart', (e) => {
// Set the dragging class on the parent box
box.classList.add('dragging');
});
// Add drag end event to title
title.addEventListener('dragend', (e) => {
box.classList.remove('dragging');
});
});
// Add dragover event to container
container.addEventListener('dragover', (e) => {
e.preventDefault();
const draggingBox = document.querySelector('.dragging');
const boxes = [...container.querySelectorAll('.box:not(.dragging)')];
const nextBox = boxes.find(box => {
const rect = box.getBoundingClientRect();
const boxCenter = rect.top + rect.height / 2;
return e.clientY < boxCenter;
});
if (nextBox) {
container.insertBefore(draggingBox, nextBox);
} else {
container.appendChild(draggingBox);
}
});
// Save Button Listening
saveButton.addEventListener('click', () => {
localStorage.setItem('notepadContent', editor.value);
saveStatus.textContent = 'Saved';
});
// Auto-save functionality
editor.addEventListener('input', () => {
saveStatus.textContent = 'Saving...';
// Clear previous timeout
clearTimeout(saveTimeout);
// Set new timeout for saving
saveTimeout = setTimeout(() => {
localStorage.setItem('notepadContent', editor.value);
saveStatus.textContent = 'Saved';
}, 1000);
});
// Event listeners
addTaskButton.addEventListener('click', addTask);
taskInput.addEventListener('keypress', (e) => {
if (e.key === 'Enter') {
addTask();
}
});
// Save box positions to localStorage
// container.addEventListener('dragend', () => {
// const boxOrder = [...container.children].map(box => box.querySelector('h2').textContent);
// localStorage.setItem('boxOrder', JSON.stringify(boxOrder));
// });
// Add minimize/maximize functionality to boxes
//function addBoxControls() {
// boxes.forEach(box => {
// const controls = document.createElement('div');
// controls.innerHTML = `
// <button class="minimize">-</button>
// <button class="maximize">□</button>
// `;
// box.querySelector('h2').appendChild(controls);
// });
//}
// Add task function
function addTask() {
const taskText = taskInput.value.trim();
if (taskText) {
tasks.push(taskText);
localStorage.setItem('tasks', JSON.stringify(tasks));
taskInput.value = '';
renderTasks();
}
}
// Render tasks function
function renderTasks() {
taskList.innerHTML = '';
tasks.forEach((task, index) => {
const li = document.createElement('li');
li.innerHTML = `
${task}
<button class="delete-btn" onclick="deleteTask(${index})">×</button>
`;
taskList.appendChild(li);
});
}
// Delete task function
function deleteTask(index) {
tasks.splice(index, 1);
localStorage.setItem('tasks', JSON.stringify(tasks));
renderTasks();
}
// On Load RANDOMISE the DIVs Order
//window.onload = function() {
// const container = document.getElementById('container');
// const boxes = Array.from(container.children);
// const shuffledBoxes = boxes.sort(() => Math.random() - 0.5);
// Append the boxes in the shuffled order
// shuffledBoxes.forEach(box => container.appendChild(box));
// };
</script>
<script src="script.js"></script>
</body>
</html>