-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
151 lines (132 loc) · 3.65 KB
/
Copy pathpopup.html
File metadata and controls
151 lines (132 loc) · 3.65 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BinaryRanked Skill Chart</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@600;700&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--chart-bg: #0f172a;
--chart-boxbg: #12151d;
--chart-border: #2a2f3f;
--chart-ui: #0e67db;
--chart-ava: #8890a4;
--chart-muted: #666c7b;
--chart-header: #1e293b;
}
body {
width: 240px;
background: var(--chart-bg);
color: var(--chart-hover);
font-family: 'Rajdhani', sans-serif;
padding: 0;
}
.header {
background: var(--chart-header);
border-bottom: 1px solid var(--chart-border);
padding: 14px;
display: flex;
align-items: center;
gap: 10px;
}
.header-icon { font-size: 20px; }
.header-text {
font-family: 'Share Tech Mono', monospace;
font-size: 12px;
letter-spacing: 0.2em;
color: var(--chart-ui);
text-shadow: 0 0 10px rgba(47, 101, 212, 0.4);
}
.header-sub {
font-size: 10px;
color: var(--chart-ava);
margin-top: 2px;
font-family: 'Share Tech Mono', monospace;
letter-spacing: 0.05em;
}
.body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.info-box {
background: var(--chart-boxbg);
border: 1px solid var(--chart-border);
border-radius: 6px;
padding: 12px;
font-size: 12px;
line-height: 1.5;
color: var(--chart-ava);
font-family: 'Rajdhani', sans-serif;
font-weight: 600;
}
.info-box strong { color: var(--chart-ui); }
.open-btn {
display: block;
width: 100%;
background: var(--chart-boxbg);
border: 1px solid var(--chart-border);
color: var(--chart-ui);
font-family: 'Share Tech Mono', monospace;
font-size: 12px;
letter-spacing: 0.1em;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
text-align: center;
transition: background 0.1s, border-color 0.1s, box-shadow 0.1s, transform 0.1s;
}
.open-btn:hover {
background: rgba(18, 21, 29, 0.2);
border-color: var(--chart-ui);
box-shadow: 0 0 10px rgba(47, 101, 212, 0.3);
transform: translateY(-1px);
}
.open-btn:active {
background: rgba(18, 21, 29, 0.3);
transform: translateY(0);
}
.disabled-btn {
display: block;
width: 100%;
background: var(--chart-boxbg);
border: 1px solid var(--chart-border);
color: var(--chart-muted);
font-family: 'Share Tech Mono', monospace;
font-size: 10px;
padding: 6px 12px;
border-radius: 6px;
text-align: center;
cursor: default;
}
.footer {
background: var(--chart-header);
border-top: 1px solid var(--chart-border);
padding: 8px 16px;
font-family: 'Share Tech Mono', monospace;
font-size: 8px;
color: var(--chart-muted);
letter-spacing: 0.1em;
text-align: center;
}
</style>
</head>
<body>
<div class="header">
<span class="header-icon">📊</span>
<div>
<div class="header-text">SKILL CHART</div>
<div class="header-sub">BinaryRanked Extension</div>
</div>
</div>
<div class="body">
<div class="info-box">
Visualize your <strong>personal bests</strong> across all 9 game modes as a skill radar chart, along with your global rank and other statistics.<br><br>
Click the <strong>📊 Skill Chart</strong> button on the game page to open the overlay.
</div>
<div id="action-area">
<!-- Populated by popup.js -->
</div>
</div>
<div class="footer">v1.0.7 by Lesley330404</div>
<script src="popup.js"></script>
</body>
</html>