70 lines
1.1 KiB
CSS
70 lines
1.1 KiB
CSS
/* Réinitialiser les styles globaux */
|
|
html, body, #root {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
|
|
#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;
|
|
top: calc(var(--topbar-h, 60px) + 10px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
z-index: 950;
|
|
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;
|
|
} |