From 661df4c9951d8a6f6350ee1036db5445feb19b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E5=A4=A7=E8=83=86?= <1101282782@qq.com> Date: Mon, 27 Oct 2025 14:24:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=B9=E6=A1=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/assets/styles/global.css | 54 ++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/assets/styles/global.css b/src/renderer/src/assets/styles/global.css index 2874d0b..a5f256c 100644 --- a/src/renderer/src/assets/styles/global.css +++ b/src/renderer/src/assets/styles/global.css @@ -591,4 +591,56 @@ img { /*.is-current > .el-tree-node__content { background: transparent !important; -}*/ \ No newline at end of file +}*/ + +.el-message--success { + background: + linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), + linear-gradient(0deg, rgba(27, 248, 195, 0.5) 0%, rgba(27, 248, 195, 0) 100%) !important; + border: unset !important; +} + +.el-message--success .el-message__content { + font-size: 14px !important; + font-weight: 500 !important; + color: rgba(27, 248, 195, 1) !important; +} + +.el-message--success svg { + color: rgba(27, 248, 195, 1) !important; +} + +.el-message--warning { + background: + linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), + linear-gradient(0deg, rgba(255, 161, 69, 0.5) 0%, rgba(255, 161, 69, 0) 100%) !important; + + border: unset !important; +} + +.el-message--warning .el-message__content { + font-size: 14px !important; + font-weight: 500 !important; + color: rgba(255, 161, 69, 1) !important; +} + +.el-message--warning svg { + color: rgba(255, 161, 69, 1) !important; +} + +.el-message--error { + background: + linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), + linear-gradient(0deg, rgba(241, 108, 85, 0.5) 0%, rgba(241, 108, 85, 0) 100%) !important; + border: unset !important; +} + +.el-message--error .el-message__content { + font-size: 14px !important; + font-weight: 500 !important; + color: rgba(241, 108, 85, 1) !important; +} + +.el-message--error svg { + color: rgba(241, 108, 85, 1) !important; +}