diff --git a/src/components/EnvelopeSingleClickActions.vue b/src/components/EnvelopeSingleClickActions.vue index 895dda4eda..72c3e46f91 100644 --- a/src/components/EnvelopeSingleClickActions.vue +++ b/src/components/EnvelopeSingleClickActions.vue @@ -77,13 +77,9 @@ export default { diff --git a/src/components/EnvelopeSkeleton.vue b/src/components/EnvelopeSkeleton.vue index 079c3ce087..2404445e2b 100644 --- a/src/components/EnvelopeSkeleton.vue +++ b/src/components/EnvelopeSkeleton.vue @@ -31,11 +31,10 @@ :href="routerLinkHref || href" :target="target || (href === '#' ? undefined : '_blank')" :rel="href === '#' ? undefined : 'noopener noreferrer'" - @focus="showActions" + @focus="handleMouseover" @focusout="handleBlur" @click="onClick($event, navigate, routerLinkHref)" - @contextmenu.prevent - @keydown.esc="hideActions"> + @contextmenu.prevent> @@ -93,7 +92,7 @@ -
+
{ + this.menuOpen = e + this.$emit('update:menuOpen', e) + }) }, // Check if subname and actions slots are populated @@ -454,10 +419,6 @@ export default { .list-item-details__details { color: var(--color-primary-element-text); } - - .list-item-content__quick-actions :deep(svg) { - fill: var(--color-primary-element-text) !important; - } } .list-item-content__name, .list-item-content__subname, @@ -510,10 +471,6 @@ export default { box-shadow: 0 0 0 4px var(--color-main-background); } - &__hoverable { - visibility: hidden; - } - .list-item-content { display: flex; flex-direction: column; @@ -702,20 +659,17 @@ export default { } -.list-item:hover { - .list-item__hoverable { - visibility: visible; - position: absolute; - display: flex; - background: var(--color-main-background); - border-radius: var(--border-radius-element); - box-shadow: 0 0 4px 0 var(--color-box-shadow); - height: var(--default-clickable-area); - inset-inline-end: var(--default-grid-baseline); - - :deep(svg) { - fill: var(--color-main-text) !important; // needed to not inherit active styling - } +.list-item__hoverable { + position: absolute; + display: flex; + background: var(--color-main-background); + border-radius: var(--border-radius-element); + box-shadow: 0 0 4px 0 var(--color-box-shadow); + height: var(--default-clickable-area); + inset-inline-end: var(--default-grid-baseline); + + :deep(svg) { + fill: var(--color-main-text) !important; // needed to not inherit active styling } }