Asem75 commited on
Commit
61df39e
·
verified ·
1 Parent(s): 70718ef

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +13 -135
index.html CHANGED
@@ -3,19 +3,9 @@
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
6
- <meta name="theme-color" content="#0c2933">
7
- <script>
8
- /* يعرض أي خطأ تحميل أو تشغيل على الشاشة بدل الصفحة البيضاء. يُحذف بعد استقرار التطبيق. */
9
- (function(){function show(t){var b=document.getElementById('bootError');if(!b){b=document.createElement('pre');b.id='bootError';
10
- b.style.cssText='margin:12px;padding:12px;border-radius:12px;background:#4a1010;color:#fff;font:13px/1.6 monospace;white-space:pre-wrap;direction:ltr;position:relative;z-index:99999';
11
- (document.body||document.documentElement).appendChild(b);}b.textContent+=t+'\n';}
12
- window.addEventListener('error',function(e){var el=e.target;if(el&&el!==window&&(el.src||el.href)){if(el.hasAttribute&&el.hasAttribute('data-optional'))return;show('LOAD FAILED: '+(el.src||el.href).split('?')[0].split('/').pop());return;}
13
- show((e.filename||'').split('?')[0].split('/').pop()+':'+e.lineno+' '+e.message);},true);
14
- window.addEventListener('unhandledrejection',function(e){show('PROMISE: '+(e.reason&&e.reason.message||e.reason));});})();
15
- </script>
16
  <title></title>
17
  <link rel="stylesheet" href="quran_reader.css?v=20261016-radio1">
18
- <link rel="stylesheet" href="islamic_radio.css?v=20261115-bg1">
19
  <style>
20
  *{box-sizing:border-box}
21
  html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,"Noto Sans Arabic",sans-serif}
@@ -144,7 +134,7 @@ body{padding-bottom:190px}
144
  .boundary-entry{position:absolute;left:3px;right:3px;min-height:36px;max-height:38px;overflow-y:auto;z-index:3;font:inherit;font-size:12px;color:inherit;background:var(--cell-surface);border:1px solid var(--cell-border);border-radius:5px;padding:4px;cursor:pointer;direction:rtl}
145
  .event-marker,.personal-hour{position:absolute;left:3px;right:3px;height:64px;overflow-y:auto;z-index:3;font:inherit;font-size:14px;color:inherit;background:var(--cell-surface);border:1px solid var(--cell-border);border-radius:7px;padding:6px;cursor:pointer;direction:rtl}
146
  .reminder-axis{position:absolute;left:0;right:0;border-top:1px solid var(--cell-border);pointer-events:none}
147
- .now-marker{top:0;padding:0;transform:none;z-index:4}
148
  .now-marker::after{top:76px;left:0;height:300px;border-left-width:2px}
149
  .now-marker-label{position:absolute;top:0;left:0;width:270px;max-width:calc(100vw - 32px);white-space:pre-line;text-align:center;line-height:1.65;background:var(--cell-surface);border:1px solid currentColor;border-radius:8px;padding:4px;direction:rtl}
150
  .personal-hour{pointer-events:auto;z-index:3;border:1px solid var(--cell-border);border-radius:5px;color:inherit;background:var(--cell-surface);font:inherit;cursor:pointer}
@@ -171,117 +161,6 @@ body{padding-bottom:190px}
171
  #celestialSettingsPanel{white-space:normal}
172
  #celestialSettingsButton,#celestialBootRetry{font:inherit;min-height:44px;padding:8px 12px;border:1px solid var(--cell-border,#888);border-radius:8px;background:var(--cell-surface,#fff);color:inherit;cursor:pointer}
173
  #celestialBootStatus{white-space:pre-line;overflow-wrap:anywhere}
