Просмотр исходного кода

fix(web): 调轻工单详情区块标题

sy 3 дней назад
Родитель
Сommit
07ad2536f9
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      web-scaffold/src/styles/work-order-record.css

+ 5 - 5
web-scaffold/src/styles/work-order-record.css

@@ -151,7 +151,7 @@
 .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); }
 .work-order-content-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; }
 .work-order-content-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; }
-.work-order-panel-title { margin: 0; color: var(--foreground); font-size: 1.125rem; font-weight: 650; line-height: 1.35; }
+.work-order-panel-title { margin: 0; }
 .work-order-content-heading small { margin-inline-start: .4em; color: var(--muted-foreground); font-size: var(--type-meta); font-weight: 500; white-space: nowrap; }
 .work-order-content-heading small { margin-inline-start: .4em; color: var(--muted-foreground); font-size: var(--type-meta); font-weight: 500; white-space: nowrap; }
 .work-order-panel-note { margin: 0; color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.6; overflow-wrap: anywhere; }
 .work-order-panel-note { margin: 0; color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.6; overflow-wrap: anywhere; }
 .work-order-empty-panel { display: grid; gap: 6px; margin: 0; padding: 16px; border-radius: var(--radius-control); background: var(--surface-subtle); color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.6; }
 .work-order-empty-panel { display: grid; gap: 6px; margin: 0; padding: 16px; border-radius: var(--radius-control); background: var(--surface-subtle); color: var(--muted-foreground); font-size: var(--type-support); line-height: 1.6; }
@@ -163,7 +163,6 @@
 .work-order-narrative-fields dt { color: var(--muted-foreground); font-size: var(--type-meta); font-weight: 500; }
 .work-order-narrative-fields dt { color: var(--muted-foreground); font-size: var(--type-meta); font-weight: 500; }
 .work-order-narrative-fields dd { margin: 4px 0 0; color: var(--text-secondary); font-size: var(--type-body); line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
 .work-order-narrative-fields dd { margin: 4px 0 0; color: var(--text-secondary); font-size: var(--type-body); line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
 .work-order-record-panel .wo-guide-card { display: grid; gap: 10px; padding: 15px 16px; background: var(--card); }
 .work-order-record-panel .wo-guide-card { display: grid; gap: 10px; padding: 15px 16px; background: var(--card); }
-.work-order-record-panel .wo-guide-card > .work-order-subhead { font-size: 1.125rem; }
 .work-order-record-panel .wo-guide-summary { margin: 0; font-size: var(--type-support); }
 .work-order-record-panel .wo-guide-summary { margin: 0; font-size: var(--type-support); }
 .work-order-record-panel .wo-guide > .work-order-section-title { display: none; }
 .work-order-record-panel .wo-guide > .work-order-section-title { display: none; }
 .work-order-record-panel .wo-guide-hint { margin-top: 0; }
 .work-order-record-panel .wo-guide-hint { margin-top: 0; }
@@ -176,13 +175,14 @@
 .work-order-summary-grid strong { overflow-wrap: anywhere; color: var(--foreground); font-size: var(--type-body); font-weight: 650; line-height: 1.45; }
 .work-order-summary-grid strong { overflow-wrap: anywhere; color: var(--foreground); font-size: var(--type-body); font-weight: 650; line-height: 1.45; }
 .work-order-summary-grid strong em { font-style: normal; }
 .work-order-summary-grid strong em { font-style: normal; }
 .work-order-subhead { margin: 2px 0 0; font-size: var(--type-support); font-weight: 650; }
 .work-order-subhead { margin: 2px 0 0; font-size: var(--type-support); font-weight: 650; }
+.work-order-panel-title,
+.work-order-record-panel .work-order-subhead,
 .work-order-logs-panel h2 {
 .work-order-logs-panel h2 {
   color: var(--foreground);
   color: var(--foreground);
-  font-size: var(--type-section);
-  font-weight: 600;
+  font-size: var(--type-comfort);
+  font-weight: 500;
   line-height: 1.4;
   line-height: 1.4;
 }
 }
-.work-order-layout .work-order-subhead { font-size: var(--type-body); font-weight: 600; }
 .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 :is(.work-order-summary-grid > div, .work-order-trace) > span {