| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- .scheduled-jobs-page {
- display: flex;
- flex-direction: column;
- gap: 18px;
- padding-bottom: 24px;
- }
- .scheduled-jobs-page > .scheduled-jobs-head { align-items: center; margin: 0; }
- .scheduled-jobs-maint-trigger {
- display: inline-flex;
- align-items: center;
- gap: 9px;
- flex: none;
- min-height: 40px;
- padding: 0 12px;
- border: 1px solid var(--border);
- border-radius: 8px;
- background: var(--card);
- color: var(--foreground);
- font-size: var(--type-support);
- font-weight: 650;
- cursor: pointer;
- transition: color .18s, background-color .18s, border-color .18s;
- }
- .scheduled-jobs-maint-trigger > svg { flex: none; color: var(--primary); }
- .scheduled-jobs-maint-trigger:hover { border-color: var(--primary-border); background: var(--primary-soft); }
- .scheduled-jobs-maint-count {
- min-width: 22px;
- padding: 3px 5px;
- border-radius: 4px;
- background: var(--surface-subtle);
- color: var(--text-secondary);
- font: 650 var(--type-meta)/1.2 var(--font-mono);
- text-align: center;
- }
- .scheduled-jobs-overview {
- overflow: hidden;
- border: 1px solid var(--border);
- border-radius: var(--radius-card);
- background: var(--card);
- box-shadow: var(--shadow-card);
- }
- .scheduled-jobs-metrics { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
- .scheduled-jobs-metric { min-width: 0; padding: 14px clamp(12px, 1.5vw, 22px); }
- .scheduled-jobs-metric + .scheduled-jobs-metric { border-inline-start: 1px solid var(--border-subtle); }
- .scheduled-jobs-metric--lead {
- position: relative;
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding-inline-start: 70px;
- background: var(--primary-soft);
- }
- .scheduled-jobs-metric-icon {
- position: absolute;
- inset-inline-start: 16px;
- top: 50%;
- display: grid;
- place-items: center;
- width: 40px;
- height: 40px;
- transform: translateY(-50%);
- border: 1px solid var(--primary-border);
- border-radius: 8px;
- background: var(--card);
- color: var(--primary);
- }
- .scheduled-jobs-metric dt { color: var(--text-secondary); font-size: var(--type-support); }
- .scheduled-jobs-metric dd {
- margin: 5px 0 0;
- color: var(--foreground);
- font: 650 clamp(21px, 2vw, 28px)/1.16 var(--font-mono);
- font-variant-numeric: tabular-nums;
- overflow-wrap: anywhere;
- }
- .scheduled-jobs-metric dd > small { color: var(--text-secondary); font-size: .65em; }
- .scheduled-jobs-metric--lead dd { color: var(--primary); }
- .scheduled-jobs-metric dd.is-attention { color: var(--destructive); }
- .scheduled-jobs-metric dd.scheduled-jobs-metric-note, .scheduled-jobs-runtime-note {
- color: var(--muted-foreground);
- font: 400 var(--type-meta)/1.5 var(--font-sans);
- }
- .scheduled-jobs-runtime-note { margin: 0; padding: 9px 16px; border-top: 1px solid var(--border-subtle); overflow-wrap: anywhere; }
- .scheduled-jobs-source {
- display: inline-flex;
- align-items: center;
- gap: 5px;
- padding: 2px 7px;
- border: 1px solid var(--border);
- border-radius: 999px;
- background: var(--card);
- color: var(--text-secondary);
- font-weight: 400;
- }
- .scheduled-jobs-source::before { width: 6px; height: 6px; border-radius: 50%; background: var(--success); content: ""; }
- .scheduled-jobs-source[data-scheduler-source="local"]::before { background: var(--warning); }
- .scheduled-jobs-source[data-scheduler-source="disabled"]::before { background: var(--muted-foreground); }
- .scheduled-jobs-reruns { border: 1px solid var(--warning-border); border-radius: 9px; background: var(--warning-soft); color: var(--foreground); }
- .scheduled-jobs-reruns summary, .scheduled-jobs-notes summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
- .scheduled-jobs-reruns summary::-webkit-details-marker, .scheduled-jobs-notes summary::-webkit-details-marker { display: none; }
- .scheduled-jobs-reruns summary { min-height: 46px; padding: 8px 14px; font-size: var(--type-support); }
- .scheduled-jobs-reruns summary > svg:first-child { color: var(--warning); }
- .scheduled-jobs-reruns summary > span { color: var(--text-secondary); }
- .scheduled-jobs-reruns summary > svg:last-child, .scheduled-jobs-notes summary > svg { flex: none; margin-inline-start: auto; }
- .scheduled-jobs-reruns[open] summary > svg:last-child, .scheduled-jobs-notes[open] summary > svg { transform: rotate(180deg); }
- .scheduled-jobs-reruns ul { margin: 0; padding: 0 14px 5px; list-style: none; }
- .scheduled-jobs-reruns li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid var(--warning-border); font-size: var(--type-support); }
- .scheduled-jobs-reruns li > span { min-width: 0; overflow-wrap: anywhere; }
- .scheduled-jobs-reruns li small { display: block; color: var(--text-secondary); }
- .scheduled-jobs-reruns li button { flex: none; }
- .scheduled-jobs-panel { min-width: 0; }
- .scheduled-jobs-scroll-hint { margin: 0; padding: 7px 14px; border-top: 1px solid var(--border-subtle); color: var(--muted-foreground); font-size: var(--type-meta); }
- .scheduled-jobs-load-error { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 24px 14px; color: var(--destructive); font-size: var(--type-support); }
- .scheduled-jobs-load-error > p { min-width: 0; overflow-wrap: anywhere; }
- .ops-table.job-ledger { min-width: 1010px; table-layout: fixed; }
- .job-ledger th { padding-block: 10px; }
- .job-ledger th small { display: block; margin-top: 2px; font-weight: 400; }
- .job-ledger td { padding-block: 11px; white-space: normal; overflow-wrap: anywhere; }
- .job-ledger td small { margin-top: 3px; font-size: var(--type-meta); }
- .job-ledger td code { display: block; margin-top: 4px; font-size: var(--type-meta); }
- .job-task-name { color: var(--foreground); font-weight: 500; }
- .job-ledger-trigger, .job-ledger-time { color: var(--foreground); }
- .job-ledger-time { font-variant-numeric: tabular-nums; }
- .job-ledger td .job-ledger-counts { font-size: var(--type-meta); letter-spacing: 0; }
- .job-ledger-counts .is-failed { color: var(--destructive); font-weight: 700; }
- .job-ledger-actions { gap: 4px 8px; justify-content: flex-end; }
- .job-ledger th:last-child, .job-ledger td:last-child { text-align: right; }
- .job-ledger td .job-ledger-history {
- padding-inline: 8px;
- border: 1px solid var(--primary-border);
- border-radius: 6px;
- background: var(--primary-soft);
- color: var(--primary);
- white-space: nowrap;
- }
- .job-ledger td .job-ledger-history:hover { border-color: var(--primary); }
- .scheduled-jobs-page .ops-table-action.job-toggle-danger { color: var(--destructive); }
- .scheduled-jobs-page .ops-table-action.job-toggle-danger:hover { background: var(--destructive-soft); }
- .job-cell-pending, .job-cell-note { color: var(--muted-foreground); }
- .scheduled-jobs-notes { align-self: flex-start; max-width: 100%; color: var(--muted-foreground); font-size: var(--type-meta); }
- .scheduled-jobs-notes summary { width: fit-content; padding: 4px 0; font-weight: 650; }
- .scheduled-jobs-notes ul { max-width: 85ch; margin: 6px 0 0; padding-inline-start: 19px; list-style: disc; overflow-wrap: anywhere; }
- .scheduled-jobs-notes li + li { margin-top: 4px; }
- .scheduled-jobs-page :is(summary, .scheduled-jobs-maint-trigger, .job-ledger-actions button):focus-visible {
- outline: 2px solid var(--ring);
- outline-offset: 2px;
- }
- @media (max-width: 780px) {
- .scheduled-jobs-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
- .scheduled-jobs-metric--lead { grid-column: 1 / -1; border-bottom: 1px solid var(--border-subtle); }
- .scheduled-jobs-metric:nth-child(2) { border-inline-start: 0; }
- }
- @media (max-width: 560px) {
- .scheduled-jobs-page { gap: 14px; }
- .scheduled-jobs-page > .scheduled-jobs-head { align-items: flex-start; gap: 10px; }
- .scheduled-jobs-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
- .scheduled-jobs-metric:nth-child(n+4) { border-top: 1px solid var(--border-subtle); }
- .scheduled-jobs-metric:nth-child(4) { border-inline-start: 0; }
- .scheduled-jobs-metric dt { font-size: var(--type-meta); }
- }
- .job-definition-dialog {
- --job-definition-inset: clamp(14px, 3vw, 24px);
- width: min(820px, calc(100vw - 24px));
- }
- .job-definition-dialog > header div > p { font-family: var(--font-mono); overflow-wrap: anywhere; }
- .job-definition-body { display: grid; gap: 16px; padding: 18px var(--job-definition-inset); }
- .job-definition-overview {
- display: grid;
- grid-template-columns: minmax(0, .75fr) minmax(0, .85fr) minmax(0, 1.55fr);
- border: 1px solid var(--border-subtle);
- border-radius: 9px;
- background: var(--surface-subtle);
- }
- .job-definition-overview > div { min-width: 0; padding: 12px 14px; }
- .job-definition-overview > div + div { border-inline-start: 1px solid var(--border-subtle); }
- .job-definition-overview dt, .job-definition-panel dt { color: var(--muted-foreground); font-size: var(--type-support); }
- .job-definition-overview dd { margin: 6px 0 0; font-size: var(--type-support); }
- .job-definition-overview dd.job-definition-total { color: var(--primary); font: 650 20px/1.2 var(--font-mono); overflow-wrap: anywhere; }
- .job-definition-latest { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; }
- .job-definition-latest time { font-variant-numeric: tabular-nums; }
- .job-definition-sections { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
- .job-definition-panel { border: 1px solid var(--border); border-radius: 9px; }
- .job-definition-panel h3 { padding: 11px 14px; border-bottom: 1px solid var(--border-subtle); font-size: var(--type-body); font-weight: 700; }
- .job-definition-panel dl { margin: 0; padding: 0 14px; }
- .job-definition-panel dl > div { padding: 10px 0; }
- .job-definition-panel dl > div + div { border-top: 1px solid var(--border-subtle); }
- .job-definition-panel dd { margin: 3px 0 0; color: var(--foreground); font-size: var(--type-support); line-height: 1.55; overflow-wrap: anywhere; }
- .job-definition-note { color: var(--muted-foreground); font-size: var(--type-meta); }
- .job-definition-footer {
- position: sticky;
- bottom: 0;
- z-index: 1;
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-end;
- gap: 8px;
- padding: 11px var(--job-definition-inset);
- border-top: 1px solid var(--border-subtle);
- background: var(--card);
- }
- @media (max-width: 580px) {
- .job-definition-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
- .job-definition-overview > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--border-subtle); border-inline-start: 0; }
- .job-definition-sections { grid-template-columns: minmax(0, 1fr); }
- }
- .scheduled-jobs-filters .ops-search{flex:1;max-width:390px}
- .job-runs-dialog { width: min(1200px, calc(100vw - 24px)); }
- .job-runs-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
- .job-runs-dialog > header { flex: none; }
- .job-round-dialog { width: min(680px, calc(100vw - 24px)); }
- .job-runs-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px clamp(14px, 3vw, 24px) 22px; }
- .job-runs-dialog > .job-runs-body { display: flex; flex-direction: column; min-height: 0; }
- .job-runs-dialog > .job-runs-body > :not(.job-runs-list) { flex: none; }
- .job-runs-list { display: flex; flex-direction: column; min-height: 0; }
- .job-runs-table { min-height: 0; overflow: hidden auto; overscroll-behavior-y: contain; container-type: inline-size; }
- .job-runs-table:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
- .job-runs-table .ops-table { min-width: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
- .job-runs-table thead th { position: sticky; top: 0; z-index: 1; }
- .job-runs-pagination { flex: none; display: flex; justify-content: center; padding: 8px 12px; border-top: 1px solid var(--border-subtle); }
- .job-runs-table .ops-table :is(th, td) { min-width: 0; padding-inline: 9px; }
- .job-runs-table .ops-table :is(th, td):where(:first-child) { padding-inline-start: 14px; }
- .job-runs-table .ops-table :is(th, td):where(:last-child) { padding-inline-end: 14px; }
- .job-runs-table .ops-table th { white-space: normal; }
- .job-runs-table th small, .job-runs-table td small { display: block; margin-top: 3px; font-size: var(--type-meta); line-height: 1.4; }
- .job-runs-table td code { display: block; font-size: var(--type-meta); }
- .job-run-text { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
- .job-run-cell-label { display: none; }
- .job-runs-table .ops-status { max-width: 100%; }
- .job-runs-table .ops-status i { flex: none; }
- .job-runs-table .ops-table-actions { display: flex; gap: 0 3px; }
- .job-runs-table .ops-table-action { padding-inline: 4px; font-size: var(--type-meta); }
- @container (max-width: 650px) {
- .job-runs-table :is(table, tbody) { display: block; }
- .job-runs-table colgroup { display: none; }
- .job-runs-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
- .job-runs-table tbody tr {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 11px 14px;
- padding: 14px;
- }
- .job-runs-table tbody tr + tr { border-top: 1px solid var(--border-subtle); }
- .job-runs-table .ops-table td { display: block; padding: 0; border: 0; white-space: normal; }
- .job-runs-table tbody td:last-child { grid-column: 1 / -1; }
- .job-run-cell-label { display: block; margin-bottom: 4px; color: var(--muted-foreground); font-size: var(--type-meta); line-height: 1.45; }
- }
- .job-runs-body > .ops-toolbar { padding: 0; }
- .job-runs-body .scheduled-jobs-filters input[type="date"] { width: auto; min-width: 0; }
- @media (max-height: 600px) {
- .job-runs-dialog { max-height: calc(100dvh - 16px); }
- .job-runs-dialog > header { padding-block: 8px; }
- .job-runs-dialog > .job-runs-body { gap: 6px; padding-block: 8px; }
- .job-runs-dialog .ops-toolbar { gap: 6px; }
- .job-runs-pagination { padding-block: 4px; }
- }
- .job-round-table { max-height: 260px; overflow: auto; }
- .job-round-table .ops-table { min-width: 0; overflow-wrap: anywhere; }
- .job-round-actions { display: flex; justify-content: flex-end; }
- .ops-maint-dialog .ops-table-actions { gap: 4px; }
- .ops-confirm.ops-maint-dialog{display:flex;flex-direction:column;width:min(900px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;text-align:left}
- .ops-maint-dialog > .ops-maint-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 14px;border-bottom:1px solid var(--border-subtle)}
- .ops-maint-dialog .ops-maint-meta{margin:6px 0 0;color:var(--text-secondary);font-size:var(--type-support)}
- .ops-maint-close{display:grid;place-items:center;flex:none;width:28px;height:28px;border:0;border-radius:5px;background:var(--surface-subtle);color:var(--text-secondary);cursor:pointer}
- .ops-maint-close:hover{background:var(--border);color:var(--foreground)}
- .ops-maint-dialog > .ops-maint-note{margin:12px 22px 0}
- .ops-maint-dialog > .ops-maint-body{display:block;flex:1;min-height:0;overflow:auto;padding:12px 22px 4px}
- .ops-maint-table{width:100%;border-collapse:collapse;font-size:var(--type-support)}
- .ops-maint-table th{padding:8px 10px;border-bottom:1px solid var(--border);color:var(--text-secondary);font-size:var(--type-meta);font-weight:650;text-align:left;white-space:nowrap}
- .ops-maint-table td{padding:11px 10px;border-bottom:1px solid var(--border-subtle);vertical-align:top}
- .ops-maint-table tbody tr:last-child td{border-bottom:0}
- .ops-maint-table td small{display:block;margin-top:2px;color:var(--muted-foreground);font-size:var(--type-meta)}
- .ops-maint-actions-head{text-align:right}
- .ops-maint-table .ops-table-actions{justify-content:flex-end;white-space:nowrap}
- .ops-maint-dialog > .ops-maint-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 22px 18px;border-top:1px solid var(--border-subtle)}
- @media (max-width: 760px) {
- .ops-confirm.ops-maint-dialog { width: calc(100vw - 24px); }
- .ops-maint-dialog > .ops-maint-head, .ops-maint-dialog > .ops-maint-body, .ops-maint-dialog > .ops-maint-foot { padding-inline: 14px; }
- }
|