phanpy/src/components/modal.css

26 lines
571 B
CSS
Raw Normal View History

2022-12-10 09:14:48 +00:00
#modal-container > div {
position: fixed;
top: 0;
right: 0;
height: 100%;
width: 100%;
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--backdrop-color);
backdrop-filter: blur(24px);
animation: appear 0.5s var(--timing-function) both;
2022-12-10 09:14:48 +00:00
}
2023-07-18 12:40:10 +00:00
#modal-container > div .sheet {
transition: transform 0.3s var(--timing-function);
transform-origin: center bottom;
}
#modal-container > div:has(~ div) .sheet {
transform: scale(0.975);
}
2022-12-10 09:14:48 +00:00
#modal-container > .light {
2022-12-25 15:33:59 +00:00
backdrop-filter: saturate(0.75);
}