|
@@ -1,32 +1,166 @@
|
|
|
-.scheduled-jobs-page{padding-bottom:28px;color:var(--foreground)}
|
|
|
|
|
-.scheduled-jobs-head{margin-bottom:17px}
|
|
|
|
|
-.scheduled-jobs-overview{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(4,minmax(115px,1fr));align-items:stretch;margin-bottom:16px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--card);box-shadow:var(--shadow-card);overflow:hidden}
|
|
|
|
|
-.scheduled-jobs-overview-lead{display:flex;align-items:center;gap:13px;padding:17px 19px;background:var(--primary-soft)}
|
|
|
|
|
-.scheduled-jobs-overview-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border:1px solid var(--primary-border);border-radius:9px;background:var(--card);color:var(--primary)}
|
|
|
|
|
-.scheduled-jobs-overview-lead span:not(.scheduled-jobs-overview-icon),.scheduled-jobs-overview-stat>span{display:block;color:var(--text-secondary);font-size:var(--type-support)}
|
|
|
|
|
-.scheduled-jobs-overview-lead strong{display:block;margin-top:2px;color:var(--primary);font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}
|
|
|
|
|
-.scheduled-jobs-overview-lead strong small{font-size:17px;color:var(--text-secondary)}
|
|
|
|
|
-.scheduled-jobs-overview-stat{min-width:0;padding:15px 17px;border-left:1px solid var(--border-subtle)}
|
|
|
|
|
-.scheduled-jobs-overview-stat strong{display:block;margin:6px 0 2px;font-size:24px;line-height:1;font-variant-numeric:tabular-nums}
|
|
|
|
|
-.scheduled-jobs-overview-stat strong.is-danger{color:var(--destructive)}
|
|
|
|
|
-.scheduled-jobs-overview-stat small{color:var(--muted-foreground);font-size:var(--type-meta)}
|
|
|
|
|
-.scheduled-jobs-panel{min-width:0;scroll-margin-top:16px}
|
|
|
|
|
-.scheduled-jobs-panel .ops-tabs button:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
|
|
|
|
|
-.scheduled-jobs-section-label{color:var(--primary);font:650 var(--type-meta)/1.3 var(--font-mono);letter-spacing:.07em}
|
|
|
|
|
-.job-ledger-meta{display:flex;align-items:center;gap:8px;margin-top:4px}
|
|
|
|
|
-.job-ledger-meta code{overflow:hidden;text-overflow:ellipsis;color:var(--muted-foreground);font:550 var(--type-meta)/1.3 var(--font-mono)}
|
|
|
|
|
-.scheduled-jobs-numeric{font-variant-numeric:tabular-nums}
|
|
|
|
|
-.scheduled-jobs-duration{margin-left:6px;color:var(--muted-foreground);font-size:var(--type-meta);white-space:nowrap}
|
|
|
|
|
-.job-ledger td .scheduled-jobs-counts{color:var(--text-secondary);font-variant-numeric:tabular-nums;line-height:1.45}
|
|
|
|
|
-.scheduled-jobs-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:1px;white-space:nowrap}
|
|
|
|
|
-.scheduled-jobs-table-actions .ops-table-action{gap:4px;padding:4px 5px}
|
|
|
|
|
-.scheduled-jobs-table-actions .scheduled-jobs-danger{color:var(--destructive)}
|
|
|
|
|
-.scheduled-jobs-table-actions .scheduled-jobs-danger:hover{background:var(--destructive-soft);color:var(--destructive)}
|
|
|
|
|
-.scheduled-jobs-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:3px 7px;border:1px solid;border-radius:5px;font-size:var(--type-support);font-weight:650;line-height:1.2;white-space:nowrap}
|
|
|
|
|
-.scheduled-jobs-pill.ok{background:var(--success-soft);border-color:var(--success-border);color:var(--success)}
|
|
|
|
|
-.scheduled-jobs-pill.bad{background:var(--destructive-soft);border-color:var(--destructive-border);color:var(--destructive)}
|
|
|
|
|
-.scheduled-jobs-pill.warn{background:var(--warning-soft);border-color:var(--warning-border);color:var(--warning)}
|
|
|
|
|
-.scheduled-jobs-pill.off{background:var(--surface-subtle);border-color:var(--border);color:var(--text-secondary)}
|
|
|
|
|
|
|
+.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-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); }
|
|
|
|
|
+}
|
|
|
.scheduled-jobs-filters .ops-search{flex:1;max-width:390px}
|
|
.scheduled-jobs-filters .ops-search{flex:1;max-width:390px}
|
|
|
.job-runs-dialog { width: min(1200px, calc(100vw - 24px)); }
|
|
.job-runs-dialog { width: min(1200px, calc(100vw - 24px)); }
|
|
|
.job-round-dialog { width: min(680px, calc(100vw - 24px)); }
|
|
.job-round-dialog { width: min(680px, calc(100vw - 24px)); }
|
|
@@ -37,67 +171,7 @@
|
|
|
.job-round-table { max-height: 260px; overflow: auto; }
|
|
.job-round-table { max-height: 260px; overflow: auto; }
|
|
|
.job-round-table .ops-table { min-width: 0; overflow-wrap: anywhere; }
|
|
.job-round-table .ops-table { min-width: 0; overflow-wrap: anywhere; }
|
|
|
.job-round-actions { display: flex; justify-content: flex-end; }
|
|
.job-round-actions { display: flex; justify-content: flex-end; }
|
|
|
-.scheduled-jobs-run-list{border-top:1px solid var(--border-subtle)}
|
|
|
|
|
-.scheduled-jobs-run-group h3{padding:10px 22px;background:var(--surface-subtle);color:var(--text-secondary);font-size:var(--type-support);font-weight:650;text-align:left}
|
|
|
|
|
-.scheduled-jobs-run{display:flex;align-items:flex-start;gap:11px;width:100%;padding:15px 22px;border:0;border-bottom:1px solid var(--border-subtle);background:transparent;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;transition:background .18s}
|
|
|
|
|
-.scheduled-jobs-run:last-child{border-bottom:0}
|
|
|
|
|
-.scheduled-jobs-run:hover,.scheduled-jobs-run.selected{background:var(--primary-soft)}
|
|
|
|
|
-.scheduled-jobs-run-mark{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:7px;background:var(--success-soft);color:var(--success)}
|
|
|
|
|
-.scheduled-jobs-run-mark.bad{background:var(--destructive-soft);color:var(--destructive)}
|
|
|
|
|
-.scheduled-jobs-run-mark.warn{background:var(--warning-soft);color:var(--warning)}
|
|
|
|
|
-.scheduled-jobs-run-content{display:block;flex:1;min-width:0}
|
|
|
|
|
-.scheduled-jobs-run-content strong{display:block;font-size:var(--type-body);line-height:1.3}
|
|
|
|
|
-.scheduled-jobs-run-content small{display:block;margin:4px 0;color:var(--muted-foreground);font:500 var(--type-meta)/1.35 var(--font-mono);overflow-wrap:anywhere}
|
|
|
|
|
-.scheduled-jobs-run-content>span{display:block;color:var(--text-secondary);font-size:var(--type-support);line-height:1.45}
|
|
|
|
|
-.scheduled-jobs-run-detail{margin:0 22px 16px;padding:16px;border:1px solid var(--primary-border);border-radius:8px;background:var(--primary-soft)}
|
|
|
|
|
-.scheduled-jobs-run-detail>div:first-child{display:flex;align-items:center;justify-content:space-between}
|
|
|
|
|
-.scheduled-jobs-run-detail>div:first-child button{display:grid;place-items:center;width:27px;height:27px;border:0;border-radius:5px;background:transparent;color:var(--text-secondary);cursor:pointer}
|
|
|
|
|
-.scheduled-jobs-run-detail h3{margin:4px 0 8px;font:700 var(--type-body)/1.3 var(--font-mono)}
|
|
|
|
|
-.scheduled-jobs-run-detail p{margin:0;color:var(--text-secondary);font-size:var(--type-support);line-height:1.55}
|
|
|
|
|
-.scheduled-jobs-run-detail dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:15px 0 0;padding-top:13px;border-top:1px solid var(--primary-border)}
|
|
|
|
|
-.scheduled-jobs-run-detail dt{color:var(--muted-foreground);font-size:var(--type-meta)}
|
|
|
|
|
-.scheduled-jobs-run-detail dd{margin:3px 0 0;font-size:var(--type-support);font-weight:650;font-variant-numeric:tabular-nums}
|
|
|
|
|
-.scheduled-jobs-empty{padding:34px 18px;color:var(--muted-foreground);font-size:var(--type-body);text-align:center}
|
|
|
|
|
-.scheduled-jobs-note{margin:12px 2px 0;color:var(--muted-foreground);font-size:var(--type-support)}
|
|
|
|
|
-.scheduled-jobs-overlay{position:fixed;inset:0;z-index:100;display:flex;justify-content:flex-end;background:var(--overlay)}
|
|
|
|
|
-.scheduled-jobs-dialog{display:flex;flex-direction:column;width:min(100%,520px);height:100%;overflow-y:auto;background:var(--card);box-shadow:var(--shadow-dialog)}
|
|
|
|
|
-.scheduled-jobs-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:24px;border-bottom:1px solid var(--border)}
|
|
|
|
|
-.scheduled-jobs-dialog header h2{margin:8px 0 5px;font-size:23px}
|
|
|
|
|
-.scheduled-jobs-dialog header code{color:var(--muted-foreground);font:600 var(--type-support) var(--font-mono)}
|
|
|
|
|
-.scheduled-jobs-dialog header button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:5px;background:var(--surface-subtle);color:var(--text-secondary);cursor:pointer}
|
|
|
|
|
-.scheduled-jobs-dialog>dl{margin:9px 24px 22px}
|
|
|
|
|
-.scheduled-jobs-dialog>dl>div{padding:15px 0;border-bottom:1px solid var(--border-subtle)}
|
|
|
|
|
-.scheduled-jobs-dialog dt{margin-bottom:5px;color:var(--muted-foreground);font-size:var(--type-support)}
|
|
|
|
|
-.scheduled-jobs-dialog dd{margin:0;font-size:var(--type-body);line-height:1.55}
|
|
|
|
|
-.scheduled-jobs-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:0 13px;border:1px solid var(--primary);border-radius:6px;background:var(--primary);color:var(--primary-foreground);font-size:var(--type-body);font-weight:650;cursor:pointer}
|
|
|
|
|
-.scheduled-jobs-dialog>.scheduled-jobs-primary{align-self:flex-start;margin:0 24px 24px}
|
|
|
|
|
-@media(max-width:1180px){.scheduled-jobs-filters{flex-wrap:wrap}.scheduled-jobs-filters .ops-search{max-width:none;flex-basis:100%}.scheduled-jobs-run-detail dl{grid-template-columns:repeat(3,minmax(0,1fr))}}
|
|
|
|
|
-@media(max-width:800px){.scheduled-jobs-overview{grid-template-columns:repeat(4,minmax(0,1fr))}.scheduled-jobs-overview-lead{grid-column:1/-1}.scheduled-jobs-overview-stat:nth-child(2){border-left:0}}
|
|
|
|
|
-@media(max-width:600px){.scheduled-jobs-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduled-jobs-overview-stat:nth-child(4){border-left:0;border-top:1px solid var(--border-subtle)}.scheduled-jobs-overview-stat:nth-child(5){border-top:1px solid var(--border-subtle)}.scheduled-jobs-run{padding:14px 15px}.scheduled-jobs-run-detail{margin:0 15px 15px}.scheduled-jobs-run-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
|
|
|
|
-
|
|
|
|
|
-.job-ledger-scroll{position:relative;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}
|
|
|
|
|
-.job-ledger-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
|
|
|
|
|
-.ops-table.job-ledger{min-width:1240px;table-layout:fixed;border-collapse:separate;border-spacing:0}
|
|
|
|
|
-.job-ledger thead th:last-child{text-align:right}
|
|
|
|
|
-.job-ledger td{background:var(--card);overflow:hidden;text-overflow:ellipsis}
|
|
|
|
|
-.job-ledger td strong,.job-ledger td small,.job-ledger-schedule{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
|
|
|
-.job-ledger tbody tr:is(:hover,:focus-within) td{background:var(--surface-subtle)}
|
|
|
|
|
-.job-ledger .scheduled-jobs-table-actions>*{flex-shrink:0}
|
|
|
|
|
-.job-ledger-scroll.has-horizontal-overflow.can-pin-identity .job-ledger :is(th,td):first-child:where(:not([colspan])){position:sticky;left:0;z-index:2}
|
|
|
|
|
-.job-ledger-scroll.has-horizontal-overflow .job-ledger :is(th,td):last-child:where(:not([colspan])){position:sticky;right:0;z-index:2}
|
|
|
|
|
-.job-ledger-scroll.can-scroll-left.can-pin-identity .job-ledger :is(th,td):first-child:where(:not([colspan])){box-shadow:9px 0 12px -10px rgb(24 40 48 / 35%)}
|
|
|
|
|
-.job-ledger-scroll.can-scroll-right .job-ledger :is(th,td):last-child:where(:not([colspan])){box-shadow:-9px 0 12px -10px rgb(24 40 48 / 35%)}
|
|
|
|
|
-.job-ledger .scheduled-jobs-table-actions button{display:inline-flex;align-items:center;gap:4px;padding:4px 5px;border:0;border-radius:4px;background:transparent;color:var(--primary);font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}.job-ledger .scheduled-jobs-table-actions button:hover{background:var(--primary-soft)}.job-ledger .scheduled-jobs-table-actions button.is-danger{color:var(--destructive)}
|
|
|
|
|
-
|
|
|
|
|
-/* ── 系统维护任务入口(标题栏右侧)与弹窗(2026-11-15) ─────────────────
|
|
|
|
|
- 系统维护组不再进主表,改由标题栏图标进入,避免与业务任务混淆。 */
|
|
|
|
|
-.scheduled-jobs-head{align-items:center}
|
|
|
|
|
-.scheduled-jobs-maint-trigger{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:34px;padding:0 11px;border:1px solid var(--border);border-radius:7px;background:var(--card);color:var(--text-secondary);font-size:var(--type-support);font-weight:600;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
|
|
|
|
|
-.scheduled-jobs-maint-trigger:hover{border-color:var(--primary-border);background:var(--primary-soft);color:var(--primary)}
|
|
|
|
|
-.scheduled-jobs-maint-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
|
|
|
|
|
-.scheduled-jobs-maint-trigger svg{flex:none}
|
|
|
|
|
-.scheduled-jobs-maint-trigger em{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:9px;background:var(--surface-subtle);color:var(--muted-foreground);font:650 var(--type-meta)/1 var(--font-mono);font-style:normal}
|
|
|
|
|
-.scheduled-jobs-maint-trigger:hover em{background:var(--card);color:var(--primary)}
|
|
|
|
|
|
|
+.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-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-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-dialog .ops-maint-meta{margin:6px 0 0;color:var(--text-secondary);font-size:var(--type-support)}
|
|
@@ -113,4 +187,7 @@
|
|
|
.ops-maint-actions-head{text-align:right}
|
|
.ops-maint-actions-head{text-align:right}
|
|
|
.ops-maint-table .ops-table-actions{justify-content:flex-end;white-space:nowrap}
|
|
.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)}
|
|
.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){.scheduled-jobs-head{flex-direction:row;align-items:center}.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}}
|
|
|
|
|
|
|
+@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; }
|
|
|
|
|
+}
|