perf: improved contextual menu appearance

This commit is contained in:
Fabio Di Stasio 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;

View File

@ -136,6 +136,10 @@ body {
display: flex;
justify-content: center;
.tab-link {
min-width: 0;
}
&.active {
.tab-link {
border-color: transparent;

View File

@ -235,7 +235,7 @@
}
&:hover {
background: $primary-color;
background: rgba($light-color, 15%);
}
}
}

View File

@ -219,7 +219,7 @@
}
&:hover {
background: $primary-color;
background: rgba($light-color, 15%);
}
}
}