1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added flow display controls overlay

This commit is contained in:
Fedor Katurov 2021-10-13 16:14:37 +07:00
parent c8204a41a2
commit 5fef4bc804
14 changed files with 327 additions and 116 deletions

View file

@ -1,53 +1,16 @@
@import "~/styles/variables";
.button {
width: 48px;
height: 48px;
display: flex;
align-items: flex-start;
justify-content: flex-end;
fill: white;
padding: 5px;
box-sizing: border-box;
cursor: pointer;
}
.dots {
@include blur($content_bg, 5px, 0.7);
padding: 5px 0 0 0;
background: $content_bg;
border-radius: $radius;
width: 20px;
height: 32px;
position: relative;
svg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0.5;
transition: opacity 0.25s;
:hover > & {
opacity: 1;
}
}
}
.dropdown {
@include dropdown_shadow;
@include outer_shadow;
@include blur($red, 15px, 0.3);
width: 100%;
height: 100%;
border-radius: $radius;
padding: $gap;
visibility: hidden;
&.active {
visibility: visible;
}
display: flex;
align-items: center;
justify-content: center;
}
.menu {
@ -67,3 +30,35 @@
@include outer_shadow;
height: 1px;
}
.display {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-row-gap: $gap;
grid-column-gap: $gap;
}
.description {
margin-top: $gap;
font: $font_12_semibold;
text-transform: uppercase;
display: flex;
flex-direction: row;
padding: 0 4px;
span {
flex: 1;
text-align: right;
}
}
.close {
position: absolute;
top: 0;
right: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}