v2: 移除header-sub,在header-title前添加模式SVG图标作为标识区分

This commit is contained in:
2026-09-03 14:16:45 +08:00
parent 4bcb8467a8
commit f640888be2
2 changed files with 11 additions and 9 deletions
+6 -6
View File
@@ -55,18 +55,18 @@ input, textarea { font: inherit; color: inherit; border: 0; outline: none; backg
.header .icon-btn:active { background: var(--surface); }
.header-center {
flex: 1; min-width: 0;
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 1px; text-align: center;
display: flex; align-items: center; justify-content: center;
text-align: center;
}
.header-title {
font-size: 15px; font-weight: 600; line-height: 1.3;
max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
display: flex; align-items: center; gap: 5px; justify-content: center;
}
.header-sub {
font-size: 11px; color: var(--gray); line-height: 1.3;
max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
.header-mode-icon {
width: 17px; height: 17px; flex: none;
fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.header-sub .mode { color: var(--active); }
/* ================= 主内容区 ================= */
main { flex: 1; min-height: 0; display: flex; flex-direction: column; }