Full-stack implementation: FastAPI backend with PAM auth, WebSocket stats/terminal, and vanilla JS frontend with tiling desktop shell. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
140 lines
3 KiB
CSS
140 lines
3 KiB
CSS
/* Task Manager app styles */
|
|
.app-tasks {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.tasks-summary {
|
|
display: flex;
|
|
gap: 16px;
|
|
padding: 12px 16px;
|
|
background: var(--bg-titlebar);
|
|
border-bottom: 1px solid var(--border-structural);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tasks-summary-item {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tasks-summary-label {
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.tasks-summary-value {
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.tasks-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--border-structural);
|
|
min-height: 44px;
|
|
}
|
|
|
|
.tasks-search {
|
|
flex: 1;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-structural);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
outline: none;
|
|
}
|
|
|
|
.tasks-search:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.tasks-search::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.tasks-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.tasks-header {
|
|
display: grid;
|
|
grid-template-columns: 70px 1fr 90px 70px 70px 70px 50px;
|
|
padding: 0 16px;
|
|
height: 32px;
|
|
align-items: center;
|
|
background: var(--bg-dock);
|
|
border-bottom: 1px solid var(--border-structural);
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
letter-spacing: 0.5px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tasks-header span:hover {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tasks-header span.sorted {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.proc-row {
|
|
display: grid;
|
|
grid-template-columns: 70px 1fr 90px 70px 70px 70px 50px;
|
|
padding: 0 16px;
|
|
min-height: 44px;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border-structural);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.proc-row:hover {
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
.proc-pid { color: var(--text-secondary); }
|
|
.proc-name { color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.proc-user { color: var(--text-secondary); }
|
|
.proc-cpu { color: var(--text-primary); text-align: right; }
|
|
.proc-mem { color: var(--text-primary); text-align: right; }
|
|
.proc-status { color: var(--text-secondary); font-size: 11px; }
|
|
|
|
.proc-kill {
|
|
width: 28px;
|
|
height: 28px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.proc-kill:hover {
|
|
background: rgba(224, 90, 74, 0.15);
|
|
color: var(--status-red);
|
|
}
|