mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
adds hover styles
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user