@chenchaolong/plugin-trade-compliance-workbench 1.0.222 → 1.0.223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/remote-components/trade-compliance-workbench/app.css +1 -1
- package/dist/lib/remote-components/trade-compliance-workbench/app.js +5 -5
- package/dist/lib/remote-ui/components/task-status.js +4 -4
- package/dist/lib/remote-ui/components/task-status.js.map +1 -1
- package/dist/lib/remote-ui/pages/contracts.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/contracts.js +3 -3
- package/dist/lib/remote-ui/pages/contracts.js.map +1 -1
- package/dist/lib/remote-ui/pages/home-card-art.d.ts +7 -0
- package/dist/lib/remote-ui/pages/home-card-art.d.ts.map +1 -0
- package/dist/lib/remote-ui/pages/home-card-art.js +15 -0
- package/dist/lib/remote-ui/pages/home-card-art.js.map +1 -0
- package/dist/lib/remote-ui/pages/home-guide.css +53 -31
- package/dist/lib/remote-ui/pages/home.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/home.js +11 -10
- package/dist/lib/remote-ui/pages/home.js.map +1 -1
- package/dist/lib/remote-ui/ui-consistency.css +1 -2
- package/dist/lib/remote-ui/ui-followup.css +70 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home.d.ts","sourceRoot":"","sources":["../../../../src/lib/remote-ui/pages/home.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"home.d.ts","sourceRoot":"","sources":["../../../../src/lib/remote-ui/pages/home.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AACnF,MAAM,MAAM,YAAY,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9E,eAAO,MAAM,oBAAoB,EAAE,SAAS,iBAAiB,EASnD,CAAA;AASV,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EASxC,CAAA;AASV,wBAAgB,QAAQ,4CAuBvB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { HomeCardArtwork } from './home-card-art.js';
|
|
2
3
|
export const RISK_OPERATION_ITEMS = [
|
|
3
4
|
{ key: 'duplicate-contract', title: '合同不要重复上传', description: '相同合同编号不能重复入库;重传前先删除旧合同,相关销售数据会受影响。' },
|
|
4
5
|
{ key: 'catalog-replace', title: '覆盖目录前核对范围', description: '新目录解析并校验通过后替换所选旧批次,商品和公司风险将重新计算。' },
|
|
@@ -10,10 +11,10 @@ export const RISK_OPERATION_ITEMS = [
|
|
|
10
11
|
{ key: 'edit-excel', title: '在线保存会覆盖原文件', description: '保存后不保留旧版本,也不会更新订单和报表;重要文件请先下载备份。' }
|
|
11
12
|
];
|
|
12
13
|
const REMINDER_GROUPS = [
|
|
13
|
-
{ key: 'contracts',
|
|
14
|
-
{ key: 'pricing',
|
|
15
|
-
{ key: 'files',
|
|
16
|
-
{ key: 'risk',
|
|
14
|
+
{ key: 'contracts', title: '合同资料', subtitle: '资料准确,再提交入库', items: ['duplicate-contract', 'catalog-replace'] },
|
|
15
|
+
{ key: 'pricing', title: '金额核算', subtitle: '先核对金额与定价规则', items: ['payments', 'profit'] },
|
|
16
|
+
{ key: 'files', title: '文件生成', subtitle: '生成前核对,修改前备份', items: ['generate-file', 'edit-excel'] },
|
|
17
|
+
{ key: 'risk', title: '风险与数据', subtitle: '重要操作前确认影响', items: ['risk-review', 'delete-data'] }
|
|
17
18
|
];
|
|
18
19
|
export const WORKFLOW_STEPS = [
|
|
19
20
|
{ key: 'catalogs', title: '维护管控商品与公司制裁目录', description: '维护有效目录,供后续风险匹配使用。' },
|
|
@@ -26,15 +27,15 @@ export const WORKFLOW_STEPS = [
|
|
|
26
27
|
{ key: 'analytics', title: '数据分析', description: '维护收付款与退税,查看人民币经营数据。' }
|
|
27
28
|
];
|
|
28
29
|
const WORKFLOW_PHASES = [
|
|
29
|
-
{ key: 'prepare',
|
|
30
|
-
{ key: 'orders',
|
|
31
|
-
{ key: 'shipment',
|
|
32
|
-
{ key: 'results',
|
|
30
|
+
{ key: 'prepare', title: '资料准备', steps: WORKFLOW_STEPS.slice(0, 2) },
|
|
31
|
+
{ key: 'orders', title: '订单与风险', steps: WORKFLOW_STEPS.slice(2, 4) },
|
|
32
|
+
{ key: 'shipment', title: '定价与出货', steps: WORKFLOW_STEPS.slice(4, 6) },
|
|
33
|
+
{ key: 'results', title: '文件与分析', steps: WORKFLOW_STEPS.slice(6, 8) }
|
|
33
34
|
];
|
|
34
35
|
export function HomePage() {
|
|
35
|
-
return _jsxs("div", { className: "tcw-home-page tcw-home-guide", children: [_jsxs("section", { "aria-labelledby": "risk-operation-title", children: [_jsxs("div", { className: "tcw-home-guide-heading", children: [_jsx("h2", { id: "risk-operation-title", children: "\u64CD\u4F5C\u63D0\u9192" }), _jsx("p", { children: "\u64CD\u4F5C\u524D\u4E86\u89E3\u9650\u5236\uFF0C\u907F\u514D\u5F71\u54CD\u5DF2\u6709\u6570\u636E\u4E0E\u6587\u4EF6" })] }), _jsx("div", { className: "tcw-home-guide-groups", children: REMINDER_GROUPS.map((group, index) => _jsxs("section", { className: "tcw-home-guide-card", "data-guidance-group": group.key, "aria-labelledby": `home-group-${group.key}`, children: [_jsxs("header", { children: [_jsx("span", { className: "tcw-home-card-number", "aria-hidden": "true", children: index + 1 }), _jsx(
|
|
36
|
+
return _jsxs("div", { className: "tcw-home-page tcw-home-guide", children: [_jsxs("header", { className: "tcw-home-page-title", children: [_jsx("h1", { children: "\u9996\u9875" }), _jsx("p", { children: "\u5408\u89C4\u5148\u884C\uFF0C\u5168\u7403\u8D38\u6613\u66F4\u5B89\u5FC3" })] }), _jsxs("section", { className: "tcw-home-guide-reminders", "aria-labelledby": "risk-operation-title", children: [_jsxs("div", { className: "tcw-home-guide-heading", children: [_jsx("h2", { id: "risk-operation-title", children: "\u64CD\u4F5C\u63D0\u9192" }), _jsx("p", { children: "\u64CD\u4F5C\u524D\u4E86\u89E3\u9650\u5236\uFF0C\u907F\u514D\u5F71\u54CD\u5DF2\u6709\u6570\u636E\u4E0E\u6587\u4EF6" })] }), _jsx("div", { className: "tcw-home-guide-groups", children: REMINDER_GROUPS.map((group, index) => _jsxs("section", { className: "tcw-home-guide-card", "data-guidance-group": group.key, "aria-labelledby": `home-group-${group.key}`, children: [_jsxs("header", { children: [_jsx("span", { className: "tcw-home-card-number", "aria-hidden": "true", children: index + 1 }), _jsx(HomeCardArtwork, { kind: group.key }), _jsxs("div", { children: [_jsx("h3", { id: `home-group-${group.key}`, children: group.title }), _jsx("p", { children: group.subtitle })] })] }), group.items.map(key => {
|
|
36
37
|
const item = RISK_OPERATION_ITEMS.find(item => item.key === key);
|
|
37
38
|
return _jsxs("article", { "data-risk-operation": key, children: [_jsx("h4", { children: item.title }), _jsx("p", { children: item.description })] }, key);
|
|
38
|
-
})] }, group.key)) })] }), _jsxs("section", { className: "tcw-home-guide-flow", "aria-labelledby": "workflow-title", children: [_jsxs("div", { className: "tcw-home-guide-heading", children: [_jsx("h2", { id: "workflow-title", children: "\u4E1A\u52A1\u6D41\u7A0B\u56FE" }), _jsx("p", { children: "\u56DB\u4E2A\u9636\u6BB5\uFF0C\u4E86\u89E3\u6BCF\u4E00\u6B65\u8BE5\u505A\u4EC0\u4E48" })] }), _jsx("div", { className: "tcw-home-guide-phases", children: WORKFLOW_PHASES.map((phase, index) => _jsxs("section", { "data-workflow-phase": phase.key, "aria-labelledby": `home-phase-${phase.key}`, children: [_jsxs("header", { children: [_jsx("span", { className: "tcw-home-card-number", "aria-hidden": "true", children: index + 1 }), _jsx("
|
|
39
|
+
})] }, group.key)) })] }), _jsxs("section", { className: "tcw-home-guide-flow", "aria-labelledby": "workflow-title", children: [_jsxs("div", { className: "tcw-home-guide-heading", children: [_jsx("h2", { id: "workflow-title", children: "\u4E1A\u52A1\u6D41\u7A0B\u56FE" }), _jsx("p", { children: "\u56DB\u4E2A\u9636\u6BB5\uFF0C\u4E86\u89E3\u6BCF\u4E00\u6B65\u8BE5\u505A\u4EC0\u4E48" })] }), _jsx("div", { className: "tcw-home-guide-phases", children: WORKFLOW_PHASES.map((phase, index) => _jsxs("section", { "data-workflow-phase": phase.key, "aria-labelledby": `home-phase-${phase.key}`, children: [_jsxs("header", { children: [_jsx("span", { className: "tcw-home-card-number", "aria-hidden": "true", children: index + 1 }), _jsx("h3", { id: `home-phase-${phase.key}`, children: phase.title })] }), _jsx("ol", { start: index * 2 + 1, children: phase.steps.map(step => _jsxs("li", { "data-workflow-step": step.key, children: [_jsx("h4", { children: step.title }), _jsx("p", { children: step.description })] }, step.key)) }), index < WORKFLOW_PHASES.length - 1 && _jsx("span", { className: "tcw-home-flow-connector", "data-workflow-connector": index + 1, "aria-hidden": "true", children: _jsx("i", { className: "ri-arrow-right-s-line" }) })] }, phase.key)) })] }), _jsx("p", { className: "tcw-home-guide-footer", children: "\u540C\u4E00\u7EC4\u7EC7\u5185\u5171\u4EAB\u4E1A\u52A1\u6570\u636E\uFF0C\u4FEE\u6539\u524D\u8BF7\u4E0E\u76F8\u5173\u540C\u4E8B\u786E\u8BA4\u3002" })] });
|
|
39
40
|
}
|
|
40
41
|
//# sourceMappingURL=home.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home.js","sourceRoot":"","sources":["../../../../src/lib/remote-ui/pages/home.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"home.js","sourceRoot":"","sources":["../../../../src/lib/remote-ui/pages/home.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAKpD,MAAM,CAAC,MAAM,oBAAoB,GAAiC;IAChE,EAAE,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,CAAC,GAAO,IACV,EACV,mBAAS,SAAS,EAAC,qBAAqB,qBAAiB,gBAAgB,aACvE,eAAK,SAAS,EAAC,wBAAwB,aAAC,aAAI,EAAE,EAAC,gBAAgB,+CAAW,EAAA,+GAAqB,IAAM,EACrG,cAAK,SAAS,EAAC,uBAAuB,YAAE,eAAe,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,0CAA8C,KAAK,CAAC,GAAG,qBAAmB,cAAc,KAAK,CAAC,GAAG,EAAE,aAC/K,6BAAQ,eAAM,SAAS,EAAC,sBAAsB,iBAAa,MAAM,YAAE,KAAK,GAAG,CAAC,GAAQ,EAAA,aAAI,EAAE,EAAE,cAAc,KAAK,CAAC,GAAG,EAAE,YAAG,KAAK,CAAC,KAAK,GAAM,IAAS,EAClJ,aAAI,KAAK,EAAE,KAAK,GAAG,CAAC,GAAG,CAAC,YAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,oCAAuC,IAAI,CAAC,GAAG,aAAE,uBAAK,IAAI,CAAC,KAAK,GAAM,EAAA,sBAAI,IAAI,CAAC,WAAW,GAAK,KAAtF,IAAI,CAAC,GAAG,CAAmF,CAAC,GAAM,EAC7J,KAAK,GAAG,eAAe,CAAC,MAAM,GAAG,CAAC,IAAI,eAAM,SAAS,EAAC,yBAAyB,6BAA0B,KAAK,GAAG,CAAC,iBAAc,MAAM,YAAC,YAAG,SAAS,EAAC,uBAAuB,GAAG,GAAO,KAH5F,KAAK,CAAC,GAAG,CAI3F,CAAC,GAAO,IACV,EACV,YAAG,SAAS,EAAC,uBAAuB,iKAA6B,IAC7D,CAAA;AACR,CAAC"}
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
.tcw-row-actions button { font-size: 13px; }
|
|
36
36
|
.tcw-tag-list { display: flex; flex-wrap: wrap; gap: 4px; max-width: 100%; }
|
|
37
37
|
.tcw-tag-list > * { max-width: 100%; white-space: normal; line-height: 1.5; }
|
|
38
|
+
.tcw-data-table .tcw-align-center .tcw-tag-list { justify-content: center; }
|
|
38
39
|
.tcw-data-table tr.is-pending-review td, .tcw-data-table tr.is-pending td { background: #fffaf0; }
|
|
39
40
|
.tcw-data-table tr.is-selected td { box-shadow: inset 0 1px 0 #c4dbfa, inset 0 -1px 0 #c4dbfa; }
|
|
40
41
|
.tcw-align-right { font-variant-numeric: tabular-nums; }
|
|
@@ -108,8 +109,6 @@
|
|
|
108
109
|
.tcw-task-row-actions { grid-column: 2 / -1; justify-content: flex-end; }
|
|
109
110
|
.tcw-task-row.has-selection .tcw-task-row-actions { grid-column: 3 / -1; }
|
|
110
111
|
.tcw-task-row-title strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
|
|
111
|
-
.tcw-task-row-more { flex-basis: auto; }
|
|
112
|
-
.tcw-task-row-more > div { display: flex; justify-content: flex-end; }
|
|
113
112
|
.tcw-task-row-delete { border-color: var(--tcw-border); background: #fff; color: #69758a; }
|
|
114
113
|
.tcw-task-row-delete:hover { color: var(--tcw-danger); }
|
|
115
114
|
/* Analytics: amounts have room and never ellipsize. */
|
|
@@ -40,3 +40,73 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.tcw-sales-customer-dialog .tcw-notice--risk { border: 1px solid #edc3c3; color: #a73939; background: #fff5f5; }
|
|
43
|
+
|
|
44
|
+
/* Task window: stable header, independent list scroll and predictable card actions. */
|
|
45
|
+
.tcw-task-menu .tcw-task-popover {
|
|
46
|
+
display: flex; flex-direction: column; gap: 12px;
|
|
47
|
+
width: min(600px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - var(--tcw-topbar-height) - 24px));
|
|
48
|
+
padding: 16px; overflow: hidden; background: #fff;
|
|
49
|
+
}
|
|
50
|
+
.tcw-task-menu .tcw-task-popover > header { flex: 0 0 auto; margin: 0; align-items: flex-start; }
|
|
51
|
+
.tcw-task-menu .tcw-task-popover header small { font-size: 12px; line-height: 1.6; }
|
|
52
|
+
.tcw-task-header-actions { display: flex; align-items: center; gap: 8px; color: #758297; font-size: 12px; white-space: nowrap; }
|
|
53
|
+
.tcw-task-header-actions .tcw-icon-button { width: 28px; height: 28px; min-height: 28px; border: 0; background: transparent; color: #758297; }
|
|
54
|
+
.tcw-task-menu .tcw-task-summary { flex: 0 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; }
|
|
55
|
+
.tcw-task-menu .tcw-task-summary button { padding: 7px 3px; white-space: nowrap; }
|
|
56
|
+
.tcw-task-menu .tcw-task-bulk-bar { flex: 0 0 auto; min-height: 30px; margin: 0; padding: 0 2px; font-size: 12px; }
|
|
57
|
+
.tcw-task-menu .tcw-task-bulk-bar input { width: 16px; height: 16px; margin: 0; accent-color: var(--tcw-primary); }
|
|
58
|
+
.tcw-task-menu .tcw-task-list { display: grid; align-content: start; gap: 8px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 1px 3px 3px 1px; }
|
|
59
|
+
.tcw-task-menu .tcw-task-list:focus-visible { outline: 2px solid #9bbce8; outline-offset: -2px; }
|
|
60
|
+
.tcw-task-menu .tcw-task-row { grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; gap: 8px 10px; padding: 12px; }
|
|
61
|
+
.tcw-task-menu .tcw-task-row.has-selection { grid-template-columns: 16px 32px minmax(0, 1fr) auto; }
|
|
62
|
+
.tcw-task-menu .tcw-task-row-checkbox { margin-top: 8px; }
|
|
63
|
+
.tcw-task-menu .tcw-task-row-title strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
|
|
64
|
+
.tcw-task-menu .tcw-task-row p { margin-top: 3px; font-size: 12px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
|
|
65
|
+
.tcw-task-menu .tcw-task-row-status { width: auto; padding-top: 2px; font-size: 12px; line-height: 1.6; white-space: nowrap; }
|
|
66
|
+
.tcw-task-menu .tcw-task-row--review .tcw-task-row-status { color: #986006; }
|
|
67
|
+
.tcw-task-menu .tcw-task-row--running .tcw-task-row-status { color: #2268bd; }
|
|
68
|
+
.tcw-task-menu .tcw-task-row--success .tcw-task-row-status { color: #238255; }
|
|
69
|
+
.tcw-task-menu .tcw-task-row--failed .tcw-task-row-status { color: #b34040; }
|
|
70
|
+
.tcw-task-menu .tcw-task-row-actions { grid-column: 2 / -1; display: flex; min-width: 0; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
|
|
71
|
+
.tcw-task-menu .tcw-task-row.has-selection .tcw-task-row-actions { grid-column: 3 / -1; }
|
|
72
|
+
.tcw-task-row-secondary-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
|
|
73
|
+
.tcw-task-menu .tcw-task-row-action { min-height: 30px; max-width: none; font-weight: 500; }
|
|
74
|
+
.tcw-task-menu .tcw-task-row-chat { border-color: transparent; color: #61738b; background: transparent; }
|
|
75
|
+
.tcw-task-menu .tcw-task-row-chat:hover { color: #2468ad; background: #f1f6fc; }
|
|
76
|
+
.tcw-task-menu .tcw-task-row-delete { color: #758297; border-color: #e3e8ef; background: #fff; }
|
|
77
|
+
.tcw-task-menu .tcw-task-row-delete:hover { color: #b34040; border-color: #edcaca; background: #fff5f5; }
|
|
78
|
+
@media(max-width: 680px) {
|
|
79
|
+
.tcw-task-menu .tcw-task-popover { width: calc(100vw - 16px); right: 8px; padding: 12px; gap: 10px; }
|
|
80
|
+
}
|
|
81
|
+
@media(max-width: 420px) {
|
|
82
|
+
.tcw-task-menu .tcw-task-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
83
|
+
.tcw-task-menu .tcw-task-row { padding: 10px 8px; gap: 7px; }
|
|
84
|
+
.tcw-task-menu .tcw-task-row-status { font-size: 11px; }
|
|
85
|
+
.tcw-task-menu .tcw-task-row-actions, .tcw-task-menu .tcw-task-row.has-selection .tcw-task-row-actions { grid-column: 1 / -1; }
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Contract review: separate read-only context/status from the three editing fields. */
|
|
89
|
+
.tcw-modal:has(.tcw-contract-review-summary) .tcw-contract-review-summary.tcw-contract-review-summary--stacked { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-height: 0; padding: 14px 16px; background: #f8fafc; }
|
|
90
|
+
.tcw-contract-summary-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; padding-bottom: 12px; border-bottom: 1px solid #e5eaf1; min-width: 0; }
|
|
91
|
+
.tcw-contract-summary-overview .tcw-contract-summary-customer { align-self: auto; align-content: start; flex: 1 1 0; border: 0; padding: 0; }
|
|
92
|
+
.tcw-modal:has(.tcw-contract-review-summary) .tcw-contract-summary-overview .tcw-contract-summary-customer strong { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: #263b56; }
|
|
93
|
+
.tcw-contract-summary-statuses { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 3px; }
|
|
94
|
+
.tcw-contract-summary-statuses .tcw-contract-summary-cell { display: flex; align-items: center; gap: 8px; }
|
|
95
|
+
.tcw-contract-summary-statuses .tcw-contract-summary-cell > span { font-size: 12px; font-weight: 400; white-space: nowrap; }
|
|
96
|
+
.tcw-contract-summary-statuses .tcw-contract-risk, .tcw-contract-summary-statuses .tcw-contract-analysis-task { width: fit-content; min-height: 24px; padding: 2px 8px; line-height: 1.5; font-size: 12px; font-weight: 500; }
|
|
97
|
+
.tcw-modal:has(.tcw-contract-review-summary) .tcw-contract-review-summary--stacked > .tcw-field-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
|
|
98
|
+
.tcw-contract-review-summary--stacked .tcw-contract-number-field { width: 100%; }
|
|
99
|
+
.tcw-contract-review-summary--stacked .tcw-contract-number-candidates summary { font-size: 11px; }
|
|
100
|
+
@media(max-width: 900px) {
|
|
101
|
+
.tcw-contract-summary-overview { flex-direction: column; gap: 8px; }
|
|
102
|
+
.tcw-contract-summary-statuses { padding: 0; }
|
|
103
|
+
}
|
|
104
|
+
@media(max-width: 600px) {
|
|
105
|
+
.tcw-modal:has(.tcw-contract-review-summary) .tcw-contract-review-summary.tcw-contract-review-summary--stacked { padding: 12px; gap: 12px; }
|
|
106
|
+
.tcw-modal:has(.tcw-contract-review-summary) .tcw-contract-review-summary--stacked > .tcw-field-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
107
|
+
.tcw-contract-summary-statuses { gap: 8px 16px; }
|
|
108
|
+
.tcw-contract-review-summary--stacked .tcw-contract-number-field .tcw-contract-number-candidates[open] { right: auto; left: 0; width: min(480px, calc(100vw - 64px)); }
|
|
109
|
+
}
|
|
110
|
+
.tcw-contract-review-summary--stacked .tcw-contract-number-field .tcw-contract-number-candidates[open] { position: static; width: auto; max-height: none; padding: 0; border: 0; box-shadow: none; background: transparent; }
|
|
111
|
+
.tcw-contract-review-summary--stacked .tcw-contract-number-panel { position: absolute; top: 100%; left: 0; z-index: 8; box-sizing: border-box; width: min(480px, calc(100vw - 64px)); max-height: 260px; padding: 12px; overflow-y: auto; border: 1px solid #dfe6ef; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px #182b4826; }
|
|
112
|
+
.tcw-contract-review-summary--stacked .tcw-contract-number-panel > p { margin: 0 0 10px; font-size: 12px; line-height: 1.6; color: #65748a; }
|