fde-console 0.0.0-stage → 2.9.68
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/LICENSE +21 -0
- package/README.md +128 -2
- package/README.zh-CN.md +130 -0
- package/assets/icon.svg +9 -0
- package/cordis.patch.yml +7 -0
- package/lib/agentActivity.js +1180 -0
- package/lib/agentContext.js +146 -0
- package/lib/agentTranscript.js +1398 -0
- package/lib/analyze.js +625 -0
- package/lib/attribute.js +205 -0
- package/lib/backup.js +366 -0
- package/lib/desktopAgents.js +123 -0
- package/lib/diary.js +333 -0
- package/lib/dingtalk.js +412 -0
- package/lib/feishu.js +580 -0
- package/lib/giteaClient.js +810 -0
- package/lib/giteeClient.js +372 -0
- package/lib/githubClient.js +361 -0
- package/lib/heatmap.js +99 -0
- package/lib/imNotify.js +378 -0
- package/lib/inbox.js +438 -0
- package/lib/instanceLock.js +122 -0
- package/lib/jobs.js +56 -0
- package/lib/learn.js +1388 -0
- package/lib/learnImport.js +283 -0
- package/lib/learnSeeds.js +97 -0
- package/lib/learnSeedsAiEng.js +77 -0
- package/lib/mcpCore.js +135 -0
- package/lib/members.js +160 -0
- package/lib/migration.js +403 -0
- package/lib/overview.js +376 -0
- package/lib/postmortem.js +148 -0
- package/lib/radarIgnore.js +134 -0
- package/lib/redact.js +76 -0
- package/lib/router.js +246 -0
- package/lib/routes-gitea.js +262 -0
- package/lib/routes-setup.js +40 -0
- package/lib/scorecard.js +111 -0
- package/lib/sessionRef.js +227 -0
- package/lib/sessionSnapshot.js +67 -0
- package/lib/sessionSuggest.js +186 -0
- package/lib/settings.js +783 -0
- package/lib/setupCheck.js +330 -0
- package/lib/ssrfGuard.js +145 -0
- package/lib/store.js +564 -0
- package/lib/storeDb.js +418 -0
- package/lib/taskEvents.js +243 -0
- package/lib/webhookOut.js +125 -0
- package/lib/weekly.js +439 -0
- package/lib/workSearch.js +220 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +46 -4
- package/plugin/adapter.js +157 -0
- package/plugin/client.js +282 -0
- package/plugin/index.mjs +116 -0
- package/plugin/static.js +99 -0
- package/scripts/backup-data.js +41 -0
- package/scripts/mcp-server.mjs +68 -0
- package/scripts/migrate-data.js +301 -0
- package/scripts/migrate-storage.js +47 -0
- package/scripts/seed-demo.js +200 -0
- package/scripts/write-agent-context.js +43 -0
- package/test/helpers/appAssembler.js +1078 -0
- package/web/client/fde-client.js +292 -0
- package/web/css/app.css +1510 -0
- package/web/index.html +69 -0
- package/web/js/api.js +72 -0
- package/web/js/app.js +313 -0
- package/web/js/icons.js +48 -0
- package/web/js/mock.js +1150 -0
- package/web/js/state.js +7 -0
- package/web/js/ui.js +276 -0
- package/web/js/views/activity.js +410 -0
- package/web/js/views/agents.js +892 -0
- package/web/js/views/board.js +1656 -0
- package/web/js/views/learn.js +530 -0
- package/web/js/views/members.js +344 -0
- package/web/js/views/onboarding.js +103 -0
- package/web/js/views/overview.js +508 -0
- package/web/js/views/radar.js +1359 -0
- package/web/js/views/search.js +149 -0
- package/web/js/views/settings.js +1351 -0
- package/web/js/views/topology.js +471 -0
- package/web/mock.json +2363 -0
package/web/css/app.css
ADDED
|
@@ -0,0 +1,1510 @@
|
|
|
1
|
+
/* FDE 指挥台 · 深色固定主题(参考业主确认原型:#0f1216 底 / #161b22 面板 / #3b82f6 主色)
|
|
2
|
+
视觉体系(四层词表取 1+2+4):材质感(毛玻璃/soft-shadow 分层/subtle-border/mesh)+
|
|
3
|
+
呼吸感(150-200ms ease/hover/stagger/弹层过渡/reduced-motion 全关)+
|
|
4
|
+
产品感(统一空态/加载态/焦点环/tabular-nums)。禁项:无按钮徽标渐变、无 emoji、无 3D/particle、零外部库 */
|
|
5
|
+
:root {
|
|
6
|
+
color-scheme: dark;
|
|
7
|
+
--bg: #0f1216;
|
|
8
|
+
--panel: #161b22;
|
|
9
|
+
--panel2: #1b222c;
|
|
10
|
+
--border: rgba(148, 163, 184, .14); /* subtle-border:1px 低透明度描边统一 */
|
|
11
|
+
--border-strong: rgba(148, 163, 184, .26);
|
|
12
|
+
--text: #e7ebf2;
|
|
13
|
+
--muted: #8b93a3;
|
|
14
|
+
--accent: #3b82f6;
|
|
15
|
+
--accent-soft: rgba(59, 130, 246, .16);
|
|
16
|
+
--green: #34d399;
|
|
17
|
+
--yellow: #fbbf24;
|
|
18
|
+
--purple: #a78bfa;
|
|
19
|
+
--orange: #fb923c;
|
|
20
|
+
--red: #f87171;
|
|
21
|
+
--mono: ui-monospace, Consolas, "Cascadia Mono", monospace;
|
|
22
|
+
/* soft-shadow 悬浮高度差:列容器 0 级 / 任务卡 1 级 / 任务卡 hover 2 级 / 弹层 3 级 */
|
|
23
|
+
--shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .16);
|
|
24
|
+
--shadow-2: 0 3px 8px rgba(0, 0, 0, .32), 0 10px 24px rgba(0, 0, 0, .24);
|
|
25
|
+
--shadow-3: 0 8px 24px rgba(0, 0, 0, .42), 0 24px 64px rgba(0, 0, 0, .5);
|
|
26
|
+
}
|
|
27
|
+
* { box-sizing: border-box; }
|
|
28
|
+
/* [hidden] 必须带 !important:否则 .pill 等自带 display 的类会压过 UA 默认规则,导致 hidden 失效 */
|
|
29
|
+
[hidden] { display: none !important; }
|
|
30
|
+
html, body { height: 100%; }
|
|
31
|
+
body {
|
|
32
|
+
margin: 0;
|
|
33
|
+
font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
line-height: 1.5;
|
|
36
|
+
color: var(--text);
|
|
37
|
+
background: var(--bg);
|
|
38
|
+
font-variant-numeric: tabular-nums; /* 数字统一等宽,统计/计数不跳动 */
|
|
39
|
+
}
|
|
40
|
+
/* 层1 gradient-mesh:两三团 3-5% 透明度径向色斑,fixed、克制、不参与交互、不遮内容 */
|
|
41
|
+
body::before {
|
|
42
|
+
content: "";
|
|
43
|
+
position: fixed; inset: 0; z-index: -1;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
background:
|
|
46
|
+
radial-gradient(46rem 30rem at 14% -6%, rgba(59, 130, 246, .05), transparent 62%),
|
|
47
|
+
radial-gradient(38rem 26rem at 92% 6%, rgba(167, 139, 250, .04), transparent 60%),
|
|
48
|
+
radial-gradient(44rem 30rem at 50% 112%, rgba(52, 211, 153, .035), transparent 62%);
|
|
49
|
+
}
|
|
50
|
+
::selection { background: rgba(59, 130, 246, .35); }
|
|
51
|
+
/* 层4 focus-visible 焦点环统一(输入类控件用边框色表达,避免双环) */
|
|
52
|
+
:focus-visible { outline: 2px solid rgba(59, 130, 246, .65); outline-offset: 2px; }
|
|
53
|
+
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }
|
|
54
|
+
::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
55
|
+
::-webkit-scrollbar-thumb { background: #2a323e; border-radius: 6px; border: 2px solid var(--bg); }
|
|
56
|
+
::-webkit-scrollbar-track { background: transparent; }
|
|
57
|
+
a { color: #93c5fd; }
|
|
58
|
+
h3, h4 { font-weight: 500; }
|
|
59
|
+
.ic { width: 16px; height: 16px; flex: 0 0 16px; }
|
|
60
|
+
|
|
61
|
+
/* ---- 布局骨架 ---- */
|
|
62
|
+
#app { display: flex; height: 100vh; overflow: hidden; }
|
|
63
|
+
.side {
|
|
64
|
+
width: 200px; flex: 0 0 200px;
|
|
65
|
+
background: rgba(22, 27, 34, .82);
|
|
66
|
+
backdrop-filter: blur(14px) saturate(1.15);
|
|
67
|
+
-webkit-backdrop-filter: blur(14px) saturate(1.15);
|
|
68
|
+
border-right: 1px solid var(--border);
|
|
69
|
+
display: flex; flex-direction: column;
|
|
70
|
+
}
|
|
71
|
+
.logo { display: flex; align-items: center; gap: 9px; padding: 16px 16px 12px; font-weight: 500; font-size: 15px; }
|
|
72
|
+
.logo .ic { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent); }
|
|
73
|
+
.logo small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
|
|
74
|
+
.nav { display: flex; flex-direction: column; padding: 8px; gap: 2px; }
|
|
75
|
+
.nav button {
|
|
76
|
+
display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
|
|
77
|
+
background: none; border: 0; color: var(--muted); padding: 8px 10px; border-radius: 7px;
|
|
78
|
+
font: inherit; cursor: pointer;
|
|
79
|
+
transition: background-color .18s ease, color .18s ease;
|
|
80
|
+
}
|
|
81
|
+
.nav button .ic { width: 16px; height: 16px; flex: 0 0 16px; transition: transform .18s ease; }
|
|
82
|
+
.nav button:hover { background: var(--panel2); color: var(--text); }
|
|
83
|
+
.nav button:hover .ic { transform: translateX(1px); }
|
|
84
|
+
.nav button.on { background: var(--accent-soft); color: #cfe1ff; }
|
|
85
|
+
.side-foot {
|
|
86
|
+
margin-top: auto; padding: 12px 14px; border-top: 1px solid var(--border);
|
|
87
|
+
font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px;
|
|
88
|
+
white-space: nowrap; overflow: hidden;
|
|
89
|
+
}
|
|
90
|
+
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 7px; }
|
|
91
|
+
.dot.err { background: var(--red); }
|
|
92
|
+
.dot.off { background: var(--muted); }
|
|
93
|
+
|
|
94
|
+
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
95
|
+
.topbar {
|
|
96
|
+
display: flex; align-items: center; gap: 12px; padding: 11px 18px;
|
|
97
|
+
border-bottom: 1px solid var(--border);
|
|
98
|
+
background: rgba(22, 27, 34, .72);
|
|
99
|
+
backdrop-filter: blur(14px) saturate(1.15);
|
|
100
|
+
-webkit-backdrop-filter: blur(14px) saturate(1.15);
|
|
101
|
+
}
|
|
102
|
+
.topbar h3 { margin: 0; font-size: 15px; }
|
|
103
|
+
.pill {
|
|
104
|
+
display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted);
|
|
105
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px;
|
|
106
|
+
white-space: nowrap;
|
|
107
|
+
}
|
|
108
|
+
.pill .ic { width: 12px; height: 12px; flex: 0 0 12px; }
|
|
109
|
+
.pill-mock { color: #fcd34d; border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
|
|
110
|
+
.spacer { flex: 1; }
|
|
111
|
+
.view { flex: 1; overflow: auto; padding: 16px 18px; }
|
|
112
|
+
.foot {
|
|
113
|
+
border-top: 1px solid var(--border);
|
|
114
|
+
background: rgba(22, 27, 34, .85);
|
|
115
|
+
backdrop-filter: blur(10px);
|
|
116
|
+
-webkit-backdrop-filter: blur(10px);
|
|
117
|
+
padding: 8px 18px; font-size: 11px; color: var(--muted);
|
|
118
|
+
display: flex; gap: 16px; flex-wrap: wrap;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* ---- 通用组件 ---- */
|
|
122
|
+
.btn {
|
|
123
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
124
|
+
background: var(--accent); color: #fff; border: 0; border-radius: 7px;
|
|
125
|
+
padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;
|
|
126
|
+
transition: background-color .18s ease, border-color .18s ease, color .18s ease,
|
|
127
|
+
box-shadow .18s ease, transform .18s ease, filter .18s ease, opacity .18s ease;
|
|
128
|
+
}
|
|
129
|
+
.btn:hover { filter: brightness(1.1); box-shadow: 0 2px 12px rgba(59, 130, 246, .28); }
|
|
130
|
+
.btn:active { transform: translateY(1px); }
|
|
131
|
+
.btn.ghost { background: var(--panel2); color: var(--text); border: 1px solid var(--border); }
|
|
132
|
+
.btn.ghost:hover { border-color: var(--accent); color: #cfe1ff; filter: none; box-shadow: none; }
|
|
133
|
+
.btn.danger { background: transparent; color: var(--red); border: 1px solid var(--border); }
|
|
134
|
+
.btn.danger:hover { border-color: var(--red); filter: none; box-shadow: 0 2px 12px rgba(248, 113, 113, .18); }
|
|
135
|
+
.btn.xs { padding: 3px 9px; font-size: 12px; border-radius: 6px; }
|
|
136
|
+
.btn:disabled { opacity: .45; cursor: not-allowed; }
|
|
137
|
+
.btn:disabled:hover { filter: none; box-shadow: none; transform: none; }
|
|
138
|
+
.btn.small { padding: 4px 12px; font-size: 12px; }
|
|
139
|
+
.icon-btn {
|
|
140
|
+
background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px;
|
|
141
|
+
display: inline-flex; border-radius: 5px;
|
|
142
|
+
transition: background-color .18s ease, color .18s ease;
|
|
143
|
+
}
|
|
144
|
+
.icon-btn:hover { color: var(--text); background: var(--panel2); }
|
|
145
|
+
.link { color: #93c5fd; text-decoration: none; cursor: pointer; transition: color .18s ease; }
|
|
146
|
+
.link:hover { text-decoration: underline; }
|
|
147
|
+
.muted { color: var(--muted); }
|
|
148
|
+
.mono { font-family: var(--mono); font-size: 12px; }
|
|
149
|
+
.small { font-size: 12px; }
|
|
150
|
+
/* 层4 加载态:统一 spinner(错误态不出圈),替代裸文本 */
|
|
151
|
+
.loading {
|
|
152
|
+
color: var(--muted); padding: 28px; text-align: center;
|
|
153
|
+
display: flex; flex-direction: column; align-items: center; gap: 10px;
|
|
154
|
+
}
|
|
155
|
+
.loading::before {
|
|
156
|
+
content: ""; width: 18px; height: 18px; border-radius: 50%;
|
|
157
|
+
border: 2px solid var(--border); border-top-color: var(--accent);
|
|
158
|
+
animation: spin .8s linear infinite;
|
|
159
|
+
}
|
|
160
|
+
.loading.err { color: var(--red); }
|
|
161
|
+
.loading.err::before { content: none; }
|
|
162
|
+
@keyframes spin { to { transform: rotate(1turn); } }
|
|
163
|
+
/* 层4 空状态:统一插画式(线形图标 + 一句文案),列空/流空/表空共用 */
|
|
164
|
+
.empty-state {
|
|
165
|
+
display: flex; flex-direction: column; align-items: center; gap: 7px;
|
|
166
|
+
padding: 18px 8px; color: var(--muted); font-size: 12px; text-align: center;
|
|
167
|
+
}
|
|
168
|
+
.empty-state .ic { width: 22px; height: 22px; flex: 0 0 22px; opacity: .5; }
|
|
169
|
+
|
|
170
|
+
.badge {
|
|
171
|
+
display: inline-flex; align-items: center; gap: 4px; font-size: 11px; border-radius: 5px;
|
|
172
|
+
padding: 1px 7px; border: 1px solid transparent; white-space: nowrap; line-height: 1.6;
|
|
173
|
+
}
|
|
174
|
+
.b-pr { color: #93c5fd; background: rgba(59, 130, 246, .13); border-color: rgba(59, 130, 246, .35); }
|
|
175
|
+
.b-merge { color: #c4b5fd; background: rgba(167, 139, 250, .13); border-color: rgba(167, 139, 250, .35); }
|
|
176
|
+
.b-commit { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
177
|
+
.b-branch { color: #fcd34d; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
|
|
178
|
+
.b-alive { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
179
|
+
.b-dead { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
180
|
+
.b-builtin { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
181
|
+
.b-task { color: #cfe1ff; background: rgba(59, 130, 246, .16); border-color: rgba(59, 130, 246, .4); }
|
|
182
|
+
.st-working { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
183
|
+
.st-idle { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
184
|
+
.st-stale { color: #fcd34d; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
|
|
185
|
+
.st-danger { color: #fca5a5; background: rgba(248, 113, 113, .13); border-color: rgba(248, 113, 113, .4); }
|
|
186
|
+
|
|
187
|
+
/* 截止时间四级徽标(dueBadge):逾期红 / 今天到期橙 / 3 天内黄 / 其余灰字日期 */
|
|
188
|
+
.due-badge { font-variant-numeric: tabular-nums; }
|
|
189
|
+
.due-over { color: #fca5a5; background: rgba(248, 113, 113, .13); border-color: rgba(248, 113, 113, .4); }
|
|
190
|
+
.due-today { color: #fdba74; background: rgba(251, 146, 60, .13); border-color: rgba(251, 146, 60, .42); }
|
|
191
|
+
.due-soon { color: #fcd34d; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
|
|
192
|
+
.due-later { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
193
|
+
.due-lg { font-size: 12.5px; padding: 3px 10px; border-radius: 6px; }
|
|
194
|
+
/* 完成日期徽标(v1.7):done 任务绿色「完成于 MM-DD」,与截止徽标同一套尺寸/形状语言 */
|
|
195
|
+
.due-done { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
196
|
+
|
|
197
|
+
/* 优先级三档徽标(priorityChip):高红 / 中橙 / 低中性灰;卡片上 medium 只出橙旗小标 */
|
|
198
|
+
.prio-badge .ic, .prio-med .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
199
|
+
.prio-high { color: #fca5a5; background: rgba(248, 113, 113, .13); border-color: rgba(248, 113, 113, .4); }
|
|
200
|
+
.prio-med { color: #fdba74; background: rgba(251, 146, 60, .13); border-color: rgba(251, 146, 60, .42); }
|
|
201
|
+
.prio-low { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
202
|
+
|
|
203
|
+
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
|
|
204
|
+
.search { position: relative; display: flex; align-items: center; }
|
|
205
|
+
.search .ic { position: absolute; left: 9px; width: 14px; height: 14px; flex: 0 0 14px; color: var(--muted); pointer-events: none; }
|
|
206
|
+
.search input { padding-left: 30px; width: 240px; }
|
|
207
|
+
|
|
208
|
+
input, textarea, select {
|
|
209
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 7px;
|
|
210
|
+
color: var(--text); padding: 7px 10px; font: inherit; font-size: 13px; width: 100%;
|
|
211
|
+
transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
|
|
212
|
+
}
|
|
213
|
+
input:hover, textarea:hover, select:hover { border-color: var(--border-strong); }
|
|
214
|
+
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .14); }
|
|
215
|
+
input[readonly] { color: var(--muted); }
|
|
216
|
+
textarea { resize: vertical; min-height: 72px; }
|
|
217
|
+
select { cursor: pointer; }
|
|
218
|
+
|
|
219
|
+
/* ---- 统计卡(bento:数值主、标签次、留白充分;面板 0 级阴影与列容器同级) ---- */
|
|
220
|
+
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
|
|
221
|
+
.stat {
|
|
222
|
+
background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
|
|
223
|
+
padding: 16px 18px;
|
|
224
|
+
transition: border-color .18s ease, transform .18s ease;
|
|
225
|
+
}
|
|
226
|
+
.stat:hover { border-color: var(--border-strong); transform: translateY(-1px); }
|
|
227
|
+
.stat b {
|
|
228
|
+
display: block; font-size: 26px; font-weight: 500; line-height: 1.2;
|
|
229
|
+
letter-spacing: -.02em; font-variant-numeric: tabular-nums;
|
|
230
|
+
}
|
|
231
|
+
.stat span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
|
|
232
|
+
|
|
233
|
+
.panelbox { background: var(--panel); border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; min-width: 0; }
|
|
234
|
+
.panelbox h4 { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
|
|
235
|
+
.panel-title { display: flex; align-items: center; gap: 8px; }
|
|
236
|
+
.panel-title > span:first-child { color: var(--text); }
|
|
237
|
+
.grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
|
|
238
|
+
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
|
|
239
|
+
|
|
240
|
+
/* ---- 动态流 ---- */
|
|
241
|
+
.feed { display: flex; flex-direction: column; gap: 9px; }
|
|
242
|
+
.feed .line { padding: 8px 0; border-bottom: 1px solid var(--border); }
|
|
243
|
+
.feed .line:last-child { border-bottom: 0; }
|
|
244
|
+
.feed-item { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; }
|
|
245
|
+
.fi-ic { display: inline-flex; margin-top: 2px; flex: 0 0 16px; }
|
|
246
|
+
.fi-body { min-width: 0; flex: 1; }
|
|
247
|
+
.fi-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
248
|
+
.fi-t { color: var(--muted); margin-top: 1px; word-break: break-all; }
|
|
249
|
+
.match-link { font-size: 12px; color: #93c5fd; text-decoration: none; margin-right: 10px; white-space: nowrap; }
|
|
250
|
+
.match-link:hover { text-decoration: underline; }
|
|
251
|
+
.feed-item .t { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
|
|
252
|
+
|
|
253
|
+
/* ---- 看板 ---- */
|
|
254
|
+
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 10px; align-items: start; }
|
|
255
|
+
.col { background: var(--panel); border: 1px solid var(--border); border-radius: 9px; padding: 10px; min-width: 0; }
|
|
256
|
+
.col-h { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font-size: 13px; }
|
|
257
|
+
.col-h .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
|
|
258
|
+
.col-h .col-movers { margin-left: auto; display: inline-flex; gap: 1px; }
|
|
259
|
+
.col-h .add { margin-left: 0; }
|
|
260
|
+
/* 列排序按钮:hover 列头时出现(键盘聚焦时也可见),首/末列对应方向禁用 */
|
|
261
|
+
.col-move {
|
|
262
|
+
visibility: hidden; background: none; border: 0; border-radius: 5px; cursor: pointer;
|
|
263
|
+
color: var(--muted); font: inherit; font-size: 14px; line-height: 1; padding: 1px 5px;
|
|
264
|
+
}
|
|
265
|
+
.col:hover .col-move, .col-move:focus-visible { visibility: visible; }
|
|
266
|
+
.col-move:hover:not(:disabled) { color: var(--text); background: var(--panel2); }
|
|
267
|
+
.col-move:disabled { opacity: .3; cursor: not-allowed; }
|
|
268
|
+
.cards { display: flex; flex-direction: column; gap: 8px; }
|
|
269
|
+
/* 任务卡:1 级阴影;hover 升 2 级并上浮 1px;进场按列内索引 stagger(一次性,不循环)。
|
|
270
|
+
container-type 供 @container 按卡片实际宽度做 meta 行渐进收敛(P2-3) */
|
|
271
|
+
.task {
|
|
272
|
+
container-type: inline-size;
|
|
273
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
274
|
+
padding: 9px 11px; cursor: pointer;
|
|
275
|
+
box-shadow: var(--shadow-1);
|
|
276
|
+
transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
|
|
277
|
+
animation: task-in .32s ease backwards;
|
|
278
|
+
animation-delay: calc(min(var(--i, 0), 8) * 45ms);
|
|
279
|
+
}
|
|
280
|
+
.task:hover {
|
|
281
|
+
border-color: rgba(59, 130, 246, .55);
|
|
282
|
+
box-shadow: var(--shadow-2);
|
|
283
|
+
transform: translateY(-1px);
|
|
284
|
+
}
|
|
285
|
+
@keyframes task-in {
|
|
286
|
+
from { opacity: 0; transform: translateY(6px); }
|
|
287
|
+
}
|
|
288
|
+
.task.flash { animation: task-flash 2.4s ease; }
|
|
289
|
+
@keyframes task-flash {
|
|
290
|
+
0%, 55% { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .35); }
|
|
291
|
+
100% { border-color: var(--border); box-shadow: var(--shadow-1); }
|
|
292
|
+
}
|
|
293
|
+
.task .tt { font-size: 13px; margin-bottom: 6px; word-break: break-all; }
|
|
294
|
+
.task .tt a { display: inline-flex; vertical-align: -2px; margin-left: 4px; }
|
|
295
|
+
/* 任务卡描述首行(JS 截 40 字,CSS 兜底省略号防窄列溢出) */
|
|
296
|
+
.task .t-desc {
|
|
297
|
+
font-size: 12px; color: var(--muted); margin: -2px 0 6px;
|
|
298
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
299
|
+
}
|
|
300
|
+
/* meta 行单行内联(P2-3):状态下拉与指派/截止徽标同排,不再折行独占一行。
|
|
301
|
+
窄列渐进收敛(容器查询按卡宽让位):branch → ago → 优先级 → 成员徽标 → 指派;
|
|
302
|
+
状态下拉 + 截止徽标恒在行内。指派名溢出省略并以 title 兜底(详情弹层有全量信息),
|
|
303
|
+
保底不换行、不挤压、不溢出 */
|
|
304
|
+
.task .meta { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; font-size: 11px; color: var(--muted); overflow: hidden; }
|
|
305
|
+
.task .meta .badge { padding: 1px 5px; }
|
|
306
|
+
.task .meta .ago, .task .meta .badge, .task .meta .agent-dot, .task .meta .status-sel { flex: 0 0 auto; }
|
|
307
|
+
.task .meta .agent-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
308
|
+
.task .meta .ago { white-space: nowrap; }
|
|
309
|
+
.task .meta .branch { font-family: var(--mono); font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
|
|
310
|
+
@container (max-width: 339px) { .task .meta .branch { display: none; } }
|
|
311
|
+
@container (max-width: 289px) { .task .meta .ago { display: none; } }
|
|
312
|
+
@container (max-width: 219px) { .task .meta .prio-badge, .task .meta .prio-icon { display: none; } }
|
|
313
|
+
@container (max-width: 179px) { .task .meta .member-tag { display: none; } }
|
|
314
|
+
@container (max-width: 149px) { .task .meta .agent-dot, .task .meta .agent-name { display: none; } }
|
|
315
|
+
.status-sel {
|
|
316
|
+
margin-left: auto; width: auto; font-size: 11px; padding: 2px 4px; border-radius: 6px;
|
|
317
|
+
background: var(--panel); color: var(--muted); border: 1px solid var(--border);
|
|
318
|
+
}
|
|
319
|
+
.status-sel:hover { color: var(--text); border-color: var(--accent); }
|
|
320
|
+
.agent-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; display: inline-block; }
|
|
321
|
+
/* 任务卡人类负责人徽标:复用 .badge.b-ro 中性灰,仅缩小人形图标与文字对齐 */
|
|
322
|
+
.member-tag .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
323
|
+
|
|
324
|
+
/* ---- 列管理 ---- */
|
|
325
|
+
.col-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
|
|
326
|
+
.col-row input { flex: 1; }
|
|
327
|
+
|
|
328
|
+
/* ---- 智能体 ---- */
|
|
329
|
+
/* v2.7 注册表卡退役;v2.8 观测卡阵(.agents-grid/.agent-card 含「最近工作」行)随 SPEC-READER v2.3
|
|
330
|
+
双 UI 退役一并删除;.switch 开关为团队动态静音/成员启用/雷达别名/设置页钉钉通道共用,保留 */
|
|
331
|
+
.switch {
|
|
332
|
+
width: 26px; height: 15px; border-radius: 99px; background: var(--accent);
|
|
333
|
+
position: relative; flex: 0 0 26px; border: 0; cursor: pointer; padding: 0;
|
|
334
|
+
}
|
|
335
|
+
.switch::after {
|
|
336
|
+
content: ""; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px;
|
|
337
|
+
border-radius: 50%; background: #fff; transition: right .12s ease, left .12s ease;
|
|
338
|
+
}
|
|
339
|
+
.switch.off { background: var(--border); }
|
|
340
|
+
.switch.off::after { right: auto; left: 2px; }
|
|
341
|
+
.switch:disabled { opacity: .45; cursor: not-allowed; }
|
|
342
|
+
|
|
343
|
+
/* ---- 表格 ---- */
|
|
344
|
+
.table-wrap { overflow-x: auto; }
|
|
345
|
+
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
|
346
|
+
.table th {
|
|
347
|
+
text-align: left; font-weight: 400; color: var(--muted); font-size: 12px;
|
|
348
|
+
padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap;
|
|
349
|
+
}
|
|
350
|
+
.table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: middle; transition: background-color .15s ease; }
|
|
351
|
+
.table tbody tr:hover td { background: rgba(148, 163, 184, .045); }
|
|
352
|
+
.table tr:last-child td { border-bottom: 0; }
|
|
353
|
+
.member-cell { display: flex; align-items: center; gap: 8px; min-width: 150px; }
|
|
354
|
+
.avatar {
|
|
355
|
+
width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center;
|
|
356
|
+
justify-content: center; font-size: 10px; color: #fff; flex: 0 0 26px; font-weight: 500; letter-spacing: .5px;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* ---- 成员名册管理 ---- */
|
|
360
|
+
.mem-actions { display: inline-flex; gap: 6px; white-space: nowrap; }
|
|
361
|
+
.mem-actions-cell { white-space: nowrap; }
|
|
362
|
+
/* 停用成员整行置灰,头像去色 */
|
|
363
|
+
.row-off td { opacity: .55; }
|
|
364
|
+
.row-off .avatar { filter: grayscale(1); }
|
|
365
|
+
.st-off { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
366
|
+
/* 派生成员只读徽标:智能体(紫)/ Gitea 同步(灰) */
|
|
367
|
+
.b-agent { color: #c4b5fd; background: rgba(167, 139, 250, .13); border-color: rgba(167, 139, 250, .35); }
|
|
368
|
+
.b-ro { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
369
|
+
.switch-line { display: inline-flex; align-items: center; gap: 8px; }
|
|
370
|
+
/* v1.8 确认弹层说话人行:原始昵称 chip(线形话筒)+「TA 是谁?」小下拉,与负责成员解耦 */
|
|
371
|
+
.spk-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
372
|
+
.spk-raw {
|
|
373
|
+
display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
|
|
374
|
+
font-size: 12px; color: #cfe1ff; background: var(--accent-soft);
|
|
375
|
+
border: 1px solid rgba(59, 130, 246, .35); border-radius: 5px; padding: 3px 8px;
|
|
376
|
+
}
|
|
377
|
+
.spk-raw .ic { width: 12px; height: 12px; flex: 0 0 12px; }
|
|
378
|
+
.spk-line select { max-width: 220px; font-size: 12px; padding: 3px 6px; }
|
|
379
|
+
.task-line { font-size: 13px; margin-bottom: 5px; }
|
|
380
|
+
.prog { height: 5px; border-radius: 99px; background: var(--panel); overflow: hidden; min-width: 80px; }
|
|
381
|
+
.prog span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
|
|
382
|
+
.prog span.warn { background: var(--yellow); }
|
|
383
|
+
.prog span.danger { background: var(--red); }
|
|
384
|
+
/* v2.8:会话表「停止」按钮样式(.stop-btn)随会话登记表退役一并删除 */
|
|
385
|
+
|
|
386
|
+
/* ---- 设置 ---- */
|
|
387
|
+
.settings { max-width: 620px; display: flex; flex-direction: column; gap: 10px; }
|
|
388
|
+
.frow { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 10px; }
|
|
389
|
+
.frow label { font-size: 13px; color: var(--muted); }
|
|
390
|
+
.frow .hint { font-size: 11px; color: var(--muted); margin-top: 3px; }
|
|
391
|
+
.note { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
|
|
392
|
+
.note .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
393
|
+
@media (max-width: 640px) { .frow { grid-template-columns: 1fr; } }
|
|
394
|
+
|
|
395
|
+
/* ---- 设置页产品化二期(v2):体检卡 / 新人引导条 / 三张配置卡 / 凭据指引卡 ----
|
|
396
|
+
徽标配色沿用 v1.3 词表(低透明底 + 同色描边):通过=绿、未通过=红、hint=amber;骨架为脉冲占位非渐变 */
|
|
397
|
+
.set-card {
|
|
398
|
+
background: var(--panel); border: 1px solid var(--border); border-radius: 9px;
|
|
399
|
+
padding: 12px 14px; display: flex; flex-direction: column; gap: 10px;
|
|
400
|
+
}
|
|
401
|
+
.set-card .sc-h { display: flex; align-items: center; gap: 8px; }
|
|
402
|
+
.set-card .sc-h h4 { margin: 0; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
|
|
403
|
+
.set-card .sc-h h4 .ic { width: 15px; height: 15px; flex: 0 0 15px; color: var(--muted); }
|
|
404
|
+
.set-card .sc-h .btn { flex: 0 0 auto; }
|
|
405
|
+
.set-card .desc { font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: -4px; }
|
|
406
|
+
.set-card .frow { align-items: start; }
|
|
407
|
+
|
|
408
|
+
/* 新人引导条:allOk=false 时置顶 amber 条(只在设置页,总览保持克制) */
|
|
409
|
+
.setup-banner {
|
|
410
|
+
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
|
|
411
|
+
padding: 10px 13px; border-radius: 9px; font-size: 13px; color: #fcd34d;
|
|
412
|
+
background: rgba(251, 191, 36, .09); border: 1px solid rgba(251, 191, 36, .35);
|
|
413
|
+
}
|
|
414
|
+
.setup-banner .ic { width: 16px; height: 16px; flex: 0 0 16px; }
|
|
415
|
+
.setup-banner b { font-weight: 500; }
|
|
416
|
+
.setup-banner .btn { margin-left: auto; }
|
|
417
|
+
|
|
418
|
+
/* 体检结论行:allOk 绿色大字「环境就绪」/ 未就绪 amber 计数 */
|
|
419
|
+
.setup-sum { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
|
|
420
|
+
.setup-sum .ic { width: 18px; height: 18px; flex: 0 0 18px; align-self: center; }
|
|
421
|
+
.setup-sum b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
|
|
422
|
+
.setup-sum.ok { color: var(--green); }
|
|
423
|
+
.setup-sum.ok .ic { color: var(--green); }
|
|
424
|
+
.setup-sum.bad { color: #fcd34d; }
|
|
425
|
+
.setup-sum.bad .ic { color: var(--yellow); }
|
|
426
|
+
|
|
427
|
+
/* 体检九宫格:两列起自适应;失败项红描边 + amber hint 展开 */
|
|
428
|
+
.setup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 8px; }
|
|
429
|
+
.setup-item {
|
|
430
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
431
|
+
padding: 9px 11px; display: flex; flex-direction: column; gap: 5px; min-width: 0;
|
|
432
|
+
transition: border-color .18s ease;
|
|
433
|
+
}
|
|
434
|
+
.setup-item:hover { border-color: var(--border-strong); }
|
|
435
|
+
.setup-item.bad { border-color: rgba(248, 113, 113, .38); }
|
|
436
|
+
.setup-item .si-h { display: flex; align-items: center; gap: 8px; }
|
|
437
|
+
.setup-item .si-name { font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
438
|
+
.setup-item .si-h .badge { margin-left: auto; }
|
|
439
|
+
.setup-item .si-h .badge .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
440
|
+
.setup-item .si-detail { font-size: 12px; color: var(--muted); word-break: break-all; line-height: 1.5; }
|
|
441
|
+
.setup-hint {
|
|
442
|
+
display: flex; align-items: flex-start; gap: 6px;
|
|
443
|
+
font-size: 12px; line-height: 1.55; color: #fcd34d; text-align: left;
|
|
444
|
+
background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .3);
|
|
445
|
+
border-radius: 6px; padding: 6px 9px; word-break: break-all;
|
|
446
|
+
}
|
|
447
|
+
.setup-hint .ic { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 2px; }
|
|
448
|
+
|
|
449
|
+
/* 体检中骨架态:6 格脉冲占位(无渐变;reduced-motion 下随全局开关静止为恒定灰块) */
|
|
450
|
+
.setup-skel { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 8px; }
|
|
451
|
+
.skel-cell {
|
|
452
|
+
height: 58px; border-radius: 8px;
|
|
453
|
+
background: var(--panel2); border: 1px solid var(--border);
|
|
454
|
+
animation: skel-pulse 1.2s ease-in-out infinite;
|
|
455
|
+
}
|
|
456
|
+
.skel-cell:nth-child(2n) { animation-delay: .15s; }
|
|
457
|
+
.skel-cell:nth-child(3n) { animation-delay: .3s; }
|
|
458
|
+
@keyframes skel-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
|
|
459
|
+
|
|
460
|
+
/* 凭据配置指引:等宽命令块(沿用会话日志 log-view 的阅读流语言)+ 复制按钮同行 */
|
|
461
|
+
.cred-cmd { display: flex; align-items: stretch; gap: 8px; }
|
|
462
|
+
.cred-cmd pre {
|
|
463
|
+
margin: 0; flex: 1; min-width: 0; align-self: center;
|
|
464
|
+
font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--text);
|
|
465
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
466
|
+
padding: 8px 10px; white-space: pre-wrap; word-break: break-all;
|
|
467
|
+
}
|
|
468
|
+
.cred-cmd .btn { flex: 0 0 auto; align-self: center; }
|
|
469
|
+
.cred-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
470
|
+
|
|
471
|
+
/* 信任 host 编辑器:内置行只读徽标、自定义行行内删除;行样式与列管理 col-row 同语言 */
|
|
472
|
+
.host-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 2px; }
|
|
473
|
+
.host-row { display: flex; align-items: center; gap: 8px; }
|
|
474
|
+
.host-row input { flex: 1; min-width: 0; }
|
|
475
|
+
.host-row .badge { flex: 0 0 auto; white-space: nowrap; }
|
|
476
|
+
.host-row .icon-btn { flex: 0 0 auto; }
|
|
477
|
+
.host-row .icon-btn:hover { color: var(--red); }
|
|
478
|
+
.host-add { margin-top: 6px; margin-bottom: 0; }
|
|
479
|
+
|
|
480
|
+
/* ---- 弹层 ---- */
|
|
481
|
+
/* 层1 材质感:遮罩加深 + backdrop blur;面板 3 级阴影;层2 缩放+淡入进出(reduced-motion 全关) */
|
|
482
|
+
.modal-overlay {
|
|
483
|
+
position: fixed; inset: 0; background: rgba(3, 6, 10, .7); z-index: 100;
|
|
484
|
+
display: flex; align-items: flex-start; justify-content: center; padding: 7vh 16px 16px;
|
|
485
|
+
backdrop-filter: blur(6px) saturate(1.1);
|
|
486
|
+
-webkit-backdrop-filter: blur(6px) saturate(1.1);
|
|
487
|
+
animation: overlay-in .18s ease;
|
|
488
|
+
}
|
|
489
|
+
.modal-overlay.closing { opacity: 0; transition: opacity .16s ease; }
|
|
490
|
+
.modal {
|
|
491
|
+
background: rgba(22, 27, 34, .92);
|
|
492
|
+
backdrop-filter: blur(20px) saturate(1.2);
|
|
493
|
+
-webkit-backdrop-filter: blur(20px) saturate(1.2);
|
|
494
|
+
border: 1px solid var(--border-strong); border-radius: 12px;
|
|
495
|
+
width: min(520px, 94vw); max-height: 84vh; overflow: auto;
|
|
496
|
+
box-shadow: var(--shadow-3);
|
|
497
|
+
animation: modal-in .2s cubic-bezier(.2, .8, .3, 1);
|
|
498
|
+
}
|
|
499
|
+
.modal-overlay.closing .modal { transform: scale(.97) translateY(4px); transition: transform .16s ease; }
|
|
500
|
+
@keyframes overlay-in { from { opacity: 0; } }
|
|
501
|
+
@keyframes modal-in { from { opacity: 0; transform: scale(.97) translateY(8px); } }
|
|
502
|
+
.modal-wide { width: min(680px, 94vw); }
|
|
503
|
+
.modal-h {
|
|
504
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
505
|
+
padding: 12px 16px; border-bottom: 1px solid var(--border);
|
|
506
|
+
}
|
|
507
|
+
.modal-h h4 { margin: 0; font-size: 14px; }
|
|
508
|
+
.modal-x { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; padding: 2px; }
|
|
509
|
+
.modal-x:hover { color: var(--text); }
|
|
510
|
+
.modal-b { padding: 14px 16px 16px; }
|
|
511
|
+
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
|
|
512
|
+
.form-row { margin-bottom: 11px; }
|
|
513
|
+
.form-row label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
|
|
514
|
+
.form-row .req::after { content: " *"; color: var(--red); }
|
|
515
|
+
.form-err {
|
|
516
|
+
display: none; margin: 10px 0 0; padding: 8px 10px; border-radius: 7px; font-size: 12px;
|
|
517
|
+
color: #fca5a5; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4);
|
|
518
|
+
white-space: pre-wrap; word-break: break-all;
|
|
519
|
+
}
|
|
520
|
+
.form-err.show { display: block; }
|
|
521
|
+
.confirm-msg { margin: 0 0 4px; font-size: 13px; }
|
|
522
|
+
|
|
523
|
+
/* ---- 任务详情弹层(v1.4):大标题 + 徽标头 + 键值行 + 底部快捷操作 ---- */
|
|
524
|
+
.td-title { font-size: 17px; font-weight: 500; line-height: 1.4; word-break: break-all; margin-bottom: 10px; }
|
|
525
|
+
.td-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
|
|
526
|
+
.td-grid { display: flex; flex-direction: column; }
|
|
527
|
+
.td-row {
|
|
528
|
+
display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: baseline;
|
|
529
|
+
padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px;
|
|
530
|
+
}
|
|
531
|
+
.td-row:last-child { border-bottom: 0; }
|
|
532
|
+
.td-key { color: var(--muted); font-size: 12px; }
|
|
533
|
+
.td-val { min-width: 0; word-break: break-all; }
|
|
534
|
+
.td-desc { white-space: pre-wrap; line-height: 1.65; }
|
|
535
|
+
.td-empty { padding: 10px 0 4px; text-align: left; flex-direction: row; justify-content: flex-start; }
|
|
536
|
+
.td-assign { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
537
|
+
.td-assign a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); text-decoration: none; border-radius: 5px; transition: color .18s ease; }
|
|
538
|
+
.td-assign a:hover { color: #cfe1ff; text-decoration: underline; }
|
|
539
|
+
.td-assign a .badge:hover { border-color: var(--accent); }
|
|
540
|
+
.td-val a { word-break: break-all; }
|
|
541
|
+
.td-actions {
|
|
542
|
+
display: flex; align-items: center; gap: 8px;
|
|
543
|
+
margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
|
|
544
|
+
}
|
|
545
|
+
/* 状态下拉入头部徽标排(P2-3):与卡片 meta 体系同款紧凑样式,取消卡片里的右推 */
|
|
546
|
+
.td-head .status-sel { margin-left: 0; }
|
|
547
|
+
|
|
548
|
+
/* ---- v1.7 详情弹层「动态」时间轴:左侧圆点+竖线,按事件类型配色 ---- */
|
|
549
|
+
.td-tl-row .td-val { max-height: 30vh; overflow: auto; }
|
|
550
|
+
.tl { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 2px 0 2px 3px; }
|
|
551
|
+
/* 竖线:贯穿整列,圆点压在线上 */
|
|
552
|
+
.tl::before {
|
|
553
|
+
content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
|
|
554
|
+
border-radius: 1px; background: var(--border);
|
|
555
|
+
}
|
|
556
|
+
.tl-item { position: relative; display: flex; align-items: baseline; gap: 7px; padding: 3px 0 3px 20px; font-size: 12.5px; min-width: 0; }
|
|
557
|
+
.tl-dot {
|
|
558
|
+
position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-radius: 50%;
|
|
559
|
+
background: var(--muted); box-shadow: 0 0 0 3px var(--panel);
|
|
560
|
+
}
|
|
561
|
+
.tl-item .tl-body { display: inline-flex; align-items: baseline; gap: 7px; min-width: 0; flex-wrap: wrap; }
|
|
562
|
+
.tl-label { flex: 0 0 auto; font-size: 11px; color: var(--muted); background: var(--panel2); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; line-height: 1.6; }
|
|
563
|
+
.tl-text { color: var(--text); word-break: break-all; }
|
|
564
|
+
.tl-time { margin-left: auto; flex: 0 0 auto; font-size: 11px; color: var(--muted); white-space: nowrap; }
|
|
565
|
+
/* 事件类型配色:completed 绿 / status 蓝 / assign 紫 / due 黄 / priority 橙 / edit·created 灰 */
|
|
566
|
+
.tl-green .tl-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18), 0 0 6px rgba(52, 211, 153, .5); }
|
|
567
|
+
.tl-green .tl-label { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
568
|
+
.tl-blue .tl-dot { background: var(--accent); }
|
|
569
|
+
.tl-blue .tl-label { color: #93c5fd; background: rgba(59, 130, 246, .13); border-color: rgba(59, 130, 246, .35); }
|
|
570
|
+
.tl-purple .tl-dot { background: var(--purple); }
|
|
571
|
+
.tl-purple .tl-label { color: #c4b5fd; background: rgba(167, 139, 250, .13); border-color: rgba(167, 139, 250, .35); }
|
|
572
|
+
.tl-yellow .tl-dot { background: var(--yellow); }
|
|
573
|
+
.tl-yellow .tl-label { color: #fcd34d; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
|
|
574
|
+
.tl-orange .tl-dot { background: var(--orange); }
|
|
575
|
+
.tl-orange .tl-label { color: #fdba74; background: rgba(251, 146, 60, .13); border-color: rgba(251, 146, 60, .42); }
|
|
576
|
+
.tl-gray .tl-dot { background: var(--muted); }
|
|
577
|
+
/* 时间轴空态:复用统一 empty-state,左对齐小号 */
|
|
578
|
+
.td-tl-row .empty-state { padding: 8px 0 2px; flex-direction: row; justify-content: flex-start; gap: 6px; }
|
|
579
|
+
.td-tl-row .empty-state .ic { width: 14px; height: 14px; flex: 0 0 14px; }
|
|
580
|
+
|
|
581
|
+
/* ---- 执行方式分段控件(选中态主色,无渐变) ---- */
|
|
582
|
+
.seg {
|
|
583
|
+
display: inline-flex; gap: 2px; padding: 3px; width: 100%; max-width: 380px;
|
|
584
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 9px;
|
|
585
|
+
}
|
|
586
|
+
.seg-btn {
|
|
587
|
+
flex: 1; border: 0; background: transparent; color: var(--muted);
|
|
588
|
+
font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 6px; cursor: pointer;
|
|
589
|
+
transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
|
|
590
|
+
}
|
|
591
|
+
.seg-btn:hover { color: var(--text); }
|
|
592
|
+
.seg-btn.on { background: var(--accent); color: #fff; box-shadow: 0 1px 8px rgba(59, 130, 246, .35); }
|
|
593
|
+
.seg-btn.on:hover { color: #fff; }
|
|
594
|
+
|
|
595
|
+
/* ---- 折叠段(关联仓库等可选字段,默认收起) ---- */
|
|
596
|
+
.fold { margin-bottom: 11px; }
|
|
597
|
+
.fold-toggle {
|
|
598
|
+
display: inline-flex; align-items: center; gap: 5px;
|
|
599
|
+
background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px;
|
|
600
|
+
cursor: pointer; padding: 2px 0; border-radius: 4px;
|
|
601
|
+
transition: color .18s ease;
|
|
602
|
+
}
|
|
603
|
+
.fold-toggle:hover { color: var(--text); }
|
|
604
|
+
.fold-toggle .ic { width: 14px; height: 14px; flex: 0 0 14px; transition: transform .18s ease; }
|
|
605
|
+
.fold-toggle.open .ic { transform: rotate(180deg); }
|
|
606
|
+
.fold-body { margin-top: 8px; }
|
|
607
|
+
|
|
608
|
+
/* ---- 描述字数计数(超限红字) ---- */
|
|
609
|
+
.char-count {
|
|
610
|
+
font-size: 11px; color: var(--muted); text-align: right; margin-top: 3px;
|
|
611
|
+
font-variant-numeric: tabular-nums; transition: color .18s ease;
|
|
612
|
+
}
|
|
613
|
+
.char-count.over { color: var(--red); }
|
|
614
|
+
|
|
615
|
+
/* ---- 任务雷达(v1.5):两段式 tab + 纪要池表 + 候选卡流 ---- */
|
|
616
|
+
.radar-tabs {
|
|
617
|
+
display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 12px; width: 100%; max-width: 300px;
|
|
618
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 9px;
|
|
619
|
+
}
|
|
620
|
+
.radar-tabs .n { color: inherit; opacity: .65; margin-left: 2px; }
|
|
621
|
+
.pill.warn { color: #fcd34d; border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
|
|
622
|
+
.radar-check { padding-right: 0; }
|
|
623
|
+
.radar-check input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
|
|
624
|
+
.radar-title { max-width: 460px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
|
|
625
|
+
.radar-state { white-space: nowrap; }
|
|
626
|
+
.radar-state .btn { margin-left: 6px; }
|
|
627
|
+
/* 纪要原文弹层:说话人分段阅读流 */
|
|
628
|
+
.radar-transcript { max-height: 46vh; overflow: auto; display: flex; flex-direction: column; gap: 7px; }
|
|
629
|
+
.radar-seg { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
|
|
630
|
+
.radar-spk {
|
|
631
|
+
flex: 0 0 auto; font-size: 11px; color: #cfe1ff; background: var(--accent-soft);
|
|
632
|
+
border: 1px solid rgba(59, 130, 246, .35); border-radius: 5px; padding: 0 6px;
|
|
633
|
+
}
|
|
634
|
+
.radar-seg-text { word-break: break-all; }
|
|
635
|
+
.radar-quote {
|
|
636
|
+
font-size: 12px; color: #c4b5fd; background: rgba(167, 139, 250, .1);
|
|
637
|
+
border-left: 2px solid rgba(167, 139, 250, .5); border-radius: 0 6px 6px 0;
|
|
638
|
+
padding: 5px 9px; margin: 4px 0; word-break: break-all; font-style: italic;
|
|
639
|
+
}
|
|
640
|
+
.radar-noise-item { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px solid var(--border); }
|
|
641
|
+
.radar-noise-item:last-child { border-bottom: 0; }
|
|
642
|
+
|
|
643
|
+
/* 候选卡流:单列卡片,1 级阴影 + hover 升 2 级,与看板任务卡同语言 */
|
|
644
|
+
.cand-flow { display: flex; flex-direction: column; gap: 10px; }
|
|
645
|
+
.cand {
|
|
646
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px;
|
|
647
|
+
box-shadow: var(--shadow-1);
|
|
648
|
+
transition: border-color .18s ease, box-shadow .18s ease;
|
|
649
|
+
animation: task-in .32s ease backwards;
|
|
650
|
+
animation-delay: calc(min(var(--i, 0), 8) * 45ms);
|
|
651
|
+
}
|
|
652
|
+
.cand:hover { border-color: rgba(59, 130, 246, .45); box-shadow: var(--shadow-2); }
|
|
653
|
+
.cand-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
|
|
654
|
+
.cand-h input { width: 15px; height: 15px; flex: 0 0 15px; accent-color: var(--accent); cursor: pointer; }
|
|
655
|
+
.cand-title { font-size: 14px; font-weight: 500; word-break: break-all; max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
656
|
+
.cand-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; white-space: pre-wrap; word-break: break-all; }
|
|
657
|
+
.cand-why { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
658
|
+
.cand-why .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
659
|
+
.cand-meta { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 2px; }
|
|
660
|
+
.cand-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
|
|
661
|
+
/* 置信度三档徽标:高绿 / 中蓝 / 低灰(数据从第一天攒,误识率面板另用红绿) */
|
|
662
|
+
.conf-high { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
663
|
+
.conf-mid { color: #93c5fd; background: rgba(59, 130, 246, .13); border-color: rgba(59, 130, 246, .35); }
|
|
664
|
+
.conf-low { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
665
|
+
|
|
666
|
+
/* 匹配依据小字(P1-A):绿点 = 名册命中(alias/name);amber = 未归人引导(从下拉选人可记住映射) */
|
|
667
|
+
.match-hint {
|
|
668
|
+
display: flex; align-items: center; gap: 6px;
|
|
669
|
+
font-size: 12px; margin: -2px 0 9px; line-height: 1.5;
|
|
670
|
+
}
|
|
671
|
+
.match-hint .mdot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; }
|
|
672
|
+
.match-hint.ok { color: #6ee7b7; }
|
|
673
|
+
.match-hint.ok .mdot { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, .5); }
|
|
674
|
+
.match-hint.warn { color: #fcd34d; }
|
|
675
|
+
.match-hint.warn .mdot { background: #fcd34d; box-shadow: 0 0 6px rgba(251, 191, 36, .45); }
|
|
676
|
+
|
|
677
|
+
/* ---- v2.1-D 批量确认清单:弹层内所选候选逐行列出,可滚动(max-height)核对 ---- */
|
|
678
|
+
.bc-list {
|
|
679
|
+
max-height: 40vh; overflow: auto;
|
|
680
|
+
display: flex; flex-direction: column;
|
|
681
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
682
|
+
margin-top: 8px;
|
|
683
|
+
}
|
|
684
|
+
.bc-item {
|
|
685
|
+
display: flex; align-items: center; gap: 10px;
|
|
686
|
+
padding: 7px 11px; font-size: 12.5px;
|
|
687
|
+
border-bottom: 1px solid var(--border);
|
|
688
|
+
}
|
|
689
|
+
.bc-item:last-child { border-bottom: 0; }
|
|
690
|
+
.bc-title {
|
|
691
|
+
flex: 1 1 auto; min-width: 0;
|
|
692
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
693
|
+
}
|
|
694
|
+
.bc-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
695
|
+
.bc-who {
|
|
696
|
+
flex: 0 0 auto; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
697
|
+
display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
|
|
698
|
+
}
|
|
699
|
+
.bc-who .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
700
|
+
.bc-item .badge { flex: 0 0 auto; }
|
|
701
|
+
/* 收件箱表头全选(v2.1-D):与徽标同排的小勾选 */
|
|
702
|
+
.cand-all {
|
|
703
|
+
display: inline-flex; align-items: center; gap: 5px; cursor: pointer; flex: 0 0 auto;
|
|
704
|
+
user-select: none;
|
|
705
|
+
}
|
|
706
|
+
.cand-all input {
|
|
707
|
+
width: 15px; height: 15px; flex: 0 0 15px; accent-color: var(--accent); cursor: pointer;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/* 最近一次操作结果条(P2-3):同步/分析结果持久化展示,替代一闪而过的 toast */
|
|
711
|
+
.radar-lastjob {
|
|
712
|
+
background: var(--panel); border: 1px solid var(--border); border-radius: 9px;
|
|
713
|
+
padding: 9px 13px; margin-bottom: 12px; font-size: 12.5px;
|
|
714
|
+
}
|
|
715
|
+
.radar-lastjob .lj-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
716
|
+
.radar-lastjob .lj-h > b { font-weight: 500; }
|
|
717
|
+
.radar-lastjob .lj-h > span { color: var(--muted); }
|
|
718
|
+
.radar-lastjob .lj-cap { flex: 0 0 auto; }
|
|
719
|
+
.radar-lastjob .lj-err { color: #fca5a5; word-break: break-all; }
|
|
720
|
+
.lj-items { margin-top: 7px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--border); padding-top: 7px; }
|
|
721
|
+
.lj-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
|
|
722
|
+
.lj-item .lj-state { flex: 0 0 auto; }
|
|
723
|
+
.lj-item.ok .lj-state { color: #6ee7b7; }
|
|
724
|
+
.lj-item.bad .lj-state { color: #fca5a5; }
|
|
725
|
+
.lj-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
726
|
+
.lj-extra { flex: 0 0 auto; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40%; }
|
|
727
|
+
.lj-dur { margin-left: auto; flex: 0 0 auto; color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
728
|
+
.lj-item .btn { flex: 0 0 auto; }
|
|
729
|
+
|
|
730
|
+
/* origin 溯源(P2-1):任务卡小雷达徽标 + 详情弹层来源区块 */
|
|
731
|
+
.origin-tag .ic, .td-origin .origin-type .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
732
|
+
.td-origin { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
|
|
733
|
+
.td-origin .origin-fold { margin: 0; }
|
|
734
|
+
.td-origin .radar-quote { margin: 2px 0 0; max-width: 560px; }
|
|
735
|
+
.td-origin .origin-link-none { display: inline-block; }
|
|
736
|
+
|
|
737
|
+
/* ---- v2.8 会话列表 + 内容阅读器(SPEC-READER v2.3):活动条目钻取弹层 ----
|
|
738
|
+
旧会话日志弹层样式(.modal-log/.log-meta/.log-trunc/.log-view/.log-body)随会话登记表退役删除;
|
|
739
|
+
新样式配色沿用 v1.3 徽标词表与既有面板语言(panel2 底 / subtle-border / 低透明徽标),零新增色值 */
|
|
740
|
+
.slist { display: flex; flex-direction: column; min-width: 0; max-height: 56vh; overflow: auto; }
|
|
741
|
+
.slist-row {
|
|
742
|
+
display: flex; align-items: center; gap: 10px; min-width: 0;
|
|
743
|
+
padding: 9px 10px; border-bottom: 1px solid var(--border); cursor: pointer;
|
|
744
|
+
transition: background-color .15s ease;
|
|
745
|
+
}
|
|
746
|
+
.slist-row:hover { background: rgba(148, 163, 184, .055); }
|
|
747
|
+
.slist-row:last-child { border-bottom: 0; }
|
|
748
|
+
.slist-row .act-agent { flex: 0 0 auto; min-width: 76px; justify-content: center; }
|
|
749
|
+
.sr-body { flex: 1; min-width: 0; }
|
|
750
|
+
.sr-t { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
751
|
+
.sr-p { font-size: 11px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
752
|
+
.sr-ago { flex: 0 0 auto; white-space: nowrap; }
|
|
753
|
+
.slist-row .sr-attach { flex: 0 0 auto; }
|
|
754
|
+
.slist .empty-state { padding: 30px 8px; }
|
|
755
|
+
|
|
756
|
+
/* 阅读器:宽弹层 + 专属滚动容器(分层弹层栈内滚动不与页面耦合;bg 底与面板底区分阅读区) */
|
|
757
|
+
.modal-reader { width: min(860px, 96vw); }
|
|
758
|
+
.rd-meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
|
|
759
|
+
.rd-meta-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
760
|
+
.rd-meta-h .act-agent { flex: 0 0 auto; }
|
|
761
|
+
.rd-title { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
|
|
762
|
+
.rd-meta-s { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
|
|
763
|
+
.rd-meta-s .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46%; }
|
|
764
|
+
.rd-trunc {
|
|
765
|
+
display: flex; align-items: center; gap: 7px; font-size: 12px; color: #fcd34d;
|
|
766
|
+
background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35);
|
|
767
|
+
border-radius: 7px; padding: 6px 10px; margin-bottom: 10px;
|
|
768
|
+
}
|
|
769
|
+
.rd-trunc .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
770
|
+
.rd-body { position: relative; }
|
|
771
|
+
.rd-scroll {
|
|
772
|
+
max-height: 54vh; overflow: auto; overscroll-behavior: contain;
|
|
773
|
+
background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
|
|
774
|
+
}
|
|
775
|
+
.rd-sentinel { text-align: center; padding: 8px 0 2px; }
|
|
776
|
+
.rd-feed { display: flex; flex-direction: column; padding: 4px 14px 14px; }
|
|
777
|
+
/* 三分视觉(§4):用户=左 accent 竖条+「用户」标浅底块;助手=「助手」标常规底块;
|
|
778
|
+
工具调用=灰底 mono 折叠块(折叠态=工具名+状态徽标),与对话流显著区分 */
|
|
779
|
+
.rd-msg { margin-top: 12px; min-width: 0; }
|
|
780
|
+
.rd-user {
|
|
781
|
+
border-left: 3px solid var(--accent); background: var(--accent-soft);
|
|
782
|
+
border-radius: 0 8px 8px 0; padding: 8px 12px;
|
|
783
|
+
}
|
|
784
|
+
.rd-asst { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; }
|
|
785
|
+
.rd-role { font-size: 11px; color: #93c5fd; margin-bottom: 3px; user-select: none; }
|
|
786
|
+
.rd-asst .rd-role { color: var(--muted); }
|
|
787
|
+
.rd-text { font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
|
|
788
|
+
.rd-ts { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
|
|
789
|
+
.rd-tool { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
|
|
790
|
+
.rd-tool-h {
|
|
791
|
+
display: flex; align-items: center; gap: 7px; width: 100%; text-align: left;
|
|
792
|
+
background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px;
|
|
793
|
+
padding: 7px 10px; cursor: pointer; transition: color .15s ease;
|
|
794
|
+
}
|
|
795
|
+
.rd-tool-h:hover { color: var(--text); }
|
|
796
|
+
.rd-tool-h .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
797
|
+
.rd-tool-name { font-family: var(--mono); color: var(--text); }
|
|
798
|
+
.rd-tool-h .badge { flex: 0 0 auto; }
|
|
799
|
+
.rd-tool-h .rd-chev { margin-left: auto; display: inline-flex; }
|
|
800
|
+
.rd-tool-h .rd-chev .ic { transition: transform .15s ease; }
|
|
801
|
+
.rd-tool-h.open .rd-chev .ic { transform: rotate(180deg); }
|
|
802
|
+
.rd-tool-b { border-top: 1px solid var(--border); padding: 8px 10px; }
|
|
803
|
+
.rd-tool-b pre {
|
|
804
|
+
margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.55;
|
|
805
|
+
color: var(--text); white-space: pre-wrap; word-break: break-all;
|
|
806
|
+
}
|
|
807
|
+
.rd-tool .rd-ts { padding: 0 10px 7px; }
|
|
808
|
+
/* 「回到底部」浮动按钮:滚动容器右下角悬浮(层2 过渡语言,层3 阴影) */
|
|
809
|
+
.rd-gobottom {
|
|
810
|
+
position: absolute; right: 14px; bottom: 14px; z-index: 5;
|
|
811
|
+
padding: 5px 12px; font-size: 12px; box-shadow: var(--shadow-2);
|
|
812
|
+
}
|
|
813
|
+
.rd-degraded { padding: 34px 8px; }
|
|
814
|
+
.rd-actions { align-items: center; }
|
|
815
|
+
|
|
816
|
+
/* 运行徽标绿点呼吸(reduced-motion 下随总开关一并静止):原网关动态 running 点,
|
|
817
|
+
现由任务拓扑运行中徽标(views/topology.js)继续复用 */
|
|
818
|
+
.gwdot-pulse {
|
|
819
|
+
width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px;
|
|
820
|
+
background: var(--green); box-shadow: 0 0 6px rgba(52, 211, 153, .5);
|
|
821
|
+
animation: gwdot-pulse 1.8s ease-in-out infinite;
|
|
822
|
+
}
|
|
823
|
+
@keyframes gwdot-pulse {
|
|
824
|
+
0%, 100% { opacity: 1; box-shadow: 0 0 3px rgba(52, 211, 153, .35); }
|
|
825
|
+
50% { opacity: .45; box-shadow: 0 0 8px rgba(52, 211, 153, .85); }
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/* ---- 智能体动态(v2.3):跨源活动流 / 四源徽标 / 来源健康徽标 / 智能体卡最近工作 ----
|
|
829
|
+
配色沿用 v1.3 徽标词表(低透明底 + 同色描边):zcode 蓝=b-pr 蓝 / claude 橙=prio-med 橙 /
|
|
830
|
+
dsh 绿=b-alive 绿 / workbuddy 粉=调色板 #f472b6 同族 */
|
|
831
|
+
.act-sources { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
|
|
832
|
+
/* v2.8:条目可点(钻取该智能体的会话列表)——cursor + hover 浅底 + hover「查看会话」提示(§4 affordance) */
|
|
833
|
+
.act-item {
|
|
834
|
+
display: flex; align-items: flex-start; gap: 9px; padding: 9px 8px;
|
|
835
|
+
border-bottom: 1px solid var(--border); border-radius: 7px; cursor: pointer;
|
|
836
|
+
transition: background-color .15s ease;
|
|
837
|
+
}
|
|
838
|
+
.act-item:hover { background: rgba(148, 163, 184, .05); }
|
|
839
|
+
.act-item:last-child { border-bottom: 0; }
|
|
840
|
+
.act-go {
|
|
841
|
+
display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; align-self: center;
|
|
842
|
+
font-size: 12px; color: #93c5fd; opacity: 0; white-space: nowrap; transition: opacity .15s ease;
|
|
843
|
+
}
|
|
844
|
+
.act-go .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
845
|
+
.act-item:hover .act-go, .act-item:focus-visible .act-go { opacity: 1; }
|
|
846
|
+
.act-item .act-agent { flex: 0 0 auto; margin-top: 1px; min-width: 76px; justify-content: center; }
|
|
847
|
+
.act-body { flex: 1; min-width: 0; }
|
|
848
|
+
.act-h { display: flex; align-items: baseline; gap: 8px; }
|
|
849
|
+
.act-title { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
|
|
850
|
+
.act-h .act-state { flex: 0 0 auto; }
|
|
851
|
+
.act-h .act-ago { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
|
|
852
|
+
.act-proj { font-size: 11px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
853
|
+
/* 内容预览:muted 两行截断,全文走 title 悬浮(-webkit-line-clamp 为引擎标准做法,无 JS 依赖) */
|
|
854
|
+
.act-preview {
|
|
855
|
+
color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 3px;
|
|
856
|
+
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
|
857
|
+
word-break: break-all;
|
|
858
|
+
}
|
|
859
|
+
/* 项目目录分段 tab(v2.6):成员页 .seg 两 tab 的宽体变体——目录数可多于两个,
|
|
860
|
+
放宽 max-width 并允许换行;条目行 projectId 等宽小字(.act-proj,v2.3 样式沿用) */
|
|
861
|
+
#act-tabs { max-width: none; flex-wrap: wrap; }
|
|
862
|
+
#act-tabs .seg-btn { flex: 0 1 auto; white-space: nowrap; }
|
|
863
|
+
/* act-group 类名仍被团队动态页 feed 提交组卡复用(.feed .act-group 另行覆盖观感),
|
|
864
|
+
以下两条基础分隔规则保留;智能体动态 v2.4 组头折叠样式已随 v2.6 tab 改版下线 */
|
|
865
|
+
.act-group { border-bottom: 1px solid var(--border); }
|
|
866
|
+
.act-group:last-child { border-bottom: 0; }
|
|
867
|
+
/* 五源徽标 */
|
|
868
|
+
.ag-zcode { color: #93c5fd; background: rgba(59, 130, 246, .13); border-color: rgba(59, 130, 246, .35); }
|
|
869
|
+
.ag-claude { color: #fdba74; background: rgba(251, 146, 60, .13); border-color: rgba(251, 146, 60, .42); }
|
|
870
|
+
.ag-dsh { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
871
|
+
/* v2.9.31 智能体动态重构:三段式叙事 + 状态中文化 + 保守合并 + tab 收敛 */
|
|
872
|
+
.act-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; line-height: 1.45; }
|
|
873
|
+
.act-proj-chip {
|
|
874
|
+
flex: 0 0 auto; font-size: 11px; font-family: var(--mono); color: var(--muted);
|
|
875
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 4px;
|
|
876
|
+
padding: 1px 6px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
877
|
+
}
|
|
878
|
+
.st-run { color: #6ee7b7; background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); }
|
|
879
|
+
.st-fail { color: #fca5a5; background: rgba(248, 113, 113, .13); border-color: rgba(248, 113, 113, .4); }
|
|
880
|
+
.st-done, .st-idle { color: var(--muted); background: var(--panel2); border-color: var(--border); }
|
|
881
|
+
.act-running { margin-bottom: 6px; }
|
|
882
|
+
.act-day-h {
|
|
883
|
+
display: flex; align-items: center; gap: 7px;
|
|
884
|
+
font-size: 12px; font-weight: 600; color: var(--muted);
|
|
885
|
+
padding: 8px 2px 5px; text-transform: none;
|
|
886
|
+
}
|
|
887
|
+
.pulse-dot {
|
|
888
|
+
width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px;
|
|
889
|
+
background: var(--green); animation: fde-pulse 1.6s ease-in-out infinite;
|
|
890
|
+
}
|
|
891
|
+
@keyframes fde-pulse {
|
|
892
|
+
0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .45); }
|
|
893
|
+
50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
|
|
894
|
+
}
|
|
895
|
+
.act-merge-n { flex: 0 0 auto; color: var(--accent); background: var(--accent-soft); border-color: rgba(59, 130, 246, .4); font-variant-numeric: tabular-nums; }
|
|
896
|
+
.act-fold-toggle {
|
|
897
|
+
align-self: flex-start; margin: 2px 0 0; font-size: 11.5px; cursor: pointer;
|
|
898
|
+
background: none; border: none; color: #93c5fd; padding: 2px 0;
|
|
899
|
+
}
|
|
900
|
+
.act-fold-toggle:hover { text-decoration: underline; }
|
|
901
|
+
.act-fold-body { width: 100%; }
|
|
902
|
+
.act-sub { padding-left: 12px; border-left: 2px solid var(--border); margin: 2px 0; }
|
|
903
|
+
.act-sub .act-item { padding: 6px 6px; }
|
|
904
|
+
.act-sub .act-title { font-size: 12.5px; }
|
|
905
|
+
.seg-select {
|
|
906
|
+
background: var(--panel); color: var(--text); border: 1px solid var(--border);
|
|
907
|
+
border-radius: 6px; font-size: 12.5px; padding: 4px 8px;
|
|
908
|
+
}
|
|
909
|
+
.seg-select:focus { outline: none; border-color: var(--accent); }
|
|
910
|
+
.seg-btn.seg-unknown { opacity: .55; }
|
|
911
|
+
.act-day-toggle { margin: 2px 0 6px; }
|
|
912
|
+
.ag-workbuddy { color: #f9a8d4; background: rgba(244, 114, 182, .13); border-color: rgba(244, 114, 182, .35); }
|
|
913
|
+
.ag-codex { color: #a5f3fc; background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .32); }
|
|
914
|
+
/* v2.8:智能体观测卡「最近工作」行样式(.agent-card .recent/.rw-*)随观测卡阵退役一并删除 */
|
|
915
|
+
|
|
916
|
+
/* ---- 层2 呼吸感总开关:reduced-motion 时全部动效关闭 ---- */
|
|
917
|
+
@media (prefers-reduced-motion: reduce) {
|
|
918
|
+
*, *::before, *::after {
|
|
919
|
+
animation: none !important;
|
|
920
|
+
transition: none !important;
|
|
921
|
+
scroll-behavior: auto !important;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/* ---- toast ---- */
|
|
926
|
+
#toasts {
|
|
927
|
+
position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
|
|
928
|
+
z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center;
|
|
929
|
+
pointer-events: none; width: min(560px, 92vw);
|
|
930
|
+
}
|
|
931
|
+
.toast {
|
|
932
|
+
max-width: 100%; padding: 9px 16px; border-radius: 8px; font-size: 13px;
|
|
933
|
+
opacity: 0; transform: translateY(-8px); transition: all .22s ease;
|
|
934
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, .45); word-break: break-all;
|
|
935
|
+
}
|
|
936
|
+
.toast.in { opacity: 1; transform: none; }
|
|
937
|
+
.toast-error { background: #2a1518; color: #fca5a5; border: 1px solid rgba(248, 113, 113, .55); }
|
|
938
|
+
.toast-success { background: #12271f; color: #6ee7b7; border: 1px solid rgba(52, 211, 153, .45); }
|
|
939
|
+
/* 中性轻提示(v1.8):说话人未映射未记别名等非成败信息,蓝灰不抢成败语义 */
|
|
940
|
+
.toast-info { background: #14202e; color: #93c5fd; border: 1px solid rgba(59, 130, 246, .45); }
|
|
941
|
+
|
|
942
|
+
@media (max-width: 860px) {
|
|
943
|
+
.side { width: 64px; flex: 0 0 64px; }
|
|
944
|
+
.logo div, .side-foot span:last-child { display: none; }
|
|
945
|
+
.nav button { justify-content: center; padding: 9px 6px; }
|
|
946
|
+
.nav button .ic + * { display: none; }
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/* ---- 任务叙事线第一批:任务更新候选卡 / 时间轴 memo·artifact 色档 / 成果区块 ----
|
|
950
|
+
配色沿用 v1.3 徽标词表(低透明底 + 同色描边):任务更新·纪要提及 = 青 teal,成果 = 绿(tl-green 复用) */
|
|
951
|
+
.b-upd { color: #5eead4; background: rgba(45, 212, 191, .12); border-color: rgba(45, 212, 191, .35); }
|
|
952
|
+
.b-upd .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
953
|
+
/* update 候选卡:关联任务行(在册可点跳看板高亮,已删除灰字) */
|
|
954
|
+
.upd-task-line { display: flex; align-items: center; gap: 6px; font-size: 12.5px; margin: 2px 0 6px; }
|
|
955
|
+
.upd-task-line .ic { width: 13px; height: 13px; flex: 0 0 13px; color: var(--muted); }
|
|
956
|
+
/* update 确认弹层的关联任务行 */
|
|
957
|
+
.upd-modal-task { display: flex; align-items: center; gap: 6px; font-size: 13px; }
|
|
958
|
+
.upd-modal-task .ic { width: 14px; height: 14px; flex: 0 0 14px; color: var(--muted); }
|
|
959
|
+
/* 时间轴:memo 青色档(与既有 completed 绿 / status 蓝同构) */
|
|
960
|
+
.tl-teal .tl-dot { background: #2dd4bf; box-shadow: 0 0 0 3px rgba(45, 212, 191, .16), 0 0 6px rgba(45, 212, 191, .5); }
|
|
961
|
+
.tl-teal .tl-label { color: #5eead4; background: rgba(45, 212, 191, .12); border-color: rgba(45, 212, 191, .32); }
|
|
962
|
+
.tl-art-link { word-break: break-all; }
|
|
963
|
+
/* 详情弹层成果区块:行卡式列表(复用面板 2 级底 + subtle-border 语言) */
|
|
964
|
+
.td-art { display: flex; flex-direction: column; align-items: stretch; }
|
|
965
|
+
.art-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
|
|
966
|
+
.art-item {
|
|
967
|
+
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
|
|
968
|
+
font-size: 12.5px; padding: 5px 9px; border-radius: 7px;
|
|
969
|
+
background: var(--panel2); border: 1px solid var(--border);
|
|
970
|
+
}
|
|
971
|
+
.art-item .art-url { flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
972
|
+
.art-item .art-at { flex: 0 0 auto; }
|
|
973
|
+
.art-item .btn { flex: 0 0 auto; }
|
|
974
|
+
.art-none { padding: 2px 0; }
|
|
975
|
+
/* v2.9.15:带提交说明的成果卡(说明主行 + 仓库/链接/ref 元行 + 正文首段弱化行),动态流同构 */
|
|
976
|
+
.art-item.art-card { flex-direction: column; align-items: stretch; gap: 3px; padding: 7px 10px; }
|
|
977
|
+
.art-card .art-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
978
|
+
.art-card .art-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
979
|
+
.art-card .art-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; padding-left: 2px; }
|
|
980
|
+
.art-card .art-body {
|
|
981
|
+
font-size: 12px; color: var(--muted); white-space: pre-line; word-break: break-word;
|
|
982
|
+
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
|
983
|
+
background: var(--panel); border-radius: 6px; padding: 4px 8px;
|
|
984
|
+
}
|
|
985
|
+
/* v2.9.15:详情弹层长列表统一折叠体(成果/动态/日报三处通用)——折叠体自带纵排节奏,箭头随开合旋转 */
|
|
986
|
+
.fold-list-body { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 8px; }
|
|
987
|
+
.fold-list-body > * { margin: 0; }
|
|
988
|
+
.btn[data-act="fold-list"] .ic { transition: transform .15s ease; }
|
|
989
|
+
.btn[data-act="fold-list"].open .ic { transform: rotate(180deg); }
|
|
990
|
+
/* 分支约定(本批):详情「分支 / 仓库」行布局 / 自动归因徽标(紫,区别于手动挂接的蓝 PR·绿 commit)/
|
|
991
|
+
无分支时成果区顶部淡提示(虚线描边弱化存在感,拿到约定名后即消失) */
|
|
992
|
+
.td-branch { display: flex; flex-direction: column; gap: 6px; }
|
|
993
|
+
.branch-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
994
|
+
.branch-line .btn { flex: 0 0 auto; }
|
|
995
|
+
.b-auto { color: #c4b5fd; background: rgba(167, 139, 250, .13); border-color: rgba(167, 139, 250, .35); }
|
|
996
|
+
.branch-hint {
|
|
997
|
+
display: flex; align-items: center; gap: 6px;
|
|
998
|
+
font-size: 12px; color: var(--muted);
|
|
999
|
+
background: var(--panel); border: 1px dashed var(--border-strong);
|
|
1000
|
+
border-radius: 7px; padding: 6px 10px; margin-bottom: 8px;
|
|
1001
|
+
}
|
|
1002
|
+
.branch-hint .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
1003
|
+
/* 团队动态:归属任务摘要卡(弹层内只读区) */
|
|
1004
|
+
.attach-summary {
|
|
1005
|
+
display: flex; flex-direction: column; gap: 4px;
|
|
1006
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1007
|
+
padding: 10px 12px; margin-bottom: 12px; font-size: 13px;
|
|
1008
|
+
}
|
|
1009
|
+
.attach-summary .attach-title { font-weight: 500; word-break: break-all; }
|
|
1010
|
+
.act-attach { flex: 0 0 auto; }
|
|
1011
|
+
|
|
1012
|
+
/* ---- v2.0 验收人 ----
|
|
1013
|
+
验收徽标:金色系(与时间轴 accept 节点同色族);acc-hot = done/待验证态更醒目(加亮 + 微光) */
|
|
1014
|
+
.b-acc { color: #fcd34d; background: rgba(251, 191, 36, .10); border-color: rgba(251, 191, 36, .28); }
|
|
1015
|
+
.b-acc .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
1016
|
+
.b-acc.acc-hot {
|
|
1017
|
+
color: #fde68a; background: rgba(251, 191, 36, .20); border-color: rgba(251, 191, 36, .6);
|
|
1018
|
+
box-shadow: 0 0 8px rgba(251, 191, 36, .22);
|
|
1019
|
+
}
|
|
1020
|
+
/* 详情时间轴 accept 节点:金色(与 due 黄同源,但独立色档,验收动作一眼可辨) */
|
|
1021
|
+
.tl-gold .tl-dot { background: var(--yellow); box-shadow: 0 0 0 3px rgba(251, 191, 36, .16), 0 0 6px rgba(251, 191, 36, .55); }
|
|
1022
|
+
.tl-gold .tl-label { color: #fcd34d; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
|
|
1023
|
+
/* 任务卡验收人小徽标:窄列渐进收敛在成员徽标之后让位 */
|
|
1024
|
+
@container (max-width: 199px) { .task .meta .acc-tag { display: none; } }
|
|
1025
|
+
|
|
1026
|
+
/* ---- v2.0 团队动态产品化 ----
|
|
1027
|
+
actor 头像圆 / 动词化标题 / 提交说明行 / 提交组卡 / 过滤 chips / bot 静音开关 */
|
|
1028
|
+
.act-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 10px; }
|
|
1029
|
+
.act-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; }
|
|
1030
|
+
.chip {
|
|
1031
|
+
background: var(--panel2); border: 1px solid var(--border); color: var(--muted);
|
|
1032
|
+
font: inherit; font-size: 12px; border-radius: 99px; padding: 2px 11px; cursor: pointer;
|
|
1033
|
+
transition: background-color .18s ease, border-color .18s ease, color .18s ease;
|
|
1034
|
+
}
|
|
1035
|
+
.chip:hover { color: var(--text); border-color: var(--border-strong); }
|
|
1036
|
+
.chip.on { background: var(--accent-soft); border-color: rgba(59, 130, 246, .5); color: #cfe1ff; }
|
|
1037
|
+
.act-avatar {
|
|
1038
|
+
width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center;
|
|
1039
|
+
justify-content: center; font-size: 9px; color: #fff; flex: 0 0 20px; font-weight: 500;
|
|
1040
|
+
letter-spacing: .3px; margin-top: 2px;
|
|
1041
|
+
}
|
|
1042
|
+
/* 名册未登记 / 空 actor:中性机器人圆(绝不显示 "unknown" 字样) */
|
|
1043
|
+
.act-avatar.bot { background: var(--panel2); border: 1px solid var(--border-strong); color: var(--muted); }
|
|
1044
|
+
.act-avatar.bot .ic { width: 12px; height: 12px; flex: 0 0 12px; }
|
|
1045
|
+
.act-verb { color: var(--muted); }
|
|
1046
|
+
/* 提交说明行:messageBody 非空才出;muted 单行截断,title 挂全文 */
|
|
1047
|
+
.fi-msg {
|
|
1048
|
+
color: var(--muted); font-size: 12px; margin-top: 2px; min-width: 0;
|
|
1049
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all;
|
|
1050
|
+
}
|
|
1051
|
+
/* 提交组卡:2 级底 + subtle-border 卡片语言,组内逐条 sha + title */
|
|
1052
|
+
.feed .act-group {
|
|
1053
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1054
|
+
padding: 8px 11px;
|
|
1055
|
+
}
|
|
1056
|
+
.act-group .act-avatar { margin-top: 1px; }
|
|
1057
|
+
.act-group-list { display: flex; flex-direction: column; margin-top: 6px; }
|
|
1058
|
+
.act-commit {
|
|
1059
|
+
display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0;
|
|
1060
|
+
padding: 4px 0; border-bottom: 1px solid var(--border); font-size: 12.5px;
|
|
1061
|
+
}
|
|
1062
|
+
.act-commit:last-child { border-bottom: 0; }
|
|
1063
|
+
.act-sha { flex: 0 0 auto; font-size: 11.5px; text-decoration: none; }
|
|
1064
|
+
a.act-sha { color: #93c5fd; }
|
|
1065
|
+
a.act-sha:hover { text-decoration: underline; }
|
|
1066
|
+
.ac-title { flex: 1 1 140px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1067
|
+
.ac-matches { flex: 0 0 auto; }
|
|
1068
|
+
.ac-matches .match-link { margin-right: 0; }
|
|
1069
|
+
.act-commit .t { flex: 0 0 auto; font-size: 11px; }
|
|
1070
|
+
.act-commit .fi-msg { flex-basis: 100%; margin-top: 0; }
|
|
1071
|
+
.act-commit .ac-actions { flex: 0 0 auto; }
|
|
1072
|
+
.act-commit .ac-actions .btn { padding: 1px 7px; font-size: 11px; }
|
|
1073
|
+
|
|
1074
|
+
/* ---- 任务拓扑(v2.2 → v2.9 迁居总览页):任务 → 派生 AI 会话 → 成果,渲染在 views/topology.js ----
|
|
1075
|
+
宿主容器沿用通用 .panelbox(总览 #ov-topo 与原智能体页 #topo-panel 同类,零新增选择器/色值);
|
|
1076
|
+
v2.9.16 起仅树视图(DOM 缩进行)。配色沿用 v1.3 徽标色语言(零新增色值) */
|
|
1077
|
+
.topo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
1078
|
+
.topo-head .panel-title { margin: 0; }
|
|
1079
|
+
.topo-only-active {
|
|
1080
|
+
display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted);
|
|
1081
|
+
cursor: pointer; user-select: none; white-space: nowrap;
|
|
1082
|
+
}
|
|
1083
|
+
.topo-only-active:hover { color: var(--text); }
|
|
1084
|
+
.topo-only-active input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
|
|
1085
|
+
/* v2.9.15:面板体限高 + 纵向滚动——总览页版面不再被长任务(几十条成果)撑爆;折叠/选中语义不变 */
|
|
1086
|
+
.topo-body { margin-top: 10px; min-width: 0; max-height: 480px; overflow-y: auto; overscroll-behavior: contain; }
|
|
1087
|
+
.topo-xn { color: #6ee7b7; background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .35); }
|
|
1088
|
+
/* v2.9.16:SVG 工作流图模式整体删除(业主实测否决:三列图在长任务场景要么节点刷屏要么大片空白),
|
|
1089
|
+
拓扑收敛为树视图单形态;.topo-svg/.topo-node/.edge 系列规则随之移除 */
|
|
1090
|
+
|
|
1091
|
+
/* -- 树视图(DOM 缩进行)-- */
|
|
1092
|
+
.topo-tree { display: flex; flex-direction: column; gap: 2px; }
|
|
1093
|
+
.topo-ttask {
|
|
1094
|
+
display: flex; align-items: center; gap: 8px; min-width: 0;
|
|
1095
|
+
padding: 6px 8px; border-radius: 7px; cursor: pointer;
|
|
1096
|
+
transition: background-color .18s ease, opacity .18s ease;
|
|
1097
|
+
}
|
|
1098
|
+
.topo-ttask:hover { background: var(--panel2); }
|
|
1099
|
+
.topo-ttask .tt { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1100
|
+
.topo-ttask > .muted.small, .topo-ttask .badge { flex: 0 0 auto; }
|
|
1101
|
+
.topo-ttask .muted.small .ic { width: 11px; height: 11px; flex: 0 0 11px; vertical-align: -1px; }
|
|
1102
|
+
.topo-ttask .topo-st { border-style: solid; }
|
|
1103
|
+
.twist {
|
|
1104
|
+
flex: 0 0 auto; display: inline-flex; border: 0; background: none; color: var(--muted);
|
|
1105
|
+
cursor: pointer; padding: 2px; border-radius: 4px;
|
|
1106
|
+
transition: color .18s ease, transform .18s ease;
|
|
1107
|
+
}
|
|
1108
|
+
.twist:hover { color: var(--text); background: var(--border); }
|
|
1109
|
+
.twist .ic { width: 14px; height: 14px; flex: 0 0 14px; transition: transform .18s ease; }
|
|
1110
|
+
.twist.open .ic { transform: rotate(0deg); }
|
|
1111
|
+
.twist:not(.open) .ic { transform: rotate(-90deg); }
|
|
1112
|
+
.topo-tkids {
|
|
1113
|
+
margin: 0 0 4px 21px; padding-left: 10px;
|
|
1114
|
+
border-left: 1px solid var(--border);
|
|
1115
|
+
display: flex; flex-direction: column; gap: 1px;
|
|
1116
|
+
}
|
|
1117
|
+
.topo-trow {
|
|
1118
|
+
display: flex; align-items: center; gap: 8px; min-width: 0;
|
|
1119
|
+
padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 12.5px;
|
|
1120
|
+
transition: background-color .18s ease, opacity .18s ease;
|
|
1121
|
+
}
|
|
1122
|
+
.topo-trow:hover { background: var(--panel2); }
|
|
1123
|
+
.topo-trow b { font-weight: 500; flex: 0 0 auto; }
|
|
1124
|
+
.topo-trow .brief { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
|
|
1125
|
+
.topo-trow.none { cursor: default; padding-left: 30px; font-size: 12px; }
|
|
1126
|
+
.topo-trow .gwdot-pulse { width: 6px; height: 6px; flex-basis: 6px; }
|
|
1127
|
+
/* 树选中态:选中行 + 其余行降透明度(与工作流图同一交互语言) */
|
|
1128
|
+
.topo-tree.sel .topo-ttask:not(.on), .topo-tree.sel .topo-trow:not(.on) { opacity: .35; }
|
|
1129
|
+
.topo-ttask.on, .topo-trow.on { background: var(--accent-soft); }
|
|
1130
|
+
/* v2.8:会话表行定位闪烁(row-flash)随会话登记表退役一并删除;拓扑会话节点层改造见 D5(并行岗 B5) */
|
|
1131
|
+
|
|
1132
|
+
/* ---- v2.3 收尾(B5/B4):拓扑会话源下拉 / 加载·失败提示条 / 未关联会话区 ---- */
|
|
1133
|
+
.topo-src {
|
|
1134
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
1135
|
+
font-size: 12px; color: var(--muted); cursor: pointer;
|
|
1136
|
+
}
|
|
1137
|
+
.topo-src select {
|
|
1138
|
+
background: var(--panel2); color: var(--text); border: 1px solid var(--border-strong);
|
|
1139
|
+
border-radius: 6px; font-size: 12px; padding: 3px 6px; cursor: pointer; outline: none;
|
|
1140
|
+
transition: border-color .15s ease;
|
|
1141
|
+
}
|
|
1142
|
+
.topo-src select:hover, .topo-src select:focus { border-color: var(--accent); }
|
|
1143
|
+
.topo-note { padding: 8px 2px 2px; }
|
|
1144
|
+
.topo-err { padding: 12px 8px; text-align: center; }
|
|
1145
|
+
.topo-err .btn { flex: 0 0 auto; }
|
|
1146
|
+
.topo-unlinked { margin-top: 8px; display: flex; flex-direction: column; gap: 1px; }
|
|
1147
|
+
.topo-ul-h {
|
|
1148
|
+
display: flex; align-items: center; gap: 6px;
|
|
1149
|
+
padding: 6px 2px 3px; margin-top: 4px; border-top: 1px dashed var(--border);
|
|
1150
|
+
}
|
|
1151
|
+
.topo-ul-h .ic { width: 12px; height: 12px; flex: 0 0 12px; }
|
|
1152
|
+
/* 拓扑行内会话成果标题(无外链):截断 + 悬浮全文,与链接列同一布局语言 */
|
|
1153
|
+
.topo-trow .art-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
|
|
1154
|
+
|
|
1155
|
+
/* ---- 任务日报(本批):详情弹层日报区 + 编辑器预填源 + 成员行两态标记 ----
|
|
1156
|
+
配色沿用 v1.3 徽标词表(低透明底 + 同色描边,零新增色值):日期=b-task 蓝 / 已填=绿(b-alive 族)/
|
|
1157
|
+
未填=amber(st-stale 族);条目卡与成果区 art-item 同语言(panel2 底 + subtle-border) */
|
|
1158
|
+
.st-line { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
|
|
1159
|
+
.b-diary-ok { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .32); }
|
|
1160
|
+
.b-diary-miss { color: #fcd34d; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
|
|
1161
|
+
.diary-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
1162
|
+
.diary-list {
|
|
1163
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
1164
|
+
max-height: 28vh; overflow: auto; margin-top: 8px;
|
|
1165
|
+
}
|
|
1166
|
+
.diary-item {
|
|
1167
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1168
|
+
padding: 7px 10px;
|
|
1169
|
+
}
|
|
1170
|
+
.diary-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
|
|
1171
|
+
.diary-date { font-variant-numeric: tabular-nums; }
|
|
1172
|
+
.diary-ago { margin-left: auto; }
|
|
1173
|
+
.diary-item .icon-btn { flex: 0 0 auto; }
|
|
1174
|
+
.diary-item .icon-btn:last-of-type:hover { color: var(--red); }
|
|
1175
|
+
.diary-content { font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
|
|
1176
|
+
.diary-none { padding: 2px 0; }
|
|
1177
|
+
/* 日报空态:与时间轴空态同款左对齐小号 */
|
|
1178
|
+
.td-diary-row .empty-state { padding: 8px 0 2px; flex-direction: row; justify-content: flex-start; gap: 6px; }
|
|
1179
|
+
.td-diary-row .empty-state .ic { width: 14px; height: 14px; flex: 0 0 14px; }
|
|
1180
|
+
/* 编辑器「从今日动态预填」:虚线提示区(branch-hint 同语言)+ 两数据源小徽标排 */
|
|
1181
|
+
.diary-prefill {
|
|
1182
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
1183
|
+
background: var(--panel); border: 1px dashed var(--border-strong);
|
|
1184
|
+
border-radius: 7px; padding: 8px 10px; margin-bottom: 11px;
|
|
1185
|
+
}
|
|
1186
|
+
.diary-prefill-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
1187
|
+
.diary-prefill-src { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
|
|
1188
|
+
.diary-prefill-src .badge .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
1189
|
+
a.diary-src { text-decoration: none; }
|
|
1190
|
+
a.diary-src:hover { text-decoration: underline; }
|
|
1191
|
+
/* v2.9.21 任务详情·派工词:绑定项目下最近会话的首条真人指令(与日报同视觉语言) */
|
|
1192
|
+
.dp-hint { margin-bottom: 6px; }
|
|
1193
|
+
.dp-list { display: flex; flex-direction: column; gap: 6px; max-height: 32vh; overflow: auto; }
|
|
1194
|
+
.dp-item {
|
|
1195
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1196
|
+
padding: 7px 10px;
|
|
1197
|
+
}
|
|
1198
|
+
.dp-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
|
|
1199
|
+
.dp-text { font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
|
|
1200
|
+
.dp-clamp {
|
|
1201
|
+
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
|
1202
|
+
}
|
|
1203
|
+
.dp-item .fold { margin-top: 4px; }
|
|
1204
|
+
.dp-none { padding: 2px 0; }
|
|
1205
|
+
/* v2.9.23 工作搜索(Ctrl+K 考古层):顶栏按钮 + 结果弹层 */
|
|
1206
|
+
.kbd {
|
|
1207
|
+
font: 11px/1 var(--mono, monospace); color: var(--muted);
|
|
1208
|
+
border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px;
|
|
1209
|
+
padding: 2px 5px; margin-left: 6px; white-space: nowrap;
|
|
1210
|
+
}
|
|
1211
|
+
.ws-box { display: flex; flex-direction: column; gap: 8px; }
|
|
1212
|
+
.ws-inputbar {
|
|
1213
|
+
display: flex; align-items: center; gap: 8px;
|
|
1214
|
+
border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 10px;
|
|
1215
|
+
background: var(--panel2);
|
|
1216
|
+
}
|
|
1217
|
+
.ws-inputbar .ic { width: 16px; height: 16px; flex: 0 0 16px; color: var(--muted); }
|
|
1218
|
+
#ws-input {
|
|
1219
|
+
flex: 1 1 auto; min-width: 0; border: none; outline: none; background: transparent;
|
|
1220
|
+
color: var(--ink); font-size: 14px;
|
|
1221
|
+
}
|
|
1222
|
+
.ws-results { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow: auto; }
|
|
1223
|
+
.ws-group { display: flex; flex-direction: column; gap: 4px; }
|
|
1224
|
+
.ws-group-h {
|
|
1225
|
+
display: flex; align-items: center; gap: 6px;
|
|
1226
|
+
font-size: 12px; font-weight: 600; color: var(--muted);
|
|
1227
|
+
text-transform: none; padding: 2px 2px;
|
|
1228
|
+
}
|
|
1229
|
+
.ws-group-h .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
1230
|
+
.ws-row {
|
|
1231
|
+
display: flex; align-items: center; gap: 10px; width: 100%;
|
|
1232
|
+
text-align: left; cursor: pointer;
|
|
1233
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1234
|
+
padding: 7px 10px; color: var(--ink);
|
|
1235
|
+
}
|
|
1236
|
+
.ws-row:hover, .ws-row.on { border-color: var(--border-strong); background: var(--panel); }
|
|
1237
|
+
.ws-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
1238
|
+
.ws-row > .muted { flex: 0 0 auto; white-space: nowrap; }
|
|
1239
|
+
.ws-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
|
|
1240
|
+
.ws-sub {
|
|
1241
|
+
flex-basis: 100%; font-size: 12px; color: var(--muted);
|
|
1242
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1243
|
+
}
|
|
1244
|
+
.ws-tip { padding: 6px 2px; }
|
|
1245
|
+
.ws-none { padding: 18px 0; }
|
|
1246
|
+
/* v2.9.24 任务详情·会话归因建议:绑定项目下值得挂接的最近会话(人工一键确认) */
|
|
1247
|
+
.sugg-head {
|
|
1248
|
+
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
|
|
1249
|
+
margin: 8px 0 6px; font-size: 12.5px; font-weight: 600;
|
|
1250
|
+
}
|
|
1251
|
+
.sugg-head .ic { width: 13px; height: 13px; flex: 0 0 13px; color: var(--muted); }
|
|
1252
|
+
.sugg-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 4px; }
|
|
1253
|
+
.sugg-item {
|
|
1254
|
+
display: flex; align-items: center; gap: 8px;
|
|
1255
|
+
background: var(--panel2); border: 1px dashed var(--border-strong); border-radius: 8px;
|
|
1256
|
+
padding: 6px 10px;
|
|
1257
|
+
}
|
|
1258
|
+
.sugg-text {
|
|
1259
|
+
flex: 1 1 auto; min-width: 0; font-size: 12.5px;
|
|
1260
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1261
|
+
}
|
|
1262
|
+
.sugg-item .btn { flex: 0 0 auto; }
|
|
1263
|
+
.sugg-item > .muted { flex: 0 0 auto; white-space: nowrap; }
|
|
1264
|
+
/* v2.9.26 Agent 活跃热力图:28 天 × 六源,格深=活跃分钟(深浅分档,色弱可辨) */
|
|
1265
|
+
.hm-grid { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 2px; }
|
|
1266
|
+
.hm-row { display: flex; align-items: center; gap: 10px; }
|
|
1267
|
+
.hm-label { flex: 0 0 76px; font-size: 12px; color: var(--muted); text-align: right; }
|
|
1268
|
+
.hm-cells { display: flex; gap: 3px; flex-wrap: wrap; }
|
|
1269
|
+
.hm-cell {
|
|
1270
|
+
width: 13px; height: 13px; border-radius: 3px; display: inline-block;
|
|
1271
|
+
background: var(--panel2); border: 1px solid var(--border);
|
|
1272
|
+
}
|
|
1273
|
+
.hm-l1 { background: color-mix(in srgb, var(--green) 25%, var(--panel2)); }
|
|
1274
|
+
.hm-l2 { background: color-mix(in srgb, var(--green) 45%, var(--panel2)); }
|
|
1275
|
+
.hm-l3 { background: color-mix(in srgb, var(--green) 70%, var(--panel2)); }
|
|
1276
|
+
.hm-l4 { background: var(--green); }
|
|
1277
|
+
.hm-today { border-color: var(--border-strong); box-shadow: inset 0 0 0 1px var(--border-strong); }
|
|
1278
|
+
.hm-scale { display: flex; align-items: center; gap: 4px; margin-left: 86px; margin-top: 2px; }
|
|
1279
|
+
.hm-scale .hm-cell { width: 11px; height: 11px; }
|
|
1280
|
+
/* v2.9.26 Onboarding 向导 */
|
|
1281
|
+
.ob-box { display: flex; flex-direction: column; gap: 14px; min-width: 460px; }
|
|
1282
|
+
.ob-hero { display: flex; justify-content: center; padding: 6px 0 2px; }
|
|
1283
|
+
.ob-hero .ic { width: 44px; height: 44px; color: var(--accent); }
|
|
1284
|
+
.ob-box h3 { margin: 0; text-align: center; }
|
|
1285
|
+
.ob-next { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
|
|
1286
|
+
.ob-scan { display: flex; flex-direction: column; gap: 6px; }
|
|
1287
|
+
.ob-src {
|
|
1288
|
+
display: flex; align-items: center; gap: 10px;
|
|
1289
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1290
|
+
padding: 7px 12px;
|
|
1291
|
+
}
|
|
1292
|
+
.ob-src-name { font-weight: 600; min-width: 130px; }
|
|
1293
|
+
.ob-foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
|
|
1294
|
+
/* v2.9.28 任务复盘:done 任务的证据蒸馏一页纸 */
|
|
1295
|
+
.pm-fold { margin: 2px 0; }
|
|
1296
|
+
.pm-fold .fold-toggle span { font-weight: 600; }
|
|
1297
|
+
.pm-body { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
|
|
1298
|
+
.pm-stat { font-variant-numeric: tabular-nums; }
|
|
1299
|
+
.pm-sec { display: flex; flex-direction: column; gap: 3px; }
|
|
1300
|
+
.pm-sec-h { font-size: 12px; font-weight: 600; color: var(--muted); }
|
|
1301
|
+
.pm-line {
|
|
1302
|
+
display: flex; align-items: baseline; gap: 8px; font-size: 12.5px;
|
|
1303
|
+
padding: 3px 0; border-top: 1px solid var(--border);
|
|
1304
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1305
|
+
}
|
|
1306
|
+
.pm-line .ic { width: 12px; height: 12px; flex: 0 0 12px; color: var(--muted); align-self: center; }
|
|
1307
|
+
.sugg-none { padding: 2px 0; }
|
|
1308
|
+
|
|
1309
|
+
/* ---- 仓库可搜索下拉(本批:combobox = 输入框 + 浮层面板;面板同弹层 3 级阴影,零新增色值) ---- */
|
|
1310
|
+
.combo { position: relative; }
|
|
1311
|
+
.combo input { position: relative; z-index: 1; }
|
|
1312
|
+
.combo-panel {
|
|
1313
|
+
position: absolute; left: 0; right: 0; top: calc(100% - 1px); z-index: 30;
|
|
1314
|
+
background: var(--panel); border: 1px solid var(--border-strong); border-radius: 8px;
|
|
1315
|
+
box-shadow: var(--shadow-3);
|
|
1316
|
+
max-height: 220px; overflow: auto; padding: 4px;
|
|
1317
|
+
display: flex; flex-direction: column; gap: 1px;
|
|
1318
|
+
animation: combo-in .15s ease;
|
|
1319
|
+
}
|
|
1320
|
+
@keyframes combo-in { from { opacity: 0; transform: translateY(-3px); } }
|
|
1321
|
+
.combo-opt {
|
|
1322
|
+
display: flex; align-items: center; gap: 7px; width: 100%; text-align: left;
|
|
1323
|
+
background: none; border: 0; color: var(--text); font: inherit; font-size: 13px;
|
|
1324
|
+
padding: 6px 8px; border-radius: 6px; cursor: pointer;
|
|
1325
|
+
transition: background-color .18s ease, color .18s ease;
|
|
1326
|
+
}
|
|
1327
|
+
.combo-opt .ic { width: 13px; height: 13px; flex: 0 0 13px; color: var(--muted); }
|
|
1328
|
+
.combo-opt:hover { background: var(--panel2); }
|
|
1329
|
+
.combo-opt.on { background: var(--accent-soft); color: #cfe1ff; }
|
|
1330
|
+
.combo-opt.on .ic { color: #93c5fd; }
|
|
1331
|
+
.combo-name {
|
|
1332
|
+
flex: 1; min-width: 0; font-family: var(--mono); font-size: 12px;
|
|
1333
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1334
|
+
}
|
|
1335
|
+
.combo-priv { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; font-size: 11px; color: var(--muted); }
|
|
1336
|
+
.combo-priv .ic { width: 11px; height: 11px; flex: 0 0 11px; }
|
|
1337
|
+
.combo-none { padding: 8px 10px; font-size: 12px; color: var(--muted); }
|
|
1338
|
+
|
|
1339
|
+
/* v2.9.4 会话列表弹层顶部的项目绑定条(ambient 归属显示,绑定/解绑/查看任务) */
|
|
1340
|
+
.sl-bind { min-height: 0; }
|
|
1341
|
+
.sl-bind-row {
|
|
1342
|
+
display: flex; align-items: center; gap: 8px;
|
|
1343
|
+
padding: 6px 10px; margin-bottom: 8px;
|
|
1344
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
|
|
1345
|
+
font-size: 12px; color: var(--muted);
|
|
1346
|
+
}
|
|
1347
|
+
.sl-bind-row .ic { width: 13px; height: 13px; flex: 0 0 13px; }
|
|
1348
|
+
.sl-bind-row.bound { border-color: rgba(110, 231, 183, .35); }
|
|
1349
|
+
.sl-bind-row.bound > .ic { color: #6ee7b7; }
|
|
1350
|
+
.sl-bind-task {
|
|
1351
|
+
color: var(--text); font-weight: 600;
|
|
1352
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46%;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/* v2.9.5 雷达纪要池摘要预览(串场识别):两行截断,悬停看全 */
|
|
1356
|
+
.radar-excerpt {
|
|
1357
|
+
margin-top: 2px; font-size: 12px; color: var(--muted);
|
|
1358
|
+
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
|
1359
|
+
overflow: hidden; max-width: 560px;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/* v2.9.5 数字员工周报(总览面板):极简 Markdown 排版 */
|
|
1363
|
+
.weekly-md { font-size: 13px; line-height: 1.75; color: var(--text); }
|
|
1364
|
+
.weekly-md h4, .weekly-md h5, .weekly-md h6 { margin: 10px 0 4px; }
|
|
1365
|
+
.weekly-md h4 { font-size: 14px; }
|
|
1366
|
+
.weekly-md p { margin: 4px 0; }
|
|
1367
|
+
.weekly-md ul { margin: 4px 0 4px 18px; }
|
|
1368
|
+
.weekly-md li { margin: 2px 0; }
|
|
1369
|
+
.weekly-md code {
|
|
1370
|
+
font-family: var(--mono); font-size: 12px;
|
|
1371
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/* v2.9.9 收件箱按会议标题分组 */
|
|
1375
|
+
.cand-group { margin-bottom: 16px; }
|
|
1376
|
+
.cand-group-h {
|
|
1377
|
+
display: flex; align-items: center; gap: 8px;
|
|
1378
|
+
padding: 6px 2px; margin-bottom: 10px;
|
|
1379
|
+
border-bottom: 1px dashed var(--border);
|
|
1380
|
+
}
|
|
1381
|
+
.cand-group-title {
|
|
1382
|
+
font-weight: 600; color: var(--text);
|
|
1383
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/* v2.9.10 收件箱分组折叠 */
|
|
1387
|
+
.cand-group-h { cursor: pointer; user-select: none; border-radius: 6px; transition: background .15s ease; }
|
|
1388
|
+
.cand-group-h:hover { background: var(--panel2); }
|
|
1389
|
+
.cand-group-h:focus-visible { outline: 1px solid var(--accent); }
|
|
1390
|
+
.cand-group-h .fold-chevron { display: inline-flex; flex: 0 0 14px; color: var(--muted); transition: transform .18s ease; }
|
|
1391
|
+
.cand-group-h .fold-chevron .ic, .cand-group-h .fold-chevron svg { width: 14px; height: 14px; }
|
|
1392
|
+
.cand-group-h[aria-expanded="false"] .fold-chevron { transform: rotate(-90deg); }
|
|
1393
|
+
.cand-group-folded { margin-bottom: 8px; }
|
|
1394
|
+
|
|
1395
|
+
/* v2.9.37 版本与兼容性矩阵(总览页最末、默认折叠):三列 = 组件 / 当前值 / 要求或说明 */
|
|
1396
|
+
.panel-title .mx-fold { font-size: 13px; color: var(--text); }
|
|
1397
|
+
.vmatrix { display: grid; grid-template-columns: max-content minmax(110px, max-content) 1fr; gap: 6px 14px; align-items: baseline; }
|
|
1398
|
+
.vmatrix .k { color: var(--muted); font-size: 12px; white-space: nowrap; }
|
|
1399
|
+
.vmatrix .v { font-family: var(--mono); font-size: 12px; color: var(--text); white-space: nowrap; }
|
|
1400
|
+
.vmatrix .h { font-size: 12px; min-width: 0; }
|
|
1401
|
+
.pill.ok { color: var(--green); border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); }
|
|
1402
|
+
.pill.err { color: var(--red); border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); }
|
|
1403
|
+
|
|
1404
|
+
/* v2.9.38 待办提醒(页内):顶栏铃铛计数 + 下拉明细;红点同时挂到宿主侧栏图标(plugin/client.js) */
|
|
1405
|
+
.attn-wrap { position: relative; }
|
|
1406
|
+
.attn-badge {
|
|
1407
|
+
margin-left: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
|
|
1408
|
+
background: var(--red); color: #fff; font-size: 11px; line-height: 16px; text-align: center;
|
|
1409
|
+
font-variant-numeric: tabular-nums;
|
|
1410
|
+
}
|
|
1411
|
+
.attn-menu {
|
|
1412
|
+
position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 210px;
|
|
1413
|
+
display: flex; flex-direction: column; gap: 2px;
|
|
1414
|
+
background: var(--panel); border: 1px solid var(--border-strong, var(--border)); border-radius: 9px;
|
|
1415
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, .45); padding: 6px;
|
|
1416
|
+
}
|
|
1417
|
+
.attn-menu[hidden] { display: none; }
|
|
1418
|
+
.attn-row {
|
|
1419
|
+
display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
|
1420
|
+
background: none; border: 0; color: var(--text); font: inherit; font-size: 12px;
|
|
1421
|
+
padding: 7px 9px; border-radius: 6px; cursor: pointer; text-align: left;
|
|
1422
|
+
}
|
|
1423
|
+
.attn-row:hover { background: var(--panel2); }
|
|
1424
|
+
.attn-row b { color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
1425
|
+
.attn-row[data-zero="1"] b { color: var(--border-strong, var(--border)); }
|
|
1426
|
+
.attn-foot { padding: 6px 9px 2px; border-top: 1px solid var(--border); margin-top: 4px; }
|
|
1427
|
+
|
|
1428
|
+
/* v2.9.45 学习视图(知识库只读 → 先测/费曼/五问/迁移) */
|
|
1429
|
+
.learn-tabs { margin-bottom: 12px; }
|
|
1430
|
+
.learn-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
|
|
1431
|
+
.learn-list { display: flex; flex-direction: column; gap: 10px; }
|
|
1432
|
+
.learn-card {
|
|
1433
|
+
border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px;
|
|
1434
|
+
background: var(--panel2); transition: border-color .18s ease;
|
|
1435
|
+
}
|
|
1436
|
+
.learn-card:hover { border-color: var(--border-strong); }
|
|
1437
|
+
.learn-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
|
|
1438
|
+
.learn-card-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1439
|
+
.learn-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
|
|
1440
|
+
.learn-progress { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
|
|
1441
|
+
.learn-progress i { color: var(--muted); font-style: normal; font-size: 11px; }
|
|
1442
|
+
.learn-step {
|
|
1443
|
+
font-size: 12px; color: var(--muted); border: 1px solid var(--border);
|
|
1444
|
+
border-radius: 99px; padding: 2px 10px;
|
|
1445
|
+
}
|
|
1446
|
+
.learn-step.now { color: #cfe1ff; border-color: rgba(59, 130, 246, .5); background: var(--accent-soft); }
|
|
1447
|
+
.learn-step.done { color: var(--green); border-color: rgba(52, 211, 153, .35); }
|
|
1448
|
+
.learn-material {
|
|
1449
|
+
border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px;
|
|
1450
|
+
background: var(--panel2); margin: 10px 0;
|
|
1451
|
+
}
|
|
1452
|
+
.learn-material summary { cursor: pointer; color: var(--muted); font-size: 12px; }
|
|
1453
|
+
.learn-material-body { margin-top: 8px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
|
|
1454
|
+
.learn-q { font-size: 15px; line-height: 1.6; margin: 14px 0 8px; }
|
|
1455
|
+
.learn-input {
|
|
1456
|
+
width: 100%; box-sizing: border-box; resize: vertical; min-height: 96px;
|
|
1457
|
+
background: var(--panel2); color: var(--text); border: 1px solid var(--border);
|
|
1458
|
+
border-radius: 9px; padding: 10px 12px; font: inherit; font-size: 13px; line-height: 1.7;
|
|
1459
|
+
}
|
|
1460
|
+
.learn-input:focus { outline: none; border-color: rgba(59, 130, 246, .55); }
|
|
1461
|
+
.learn-fb { border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; margin: 10px 0; font-size: 12px; }
|
|
1462
|
+
.learn-fb-row { display: flex; gap: 8px; padding: 3px 0; }
|
|
1463
|
+
.learn-fb-row b { flex: 0 0 72px; color: var(--muted); font-weight: 500; }
|
|
1464
|
+
.learn-fb-row.ok b { color: var(--green); }
|
|
1465
|
+
.learn-fb-row.warn b { color: #fcd34d; }
|
|
1466
|
+
.learn-fb-row.err b { color: var(--red); }
|
|
1467
|
+
.learn-done h4 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
|
|
1468
|
+
.learn-kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13px; margin-bottom: 10px; }
|
|
1469
|
+
.learn-kv span { color: var(--muted); }
|
|
1470
|
+
.learn-need { text-align: center; padding: 24px 12px; }
|
|
1471
|
+
.learn-need h4 { margin: 0 0 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
|
|
1472
|
+
.learn-table-wrap { overflow: auto; max-height: 60vh; }
|
|
1473
|
+
.learn-table { width: 100%; border-collapse: collapse; font-size: 12px; }
|
|
1474
|
+
.learn-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--border); }
|
|
1475
|
+
.learn-table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
|
1476
|
+
.learn-excluded td { opacity: .45; }
|
|
1477
|
+
.learn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
|
|
1478
|
+
.learn-dist-row { display: grid; grid-template-columns: 84px 1fr 40px; align-items: center; gap: 10px; font-size: 12px; margin: 6px 0; }
|
|
1479
|
+
.learn-bar { height: 8px; background: var(--panel2); border-radius: 99px; overflow: hidden; }
|
|
1480
|
+
.learn-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
|
|
1481
|
+
.learn-needrewrite { margin-top: 14px; border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; }
|
|
1482
|
+
.learn-needrewrite h4 { margin: 0 0 6px; font-size: 13px; display: flex; align-items: center; gap: 6px; color: #fcd34d; }
|
|
1483
|
+
.learn-needrewrite ul { margin: 0; padding-left: 18px; font-size: 12px; }
|
|
1484
|
+
.chip.tiny { padding: 0 7px; font-size: 11px; }
|
|
1485
|
+
|
|
1486
|
+
/* v2.9.55 学习初始化向导 */
|
|
1487
|
+
.learn-setup { max-width: 820px; }
|
|
1488
|
+
.learn-setup h4 { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
|
|
1489
|
+
.learn-setup-row { display: flex; gap: 8px; margin: 12px 0; }
|
|
1490
|
+
.learn-setup-row input { flex: 1; min-width: 280px; }
|
|
1491
|
+
.learn-setup-err { color: var(--red); font-size: 12px; margin-top: 8px; }
|
|
1492
|
+
.learn-probe { margin-top: 10px; }
|
|
1493
|
+
.learn-scope-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
|
|
1494
|
+
.learn-scope-row { display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
|
|
1495
|
+
.learn-sample { margin: 6px 0 12px; padding-left: 18px; font-size: 13px; line-height: 1.7; }
|
|
1496
|
+
/* v2.9.59 查看原文 */
|
|
1497
|
+
.learn-material-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
|
|
1498
|
+
.learn-src {
|
|
1499
|
+
max-height: 62vh; overflow: auto; white-space: pre-wrap; word-break: break-word;
|
|
1500
|
+
font-size: 12.5px; line-height: 1.75; margin: 0;
|
|
1501
|
+
background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 12px;
|
|
1502
|
+
}
|
|
1503
|
+
/* v2.9.60 学习/复习模式提示 */
|
|
1504
|
+
.learn-mode-hint { margin: -4px 0 10px; }
|
|
1505
|
+
/* v2.9.62 版本错位提示(web 已更新 / 后端仍旧进程) */
|
|
1506
|
+
.learn-stale {
|
|
1507
|
+
display: flex; align-items: center; gap: 8px; font-size: 12px;
|
|
1508
|
+
border: 1px solid rgba(252, 211, 77, .35); background: rgba(252, 211, 77, .08);
|
|
1509
|
+
color: #fcd34d; border-radius: 8px; padding: 7px 10px; margin-bottom: 10px;
|
|
1510
|
+
}
|