mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-08 01:20:07 +08:00
fix: 夜间模式ui优化(https://github.com/1Panel-dev/1Panel/issues/938) (#953)
#### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
This commit is contained in:
parent
8c5c2440fe
commit
149c26728c
@ -53,7 +53,11 @@
|
|||||||
{{ upgradeInfo.latestVersion }} {{ $t('setting.latestVersion') }}
|
{{ upgradeInfo.latestVersion }} {{ $t('setting.latestVersion') }}
|
||||||
</el-radio>
|
</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<MdEditor v-model="upgradeInfo.releaseNote" previewOnly />
|
<MdEditor
|
||||||
|
v-model="upgradeInfo.releaseNote"
|
||||||
|
previewOnly
|
||||||
|
:theme="globalStore.$state.themeConfig.theme || 'light'"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<span class="dialog-footer">
|
<span class="dialog-footer">
|
||||||
|
@ -26,6 +26,7 @@ html.dark {
|
|||||||
--panel-popup-color: #060708;
|
--panel-popup-color: #060708;
|
||||||
--panel-alert-bg: #2f3030;
|
--panel-alert-bg: #2f3030;
|
||||||
--panel-path-bg: #2f3030;
|
--panel-path-bg: #2f3030;
|
||||||
|
--panel-button-disabled: #5a5a5a;
|
||||||
|
|
||||||
.el-tag.el-tag--info {
|
.el-tag.el-tag--info {
|
||||||
--el-tag-bg-color: rgb(49, 51, 51);
|
--el-tag-bg-color: rgb(49, 51, 51);
|
||||||
@ -79,6 +80,10 @@ html.dark {
|
|||||||
--w-e-textarea-bg-color: #1b1b1b;
|
--w-e-textarea-bg-color: #1b1b1b;
|
||||||
--w-e-textarea-color: #eeeeee;
|
--w-e-textarea-color: #eeeeee;
|
||||||
|
|
||||||
|
.md-editor-dark {
|
||||||
|
--md-bk-color: #111417;
|
||||||
|
}
|
||||||
|
|
||||||
// * 以下为自定义暗黑模式内容
|
// * 以下为自定义暗黑模式内容
|
||||||
// login
|
// login
|
||||||
.login-container {
|
.login-container {
|
||||||
@ -202,8 +207,12 @@ html.dark {
|
|||||||
background: #1d2023;
|
background: #1d2023;
|
||||||
border-color: #303438;
|
border-color: #303438;
|
||||||
}
|
}
|
||||||
|
.el-button.is-link.is-disabled {
|
||||||
|
color: var(--panel-button-disabled) !important;
|
||||||
|
}
|
||||||
.el-button.is-disabled {
|
.el-button.is-disabled {
|
||||||
border-color: #303438;
|
border-color: #303438;
|
||||||
|
color: var(--panel-button-disabled);
|
||||||
}
|
}
|
||||||
.el-popper.is-dark {
|
.el-popper.is-dark {
|
||||||
color: rgb(171 173 173);
|
color: rgb(171 173 173);
|
||||||
|
@ -83,7 +83,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-loading="loadingDetail" style="margin-left: 10px">
|
<div v-loading="loadingDetail" style="margin-left: 10px">
|
||||||
<MdEditor v-model="appDetail.readme" previewOnly />
|
<MdEditor
|
||||||
|
v-model="appDetail.readme"
|
||||||
|
previewOnly
|
||||||
|
:theme="globalStore.$state.themeConfig.theme || 'light'"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</LayoutContent>
|
</LayoutContent>
|
||||||
@ -98,6 +102,8 @@ import { onMounted, ref } from 'vue';
|
|||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import Install from './install/index.vue';
|
import Install from './install/index.vue';
|
||||||
import router from '@/routers';
|
import router from '@/routers';
|
||||||
|
import { GlobalStore } from '@/store';
|
||||||
|
const globalStore = GlobalStore();
|
||||||
|
|
||||||
const language = useI18n().locale.value;
|
const language = useI18n().locale.value;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<el-row type="flex" justify="center">
|
<el-row type="flex" justify="center">
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<el-form-item :label="$t('setting.mfaHelper1')">
|
<el-form-item :label="$t('setting.mfaHelper1')">
|
||||||
<ul>
|
<ul class="help-ul">
|
||||||
<li>Google Authenticator</li>
|
<li>Google Authenticator</li>
|
||||||
<li>Microsoft Authenticator</li>
|
<li>Microsoft Authenticator</li>
|
||||||
<li>1Password</li>
|
<li>1Password</li>
|
||||||
@ -136,3 +136,8 @@ defineExpose({
|
|||||||
acceptParams,
|
acceptParams,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.help-ul {
|
||||||
|
color: #8f959e;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user