Files
pulse/public/assets/pages/quick.css
T
jaredandClaude Opus 5.5 ecc1b447be
CI / Lint (eslint) (pull_request) Successful in 20s
CI / Test (jest) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Successful in 2m43s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m44s
CI / UI (playwright) (pull_request) Successful in 2m35s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 1m54s
Readable command output: ANSI stripped, Copy / Wrap / Expand / .txt (#27)
A shared output block (Pulse.output.render) now draws every command
output in Executions and Quick Command:
- ANSI escape codes (colours, cursor moves, titles, charset switches)
  are stripped, so systemctl, ls --color and docker read cleanly.
- Copy and .txt use the full, clean text; .txt downloads it as a file.
- Wrap turns long-line wrapping on or off for every block, remembered.
- Output over 25 lines starts at 24rem high with an Expand button.
- Over 100,000 characters, the display is cut with a notice saying how
  much is hidden; Copy and .txt still include all of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:10:52 -05:00

114 lines
2.2 KiB
CSS

/* PULSE: Quick Command page (WP-F) styles. Prefix: qc- */
.qc-mode-row {
display: flex;
gap: var(--space-lg, 1.5rem);
flex-wrap: wrap;
}
.qc-radio-label {
display: inline-flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}
.qc-worker-list {
background: var(--bg-primary);
border: 1px solid var(--border-color);
padding: 0.75rem;
max-height: 220px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.qc-worker-row {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.5rem;
cursor: pointer;
border: 1px solid transparent;
}
.qc-worker-row--online {
background: rgba(0, 255, 136, 0.05);
}
.qc-worker-actions {
margin-top: 0.6rem;
}
.qc-result {
margin-top: 1.25rem;
}
.qc-scroll-list {
max-height: 400px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.qc-list-item {
cursor: pointer;
padding: 0.75rem;
background: var(--bg-primary);
border: 1px solid var(--border-dim, var(--border-color));
border-left: 3px solid var(--accent-green);
transition: var(--transition-fast, background 0.15s);
}
.qc-list-item:hover {
background: rgba(0, 212, 255, 0.06);
}
.qc-list-item-title {
color: var(--accent-green);
font-weight: 700;
margin-bottom: 0.25rem;
}
.qc-list-item-code {
font-family: var(--font-mono);
font-size: 0.85em;
color: var(--accent-amber);
margin-bottom: 0.25rem;
}
.qc-list-item-meta {
color: var(--text-muted);
font-size: 0.85em;
}
/* Results under the form, one card per worker (#5). */
.qc-run-summary {
font-size: 0.75rem;
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.qc-run {
border: 1px solid var(--border-dim, var(--border-color));
background: var(--bg-primary);
padding: 0.6rem 0.75rem;
margin-bottom: 0.6rem;
min-width: 0;
}
.qc-run-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.4rem 0.75rem;
}
.qc-run-time { color: var(--text-muted); font-size: 0.75rem; }
.qc-run-link { margin-left: auto; font-size: 0.75rem; }
.qc-out-err {
color: var(--accent-red);
border-left-color: var(--accent-red);
text-shadow: none;
}
.qc-out-note { color: var(--text-muted); font-size: 0.72rem; margin-top: 0.4rem; }