Files
cameleer-server/ui/src/pages/Dashboard/Dashboard.module.css

142 lines
2.3 KiB
CSS
Raw Normal View History

/* Scrollable content area — fills remaining height */
.content {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
min-width: 0;
overflow: hidden;
background: var(--bg-body);
}
.clearSearch {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
margin-left: 4px;
border: none;
background: var(--bg-hover);
color: var(--text-secondary);
border-radius: 50%;
cursor: pointer;
padding: 0;
}
.clearSearch:hover {
background: var(--border);
color: var(--text-primary);
}
/* Table card must fill remaining height and allow DataTable to scroll internally */
.tableWrap {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
/* 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: 12px;
color: var(--text-secondary);
}
.agentDot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--success);
box-shadow: 0 0 4px color-mix(in srgb, var(--success) 40%, transparent);
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: 12px;
color: var(--error);
font-family: var(--font-mono);
line-height: 1.4;
}
.inlineErrorHint {
font-size: 12px;
color: var(--text-muted);
margin-top: 3px;
}
/* Attributes cell in table */
.attrCell {
display: flex;
gap: 4px;
align-items: center;
}
.attrOverflow {
font-size: 12px;
color: var(--text-muted);
}
.muted {
color: var(--text-muted);
}