Make Dashboard table fill viewport height with sticky header/footer and internal scrolling. Expand mock exchange data from 15 to 200 records and Inventory showcase from 5 to 500 records. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
265 lines
4.4 KiB
CSS
265 lines
4.4 KiB
CSS
/* Scrollable content area */
|
|
.content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px 24px 40px;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
background: var(--bg-body);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Filter bar spacing */
|
|
.filterBar {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Table section */
|
|
.tableSection {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
overflow: hidden;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.tableHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.tableTitle {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.tableRight {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.tableMeta {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* Status cell */
|
|
.statusCell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
/* Route cells */
|
|
.routeName {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Application column */
|
|
.appName {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Duration color classes */
|
|
.durFast {
|
|
color: var(--success);
|
|
}
|
|
|
|
.durNormal {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.durSlow {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.durBreach {
|
|
color: var(--error);
|
|
}
|
|
|
|
/* Agent badge in table */
|
|
.agentBadge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.agentDot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: #5db866;
|
|
box-shadow: 0 0 4px rgba(93, 184, 102, 0.4);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Inline error preview below row */
|
|
.inlineError {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 8px 12px;
|
|
background: var(--error-bg);
|
|
border-left: 3px solid var(--error-border);
|
|
}
|
|
|
|
.inlineErrorIcon {
|
|
color: var(--error);
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.inlineErrorText {
|
|
font-size: 11px;
|
|
color: var(--error);
|
|
font-family: var(--font-mono);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.inlineErrorHint {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
margin-top: 3px;
|
|
}
|
|
|
|
/* Detail panel sections */
|
|
.panelSection {
|
|
padding-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.panelSection:last-child {
|
|
border-bottom: none;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.panelSectionTitle {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.panelSectionMeta {
|
|
margin-left: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
text-transform: none;
|
|
letter-spacing: 0;
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
/* Overview grid */
|
|
.overviewGrid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.overviewRow {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.overviewLabel {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
color: var(--text-muted);
|
|
width: 90px;
|
|
flex-shrink: 0;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
/* Error block */
|
|
.errorBlock {
|
|
background: var(--error-bg);
|
|
border: 1px solid var(--error-border);
|
|
border-radius: var(--radius-sm);
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.errorClass {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--error);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.errorMessage {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.5;
|
|
font-family: var(--font-mono);
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* Inspect exchange icon in table */
|
|
.inspectLink {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-faint);
|
|
opacity: 0.75;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
padding: 2px 4px;
|
|
border-radius: var(--radius-sm);
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.15s, opacity 0.15s;
|
|
}
|
|
|
|
.inspectLink:hover {
|
|
color: var(--text-primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Open full details link in panel */
|
|
.openDetailLink {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--amber);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
padding: 0;
|
|
font-family: var(--font-body);
|
|
transition: color 0.1s;
|
|
}
|
|
|
|
.openDetailLink:hover {
|
|
color: var(--amber-deep);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|