From ad85ebd3986dfff8779654385e9819a38df81a19 Mon Sep 17 00:00:00 2001 From: windy Date: Mon, 21 Nov 2022 14:47:31 +0800 Subject: [PATCH] =?UTF-8?q?BI-117324=20=E6=B7=B1=E8=89=B2=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E6=A0=91=E8=8A=82=E7=82=B9=E6=9F=A5=E7=9C=8B=E5=B7=B2?= =?UTF-8?q?=E9=80=89=E6=96=87=E5=AD=97=E7=9C=8B=E4=B8=8D=E6=B8=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/tree/tree.display.less | 8 ++++++++ src/less/base/tree/ztree.less | 6 ++++++ src/less/lib/colors.less | 1 + src/less/lib/constant.less | 1 + src/less/lib/theme.less | 1 + 5 files changed, 17 insertions(+) diff --git a/src/less/base/tree/tree.display.less b/src/less/base/tree/tree.display.less index 2343d4054..6c483feac 100644 --- a/src/less/base/tree/tree.display.less +++ b/src/less/base/tree/tree.display.less @@ -17,4 +17,12 @@ background-color: inherit; .opacity(1); } +} + +.bi-theme-dark { + .bi-display-tree { + .ztree * { + color: @color-bi-text-display-tree-theme-dark; + } + } } \ No newline at end of file diff --git a/src/less/base/tree/ztree.less b/src/less/base/tree/ztree.less index a75904add..e9eee2c97 100644 --- a/src/less/base/tree/ztree.less +++ b/src/less/base/tree/ztree.less @@ -90,6 +90,12 @@ } } + .ztree li span.button.chk { + &.bi-checkbox { + border-color: @color-bi-border-dark-line-theme-dark; + } + } + &.bi-half-button { border: 1px solid @color-bi-border-hover-active-checkbox-theme-dark; } diff --git a/src/less/lib/colors.less b/src/less/lib/colors.less index dca2a9989..fd429ac08 100644 --- a/src/less/lib/colors.less +++ b/src/less/lib/colors.less @@ -13,6 +13,7 @@ @color-bi-text-black-theme-dark: @font-color-normal-theme-dark; //灰色字体颜色 @color-bi-text-gray: @font-color-gray; +@color-bi-text-gray-theme-dark: @font-color-gray-theme-dark; //浅灰色字体 @color-bi-text-light-gray: @font-color-light-gray; //深色主题浅灰色字体 diff --git a/src/less/lib/constant.less b/src/less/lib/constant.less index 17421baf0..fa69a4783 100644 --- a/src/less/lib/constant.less +++ b/src/less/lib/constant.less @@ -167,6 +167,7 @@ @font-color-light-disabled: @color-dark-gray; @font-color-light-disabled-theme-dark: @color-dark-gray-theme-dark; @font-color-gray: #999999; +@font-color-gray-theme-dark: @color-gray-theme-dark; @font-color-white: @color-white; @font-color-white-theme-dark: @color-white-theme-dark; @font-color-light-highlight: @color-light-blue-100; diff --git a/src/less/lib/theme.less b/src/less/lib/theme.less index ae3fd45bb..1092dd18a 100644 --- a/src/less/lib/theme.less +++ b/src/less/lib/theme.less @@ -233,6 +233,7 @@ @color-bi-color-error-input-text-area: @color-bi-text-failure; // tree @color-bi-text-display-tree: @color-bi-text-gray; +@color-bi-text-display-tree-theme-dark: @color-bi-text-gray-theme-dark; @color-bi-border-tree-expander-popup-line: @color-bi-border-dark-gray-line; @color-bi-border-tree-expander-popup-line-theme-dark: @color-bi-border-dark-gray-line-theme-dark; // popup