|
@@ -141,12 +141,15 @@
|
|
|
.work-order-detail-text { margin: 0 0 14px; overflow-wrap: anywhere; color: var(--text-secondary); font-size: var(--type-body); line-height: 1.6; }
|
|
.work-order-detail-text { margin: 0 0 14px; overflow-wrap: anywhere; color: var(--text-secondary); font-size: var(--type-body); line-height: 1.6; }
|
|
|
.work-order-detail-text:last-child { margin-bottom: 0; }
|
|
.work-order-detail-text:last-child { margin-bottom: 0; }
|
|
|
|
|
|
|
|
-.work-order-overview-panel { display: grid; gap: 18px; align-items: start; }
|
|
|
|
|
-.work-order-description { min-width: 0; }
|
|
|
|
|
-.work-order-ticket-lead { margin: 10px 0 0; color: var(--foreground); font-size: var(--type-comfort); line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
|
|
|
-.work-order-ticket-lead[data-empty] { color: var(--muted-foreground); font-size: var(--type-support); }
|
|
|
|
|
-.work-order-overview-context { min-width: 0; padding: 15px 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-control); background: var(--surface-subtle); }
|
|
|
|
|
-.work-order-overview-context > h2 { margin-bottom: 10px; }
|
|
|
|
|
|
|
+.work-order-overview-card { display: grid; gap: 17px; min-width: 0; padding: 18px; border: 1px solid var(--primary-border); border-radius: var(--radius-card); background: var(--card); }
|
|
|
|
|
+.work-order-ticket-lead { margin: 0; padding: 12px 14px; border-inline-start: 3px solid var(--primary); border-start-end-radius: var(--radius-control); border-end-end-radius: var(--radius-control); background: var(--primary-soft); color: var(--foreground); font-size: var(--type-body); line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
|
|
|
+.work-order-ticket-lead[data-empty] { border-color: var(--border); background: var(--surface-subtle); color: var(--muted-foreground); font-size: var(--type-support); }
|
|
|
|
|
+.work-order-overview-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 20px; margin: 0; }
|
|
|
|
|
+.work-order-overview-fields > div { min-width: 0; }
|
|
|
|
|
+.work-order-overview-fields dt { color: var(--muted-foreground); font-size: var(--type-support); }
|
|
|
|
|
+.work-order-overview-fields dd { margin: 4px 0 0; color: var(--foreground); font-size: var(--type-body); font-weight: 600; overflow-wrap: anywhere; }
|
|
|
|
|
+.work-order-overview-separator { margin-inline: 6px; color: var(--muted-foreground); }
|
|
|
|
|
+.work-order-overview-deadlines { padding-top: 12px; border-top: 1px solid var(--border-subtle); font-variant-numeric: tabular-nums; }
|
|
|
.work-order-panel-stack { display: grid; gap: 22px; }
|
|
.work-order-panel-stack { display: grid; gap: 22px; }
|
|
|
.work-order-content-group { display: grid; gap: 10px; min-width: 0; }
|
|
.work-order-content-group { display: grid; gap: 10px; min-width: 0; }
|
|
|
.work-order-content-group + .work-order-content-group { padding-top: 16px; border-top: 1px solid var(--border-subtle); }
|
|
.work-order-content-group + .work-order-content-group { padding-top: 16px; border-top: 1px solid var(--border-subtle); }
|
|
@@ -185,12 +188,12 @@
|
|
|
}
|
|
}
|
|
|
.work-order-record-panel .work-order-summary-grid { gap: 0 24px; }
|
|
.work-order-record-panel .work-order-summary-grid { gap: 0 24px; }
|
|
|
.work-order-record-panel .work-order-summary-grid > div { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
.work-order-record-panel .work-order-summary-grid > div { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
|
-.work-order-record-panel :is(.work-order-summary-grid > div, .work-order-trace) > span {
|
|
|
|
|
|
|
+.work-order-record-panel .work-order-summary-grid > div > span {
|
|
|
color: var(--muted-foreground);
|
|
color: var(--muted-foreground);
|
|
|
font-size: var(--type-meta);
|
|
font-size: var(--type-meta);
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
}
|
|
}
|
|
|
-.work-order-record-panel :is(.work-order-summary-grid > div, .work-order-trace) > strong {
|
|
|
|
|
|
|
+.work-order-record-panel .work-order-summary-grid > div > strong {
|
|
|
color: var(--foreground);
|
|
color: var(--foreground);
|
|
|
font-size: var(--type-body);
|
|
font-size: var(--type-body);
|
|
|
font-weight: 550;
|
|
font-weight: 550;
|
|
@@ -313,11 +316,6 @@
|
|
|
.work-order-refs .record-summary-panel { min-width: 0; }
|
|
.work-order-refs .record-summary-panel { min-width: 0; }
|
|
|
.work-order-refs .work-order-reference-wide { grid-column: 1 / -1; }
|
|
.work-order-refs .work-order-reference-wide { grid-column: 1 / -1; }
|
|
|
.work-order-reference-empty { margin: 4px 0 0; color: var(--muted-foreground); font-size: var(--type-support); }
|
|
.work-order-reference-empty { margin: 4px 0 0; color: var(--muted-foreground); font-size: var(--type-support); }
|
|
|
-.work-order-trace { display: grid; grid-template-columns: minmax(84px, 35%) minmax(0, 1fr); align-items: baseline; gap: 4px 10px; padding: 7px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
|
|
|
-.work-order-trace:first-of-type { padding-top: 0; }
|
|
|
|
|
-.work-order-trace:last-child { padding-bottom: 0; border-bottom: 0; }
|
|
|
|
|
-.work-order-trace > strong { overflow-wrap: anywhere; }
|
|
|
|
|
-.work-order-trace > small { grid-column: 2; overflow-wrap: anywhere; color: var(--muted-foreground); font-size: var(--type-meta); line-height: 1.5; }
|
|
|
|
|
.work-order-refs .work-order-member-row { font-size: var(--type-support); }
|
|
.work-order-refs .work-order-member-row { font-size: var(--type-support); }
|
|
|
.work-order-refs .work-order-member-row small { font-size: var(--type-meta); font-weight: 400; }
|
|
.work-order-refs .work-order-member-row small { font-size: var(--type-meta); font-weight: 400; }
|
|
|
/* 参考区的可点字段:外观仍是一行摘要,只把「能点开」显性化 */
|
|
/* 参考区的可点字段:外观仍是一行摘要,只把「能点开」显性化 */
|
|
@@ -365,8 +363,13 @@
|
|
|
.record-ref-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
|
|
.record-ref-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
|
|
|
.ops-detail section h4 > span { flex: none; color: var(--text-secondary); font-size: var(--type-support); font-weight: 500; }
|
|
.ops-detail section h4 > span { flex: none; color: var(--text-secondary); font-size: var(--type-support); font-weight: 500; }
|
|
|
|
|
|
|
|
|
|
+@container (min-width: 420px) {
|
|
|
|
|
+ .work-order-overview-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
|
|
|
+ .work-order-overview-context > div:last-child { grid-column: 1 / -1; }
|
|
|
|
|
+}
|
|
|
@container (min-width: 610px) {
|
|
@container (min-width: 610px) {
|
|
|
- .work-order-overview-panel { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
|
|
|
|
|
|
|
+ .work-order-overview-context { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
|
|
|
+ .work-order-overview-context > div:last-child { grid-column: auto; }
|
|
|
}
|
|
}
|
|
|
@container (max-width: 520px) {
|
|
@container (max-width: 520px) {
|
|
|
.work-order-refs .record-summary-panel > .ops-record-summary { grid-template-columns: minmax(0, 1fr); }
|
|
.work-order-refs .record-summary-panel > .ops-record-summary { grid-template-columns: minmax(0, 1fr); }
|
|
@@ -389,6 +392,7 @@
|
|
|
.work-order-more-trigger { width: 100%; justify-content: center; }
|
|
.work-order-more-trigger { width: 100%; justify-content: center; }
|
|
|
.work-order-more-menu { width: max-content; max-width: calc(100vw - 64px); }
|
|
.work-order-more-menu { width: max-content; max-width: calc(100vw - 64px); }
|
|
|
.work-order-record-panel { padding: 14px; }
|
|
.work-order-record-panel { padding: 14px; }
|
|
|
|
|
+ .work-order-overview-card { padding: 14px; }
|
|
|
.work-order-banner { align-items: flex-start; flex-direction: column; }
|
|
.work-order-banner { align-items: flex-start; flex-direction: column; }
|
|
|
.work-order-gaps li { align-items: flex-start; flex-wrap: wrap; }
|
|
.work-order-gaps li { align-items: flex-start; flex-wrap: wrap; }
|
|
|
.work-order-outcome { padding: 14px; }
|
|
.work-order-outcome { padding: 14px; }
|