Febe.Web: AddFebeWeb/UseFebe/FebeWebHost per le due vesti, interfaccia incorporata con IFileProvider proprio, indirizzi italiani, API JSON con contesto generato, eventi SSE, controlli di Host/Origin, gettone del desktop e password con blocco (§13.1), INativeShell e capacità per veste. Modalità --demo con 38 account e circa 18.000 elementi finti e scene del motore. Pagine Libreria, Visualizzatore, Account, Aggiungi account e Scheda account (contenuti, impostazioni con piano, cronologia); schermate in docs/schermate con le differenze dai mockup; prove delle API, della sicurezza, dell'esportazione CSV e dei dati dimostrativi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
8 lines
491 B
JavaScript
8 lines
491 B
JavaScript
// Moves the pointer over the widest tile near the top of the mosaic (hover state of mockup 01).
|
|
const tiles = [...document.querySelectorAll('.tess[data-id]')];
|
|
const wide = tiles
|
|
.filter((t) => t.getBoundingClientRect().top < 500)
|
|
.sort((a, b) => b.getBoundingClientRect().width - a.getBoundingClientRect().width)[0];
|
|
const r = wide.getBoundingClientRect();
|
|
return { hover: [Math.round(r.left + r.width / 2), Math.round(r.top + r.height / 2)], label: wide.getAttribute('aria-label') };
|