From 70464ab23394ee6e921755d97aa7f1181ed4e7ae Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 1 Nov 2025 21:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Schema=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=9A=84=E4=BF=9D=E5=AD=98=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/SchemaCanvas.vue | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/apps/jingrow/frontend/src/core/features/schema_builder/components/SchemaCanvas.vue b/apps/jingrow/frontend/src/core/features/schema_builder/components/SchemaCanvas.vue index bb92257..0c5c872 100644 --- a/apps/jingrow/frontend/src/core/features/schema_builder/components/SchemaCanvas.vue +++ b/apps/jingrow/frontend/src/core/features/schema_builder/components/SchemaCanvas.vue @@ -121,23 +121,34 @@ function saveSchema() { .save-btn { padding: 6px 12px; - border: 1px solid #1e293b; + border: 1px solid #1fc76f; border-radius: 4px; - background: #1e293b; - color: #fff; + background: #e6f8f0; + color: #0d684b; cursor: pointer; font-size: 13px; font-weight: 500; - transition: all 0.2s ease; + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); &:hover { - background-color: #0f172a; - border-color: #0f172a; + background: #dcfce7; + border-color: #1fc76f; + color: #166534; + box-shadow: 0 2px 8px rgba(31, 199, 111, 0.15); + } + + &:focus { + background: #dcfce7; + border-color: #1fc76f; + color: #166534; + box-shadow: 0 0 0 2px rgba(31, 199, 111, 0.2); } &:active { - background-color: #020617; - border-color: #020617; + background: #1fc76f; + border-color: #1fc76f; + color: white; + box-shadow: 0 1px 4px rgba(31, 199, 111, 0.2); } }