1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-28 14:16:41 +07:00

added settings and profile to user menu

This commit is contained in:
Fedor Katurov 2019-12-03 12:24:42 +07:00
parent 86622d6aa6
commit aed888e894
3 changed files with 45 additions and 22 deletions

View file

@ -17,6 +17,8 @@
z-index: 1;
box-sizing: border-box;
padding: $gap;
display: none;
flex-direction: column;
&::after {
content: ' ';
@ -29,6 +31,7 @@
right: 0;
top: -4px;
transform: translate(-20px, 0);
z-index: -1;
}
& > div {
@ -38,6 +41,8 @@
box-sizing: border-box;
transition: opacity 0.25s;
width: 100%;
padding-right: 40px;
transition: background-color 0.25s;
&:first-child {
border-top-left-radius: $radius;
@ -48,6 +53,10 @@
border-bottom-left-radius: $radius;
border-bottom-right-radius: $radius;
}
&:hover {
background-color: $secondary;
}
}
&:hover > div {