mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
57 lines
1,000 B
SCSS
57 lines
1,000 B
SCSS
@import "src/styles/variables";
|
|
|
|
@keyframes appear {
|
|
0% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
100% { transform: translate(0, 0); }
|
|
}
|
|
|
|
.wrapper {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(255, 0, 0, 0.3);
|
|
display: flex;
|
|
flex-direction: row;
|
|
z-index: 26;
|
|
justify-content: flex-end;
|
|
overflow: hidden;
|
|
animation: appear 0.25s forwards;
|
|
|
|
@include can_backdrop {
|
|
background: transparentize($content_bg, 0.15);
|
|
-webkit-backdrop-filter: blur(15px);
|
|
backdrop-filter: blur(15px);
|
|
}
|
|
}
|
|
|
|
.content {
|
|
flex: 0 1 33vw;
|
|
width: 33vw;
|
|
min-width: 480px;
|
|
max-width: 100vw;
|
|
height: 100%;
|
|
overflow: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
animation: slideIn 0.5s 0.1s forwards;
|
|
transform: translate(100%, 0);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.clicker {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
cursor: pointer;
|
|
}
|