-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
103 lines (94 loc) · 4.01 KB
/
Copy pathpopup.html
File metadata and controls
103 lines (94 loc) · 4.01 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
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@400;500&family=JetBrains+Mono:wght@600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
<link rel="stylesheet" href="popup.css">
</head>
<body>
<div class="popup-shell">
<main class="widget">
<div class="reflection"></div>
<!-- Header -->
<header class="top-bar">
<div class="brand">
<div class="logo-wrap">
<img src="icons/logo.png" alt="Modulate" class="logo-img">
</div>
<span class="brand-name">Modulate</span>
</div>
<div class="header-actions">
<button class="icon-btn" id="toggleAllBtn" title="Toggle all tabs">
<span class="material-symbols-outlined">tab</span>
</button>
<button class="icon-btn" title="Help">
<span class="material-symbols-outlined">help</span>
</button>
<button class="icon-btn" title="Settings">
<span class="material-symbols-outlined">settings</span>
</button>
</div>
</header>
<!-- Scrollable content -->
<div class="content">
<!-- Global Output -->
<section class="global-card glass-card">
<div class="global-header">
<div class="global-title-row">
<span class="label-caps">GLOBAL OUTPUT</span>
<span class="all-tabs-badge">ALL TABS</span>
</div>
<span class="vol-display" id="globalVolLabel">100%</span>
</div>
<div class="slider-row">
<button class="vol-step-btn" id="globalStepDown" title="Decrease volume" aria-label="Decrease volume">
<span class="material-symbols-outlined">remove</span>
</button>
<div class="slider-track" style="--pos:0.667">
<div class="slider-fill" id="globalFill"></div>
<div class="slider-thumb" id="globalThumb"></div>
<input type="range" class="range-input" id="globalSlider" min="0" max="150" value="100">
</div>
<button class="vol-step-btn" id="globalStepUp" title="Increase volume" aria-label="Increase volume">
<span class="material-symbols-outlined">add</span>
</button>
</div>
<div class="global-footer">
<button class="action-btn" id="boostAllBtn">
<span class="material-symbols-outlined">graphic_eq</span>
<span class="action-label">Auto-Boost</span>
</button>
<button class="action-btn" id="resetAllBtn">
<span class="material-symbols-outlined">restart_alt</span>
<span class="action-label">Reset All</span>
</button>
<button class="action-btn" id="muteAllBtn">
<span class="material-symbols-outlined">volume_up</span>
<span class="action-label">Mute All</span>
</button>
</div>
</section>
<!-- Sources -->
<section class="sources-section">
<div class="section-header">
<span class="material-symbols-outlined section-icon">tab</span>
<h3 class="label-caps">ACTIVE AUDIO SOURCES</h3>
<span class="source-count" id="sourceCount">0 TABS</span>
<button class="add-tab-btn" id="addTabBtn" title="Add tab back">
<span class="material-symbols-outlined">add</span>
</button>
</div>
<div class="add-tab-menu hidden" id="addTabMenu"></div>
<div id="tabs-list" class="tabs-list"></div>
<div id="empty" class="empty-state">
No tabs playing audio.<br>
Tap <strong>tab</strong> icon above to show all tabs.
</div>
</section>
</div>
</main>
</div>
<script src="popup.js"></script>
</body>
</html>