fix: Replace emoji icons with SVGs, deduplicate help modal, fix fonts

- Replace all emoji HTML entities in Stats Bar Icons with matching SVGs
  from the actual stats bar implementation
- Remove stale inline help modal from index.html, use shared partial
- Set help modal font-family to match app-wide IBM Plex Mono
- Reduce font sizes for cleaner, more professional appearance
- Tighten padding and spacing throughout the help modal

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-16 23:20:29 +00:00
parent eeb3a29ecf
commit 53b23fc2f7
3 changed files with 63 additions and 346 deletions

View File

@@ -14,6 +14,7 @@
z-index: 10000;
overflow-y: auto;
padding: 40px 20px;
font-family: var(--font-mono, 'IBM Plex Mono', 'Space Mono', ui-monospace, monospace);
}
.help-modal.active {
@@ -26,37 +27,41 @@
background: var(--bg-card, var(--bg-secondary, #0f1218));
border: 1px solid var(--border-color, #1f2937);
border-radius: 8px;
padding: 30px;
padding: 24px;
position: relative;
}
.help-content h2 {
color: var(--accent-cyan, #4a9eff);
margin-bottom: 20px;
font-size: 24px;
margin-bottom: 16px;
font-size: 15px;
letter-spacing: 2px;
text-transform: uppercase;
font-weight: 600;
}
.help-content h3 {
color: var(--text-primary, #e8eaed);
margin: 25px 0 15px 0;
font-size: 14px;
margin: 20px 0 10px 0;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 1px solid var(--border-color, #1f2937);
padding-bottom: 8px;
padding-bottom: 6px;
font-weight: 600;
}
.help-close {
position: absolute;
top: 15px;
right: 15px;
top: 12px;
right: 12px;
background: none;
border: none;
color: var(--text-dim, #4b5563);
font-size: 24px;
font-size: 20px;
cursor: pointer;
transition: color 0.2s;
line-height: 1;
}
.help-close:hover {
@@ -66,43 +71,54 @@
.help-modal .icon-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 12px;
margin: 15px 0;
gap: 8px;
margin: 10px 0;
}
.help-modal .icon-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
gap: 8px;
padding: 6px 8px;
background: var(--bg-primary, #0a0c10);
border: 1px solid var(--border-color, #1f2937);
border-radius: 4px;
font-size: 12px;
font-size: 11px;
}
.help-modal .icon-item .icon {
font-size: 18px;
width: 30px;
text-align: center;
width: 20px;
height: 20px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
}
.help-modal .icon-item .icon svg {
width: 16px;
height: 16px;
}
.help-modal .icon-item .desc {
color: var(--text-secondary, #9ca3af);
font-size: 10.5px;
line-height: 1.3;
}
.help-modal .tip-list {
list-style: none;
padding: 0;
margin: 15px 0;
margin: 10px 0;
}
.help-modal .tip-list li {
padding: 8px 0;
padding-left: 20px;
padding: 5px 0;
padding-left: 16px;
position: relative;
color: var(--text-secondary, #9ca3af);
font-size: 13px;
font-size: 11px;
line-height: 1.5;
border-bottom: 1px solid var(--border-color, #1f2937);
}
@@ -118,10 +134,15 @@
font-weight: bold;
}
.help-modal .tip-list li strong {
color: var(--text-primary, #e8eaed);
font-weight: 600;
}
.help-tabs {
display: flex;
gap: 0;
margin-bottom: 20px;
margin-bottom: 16px;
border: 1px solid var(--border-color, #1f2937);
border-radius: 4px;
overflow: hidden;
@@ -129,12 +150,13 @@
.help-tab {
flex: 1;
padding: 10px;
padding: 8px;
background: var(--bg-primary, #0a0c10);
border: none;
color: var(--text-secondary, #9ca3af);
cursor: pointer;
font-size: 11px;
font-family: var(--font-mono, 'IBM Plex Mono', 'Space Mono', ui-monospace, monospace);
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.15s ease;
@@ -176,9 +198,9 @@
/* Ensure code tags are styled */
.help-modal code {
background: var(--bg-tertiary, #151a23);
padding: 2px 6px;
padding: 1px 5px;
border-radius: 3px;
font-family: var(--font-mono, 'JetBrains Mono', monospace);
font-size: 11px;
font-family: var(--font-mono, 'IBM Plex Mono', 'Space Mono', ui-monospace, monospace);
font-size: 10.5px;
color: var(--accent-cyan, #4a9eff);
}