feat: replace all emojis with SVG icons

This commit is contained in:
2025-10-14 10:17:38 +02:00
parent 55bc38577c
commit fa6d72ea62
10 changed files with 240 additions and 73 deletions

View File

@@ -4,6 +4,35 @@
box-sizing: border-box;
}
/* === SVG icon alignment and sizing tweaks === */
/* Align inline SVGs vertically with adjacent text */
.nav-tab > svg,
.theme-toggle > svg,
.burger-btn > svg,
h2 > svg,
h3 > svg,
.stat-icon > svg,
.resource-label > svg,
.flash-label > svg,
.uptime-label > svg,
.latency-label > svg,
.member-status > svg,
.tab-refresh-btn > svg,
.primary-node-info svg,
.upload-btn-compact > svg,
.deploy-btn > svg,
.upload-btn > svg,
.terminal-actions svg,
.terminal-dock-icon > svg {
vertical-align: middle;
}
/* Monitoring view: slightly larger summary stat icons */
.summary-stats .stat-icon > svg {
width: 22px;
height: 22px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: var(--bg-primary);
@@ -767,16 +796,17 @@ p {
flex-shrink: 0;
}
.member-status {
.member-status,
.node-status-indicator {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.2rem;
width: 1rem;
height: 1rem;
padding: 0;
border-radius: 50%;
font-size: 0.9rem;
font-size: 0; /* prevent line-height affecting size */
flex-shrink: 0;
min-width: 1.2rem;
min-height: 1.2rem;
}
.status-online {
@@ -790,12 +820,22 @@ p {
background: rgba(244, 67, 54, 0.3);
color: #f44336;
border: 1px solid rgba(244, 67, 54, 0.5);
border-radius: 50%;
}
.status-inactive {
background: rgba(255, 152, 0, 0.3);
color: #ff9800;
border: 1px solid rgba(255, 152, 0, 0.5);
border-radius: 50%;
}
/* Ensure the inner dot SVG fits nicely */
.member-status > svg,
.node-status-indicator > svg {
width: 8px;
height: 8px;
display: block;
}
.member-latency {
@@ -3452,6 +3492,7 @@ select.param-input:focus {
padding: 0.5rem 0.75rem;
border-bottom: 1px solid var(--border-secondary);
background: var(--bg-secondary);
border-radius: 12px 12px 0 0;
}
.terminal-title {
font-weight: 600;