Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 1,760 Bytes
103a492 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | .shell-toast-stack {
position: fixed;
left: var(--lp-content-inset);
bottom: var(--lp-content-inset);
z-index: calc(var(--cg-z-overlay) + 1);
display: flex;
flex-direction: column;
gap: calc(var(--lp-section-gap) / 3);
width: min(320px, calc(100vw - var(--lp-content-inset) * 2));
pointer-events: none;
}
.shell-toast-stack .shell-toast {
position: relative;
left: auto;
bottom: auto;
z-index: auto;
max-width: none;
padding: calc(var(--lp-r-sm) * 3) calc(var(--lp-r-sm) * 4);
font-size: var(--lp-fs-2xs);
line-height: var(--lp-lh);
color: var(--lp-brand);
background: var(--lp-surface);
border: var(--lp-hairline-width) solid var(--lp-line);
border-radius: var(--lp-r-md);
box-shadow: var(--shell-shadow-overlay);
overflow-wrap: anywhere;
pointer-events: auto;
opacity: 1;
transform: translateY(0);
animation: shell-toast-enter var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing),
opacity var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
}
.shell-toast-stack .shell-toast.is-leaving {
opacity: 0;
transform: translateY(calc(var(--lp-r-sm) * 2));
}
.shell-toast-stack .shell-toast:focus-visible {
outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-brand);
outline-offset: var(--lp-r-sm);
}
@keyframes shell-toast-enter {
from { opacity: 0; transform: translateY(calc(var(--lp-r-sm) * 2)); }
to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
.shell-toast-stack .shell-toast,
.shell-toast-stack .shell-toast.is-leaving {
animation: none;
transition: none;
opacity: 1;
transform: none;
}
}
|