diff --git a/android-client/web/app.html b/android-client/web/app.html index 6c05686..ad1bf0b 100644 --- a/android-client/web/app.html +++ b/android-client/web/app.html @@ -288,10 +288,15 @@ bougeait : supprimer ou dupliquer prend une a deux secondes - le trajet du conteneur - et l'ecran restait identique, comme si l'appui n'avait pas pris. Le voile empeche aussi le second appui, qui n'attendrait pas mieux. */ + /* DEUX NOMS DIFFERENTS, ET C'EST LE FOND DU PIEGE. En appelant `busy` a la + fois la classe du voile et l'etat du corps, la regle ci-dessous + s'appliquait AUSSI au corps : `display: none` sur le body, donc la page + entiere effacee et le bleu de la fenetre a nu. L'etat porte donc un nom + que rien d'autre ne porte. */ .busy { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .38); } - body.busy .busy { display: flex; } + body.is-busy .busy { display: flex; } .busy > div { background: var(--bg-top); border-radius: var(--radius); padding: 20px 26px; display: flex; align-items: center; gap: 12px; font-size: 15px; } @@ -1388,7 +1393,7 @@ var PM = { setBusy: function (on) { if (on) document.getElementById('busy').firstChild.innerHTML = ico('loader', 'Working') + 'Please wait...'; - document.body.classList.toggle('busy', !!on); + document.body.classList.toggle('is-busy', !!on); }, back: function () { if (view === 'detail') goList(); }, /// La touche retour annule la selection avant de verrouiller le coffre.