improve submenu and improve icon buttons hover effects
This commit is contained in:
parent
fa41f6cf96
commit
63f35509a7
10
src/App.scss
10
src/App.scss
|
@ -130,6 +130,16 @@ i[class*=icon-],
|
|||
color: var(--icon, $fallback--icon);
|
||||
}
|
||||
|
||||
.button-unstyled:hover,
|
||||
a:hover {
|
||||
i[class*=icon-],
|
||||
.svg-inline--fa,
|
||||
.iconLetter {
|
||||
color: $fallback--text;
|
||||
color: var(--text, $fallback--text);
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
z-index: var(--ZI_navbar);
|
||||
color: var(--topBarText);
|
||||
|
|
|
@ -126,6 +126,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.-has-submenu {
|
||||
.chevron-icon {
|
||||
margin-right: 0.25rem;
|
||||
margin-left: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
&:active, &:hover {
|
||||
background-color: $fallback--lightBg;
|
||||
background-color: var(--selectedMenuPopover, $fallback--lightBg);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="UserListMenu">
|
||||
<Popover
|
||||
trigger="click"
|
||||
trigger="hover"
|
||||
placement="left"
|
||||
remove-padding
|
||||
>
|
||||
|
@ -22,9 +22,10 @@
|
|||
</div>
|
||||
</template>
|
||||
<template #trigger>
|
||||
<button class="btn button-default dropdown-item">
|
||||
<button class="btn button-default dropdown-item -has-submenu">
|
||||
{{ $t('lists.manage_lists') }}
|
||||
<FAIcon
|
||||
class="chevron-icon"
|
||||
size="lg"
|
||||
icon="chevron-right"
|
||||
/>
|
||||
|
|
|
@ -147,6 +147,15 @@
|
|||
color: var(--panelLink, $fallback--link);
|
||||
}
|
||||
|
||||
.button-unstyled:hover,
|
||||
a:hover {
|
||||
i[class*=icon-],
|
||||
.svg-inline--fa,
|
||||
.iconLetter {
|
||||
color: var(--panelText);
|
||||
}
|
||||
}
|
||||
|
||||
.faint {
|
||||
background-color: transparent;
|
||||
color: $fallback--faint;
|
||||
|
|
Loading…
Reference in New Issue