38 lines
590 B
CSS
38 lines
590 B
CSS
|
|
.popup {
|
|
z-index: 1;
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
display: flex;
|
|
opacity: 0;
|
|
transition: opacity 0.125s linear;
|
|
background: var(--theme-bg-popup-mask);
|
|
}
|
|
|
|
.popup:target {
|
|
opacity: 1;
|
|
user-select: unset;
|
|
pointer-events: unset;
|
|
}
|
|
|
|
.popup .popup-content {
|
|
margin: auto;
|
|
position: relative;
|
|
background: var(--theme-bg-main);
|
|
border: 0.125rem solid var(--theme-border-input);
|
|
border-radius: 1rem;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.popup .popup-close {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 2rem;
|
|
font-size: 0.8rem;
|
|
}
|