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>
93 lines
1.7 KiB
CSS
93 lines
1.7 KiB
CSS
/* Terminal app styles */
|
|
.app-terminal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.terminal-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: var(--bg-titlebar);
|
|
border-bottom: 1px solid var(--border-structural);
|
|
min-height: 36px;
|
|
}
|
|
|
|
.terminal-tabs {
|
|
display: flex;
|
|
gap: 2px;
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.terminal-tab {
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.terminal-tab.active {
|
|
background: var(--bg-stage);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.terminal-tab-close {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.terminal-tab-close:hover {
|
|
background: var(--status-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.terminal-new-tab,
|
|
.terminal-kbd-toggle {
|
|
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: 16px;
|
|
}
|
|
|
|
.terminal-new-tab:hover,
|
|
.terminal-kbd-toggle:hover {
|
|
background: var(--accent-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.terminal-kbd-toggle.active {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.terminal-container {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.terminal-container .xterm {
|
|
height: 100%;
|
|
padding: 4px;
|
|
}
|