From f00fac7bcaa083845e06dccccf6d98266eef5a2a Mon Sep 17 00:00:00 2001 From: biss Date: Sat, 15 Aug 2026 08:50:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/style.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/web/src/style.css b/web/src/style.css index 19ebcf8..bd4ab8a 100644 --- a/web/src/style.css +++ b/web/src/style.css @@ -14,7 +14,10 @@ --line: #dfe4eb; --soft: #f3f5f8; --el-color-primary: #233876; - --el-color-success: #087f73; + --el-color-success: #006f66; + --el-color-info: #46566f; + --el-color-warning: #9a5b00; + --el-color-danger: #b42318; --el-border-radius-base: 7px; /* Capacitor 8 injects these Android values; env() alone stays at zero in WebView. */ --safe-area-top: max(env(safe-area-inset-top, 0px), var(--safe-area-inset-top, 0px)); @@ -1604,7 +1607,26 @@ body { .filter-bar > span, .pagination-bar > span { color: #768296; } -.el-button { font-weight: 600; letter-spacing: .01em; } +.el-button { + font-weight: 600; + letter-spacing: .01em; +} + +/* Keep secondary actions legible instead of falling back to Element Plus' pale default token set. */ +.el-button--default { + --el-button-text-color: #233876; + --el-button-bg-color: #ffffff; + --el-button-border-color: #b9c9dc; + --el-button-hover-text-color: #ffffff; + --el-button-hover-bg-color: #233876; + --el-button-hover-border-color: #233876; + --el-button-active-text-color: #ffffff; + --el-button-active-bg-color: #152550; + --el-button-active-border-color: #152550; + --el-button-disabled-text-color: #566577; + --el-button-disabled-bg-color: #e8edf3; + --el-button-disabled-border-color: #c5d0dc; +} .el-button--primary { box-shadow: 0 4px 10px rgba(35, 56, 118, .14); } .el-button--primary:hover { box-shadow: 0 6px 14px rgba(35, 56, 118, .2); } .el-input__wrapper,