mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-08 11:34:10 +08:00
fix: drawer与model暗黑适配
This commit is contained in:
parent
d2acdeaad6
commit
6d105e0f56
@ -57,6 +57,7 @@
|
|||||||
:closable="false"
|
:closable="false"
|
||||||
:title="currentSelect.plugin.pluginName"
|
:title="currentSelect.plugin.pluginName"
|
||||||
placement="right"
|
placement="right"
|
||||||
|
class="exportDrawer"
|
||||||
>
|
>
|
||||||
<p
|
<p
|
||||||
class="key-item"
|
class="key-item"
|
||||||
@ -69,7 +70,12 @@
|
|||||||
</a-drawer>
|
</a-drawer>
|
||||||
<a-modal
|
<a-modal
|
||||||
centered
|
centered
|
||||||
bodyStyle="max-height: 500px; overflow: auto"
|
:bodyStyle="{
|
||||||
|
maxHeight: '500px',
|
||||||
|
overflow: 'auto',
|
||||||
|
backgroundColor: 'var(--color-body-bg)',
|
||||||
|
color: 'var(--color-text-primary)'
|
||||||
|
}"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:closable="false"
|
:closable="false"
|
||||||
v-model:visible="show"
|
v-model:visible="show"
|
||||||
@ -80,6 +86,7 @@
|
|||||||
v-model:visible="showSetting"
|
v-model:visible="showSetting"
|
||||||
title="webdav 账户配置"
|
title="webdav 账户配置"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
|
class="webdavModel"
|
||||||
>
|
>
|
||||||
<a-alert v-if="formState.suport === 'jianguo'" style="margin-bottom: 20px;" type="info" show-icon>
|
<a-alert v-if="formState.suport === 'jianguo'" style="margin-bottom: 20px;" type="info" show-icon>
|
||||||
<template #message>
|
<template #message>
|
||||||
@ -270,4 +277,35 @@ const downloadPlugin = async (plugin) => {
|
|||||||
color: var(--ant-primary-color);
|
color: var(--ant-primary-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.exportDrawer{
|
||||||
|
.ant-drawer-header{
|
||||||
|
background-color: var(--color-body-bg);
|
||||||
|
border-bottom: 1px solid var(--color-border-light);
|
||||||
|
.ant-drawer-title{
|
||||||
|
color: var(--color-text-primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ant-drawer-body{
|
||||||
|
background-color: var(--color-body-bg);
|
||||||
|
color: var(--color-text-content)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.webdavModel{
|
||||||
|
.ant-modal-close-x{
|
||||||
|
color: var(--color-text-content);
|
||||||
|
}
|
||||||
|
.ant-modal-header{
|
||||||
|
background-color: var(--color-body-bg);
|
||||||
|
border-bottom: 1px solid var(--color-border-light);
|
||||||
|
.ant-modal-title{
|
||||||
|
color: var(--color-text-primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ant-form-item-label>label {
|
||||||
|
color: var(--color-text-content);
|
||||||
|
}
|
||||||
|
.ant-modal-body{
|
||||||
|
background-color: var(--color-body-bg)
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user