enhance(ui): WIP enhance the multi select component for shui

This commit is contained in:
charlie
2024-03-08 11:35:13 +08:00
parent 224b16d16d
commit 44a4ecdcd0
3 changed files with 132 additions and 73 deletions

View File

@@ -43,8 +43,14 @@ html {
&:not([data-color=logseq]) {
.ui__dropdown-menu-item,
div[data-radix-popper-content-wrapper] div[role=menuitem] {
&:focus, &:hover {
div[data-radix-popper-content-wrapper] div[data-radix-collection-item] {
&:focus, &:hover, &.is-active {
background-color: var(--lx-gray-04, hsl(var(--accent)));
}
}
.ui__dropdown-menu-content.has-search-key {
> .head:focus-within + div[data-radix-collection-item] {
background-color: var(--lx-gray-04, hsl(var(--accent)));
}
}