refactor(auth-files): drop vault header eyebrow and move cursor marker to meta line

This commit is contained in:
Supra4E8C
2026-07-30 03:24:20 +08:00
parent 0a181ba661
commit 29b1b9bb48
6 changed files with 12 additions and 26 deletions
@@ -13,27 +13,10 @@
.copy {
display: flex;
flex-direction: column;
gap: 8px;
gap: 7px;
min-width: 0;
}
.eyebrow {
font-family: $font-mono;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--text-tertiary);
&::before {
content: '';
color: var(--viz-success);
font-size: 12px;
line-height: 1;
margin-right: 2px;
}
}
.title {
margin: 0;
font-size: clamp(26px, 3.2vw, 30px);
@@ -50,11 +33,21 @@
flex-wrap: wrap;
gap: 4px 8px;
font-family: $font-mono;
font-size: 12.5px;
font-size: 13px;
font-weight: 500;
font-variant-numeric: tabular-nums;
letter-spacing: 0.02em;
color: var(--text-secondary);
/* 终端游标承接 eyebrow 退场后的结构记号,与下方谱条的绿色竖条同语汇 */
&::before {
content: '';
color: var(--viz-success);
font-size: 13px;
line-height: 1;
align-self: center;
margin-right: 1px;
}
}
.metaDot {
@@ -38,9 +38,6 @@ export function VaultHeader(props: VaultHeaderProps) {
return (
<header className={styles.header} ref={revealRef}>
<div className={styles.copy}>
<span className={styles.eyebrow} data-reveal>
{t('auth_files.eyebrow')}
</span>
<h1 className={styles.title} data-reveal>
{t('auth_files.title')}
</h1>
-1
View File
@@ -216,7 +216,6 @@
},
"auth_files": {
"title": "Auth Files Management",
"eyebrow": "Credential vault",
"meta_total": "{{count}} credentials",
"meta_active": "{{count}} active",
"meta_problem": "{{count}} problem",
-1
View File
@@ -215,7 +215,6 @@
},
"auth_files": {
"title": "Управление файлами авторизации",
"eyebrow": "Хранилище учётных данных",
"meta_total": "{{count}} учётных данных",
"meta_active": "{{count}} активно",
"meta_problem": "{{count}} с проблемами",
-1
View File
@@ -216,7 +216,6 @@
},
"auth_files": {
"title": "认证文件管理",
"eyebrow": "凭证库",
"meta_total": "{{count}} 个凭证",
"meta_active": "{{count}} 个启用",
"meta_problem": "{{count}} 个异常",
-1
View File
@@ -216,7 +216,6 @@
},
"auth_files": {
"title": "驗證檔案管理",
"eyebrow": "憑證庫",
"meta_total": "{{count}} 個憑證",
"meta_active": "{{count}} 個啟用",
"meta_problem": "{{count}} 個異常",