feat(web-ui): Z-AMPP design system CSS: styles-fixes.css

This commit is contained in:
Zac Gaetano 2026-05-22 08:02:36 -04:00
parent 7b13d8bd0f
commit 2c88fb0a03

View file

@ -14,13 +14,11 @@
.rail-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rail-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item > span.rail-count, .rail-item > .rail-color-dot { overflow: visible; flex-shrink: 0; } .rail-item > span.rail-count, .rail-item > .rail-color-dot { overflow: visible; flex-shrink: 0; }
/* stat row collapses on narrow screens */
@media (max-width: 1100px) { @media (max-width: 1100px) {
.stat-row { grid-template-columns: repeat(2, 1fr); } .stat-row { grid-template-columns: repeat(2, 1fr); }
.jobs-stats { grid-template-columns: repeat(2, 1fr); } .jobs-stats { grid-template-columns: repeat(2, 1fr); }
} }
/* recorder row - collapse stats to wrap more gracefully at narrower widths */
@media (max-width: 1280px) { @media (max-width: 1280px) {
.recorder-row { .recorder-row {
grid-template-columns: 180px 1fr; grid-template-columns: 180px 1fr;
@ -30,20 +28,17 @@
.recorder-actions { grid-column: 1 / 3; grid-row: 3; justify-content: flex-end; padding-top: 4px; border-top: 1px solid var(--border); } .recorder-actions { grid-column: 1 / 3; grid-row: 3; justify-content: flex-end; padding-top: 4px; border-top: 1px solid var(--border); }
} }
/* capture stats labels nowrap */
.capture-stat-label, .recorder-stat .stat-label, .stat-card .label, .stat-card .delta { .capture-stat-label, .recorder-stat .stat-label, .stat-card .label, .stat-card .delta {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
/* topbar elements never wrap */
.topbar > * { flex-shrink: 0; } .topbar > * { flex-shrink: 0; }
.topbar .crumb { min-width: 0; overflow: hidden; } .topbar .crumb { min-width: 0; overflow: hidden; }
.topbar .crumb > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topbar .crumb > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .spacer { flex: 1; min-width: 8px; } .topbar .spacer { flex: 1; min-width: 8px; }
/* hide search at narrow widths */
@media (max-width: 1100px) { @media (max-width: 1100px) {
.topbar .search { display: none; } .topbar .search { display: none; }
} }
@ -51,33 +46,26 @@
.topbar .status-pip span:not(.dot) { display: none; } .topbar .status-pip span:not(.dot) { display: none; }
} }
/* library toolbar wraps */
.library-toolbar { flex-wrap: wrap; } .library-toolbar { flex-wrap: wrap; }
.library-toolbar .search { width: 200px; } .library-toolbar .search { width: 200px; }
/* capture layout — stack when narrow */
@media (max-width: 1280px) { @media (max-width: 1280px) {
.page-body > div[style*="grid-template-columns: 440px"] { .page-body > div[style*="grid-template-columns: 440px"] {
grid-template-columns: 1fr !important; grid-template-columns: 1fr !important;
} }
} }
/* fix audio meter visual */
.audio-meter.v { .audio-meter.v {
border-radius: 99px; border-radius: 99px;
background: rgba(255,255,255,0.04); background: rgba(255,255,255,0.04);
padding: 3px; padding: 3px;
} }
/* misc — ensure recorder preview minimum height visible */
.recorder-preview { min-height: 56px; } .recorder-preview { min-height: 56px; }
/* avoid awkward emoji stretch in section heads */
.activity-text .target { word-break: break-word; } .activity-text .target { word-break: break-word; }
/* asset card sub fits */
.asset-card .meta .sub { overflow: hidden; } .asset-card .meta .sub { overflow: hidden; }
/* stat card spark - move behind text */
.stat-card .label, .stat-card .value, .stat-card .delta { position: relative; z-index: 1; } .stat-card .label, .stat-card .value, .stat-card .delta { position: relative; z-index: 1; }
.stat-card .spark { z-index: 0; } .stat-card .spark { z-index: 0; }