adds hover styles

This commit is contained in:
sergeyteleshev
2025-09-19 15:59:15 +02:00
parent 34851c4057
commit ab67541732
2 changed files with 10 additions and 0 deletions
@@ -75,6 +75,11 @@
font-weight: var(--dbv-kit-menu-font-weight);
font-size: var(--dbv-kit-menu-font-size);
&:hover:not([aria-disabled='true']) {
background-color: var(--dbv-kit-menu-item-hover-background);
color: var(--dbv-kit-menu-item-hover-foreground);
}
&[aria-disabled='true'] {
opacity: var(--dbv-kit-control-disabled-opacity);
user-select: none;
@@ -8,4 +8,9 @@
--dbv-kit-menu-background: transparent;
--dbv-kit-menu-foreground: inherit;
}
.dbv-kit-menu__item {
--dbv-kit-menu-item-hover-background: var(--theme-background);
--dbv-kit-menu-item-hover-foreground: var(--theme-input-color);
}
}