mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-10 09:02:42 +08:00
pref: 优化暗黑主题样式 (#5355)
This commit is contained in:
parent
b866816800
commit
05c8370f0d
2 changed files with 13 additions and 0 deletions
|
@ -271,6 +271,18 @@ html.dark {
|
|||
.el-descriptions__content.el-descriptions__cell.is-bordered-content {
|
||||
color: #999999;
|
||||
}
|
||||
.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell {
|
||||
padding: 12px 15px;
|
||||
background-color: transparent;
|
||||
}
|
||||
.el-descriptions__body {
|
||||
background-color: transparent;
|
||||
}
|
||||
.el-descriptions__label {
|
||||
color: var(--el-color-primary) !important;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.terminal-tabs {
|
||||
background: none !important;
|
||||
.el-tabs__header {
|
||||
|
|
|
@ -13,6 +13,7 @@ export function resetXSetting() {
|
|||
}
|
||||
|
||||
export function initFavicon() {
|
||||
document.title = globalStore.themeConfig.panelName;
|
||||
let favicon = globalStore.themeConfig.favicon;
|
||||
const link = (document.querySelector("link[rel*='icon']") || document.createElement('link')) as HTMLLinkElement;
|
||||
link.type = 'image/x-icon';
|
||||
|
|
Loading…
Reference in a new issue