From 78e648c239e63e8f44900bfa2c26345433aba7f9 Mon Sep 17 00:00:00 2001 From: sqzhou Date: Fri, 29 Dec 2023 10:01:48 +0800 Subject: [PATCH] =?UTF-8?q?style:=20transfer=E7=BB=93=E6=9E=9C=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=B7=BB=E5=8A=A0hover=E6=A0=B7=E5=BC=8F&=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E5=B1=85=E4=B8=AD=20(#9262)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/scss/components/form/_result-list.scss | 6 ++++++ packages/amis-ui/scss/components/form/_selection.scss | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/packages/amis-ui/scss/components/form/_result-list.scss b/packages/amis-ui/scss/components/form/_result-list.scss index 08de5947a..d043959dc 100644 --- a/packages/amis-ui/scss/components/form/_result-list.scss +++ b/packages/amis-ui/scss/components/form/_result-list.scss @@ -54,6 +54,8 @@ flex-basis: px2rem(50px); flex-grow: 1; width: px2rem(50px); + display: flex; + align-items: center; &.is-invalid { color: var(--Form-selectValue-onInvalid-color); @@ -74,6 +76,10 @@ opacity: 0.2; } } + + &:hover { + background: var(--Form-select-menu-onHover-bg); + } } &-delBtn { diff --git a/packages/amis-ui/scss/components/form/_selection.scss b/packages/amis-ui/scss/components/form/_selection.scss index 89b3406e8..d2a706899 100644 --- a/packages/amis-ui/scss/components/form/_selection.scss +++ b/packages/amis-ui/scss/components/form/_selection.scss @@ -95,6 +95,10 @@ &.is-opened { color: var(--Form-select-menu-onActive-color); background: var(--Form-select-menu-onActive-bg); + + &:hover { + background: var(--Form-select-menu-onHover-bg); + } } &.is-disabled {