42 lines
896 B
CSS
42 lines
896 B
CSS
.dialog {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
height: fit-content;
|
|
max-height: 80dvh;
|
|
overflow: hidden;
|
|
background-color: var(--backgroundColor, #333333);
|
|
color: var(--color, white);
|
|
border: var(--border, 1px solid white);
|
|
outline: none;
|
|
padding: 0;
|
|
border-radius: var(--border-radius, 0);
|
|
|
|
&::backdrop {
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
>.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 80dvh;
|
|
overflow: hidden;
|
|
|
|
padding: 30px;
|
|
|
|
>.close {
|
|
font-family: var(--emojiFont, sans-serif);
|
|
font-size: 12px;
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
}
|
|
} |