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

180 lines
2.8 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;
background: var(--bg-body);
}
/* Table section — stretches to fill and scrolls internally */
.tableSection {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
background: var(--bg-surface);
overflow: hidden;
}
.tableScroll {
flex: 1;
min-height: 0;
overflow-y: auto;
}
.tableHeader {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
border-bottom: 1px solid var(--border-subtle);
}
.tableTitle {
display: flex;
align-items: center;
gap: 4px;
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.clearSearch {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
margin-left: 4px;
border: none;
background: var(--bg-hover, #F5F0EA);
color: var(--text-secondary, #5C5347);
border-radius: 50%;
cursor: pointer;
padding: 0;
}
.clearSearch:hover {
background: var(--border, #E4DFD8);
color: var(--text-primary, #1A1612);
}
.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;
}
/* Attributes cell in table */
.attrCell {
display: flex;
gap: 4px;
align-items: center;
}
.attrOverflow {
font-size: 10px;
color: var(--text-muted);
}
.muted {
color: var(--text-muted);
}