style: 优化个人中心和偏好设置弹窗样式,重构工作入口为精致分屏布局并移除首字徽标

This commit is contained in:
Cheng Zhou
2026-07-08 20:20:41 +08:00
parent e7b18758b2
commit b73f23c1eb
33 changed files with 2323 additions and 379 deletions
+10 -6
View File
@@ -705,7 +705,9 @@ onBeforeUnmount(() => {
height: min(700px, calc(100vh - 96px));
overflow: hidden;
background: var(--pref-bg-pane);
border-radius: inherit;
border-radius: 8px;
box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
isolation: isolate;
}
/* =====================================================
@@ -721,6 +723,8 @@ onBeforeUnmount(() => {
/* 用半透明线替代硬边框,消除左右割裂感 */
border-right: 1px solid var(--pref-sidebar-border);
background: var(--pref-bg-sidebar);
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.window-close {
@@ -862,6 +866,8 @@ h3 {
min-width: 0;
min-height: 0;
background: var(--pref-bg-pane);
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
.pane-header {
@@ -870,6 +876,7 @@ h3 {
padding: 22px 30px 18px;
border-bottom: 1px solid var(--pref-border);
background: var(--pref-bg-pane);
border-top-right-radius: 8px;
}
.pane-header-content {
@@ -910,6 +917,7 @@ h3 {
overscroll-behavior: contain;
padding: 24px 30px 32px;
scrollbar-gutter: stable;
border-bottom-right-radius: 8px;
}
.preference-panel {
@@ -1043,8 +1051,6 @@ h3 {
justify-content: flex-end;
gap: 8px;
margin-top: 14px;
padding-top: 12px;
border-top: 1px solid var(--pref-border);
}
.preference-panel :deep(.el-button) {
@@ -1361,9 +1367,7 @@ code {
color: var(--pref-text-primary);
}
:global([data-ctms-theme="dark"] .desktop-preferences .connection-actions) {
border-top-color: var(--pref-border);
}
:global([data-ctms-theme="dark"] .desktop-preferences .theme-segmented) {
border-color: var(--pref-border-card);