-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
412 lines (408 loc) · 18.4 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R1Y9J6ZFHP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-R1Y9J6ZFHP');
</script>
<!-- <script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/casamia/sw.js');
});
}
</script> -->
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<title>Search • Casa Mia</title>
<meta name="theme-color" content="black">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light only">
<link rel="preconnect" href="https://raw.githubusercontent.com" crossorigin />
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=nanum-brush-script:400|advent-pro:100,200,300,400,500,600,700|ubuntu:300,300i,400,400i,500,500i,700,700i|ubuntu-condensed:400|ubuntu-mono:400,400i,700,700i|vujahday-script:400|are-you-serious:400|alkatra:400|montez:400"
rel="stylesheet" />
<!-- <link rel="stylesheet" href="./icons.css" /> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> -->
<link rel="stylesheet" href="./animations.css">
<link rel="stylesheet" href="./style.css" />
<script src="./index.js" type="module"></script>
</head>
<body>
<div id="notifyContainer" class="notifyContainer disable-select"></div>
<div id="downloadContainer" class="downloadContainer disable-select hidden">
<div class="downloadContainerTitleBar modal-page-title">
<p id="downloadContainer-close-btn" class="modal-close-btn fa fa-chevron-left"></p>
<h2 id="downloadContainerTitle">Download Videos</h2>
</div>
<div id="progress-bar" class="progressBar hidden" aria-label="loading">
<span class="loadingText" id="loadingText">Loading</span>
<div class="loader"></div>
</div>
</div>
<div id="overlay"></div>
<canvas id="canvasFar"></canvas>
<div id="gradient_overlay"></div>
<div id="header" class="header">
<div class="header-left-block">
<img class="user-avatar" src="./icons/maskable_icon_x192.png"></img>
<div class="user-name">HI, USER</div>
</div>
<div class="header-right-block">WEATHER</div>
</div>
<div id="wrap" class="startup_slide_down">
<div id="flex-main-container-vertical" class="flex-main-container-vertical">
<div id="home-widget-container"><i id="left-arrow" class="arrows fa fa-caret-left"></i>
<div class="home-widget">
<div id="main-heading-slider" class="nowrap disable-select">
<h1 id="widget-1" class="widget-slide default-text-style">Welcome</h1>
<h1 id="widget-3" class="widget-slide brush-text-style-2">Welcome</h1>
<h1 id="widget-4" class="widget-slide brush-text-style-3 has-shadow">Welcome</h1>
<h1 id="widget-6" class="widget-slide brush-text-style-5">Welcome</h1>
<h1 id="widget-5" class="widget-slide brush-text-style-4">Welcome</h1>
<h1 id="widget-7" class="widget-slide brush-text-style-6">Welcome</h1>
<h1 id="widget-2" class="widget-slide brush-text-style-1 has-shadow">Welcome</h1>
</div>
<p id="subtitle" class="disable-select">Please wait</p>
</div><i id="right-arrow" class="arrows fa fa-caret-right"></i>
</div>
<div class="search" id="searchbar">
<div id="searchBarFocusMode" class="searchBarFocusMode"></div>
<div id="searchContainer" class="searchContainer">
<input title="Search" type="search" class="searchTerm" id="searchTerm"
placeholder="What's on your mind?" name="casamia-search" autocomplete="off" tabindex="1">
<button type="submit" class="searchButton" id="search-btn" title="Search the web">
<i id="search-btn-icon" class="fa-brands fa-google"></i>
</button>
</div>
<div class="autofillContainer" id="autofillContainer"></div>
</div>
<div id="bookmarks" class="flex-sub-container-horizontal disable-select">
<div id="movies-search" class="bookmark-container">
<a class="predefined-bookmark bookmark-icon clickable" tabindex="1">
<i class="fa fa-clapperboard"></i>
</a>
<span class="bookmark-title">Movies</span>
</div>
<div id="tv-search" class="bookmark-container">
<a class="predefined-bookmark bookmark-icon clickable" tabindex="1">
<i class="fa fa-display"></i>
</a>
<span class="bookmark-title">TV Shows</span>
</div>
<div id="games-search" class="bookmark-container">
<a class="predefined-bookmark bookmark-icon clickable" tabindex="1">
<i class="fa fa-gamepad"></i>
</a>
<span class="bookmark-title">Games</span>
</div>
<div id="ebooks-search" class="bookmark-container">
<a class="predefined-bookmark bookmark-icon clickable" tabindex="1">
<i class="fa fa-book"></i>
</a>
<span class="bookmark-title">Books</span>
</div>
<div id="downloader-button" class="bookmark-container">
<a class="predefined-bookmark bookmark-icon clickable" tabindex="1">
<i class="fa-solid fa-download"></i>
</a>
<span class="bookmark-title">Download</span>
</div>
<div id="add_bookmark_button" onclick="createNewBookmark()"
class="bookmark-container add_bookmark_button">
<a class="predefined-bookmark bookmark-icon add_bookmark_button_icon clickable" tabindex="2">
<i class="fa fa-plus"></i>
</a>
<span class="bookmark-title">Add Bookmark</span>
</div>
<div id="settings_button" class="bookmark-container settings_button">
<a class="predefined-bookmark bookmark-icon settings_button_icon clickable" tabindex="2">
<i class="fa fa-gear"></i>
</a>
<span class="bookmark-title">Settings</span>
</div>
</div>
</div>
</div>
<div id="advanced-settings-modal-background-overlay" class="modal-background"></div>
<div id="advanced-settings-modal" class="disable-select">
<div class="modal-page-title">
<p id="modal-close-btn" class="modal-close-btn fa fa-chevron-left"></p>
<p class="">Advanced Settings</p>
</div>
<div class="modal-group">
<p class="modal-title">Display Info</p>
<div id="update-username-btn" class="modal-option custom-button">
<p>User name</p>
<p id="update-username-btn-preview" class="setting-preview">preview text</p>
</div>
</div>
<div class="modal-group">
<p class="modal-title">Interface</p>
<label for="bg-img-drop" class="modal-option custom-dropdown">Background image
<select class="setting-preview" name="bg-img-drop" id="bg-img-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<label for="bg-blur-drop" class="modal-option custom-dropdown">Background matte
<select class="setting-preview" name="bg-blur-drop" id="bg-blur-drop">
<option value="on">Enabled</option>
<option value="off">Disabled</option>
</select>
</label>
<!-- <label for="bg-glow-drop" class="modal-option custom-dropdown hidden">Background glow
<select class="setting-preview" name="bg-glow-drop" id="bg-glow-drop">
<option value="auto">Auto</option>
<option value="on">Force On</option>
<option value="off">Force Off</option>
</select></label> -->
<!-- <label for="weather-display-drop" class="modal-option custom-dropdown hidden">Display
weather
<select class="setting-preview" name="weather-display-drop" id="weather-display-drop">
<option value="on">On</option>
<option value="off">Off</option>
</select></label> -->
<label for="footer-display-drop" class="modal-option custom-dropdown">Footer
<select class="setting-preview" name="footer-display-drop" id="footer-display-drop">
<option value="on">Enabled</option>
<option value="off">Disabled</option>
</select></label>
<label for="searchbar-position-drop" class="modal-option custom-dropdown">One-handed mode <select
class="setting-preview" name="searchbar-position-drop" id="searchbar-position-drop">
<option value="top">Disabled</option>
<option value="middle">Partial</option>
<option value="bottom">Full</option>
</select></label>
</div>
<div class="modal-group">
<p class="modal-title">Home Widgets</p>
<label for="def-widget-display-drop" class="modal-option custom-dropdown">Main widget
<select class="setting-preview" name="def-widget-display-drop" id="def-widget-display-drop">
<option value="on">Enabled</option>
<option value="off">Disabled</option>
</select>
</label>
<div id="main-widget-children-container" class="nested-one-element">
<label id="def-widget-drop-container" for="def-widget-drop"
class="modal-option custom-dropdown nested-one-element">Main widget
style
<select class="setting-preview" name="def-widget-drop" id="def-widget-drop">
<option value="casamia">Casa Mia</option>
<option value="search">Search</option>
<option value="clock">Clock</option>
<option value="custom">Custom..</option>
</select>
</label>
<div id="update-customtext-btn" class="modal-option custom-button nested-one-element nested-close">
<p>Custom widget text</p>
<p id="update-customtext-btn-preview" class="setting-preview">preview text</p>
</div>
</div>
<!-- <label for="widget-style-drop" class="modal-option custom-dropdown hidden">Widget style <select
class="setting-preview" name="widget-style-drop" id="widget-style-drop">
<option value="minimal">Minimal</option>
<option value="handwritten">Handwritten</option>
</select></label> -->
<label for="greeting-display-drop" class="modal-option custom-dropdown">Time-based greeting
<select class="setting-preview" name="greeting-display-drop" id="greeting-display-drop">
<option value="on">Enabled</option>
<option value="off">Disabled</option>
</select>
</label>
</div>
<!-- <div class="modal-group hidden">
<p class="modal-title">Clock</p><label for="show-seconds-drop" class="modal-option custom-dropdown">Show
seconds
<select class="setting-preview" name="show-seconds-drop" id="show-seconds-drop">
<option value="on">On</option>
<option value="off">Off</option>
</select></label><label for="clock-style-drop" class="modal-option custom-dropdown">Clock style <select
class="setting-preview" name="clock-style-drop" id="clock-style-drop">
<option value="24hrs">24 Hours</option>
<option value="12hrs">12 Hours</option>
</select></label><label for="am-pm-style-drop" class="modal-option custom-dropdown">AM/PM style <select
class="setting-preview" name="am-pm-style-drop" id="am-pm-style-drop">
<option value="uppercase">Uppercase</option>
<option value="lowercase">Lowercase</option>
</select></label>
</div> -->
<div class="modal-group">
<p class="modal-title">Search</p>
<label for="search-display-drop" class="modal-option custom-dropdown">Search bar
<select class="setting-preview" name="search-display-drop" id="search-display-drop">
<option value="on" selected="true">Enabled</option>
<option value="off">Disabled</option>
</select>
</label>
<div id="search-display-children-container" class="nested-one-element">
<label id="def-search-engine-drop-container" for="def-search-engine-drop"
class="modal-option custom-dropdown nested-one-element">
Default search engine
<select class="setting-preview" name="def-search-engine-drop" id="def-search-engine-drop">
<option value="google">Google</option>
<option value="bing">Bing</option>
<option value="duckduckgo">DuckDuckGo</option>
<option value="custom">Custom..</option>
</select>
</label>
<div id="update-customdomain-btn" class="modal-option custom-button nested-one-element nested-close">
<p>Custom domain</p>
<p id="update-customdomain-btn-preview" class="setting-preview">preview text</p>
</div>
<label for="focus-search-drop" class="modal-option custom-dropdown">Autofocus search bar
<select class="setting-preview" name="focus-search-drop" id="focus-search-drop">
<option value="on">Enabled</option>
<option value="off" selected="true">Disabled</option>
</select>
</label>
<label for="searchbar-color-theme-drop" class="modal-option custom-dropdown">Search bar theme
<select class="setting-preview" name="searchbar-color-theme-drop" id="searchbar-color-theme-drop">
<option value="glass">Glass</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</label>
</div>
<div id="deep-search-btn" class="modal-option">
<p>Deep search options</p>
<p id="deep-search-btn-arrow-preview" class="setting-preview">
<span id="deep-search-btn-arrow" class="fa fa-angle-down"> </span>
</p>
</div>
<div id="deep-search-nested" class="nested-close">
<label for="movies-search-display-drop" class="modal-option custom-dropdown">Movies button
<select class="setting-preview" name="movies-search-display-drop" id="movies-search-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<label for="tv-search-display-drop" class="modal-option custom-dropdown">TV button
<select class="setting-preview" name="tv-search-display-drop" id="tv-search-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<label for="games-search-display-drop" class="modal-option custom-dropdown">Games button
<select class="setting-preview" name="games-search-display-drop" id="games-search-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<label for="ebooks-search-display-drop" class="modal-option custom-dropdown">Ebooks button
<select class="setting-preview" name="ebooks-search-display-drop" id="ebooks-search-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<label for="downloader-button-display-drop" class="modal-option custom-dropdown">Downloader button
<select class="setting-preview" name="downloader-button-display-drop"
id="downloader-button-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
</div>
</div>
<div class="modal-group">
<p class="modal-title">Bookmarks</p>
<label for="bookmark-labels-display-drop" class="modal-option custom-dropdown">Show labels
<select class="setting-preview" name="bookmark-labels-display-drop" id="bookmark-labels-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<label for="add-bookmark-display-drop" class="modal-option custom-dropdown">Add Bookmark button
<select class="setting-preview" name="add-bookmark-display-drop" id="add-bookmark-display-drop">
<option value="shown">Enabled</option>
<option value="hidden">Disabled</option>
</select>
</label>
<div id="export-bookmarks-btn" class="modal-option">
<p>Backup bookmarks only</p>
<p class="setting-preview">Save locally</p>
</div>
<label for="import-bookmarks-btn" class="modal-option">Restore bookmarks only<input type="file"
id="import-bookmarks-btn" accept=".json">
<p class="setting-preview">*.json</p>
</label>
</div>
<div class="modal-group">
<p class="modal-title">Backup & Restore</p>
<div id="export-backup-btn" class="modal-option">
<p>Backup everything</p>
<p class="setting-preview">Save locally</p>
</div>
<label for="import-backup-btn" class="modal-option">Restore backup<input type="file" id="import-backup-btn"
accept=".json">
<p class="setting-preview">*.json</p>
</label>
</div>
<div class="modal-group">
<p class="modal-title">Labs</p>
<div id="download-wallpaper-btn" class="modal-option">
<p>Download background image</p>
<!-- <p id="download-wallpaper-btn-preview" class="setting-preview"></p> -->
</div>
<div id="fetch-bookmarks-btn" class="modal-option">
<p>Fetch sample bookmarks</p>
<!-- <p class="setting-preview"> </p> -->
</div>
<div id="btn-install" class="modal-option">
<p>Install</p>
<!-- <p id="download-wallpaper-btn-preview" class="setting-preview"></p> -->
</div>
<div id="toggle-favicons-btn" class="modal-option">
<p>Toggle favicons</p>
<p class="setting-preview"></p>
</div>
</div>
<div class=" modal-group">
<p class="modal-title">Factory Reset</p>
<div id="reset-bookmarks-btn" class="modal-option">
<p>Reset bookmarks</p>
<p class="setting-preview"></p>
</div>
<div id="reset-all-btn" class="modal-option">
<p>Reset everything</p>
<p class="setting-preview">Caution!</p>
</div>
</div>
<p id="version-preview" class="version-preview"></p>
<br>
</div>
<div class="flex-wallpaper-horizontal disable-select" id="wallpapers">
<div id="toggle-labs-btn" class="advanced-settings-button clickable">
<i class="fa fa-cogs advanced-settings-button-icon"></i>
</div>
</div>
<div class="hidden">
<a href="./pages/clock/index.html">Clock</a>
<a href="./pages/countdown/index.html">Countdown</a>
<!-- <a href="./pages/error/index.html">Error</a> -->
</div>
</div>
<footer class="footer hidden disable-select" id="footer">
<ul>
<li><a href="https://github.com/lscambo13/casamia" title="GitHub" tabindex="4">GitHub</a></li>
<li><a href="https://t.me/lscambo13_projects" title="Telegram" tabindex="4">Telegram</a></li>
<!-- <li id="terms-btn"><a href="#" title="Terms" tabindex="4">Terms</a></li> -->
<li><a href="https://github.com/lscambo13/casamia/blob/main/README.md" title="Features"
tabindex="4">Features</a>
</li>
<li id="help-btn"><a href="/pages/help/index.html" title="Features" tabindex="4">Help</a></li>
</ul>
<ul>
<li><a id="copyright-text" href="https://github.com/lscambo13" title="© 2023 lscambo13" tabindex="4">
© 2023 lscambo13</a></li>
</ul>
</footer>
</body>
</html>