72 lines
1.2 KiB
CSS
72 lines
1.2 KiB
CSS
/* Réinitialiser les styles globaux */
|
|
html, body, #root {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Ne pas forcer de backgroundColor global pour permettre à login d'avoir son propre style */
|
|
body, html {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.app {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.app h1 {
|
|
color: white;
|
|
font-size: clamp(2rem, 8vw, 3.5rem);
|
|
margin: 0;
|
|
text-align: center;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
/* Reset global pour tous les éléments */
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Add this to your global CSS file (App.css, index.css, or main.css) */
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast-container .toast {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* Stagger animation for multiple toasts */
|
|
.toast:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.toast:nth-child(3) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.toast:nth-child(4) {
|
|
animation-delay: 0.3s;
|
|
} |