atlus/frontend/css/apps/services.css
roberts f9743bb29a Initial commit — Atlus web desktop environment for SBCs
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>
2026-03-14 16:53:46 -05:00

151 lines
3 KiB
CSS

/* Service Manager app styles */
.app-services {
display: flex;
flex-direction: column;
height: 100%;
}
.services-toolbar {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: var(--bg-titlebar);
border-bottom: 1px solid var(--border-structural);
min-height: 44px;
}
.services-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;
}
.services-search:focus {
border-color: var(--accent);
}
.services-search::placeholder {
color: var(--text-muted);
}
.services-filter-btn {
height: 36px;
padding: 0 12px;
background: var(--bg-stage);
border: 1px solid var(--border-structural);
border-radius: var(--radius-md);
color: var(--text-secondary);
font-family: var(--font-ui);
font-size: 12px;
cursor: pointer;
}
.services-filter-btn.active {
background: var(--accent-dim);
color: var(--accent);
border-color: var(--accent);
}
.services-list {
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.services-header {
display: grid;
grid-template-columns: 52px 1fr 80px 80px 60px;
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;
}
.service-row {
display: grid;
grid-template-columns: 52px 1fr 80px 80px 60px;
padding: 0 16px;
min-height: 52px;
align-items: center;
border-bottom: 1px solid var(--border-structural);
}
.svc-toggle {
justify-self: center;
}
.svc-name {
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.svc-desc {
font-family: var(--font-ui);
font-size: 11px;
color: var(--text-muted);
margin-top: 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.svc-state {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 500;
}
.svc-state.active { color: var(--status-green); }
.svc-state.inactive { color: var(--text-muted); }
.svc-state.failed { color: var(--status-red); }
.svc-sub {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
}
.svc-actions {
display: flex;
gap: 4px;
}
.svc-action-btn {
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;
}
.svc-action-btn:hover {
background: var(--accent-hover);
color: var(--accent);
}