feat: Animation de progression pendant la déconnexion (v1.2.7)
- Ajout d'un spinner circulaire animé pendant la déconnexion - Rotation fluide avec design violet cohérent - Textes dynamiques "Déconnexion en cours..." pendant le processus - Boutons masqués pour éviter les doubles clics - Transitions en fondu entre icône et spinner - Délais optimisés pour une expérience fluide
This commit is contained in:
@@ -770,6 +770,47 @@ body {
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
/* Spinner de déconnexion */
|
||||
.logout-spinner {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 0 auto 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.spinner-ring {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border: 8px solid #f3f4f6;
|
||||
border-top: 8px solid #667eea;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.logout-modal.processing .logout-modal-icon {
|
||||
animation: fadeOut 0.3s forwards;
|
||||
}
|
||||
|
||||
.logout-modal.processing .logout-spinner {
|
||||
animation: fadeIn 0.3s forwards;
|
||||
}
|
||||
|
||||
@keyframes fadeOut {
|
||||
from { opacity: 1; transform: scale(1); }
|
||||
to { opacity: 0; transform: scale(0.8); }
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: scale(0.8); }
|
||||
to { opacity: 1; transform: scale(1); }
|
||||
}
|
||||
|
||||
.logout-modal h2 {
|
||||
margin: 0 0 15px 0;
|
||||
color: #333;
|
||||
|
||||
Reference in New Issue
Block a user