sendou.ink/app/components/elements/Dialog.module.css
Kalle cb8669acc3
New calendar UI, more filters & persisted filters (#2318)
* Add types

* Delete stuff

* wip

* findAllBetweenTwoTimestamps refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Fixes

* wip

* wip

* Fix InfoPopover button styling

* wip

* wip

* wip

* Merge branch 'rewrite' into new-calendar

* wip

* wip

* wip

* wip

* Rename myform -> sendouform

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rename

* fix test
2025-05-24 17:13:30 +03:00

93 lines
1.5 KiB
CSS

.overlay {
position: fixed;
inset: 0;
z-index: 10;
overflow-y: auto;
background-color: rgba(0, 0, 0, 0.25);
display: flex;
min-height: 100%;
align-items: flex-start;
justify-content: center;
padding: 1rem;
text-align: center;
backdrop-filter: blur(10px); /* Adjust blur value as needed */
}
.fullScreenOverlay {
padding: 0;
display: initial;
}
.overlay[data-entering] {
animation: fade-in 300ms ease-out;
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.modal {
width: 100%;
max-width: 28rem;
overflow: hidden;
border-radius: 1rem;
background-color: var(--bg-lighter-solid);
border: 2.5px solid var(--border);
padding: var(--s-6);
text-align: left;
vertical-align: middle;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px
rgba(0, 0, 0, 0.05);
margin: auto;
}
.fullScreenModal {
min-width: 100%;
min-height: 100%;
border-radius: 0;
padding-block-end: var(--s-32);
}
.modal[data-entering] {
animation: zoom-in-95 300ms ease-out;
}
@keyframes zoom-in-95 {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.dialog {
outline: none;
position: relative;
}
.headingContainer {
border-bottom: 2px solid var(--border);
padding-block-end: var(--s-2);
margin-block-end: var(--s-4);
display: flex;
justify-content: space-between;
align-items: center;
margin-block-start: -3px;
}
.noHeading {
margin-block-start: -14px;
}
.heading {
font-size: var(--fonts-lg);
}