From eaf82dbbb8d0b89c5c701b8cdb1f8d2c8c575bae Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Mon, 19 Jun 2023 19:53:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96System=20Manage?= =?UTF-8?q?=E4=B8=8B=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style.less | 51 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/src/style.less b/src/style.less index 1b7e14e..f1b696b 100644 --- a/src/style.less +++ b/src/style.less @@ -422,6 +422,7 @@ input[type="number"]::-webkit-outer-spin-button { } // 下拉框样式 +@select-dropdown-bg: #03353f; .ant-select { color: #fff !important; &-selection { @@ -446,25 +447,27 @@ input[type="number"]::-webkit-outer-spin-button { } &-dropdown { - background-color: transparent; padding-top: 7px; @borderColor: #0da397; - &-content { - border: 1px solid @borderColor; - overflow: visible !important; - &::before { - position: absolute; - top: -6px; - left: 20px; - content: ''; - width: 12px; - height: 12px; - border: 1px solid #0da397; - background: #03353f; - transform: rotate(45deg) skew(14deg, 14deg); + &:not(.ant-select-tree-dropdown) { + &-content { + border: 1px solid @borderColor; + overflow: visible !important; + &::before { + position: absolute; + top: -6px; + left: 20px; + content: ''; + width: 12px; + height: 12px; + border: 1px solid #0da397; + background: #03353f; + transform: rotate(45deg) skew(14deg, 14deg); + } } } + &-menu { background: #03353f; padding: 0; @@ -572,6 +575,20 @@ input[type="number"]::-webkit-outer-spin-button { color: #fff !important; .ant-select-tree-node-content-wrapper { color: #fff !important; + background-color: transparent !important; + &:hover { + background-color: #055565 !important; + } + &-selected { + color: #0cebc9; + font-weight: normal; + } + &-disabled { + color: #476d74 !important; + &:hover { + background-color: transparent !important; + } + } } } @@ -815,9 +832,13 @@ input[type="number"]::-webkit-outer-spin-button { } &-body { > div { - background-color: transparent !important; + background-color: @modalBg !important; border: none !important; } + + .drawer-bootom-button { + border-top: 1px solid #0b8c82 !important; + } } }