From 8ce53686e86ac06df0fbfddbdcbb042386501f4d Mon Sep 17 00:00:00 2001 From: zwtvip Date: Sat, 28 Oct 2023 00:29:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=BB=91=E6=9A=97?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E4=B8=80=E4=BA=9B=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/dark.less | 111 ++++++++++++++++++-------- src/design/index.less | 2 +- src/layouts/default/header/index.less | 2 +- src/layouts/default/tabs/index.less | 8 -- src/views/demo/comp/modal/Modal4.vue | 8 +- 5 files changed, 83 insertions(+), 48 deletions(-) diff --git a/src/design/dark.less b/src/design/dark.less index 8ef41e0874b..a2644de513d 100644 --- a/src/design/dark.less +++ b/src/design/dark.less @@ -35,18 +35,14 @@ background-color: #151515 !important; } -[data-theme='dark'] html[data-theme='light'] .text-secondary { +[data-theme='dark'] .text-secondary { color: rgb(0 0 0 / 45%); } -[data-theme='dark'] html[data-theme='light'] :not(:root):fullscreen::backdrop { +[data-theme='dark'] :not(:root):fullscreen::backdrop { background-color: #000 !important; } -[data-theme='dark'] [data-theme='dark'] .text-secondary { - color: #8b949e; -} - [data-theme='dark'] html { -webkit-tap-highlight-color: rgb(0 0 0 / 0%); } @@ -71,11 +67,11 @@ } [data-theme='dark'] a:hover { - color: #2a7dc9; + color: #0960bd; } [data-theme='dark'] a:active { - color: #004496; + color: #0960bd; } [data-theme='dark'] a[disabled] { @@ -95,6 +91,76 @@ color: #fff; } +[data-theme='dark'] .ant-btn { + border: 1px solid transparent; + border-color: #303030; + background: transparent; + box-shadow: 0 2px 0 rgb(0 0 0 / 1.5%); + color: #c9d1d9; +} + +[data-theme='dark'] .ant-btn-primary:hover, +[data-theme='dark'] .ant-btn-primary:focus { + border-color: #004496; + background: #004496; + color: #fff; +} + +[data-theme='dark'] .ant-btn-primary { + border-color: #0960bd; + background: #0960bd; + box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%); + color: #fff; +} + +[data-theme='dark'] .ant-btn-primary:not(.ant-btn-background-ghost):not([disabled]) { + color: #fff; +} + +[data-theme='dark'] .ant-btn-dangerous.ant-btn-primary:hover, +[data-theme='dark'] .ant-btn-dangerous.ant-btn-primary:focus { + border-color: #c75457; + background: #c75457; + color: #fff; +} + +[data-theme='dark'] .ant-btn-dangerous.ant-btn-primary { + border-color: #ed6f6f; + background: #ed6f6f; + box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%); + color: #fff; +} + +[data-theme='dark'] .ant-btn-dangerous:hover, +[data-theme='dark'] .ant-btn-dangerous:focus { + border-color: #c75457; + background: transparent; + color: #c75457; +} + +[data-theme='dark'] .ant-btn-error:not(.ant-btn-link, .is-disabled):hover, +[data-theme='dark'] .ant-btn-error:not(.ant-btn-link, .is-disabled):focus { + border-color: #f39c9c; + background-color: #f39c9c; + color: #fff; +} + +[data-theme='dark'] .ant-btn-error:not(.ant-btn-link, .is-disabled) { + border-color: #ed6f6f; + background-color: #ed6f6f; + color: #fff; +} + +[data-theme='dark'] .ant-btn-link { + border-color: transparent; + background: transparent; + color: #0960bd; +} + +[data-theme='dark'] .ant-btn-link:hover { + background: transparent; +} + [data-theme='dark'] html[data-theme='dark'] .vben-login { background-color: #293146; } @@ -104,10 +170,7 @@ background-color: #232a3b; } -[data-theme='dark'] - html[data-theme='dark'] - .vben-login - .ant-btn:not(.ant-btn-link):not(.ant-btn-primary) { +html[data-theme='dark'] .vben-login .ant-btn:not(.ant-btn-link):not(.ant-btn-primary) { border: 1px solid #4a5569; } @@ -390,7 +453,7 @@ background-color: #1f1f1f; } -[data-theme='dark'] [data-theme='light'] .vben-form-design-sider { +[data-theme='dark'] .vben-form-design-sider { background-color: #fff; } @@ -420,16 +483,6 @@ color: #ed6f6f; } -[data-theme='dark'] ul li { - border: 1px solid #ccc; -} - -[data-theme='dark'] ul li:hover { - border: 1px solid #0960bd; - box-shadow: 0 2px 6px #0960bd; - color: #0960bd; -} - [data-theme='dark'] .hidden-item { background-color: #f0bfc3; } @@ -577,6 +630,7 @@ } [data-theme='dark'] .vben-layout-header--dark { + border-top: 1px solid #303030; border-left: 1px solid #303030; } @@ -764,17 +818,6 @@ color: #666; } -[data-theme='dark'] html[data-theme='dark'] .vben-multiple-tabs .ant-tabs-tab { - border-bottom: 1px solid #303030; -} - -[data-theme='dark'] - html[data-theme='light'] - .vben-multiple-tabs - .ant-tabs-tab:not(.ant-tabs-tab-active) { - border: 1px solid #d9d9d9 !important; -} - [data-theme='dark'] .vben-multiple-tabs { border-bottom: 1px solid #303030; background-color: #151515; diff --git a/src/design/index.less b/src/design/index.less index 956c9d852da..65307ebc74d 100644 --- a/src/design/index.less +++ b/src/design/index.less @@ -21,11 +21,11 @@ html { html, body { + position: relative; width: 100%; height: 100%; overflow: visible; overflow-x: hidden; - position: relative; &.color-weak { filter: invert(80%); diff --git a/src/layouts/default/header/index.less b/src/layouts/default/header/index.less index 869e1260335..dc69669c7e1 100644 --- a/src/layouts/default/header/index.less +++ b/src/layouts/default/header/index.less @@ -165,7 +165,7 @@ } &--dark { - // border-bottom: 1px solid @border-color-base; + border-bottom: 1px solid #303030; border-left: 1px solid @border-color-base; background-color: @header-dark-bg-color !important; .@{header-prefix-cls}-logo { diff --git a/src/layouts/default/tabs/index.less b/src/layouts/default/tabs/index.less index 10e03b72e9d..dbe58ee0af1 100644 --- a/src/layouts/default/tabs/index.less +++ b/src/layouts/default/tabs/index.less @@ -1,13 +1,5 @@ @prefix-cls: ~'@{namespace}-multiple-tabs'; -html[data-theme='dark'] { - .@{prefix-cls} { - .ant-tabs-tab { - border-bottom: 1px solid @border-color-base; - } - } -} - html[data-theme='light'] { .@{prefix-cls} { .ant-tabs-tab:not(.ant-tabs-tab-active) { diff --git a/src/views/demo/comp/modal/Modal4.vue b/src/views/demo/comp/modal/Modal4.vue index b2bcd702f0a..e2c06913f31 100644 --- a/src/views/demo/comp/modal/Modal4.vue +++ b/src/views/demo/comp/modal/Modal4.vue @@ -43,10 +43,10 @@ const modelRef = ref({}); const [ registerForm, - { - // setFieldsValue, - // setProps - }, + // { + // // setFieldsValue, + // // setProps + // }, ] = useForm({ labelWidth: 120, schemas, From 6e5173553746075fe796f2c34ae1213c21140467 Mon Sep 17 00:00:00 2001 From: likui628 <90845831+likui628@users.noreply.github.com> Date: Sat, 28 Oct 2023 21:31:19 +0800 Subject: [PATCH 2/2] chore: refactor dark.less --- src/design/dark.less | 2222 ++++++++++++++++++++--------------------- src/design/theme.less | 24 - 2 files changed, 1080 insertions(+), 1166 deletions(-) diff --git a/src/design/dark.less b/src/design/dark.less index a2644de513d..f023a506785 100644 --- a/src/design/dark.less +++ b/src/design/dark.less @@ -1,1458 +1,1396 @@ -[data-theme='dark'] ::-webkit-scrollbar-track { - background-color: rgb(0 0 0 / 5%); -} +[data-theme='dark'] { + @media (max-width: 1200px) { + background-color: #293146; + } -[data-theme='dark'] ::-webkit-scrollbar-thumb { - background-color: rgb(144 147 153 / 30%); - box-shadow: inset 0 0 6px rgb(0 0 0 / 20%); -} + ::-webkit-scrollbar-track { + background-color: rgb(0 0 0 / 5%); + } -[data-theme='dark'] ::-webkit-scrollbar-thumb:hover { - background-color: #b6b7b9; -} + ::-webkit-scrollbar-thumb { + background-color: rgb(144 147 153 / 30%); + box-shadow: inset 0 0 6px rgb(0 0 0 / 20%); + } -[data-theme='dark'] #nprogress .bar { - background-color: #0960bd; -} + ::-webkit-scrollbar-thumb:hover { + background-color: #b6b7b9; + } -[data-theme='dark'] .modal-icon-warning { - color: #efbd47 !important; -} + #nprogress .bar { + background-color: #0960bd; + } -[data-theme='dark'] .modal-icon-success { - color: #55d187 !important; -} + .modal-icon-warning { + color: #efbd47 !important; + } -[data-theme='dark'] .modal-icon-error { - color: #ed6f6f !important; -} + .modal-icon-success { + color: #55d187 !important; + } -[data-theme='dark'] .modal-icon-info { - color: #0960bd !important; -} + .modal-icon-error { + color: #ed6f6f !important; + } -[data-theme='dark'] .bg-white { - background-color: #151515 !important; -} + .modal-icon-info { + color: #0960bd !important; + } -[data-theme='dark'] .text-secondary { - color: rgb(0 0 0 / 45%); -} + .bg-white { + background-color: #151515 !important; + } -[data-theme='dark'] :not(:root):fullscreen::backdrop { - background-color: #000 !important; -} + .text-secondary { + color: #8b949e; + } -[data-theme='dark'] html { - -webkit-tap-highlight-color: rgb(0 0 0 / 0%); -} + :not(:root):fullscreen::backdrop { + background-color: #000 !important; + } -[data-theme='dark'] body { - background-color: #000; - color: #c9d1d9; -} + html { + -webkit-tap-highlight-color: rgb(0 0 0 / 0%); + } -[data-theme='dark'] h1, -[data-theme='dark'] h2, -[data-theme='dark'] h3, -[data-theme='dark'] h4, -[data-theme='dark'] h5, -[data-theme='dark'] h6 { - color: rgb(255 255 255 / 65%); -} + body { + background-color: #000; + color: #c9d1d9; + } -[data-theme='dark'] a { - background-color: transparent; - color: #0960bd; -} + h1, + h2, + h3, + h4, + h5, + h6 { + color: rgb(255 255 255 / 65%); + } -[data-theme='dark'] a:hover { - color: #0960bd; -} + a { + background-color: transparent; + color: #0960bd; + } -[data-theme='dark'] a:active { - color: #0960bd; -} + a:hover { + color: #0960bd; + } -[data-theme='dark'] a[disabled] { - color: rgb(255 255 255 / 30%); -} + a:active { + color: #0960bd; + } -[data-theme='dark'] caption { - color: #8b949e; -} + a[disabled] { + color: rgb(255 255 255 / 30%); + } -[data-theme='dark'] mark { - background-color: #2c2712; -} + caption { + color: #8b949e; + } -[data-theme='dark'] ::selection { - background: #0960bd; - color: #fff; -} + mark { + background-color: #2c2712; + } -[data-theme='dark'] .ant-btn { - border: 1px solid transparent; - border-color: #303030; - background: transparent; - box-shadow: 0 2px 0 rgb(0 0 0 / 1.5%); - color: #c9d1d9; -} + ::selection { + background: #0960bd; + color: #fff; + } -[data-theme='dark'] .ant-btn-primary:hover, -[data-theme='dark'] .ant-btn-primary:focus { - border-color: #004496; - background: #004496; - color: #fff; -} + .ant-btn { + border: 1px solid transparent; + border-color: #303030; + background: transparent; + box-shadow: 0 2px 0 rgb(0 0 0 / 1.5%); + color: #c9d1d9; + } -[data-theme='dark'] .ant-btn-primary { - border-color: #0960bd; - background: #0960bd; - box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%); - color: #fff; -} + .ant-btn-primary:hover, + .ant-btn-primary:focus { + border-color: #004496; + background: #004496; + color: #fff; + } -[data-theme='dark'] .ant-btn-primary:not(.ant-btn-background-ghost):not([disabled]) { - color: #fff; -} + .ant-btn-primary { + border-color: #0960bd; + background: #0960bd; + box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%); + color: #fff; + } -[data-theme='dark'] .ant-btn-dangerous.ant-btn-primary:hover, -[data-theme='dark'] .ant-btn-dangerous.ant-btn-primary:focus { - border-color: #c75457; - background: #c75457; - color: #fff; -} + .ant-btn-primary:not(.ant-btn-background-ghost):not([disabled]) { + color: #fff; + } -[data-theme='dark'] .ant-btn-dangerous.ant-btn-primary { - border-color: #ed6f6f; - background: #ed6f6f; - box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%); - color: #fff; -} + .ant-btn-dangerous.ant-btn-primary:hover, + .ant-btn-dangerous.ant-btn-primary:focus { + border-color: #c75457; + background: #c75457; + color: #fff; + } -[data-theme='dark'] .ant-btn-dangerous:hover, -[data-theme='dark'] .ant-btn-dangerous:focus { - border-color: #c75457; - background: transparent; - color: #c75457; -} + .ant-btn-dangerous.ant-btn-primary { + border-color: #ed6f6f; + background: #ed6f6f; + box-shadow: 0 2px 0 rgb(0 0 0 / 4.5%); + color: #fff; + } -[data-theme='dark'] .ant-btn-error:not(.ant-btn-link, .is-disabled):hover, -[data-theme='dark'] .ant-btn-error:not(.ant-btn-link, .is-disabled):focus { - border-color: #f39c9c; - background-color: #f39c9c; - color: #fff; -} + .ant-btn-dangerous:hover, + .ant-btn-dangerous:focus { + border-color: #c75457; + background: transparent; + color: #c75457; + } -[data-theme='dark'] .ant-btn-error:not(.ant-btn-link, .is-disabled) { - border-color: #ed6f6f; - background-color: #ed6f6f; - color: #fff; -} + .ant-btn-error:not(.ant-btn-link, .is-disabled):hover, + .ant-btn-error:not(.ant-btn-link, .is-disabled):focus { + border-color: #f39c9c; + background-color: #f39c9c; + color: #fff; + } -[data-theme='dark'] .ant-btn-link { - border-color: transparent; - background: transparent; - color: #0960bd; -} + .ant-btn-error:not(.ant-btn-link, .is-disabled) { + border-color: #ed6f6f; + background-color: #ed6f6f; + color: #fff; + } -[data-theme='dark'] .ant-btn-link:hover { - background: transparent; -} + .ant-btn-link { + border-color: transparent; + background: transparent; + color: #0960bd; + } -[data-theme='dark'] html[data-theme='dark'] .vben-login { - background-color: #293146; -} + .ant-btn-link:hover { + background: transparent; + } -[data-theme='dark'] html[data-theme='dark'] .vben-login .ant-input, -[data-theme='dark'] html[data-theme='dark'] .vben-login .ant-input-password { - background-color: #232a3b; -} + html .vben-login { + background-color: #293146; + } -html[data-theme='dark'] .vben-login .ant-btn:not(.ant-btn-link):not(.ant-btn-primary) { - border: 1px solid #4a5569; -} + html .vben-login .ant-input, + html .vben-login .ant-input-password { + background-color: #232a3b; + } -[data-theme='dark'] html[data-theme='dark'] .vben-login-form { - background: 0 0 !important; -} + html .vben-login .ant-btn:not(.ant-btn-link):not(.ant-btn-primary) { + border: 1px solid #4a5569; + } -[data-theme='dark'] html[data-theme='dark'] .vben-login .app-iconify { - color: #fff; -} + html .vben-login-form { + background: 0 0 !important; + } -[data-theme='dark'] html[data-theme='dark'] .fix-auto-fill input, -[data-theme='dark'] html[data-theme='dark'] input.fix-auto-fill { - -webkit-text-fill-color: #c9d1d9 !important; -} + html .vben-login .app-iconify { + color: #fff; + } -@media (max-width: 1200px) { - [data-theme='dark'] { - background-color: #293146; + html .fix-auto-fill input, + html input.fix-auto-fill { + -webkit-text-fill-color: #c9d1d9 !important; } -} -[data-theme='dark'] .vben-login .vben-login-form { - background-color: #fff; -} + .vben-login .vben-login-form { + background-color: #fff; + } -[data-theme='dark'] .vben-login .vben-app-logo__title { - color: #fff; -} + .vben-login .vben-app-logo__title { + color: #fff; + } -[data-theme='dark'] .vben-login .container .vben-app-logo__title { - color: #fff; -} + .vben-login .container .vben-app-logo__title { + color: #fff; + } -[data-theme='dark'] .vben-login-sign-in-way .anticon { - color: #888; -} + .vben-login-sign-in-way .anticon { + color: #888; + } -[data-theme='dark'] .vben-login-sign-in-way .anticon:hover { - color: #0960bd; -} + .vben-login-sign-in-way .anticon:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-login .ant-divider-inner-text { - color: #8b949e; -} + .vben-login .ant-divider-inner-text { + color: #8b949e; + } -[data-theme='dark'] .vben-app-logo.light { - border-bottom: 1px solid #303030; -} + .vben-app-logo.light { + border-bottom: 1px solid #303030; + } -[data-theme='dark'] .vben-app-logo.light .vben-app-logo__title { - color: #0960bd; -} + .vben-app-logo.light .vben-app-logo__title { + color: #0960bd; + } -[data-theme='dark'] .vben-app-logo.dark .vben-app-logo__title { - color: #fff; -} + .vben-app-logo.dark .vben-app-logo__title { + color: #fff; + } -[data-theme='dark'] html[data-theme='dark'] .vben-dark-switch { - border: 1px solid #c4bcbc; -} + html .vben-dark-switch { + border: 1px solid #c4bcbc; + } -[data-theme='dark'] .vben-dark-switch { - background-color: #151515; -} + .vben-dark-switch { + background-color: #151515; + } -[data-theme='dark'] .vben-dark-switch-inner { - background-color: #fff; -} + .vben-dark-switch-inner { + background-color: #fff; + } -[data-theme='dark'] .scroll-wrap { - background-color: #151515; -} + .scroll-wrap { + background-color: #151515; + } -[data-theme='dark'] .virtual-scroll-demo-wrap { - background-color: #151515; -} + .virtual-scroll-demo-wrap { + background-color: #151515; + } -[data-theme='dark'] .virtual-scroll-demo__item { - border-bottom: 1px solid #303030; -} + .virtual-scroll-demo__item { + border-bottom: 1px solid #303030; + } -[data-theme='dark'] .lazy-base-demo-wrap { - background-color: #151515; -} + .lazy-base-demo-wrap { + background-color: #151515; + } -[data-theme='dark'] .demo-wrap { - background-color: #151515; -} + .demo-wrap { + background-color: #151515; + } -[data-theme='dark'] .form-wrap { - background-color: #151515; -} + .form-wrap { + background-color: #151515; + } -[data-theme='dark'] .full-loading { - background-color: rgb(240 242 245 / 40%); -} + .full-loading { + background-color: rgb(240 242 245 / 40%); + } -[data-theme='dark'] html[data-theme='dark'] .full-loading:not(.light) { - background-color: rgb(0 0 0 / 45%); -} + html .full-loading:not(.light) { + background-color: rgb(0 0 0 / 45%); + } -[data-theme='dark'] .full-loading.dark { - background-color: rgb(0 0 0 / 45%); -} + .full-loading.dark { + background-color: rgb(0 0 0 / 45%); + } -[data-theme='dark'] .step-form-content { - background-color: #151515; -} + .step-form-content { + background-color: #151515; + } -[data-theme='dark'] .desc-wrap { - background-color: #151515 !important; -} + .desc-wrap { + background-color: #151515 !important; + } -[data-theme='dark'] .result-success { - background-color: #151515; -} + .result-success { + background-color: #151515; + } -[data-theme='dark'] .result-success__content { - background-color: rgb(255 255 255 / 4%); -} + .result-success__content { + background-color: rgb(255 255 255 / 4%); + } -[data-theme='dark'] .result-error { - background-color: #151515; -} + .result-error { + background-color: #151515; + } -[data-theme='dark'] .result-error__content { - background-color: rgb(255 255 255 / 4%); -} + .result-error__content { + background-color: rgb(255 255 255 / 4%); + } -[data-theme='dark'] .result-error__content-icon { - color: #ff4d4f; -} + .result-error__content-icon { + color: #ff4d4f; + } -[data-theme='dark'] .account-center-col:not(:last-child):not(:last-child) { - border-right: 1px dashed rgb(206 206 206 / 50%); -} + .account-center-col:not(:last-child):not(:last-child) { + border-right: 1px dashed rgb(206 206 206 / 50%); + } -[data-theme='dark'] .account-center-top { - background-color: #151515; -} + .account-center-top { + background-color: #151515; + } -[data-theme='dark'] .account-center-bottom { - background-color: #151515; -} + .account-center-bottom { + background-color: #151515; + } -[data-theme='dark'] .account-setting { - background-color: #151515; -} + .account-setting { + background-color: #151515; + } -[data-theme='dark'] .account-setting .ant-tabs-tab-active { - background-color: #111b26; -} + .account-setting .ant-tabs-tab-active { + background-color: #111b26; + } -[data-theme='dark'] .list-card__card-title { - color: #c9d1d9; -} + .list-card__card-title { + color: #c9d1d9; + } -[data-theme='dark'] .list-card__card-detail { - color: #8b949e; -} + .list-card__card-detail { + color: #8b949e; + } -[data-theme='dark'] .demo { - background-color: #151515; -} + .demo { + background-color: #151515; + } -[data-theme='dark'] .list-basic__top { - background-color: #151515; -} + .list-basic__top { + background-color: #151515; + } -[data-theme='dark'] .list-basic__top-col:not(:last-child) { - border-right: 1px dashed #303030; -} + .list-basic__top-col:not(:last-child) { + border-right: 1px dashed #303030; + } -[data-theme='dark'] .list-basic__top-col div { - color: #c9d1d9; -} + .list-basic__top-col div { + color: #c9d1d9; + } -[data-theme='dark'] .list-basic__top-col p { - color: #c9d1d9; -} + .list-basic__top-col p { + color: #c9d1d9; + } -[data-theme='dark'] .list-basic__content { - background-color: #151515; -} + .list-basic__content { + background-color: #151515; + } -[data-theme='dark'] .list-basic__content .extra { - color: #0960bd; -} + .list-basic__content .extra { + color: #0960bd; + } -[data-theme='dark'] .list-search__container { - background-color: #151515; -} + .list-search__container { + background-color: #151515; + } -[data-theme='dark'] .list-search__content { - color: #8b949e; -} + .list-search__content { + color: #8b949e; + } -[data-theme='dark'] .list-search__action-item { - color: #8b949e; -} + .list-search__action-item { + color: #8b949e; + } -[data-theme='dark'] .list-search__action-item:first-child, -[data-theme='dark'] .list-search__action-item:nth-child(2) { - border-right: 1px solid #303030; -} + .list-search__action-item:first-child, + .list-search__action-item:nth-child(2) { + border-right: 1px solid #303030; + } -[data-theme='dark'] .list-search__time { - color: rgb(0 0 0 / 45%); -} + .list-search__time { + color: rgb(0 0 0 / 45%); + } -[data-theme='dark'] span.iconify { - background-color: #555; -} + span.iconify { + background-color: #555; + } -[data-theme='dark'] .vben-default-layout { - background-color: #f4f7f9; -} + .vben-default-layout { + background-color: #f4f7f9; + } -[data-theme='dark'] .vben-basic-table-header-cell__help { - color: rgb(0 0 0 / 65%) !important; -} + .vben-basic-table-header-cell__help { + color: rgb(0 0 0 / 65%) !important; + } -[data-theme='dark'] .step1 h3 { - color: #c9d1d9; -} + .step1 h3 { + color: #c9d1d9; + } -[data-theme='dark'] .step1 h4 { - color: #c9d1d9; -} + .step1 h4 { + color: #c9d1d9; + } -[data-theme='dark'] .step1 p { - color: #c9d1d9; -} + .step1 p { + color: #c9d1d9; + } -[data-theme='dark'] .vben-app-search-modal { - background-color: rgb(0 0 0 / 25%); -} + .vben-app-search-modal { + background-color: rgb(0 0 0 / 25%); + } -[data-theme='dark'] .vben-app-search-modal-content { - background-color: #151515; -} + .vben-app-search-modal-content { + background-color: #151515; + } -[data-theme='dark'] .vben-app-search-modal-input { - color: #1c1e21; -} + .vben-app-search-modal-input { + color: #1c1e21; + } -[data-theme='dark'] .vben-app-search-modal-input span[role='img'] { - color: #999; -} + .vben-app-search-modal-input span[role='img'] { + color: #999; + } -[data-theme='dark'] .vben-app-search-modal-cancel { - color: #666; -} + .vben-app-search-modal-cancel { + color: #666; + } -[data-theme='dark'] .vben-app-search-modal-not-data { - color: #969faf; -} + .vben-app-search-modal-not-data { + color: #969faf; + } -[data-theme='dark'] .vben-app-search-modal-list__item { - background-color: #151515; - box-shadow: 0 1px 3px 0 #d4d9e1; - color: #c9d1d9; -} + .vben-app-search-modal-list__item { + background-color: #151515; + box-shadow: 0 1px 3px 0 #d4d9e1; + color: #c9d1d9; + } -[data-theme='dark'] .vben-app-search-modal-list__item--active { - background-color: #0960bd; - color: #fff; -} + .vben-app-search-modal-list__item--active { + background-color: #0960bd; + color: #fff; + } -[data-theme='dark'] .account-center-application__card-num { - color: #8b949e; -} + .account-center-application__card-num { + color: #8b949e; + } -[data-theme='dark'] .account-center-application__card-download { - color: #0960bd; -} + .account-center-application__card-download { + color: #0960bd; + } -[data-theme='dark'] [data-theme='dark'] .vben-form-design-sider { - background-color: #1f1f1f; -} + .vben-form-design-sider { + background-color: #fff; + } -[data-theme='dark'] .vben-form-design-sider { - background-color: #fff; -} + .vben-st-login { + background: #151515; + } -[data-theme='dark'] .vben-st-login { - background: #151515; -} + .vben-iframe-page__main { + background-color: #151515; + } -[data-theme='dark'] .vben-iframe-page__main { - background-color: #151515; -} + .vben-lock-page__hour, + .vben-lock-page__minute { + background-color: #141313; + color: #bababa; + } -[data-theme='dark'] .vben-lock-page__hour, -[data-theme='dark'] .vben-lock-page__minute { - background-color: #141313; - color: #bababa; -} + .vben-lock-page-entry { + background-color: rgb(0 0 0 / 50%); + } -[data-theme='dark'] .vben-lock-page-entry { - background-color: rgb(0 0 0 / 50%); -} + .vben-lock-page-entry__header-name { + color: #bababa; + } -[data-theme='dark'] .vben-lock-page-entry__header-name { - color: #bababa; -} + .vben-lock-page-entry__err-msg { + color: #ed6f6f; + } -[data-theme='dark'] .vben-lock-page-entry__err-msg { - color: #ed6f6f; -} + .hidden-item { + background-color: #f0bfc3; + } -[data-theme='dark'] .hidden-item { - background-color: #f0bfc3; -} + .draggable-box :deep(.list-main) .moving::before { + background-color: #0960bd; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .moving::before { - background-color: #0960bd; -} + .draggable-box :deep(.list-main) .drag-move-box:hover { + background-color: rgb(9 96 189 / 20%); + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box:hover { - background-color: rgb(9 96 189 / 20%); -} + .draggable-box :deep(.list-main) .drag-move-box::before { + background-color: #0960bd; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box::before { - background-color: #0960bd; -} + .draggable-box :deep(.list-main) .drag-move-box.active { + background-color: rgb(9 96 189 / 20%); + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box.active { - background-color: rgb(9 96 189 / 20%); -} + .draggable-box :deep(.list-main) .drag-move-box .show-key-box { + color: #0960bd; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box .show-key-box { - color: #0960bd; -} + .draggable-box :deep(.list-main) .drag-move-box .copy, + .draggable-box :deep(.list-main) .drag-move-box .delete { + color: #fff; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box .copy, -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box .delete { - color: #fff; -} + .draggable-box :deep(.list-main) .drag-move-box .copy { + background-color: #0960bd; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box .copy { - background-color: #0960bd; -} + .draggable-box :deep(.list-main) .drag-move-box .delete { + background-color: #0960bd; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .drag-move-box .delete { - background-color: #0960bd; -} + .draggable-box :deep(.list-main) .grid-box { + background-color: rgb(152 103 247 / 12%); + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box { - background-color: rgb(152 103 247 / 12%); -} + .draggable-box :deep(.list-main) .grid-box .grid-row { + background-color: rgb(152 103 247 / 12%); + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box .grid-row { - background-color: rgb(152 103 247 / 12%); -} + .draggable-box :deep(.list-main) .grid-box .grid-row .grid-col .draggable-box { + border: 1px #ccc; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box .grid-row .grid-col .draggable-box { - border: 1px #ccc; -} + .draggable-box :deep(.list-main) .grid-box .grid-row .grid-col .draggable-box .list-main { + border: 1px #ccc; + } -[data-theme='dark'] - .draggable-box - :deep(.list-main) - .grid-box - .grid-row - .grid-col - .draggable-box - .list-main { - border: 1px #ccc; -} + .draggable-box :deep(.list-main) .grid-box::before { + background: 0 0; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box::before { - background: 0 0; -} + .draggable-box :deep(.list-main) .grid-box.active { + background-color: rgb(152 103 247 / 24%); + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box.active { - background-color: rgb(152 103 247 / 24%); -} + .draggable-box :deep(.list-main) .grid-box.active::before { + background-color: #9867f7; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box.active::before { - background-color: #9867f7; -} + .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .copy, + .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .delete { + color: #fff; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .copy, -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .delete { - color: #fff; -} + .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .copy { + background-color: #9867f7; + } -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .copy { - background-color: #9867f7; -} - -[data-theme='dark'] .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .delete { - background-color: #9867f7; -} + .draggable-box :deep(.list-main) .grid-box > .copy-delete-box > .delete { + background-color: #9867f7; + } -[data-theme='dark'] .form-panel .empty-text { - color: #aaa; -} + .form-panel .empty-text { + color: #aaa; + } -[data-theme='dark'] .operating-area { - border-bottom: 2px solid #ccc; -} + .operating-area { + border-bottom: 2px solid #ccc; + } -[data-theme='dark'] .operating-area a { - color: #666; -} + .operating-area a { + color: #666; + } -[data-theme='dark'] .operating-area a.disabled, -[data-theme='dark'] .operating-area a.disabled:hover { - color: #ccc; -} + .operating-area a.disabled, + .operating-area a.disabled:hover { + color: #ccc; + } -[data-theme='dark'] .operating-area a:hover { - color: #0960bd; -} + .operating-area a:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-layout-header { - background-color: #fff; - color: #fff; -} + .vben-layout-header { + background-color: #fff; + color: #fff; + } -[data-theme='dark'] .vben-layout-header-left .vben-layout-header-trigger.light:hover { - background-color: #f6f6f6; -} + .vben-layout-header-left .vben-layout-header-trigger.light:hover { + background-color: #f6f6f6; + } -[data-theme='dark'] .vben-layout-header-left .vben-layout-header-trigger.light svg { - fill: #000; -} + .vben-layout-header-left .vben-layout-header-trigger.light svg { + fill: #000; + } -[data-theme='dark'] .vben-layout-header--light { - border-bottom: 1px solid #eee; - border-left: 1px solid #eee; - background-color: #fff !important; -} + .vben-layout-header--light { + border-bottom: 1px solid #eee; + border-left: 1px solid #eee; + background-color: #fff !important; + } -[data-theme='dark'] .vben-layout-header--light .vben-layout-header-logo { - color: #c9d1d9; -} + .vben-layout-header--light .vben-layout-header-logo { + color: #c9d1d9; + } -[data-theme='dark'] .vben-layout-header--light .vben-layout-header-logo:hover { - background-color: #f6f6f6; -} + .vben-layout-header--light .vben-layout-header-logo:hover { + background-color: #f6f6f6; + } -[data-theme='dark'] .vben-layout-header--light .vben-layout-header-action__item { - color: #c9d1d9; -} + .vben-layout-header--light .vben-layout-header-action__item { + color: #c9d1d9; + } -[data-theme='dark'] .vben-layout-header--light .vben-layout-header-action__item:hover { - background-color: #f6f6f6; -} + .vben-layout-header--light .vben-layout-header-action__item:hover { + background-color: #f6f6f6; + } -[data-theme='dark'] .vben-layout-header--light .vben-layout-header-action span[role='img'], -[data-theme='dark'] .vben-layout-header--light .vben-layout-header-action-icon { - color: #c9d1d9; -} + .vben-layout-header--light .vben-layout-header-action span[role='img'], + .vben-layout-header--light .vben-layout-header-action-icon { + color: #c9d1d9; + } -[data-theme='dark'] .vben-layout-header--dark { - border-top: 1px solid #303030; - border-left: 1px solid #303030; -} + .vben-layout-header--dark { + border-top: 1px solid #303030; + border-left: 1px solid #303030; + } -[data-theme='dark'] .vben-layout-header--dark .vben-layout-header-action__item .ant-badge span { - color: #fff; -} + .vben-layout-header--dark .vben-layout-header-action__item .ant-badge span { + color: #fff; + } -[data-theme='dark'] .vben-setting-drawer-feature { - background-color: #0960bd; - color: #fff; -} + .vben-setting-drawer-feature { + background-color: #0960bd; + color: #fff; + } -[data-theme='dark'] .vben-layout-footer { - color: #d9d9d9; -} + .vben-layout-footer { + color: #d9d9d9; + } -[data-theme='dark'] .vben-layout-footer__links a { - color: #d9d9d9; -} + .vben-layout-footer__links a { + color: #d9d9d9; + } -[data-theme='dark'] .vben-layout-footer__links a:hover { - color: rgb(0 0 0 / 85%); -} + .vben-layout-footer__links a:hover { + color: rgb(0 0 0 / 85%); + } -[data-theme='dark'] .vben-layout-footer__github:hover { - color: rgb(0 0 0 / 85%); -} + .vben-layout-footer__github:hover { + color: rgb(0 0 0 / 85%); + } -[data-theme='dark'] .vben-page-footer { - border-top: 1px solid #303030; - background-color: #151515; -} + .vben-page-footer { + border-top: 1px solid #303030; + background-color: #151515; + } -[data-theme='dark'] .vben-collapse-container { - background-color: #151515; -} + .vben-collapse-container { + background-color: #151515; + } -[data-theme='dark'] .vben-collapse-container__header { - border-bottom: 1px solid #303030; -} + .vben-collapse-container__header { + border-bottom: 1px solid #303030; + } -[data-theme='dark'] .vben-collapse-container__footer { - border-top: 1px solid #303030; -} + .vben-collapse-container__footer { + border-top: 1px solid #303030; + } -[data-theme='dark'] .vben-page-wrapper-content-bg { - background-color: #151515; -} + .vben-page-wrapper-content-bg { + background-color: #151515; + } -[data-theme='dark'] .vben-basic-help { - color: #909399; -} + .vben-basic-help { + color: #909399; + } -[data-theme='dark'] .vben-basic-help:hover { - color: #0960bd; -} + .vben-basic-help:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-basic-title { - color: #c9d1d9 !important; -} + .vben-basic-title { + color: #c9d1d9 !important; + } -[data-theme='dark'] .vben-basic-title-show-span::before { - background-color: #0960bd; -} + .vben-basic-title-show-span::before { + background-color: #0960bd; + } -[data-theme='dark'] .vben-cropper-avatar-image-wrapper { - border: 1px solid #303030; - background: #151515; -} + .vben-cropper-avatar-image-wrapper { + border: 1px solid #303030; + background: #151515; + } -[data-theme='dark'] .vben-cropper-avatar-image-mask { - background: rgb(0 0 0 / 40%); -} + .vben-cropper-avatar-image-mask { + background: rgb(0 0 0 / 40%); + } -[data-theme='dark'] .vben-basic-table-row__striped td { - background-color: #1e1e1e; -} + .vben-basic-table-row__striped td { + background-color: #1e1e1e; + } -[data-theme='dark'] .vben-basic-table-form-container .ant-form { - background-color: #151515; -} + .vben-basic-table-form-container .ant-form { + background-color: #151515; + } -[data-theme='dark'] .vben-basic-table .ant-table-wrapper { - background-color: #151515; -} + .vben-basic-table .ant-table-wrapper { + background-color: #151515; + } -[data-theme='dark'] .vben-tree { - background-color: #151515; -} + .vben-tree { + background-color: #151515; + } -[data-theme='dark'] .vben-tree-header { - border-bottom: 1px solid #303030; -} + .vben-tree-header { + border-bottom: 1px solid #303030; + } -[data-theme='dark'] .darg-verify { - border: 1px solid #ddd; - background-color: #eee; -} + .darg-verify { + border: 1px solid #ddd; + background-color: #eee; + } -[data-theme='dark'] .darg-verify-bar { - background-color: #55d187; -} + .darg-verify-bar { + background-color: #55d187; + } -[data-theme='dark'] .darg-verify-content.success { - -webkit-text-fill-color: #fff; -} + .darg-verify-content.success { + -webkit-text-fill-color: #fff; + } -[data-theme='dark'] .darg-verify-content > * { - -webkit-text-fill-color: #333; -} + .darg-verify-content > * { + -webkit-text-fill-color: #333; + } -[data-theme='dark'] .darg-verify-action { - background-color: #fff; -} + .darg-verify-action { + background-color: #fff; + } -[data-theme='dark'] .ir-dv-img__tip { - color: #fff; -} + .ir-dv-img__tip { + color: #fff; + } -[data-theme='dark'] .ir-dv-img__tip.success { - background-color: rgb(85 209 135 / 60%); -} + .ir-dv-img__tip.success { + background-color: rgb(85 209 135 / 60%); + } -[data-theme='dark'] .ir-dv-img__tip.error { - background-color: rgb(237 111 111 / 60%); -} + .ir-dv-img__tip.error { + background-color: rgb(237 111 111 / 60%); + } -[data-theme='dark'] .ir-dv-img__tip.normal { - background-color: rgb(0 0 0 / 30%); -} + .ir-dv-img__tip.normal { + background-color: rgb(0 0 0 / 30%); + } -[data-theme='dark'] .vben-basic-drawer .ant-drawer-close:hover { - color: #ed6f6f; -} + .vben-basic-drawer .ant-drawer-close:hover { + color: #ed6f6f; + } -[data-theme='dark'] .vben-basic-drawer .ant-drawer-body { - background-color: #151515; -} + .vben-basic-drawer .ant-drawer-body { + background-color: #151515; + } -[data-theme='dark'] .vben-basic-drawer__detail .ant-drawer-header { - border-top: 1px solid #303030; -} + .vben-basic-drawer__detail .ant-drawer-header { + border-top: 1px solid #303030; + } -[data-theme='dark'] .vben-strength-meter-bar { - background-color: rgb(255 255 255 / 30%); -} + .vben-strength-meter-bar { + background-color: rgb(255 255 255 / 30%); + } -[data-theme='dark'] .vben-strength-meter-bar::after, -[data-theme='dark'] .vben-strength-meter-bar::before { - border-color: #fff; - background-color: transparent; -} + .vben-strength-meter-bar::after, + .vben-strength-meter-bar::before { + border-color: #fff; + background-color: transparent; + } -[data-theme='dark'] .vben-strength-meter-bar--fill { - background-color: transparent; -} + .vben-strength-meter-bar--fill { + background-color: transparent; + } -[data-theme='dark'] .vben-strength-meter-bar--fill[data-score='0'] { - background-color: #e74242; -} + .vben-strength-meter-bar--fill[data-score='0'] { + background-color: #e74242; + } -[data-theme='dark'] .vben-strength-meter-bar--fill[data-score='1'] { - background-color: #ed6f6f; -} + .vben-strength-meter-bar--fill[data-score='1'] { + background-color: #ed6f6f; + } -[data-theme='dark'] .vben-strength-meter-bar--fill[data-score='2'] { - background-color: #efbd47; -} + .vben-strength-meter-bar--fill[data-score='2'] { + background-color: #efbd47; + } -[data-theme='dark'] .vben-strength-meter-bar--fill[data-score='3'] { - background-color: rgb(85 209 135 / 50%); -} + .vben-strength-meter-bar--fill[data-score='3'] { + background-color: rgb(85 209 135 / 50%); + } -[data-theme='dark'] .vben-strength-meter-bar--fill[data-score='4'] { - background-color: #55d187; -} + .vben-strength-meter-bar--fill[data-score='4'] { + background-color: #55d187; + } -[data-theme='dark'] .vben-image-preview .ant-image-preview-operations { - background-color: rgb(0 0 0 / 40%); -} + .vben-image-preview .ant-image-preview-operations { + background-color: rgb(0 0 0 / 40%); + } -[data-theme='dark'] .vben-app-search-footer { - border-top: 1px solid #303030; - background-color: #151515; - color: #666; -} + .vben-app-search-footer { + border-top: 1px solid #303030; + background-color: #151515; + color: #666; + } -[data-theme='dark'] .vben-multiple-tabs { - border-bottom: 1px solid #303030; - background-color: #151515; -} + .vben-multiple-tabs { + border-bottom: 1px solid #303030; + background-color: #151515; + } -[data-theme='dark'] .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav { - background-color: #151515; -} + .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav { + background-color: #151515; + } -[data-theme='dark'] .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab { - background-color: #151515; - color: #c9d1d9; -} + .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab { + background-color: #151515; + color: #c9d1d9; + } -[data-theme='dark'] .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab svg { - fill: #c9d1d9; -} + .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab svg { + fill: #c9d1d9; + } -[data-theme='dark'] .vben-multiple-tabs - .ant-tabs.ant-tabs-card - .ant-tabs-nav - .ant-tabs-tab:not(.ant-tabs-tab-active):hover { - color: #0960bd; -} + .ant-tabs.ant-tabs-card + .ant-tabs-nav + .ant-tabs-tab:not(.ant-tabs-tab-active):hover { + color: #0960bd; + } -[data-theme='dark'] .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-active { - background: #0960bd; -} + .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-active { + background: #0960bd; + } -[data-theme='dark'] - .vben-multiple-tabs - .ant-tabs.ant-tabs-card - .ant-tabs-nav - .ant-tabs-tab-active - span { - color: #fff !important; -} + .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-active span { + color: #fff !important; + } -[data-theme='dark'] - .vben-multiple-tabs - .ant-tabs.ant-tabs-card - .ant-tabs-nav - .ant-tabs-tab-active - svg { - fill: #fff; -} + .vben-multiple-tabs .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-active svg { + fill: #fff; + } -[data-theme='dark'] .vben-multiple-tabs-content__extra-fold, -[data-theme='dark'] .vben-multiple-tabs-content__extra-quick, -[data-theme='dark'] .vben-multiple-tabs-content__extra-redo { - border-left: 1px solid #303030; - color: #8b949e; -} + .vben-multiple-tabs-content__extra-fold, + .vben-multiple-tabs-content__extra-quick, + .vben-multiple-tabs-content__extra-redo { + border-left: 1px solid #303030; + color: #8b949e; + } -[data-theme='dark'] .vben-multiple-tabs-content__extra-fold:hover, -[data-theme='dark'] .vben-multiple-tabs-content__extra-quick:hover, -[data-theme='dark'] .vben-multiple-tabs-content__extra-redo:hover { - color: #c9d1d9; -} + .vben-multiple-tabs-content__extra-fold:hover, + .vben-multiple-tabs-content__extra-quick:hover, + .vben-multiple-tabs-content__extra-redo:hover { + color: #c9d1d9; + } -[data-theme='dark'] .vben-layout-mix-sider.light .vben-layout-mix-sider-logo { - border-bottom: 1px solid #eee; -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-logo { + border-bottom: 1px solid #eee; + } -[data-theme='dark'] .vben-layout-mix-sider.light.open > .scrollbar { - border-right: 1px solid #eee; -} + .vben-layout-mix-sider.light.open > .scrollbar { + border-right: 1px solid #eee; + } -[data-theme='dark'] .vben-layout-mix-sider.light .vben-layout-mix-sider-module__item { - color: rgb(0 0 0 / 65%); -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-module__item { + color: rgb(0 0 0 / 65%); + } -[data-theme='dark'] .vben-layout-mix-sider.light .vben-layout-mix-sider-module__item--active { - color: #0960bd; -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-module__item--active { + color: #0960bd; + } -[data-theme='dark'] .vben-layout-mix-sider.light .vben-layout-mix-sider-menu-list__content { - box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%); -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-menu-list__content { + box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%); + } -[data-theme='dark'] .vben-layout-mix-sider.light .vben-layout-mix-sider-menu-list__title .pushpin { - color: rgb(0 0 0 / 35%); -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-menu-list__title .pushpin { + color: rgb(0 0 0 / 35%); + } -[data-theme='dark'] - .vben-layout-mix-sider.light - .vben-layout-mix-sider-menu-list__title - .pushpin:hover { - color: rgb(0 0 0 / 85%); -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-menu-list__title .pushpin:hover { + color: rgb(0 0 0 / 85%); + } -[data-theme='dark'] .vben-layout-mix-sider.dark .vben-layout-mix-sider-menu-list__title { - color: #fff; -} + .vben-layout-mix-sider.dark .vben-layout-mix-sider-menu-list__title { + color: #fff; + } -[data-theme='dark'] .vben-layout-mix-sider-module__item { - color: rgb(255 255 255 / 65%); -} + .vben-layout-mix-sider-module__item { + color: rgb(255 255 255 / 65%); + } -[data-theme='dark'] .vben-layout-mix-sider-module__item:hover { - color: #fff; -} + .vben-layout-mix-sider-module__item:hover { + color: #fff; + } -[data-theme='dark'] .vben-layout-mix-sider-module__item--active { - color: #fff; -} + .vben-layout-mix-sider-module__item--active { + color: #fff; + } -[data-theme='dark'] .vben-layout-mix-sider-module__item--active::before { - background-color: #0960bd; -} + .vben-layout-mix-sider-module__item--active::before { + background-color: #0960bd; + } -[data-theme='dark'] .vben-layout-mix-sider-trigger { - background-color: rgb(255 255 255 / 10%); - color: rgb(255 255 255 / 65%); -} + .vben-layout-mix-sider-trigger { + background-color: rgb(255 255 255 / 10%); + color: rgb(255 255 255 / 65%); + } -[data-theme='dark'] .vben-layout-mix-sider.light .vben-layout-mix-sider-trigger { - border-top: 1px solid #eee; - background-color: #fff; - color: rgb(0 0 0 / 65%); -} + .vben-layout-mix-sider.light .vben-layout-mix-sider-trigger { + border-top: 1px solid #eee; + background-color: #fff; + color: rgb(0 0 0 / 65%); + } -[data-theme='dark'] .vben-layout-mix-sider-menu-list { - background-color: #fff; -} + .vben-layout-mix-sider-menu-list { + background-color: #fff; + } -[data-theme='dark'] .vben-layout-mix-sider-menu-list__title { - border-bottom: 1px solid #eee; - color: #0960bd; -} + .vben-layout-mix-sider-menu-list__title { + border-bottom: 1px solid #eee; + color: #0960bd; + } -[data-theme='dark'] .vben-layout-mix-sider-menu-list__title .pushpin { - color: rgb(255 255 255 / 65%); -} + .vben-layout-mix-sider-menu-list__title .pushpin { + color: rgb(255 255 255 / 65%); + } -[data-theme='dark'] .vben-layout-mix-sider-menu-list__title .pushpin:hover { - color: #fff; -} + .vben-layout-mix-sider-menu-list__title .pushpin:hover { + color: #fff; + } -[data-theme='dark'] .vben-layout-mix-sider-menu-list__content .ant-menu-inline, -[data-theme='dark'] .vben-layout-mix-sider-menu-list__content .ant-menu-vertical, -[data-theme='dark'] .vben-layout-mix-sider-menu-list__content .ant-menu-vertical-left { - border-right: 1px solid transparent; -} + .vben-layout-mix-sider-menu-list__content .ant-menu-inline, + .vben-layout-mix-sider-menu-list__content .ant-menu-vertical, + .vben-layout-mix-sider-menu-list__content .ant-menu-vertical-left { + border-right: 1px solid transparent; + } -[data-theme='dark'] .vben-layout-mix-sider-drag-bar { - background-color: #f8f8f9; - box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%); -} + .vben-layout-mix-sider-drag-bar { + background-color: #f8f8f9; + box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%); + } -[data-theme='dark'] .vben-layout-sideBar.ant-layout-sider-dark .ant-layout-sider-trigger { - background-color: rgb(255 255 255 / 10%); - color: #bfbfbf; -} + .vben-layout-sideBar.ant-layout-sider-dark .ant-layout-sider-trigger { + background-color: rgb(255 255 255 / 10%); + color: #bfbfbf; + } -[data-theme='dark'] .vben-layout-sideBar.ant-layout-sider-dark .ant-layout-sider-trigger:hover { - background-color: rgb(255 255 255 / 20%); - color: #fff; -} + .vben-layout-sideBar.ant-layout-sider-dark .ant-layout-sider-trigger:hover { + background-color: rgb(255 255 255 / 20%); + color: #fff; + } -[data-theme='dark'] .vben-layout-sideBar:not(.ant-layout-sider-dark) .ant-layout-sider-trigger { - border-top: 1px solid #303030; - color: #c9d1d9; -} + .vben-layout-sideBar:not(.ant-layout-sider-dark) .ant-layout-sider-trigger { + border-top: 1px solid #303030; + color: #c9d1d9; + } -[data-theme='dark'] .vben-cropper-am-cropper { - background: #eee; -} + .vben-cropper-am-cropper { + background: #eee; + } -[data-theme='dark'] .vben-cropper-am-preview { - border: 1px solid #303030; -} + .vben-cropper-am-preview { + border: 1px solid #303030; + } -[data-theme='dark'] .vben-cropper-am-group { - border-top: 1px solid #303030; -} + .vben-cropper-am-group { + border-top: 1px solid #303030; + } -[data-theme='dark'] .vben-basic-drawer-footer { - border-top: 1px solid #303030; - background-color: #151515; -} + .vben-basic-drawer-footer { + border-top: 1px solid #303030; + background-color: #151515; + } -[data-theme='dark'] .vben-basic-drawer-header__back:hover { - color: #0960bd; -} + .vben-basic-drawer-header__back:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-basic-modal-close span:first-child:hover { - color: #0960bd; -} + .vben-basic-modal-close span:first-child:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-basic-modal-close span:last-child:hover { - color: #ed6f6f; -} + .vben-basic-modal-close span:last-child:hover { + color: #ed6f6f; + } -[data-theme='dark'] html[data-theme='dark'] .lf-dnd { - background: #080808; -} + html .lf-dnd { + background: #080808; + } -[data-theme='dark'] .vben-flow-chart-toolbar { - border-bottom: 1px solid #303030; - background-color: #1e1e1e; -} + .vben-flow-chart-toolbar { + border-bottom: 1px solid #303030; + background-color: #1e1e1e; + } -[data-theme='dark'] .vben-flow-chart-toolbar .disabeld { - color: rgb(255 255 255 / 30%); -} + .vben-flow-chart-toolbar .disabeld { + color: rgb(255 255 255 / 30%); + } -[data-theme='dark'] .vben-flow-chart-toolbar__icon:hover { - color: #0960bd; -} + .vben-flow-chart-toolbar__icon:hover { + color: #0960bd; + } -[data-theme='dark'] .img-preview { - background: rgb(0 0 0 / 50%); -} + .img-preview { + background: rgb(0 0 0 / 50%); + } -[data-theme='dark'] .img-preview-content { - color: #fff; -} + .img-preview-content { + color: #fff; + } -[data-theme='dark'] .img-preview__close { - background-color: rgb(0 0 0 / 50%); - color: #fff; -} + .img-preview__close { + background-color: rgb(0 0 0 / 50%); + color: #fff; + } -[data-theme='dark'] .img-preview__close:hover { - background-color: rgb(0 0 0 / 80%); -} + .img-preview__close:hover { + background-color: rgb(0 0 0 / 80%); + } -[data-theme='dark'] .img-preview__index { - background: rgb(109 109 109 / 60%); -} + .img-preview__index { + background: rgb(109 109 109 / 60%); + } -[data-theme='dark'] .img-preview__controller { - background: rgb(109 109 109 / 60%); -} + .img-preview__controller { + background: rgb(109 109 109 / 60%); + } -[data-theme='dark'] .img-preview__arrow { - background-color: rgb(0 0 0 / 50%); -} + .img-preview__arrow { + background-color: rgb(0 0 0 / 50%); + } -[data-theme='dark'] .img-preview__arrow:hover { - background-color: rgb(0 0 0 / 80%); -} + .img-preview__arrow:hover { + background-color: rgb(0 0 0 / 80%); + } -[data-theme='dark'] .vben-darg-bar:hover { - background-color: #0960bd; - box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%); -} + .vben-darg-bar:hover { + background-color: #0960bd; + box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%); + } -[data-theme='dark'] .vben-header-user-dropdown--light:hover { - background-color: #f6f6f6; -} + .vben-header-user-dropdown--light:hover { + background-color: #f6f6f6; + } -[data-theme='dark'] .vben-header-user-dropdown--light .vben-header-user-dropdown__name { - color: #c9d1d9; -} + .vben-header-user-dropdown--light .vben-header-user-dropdown__name { + color: #c9d1d9; + } -[data-theme='dark'] .vben-header-user-dropdown--light .vben-header-user-dropdown__desc { - color: #7c8087; -} + .vben-header-user-dropdown--light .vben-header-user-dropdown__desc { + color: #7c8087; + } -[data-theme='dark'] .vben-layout-breadcrumb--light .ant-breadcrumb-link { - color: #999; -} + .vben-layout-breadcrumb--light .ant-breadcrumb-link { + color: #999; + } -[data-theme='dark'] .vben-layout-breadcrumb--light .ant-breadcrumb-link a { - color: rgb(0 0 0 / 65%); -} + .vben-layout-breadcrumb--light .ant-breadcrumb-link a { + color: rgb(0 0 0 / 65%); + } -[data-theme='dark'] .vben-layout-breadcrumb--light .ant-breadcrumb-link a:hover { - color: #0960bd; -} + .vben-layout-breadcrumb--light .ant-breadcrumb-link a:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-layout-breadcrumb--light .ant-breadcrumb-separator { - color: #999; -} + .vben-layout-breadcrumb--light .ant-breadcrumb-separator { + color: #999; + } -[data-theme='dark'] .vben-layout-breadcrumb--dark .ant-breadcrumb-link { - color: rgb(255 255 255 / 60%); -} + .vben-layout-breadcrumb--dark .ant-breadcrumb-link { + color: rgb(255 255 255 / 60%); + } -[data-theme='dark'] .vben-layout-breadcrumb--dark .ant-breadcrumb-link a { - color: rgb(255 255 255 / 80%); -} + .vben-layout-breadcrumb--dark .ant-breadcrumb-link a { + color: rgb(255 255 255 / 80%); + } -[data-theme='dark'] .vben-layout-breadcrumb--dark .ant-breadcrumb-link a:hover { - color: #fff; -} + .vben-layout-breadcrumb--dark .ant-breadcrumb-link a:hover { + color: #fff; + } -[data-theme='dark'] .vben-layout-breadcrumb--dark .ant-breadcrumb-separator, -[data-theme='dark'] .vben-layout-breadcrumb--dark .anticon { - color: rgb(255 255 255 / 80%); -} + .vben-layout-breadcrumb--dark .ant-breadcrumb-separator, + .vben-layout-breadcrumb--dark .anticon { + color: rgb(255 255 255 / 80%); + } -[data-theme='dark'] .file-table thead { - background-color: rgb(255 255 255 / 4%); -} + .file-table thead { + background-color: rgb(255 255 255 / 4%); + } -[data-theme='dark'] .file-table table, -[data-theme='dark'] .file-table td, -[data-theme='dark'] .file-table th { - border: 1px solid #303030; -} + .file-table table, + .file-table td, + .file-table th { + border: 1px solid #303030; + } -[data-theme='dark'] .context-menu { - border: 1px solid rgb(0 0 0 / 8%); - background-color: #151515; - box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 10%), - 0 1px 5px 0 rgb(0 0 0 / 6%); -} + .context-menu { + border: 1px solid rgb(0 0 0 / 8%); + background-color: #151515; + box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 10%), + 0 1px 5px 0 rgb(0 0 0 / 6%); + } -[data-theme='dark'] .vben-simple-menu-tag { - color: #fff; -} + .vben-simple-menu-tag { + color: #fff; + } -[data-theme='dark'] .vben-simple-menu-tag--primary { - background-color: #0960bd; -} + .vben-simple-menu-tag--primary { + background-color: #0960bd; + } -[data-theme='dark'] .vben-simple-menu-tag--error { - background-color: #ed6f6f; -} + .vben-simple-menu-tag--error { + background-color: #ed6f6f; + } -[data-theme='dark'] .vben-simple-menu-tag--success { - background-color: #55d187; -} + .vben-simple-menu-tag--success { + background-color: #55d187; + } -[data-theme='dark'] .vben-simple-menu-tag--warn { - background-color: #efbd47; -} + .vben-simple-menu-tag--warn { + background-color: #efbd47; + } -[data-theme='dark'] .vben-editable-cell__icon:hover svg { - color: #0960bd; -} + .vben-editable-cell__icon:hover svg { + color: #0960bd; + } -[data-theme='dark'] .vben-setting-theme-picker__item { - border: 1px solid #ddd; -} + .vben-setting-theme-picker__item { + border: 1px solid #ddd; + } -[data-theme='dark'] .vben-setting-theme-picker__item--active { - border: 1px solid #0b79ee; -} + .vben-setting-theme-picker__item--active { + border: 1px solid #0b79ee; + } -[data-theme='dark'] .vben-setting-theme-picker__item--active svg { - fill: #fff !important; -} + .vben-setting-theme-picker__item--active svg { + fill: #fff !important; + } -[data-theme='dark'] .light-border::after { - background-color: #0960bd; -} + .light-border::after { + background-color: #0960bd; + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-item, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-submenu-title { - color: rgb(255 255 255 / 70%); -} + .vben-menu-menu-popover .vben-menu-item, + .vben-menu-menu-popover .vben-menu-submenu-title { + color: rgb(255 255 255 / 70%); + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-dark .vben-menu-item, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-dark .vben-menu-submenu-title { - color: rgb(255 255 255 / 70%); -} + .vben-menu-menu-popover .vben-menu-dark .vben-menu-item, + .vben-menu-menu-popover .vben-menu-dark .vben-menu-submenu-title { + color: rgb(255 255 255 / 70%); + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-dark .vben-menu-item:hover, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-dark .vben-menu-submenu-title:hover { - color: #fff; -} + .vben-menu-menu-popover .vben-menu-dark .vben-menu-item:hover, + .vben-menu-menu-popover .vben-menu-dark .vben-menu-submenu-title:hover { + color: #fff; + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-dark .vben-menu-item-selected, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-dark .vben-menu-submenu-title-selected { - background-color: #0960bd !important; - color: #fff; -} + .vben-menu-menu-popover .vben-menu-dark .vben-menu-item-selected, + .vben-menu-menu-popover .vben-menu-dark .vben-menu-submenu-title-selected { + background-color: #0960bd !important; + color: #fff; + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-item, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title { - color: #c9d1d9; -} + .vben-menu-menu-popover .vben-menu-light .vben-menu-item, + .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title { + color: #c9d1d9; + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-item:hover, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title:hover { - color: #0960bd; -} + .vben-menu-menu-popover .vben-menu-light .vben-menu-item:hover, + .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-item-selected, -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title-selected { - background-color: rgb(9 96 189 / 10%); - color: #0960bd; -} + .vben-menu-menu-popover .vben-menu-light .vben-menu-item-selected, + .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title-selected { + background-color: rgb(9 96 189 / 10%); + color: #0960bd; + } -[data-theme='dark'] .vben-menu-menu-popover .vben-menu-light .vben-menu-item-selected::after, -[data-theme='dark'] - .vben-menu-menu-popover - .vben-menu-light - .vben-menu-submenu-title-selected::after { - background-color: #0960bd; -} + .vben-menu-menu-popover .vben-menu-light .vben-menu-item-selected::after, + .vben-menu-menu-popover .vben-menu-light .vben-menu-submenu-title-selected::after { + background-color: #0960bd; + } -[data-theme='dark'] .vben-menu { - color: #c9d1d9; -} + .vben-menu { + color: #c9d1d9; + } -[data-theme='dark'] .vben-menu-light { - background-color: #fff; -} + .vben-menu-light { + background-color: #fff; + } -[data-theme='dark'] .vben-menu-light .vben-menu-submenu-active { - color: #0960bd !important; -} + .vben-menu-light .vben-menu-submenu-active { + color: #0960bd !important; + } -[data-theme='dark'] .vben-menu-light .vben-menu-submenu-active-border::after { - background-color: #0960bd; -} + .vben-menu-light .vben-menu-submenu-active-border::after { + background-color: #0960bd; + } -[data-theme='dark'] .vben-menu-dark .vben-menu-submenu-active { - color: #fff !important; -} + .vben-menu-dark .vben-menu-submenu-active { + color: #fff !important; + } -[data-theme='dark'] .vben-menu-vertical .vben-menu-item:hover, -[data-theme='dark'] .vben-menu-vertical .vben-menu-submenu-title:hover { - color: #0960bd; -} + .vben-menu-vertical .vben-menu-item:hover, + .vben-menu-vertical .vben-menu-submenu-title:hover { + color: #0960bd; + } -[data-theme='dark'] - .vben-menu-light.vben-menu-vertical - .vben-menu-item-active:not(.vben-menu-submenu) { - background-color: rgb(9 96 189 / 10%); - color: #0960bd; -} + .vben-menu-light.vben-menu-vertical .vben-menu-item-active:not(.vben-menu-submenu) { + background-color: rgb(9 96 189 / 10%); + color: #0960bd; + } -[data-theme='dark'] - .vben-menu-light.vben-menu-vertical - .vben-menu-item-active:not(.vben-menu-submenu)::after { - background-color: #0960bd; -} + .vben-menu-light.vben-menu-vertical .vben-menu-item-active:not(.vben-menu-submenu)::after { + background-color: #0960bd; + } -[data-theme='dark'] .vben-menu-light.vben-menu-vertical .vben-menu-item-active.vben-menu-submenu { - color: #0960bd; -} + .vben-menu-light.vben-menu-vertical .vben-menu-item-active.vben-menu-submenu { + color: #0960bd; + } -[data-theme='dark'] - .vben-menu-light.vben-menu-vertical.vben-menu-collapse - .vben-menu-submenu-active, -[data-theme='dark'] - .vben-menu-light.vben-menu-vertical.vben-menu-collapse - > li.vben-menu-item-active { - background-color: rgb(9 96 189 / 5%); -} + .vben-menu-light.vben-menu-vertical.vben-menu-collapse .vben-menu-submenu-active, + .vben-menu-light.vben-menu-vertical.vben-menu-collapse > li.vben-menu-item-active { + background-color: rgb(9 96 189 / 5%); + } -[data-theme='dark'] - .vben-menu-light.vben-menu-vertical.vben-menu-collapse - .vben-menu-submenu-active::before, -[data-theme='dark'] - .vben-menu-light.vben-menu-vertical.vben-menu-collapse - > li.vben-menu-item-active::before { - background-color: #0960bd; -} + .vben-menu-light.vben-menu-vertical.vben-menu-collapse .vben-menu-submenu-active::before, + .vben-menu-light.vben-menu-vertical.vben-menu-collapse > li.vben-menu-item-active::before { + background-color: #0960bd; + } -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical .vben-menu-item, -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical .vben-menu-submenu-title { - color: rgb(255 255 255 / 70%); -} + .vben-menu-dark.vben-menu-vertical .vben-menu-item, + .vben-menu-dark.vben-menu-vertical .vben-menu-submenu-title { + color: rgb(255 255 255 / 70%); + } -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical - .vben-menu-item-active:not(.vben-menu-submenu), -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical - .vben-menu-submenu-title-active:not(.vben-menu-submenu) { - background-color: #0960bd !important; - color: #fff !important; -} + .vben-menu-dark.vben-menu-vertical .vben-menu-item-active:not(.vben-menu-submenu), + .vben-menu-dark.vben-menu-vertical .vben-menu-submenu-title-active:not(.vben-menu-submenu) { + background-color: #0960bd !important; + color: #fff !important; + } -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical .vben-menu-item:hover, -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical .vben-menu-submenu-title:hover { - color: #fff; -} + .vben-menu-dark.vben-menu-vertical .vben-menu-item:hover, + .vben-menu-dark.vben-menu-vertical .vben-menu-submenu-title:hover { + color: #fff; + } -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical.vben-menu-collapse .vben-menu-submenu-active, -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical.vben-menu-collapse - > li.vben-menu-item-active { - color: #fff !important; -} + .vben-menu-dark.vben-menu-vertical.vben-menu-collapse .vben-menu-submenu-active, + .vben-menu-dark.vben-menu-vertical.vben-menu-collapse > li.vben-menu-item-active { + color: #fff !important; + } -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical.vben-menu-collapse - .vben-menu-submenu-active::before, -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical.vben-menu-collapse - > li.vben-menu-item-active::before { - background-color: #0960bd; -} + .vben-menu-dark.vben-menu-vertical.vben-menu-collapse .vben-menu-submenu-active::before, + .vben-menu-dark.vben-menu-vertical.vben-menu-collapse > li.vben-menu-item-active::before { + background-color: #0960bd; + } -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical.vben-menu-collapse - .vben-menu-submenu-active - .vben-menu-submenu-collapse, -[data-theme='dark'] + .vben-menu-submenu-active + .vben-menu-submenu-collapse, .vben-menu-dark.vben-menu-vertical.vben-menu-collapse - > li.vben-menu-item-active - .vben-menu-submenu-collapse { - background-color: transparent; -} + > li.vben-menu-item-active + .vben-menu-submenu-collapse { + background-color: transparent; + } -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical .vben-menu-submenu .vben-menu-item-active, -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical - .vben-menu-submenu - .vben-menu-item-active:hover { - color: #fff; -} + .vben-menu-dark.vben-menu-vertical .vben-menu-submenu .vben-menu-item-active, + .vben-menu-dark.vben-menu-vertical .vben-menu-submenu .vben-menu-item-active:hover { + color: #fff; + } -[data-theme='dark'] - .vben-menu-dark.vben-menu-vertical - .vben-menu-child-item-active - > .vben-menu-submenu-title { - color: #fff; -} + .vben-menu-dark.vben-menu-vertical .vben-menu-child-item-active > .vben-menu-submenu-title { + color: #fff; + } -[data-theme='dark'] .vben-menu-dark.vben-menu-vertical - .vben-menu-opened - .vben-menu-submenu-has-parent-submenu - .vben-menu-submenu-title { - background-color: transparent; -} + .vben-menu-opened + .vben-menu-submenu-has-parent-submenu + .vben-menu-submenu-title { + background-color: transparent; + } -[data-theme='dark'] .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark { - background-color: transparent; -} + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark { + background-color: transparent; + } -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-item-active, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-item-open, -[data-theme='dark'] + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-item-active, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-item-open, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-item-selected, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-item:hover, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-submenu-active, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-submenu-open, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-submenu-selected, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-submenu-title:hover, + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .ant-menu-submenu:hover, .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-item-selected, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-item:hover, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-submenu-active, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-submenu-open, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-submenu-selected, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-submenu-title:hover, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu-submenu:hover, -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .ant-menu:not(.ant-menu-inline) - .ant-menu-submenu-open { - color: #fff; -} + .ant-menu:not(.ant-menu-inline) + .ant-menu-submenu-open { + color: #fff; + } -[data-theme='dark'] - .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark - .vben-basic-menu-item__level1 { - background-color: transparent; -} + .vben-basic-menu__sidebar-hor.ant-menu-horizontal.ant-menu-dark .vben-basic-menu-item__level1 { + background-color: transparent; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item { - background-color: #f0f2f5; -} + .vben-setting-menu-type-picker__item { + background-color: #f0f2f5; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--light::before, -[data-theme='dark'] .vben-setting-menu-type-picker__item--sidebar::before { - background-color: #273352; -} + .vben-setting-menu-type-picker__item--light::before, + .vben-setting-menu-type-picker__item--sidebar::before { + background-color: #273352; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--light::after, -[data-theme='dark'] .vben-setting-menu-type-picker__item--sidebar::after { - background-color: #fff; -} + .vben-setting-menu-type-picker__item--light::after, + .vben-setting-menu-type-picker__item--sidebar::after { + background-color: #fff; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--mix::before { - background-color: #fff; -} + .vben-setting-menu-type-picker__item--mix::before { + background-color: #fff; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--mix::after { - background-color: #273352; -} + .vben-setting-menu-type-picker__item--mix::after { + background-color: #273352; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--top-menu::after { - background-color: #273352; -} + .vben-setting-menu-type-picker__item--top-menu::after { + background-color: #273352; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--dark { - background-color: #273352; -} + .vben-setting-menu-type-picker__item--dark { + background-color: #273352; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--mix-sidebar::before { - background-color: #273352; -} + .vben-setting-menu-type-picker__item--mix-sidebar::before { + background-color: #273352; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--mix-sidebar::after { - background-color: #fff; -} + .vben-setting-menu-type-picker__item--mix-sidebar::after { + background-color: #fff; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--mix-sidebar .mix-sidebar { - background-color: #fff; -} + .vben-setting-menu-type-picker__item--mix-sidebar .mix-sidebar { + background-color: #fff; + } -[data-theme='dark'] .vben-setting-menu-type-picker__item--active, -[data-theme='dark'] .vben-setting-menu-type-picker__item:hover { - border: 2px solid #0960bd; -} + .vben-setting-menu-type-picker__item--active, + .vben-setting-menu-type-picker__item:hover { + border: 2px solid #0960bd; + } -[data-theme='dark'] .vben-basic-column-setting__check-item .ant-checkbox-wrapper:hover { - color: #0960bd; -} + .vben-basic-column-setting__check-item .ant-checkbox-wrapper:hover { + color: #0960bd; + } -[data-theme='dark'] .vben-basic-column-setting__fixed-left, -[data-theme='dark'] .vben-basic-column-setting__fixed-right { - color: rgb(0 0 0 / 45%); -} + .vben-basic-column-setting__fixed-left, + .vben-basic-column-setting__fixed-right { + color: rgb(0 0 0 / 45%); + } -[data-theme='dark'] .vben-basic-column-setting__fixed-left.active, -[data-theme='dark'] .vben-basic-column-setting__fixed-left:hover, -[data-theme='dark'] .vben-basic-column-setting__fixed-right.active, -[data-theme='dark'] .vben-basic-column-setting__fixed-right:hover { - color: #0960bd; -} + .vben-basic-column-setting__fixed-left.active, + .vben-basic-column-setting__fixed-left:hover, + .vben-basic-column-setting__fixed-right.active, + .vben-basic-column-setting__fixed-right:hover { + color: #0960bd; + } + + .vben-basic-column-setting__fixed-left.disabled, + .vben-basic-column-setting__fixed-right.disabled { + color: rgb(255 255 255 / 30%); + } + + .ant-card-grid-hoverable:hover { + box-shadow: 0 3px 6px -4px rgb(0 0 0 / 48%), 0 6px 16px 0 rgb(0 0 0 / 32%), + 0 9px 28px 8px rgb(0 0 0 / 20%); + } + + .ant-card-grid { + box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset, + 0 1px 0 0 #434343 inset; + } -[data-theme='dark'] .vben-basic-column-setting__fixed-left.disabled, -[data-theme='dark'] .vben-basic-column-setting__fixed-right.disabled { - color: rgb(255 255 255 / 30%); + .ant-calendar-selected-day .ant-calendar-date { + color: rgb(0 0 0 / 80%); + } + + .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected { + color: rgb(0 0 0 / 90%); + } } diff --git a/src/design/theme.less b/src/design/theme.less index 25189cd7eff..22a139e0e93 100644 --- a/src/design/theme.less +++ b/src/design/theme.less @@ -26,27 +26,3 @@ html[data-theme='light'] { background-color: @layout-body-background !important; } } - -[data-theme='dark'] { - .text-secondary { - color: #8b949e; - } - - .ant-card-grid-hoverable:hover { - box-shadow: 0 3px 6px -4px rgb(0 0 0 / 48%), 0 6px 16px 0 rgb(0 0 0 / 32%), - 0 9px 28px 8px rgb(0 0 0 / 20%); - } - - .ant-card-grid { - box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset, - 0 1px 0 0 #434343 inset; - } - - .ant-calendar-selected-day .ant-calendar-date { - color: rgb(0 0 0 / 80%); - } - - .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected { - color: rgb(0 0 0 / 90%); - } -}