feat(extension): refine error UI and branding (#89)

This commit is contained in:
Nexmoe
2026-01-13 21:02:20 +08:00
committed by GitHub
parent 8acd761189
commit 14f80309af
8 changed files with 281 additions and 51 deletions

View File

@@ -208,16 +208,42 @@ h1 {
gap: 12px;
}
.troubleshoot-box {
background: var(--border);
.error-header {
display: flex;
flex-direction: column;
gap: 4px;
}
.error-title {
font-size: 16px;
font-weight: 600;
margin: 0;
color: var(--fg);
}
.error-description {
font-size: 12px;
color: var(--fg-secondary);
margin: 0;
line-height: 1.5;
}
.action-grid {
display: grid;
gap: 12px;
}
.action-card {
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
border-radius: 6px;
display: flex;
flex-direction: column;
gap: 8px;
background: #fafafa;
}
.troubleshoot-title {
.action-title {
font-size: 11px;
font-weight: 600;
color: var(--fg-secondary);
@@ -226,31 +252,31 @@ h1 {
letter-spacing: 0.05em;
}
.troubleshoot-actions {
display: flex;
align-items: center;
gap: 8px;
.action-text {
font-size: 13px;
color: var(--fg);
margin: 0;
line-height: 1.5;
}
.link-button {
background: none;
border: none;
padding: 0;
color: var(--accent);
text-decoration: none;
.secondary-button {
border: 1px solid var(--fg);
border-radius: 8px;
padding: 8px 10px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
font-family: inherit;
font-size: inherit;
background: transparent;
color: var(--fg);
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
}
.link-button:hover {
text-decoration: underline;
}
.divider {
color: var(--fg-secondary);
.secondary-button:hover {
background: var(--border);
}