174
-
175
- /* ===== الجزء 1: شاشة بلا كلمات + خلفية احتياطية (خفيف جدًا) ===== */
176
- html{background:#0c2933}
177
- body{padding-bottom:70px}
178
- /* العناصر تبقى للقارئ الصوتي فقط؛ كل الأزرار موجودة في نافذة الساعة */
179
- main>h1[data-ui="title"],.hint,#timelineDates,#solarStatus{
180
- position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
181
- }
182
- #locationButton,#adhkarButton,#reminderButton,#celestialSettingsButton{display:none!important}
183
- #loadStatus:empty{display:none}
184
- .timeline-navigation{margin:0}
185
- #timelineToday{
186
- position:fixed;inset-inline-start:16px;bottom:20px;z-index:60;width:52px;height:52px;padding:0;border-radius:50%;
187
- font-size:0;display:grid;place-items:center;cursor:pointer;background:var(--paint-14);border:1px solid var(--cell-border)
188
- }
189
- #timelineToday[hidden]{display:none}
190
- #timelineToday::before{content:"◎";font-size:26px;line-height:1;color:#e8c872}
191
-
192
- /* ===== الجزء 2: مشهد السماء والقبلة (بلا تمويه خلفية ولا أقنعة) ===== */
193
- #celestialSection{margin:0 0 18px}
194
- #celestialScene{height:268px;border-radius:26px;box-shadow:0 14px 34px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.16)}
195
- #celestialScene::before,#celestialScene::after{content:"";position:absolute;inset:0;pointer-events:none}
196
- #celestialScene::before{
197
- opacity:0;transition:opacity 2s ease;
198
- background:
199
- radial-gradient(1.6px 1.6px at 12% 18%,#fff 98%,transparent),radial-gradient(1.2px 1.2px at 27% 34%,#fff 98%,transparent),
200
- radial-gradient(1.8px 1.8px at 44% 12%,#fff 98%,transparent),radial-gradient(1.2px 1.2px at 58% 28%,#fff 98%,transparent),
201
- radial-gradient(1.6px 1.6px at 73% 16%,#fff 98%,transparent),radial-gradient(1.2px 1.2px at 88% 30%,#fff 98%,transparent),
202
- radial-gradient(1.2px 1.2px at 35% 52%,#fff 98%,transparent),radial-gradient(1.6px 1.6px at 66% 46%,#fff 98%,transparent),
203
- radial-gradient(1.2px 1.2px at 8% 56%,#fff 98%,transparent),radial-gradient(1.4px 1.4px at 93% 58%,#fff 98%,transparent)
204
- }
205
- #celestialScene[data-sky-phase="night"]::before{opacity:.9}
206
- #celestialScene[data-sky-phase="twilight"]::before{opacity:.45}
207
- #celestialScene::after{background:linear-gradient(180deg,rgba(0,0,0,.16),transparent 34%,transparent 62%,rgba(255,255,255,.12) 80%,transparent 82%)}
208
- #celestialSun{
209
- background:radial-gradient(circle at 38% 34%,#fffbe3 0 16%,#ffd860 46%,#ffae2e 100%);
210
- box-shadow:0 0 22px 6px rgba(255,205,92,.55),0 0 60px 20px rgba(255,186,66,.24)
211
- }
212
- #celestialGround{
213
- background:linear-gradient(180deg,#5f9269 0%,#41704f 46%,#2d5039 100%);
214
- border-top:1px solid rgba(255,255,255,.42);box-shadow:inset 0 12px 20px rgba(0,0,0,.20)
215
- }
216
- #celestialStick{width:6px;border-radius:3px 3px 1px 1px;background:linear-gradient(90deg,#fff,#c9d2d8);box-shadow:0 2px 6px rgba(0,0,0,.35)}
217
- #celestialShadow{height:6px;border-radius:3px;background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.06))}
218
- #celestialQibla{
219
- width:38px;height:42px;border-radius:5px;border:1px solid rgba(255,255,255,.75);
220
- background:linear-gradient(180deg,#303030,#0d0d0d);box-shadow:0 8px 16px rgba(0,0,0,.5),0 0 0 3px rgba(232,200,114,.22)
221
- }
222
- #celestialQibla::before{background:linear-gradient(90deg,#b8923f,#f1d98d,#b8923f);height:6px;top:9px}
223
- #celestialQibla::after{content:"";position:absolute;left:50%;bottom:0;width:9px;height:15px;transform:translateX(-50%);background:linear-gradient(180deg,#d9b866,#9a7630);border-radius:3px 3px 0 0}
224
- @media (min-width:700px){#celestialScene{height:320px}}
225
- @media (prefers-reduced-motion:reduce){#celestialScene::before{transition:none}}
226
-
227
- /* ===== الجزء 3: المسطرة والساعات والأيقونات (بلا تمويه ولا أقنعة ولا فلاتر ثقيلة) ===== */
228
- .ruler-shell{
229
- border:1px solid rgba(255,255,255,.16);border-radius:26px;
230
- background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
231
- box-shadow:0 10px 26px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.14)
232
- }
233
- .axis{height:6px;border-radius:3px;background:linear-gradient(90deg,rgba(255,255,255,.30),rgba(255,255,255,.95),rgba(255,255,255,.30));box-shadow:0 0 10px rgba(255,255,255,.28)}
234
- .hour{border-radius:20px;border-inline-end:0;background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.02));box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}
235
- .hour .label{font-size:22px;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.35)}
236
- .hour .tick{width:2px;background:linear-gradient(#e8c872,transparent)}
237
- .time-band{border-radius:9px;box-shadow:0 2px 6px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.28)}
238
- .solar-point{width:3px;border-radius:2px}
239
-
240
- /* ——— الأيقونات: شرائح زجاجية خفيفة، والرمز في أول النص يكبر ——— */
241
- .prayer-entry,.boundary-entry,.event-marker,.personal-hour{
242
- background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07));
243
- border:1px solid rgba(255,255,255,.18);border-radius:13px;box-shadow:0 2px 8px rgba(0,0,0,.22);
244
- line-height:1.5;transition:transform .15s,background .2s
245
- }
246
- .prayer-entry{border-color:rgba(232,200,114,.42)}
247
- .prayer-entry:active,.boundary-entry:active,.event-marker:active,.personal-hour:active{transform:scale(.97)}
248
- .prayer-entry::first-letter,.boundary-entry::first-letter,.event-marker::first-letter,.personal-hour::first-letter{font-size:1.45em;line-height:1}
249
- .hour-icons{font-size:20px;gap:6px}
250
- .untimed-markers button{border-radius:999px;padding:8px 14px}
251
- .timeline-legend{gap:8px;margin:16px 0 4px}
252
- .timeline-legend>*{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.14);font-size:13px}
253
- .state-swatch{width:12px;height:12px;border-radius:50%;margin-inline-end:8px}
254
-
255
- /* ——— مؤشر الآن: لون الحالة ولون نصها من السجل (مقروء)، والعمود أقدام تمشي ——— */
256
- .now-marker-label{
257
- background:inherit;border:1px solid rgba(255,255,255,.42);border-radius:16px;padding:8px 12px;
258
- box-shadow:0 8px 20px rgba(0,0,0,.34);font-weight:600;font-size:14px;line-height:1.6;pointer-events:auto;cursor:pointer
259
- }
260
- .now-marker::after{
261
- border-left:0;width:30px;left:-15px;opacity:.95;
262
- background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='64' viewBox='0 0 30 64'><g fill='%23e8c872'><ellipse cx='9' cy='18' rx='3.6' ry='6.4'/><ellipse cx='9' cy='26.4' rx='2.9' ry='3.1'/><circle cx='5.6' cy='9' r='1.5'/><circle cx='8.2' cy='7.6' r='1.1'/><circle cx='10.6' cy='7.6' r='1.1'/><circle cx='12.8' cy='9' r='1.1'/><ellipse cx='21' cy='50' rx='3.6' ry='6.4'/><ellipse cx='21' cy='58.4' rx='2.9' ry='3.1'/><circle cx='17.6' cy='41' r='1.5'/><circle cx='20.2' cy='39.6' r='1.1'/><circle cx='22.6' cy='39.6' r='1.1'/><circle cx='24.8' cy='41' r='1.1'/></g></svg>") repeat-y center top/30px 64px;
263
- animation:walk 1.6s steps(8) infinite
264
- }
265
- @keyframes walk{to{background-position:center -64px}}
266
- @media (prefers-reduced-motion:reduce){.now-marker::after{animation:none}}
267
-
268
- /* ===== الجزء 4: النوافذ وربط العقرب بالأيقونات (بلا تمويه) ===== */
269
- #adaptivePopup{background:rgba(2,10,14,.78)}
270
- #adaptivePopupCard{border-radius:28px;border:1px solid rgba(255,255,255,.16);box-shadow:0 20px 44px rgba(0,0,0,.4);background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02)),var(--paint-14);animation:sheet-in .26s ease-out}
271
- @keyframes sheet-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
272
- .adaptive-head h2{font-weight:700}
273
- #adaptivePopupClose{border-radius:50%;min-width:46px;min-height:46px;background:rgba(255,255,255,.12)}
274
- #adaptivePopupBody>button{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:18px;padding:14px 16px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));box-shadow:0 2px 8px rgba(0,0,0,.18);transition:transform .15s}
275
- #adaptivePopupBody>button::after{content:"‹";font-size:26px;line-height:1;color:#e8c872;opacity:.85}
276
- #adaptivePopupBody>button:active{transform:scale(.985)}
277
- #adaptivePopupActions button{border-radius:999px;padding:10px 18px;background:linear-gradient(180deg,rgba(232,200,114,.28),rgba(232,200,114,.12));border:1px solid rgba(232,200,114,.4)}
278
- #adaptivePopupBody input,#adaptivePopupBody select,#adaptivePopupBody textarea{border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.2);color:inherit}
279
- #reminderNotice,#reminderDialogNotice{border:1px solid #e8c872;border-radius:18px;box-shadow:0 14px 30px rgba(0,0,0,.4);animation:sheet-in .26s ease-out}
280
- /* العقرب يربط الأيقونات: الماضي يخفت، الجاري يتوهج، والتالي بإطار ذهبي متقطع */
281
- .is-past{opacity:.58}
282
- .is-current{opacity:1;box-shadow:0 0 0 2px #e8c872,0 4px 12px rgba(0,0,0,.35)}
283
- .is-next{opacity:1;outline:2px dashed #e8c872;outline-offset:2px}
284
- @media (prefers-reduced-motion:reduce){#adaptivePopupCard,#reminderNotice,#reminderDialogNotice{animation:none}}
285
  </style>
286
  </head>
287
  <body>
@@ -348,18 +227,18 @@ main>h1[data-ui="title"],.hint,#timelineDates,#solarStatus{
348
 
349
 
350
  <script src="astronomy.browser.min.js?v=20260926-ui2"></script>
351
- <script src="solar_engine.js?v=20261103-r3"></script>
352
  <script src="personal_reminder_engine.js?v=20260929-complete1"></script>
353
- <script src="hijri_calendar_engine.js?v=20261103-r3"></script>
354
- <script src="worship_event_engine.js?v=20261103-r3"></script>
355
  <script src="quran_khatma.js?v=20261016-radio1"></script>
356
- <script src="quran_audio.js?v=20261115-bg1"></script>
357
- <script src="quran_reader.js?v=20261115-bg1"></script>
358
- <script data-optional src="native_bridge.js?v=20261016-native1"></script>
359
- <script src="islamic_radio.js?v=20261115-bg1"></script>
360
  <script src="alert_actions.js?v=20261016-push1"></script>
361
- <script data-optional src="push_client.js?v=20261016-push1"></script>
362
- <script src="registry_app.js?v=20261103-r3"></script>
363
  <script>
364
  (function () {
365
  'use strict';
@@ -480,7 +359,7 @@ main>h1[data-ui="title"],.hint,#timelineDates,#solarStatus{
480
  if (qiblaReady) configureUI();
481
  message(ui?.loading, false);
482
  if (!window.CelestialSimulation) {
483
- await import('./celestial_simulation.js?v=20261103-r3');
484
  }
485
  const api = window.CelestialSimulation;
486
  if (!api) throw new Error('Missing CelestialSimulation');
@@ -684,5 +563,4 @@ main>h1[data-ui="title"],.hint,#timelineDates,#solarStatus{
684
 
685
  </script>
686
  </body>
687
- </html>
688
-
 
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
 
 
 
 
 
 
 
 
 
 
6
  <title></title>
7
  <link rel="stylesheet" href="quran_reader.css?v=20261016-radio1">
8
+ <link rel="stylesheet" href="islamic_radio.css?v=20261016-radio1">
9
  <style>
10
  *{box-sizing:border-box}
11
  html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,"Noto Sans Arabic",sans-serif}
 
134
  .boundary-entry{position:absolute;left:3px;right:3px;min-height:36px;max-height:38px;overflow-y:auto;z-index:3;font:inherit;font-size:12px;color:inherit;background:var(--cell-surface);border:1px solid var(--cell-border);border-radius:5px;padding:4px;cursor:pointer;direction:rtl}
135
  .event-marker,.personal-hour{position:absolute;left:3px;right:3px;height:64px;overflow-y:auto;z-index:3;font:inherit;font-size:14px;color:inherit;background:var(--cell-surface);border:1px solid var(--cell-border);border-radius:7px;padding:6px;cursor:pointer;direction:rtl}
136
  .reminder-axis{position:absolute;left:0;right:0;border-top:1px solid var(--cell-border);pointer-events:none}
137
+ .now-marker{top:0;padding:0;transform:none;background:transparent!important;z-index:4}
138
  .now-marker::after{top:76px;left:0;height:300px;border-left-width:2px}
139
  .now-marker-label{position:absolute;top:0;left:0;width:270px;max-width:calc(100vw - 32px);white-space:pre-line;text-align:center;line-height:1.65;background:var(--cell-surface);border:1px solid currentColor;border-radius:8px;padding:4px;direction:rtl}
140
  .personal-hour{pointer-events:auto;z-index:3;border:1px solid var(--cell-border);border-radius:5px;color:inherit;background:var(--cell-surface);font:inherit;cursor:pointer}
 
161
  #celestialSettingsPanel{white-space:normal}
162
  #celestialSettingsButton,#celestialBootRetry{font:inherit;min-height:44px;padding:8px 12px;border:1px solid var(--cell-border,#888);border-radius:8px;background:var(--cell-surface,#fff);color:inherit;cursor:pointer}
163
  #celestialBootStatus{white-space:pre-line;overflow-wrap:anywhere}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  </style>
165
  </head>
166
  <body>
 
227
 
228
 
229
  <script src="astronomy.browser.min.js?v=20260926-ui2"></script>
230
+ <script src="solar_engine.js?v=20260926-ui2"></script>
231
  <script src="personal_reminder_engine.js?v=20260929-complete1"></script>
232
+ <script src="hijri_calendar_engine.js?v=20260926-worship1"></script>
233
+ <script src="worship_event_engine.js?v=20260926-worship1"></script>
234
  <script src="quran_khatma.js?v=20261016-radio1"></script>
235
+ <script src="quran_audio.js?v=20261016-radio1"></script>
236
+ <script src="quran_reader.js?v=20261016-radio1"></script>
237
+ <script src="native_bridge.js?v=20261016-native1"></script>
238
+ <script src="islamic_radio.js?v=20261016-push1"></script>
239
  <script src="alert_actions.js?v=20261016-push1"></script>
240
+ <script src="push_client.js?v=20261016-push1"></script>
241
+ <script src="registry_app.js?v=20261016-push1"></script>
242
  <script>
243
  (function () {
244
  'use strict';
 
359
  if (qiblaReady) configureUI();
360
  message(ui?.loading, false);
361
  if (!window.CelestialSimulation) {
362
+ await import('./celestial_simulation.js?v=20260928-qibla1');
363
  }
364
  const api = window.CelestialSimulation;
365
  if (!api) throw new Error('Missing CelestialSimulation');
 
563
 
564
  </script>
565
  </body>
566
+ </html>