From f8923e2a48d8cf51efeb16c6bc15597e899f1530 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 7 Aug 2024 16:36:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/app.scss | 4 ++++ src/style/dark.scss | 25 ++++++++++++++++++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/style/app.scss b/src/style/app.scss index 1599b3d5..7c29fc02 100644 --- a/src/style/app.scss +++ b/src/style/app.scss @@ -114,4 +114,8 @@ a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: bo } #opl__opre>.el-descriptions__body>.el-descriptions__table:not(.is-bordered) .el-descriptions__cell{ padding-bottom: 5px; +} + +.el-select { + width: 10vw; } \ No newline at end of file diff --git a/src/style/dark.scss b/src/style/dark.scss index 91ec2deb..805614cf 100644 --- a/src/style/dark.scss +++ b/src/style/dark.scss @@ -131,6 +131,14 @@ html.dark { margin: 0 5px; } + .el-select__wrapper{ + --el-border-color: #ffffff; + } + + .el-select__placeholder.is-transparent { + color: #d8d8d8; + } + .el-select .el-input .el-select__caret { color: #ffffff; } @@ -157,7 +165,7 @@ html.dark { height: 100%; background: var(--el-bg-color-overlay); border-color: var(--el-border-color-light); - border-radius: 20px; + // border-radius: 4px; background: rgb(4, 50, 83); background-color: rgb(4, 50, 83); box-shadow: inset 0px 0px 30px 15px rgb(7, 79, 109); @@ -174,14 +182,19 @@ html.dark { } .scTable-table { - padding: 1vw; - border-radius: 20px; + padding: 0.2vw; + // border-radius: 4px; background: rgb(4, 50, 83); background-color: rgb(4, 50, 83); box-shadow: inset 0px 0px 30px 15px rgb(7, 79, 109); border: 1px solid #1279c3; } + .scTable-page { + background: rgb(4, 50, 83); + border: 1px solid #1279c3; + } + .el-table { --el-table-border-color: transparent; --el-table-row-hover-bg-color: rgb(15, 59, 94); @@ -212,7 +225,9 @@ html.dark { .el-table th.is-sortable:hover { background: #111; } - + .el-table__header { + --el-table-tr-bg-color: #1e789a + } .el-pagination.is-background .el-pager li.is-active { background-color: #1e789a; } @@ -245,7 +260,7 @@ html.dark { display: flex; justify-content: space-between; line-height: 50px; - border-radius: 5px; + // border-radius: 4px; padding: 0 1vw; margin-top: 0.5vh; align-items: center;