From 93489c85fa9af29728523b087c0bfb202f18cd44 Mon Sep 17 00:00:00 2001 From: KOMATA <20227709+HynoR@users.noreply.github.com> Date: Mon, 2 Mar 2026 13:43:34 +0800 Subject: [PATCH] feat: Enhance compose item interaction and styling (#12008) - Updated the compose item to include a new class for active state, improving visual feedback. - Refactored action buttons into a dedicated container for better organization and hover effects. - Added CSS transitions for smoother interactions on hover and active states. --- .../src/layout/components/Sidebar/index.scss | 4 +- .../src/views/container/compose/index.vue | 126 +++++++++++------- 2 files changed, 79 insertions(+), 51 deletions(-) diff --git a/frontend/src/layout/components/Sidebar/index.scss b/frontend/src/layout/components/Sidebar/index.scss index c913d7360..3b1a302c9 100644 --- a/frontend/src/layout/components/Sidebar/index.scss +++ b/frontend/src/layout/components/Sidebar/index.scss @@ -23,9 +23,7 @@ } &.is-active { background-color: var(--el-menu-item-bg-color-active); - box-shadow: - 0px 0px 4px rgba(0, 94, 235, 0.1), - inset 0 0 0 2px var(--el-color-primary); + box-shadow: 0px 0px 4px rgba(0, 94, 235, 0.1), inset 0 0 0 2px var(--el-color-primary); &::before { position: absolute; diff --git a/frontend/src/views/container/compose/index.vue b/frontend/src/views/container/compose/index.vue index e5d8639d6..b829556ad 100644 --- a/frontend/src/views/container/compose/index.vue +++ b/frontend/src/views/container/compose/index.vue @@ -30,8 +30,11 @@ > @@ -780,6 +785,31 @@ const onOpenLog = (row: any) => {