Moved edit pencil and save/cancel actions to sit right after the last badge field instead of at the start or far right of the config bar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
459 lines
8.0 KiB
CSS
459 lines
8.0 KiB
CSS
/* Scrollable content area */
|
|
.content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px 24px 40px;
|
|
min-width: 0;
|
|
background: var(--bg-body);
|
|
}
|
|
|
|
/* Stat strip */
|
|
.statStrip {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Stat breakdown with colored dots */
|
|
.breakdown {
|
|
display: flex;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.bpLive { color: var(--success); display: inline-flex; align-items: center; gap: 3px; }
|
|
.bpStale { color: var(--warning); display: inline-flex; align-items: center; gap: 3px; }
|
|
.bpDead { color: var(--error); display: inline-flex; align-items: center; gap: 3px; }
|
|
|
|
.routesSuccess { color: var(--success); }
|
|
.routesWarning { color: var(--warning); }
|
|
.routesError { color: var(--error); }
|
|
|
|
/* Application config bar */
|
|
.configBar {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 20px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 16px;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.configField {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.configLabel {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.configSelect {
|
|
padding: 5px 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-body);
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.configSelect:focus {
|
|
border-color: var(--amber);
|
|
}
|
|
|
|
.configSelect:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.configToggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.configToggle input {
|
|
accent-color: var(--amber);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.configEditBtn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-faint);
|
|
opacity: 0.75;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
padding: 4px 6px;
|
|
border-radius: var(--radius-sm);
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.configEditBtn:hover {
|
|
color: var(--text-primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
.configActions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.configSaveBtn {
|
|
padding: 4px 12px;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--amber);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.configSaveBtn:hover {
|
|
background: var(--amber-deep);
|
|
}
|
|
|
|
.configSaveBtn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.configCancelBtn {
|
|
padding: 4px 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.configCancelBtn:hover {
|
|
color: var(--text-primary);
|
|
border-color: var(--text-faint);
|
|
}
|
|
|
|
/* Section header */
|
|
.sectionTitle {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.sectionMeta {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* Group cards grid */
|
|
.groupGrid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.groupGridSingle {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Group meta row */
|
|
.groupMeta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.groupMeta strong {
|
|
font-family: var(--font-mono);
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Alert banner in group footer */
|
|
.alertBanner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: var(--error-bg);
|
|
font-size: 11px;
|
|
color: var(--error);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.alertIcon {
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Instance fields */
|
|
.instanceName {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.inspectLink:hover {
|
|
color: var(--text-primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
.instanceMeta {
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.instanceError {
|
|
color: var(--error);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.instanceHeartbeatStale {
|
|
color: var(--warning);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.instanceHeartbeatDead {
|
|
color: var(--error);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Detail panel content */
|
|
.detailContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.detailRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 12px;
|
|
font-family: var(--font-body);
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.detailLabel {
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.detailProgress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 140px;
|
|
}
|
|
|
|
.chartPanel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.chartTitle {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.emptyChart {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 80px;
|
|
background: var(--bg-surface-raised);
|
|
border: 1px dashed var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Log + Timeline side by side */
|
|
.bottomRow {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Log viewer */
|
|
.logCard {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 420px;
|
|
}
|
|
|
|
.logHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.logToolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
background: var(--bg-surface);
|
|
}
|
|
|
|
.logSearchWrap {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.logSearchInput {
|
|
width: 100%;
|
|
padding: 5px 28px 5px 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-body);
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
font-family: var(--font-body);
|
|
outline: none;
|
|
}
|
|
|
|
.logSearchInput:focus {
|
|
border-color: var(--amber);
|
|
}
|
|
|
|
.logSearchInput::placeholder {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.logSearchClear {
|
|
position: absolute;
|
|
right: 4px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
padding: 0 4px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.logClearFilters {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
padding: 2px 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.logClearFilters:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.logEmpty {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Event card (timeline panel) */
|
|
.eventCard {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 420px;
|
|
}
|
|
|
|
.eventCardHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.headerActions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.sortBtn,
|
|
.refreshBtn {
|
|
background: none;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
padding: 2px 6px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sortBtn:hover,
|
|
.refreshBtn:hover {
|
|
color: var(--text-primary);
|
|
border-color: var(--amber);
|
|
}
|