mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
58 lines
788 B
SCSS
58 lines
788 B
SCSS
@import "src/styles/variables";
|
|
|
|
.fixed {
|
|
position: fixed;
|
|
z-index: 30;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
@keyframes appear {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
animation: appear 0.25s forwards;
|
|
}
|
|
|
|
.content_scroller {
|
|
width: 100%;
|
|
max-width: 100vw;
|
|
max-height: 100vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
.content_padder {
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
animation: appear 0.25s forwards;
|
|
|
|
@include blur();
|
|
}
|