From 66b12800e409dcd2966013a502964e9662bc8047 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:39:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9A=97=E8=89=B2=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20(#1606)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/element-dark.scss | 17 +++++++++++++- .../views/host/terminal/terminal/index.vue | 11 +++++----- frontend/src/views/setting/safe/mfa/index.vue | 22 +++++++++++++++++-- 3 files changed, 42 insertions(+), 8 deletions(-) diff --git a/frontend/src/styles/element-dark.scss b/frontend/src/styles/element-dark.scss index 45573f5aa..9ee20f6be 100644 --- a/frontend/src/styles/element-dark.scss +++ b/frontend/src/styles/element-dark.scss @@ -18,6 +18,7 @@ html.dark { // * panel-admin --panel-text-color: rgb(174, 166, 153); --panel-border: 1px solid #1d2023; + --panel-border-color: #394c5e; --panel-main-bg-color: rgba(12, 12, 12, 1); --panel-button-active: var(--el-color-primary); @@ -56,7 +57,8 @@ html.dark { --el-table-border-color: rgb(64, 67, 67); } .el-message-box { - --el-messagebox-title-color: #999999; + --el-messagebox-title-color: var(--el-menu-text-color); + border: 1px solid var(--panel-border-color); } .el-alert--info { @@ -74,6 +76,7 @@ html.dark { .el-popover { --el-popover-title-text-color: #999999; + border: 1px solid var(--panel-border-color); } // * wangEditor @@ -194,6 +197,9 @@ html.dark { .el-drawer .el-drawer__header span { color: var(--el-menu-text-color); } + .el-drawer { + border-left: 0.5px solid var(--panel-border-color); + } .el-input__wrapper { background-color: var(--el-disabled-bg-color); @@ -245,7 +251,11 @@ html.dark { .el-dialog__header { border-bottom: var(--panel-border); color: #999999; + .el-dialog__title { + color: var(--el-menu-text-color); + } } + border: 1px solid var(--panel-border-color); } .el-tabs__item { color: #999999; @@ -291,4 +301,9 @@ html.dark { background: #212426; } } + + .el-alert--warning.is-light { + background-color: rgb(56, 59, 59); + color: var(--el-color-warning); + } } diff --git a/frontend/src/views/host/terminal/terminal/index.vue b/frontend/src/views/host/terminal/terminal/index.vue index 0d20d7260..929001d3e 100644 --- a/frontend/src/views/host/terminal/terminal/index.vue +++ b/frontend/src/views/host/terminal/terminal/index.vue @@ -62,11 +62,7 @@