Files
task_pilot/frontend/src/App.css
T
CNWei 773196d689 style(frontend): 对齐 Alright 主题并接入离线字体
- 主题色板、圆角、阴影与 0.3s 缓动对齐参考站点,布局与尺寸不变
- index.html 预加载本地字体,index.css 定义 LXGW WenKai / Outfit-Medium
- 新增断网渲染端到端用例与 ADR-0006
2026-10-26 00:38:15 +08:00

1465 lines
24 KiB
CSS

.app-shell {
width: min(1040px, calc(100% - 48px));
margin: 0 auto;
padding: 48px 0;
}
.dashboard-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
margin-bottom: 32px;
}
.eyebrow,
.section-label {
margin: 0 0 10px;
color: var(--text-secondary);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.14em;
}
h1,
h2,
h3,
p {
margin-top: 0;
}
h1 {
margin-bottom: 6px;
font-size: 26px;
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.03em;
}
h2 {
margin-bottom: 8px;
font-size: 22px;
letter-spacing: -0.025em;
}
h3 {
margin-bottom: 0;
font-size: 17px;
letter-spacing: -0.02em;
}
.subtitle {
margin-bottom: 0;
color: var(--text-secondary);
font-size: 13px;
line-height: 1.5;
}
.header-actions {
display: flex;
align-items: center;
gap: 8px;
}
.connection-pill {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 40px;
border: 1px solid var(--success-border);
border-radius: 999px;
padding: 0 14px;
background: var(--success-bg);
color: var(--success);
font-size: 13px;
font-weight: 600;
}
.connection-pill .status-dot {
background: currentColor;
}
.connection-pill.is-offline {
border-color: var(--danger-border);
background: var(--danger-bg);
color: var(--danger);
}
.button {
display: inline-flex;
min-height: 36px;
align-items: center;
justify-content: center;
border: 1px solid transparent;
border-radius: var(--radius-sm);
padding: 8px 16px;
font-size: 13px;
font-weight: 500;
text-decoration: none;
transition:
background-color var(--transition-base),
border-color var(--transition-base),
color var(--transition-base),
transform var(--transition-base),
opacity var(--transition-base);
}
.button:hover:not(:disabled) {
transform: translateY(-1px);
}
.button:disabled {
cursor: not-allowed;
opacity: 0.48;
}
.button-primary {
background: var(--primary);
color: #fff;
}
.button-primary:hover:not(:disabled) {
background: var(--primary);
opacity: 0.85;
}
.button-secondary {
border-color: var(--border);
background: var(--surface);
color: var(--text);
}
.button-secondary:hover:not(:disabled) {
border-color: var(--text-light);
background: var(--surface-muted);
}
.button-danger {
background: var(--danger);
color: #fff;
}
.button-danger:hover:not(:disabled) {
background: var(--danger);
opacity: 0.85;
}
.button-ghost {
border-color: transparent;
background: transparent;
}
.button-small {
min-height: 28px;
border-radius: 6px;
padding: 5px 11px;
font-size: 12px;
}
.text-button {
border: 0;
padding: 3px;
background: transparent;
color: var(--text-secondary);
font-size: 12px;
text-decoration: underline;
text-underline-offset: 3px;
}
.text-button:hover {
color: var(--primary);
}
.danger-text {
color: var(--danger) !important;
}
.toast-message {
position: fixed;
z-index: 80;
right: 24px;
bottom: 24px;
max-width: min(420px, calc(100vw - 48px));
border: 1px solid var(--theme-secondary);
border-radius: 12px;
padding: 14px 18px;
background: var(--theme-dark);
color: #fff;
box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
font-size: 13px;
animation: toast-in 180ms ease-out;
}
@keyframes toast-in {
from {
opacity: 0;
transform: translateY(8px);
}
}
.inline-alert {
border: 1px solid var(--border);
border-radius: 11px;
padding: 12px 14px;
background: var(--surface-muted);
color: var(--text-secondary);
font-size: 13px;
line-height: 1.6;
}
.inline-alert-error {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
border-color: var(--danger-border);
background: var(--danger-bg);
color: var(--danger);
}
.page-alert {
margin-bottom: 18px;
}
.metrics-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
margin-bottom: 28px;
}
.metric-card {
min-width: 0;
min-height: 0;
border: 1px solid var(--border);
border-radius: 12px;
padding: 20px;
background: var(--surface);
box-shadow: var(--shadow-sm);
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}
.metric-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-card);
}
.metric-card > span {
color: var(--text-secondary);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.02em;
}
.metric-card > strong {
overflow: hidden;
display: block;
margin-top: 8px;
font-family: var(--font-display);
font-size: 26px;
font-weight: 500;
letter-spacing: -0.03em;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.metric-card > small {
display: none;
}
.metric-danger {
color: var(--danger);
}
.card {
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: var(--shadow);
}
.toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
border-bottom: 1px solid var(--border);
padding: 12px 18px;
background: var(--surface-muted);
}
.search-form {
display: flex;
min-width: min(430px, 48vw);
gap: 8px;
}
.search-form .button {
flex: none;
min-width: 68px;
white-space: nowrap;
}
.filter-row {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
}
.search-input {
width: 100%;
}
.field-input {
width: 100%;
min-height: 38px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
outline: 0;
padding: 8px 12px;
font-size: 13px;
background: var(--surface);
color: var(--text);
transition:
border-color var(--transition-base),
box-shadow var(--transition-base);
}
.field-input:hover {
border-color: var(--text-light);
}
.field-input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--theme-primary-soft);
}
.field-input:disabled {
background: var(--surface-muted);
color: var(--text-tertiary);
}
.compact-select {
min-width: 112px;
padding-right: 30px;
font-size: 12px;
}
.mono,
code {
font-family: var(--font-mono);
}
code {
display: inline-block;
border: 1px solid var(--border);
border-radius: 6px;
padding: 3px 8px;
background: var(--badge-bg);
color: var(--theme-secondary);
font-size: 12px;
}
.table-container {
width: 100%;
overflow-x: auto;
}
.task-table {
width: 100%;
min-width: 980px;
border-collapse: collapse;
text-align: left;
}
.task-table th {
padding: 14px 12px;
background: var(--surface-muted);
color: var(--text-tertiary);
font-family: var(--font-sans);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
white-space: nowrap;
}
.task-table td {
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 16px 12px;
font-size: 14px;
vertical-align: middle;
}
.task-table tbody tr {
transition: background-color var(--transition-base);
}
.task-table tbody tr:hover {
background: var(--surface-muted);
}
.task-name {
max-width: 240px;
overflow: hidden;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
}
.task-id {
margin-top: 2px;
color: var(--text-tertiary);
font-size: 12px;
}
.cell-note {
margin-top: 4px;
color: var(--text-tertiary);
font-size: 11px;
white-space: nowrap;
}
.align-right {
text-align: right !important;
}
.row-actions {
display: flex;
justify-content: flex-end;
gap: 4px;
white-space: nowrap;
}
.row-actions .button-small {
padding-right: 8px;
padding-left: 8px;
}
.type-badge {
display: inline-flex;
padding: 0;
background: transparent;
color: var(--text-muted);
font-size: 12px;
font-weight: 400;
}
.status-badge {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 999px;
padding: 4px 10px;
background: var(--badge-bg);
color: var(--text-muted);
font-size: 12px;
font-weight: 500;
white-space: nowrap;
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: currentColor;
}
.status-enabled,
.status-succeeded {
background: var(--success-bg);
color: #2b8a63;
}
.status-disabled,
.status-cancelled,
.status-skipped {
background: var(--badge-bg);
color: var(--text-muted);
}
.status-queued {
background: var(--primary-soft);
color: var(--primary);
}
.status-running {
background: var(--warning-bg);
color: var(--warning);
}
.status-running .status-dot {
animation: pulse 1.2s ease-in-out infinite;
}
.status-failed,
.status-timed_out {
background: var(--danger-bg);
color: var(--danger);
}
@keyframes pulse {
50% {
opacity: 0.3;
transform: scale(0.7);
}
}
.state-panel {
display: flex;
min-height: 280px;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 40px 24px;
text-align: center;
}
.state-panel h2 {
margin-bottom: 8px;
}
.state-panel p {
max-width: 480px;
color: var(--text-secondary);
line-height: 1.7;
}
.state-error h2 {
color: var(--danger);
}
.loading-mark {
width: 26px;
height: 26px;
margin-bottom: 14px;
border: 2px solid var(--border);
border-top-color: var(--text);
border-radius: 50%;
animation: spin 700ms linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.pagination {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid var(--border);
padding: 14px 20px;
color: var(--text-secondary);
font-size: 12px;
}
.pagination > div {
display: flex;
gap: 6px;
}
.modal-overlay {
position: fixed;
z-index: 100;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(17, 24, 39, 0.25);
backdrop-filter: blur(8px);
animation: overlay-in 150ms ease-out;
}
@keyframes overlay-in {
from {
opacity: 0;
}
}
.modal-card,
.confirm-card {
width: min(660px, 100%);
max-height: calc(100vh - 48px);
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--shadow-modal);
animation: modal-in 180ms ease-out;
}
@keyframes modal-in {
from {
opacity: 0;
transform: translateY(10px) scale(0.985);
}
}
.task-editor {
display: flex;
flex-direction: column;
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
border-bottom: 1px solid var(--border);
padding: 20px 28px;
}
.modal-header h2 {
margin-bottom: 0;
font-size: 16px;
font-weight: 700;
letter-spacing: -0.02em;
}
.icon-button {
display: inline-flex;
width: 30px;
height: 30px;
flex: none;
align-items: center;
justify-content: center;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--text-secondary);
font-size: 20px;
line-height: 1;
}
.icon-button:hover:not(:disabled) {
background: var(--surface-muted);
color: var(--text);
}
.modal-body {
overflow-y: auto;
padding: 24px 28px;
max-height: 75vh;
}
.task-editor .modal-body {
min-height: 0;
flex: 1;
max-height: none;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin-bottom: 16px;
}
.form-grid-three {
grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.7fr);
}
.form-grid-single {
grid-template-columns: 1fr;
}
.cron-header-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.cron-n-selector {
display: flex;
align-items: center;
gap: 6px;
color: var(--text-secondary);
font-size: 12px;
}
.cron-n-selector select {
border: 1px solid var(--border);
border-radius: 4px;
padding: 2px 6px;
background: #fff;
color: var(--text);
font: inherit;
}
.cron-preview-box {
display: flex;
max-height: 160px;
flex-direction: column;
gap: 6px;
overflow-y: auto;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 10px 12px;
background: var(--surface-muted);
}
.cron-run-item {
display: flex;
align-items: center;
gap: 8px;
color: var(--theme-secondary);
font-family: var(--font-mono);
font-size: 12px;
}
.cron-run-index {
width: 28px;
color: var(--text-secondary);
font-size: 11px;
text-align: right;
}
.cron-run-time {
border: 1px solid var(--border);
border-radius: 4px;
padding: 2px 8px;
background: #fff;
color: var(--text);
font-weight: 500;
}
.cron-preview-message,
.cron-preview-error {
color: var(--text-secondary);
font-size: 12px;
}
.cron-preview-error {
color: var(--danger);
}
.field {
display: flex;
min-width: 0;
flex-direction: column;
gap: 7px;
}
.field-label {
color: var(--theme-secondary);
font-size: 13px;
font-weight: 600;
}
.field-hint,
.field-error {
font-size: 11px;
line-height: 1.5;
}
.field-hint {
color: var(--text-tertiary);
}
.field-error {
color: var(--danger);
}
.field-with-action {
display: flex;
align-items: center;
gap: 8px;
}
.field-with-action .field-input {
min-width: 0;
flex: 1;
}
.pick-directory-button {
flex-shrink: 0;
min-height: 38px;
padding: 8px 14px;
white-space: nowrap;
}
.env-detector-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px 12px;
margin-top: -1px;
padding: 8px 12px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--surface);
font-size: 12px;
}
.env-status-badge {
display: inline-flex;
min-width: 0;
align-items: center;
gap: 6px;
color: var(--text-secondary);
font-weight: 500;
}
.env-status-badge.ok {
color: var(--success);
}
.env-status-badge.warn {
color: var(--warning);
}
.env-status-badge.pending {
color: var(--text-tertiary);
}
.env-status-badge code {
overflow: hidden;
padding: 1px 6px;
border-radius: 4px;
background: var(--badge-bg);
color: var(--text-main);
font-family: var(--font-mono);
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.env-detector-hint {
flex-shrink: 0;
color: var(--text-tertiary);
font-size: 11px;
}
.field-input[aria-invalid='true'] {
border-color: rgba(255, 62, 62, 0.55);
background: rgba(255, 62, 62, 0.04);
}
.field-textarea {
min-height: 104px;
resize: vertical;
}
.checkbox-field {
display: flex;
align-items: center;
align-self: end;
gap: 11px;
min-height: 48px;
border: 1px solid var(--border);
border: 0;
border-radius: var(--radius-sm);
padding: 8px 0;
background: transparent;
cursor: pointer;
margin-top: 6px;
}
.checkbox-field input {
width: 16px;
height: 16px;
accent-color: var(--text);
}
.checkbox-field span {
display: flex;
flex-direction: column;
gap: 2px;
}
.checkbox-field strong {
font-size: 12px;
}
.checkbox-field small,
.collection-header small {
color: var(--text-tertiary);
font-size: 10px;
}
.dynamic-fields {
margin: 22px 0 0;
border: 1px solid var(--border);
border-radius: 12px;
padding: 20px;
background: var(--surface-muted);
}
.collection-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin: 18px 0 10px;
}
.collection-header > div {
display: flex;
flex-direction: column;
gap: 3px;
}
.collection-header strong {
font-size: 12px;
}
.collection-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.argument-row,
.key-value-row {
display: grid;
align-items: center;
gap: 8px;
}
.argument-row {
grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
}
.key-value-row {
grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
}
.empty-inline {
margin: 0;
color: var(--text-tertiary);
font-size: 12px;
}
.cli-preview {
margin-top: 18px;
border-radius: var(--radius-sm);
padding: 14px 18px;
background: var(--theme-dark);
}
.cli-preview-header {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
padding-bottom: 6px;
color: var(--text-tertiary);
font-size: 11px;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.cli-preview-body {
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.6;
}
.cli-line-env {
margin-bottom: 4px;
color: var(--text-tertiary);
}
.cli-line-cmd {
color: var(--success);
font-weight: 500;
overflow-wrap: anywhere;
}
.modal-footer {
display: flex;
justify-content: flex-end;
gap: 8px;
border-top: 1px solid var(--border);
padding: 16px 28px;
background: var(--surface-muted);
}
.confirm-card {
width: min(440px, 100%);
padding: 28px;
}
.confirm-card .eyebrow {
margin-bottom: 12px;
}
.muted-copy {
color: var(--text-secondary);
line-height: 1.7;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 24px;
}
.directory-picker {
display: flex;
width: min(760px, 100%);
flex-direction: column;
}
.directory-picker-toolbar {
display: flex;
align-items: center;
gap: 8px;
border-bottom: 1px solid var(--border);
padding: 14px 24px;
}
.directory-path-form {
display: flex;
min-width: 0;
flex: 1;
}
.directory-picker-body {
max-height: 46vh;
min-height: 220px;
flex: 1;
overflow-y: auto;
padding: 12px 16px 16px;
}
.directory-list {
display: flex;
margin: 0;
padding: 0;
flex-direction: column;
gap: 2px;
list-style: none;
}
.directory-row {
display: flex;
width: 100%;
align-items: center;
gap: 10px;
border: 0;
border-radius: var(--radius-sm);
padding: 8px 10px;
background: transparent;
color: var(--text);
cursor: pointer;
font-size: 13px;
text-align: left;
}
.directory-row:hover {
background: var(--surface-muted);
}
.directory-row:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 1px;
}
.directory-icon {
flex-shrink: 0;
font-size: 13px;
}
.directory-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.directory-picker-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
border-top: 1px solid var(--border);
padding: 14px 24px;
background: var(--surface-muted);
}
.directory-picker-summary {
display: flex;
min-width: 0;
flex-direction: column;
gap: 4px;
}
.directory-picker-summary code {
overflow: hidden;
color: var(--text-secondary);
font-family: var(--font-mono);
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.directory-picker-actions {
margin-top: 0;
}
.drawer-overlay {
align-items: center;
justify-content: center;
padding: 24px;
}
.run-drawer {
display: flex;
width: min(1040px, 100%);
height: min(82vh, 820px);
flex-direction: column;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--surface);
box-shadow: var(--shadow-modal);
animation: drawer-in 220ms ease-out;
}
@keyframes drawer-in {
from {
transform: translateY(8px) scale(0.985);
opacity: 0;
}
}
.run-drawer .modal-header {
flex: none;
}
.drawer-subtitle {
margin: 4px 0 0;
color: var(--text-tertiary);
font-size: 11px;
}
.run-drawer-body {
display: grid;
min-height: 0;
flex: 1;
grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.7fr);
}
.run-history-panel,
.run-detail-panel {
min-width: 0;
overflow-y: auto;
padding: 22px;
}
.run-history-panel {
border-right: 1px solid var(--border);
background: var(--surface-muted);
}
.section-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 16px;
}
.section-heading .section-label {
margin-bottom: 5px;
}
.run-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.history-filters {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 7px;
margin-bottom: 12px;
}
.run-detail-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 7px;
flex-wrap: wrap;
}
.run-list-item {
display: flex;
width: 100%;
flex-direction: column;
gap: 8px;
border: 1px solid transparent;
border-radius: 12px;
padding: 12px;
background: transparent;
color: var(--text);
text-align: left;
}
.run-list-item:hover {
background: var(--surface);
}
.run-list-item.is-selected {
border-color: var(--primary);
background: var(--primary-soft);
box-shadow: 0 4px 18px rgba(27, 26, 49, 0.06);
}
.run-list-main {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
font-size: 12px;
font-weight: 600;
}
.run-list-meta {
color: var(--text-tertiary);
font-size: 10px;
line-height: 1.5;
}
.run-metadata {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin: 0 0 18px;
}
.run-metadata > div {
border: 1px solid var(--border);
border-radius: 11px;
padding: 11px;
background: var(--surface-muted);
}
.run-metadata dt {
margin-bottom: 5px;
color: var(--text-tertiary);
font-size: 10px;
}
.run-metadata dd {
overflow-wrap: anywhere;
margin: 0;
font-family: var(--font-mono);
font-size: 11px;
}
.run-error-metadata {
grid-column: 1 / -1;
border-color: var(--danger-border) !important;
background: var(--danger-bg) !important;
color: var(--danger);
}
.log-viewer-wrap {
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
background: var(--theme-dark);
}
.log-viewer-header {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
padding: 10px 14px;
color: var(--text-tertiary);
font-family: var(--font-mono);
font-size: 10px;
}
.log-streaming {
color: var(--warning);
}
.log-complete {
color: var(--success);
}
.log-viewer {
min-height: 340px;
max-height: calc(100vh - 410px);
overflow: auto;
margin: 0;
padding: 16px;
color: var(--text-light);
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.65;
white-space: pre-wrap;
word-break: break-word;
}
.log-viewer-wrap .inline-alert {
margin: 10px;
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
}
@media (max-width: 1040px) {
.metrics-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.toolbar {
align-items: stretch;
flex-direction: column;
}
.search-form {
width: 100%;
min-width: 0;
}
.filter-row {
justify-content: flex-start;
flex-wrap: wrap;
}
.run-drawer {
width: 100%;
}
.run-drawer-body {
grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
}
}
@media (max-width: 760px) {
.app-shell {
width: min(100% - 24px, 1040px);
padding: 24px 0 40px;
}
.dashboard-header,
.header-actions {
align-items: stretch;
flex-direction: column;
}
.header-actions {
gap: 8px;
}
.connection-pill {
align-self: flex-start;
}
.metrics-grid {
grid-template-columns: 1fr;
}
.metric-card {
min-height: 0;
}
.search-form {
flex-direction: column;
}
.filter-row {
align-items: stretch;
}
.filter-row label {
flex: 1;
}
.compact-select {
width: 100%;
}
.pagination {
align-items: flex-start;
flex-direction: column;
gap: 12px;
}
.modal-overlay {
padding: 0;
}
.modal-card,
.confirm-card {
width: 100%;
max-height: 100vh;
border-radius: 0;
}
.modal-body {
padding: 18px;
}
.modal-footer {
padding: 16px 18px;
}
.form-grid,
.form-grid-three {
grid-template-columns: 1fr;
}
.key-value-row,
.argument-row {
grid-template-columns: 1fr;
}
.run-drawer-body {
display: flex;
overflow-y: auto;
flex-direction: column;
}
.run-history-panel,
.run-detail-panel {
overflow: visible;
}
.run-history-panel {
border-right: 0;
border-bottom: 1px solid var(--border);
}
.run-metadata {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.log-viewer {
min-height: 260px;
max-height: none;
}
.run-drawer {
height: 100%;
border-radius: 0;
}
}