-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
367 lines (358 loc) · 25.2 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
<!DOCTYPE html>
<html>
<head lang="ja">
<title>BA Box Checker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="styles\button.css">
<link rel="stylesheet" type="text/css" href="styles\layout.css">
<link rel="stylesheet" type="text/css" href="styles\selectbox.css">
<link rel="stylesheet" type="text/css" href="styles\rwd.css">
<!-- Google Material -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<!-- Noto Sans JP -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap" rel="stylesheet">
<!-- Noto Sans -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<!-- Nunito Sans -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<!-- NEXON Football Gothic -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fonts-archive/NEXONFootballGothic/NEXONFootballGothic.css" type="text/css">
<script src="https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.min.js"></script>
</head>
<body>
<div class="bg_container">
<div class="bg_img bg_img_1 fade-in"></div>
<div class="bg_img bg_img_2 fade-out"></div>
</div>
<script src="./js/backgroundRotator.js"></script>
<header style="user-select: none;">
<div class="header-content">
<div class="header-filter">
<button id="toggle-button">
<span class="material-symbols-outlined">
filter_alt
</span>
</button>
</div>
<div class="header-title">BlueArchive Box</div>
<div class="header-more-vert">
<button id="more-vert-button">
<span class="material-symbols-outlined">
more_vert
</span>
</button>
<div id="settings-dropdown-menu">
<div class="selection-row">
<span>伺服器</span>
<div id="server-select" class="custom-select">
<select>
<option value="0">日服</option>
<option value="1">國際服</option>
<option value="2">簡中服</option>
</select>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="main">
<aside class="left">
<div class="rate-container">
<div class="horizontal-container" style="user-select: none;">
<div style="display: flex;">
<h5>所持率</h5>
<h5 id="possession-rate">0.00%</h5>
</div>
<div class="rate-btn-container">
<button id="select-all" class="rate-btn btn-secondary" type="button">全て選択する</button>
<button id="deselect-all" class="rate-btn btn-secondary" type="button">全て選択解除する</button>
<button id="filter-affiliated" class="rate-btn btn-secondary filter" type="button">所属</button>
<button id="filter-unaffiliated" class="rate-btn btn-secondary filter" type="button">未所属</button>
</div>
</div>
</div>
<div class="sidebar">
<div style="padding: 10px; flex: 1 1 auto; user-select: none;" id="scrollbar-style-1">
<div style="display: flex; justify-content: space-between; padding: 0;">
<h5>役割</h5>
<button id="filter-clear">
<span class="material-symbols-outlined">
filter_alt_off
</span>
</button>
</div>
<div class="group-filter">
<button id="filter-main" class="btn btn-secondary filter font-nexon" type="button"><span class="nexon-font-label">STRIKER</span></button>
<button id="filter-support" class="btn btn-secondary filter font-nexon" type="button"><span class="nexon-font-label">SPECIAL</span></button>
</div>
<h5>クラス</h5>
<div class="group-filter">
<button id="filter-tanker" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/category/tanker.webp">
<span>タンク</span>
</span>
</button>
<button id="filter-damage-dealer" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/category/damage-dealer.webp">
<span>アタッカー</span>
</span>
</button>
<button id="filter-healer" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/category/healer.webp">
<span>ヒーラー</span>
</span>
</button>
<button id="filter-supporter" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/category/supporter.webp">
<span>サポーター</span>
</span>
</button>
<button id="filter-vehicle" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/category/vehicle.webp">
<span>T.S</span>
</span>
</button>
</div>
<h5>レア度 / 入手機会</h5>
<div class="group-filter">
<button id="filter-star-grade-3" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px;">
<!-- <img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/tanker.webp"> -->
<span>
<svg class="svg-star" focusable="false" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg><svg class="svg-star" focusable="false" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg><svg class="svg-star" focusable="false" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg>
</span>
</span>
</button>
<button id="filter-star-grade-2" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px;">
<!-- <img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/tanker.webp"> -->
<span>
<svg class="svg-star" focusable="false" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg><svg class="svg-star" focusable="false" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg>
</span>
</span>
</button>
<button id="filter-star-grade-1" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px;">
<span>
<svg class="svg-star" focusable="false" viewBox="0 0 576 512"><path fill="currentColor" d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"></path></svg>
</span>
</span>
</button>
<button id="filter-is-limited-1" class="btn btn-secondary filter" type="button"><span class="label">限定</span></button>
<button id="filter-is-limited-2" class="btn btn-secondary filter" type="button"><span class="label">イベント報酬</span></button>
<button id="filter-is-limited-0" class="btn btn-secondary filter" type="button"><span class="label">恒常</span></button>
</div>
<h5>攻撃タイプ</h5>
<div class="group-filter">
<button id="filter-explosion" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "explosion-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/AttackAttribute.webp">
</span>
<span>爆発</span>
</span>
</button>
<button id="filter-pierce" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "pierce-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/AttackAttribute.webp">
</span>
<span>貫通</span>
</span>
</button>
<button id="filter-mystic" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "mystic-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/AttackAttribute.webp">
</span>
<span>神秘</span>
</span>
</button>
<button id="filter-sonic" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "sonic-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/AttackAttribute.webp">
</span>
<span>振動</span>
</span>
</button>
</div>
<h5>防御タイプ</h5>
<div class="group-filter">
<button id="filter-light-armor" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "explosion-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/DefenseAttribute.webp">
</span>
<span>軽装備</span>
</span>
</button>
<button id="filter-heavy-armor" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "pierce-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/DefenseAttribute.webp">
</span>
<span>重装甲</span>
</span>
</button>
<button id="filter-unarmored" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "mystic-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/DefenseAttribute.webp">
</span>
<span>特殊装甲</span>
</span>
</button>
<button id="filter-elastic-armor" class="btn btn-secondary filter" type="button">
<span class="icon-label" style="padding: 0 8px 0 2px;">
<span class = "sonic-bg-color circle-attribute">
<img id="filter-image" width="14" height="14" src="images/filter-icon/DefenseAttribute.webp">
</span>
<span>弾力装甲</span>
</span>
</button>
</div>
<h5>ポジション</h5>
<div class="group-filter">
<button id="filter-front" class="btn btn-secondary filter font-nexon" type="button"><span class="nexon-font-label">FRONT</span></button>
<button id="filter-middle" class="btn btn-secondary filter font-nexon" type="button"><span class="nexon-font-label">MIDDLE</span></button>
<button id="filter-back" class="btn btn-secondary filter font-nexon" type="button"><span class="nexon-font-label">BACK</span></button>
</div>
<h5>学園</h5>
<div class="group-filter">
<button id="filter-abydos" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/ABYDOS.webp">
<span>アビドス</span>
</span>
</button>
<button id="filter-arius" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/ARIUS.webp">
<span>アリウス</span>
</span>
</button>
<button id="filter-gehenna" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/GEHENNA.webp">
<span>ゲヘナ</span>
</span>
</button>
<button id="filter-hyakkiyako" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/HYAKKIYAKO.webp">
<span>百鬼夜行</span>
</span>
</button>
<button id="filter-millennium" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/MILLENNIUM.webp">
<span>ミレニアム</span>
</span>
</button>
<button id="filter-red-winter" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/REDWINTER.webp">
<span>レッドウィンター</span>
</span>
</button>
<button id="filter-shanhaijing" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/SHANHAIJING.webp">
<span>山海経</span>
</span>
</button>
<button id="filter-srt" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/SRT.webp">
<span>SRT</span>
</span>
</button>
<button id="filter-trinity" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/TRINITY.webp">
<span>トリニティ</span>
</span>
</button>
<button id="filter-valkyrie" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/VALKYRIE.webp">
<span>ヴァルキューレ</span>
</span>
</button>
<button id="filter-etc" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/ETC.webp">
<span>その他</span>
</span>
</button>
<button id="filter-tokiwadai" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/TOKIWADAI.webp">
<span>常盤台中学</span>
</span>
</button>
<button id="filter-sakugawa" class="btn btn-secondary filter" type="button">
<span class="icon-label">
<img id="filter-image" class="invert-light" width="26" height="26" src="images/filter-icon/school/ETC.webp">
<span>柵川中学</span>
</span>
</button>
</div>
<h5>武器種</h5>
<div class="group-filter">
<button id="filter-sg" class="btn btn-secondary filter" type="button"><span class="label">SG</span></button>
<button id="filter-smg" class="btn btn-secondary filter" type="button"><span class="label">SMG</span></button>
<button id="filter-ar" class="btn btn-secondary filter" type="button"><span class="label">AR</span></button>
<button id="filter-gl" class="btn btn-secondary filter" type="button"><span class="label">GL</span></button>
<button id="filter-hg" class="btn btn-secondary filter" type="button"><span class="label">HG</span></button>
<button id="filter-rl" class="btn btn-secondary filter" type="button"><span class="label">RL</span></button>
<button id="filter-sr" class="btn btn-secondary filter" type="button"><span class="label">SR</span></button>
<button id="filter-rg" class="btn btn-secondary filter" type="button"><span class="label">RG</span></button>
<button id="filter-mg" class="btn btn-secondary filter" type="button"><span class="label">MG</span></button>
<button id="filter-mt" class="btn btn-secondary filter" type="button"><span class="label">MT</span></button>
<button id="filter-ft" class="btn btn-secondary filter" type="button"><span class="label">FT</span></button>
</div>
</div>
</div>
</aside>
<main>
<script src="./js/font.js"></script>
<div class="button-container-scrollbar" id="scrollbar-style-1">
<div id="button-container"></div>
</div>
<script id="button-template" type="text/x-handlebars-template">
{{#each roles}}
<div class="button {{#if this.active}}active{{/if}}" style="background-image: url(./images/student/{{this.Id}}.webp);" data-role-id="{{this.Id}}">
<div class="card-label">
{{fontSize this.Name 'normal'}}
{{fontSize this.Name 'hover'}}
</div>
</div>
{{/each}}
</script>
</main>
</div>
<!-- <footer>
FOOTER
</footer> -->
<script src="main.js"></script>
<script src="./js/toggleSidebar.js"></script>
<script src="./js/updateButtonContainerHeight.js"></script>
<script src="./js/updateSidebarContainerHeight.js"></script>
<script src="./js/menu.js"></script>
</body>
</html>