Fix clics qui traversent les ecrans (z-index + background opaque)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,11 +44,14 @@ html, body {
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transition: opacity 0.4s ease;
|
transition: opacity 0.4s ease;
|
||||||
|
z-index: 1;
|
||||||
|
background: var(--fond);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ecran.actif {
|
.ecran.actif {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* === Ecran d'accueil === */
|
/* === Ecran d'accueil === */
|
||||||
|
|||||||
@@ -135,7 +135,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Choix admin : wizard ou parametres -->
|
<!-- Choix admin : wizard ou parametres -->
|
||||||
<section id="ecran-admin-choix" class="ecran">
|
<section id="ecran-admin-choix" class="ecran" onclick="event.stopPropagation()">
|
||||||
<h2>Administration</h2>
|
<h2>Administration</h2>
|
||||||
<div class="grille-modes">
|
<div class="grille-modes">
|
||||||
<button class="btn-mode" onclick="ouvrirWizard()">
|
<button class="btn-mode" onclick="ouvrirWizard()">
|
||||||
|
|||||||
Reference in New Issue
Block a user