mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-08-29 00:41:25 +08:00
refactor(auth-files): drop vault header eyebrow and move cursor marker to meta line
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -215,7 +215,6 @@
|
||||
},
|
||||
"auth_files": {
|
||||
"title": "Управление файлами авторизации",
|
||||
"eyebrow": "Хранилище учётных данных",
|
||||
"meta_total": "{{count}} учётных данных",
|
||||
"meta_active": "{{count}} активно",
|
||||
"meta_problem": "{{count}} с проблемами",
|
||||
|
||||
@@ -216,7 +216,6 @@
|
||||
},
|
||||
"auth_files": {
|
||||
"title": "认证文件管理",
|
||||
"eyebrow": "凭证库",
|
||||
"meta_total": "{{count}} 个凭证",
|
||||
"meta_active": "{{count}} 个启用",
|
||||
"meta_problem": "{{count}} 个异常",
|
||||
|
||||
@@ -216,7 +216,6 @@
|
||||
},
|
||||
"auth_files": {
|
||||
"title": "驗證檔案管理",
|
||||
"eyebrow": "憑證庫",
|
||||
"meta_total": "{{count}} 個憑證",
|
||||
"meta_active": "{{count}} 個啟用",
|
||||
"meta_problem": "{{count}} 個異常",
|
||||
|
||||
Reference in New Issue
Block a user