From 6247c40cf993196640230e83050d976aa23e1980 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Mon, 6 Jan 2025 15:16:25 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20d'une=20modale=20indiquant=20qu'un=20t?= =?UTF-8?q?=C3=A9l=C3=A9versement=20est=20en=20cours?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arbre-img-prive.php | 124 ++++++++++++++++++++------------------------ arbre-img.php | 66 +++++++++++++++++++++++ styles-admin.css | 39 ++++++++++++++ 3 files changed, 162 insertions(+), 67 deletions(-) diff --git a/arbre-img-prive.php b/arbre-img-prive.php index f4ef211..6017b52 100644 --- a/arbre-img-prive.php +++ b/arbre-img-prive.php @@ -227,80 +227,70 @@ $config = getSiteConfig(); + + + diff --git a/arbre-img.php b/arbre-img.php index ef14039..9f96f1e 100644 --- a/arbre-img.php +++ b/arbre-img.php @@ -602,6 +602,72 @@ $config = getSiteConfig(); + + + + + diff --git a/styles-admin.css b/styles-admin.css index 11b4d6e..fb111ca 100644 --- a/styles-admin.css +++ b/styles-admin.css @@ -761,6 +761,45 @@ body { border-color: #1976d2; } +.modal-upload { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + z-index: 1000; +} + +.modal-content { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: #2a2a2a; + color: #ffffff; + padding: 20px; + border-radius: 5px; + text-align: center; + border: 1px solid #3a3a3a; +} + +.spinner { + border: 4px solid #3a3a3a; + border-top: 4px solid #ffffff; + border-radius: 50%; + width: 40px; + height: 40px; + animation: spin 1s linear infinite; + margin: 10px auto; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + /* Style de la modale des clés de partage */ .tree-button-share { background-color: rgba(33, 150, 243, 0.2) !important;