468 lines
8.0 KiB
CSS
468 lines
8.0 KiB
CSS
.config-panel {
|
|
width: 100%;
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.config-panel-title {
|
|
text-align: center;
|
|
margin-bottom: 24px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.config-title-eyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 10px;
|
|
padding: 4px 12px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--border);
|
|
background: var(--surface-raised);
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.config-panel-title h1 {
|
|
font-size: 32px;
|
|
line-height: 1.1;
|
|
font-weight: 800;
|
|
color: var(--accent);
|
|
letter-spacing: 1px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.config-panel-title p {
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.config-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.config-task-section,
|
|
.config-card,
|
|
.config-advanced-section {
|
|
background: var(--surface-raised);
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.config-task-section {
|
|
padding: 24px;
|
|
}
|
|
|
|
.config-task-section label {
|
|
display: block;
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.config-task-textarea,
|
|
.config-textarea,
|
|
.config-input,
|
|
.config-json-editor {
|
|
width: 100%;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
color: var(--text);
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
outline: none;
|
|
box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
|
|
transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
|
|
}
|
|
|
|
.config-task-textarea,
|
|
.config-textarea,
|
|
.config-json-editor {
|
|
padding: 14px 16px;
|
|
resize: vertical;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.config-task-textarea {
|
|
min-height: 150px;
|
|
}
|
|
|
|
.config-textarea {
|
|
min-height: 108px;
|
|
}
|
|
|
|
.config-textarea-sm {
|
|
min-height: 78px;
|
|
}
|
|
|
|
.config-input {
|
|
padding: 11px 13px;
|
|
}
|
|
|
|
.config-json-editor {
|
|
min-height: 320px;
|
|
font-family: 'SFMono-Regular', Consolas, monospace;
|
|
}
|
|
|
|
.config-task-textarea:focus,
|
|
.config-textarea:focus,
|
|
.config-input:focus,
|
|
.config-json-editor:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
background: var(--surface-raised);
|
|
}
|
|
|
|
.config-submit-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
justify-content: flex-end;
|
|
margin-top: 18px;
|
|
flex-wrap: wrap;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.config-mode-switch {
|
|
display: inline-flex;
|
|
background: color-mix(in srgb, var(--surface) 96%, var(--accent) 4%);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
padding: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.config-mode-option {
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
border: none;
|
|
border-radius: 9px;
|
|
padding: 8px 14px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.config-mode-option.active {
|
|
background: var(--accent);
|
|
color: var(--button-text);
|
|
box-shadow: 0 8px 18px var(--accent-soft-strong);
|
|
}
|
|
|
|
.config-mode-option:not(.active):hover:not(:disabled) {
|
|
background: var(--surface-hover-strong);
|
|
color: var(--text);
|
|
}
|
|
|
|
.config-run-mode-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(260px, 1fr) auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.config-run-mode-row .config-field-hint {
|
|
margin-top: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.config-mode-hint {
|
|
padding: 8px 12px;
|
|
border-radius: 10px;
|
|
background: var(--surface-hover);
|
|
}
|
|
|
|
.config-scenario-button {
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.config-run-options-row {
|
|
display: grid;
|
|
grid-template-columns: 80px minmax(120px, 1fr) minmax(260px, 1.2fr);
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.config-run-options-row label {
|
|
margin-bottom: 0;
|
|
min-width: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.config-number-input {
|
|
width: 100%;
|
|
max-width: 96px;
|
|
}
|
|
|
|
.config-run-options-row .config-field-hint {
|
|
margin-top: 0;
|
|
min-width: 0;
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.btn-start {
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-hover));
|
|
color: var(--button-text);
|
|
font-weight: 800;
|
|
font-size: 14px;
|
|
padding: 11px 30px;
|
|
border-radius: 12px;
|
|
letter-spacing: 0.3px;
|
|
box-shadow: 0 12px 26px var(--accent-soft-strong);
|
|
}
|
|
|
|
.btn-start:hover:not(:disabled) {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.config-card-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.config-card {
|
|
padding: 22px 24px;
|
|
}
|
|
|
|
.config-card-header {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.config-card-header h3 {
|
|
font-size: 18px;
|
|
color: var(--text);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.config-card-header p {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.config-field {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.config-field:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.config-field label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
margin-bottom: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.config-field-hint {
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.config-task-textarea::placeholder,
|
|
.config-textarea::placeholder,
|
|
.config-input::placeholder,
|
|
.config-json-editor::placeholder {
|
|
color: color-mix(in srgb, var(--text-muted) 72%, transparent);
|
|
}
|
|
|
|
.config-fixed-mode {
|
|
margin-right: auto;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.config-agents,
|
|
.config-report-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.config-agent-card,
|
|
.config-report-card {
|
|
background: var(--surface-hover);
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.config-agents.readonly,
|
|
.config-report-grid.readonly {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.config-report-card p,
|
|
.config-agent-card p {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
line-height: 1.65;
|
|
margin: 0;
|
|
}
|
|
|
|
.config-report-card pre,
|
|
.config-readonly-block pre {
|
|
margin: 12px 0 0;
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
color: var(--text-muted);
|
|
font-family: 'SFMono-Regular', Consolas, monospace;
|
|
font-size: 11px;
|
|
line-height: 1.55;
|
|
padding: 10px;
|
|
}
|
|
|
|
.config-readonly-block {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.config-readonly-block:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.config-readonly-title {
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.config-readonly-content {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.config-readonly-meta {
|
|
margin-top: 8px !important;
|
|
color: var(--accent) !important;
|
|
}
|
|
|
|
.config-empty-detail {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
padding: 12px 0 0;
|
|
}
|
|
|
|
.config-agent-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.config-agent-head span {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.config-agent-head code {
|
|
color: var(--accent);
|
|
background: var(--accent-soft);
|
|
border-radius: 999px;
|
|
padding: 3px 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.config-subgrid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.config-advanced-section {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.config-advanced-toggle {
|
|
width: 100%;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.config-advanced-toggle:hover {
|
|
color: var(--accent);
|
|
background: var(--surface-hover);
|
|
}
|
|
|
|
.config-advanced-chevron {
|
|
margin-left: auto;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.config-advanced-chevron.open {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.config-advanced-body {
|
|
padding: 0 20px 20px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.config-task-section,
|
|
.config-card {
|
|
padding: 18px;
|
|
}
|
|
|
|
.config-run-mode-row,
|
|
.config-run-options-row {
|
|
grid-template-columns: 1fr;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.config-mode-switch {
|
|
width: 100%;
|
|
}
|
|
|
|
.config-mode-option {
|
|
flex: 1;
|
|
}
|
|
|
|
.config-scenario-button,
|
|
.config-number-input {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
|
|
.config-card-grid,
|
|
.config-agents,
|
|
.config-report-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|