@chenchaolong/plugin-trade-compliance-workbench 1.0.221 → 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 +54 -43
- package/dist/lib/remote-ui/pages/home.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/home.js +3 -2
- 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,47 +1,58 @@
|
|
|
1
|
-
/* Home
|
|
2
|
-
.tcw-home
|
|
3
|
-
.tcw-home-
|
|
4
|
-
.tcw-home
|
|
5
|
-
.tcw-home-
|
|
6
|
-
.tcw-home-
|
|
7
|
-
.tcw-home-guide
|
|
8
|
-
.tcw-home-
|
|
9
|
-
.tcw-home-
|
|
10
|
-
.tcw-home-
|
|
11
|
-
.tcw-home-guide-
|
|
12
|
-
.tcw-home-guide-
|
|
13
|
-
.tcw-home-guide-
|
|
14
|
-
.tcw-home-guide-
|
|
15
|
-
.tcw-home-guide-
|
|
16
|
-
.tcw-home-guide-
|
|
1
|
+
/* Home prototype: soft blue masthead, illustrated reminders and connected phases. */
|
|
2
|
+
.tcw-page-home { --tcw-topbar-height: 64px; }
|
|
3
|
+
.tcw-page-home .tcw-brand { background: linear-gradient(115deg,#f8fbff,#e8f2ff); border-color: #e9f1fc; }
|
|
4
|
+
.tcw-page-home .tcw-topbar { background-color: #f3f8ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='90' viewBox='0 0 1400 90'%3E%3Cpath d='M0 90Q380 -30 610 40T1080 0H1400V90Z' fill='%23dcecff'/%3E%3Cpath d='M0 90Q320 20 570 70T1040 0H1400V90Z' fill='%23c8e1ff' fill-opacity='.7'/%3E%3Cpath d='M440 90Q780 100 960 0H1060Q990 65 1120 90Z' fill='%23eaf4ff'/%3E%3C/svg%3E"); background-size: cover; background-position: center; border-bottom-color: #e9f1fc; }
|
|
5
|
+
.tcw-page-home .tcw-breadcrumbs { visibility: hidden; }
|
|
6
|
+
.tcw-page-home .tcw-content { background: linear-gradient(130deg,#fbfdff,#f6f9ff); padding: 16px 18px 22px; }
|
|
7
|
+
.tcw-home-guide { display: grid; gap: 14px; max-width: 1440px; margin-inline: auto; color: #182f50; }
|
|
8
|
+
.tcw-home-page-title { padding: 0 14px 2px; }
|
|
9
|
+
.tcw-home-page-title h1 { margin: 0; color: #101b2d; font-size: 26px; line-height: 1.45; font-weight: 700; }
|
|
10
|
+
.tcw-home-page-title p { margin: 3px 0 0; color: #62789a; font-size: 14px; line-height: 1.6; }
|
|
11
|
+
.tcw-home-guide-reminders, .tcw-home-guide-flow { min-width: 0; padding: 18px; border: 1px solid #eaf0fa; border-radius: 11px; background: #fff; box-shadow: 0 3px 12px #345b9610; }
|
|
12
|
+
.tcw-home-guide-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px; padding-left: 16px; position: relative; }
|
|
13
|
+
.tcw-home-guide-heading::before { content: ''; position: absolute; left: 0; top: 4px; width: 4px; height: 22px; border-radius: 4px; background: linear-gradient(#56a8ff,#0068ff); box-shadow: 0 2px 5px #1680ff22; }
|
|
14
|
+
.tcw-home-guide-heading h2 { margin: 0; color: #142b4b; font-size: 21px; line-height: 1.5; }
|
|
15
|
+
.tcw-home-guide-heading p { margin: 0; color: #70809b; font-size: 12px; line-height: 1.7; }
|
|
16
|
+
.tcw-home-guide-groups, .tcw-home-guide-phases { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
|
|
17
|
+
.tcw-home-guide-card, .tcw-home-guide-phases > section { --card-color: #0069f5; --card-light: #6ab8ff; --card-border: #d1e4ff; --card-tint: #eef6ff; position: relative; min-width: 0; border: 1px solid var(--card-border); border-radius: 9px; background: linear-gradient(140deg,var(--card-tint),#fff 58%,var(--card-tint)); }
|
|
18
|
+
.tcw-home-guide-card:nth-child(2), .tcw-home-guide-phases > section:nth-child(2) { --card-color: #008e5e; --card-light: #64d8b5; --card-border: #d5eee6; --card-tint: #effbf7; }
|
|
19
|
+
.tcw-home-guide-card:nth-child(3), .tcw-home-guide-phases > section:nth-child(3) { --card-color: #7134d5; --card-light: #bd94f9; --card-border: #e5d8ff; --card-tint: #f7f2ff; }
|
|
20
|
+
.tcw-home-guide-card:nth-child(4), .tcw-home-guide-phases > section:nth-child(4) { --card-color: #f47b0b; --card-light: #ffc47e; --card-border: #ffead7; --card-tint: #fff7ed; }
|
|
21
|
+
.tcw-home-guide-card { padding: 17px 20px 20px; overflow: hidden; }
|
|
22
|
+
.tcw-home-guide-card > header { min-height: 126px; text-align: left; position: relative; }
|
|
23
|
+
.tcw-home-guide-card > header::after { content: ''; position: absolute; width: 150px; height: 100px; right: -35px; top: -25px; transform: rotate(28deg); background: linear-gradient(135deg,#ffffff18,#ffffff88); pointer-events: none; }
|
|
24
|
+
.tcw-home-card-number { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: linear-gradient(145deg,var(--card-light),var(--card-color) 70%); box-shadow: inset 0 2px 3px #ffffff80,2px 2px 0 color-mix(in srgb,var(--card-color) 12%,transparent); color: #fff; font-size: 15px; font-weight: 650; line-height: 1; }
|
|
25
|
+
.tcw-home-card-art { position: absolute; z-index: 1; right: -9px; top: -12px; width: 122px; height: 110px; pointer-events: none; }
|
|
26
|
+
.tcw-home-guide-card h3 { position: relative; z-index: 2; max-width: 75%; margin: 15px 0 0; color: var(--card-color); font-size: 20px; line-height: 1.5; }
|
|
27
|
+
.tcw-home-guide-card > header p { position: relative; z-index: 2; margin: 3px 0 0; color: #607896; font-size: 13px; line-height: 1.6; }
|
|
17
28
|
.tcw-home-guide-card article { margin-top: 18px; }
|
|
18
|
-
.tcw-home-guide-card h4 { margin: 0 0 6px; font-size: 13px; font-weight: 650; line-height: 1.6; color: #
|
|
19
|
-
.tcw-home-guide-card article p { margin: 0; color: #
|
|
20
|
-
.tcw-home-guide-
|
|
21
|
-
.tcw-home-guide-phases
|
|
22
|
-
.tcw-home-guide-phases
|
|
23
|
-
.tcw-home-guide-phases
|
|
24
|
-
.tcw-home-guide-phases
|
|
25
|
-
.tcw-home-guide-phases ol { padding-left: 16px; margin: 0; }
|
|
29
|
+
.tcw-home-guide-card h4 { margin: 0 0 6px; font-size: 13px; font-weight: 650; line-height: 1.6; color: #233b5d; }
|
|
30
|
+
.tcw-home-guide-card article p { margin: 0; color: #65748c; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
|
|
31
|
+
.tcw-home-guide-phases { gap: 32px; }
|
|
32
|
+
.tcw-home-guide-phases > section { padding: 16px 18px 18px; }
|
|
33
|
+
.tcw-home-guide-phases header { display: flex; align-items: center; gap: 14px; }
|
|
34
|
+
.tcw-home-guide-phases h3 { margin: 0; font-size: 17px; line-height: 1.5; color: var(--card-color); }
|
|
35
|
+
.tcw-home-guide-phases ol { padding-left: 18px; margin: 20px 0 0; }
|
|
26
36
|
.tcw-home-guide-phases li { padding-left: 2px; color: #65748a; font-size: 12px; }
|
|
27
|
-
.tcw-home-guide-phases li
|
|
28
|
-
.tcw-home-guide-phases
|
|
29
|
-
.tcw-home-guide-phases
|
|
30
|
-
.tcw-home-guide-
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
.tcw-home-guide-phases li::marker { color: var(--card-color); font-weight: 500; }
|
|
38
|
+
.tcw-home-guide-phases li + li { margin-top: 18px; }
|
|
39
|
+
.tcw-home-guide-phases h4 { display: inline; font-size: 12px; font-weight: 600; line-height: 1.7; color: #243b5d; }
|
|
40
|
+
.tcw-home-guide-phases li p { margin: 4px 0 0; color: #6c7f9b; font-size: 12px; line-height: 1.7; }
|
|
41
|
+
.tcw-home-flow-connector { position: absolute; left: calc(100% + 3px); top: 38%; width: 26px; color: #a6cfff; text-align: center; font-size: 34px; line-height: 1; text-shadow: 1px 2px 0 #dfedff; pointer-events: none; }
|
|
42
|
+
.tcw-home-guide-footer { margin: 0 4px; color: #7a8aa1; font-size: 11px; line-height: 1.7; }
|
|
43
|
+
@media(max-width:1180px) {
|
|
44
|
+
.tcw-home-guide-groups, .tcw-home-guide-phases { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
|
45
|
+
.tcw-home-guide-phases > section:nth-child(2) .tcw-home-flow-connector { display: none; }
|
|
33
46
|
}
|
|
34
|
-
@media
|
|
35
|
-
.tcw-home-
|
|
36
|
-
.tcw-home-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.tcw-home-guide { gap:
|
|
40
|
-
.tcw-home-guide-
|
|
41
|
-
.tcw-home-guide-
|
|
42
|
-
.tcw-home-guide-
|
|
43
|
-
.tcw-home-guide-
|
|
44
|
-
.tcw-home-
|
|
45
|
-
.tcw-home-guide-flow { padding: 18px; }
|
|
46
|
-
.tcw-home-guide-phases { gap: 20px; }
|
|
47
|
+
@media(max-width:620px) {
|
|
48
|
+
.tcw-page-home .tcw-content { padding: 14px 12px; }
|
|
49
|
+
.tcw-home-page-title { padding-inline: 2px; }
|
|
50
|
+
.tcw-home-page-title h1 { font-size: 23px; }
|
|
51
|
+
.tcw-home-guide-reminders, .tcw-home-guide-flow { padding: 14px; }
|
|
52
|
+
.tcw-home-guide-heading { gap: 3px 10px; }
|
|
53
|
+
.tcw-home-guide-heading h2 { font-size: 19px; }
|
|
54
|
+
.tcw-home-guide-groups, .tcw-home-guide-phases { grid-template-columns: minmax(0,1fr); gap: 14px; }
|
|
55
|
+
.tcw-home-guide-card { padding-inline: 18px; }
|
|
56
|
+
.tcw-home-guide-card > header { min-height: 120px; }
|
|
57
|
+
.tcw-home-flow-connector { display: none; }
|
|
47
58
|
}
|
|
@@ -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: '新目录解析并校验通过后替换所选旧批次,商品和公司风险将重新计算。' },
|
|
@@ -32,9 +33,9 @@ const WORKFLOW_PHASES = [
|
|
|
32
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("header", { className: "tcw-home-
|
|
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", { "aria-hidden": "true", children:
|
|
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,GAAG,EAAE,oBAAoB,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,oCAAoC,EAAE;IACnG,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,kCAAkC,EAAE;IAC/F,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,0CAA0C,EAAE;IACnG,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,mCAAmC,EAAE;IACvF,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,kCAAkC,EAAE;IACvF,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,oCAAoC,EAAE;IAC7F,EAAE,GAAG,EAAE,eAAe,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,sCAAsC,EAAE;IACjG,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,kCAAkC,EAAE;CACnF,CAAA;AAEV,MAAM,eAAe,GAAG;IACtB,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,oBAA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,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; }
|