Add --font-size-min: 12px token to tokens.css. Replace all 10px and 11px font-size declarations with 12px across 54 CSS module files for improved readability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
431 lines
7.8 KiB
CSS
431 lines
7.8 KiB
CSS
/* Scrollable content area */
|
|
.content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px 24px 40px;
|
|
min-width: 0;
|
|
background: var(--bg-body);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
EXCHANGE HEADER CARD
|
|
========================================================================== */
|
|
.exchangeHeader {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
padding: 16px 20px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.headerRow {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.headerLeft {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
flex: 1;
|
|
}
|
|
|
|
.exchangeId {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.exchangeRoute {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.routeLink {
|
|
color: var(--amber);
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.routeLink:hover {
|
|
color: var(--amber-deep);
|
|
}
|
|
|
|
.headerDivider {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.headerRight {
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.headerStat {
|
|
text-align: center;
|
|
}
|
|
|
|
.headerStatLabel {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.headerStatValue {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
CORRELATION CHAIN
|
|
========================================================================== */
|
|
.correlationChain {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 12px;
|
|
margin-top: 12px;
|
|
border-top: 1px solid var(--border-subtle);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.chainLabel {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.chainNode {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border-subtle);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
cursor: pointer;
|
|
background: var(--bg-surface);
|
|
color: var(--text-secondary);
|
|
transition: all 0.12s;
|
|
}
|
|
|
|
.chainNode:hover {
|
|
border-color: var(--text-faint);
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.chainNodeCurrent {
|
|
background: var(--amber-bg);
|
|
border-color: var(--amber-light);
|
|
color: var(--amber-deep);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.chainNodeSuccess {
|
|
border-left: 3px solid var(--success);
|
|
}
|
|
|
|
.chainNodeError {
|
|
border-left: 3px solid var(--error);
|
|
}
|
|
|
|
.chainNodeRunning {
|
|
border-left: 3px solid var(--running);
|
|
}
|
|
|
|
.chainNodeWarning {
|
|
border-left: 3px solid var(--warning);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
TIMELINE SECTION
|
|
========================================================================== */
|
|
.timelineSection {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
margin-bottom: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.timelineHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.timelineTitle {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.procCount {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
padding: 1px 8px;
|
|
border-radius: 10px;
|
|
background: var(--bg-inset);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.timelineToggle {
|
|
display: inline-flex;
|
|
gap: 0;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.toggleBtn {
|
|
padding: 4px 12px;
|
|
font-size: 12px;
|
|
font-family: var(--font-body);
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
color: var(--text-secondary);
|
|
transition: all 0.12s;
|
|
}
|
|
|
|
.toggleBtn:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.toggleBtnActive {
|
|
background: var(--amber);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toggleBtnActive:hover {
|
|
background: var(--amber-deep);
|
|
}
|
|
|
|
.timelineBody {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
DETAIL SPLIT (IN / OUT panels)
|
|
========================================================================== */
|
|
.detailSplit {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.detailPanel {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.detailPanelError {
|
|
border-color: var(--error-border);
|
|
}
|
|
|
|
.panelHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
background: var(--bg-raised);
|
|
gap: 8px;
|
|
}
|
|
|
|
.detailPanelError .panelHeader {
|
|
background: var(--error-bg);
|
|
border-bottom-color: var(--error-border);
|
|
}
|
|
|
|
.panelTitle {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.arrowIn {
|
|
color: var(--success);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.arrowOut {
|
|
color: var(--running);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.arrowError {
|
|
color: var(--error);
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.panelTag {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
padding: 1px 6px;
|
|
border-radius: 8px;
|
|
background: var(--bg-inset);
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.panelBody {
|
|
padding: 16px;
|
|
}
|
|
|
|
/* Headers section */
|
|
.headersSection {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.headerList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.headerKvRow {
|
|
display: grid;
|
|
grid-template-columns: 140px 1fr;
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.headerKvRow:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.headerKey {
|
|
font-family: var(--font-mono);
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.headerValue {
|
|
font-family: var(--font-mono);
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Body section */
|
|
.bodySection {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.sectionLabel {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.count {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
padding: 0 5px;
|
|
border-radius: 8px;
|
|
background: var(--bg-inset);
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
/* Error panel styles */
|
|
.errorBadgeRow {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.errorHttpBadge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
background: var(--error-bg);
|
|
color: var(--error);
|
|
border: 1px solid var(--error-border);
|
|
}
|
|
|
|
.errorMessageBox {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
background: var(--error-bg);
|
|
padding: 10px 12px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--error-border);
|
|
margin-bottom: 12px;
|
|
line-height: 1.5;
|
|
word-break: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.errorDetailGrid {
|
|
display: grid;
|
|
grid-template-columns: 120px 1fr;
|
|
gap: 4px 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.errorDetailLabel {
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.errorDetailValue {
|
|
color: var(--text-primary);
|
|
font-family: var(--font-mono);
|
|
word-break: break-all;
|
|
}
|