1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

perf: improved contextual menu appearance

This commit is contained in:
2021-06-29 18:22:40 +02:00
parent 978a7c5f5b
commit f74bca7bb4
4 changed files with 13 additions and 4 deletions

View File

@ -88,7 +88,8 @@ export default {
z-index: 10;
padding: 0;
background: #1d1d1d;
border-radius: 0.1rem;
border-radius: $border-radius;
border: 1px solid $bg-color-light-dark;
display: flex;
flex-direction: column;
position: absolute;
@ -97,12 +98,16 @@ export default {
.context-element {
display: flex;
align-items: center;
padding: 0.1rem 0.3rem;
margin: 0.2rem;
padding: 0.1rem;
border-radius: $border-radius;
cursor: pointer;
justify-content: space-between;
position: relative;
.context-submenu {
border-radius: $border-radius;
border: 1px solid $bg-color-light-dark;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s;