1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00
vault-frontend/src/components/menu/CornerMenu/styles.module.scss
2023-11-20 22:29:13 +06:00

56 lines
835 B
SCSS

@import 'src/styles/variables';
.wrap {
position: absolute;
right: -3px;
top: -3px;
width: 48px;
height: 48px;
z-index: 10;
outline: none;
cursor: pointer;
}
@keyframes appear {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.menu {
position: absolute;
right: 5px;
top: 5px;
display: flex;
flex-direction: column;
z-index: 6;
white-space: nowrap;
animation: appear 0.25s forwards;
}
.item {
user-select: none;
font: $font_12_semibold;
text-transform: uppercase;
padding: 8px $gap;
background: $content_bg;
cursor: pointer;
&:first-child {
border-top-left-radius: $radius;
border-top-right-radius: $radius;
}
&:last-child {
border-bottom-left-radius: $radius;
border-bottom-right-radius: $radius;
}
&:hover {
background: $color_primary;
}
}