de0f037bf4
P0 阻塞: - Pro 加载不再阻塞整个看板:只显示精简顶栏 + 加载状态,不再遮盖整个页面 - Scan 失败加重试按钮:所有用户(含免费)均可手动重试 - Detail Panel 同步超时后显示提示:"同步时间较长,当前展示的数据可能不完整" P1 体验: - 登录页增加"忘记密码"链接:调用 Supabase 密码重置流程 - 登录失败/邮箱未验证增加明确提示:"如刚注册,请先点击验证链接" - 公告横幅增加 ✕ 关闭按钮:点击后永久隐藏 P2 改善: - entitlement-required 页面重设计:品牌化、增加返回首页和登录按钮 - 订阅帮助页中英双语:所有 FAQ 和 UI 文案支持中英文切换 - 新增产品审查文档 docs/product-review-jun-2026.md Tested: npx tsc --noEmit
285 lines
6.6 KiB
CSS
285 lines
6.6 KiB
CSS
/* Scan terminal shell, topbar, upgrade announcement, and shared action buttons.
|
|
Extracted from ScanTerminal.module.css to keep terminal layout CSS maintainable. */
|
|
|
|
/* ── Button Hierarchy ──
|
|
Primary: .scan-primary-button — filled gradient, main CTA
|
|
Secondary: .scan-ai-button — tinted background, alternative action
|
|
Ghost: .scan-theme-button — no border/background, icon-only
|
|
Chrome: .scan-account-button — bordered icon, navigation
|
|
Chrome: .scan-locale-switch — segmented control
|
|
Chrome: .scan-ghost-button — bordered + bg, utility action
|
|
────────────────────────────────────────────── */
|
|
|
|
.root :global(.scan-topbar) {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 6px 0 18px;
|
|
border-bottom: 1px solid rgba(118, 146, 188, 0.1);
|
|
}
|
|
|
|
.root :global(.scan-topbar-title) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.root :global(.scan-topbar-title strong) {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
line-height: 1.08;
|
|
letter-spacing: -0.04em;
|
|
color: #f3f8ff;
|
|
}
|
|
|
|
.root :global(.scan-topbar-title span) {
|
|
color: #8fa4c3;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.root :global(.scan-topbar-actions) {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
color: #b4c8e2;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.root :global(.scan-locale-switch) {
|
|
height: 36px;
|
|
padding: 3px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(99, 132, 180, 0.18);
|
|
background: rgba(8, 19, 34, 0.9);
|
|
color: #a8bdd8;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.root :global(.scan-locale-switch span) {
|
|
min-width: 34px;
|
|
height: 28px;
|
|
padding: 0 8px;
|
|
border-radius: 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.root :global(.scan-locale-switch span.active) {
|
|
color: #eef7ff;
|
|
background: rgba(63, 140, 255, 0.16);
|
|
box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.22);
|
|
}
|
|
|
|
.root :global(.scan-topbar-time) {
|
|
color: #b4c8e2;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement) {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 16px;
|
|
align-items: center;
|
|
margin: -4px 0 6px;
|
|
border: 1px solid rgba(77, 163, 255, 0.2);
|
|
border-radius: 18px;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(77, 163, 255, 0.18), transparent 36%),
|
|
linear-gradient(135deg, rgba(18, 33, 58, 0.96), rgba(15, 23, 42, 0.92));
|
|
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement-copy) {
|
|
min-width: 0;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement-copy span) {
|
|
color: #86efac;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement-copy strong) {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: #f3f8ff;
|
|
font-size: 18px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement-copy p) {
|
|
margin: 6px 0 0;
|
|
color: #b4c8e2;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement ul) {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement li) {
|
|
border: 1px solid rgba(77, 163, 255, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(77, 163, 255, 0.1);
|
|
color: #d7e5f7;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.root :global(.scan-announcement-dismiss) {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 12px;
|
|
width: 28px;
|
|
height: 28px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: rgba(148, 163, 184, 0.1);
|
|
color: #94a3b8;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.root :global(.scan-announcement-dismiss:hover) {
|
|
background: rgba(148, 163, 184, 0.22);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.root :global(.scan-upgrade-announcement) {
|
|
position: relative;
|
|
}
|
|
|
|
.root :global(.scan-ghost-button),
|
|
.root :global(.scan-cta-ghost),
|
|
.root :global(.scan-theme-button),
|
|
.root :global(.scan-detail-action-button),
|
|
.root :global(.scan-detail-icon-button),
|
|
.root :global(.scan-view-all-button) {
|
|
border: 1px solid rgba(99, 132, 180, 0.18);
|
|
background: rgba(8, 19, 34, 0.9);
|
|
color: #d7e5f7;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.root :global(.scan-ghost-button),
|
|
.root :global(.scan-cta-ghost) {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 11px 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.root :global(.scan-primary-button) {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 42px;
|
|
padding: 11px 16px;
|
|
border: 1px solid rgba(77, 163, 255, 0.42);
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, var(--color-accent-primary), #3B82F6);
|
|
color: #FFFFFF;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
text-decoration: none;
|
|
box-shadow: 0 10px 24px rgba(59, 130, 246, 0.22);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.root :global(.scan-primary-button:hover:not(:disabled)) {
|
|
filter: brightness(1.06);
|
|
}
|
|
|
|
.root :global(.scan-primary-button:disabled) {
|
|
cursor: not-allowed;
|
|
opacity: 0.68;
|
|
}
|
|
|
|
.root :global(.scan-ai-button) {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 42px;
|
|
padding: 11px 14px;
|
|
border: 1px solid rgba(77, 163, 255, 0.3);
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, rgba(77, 163, 255, 0.18), rgba(59, 130, 246, 0.12));
|
|
color: #CFE6FF;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.root :global(.scan-ai-button:hover:not(:disabled)) {
|
|
border-color: rgba(111, 183, 255, 0.5);
|
|
background: linear-gradient(180deg, rgba(77, 163, 255, 0.26), rgba(59, 130, 246, 0.18));
|
|
}
|
|
|
|
.root :global(.scan-ai-button:disabled) {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.root :global(.scan-cta-ghost) {
|
|
color: var(--color-accent-secondary);
|
|
border-color: rgba(23, 217, 139, 0.3);
|
|
background: rgba(23, 217, 139, 0.12);
|
|
}
|
|
|
|
.root :global(.scan-account-button) {
|
|
width: 42px;
|
|
height: 42px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #d7e5f7;
|
|
text-decoration: none;
|
|
border: 1px solid rgba(99, 132, 180, 0.18);
|
|
background: rgba(8, 19, 34, 0.9);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.root :global(.scan-account-button:hover) {
|
|
border-color: rgba(63, 140, 255, 0.28);
|
|
background: rgba(12, 26, 44, 0.96);
|
|
}
|
|
|
|
.root :global(.scan-theme-button) {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
color: #d7e5f7;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.root :global(.scan-ghost-button .spin) {
|
|
animation: spin 1s linear infinite;
|
|
}
|