fix(performance): 주문 내역 창 고정 열 제목 배경 투명 문제 + 취소 행 전체 서식

- 창(.perf-modal)은 document.body 에 붙어 .perf 밖이라 --perf-soft 등 색 변수가
  없어 고정된 열 제목 배경이 투명 → 내용이 겹쳐 보였다. 색 변수를 .perf-modal 에도
  정의하고 열 제목 배경·아래 줄을 명시
- 취소 행은 행 전체를 기울임 + 취소선 + 회색

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 23:55:53 +09:00
parent bfa55bf367
commit 1129db9e21
4 changed files with 13 additions and 9 deletions
+2 -3
View File
@@ -187,9 +187,8 @@
const body = rows.map(function (r) {
sum += r.amount;
if (r.amount >= 0) sales += r.amount; else minus += r.amount;
return '<tr class="' + (r.amount < 0 ? "perf-ev-cancel" : "") + '">' +
"<td>" + esc(r.sales_date) + "</td><td" + (r.event_type === "CANCEL" ? ' class="perf-ev-kind-cancel"' : "") + ">" +
esc(KIND[r.event_type] || r.event_type) +
return '<tr class="' + (r.event_type === "CANCEL" ? "is-cancel" : r.amount < 0 ? "perf-ev-cancel" : "") + '">' +
"<td>" + esc(r.sales_date) + "</td><td>" + esc(KIND[r.event_type] || r.event_type) +
(r.is_sample ? ' <span class="perf-pill">테스트</span>' : "") + "</td>" +
"<td>" + esc(r.external_order_id) + "</td>" +
"<td>" + esc(r.product_name) + (r.option_name ? " <span class='perf-muted'>" + esc(r.option_name) + "</span>" : "") + "</td>" +