codebee 0.1.6 → 0.1.8
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/CHANGELOG.md +18 -0
- package/README.md +415 -421
- package/app/core/automation.py +30 -5
- package/app/core/catalog.py +45 -3
- package/app/core/errorlog.py +179 -0
- package/app/core/flows.py +6 -2
- package/app/core/gitmod.py +45 -1
- package/app/core/health.py +55 -61
- package/app/core/jobs.py +104 -9
- package/app/core/manager.py +101 -11
- package/app/core/modelhub.py +2952 -2896
- package/app/core/paths.py +1 -0
- package/app/core/pipeline.py +425 -99
- package/app/core/remote.py +310 -303
- package/app/core/runner.py +148 -13
- package/app/core/selfupdate.py +47 -16
- package/app/core/settings.py +9 -2
- package/app/core/step_runner.py +28 -4
- package/app/core/store.py +160 -28
- package/app/core/telemetry.py +291 -0
- package/app/core/token_meter.py +18 -0
- package/app/core/usage.py +51 -1
- package/app/main.py +379 -37
- package/app/pick_dialog.py +78 -0
- package/app/ui/app.js +1006 -266
- package/app/ui/i18n.js +107 -7
- package/app/ui/index.html +148 -55
- package/app/ui/style.css +1816 -2
- package/package.json +1 -1
package/app/ui/style.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* CodeBee UI —— ChatGPT 风格:左侧栏 + 居中主栏 + 卡片化内容,零依赖 */
|
|
2
|
+
/* Refreshed defaults apply when no selectable palette is active. */
|
|
2
3
|
:root {
|
|
3
4
|
--bg: #212121;
|
|
4
5
|
--sidebar: #171717;
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
--uc-ca: #3fd0bb;
|
|
27
28
|
--uc-out: #b79bff;
|
|
28
29
|
}
|
|
29
|
-
html[data-theme="light"] {
|
|
30
|
+
html[data-theme="light"]:not([data-skin]), html[data-theme="light"][data-skin="classic"] {
|
|
30
31
|
--bg: #ffffff;
|
|
31
32
|
--sidebar: #f9f9f9;
|
|
32
33
|
--panel: #ffffff;
|
|
@@ -416,6 +417,13 @@ body.side-collapsed #sidebar { border-right: none; padding-left: 0; padding-righ
|
|
|
416
417
|
.stask:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
417
418
|
.stask .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
418
419
|
.stask .tm { flex: none; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
420
|
+
.stask-more {
|
|
421
|
+
flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px;
|
|
422
|
+
background: transparent; color: var(--muted); cursor: pointer; font: 700 16px/1 inherit;
|
|
423
|
+
opacity: 0; transition: opacity .12s, color .12s, background-color .12s;
|
|
424
|
+
}
|
|
425
|
+
.stask:hover .stask-more, .stask:focus-within .stask-more, .stask-more:focus-visible { opacity: 1; }
|
|
426
|
+
.stask-more:hover, .stask-more:focus-visible { color: var(--text); background: var(--panel); outline: none; }
|
|
419
427
|
/* 状态字形:进行中旋转✻ / 完成绿点 / 失败红点 / 取消橙点 / 排队空圈 / 未运行暗点 */
|
|
420
428
|
/* 闸门等待徽章(任务分支待裁决)+ 侧栏铃铛开关 */
|
|
421
429
|
.sbadge {
|
|
@@ -773,7 +781,7 @@ button.small { padding: 4px 10px; font-size: 12px; }
|
|
|
773
781
|
|
|
774
782
|
.steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
|
|
775
783
|
.step {
|
|
776
|
-
display: grid; grid-template-columns: 30px 92px 118px 1fr auto auto;
|
|
784
|
+
display: grid; grid-template-columns: 30px 92px 118px minmax(0, 1fr) auto auto auto;
|
|
777
785
|
align-items: center; gap: 12px;
|
|
778
786
|
background: var(--panel2); border: 1px solid transparent; border-radius: var(--r-md);
|
|
779
787
|
padding: 10px 14px; cursor: pointer; font-size: 13px;
|
|
@@ -789,6 +797,15 @@ button.small { padding: 4px 10px; font-size: 12px; }
|
|
|
789
797
|
.step .who { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
790
798
|
.step .sum { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
791
799
|
.step .dur { color: var(--muted); font-size: 12px; font-family: var(--mono); }
|
|
800
|
+
.step-log-btn {
|
|
801
|
+
border: 1px solid var(--border); border-radius: 999px; background: transparent;
|
|
802
|
+
color: var(--muted); padding: 3px 8px; font-size: 11px; line-height: 1.2;
|
|
803
|
+
cursor: pointer; white-space: nowrap; transition: color .12s, border-color .12s, background-color .12s;
|
|
804
|
+
}
|
|
805
|
+
.step-log-btn:hover, .step-log-btn:focus-visible {
|
|
806
|
+
color: var(--accent); border-color: var(--accent);
|
|
807
|
+
background: color-mix(in srgb, var(--accent) 7%, transparent); outline: none;
|
|
808
|
+
}
|
|
792
809
|
/* 编排计划(只读,无日志可点) */
|
|
793
810
|
.step.plan { grid-template-columns: 30px 180px 1fr; cursor: default; }
|
|
794
811
|
.step.plan .role { color: var(--text); }
|
|
@@ -1540,6 +1557,7 @@ html[data-theme="light"] .seg-btn.active { box-shadow: 0 1px 3px rgba(0, 0, 0, .
|
|
|
1540
1557
|
.usage-svg .uc-legend text { fill: var(--muted); font-size: 11px; }
|
|
1541
1558
|
.usage-svg .uc-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 4; }
|
|
1542
1559
|
.usage-svg .uc-base { stroke: var(--border-strong); stroke-width: 1; }
|
|
1560
|
+
.usage-svg .uc-bar { fill: var(--accent); opacity: .10; pointer-events: auto; }
|
|
1543
1561
|
.usage-svg .uc-peak { fill: var(--muted); font-size: 11px; font-weight: 600; }
|
|
1544
1562
|
/* 柱顶总量标签:峰值日加重,矮柱的信息全靠它 */
|
|
1545
1563
|
.usage-svg .uc-val { fill: var(--muted); font-size: 10px; font-family: var(--mono); }
|
|
@@ -1749,6 +1767,8 @@ html[data-theme="light"] .seg-btn.active { box-shadow: 0 1px 3px rgba(0, 0, 0, .
|
|
|
1749
1767
|
.hive-cell .hc-live, .hive-lane .lane-live {
|
|
1750
1768
|
display: inline-flex; align-items: center; gap: 4px;
|
|
1751
1769
|
}
|
|
1770
|
+
.hive-cell .hc-log-link { margin-left: auto; color: var(--muted); font-size: 10.5px; opacity: .78; }
|
|
1771
|
+
.hive-cell:hover .hc-log-link, .hive-cell:focus-visible .hc-log-link { color: var(--accent); opacity: 1; }
|
|
1752
1772
|
.hive-cell .hc-live {
|
|
1753
1773
|
border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
|
|
1754
1774
|
border-radius: 999px; padding: 0 7px; line-height: 16px; font-size: 10.5px;
|
|
@@ -2048,6 +2068,16 @@ html[data-theme="light"] .seg-btn.active { box-shadow: 0 1px 3px rgba(0, 0, 0, .
|
|
|
2048
2068
|
.ti-check { flex: none; width: 15px; height: 15px; color: var(--accent); visibility: hidden; }
|
|
2049
2069
|
.type-item.on { background: var(--panel2); }
|
|
2050
2070
|
.type-item.on .ti-check { visibility: visible; }
|
|
2071
|
+
/* 菜单底部固定入口(管理任务类型…):sticky 钉在滚动区底部,不随选项滚走 */
|
|
2072
|
+
.type-menu-foot {
|
|
2073
|
+
position: sticky; bottom: -5px;
|
|
2074
|
+
margin: 4px -5px -5px; padding: 3px 5px 4px;
|
|
2075
|
+
background: var(--panel); border-top: 1px solid var(--border);
|
|
2076
|
+
}
|
|
2077
|
+
.type-menu-foot .type-item { min-height: 30px; color: var(--muted); }
|
|
2078
|
+
.type-menu-foot .type-item:hover { color: var(--text); }
|
|
2079
|
+
.type-menu-foot .ti-ico .ico { width: 15px; height: 15px; }
|
|
2080
|
+
.type-menu-foot .ti-name { font-weight: 550; font-size: 12px; }
|
|
2051
2081
|
@media (max-width: 720px) {
|
|
2052
2082
|
/* iOS Safari 聚焦输入控件 ≥16px 才不自动放大页面 */
|
|
2053
2083
|
.type-pick { font-size: 16px; }
|
|
@@ -2827,6 +2857,8 @@ html.code-wrap #file-pop .fp-edit { white-space: pre-wrap; word-break: break-wor
|
|
|
2827
2857
|
智能体回复整幅平铺(不套气泡框),用户消息右侧浅灰圆角块。列宽 820px。 */
|
|
2828
2858
|
/* 直连任务「对话为主」:常规页签条收起,右上角小胶囊按需打开其它分区 */
|
|
2829
2859
|
#run-detail.chat-mode #rd-tabs { display: none; }
|
|
2860
|
+
#run-detail.chat-mode .rd-meta { opacity: .72; margin-bottom: 8px; }
|
|
2861
|
+
#run-detail.chat-mode .detail-head .rd-actions { opacity: .84; }
|
|
2830
2862
|
#rd-chat-nav { display: flex; align-items: center; gap: 8px;
|
|
2831
2863
|
min-height: 36px; margin: 2px 0 12px; }
|
|
2832
2864
|
#rd-chat-nav.hidden { display: none; }
|
|
@@ -2881,6 +2913,10 @@ main.chat-fill #run-detail.chat-mode {
|
|
|
2881
2913
|
.chat-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
|
|
2882
2914
|
.chat-bubble.me .chat-meta { text-align: right; margin-bottom: 4px; }
|
|
2883
2915
|
.chat-bubble.agent .chat-meta { margin: 8px 0 0; }
|
|
2916
|
+
.chat-actions { display: flex; align-items: center; min-height: 18px; margin-top: 2px; }
|
|
2917
|
+
.chat-log-btn { border: 0; padding: 0; background: transparent; color: var(--muted); cursor: pointer;
|
|
2918
|
+
font-size: 11px; line-height: 1.4; opacity: .72; }
|
|
2919
|
+
.chat-log-btn:hover, .chat-log-btn:focus-visible { color: var(--accent); opacity: 1; outline: none; }
|
|
2884
2920
|
.chat-body { margin: 0; font: inherit; white-space: pre-wrap; }
|
|
2885
2921
|
.chat-atts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
|
|
2886
2922
|
/* 运行中且还没有正文:三点打字动画(reduced-motion 时退化为静态点) */
|
|
@@ -2917,6 +2953,7 @@ main.chat-fill #run-detail.chat-mode {
|
|
|
2917
2953
|
#run-detail.chat-mode .rd-pane[data-pane="chat"] { min-height: 280px; }
|
|
2918
2954
|
.rd-chat-flow { gap: 18px; padding: 12px 6px 8px; }
|
|
2919
2955
|
.chat-bubble.me { max-width: 86%; }
|
|
2956
|
+
.stask-more { opacity: .8; }
|
|
2920
2957
|
}
|
|
2921
2958
|
|
|
2922
2959
|
/* ================= 墨金组件精修层(惠及所有皮肤;DOM/几何零改动) =================
|
|
@@ -3224,3 +3261,1780 @@ span.imgcap:hover { border-color: var(--accent); color: var(--accent); }
|
|
|
3224
3261
|
from { transform: translateY(16px); opacity: .35; }
|
|
3225
3262
|
to { transform: translateY(0); opacity: 1; }
|
|
3226
3263
|
}
|
|
3264
|
+
/* ================================================================
|
|
3265
|
+
2026 refresh · editorial control room
|
|
3266
|
+
The existing UI has a wide feature surface; this layer sharpens the
|
|
3267
|
+
hierarchy without changing any DOM hooks or application behaviour.
|
|
3268
|
+
================================================================ */
|
|
3269
|
+
:root {
|
|
3270
|
+
--font-ui: "Aptos", "Segoe UI", sans-serif;
|
|
3271
|
+
--font-display: "Aptos Display", "Trebuchet MS", sans-serif;
|
|
3272
|
+
--r-lg: 20px;
|
|
3273
|
+
--r-md: 14px;
|
|
3274
|
+
--r-sm: 10px;
|
|
3275
|
+
--shadow: 0 18px 48px rgba(7, 19, 38, .16);
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
html[data-theme="light"]:not([data-skin]), html[data-theme="light"][data-skin="classic"] {
|
|
3279
|
+
--bg: #f4f7fb;
|
|
3280
|
+
--sidebar: #eef3f8;
|
|
3281
|
+
--panel: rgba(255, 255, 255, .88);
|
|
3282
|
+
--panel2: #eaf0f6;
|
|
3283
|
+
--border: rgba(21, 49, 78, .11);
|
|
3284
|
+
--border-strong: rgba(21, 49, 78, .24);
|
|
3285
|
+
--text: #10253d;
|
|
3286
|
+
--muted: #63758b;
|
|
3287
|
+
--accent: #167dce;
|
|
3288
|
+
--accent2: #7858de;
|
|
3289
|
+
--ok: #139878;
|
|
3290
|
+
--shadow: 0 18px 48px rgba(24, 54, 89, .10);
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
html[data-theme="dark"]:not([data-skin]), html[data-theme="dark"][data-skin="classic"] {
|
|
3294
|
+
--bg: #091522;
|
|
3295
|
+
--sidebar: #0b1c2c;
|
|
3296
|
+
--panel: rgba(15, 34, 53, .88);
|
|
3297
|
+
--panel2: #132c43;
|
|
3298
|
+
--border: rgba(194, 223, 249, .12);
|
|
3299
|
+
--border-strong: rgba(194, 223, 249, .24);
|
|
3300
|
+
--text: #edf6ff;
|
|
3301
|
+
--muted: #92a9bf;
|
|
3302
|
+
--accent: #53b9f5;
|
|
3303
|
+
--accent2: #a28af5;
|
|
3304
|
+
--shadow: 0 22px 60px rgba(0, 0, 0, .30);
|
|
3305
|
+
}
|
|
3306
|
+
/* Keep the refreshed surfaces consistent across the selectable palettes. */
|
|
3307
|
+
html[data-theme="light"][data-skin], html[data-theme="dark"][data-skin] {
|
|
3308
|
+
--font-ui: "Aptos", "Segoe UI", sans-serif;
|
|
3309
|
+
--font-display: "Aptos Display", "Trebuchet MS", sans-serif;
|
|
3310
|
+
--r-lg: 20px; --r-md: 14px; --r-sm: 10px;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
html, body { font-family: var(--font-ui); }
|
|
3314
|
+
body {
|
|
3315
|
+
background:
|
|
3316
|
+
radial-gradient(circle at 16% 4%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 30rem),
|
|
3317
|
+
radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--accent2) 9%, transparent), transparent 34rem),
|
|
3318
|
+
var(--bg);
|
|
3319
|
+
letter-spacing: .005em;
|
|
3320
|
+
}
|
|
3321
|
+
body::before {
|
|
3322
|
+
content: "";
|
|
3323
|
+
position: fixed; inset: 0; pointer-events: none; z-index: -1;
|
|
3324
|
+
opacity: .32;
|
|
3325
|
+
background-image: linear-gradient(color-mix(in srgb, var(--text) 3%, transparent) 1px, transparent 1px),
|
|
3326
|
+
linear-gradient(90deg, color-mix(in srgb, var(--text) 3%, transparent) 1px, transparent 1px);
|
|
3327
|
+
background-size: 44px 44px;
|
|
3328
|
+
mask-image: linear-gradient(to bottom, #000, transparent 75%);
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
#app { min-height: 100dvh; }
|
|
3332
|
+
#sidebar {
|
|
3333
|
+
background: color-mix(in srgb, var(--sidebar) 90%, transparent);
|
|
3334
|
+
border-right: 1px solid var(--border);
|
|
3335
|
+
box-shadow: 12px 0 42px rgba(8, 30, 52, .08);
|
|
3336
|
+
backdrop-filter: blur(18px);
|
|
3337
|
+
}
|
|
3338
|
+
.brand {
|
|
3339
|
+
min-height: 54px; padding: 8px 12px 14px;
|
|
3340
|
+
border-bottom: 1px solid var(--border);
|
|
3341
|
+
position: relative;
|
|
3342
|
+
}
|
|
3343
|
+
.brand::before {
|
|
3344
|
+
content: ""; width: 26px; height: 26px; border-radius: 9px;
|
|
3345
|
+
display: inline-block; flex: none;
|
|
3346
|
+
background: linear-gradient(135deg, var(--accent), var(--accent2));
|
|
3347
|
+
box-shadow: 0 5px 14px color-mix(in srgb, var(--accent) 34%, transparent);
|
|
3348
|
+
}
|
|
3349
|
+
.brand::after {
|
|
3350
|
+
content: "✦"; position: absolute; left: 19px; top: 11px;
|
|
3351
|
+
color: #fff; font-size: 13px; font-weight: 700;
|
|
3352
|
+
}
|
|
3353
|
+
.brand-name { font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; }
|
|
3354
|
+
/* Keep the product wordmark intact; the refresh must not manufacture a second logo. */
|
|
3355
|
+
.brand::before, .brand::after { content: none; display: none; }
|
|
3356
|
+
.brand { min-height: 0; padding: 6px 8px 12px; }
|
|
3357
|
+
.brand-name { font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--text); }
|
|
3358
|
+
.new-task {
|
|
3359
|
+
margin: 16px 4px 8px; min-height: 42px; border-radius: 12px;
|
|
3360
|
+
background: linear-gradient(110deg, var(--accent), color-mix(in srgb, var(--accent2) 82%, var(--accent)));
|
|
3361
|
+
color: #fff; border: 0; box-shadow: 0 9px 20px color-mix(in srgb, var(--accent) 24%, transparent);
|
|
3362
|
+
transition: transform .18s ease, box-shadow .18s ease;
|
|
3363
|
+
}
|
|
3364
|
+
.new-task:hover { transform: translateY(-1px); box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 34%, transparent); }
|
|
3365
|
+
.side-search { min-height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--panel) 68%, transparent); }
|
|
3366
|
+
.side-quick { margin-top: 8px; }
|
|
3367
|
+
.qitem, .set-item { border-radius: 10px; min-height: 36px; transition: background .16s ease, color .16s ease, transform .16s ease; }
|
|
3368
|
+
.qitem:hover, .set-item:hover { transform: translateX(2px); }
|
|
3369
|
+
.qitem.active, .set-item.active { background: color-mix(in srgb, var(--accent) 13%, var(--panel)); color: var(--text); }
|
|
3370
|
+
.side-label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
|
|
3371
|
+
.side-tasks { padding-top: 3px; }
|
|
3372
|
+
|
|
3373
|
+
#mainwrap { background: transparent; }
|
|
3374
|
+
.topbar {
|
|
3375
|
+
min-height: 64px; padding: 12px 24px;
|
|
3376
|
+
background: var(--bg);
|
|
3377
|
+
border-bottom: 1px solid var(--border);
|
|
3378
|
+
position: sticky; top: 0; z-index: 10;
|
|
3379
|
+
}
|
|
3380
|
+
.page-title { font-family: var(--font-display); font-size: 16px; letter-spacing: .02em; }
|
|
3381
|
+
.top-actions { gap: 8px; }
|
|
3382
|
+
.pill, .icon-btn { border-color: var(--border); background: color-mix(in srgb, var(--panel) 70%, transparent); transition: all .16s ease; }
|
|
3383
|
+
.pill:hover, .icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
|
|
3384
|
+
.conn { border-radius: 999px; padding: 6px 10px; background: color-mix(in srgb, var(--ok) 12%, var(--panel)); font-size: 11px; }
|
|
3385
|
+
|
|
3386
|
+
main { padding: 28px clamp(16px, 4vw, 56px) 70px; }
|
|
3387
|
+
.page { gap: 22px; max-width: 1280px; }
|
|
3388
|
+
.panel {
|
|
3389
|
+
border: 1px solid var(--border); border-radius: var(--r-lg);
|
|
3390
|
+
background: linear-gradient(145deg, color-mix(in srgb, var(--panel) 96%, transparent), color-mix(in srgb, var(--panel2) 30%, transparent));
|
|
3391
|
+
box-shadow: var(--shadow); backdrop-filter: blur(18px);
|
|
3392
|
+
}
|
|
3393
|
+
.panel-head { padding: 20px 24px; border-bottom: 1px solid var(--border); }
|
|
3394
|
+
.panel-head h2, .detail-head h2 { font-family: var(--font-display); letter-spacing: -.01em; }
|
|
3395
|
+
.composer { padding: clamp(24px, 4vw, 42px); position: relative; overflow: hidden; }
|
|
3396
|
+
.composer::after {
|
|
3397
|
+
content: ""; position: absolute; width: 250px; height: 250px; right: -80px; top: -120px;
|
|
3398
|
+
border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
|
|
3399
|
+
box-shadow: 0 0 0 24px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 48px color-mix(in srgb, var(--accent) 3%, transparent);
|
|
3400
|
+
pointer-events: none;
|
|
3401
|
+
}
|
|
3402
|
+
.hero { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.035em; }
|
|
3403
|
+
.hero-sub { max-width: 680px; font-size: 14px; line-height: 1.65; color: var(--muted); }
|
|
3404
|
+
.cmp-pills { gap: 10px; }
|
|
3405
|
+
.cmp-pills .type-pick, .cmp-wd { min-height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--panel2) 66%, transparent); border-color: var(--border); }
|
|
3406
|
+
.cmp-box { margin-top: 14px; border-radius: 16px; background: color-mix(in srgb, var(--panel) 72%, transparent); border-color: var(--border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); transition: border .18s, box-shadow .18s; }
|
|
3407
|
+
.cmp-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.08); }
|
|
3408
|
+
.cmp-box textarea { min-height: 92px; font-size: 15px; line-height: 1.6; }
|
|
3409
|
+
.cmp-send .primary { width: 40px; height: 40px; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent); }
|
|
3410
|
+
.cmp-chip { border-radius: 999px; min-height: 30px; background: color-mix(in srgb, var(--panel2) 52%, transparent); transition: all .16s ease; }
|
|
3411
|
+
.cmp-chip:hover { transform: translateY(-1px); }
|
|
3412
|
+
|
|
3413
|
+
.card { border-radius: 14px; background: color-mix(in srgb, var(--panel) 58%, transparent); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
|
|
3414
|
+
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 10px 24px rgba(7, 24, 45, .10); }
|
|
3415
|
+
.seg { padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--panel2) 70%, transparent); }
|
|
3416
|
+
.seg-btn { border-radius: 8px; }
|
|
3417
|
+
button.primary, button.new-task { font-weight: 700; }
|
|
3418
|
+
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
3419
|
+
|
|
3420
|
+
@keyframes cb-rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
|
|
3421
|
+
.panel { animation: cb-rise .42s ease both; }
|
|
3422
|
+
.panel:nth-child(2) { animation-delay: .05s; }
|
|
3423
|
+
.panel:nth-child(3) { animation-delay: .1s; }
|
|
3424
|
+
|
|
3425
|
+
@media (max-width: 760px) {
|
|
3426
|
+
.topbar { padding: 10px 14px; }
|
|
3427
|
+
.top-actions .pill:not(.ctrl), .top-actions .conn { display: none; }
|
|
3428
|
+
main { padding: 16px 12px 48px; }
|
|
3429
|
+
.composer { padding: 22px 16px; }
|
|
3430
|
+
.hero-row { align-items: flex-start; flex-direction: column; }
|
|
3431
|
+
.hero { font-size: 25px; }
|
|
3432
|
+
.cmp-wd { flex-basis: 100%; }
|
|
3433
|
+
.panel-head { padding: 16px; }
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
/* The log is a stable bottom utility, so opening a step never reflows the hive. */
|
|
3437
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
3438
|
+
position: fixed;
|
|
3439
|
+
left: calc(264px + clamp(16px, 4vw, 56px));
|
|
3440
|
+
right: clamp(16px, 4vw, 56px);
|
|
3441
|
+
bottom: 16px;
|
|
3442
|
+
z-index: 50;
|
|
3443
|
+
width: auto;
|
|
3444
|
+
max-height: min(46vh, 430px);
|
|
3445
|
+
margin: 0;
|
|
3446
|
+
border: 1px solid var(--border-strong);
|
|
3447
|
+
border-radius: 14px;
|
|
3448
|
+
box-shadow: 0 18px 48px rgba(6, 18, 35, .28), 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
|
|
3449
|
+
}
|
|
3450
|
+
body.side-collapsed #run-detail #rd-log.rd-logdrawer { left: clamp(16px, 4vw, 56px); }
|
|
3451
|
+
#run-detail #rd-log.rd-logdrawer { right: clamp(16px, 4vw, 56px); }
|
|
3452
|
+
body.inspector-open #run-detail #rd-log.rd-logdrawer {
|
|
3453
|
+
right: calc(340px + clamp(16px, 4vw, 56px));
|
|
3454
|
+
}
|
|
3455
|
+
#run-detail #rd-log.rd-logdrawer pre { max-height: min(40vh, 360px); }
|
|
3456
|
+
@media (max-width: 900px) {
|
|
3457
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
3458
|
+
left: 12px; right: 12px; z-index: 50;
|
|
3459
|
+
}
|
|
3460
|
+
body.inspector-open #run-detail #rd-log.rd-logdrawer { right: 12px; }
|
|
3461
|
+
}
|
|
3462
|
+
@media (max-width: 760px) {
|
|
3463
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
3464
|
+
left: 12px; right: 12px; bottom: 12px; max-height: 52vh;
|
|
3465
|
+
border-radius: 12px;
|
|
3466
|
+
}
|
|
3467
|
+
#run-detail #rd-log.rd-logdrawer pre { max-height: calc(52vh - 42px); }
|
|
3468
|
+
}
|
|
3469
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3470
|
+
*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/* Hive cockpit refinement: summary counters, progress meters, and clearer scan order. */
|
|
3474
|
+
.rd-hive .sec-title { align-items: center; flex-wrap: wrap; gap: 8px; }
|
|
3475
|
+
#rd-hive-sub { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-left: auto; }
|
|
3476
|
+
.hive-count {
|
|
3477
|
+
display: inline-flex; align-items: center; gap: 4px; min-height: 21px;
|
|
3478
|
+
padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px;
|
|
3479
|
+
background: color-mix(in srgb, var(--panel2) 68%, transparent);
|
|
3480
|
+
color: var(--muted); font: 600 10px/1 var(--mono); letter-spacing: .02em;
|
|
3481
|
+
}
|
|
3482
|
+
.hive-count-live { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); background: color-mix(in srgb, var(--accent) 9%, transparent); }
|
|
3483
|
+
.hive-count-done { color: var(--ok); }
|
|
3484
|
+
.hive-count-issue { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 34%, var(--border)); background: color-mix(in srgb, var(--bad) 8%, transparent); }
|
|
3485
|
+
.hive-count-total { color: var(--muted); }
|
|
3486
|
+
.hive-hint { color: var(--muted); font-size: 10.5px; opacity: .82; }
|
|
3487
|
+
.hive-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
3488
|
+
.lane-head { align-items: center; }
|
|
3489
|
+
.lane-meter {
|
|
3490
|
+
display: inline-flex; width: clamp(48px, 10vw, 88px); height: 5px; overflow: hidden;
|
|
3491
|
+
margin-left: auto; border-radius: 999px; background: color-mix(in srgb, var(--text) 10%, transparent);
|
|
3492
|
+
}
|
|
3493
|
+
.lane-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ok), var(--accent)); transition: width .35s ease; }
|
|
3494
|
+
.lane-active .lane-meter i { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
|
|
3495
|
+
.lane-idle .lane-meter { opacity: .55; }
|
|
3496
|
+
.hive-cell .hc-tail { min-height: 1.3em; }
|
|
3497
|
+
@media (max-width: 680px) {
|
|
3498
|
+
.rd-hive .sec-title { align-items: flex-start; }
|
|
3499
|
+
#rd-hive-sub { width: 100%; margin-left: 0; }
|
|
3500
|
+
.hive-count { font-size: 9.5px; }
|
|
3501
|
+
.lane-meter { width: 56px; }
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
/* Detail sections: one navigation language for chat, hive, steps, results, Git and bible. */
|
|
3505
|
+
#run-detail #rd-tabs {
|
|
3506
|
+
display: flex; align-items: center; gap: 4px; flex-wrap: nowrap;
|
|
3507
|
+
padding: 4px; margin: 0 0 18px; border: 1px solid var(--border);
|
|
3508
|
+
border-radius: 14px; background: color-mix(in srgb, var(--panel2) 58%, transparent);
|
|
3509
|
+
box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent);
|
|
3510
|
+
overflow-x: auto; scrollbar-width: none;
|
|
3511
|
+
}
|
|
3512
|
+
#run-detail #rd-tabs::-webkit-scrollbar { display: none; }
|
|
3513
|
+
#run-detail #rd-tabs .rd-tab {
|
|
3514
|
+
position: relative; flex: 0 0 auto; min-height: 35px;
|
|
3515
|
+
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
|
3516
|
+
padding: 7px 12px; border: 1px solid transparent; border-radius: 10px;
|
|
3517
|
+
background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600;
|
|
3518
|
+
transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
|
|
3519
|
+
}
|
|
3520
|
+
#run-detail #rd-tabs .rd-tab .tab-ico {
|
|
3521
|
+
width: 14px; height: 14px; opacity: .72; transition: opacity .16s ease, color .16s ease;
|
|
3522
|
+
}
|
|
3523
|
+
#run-detail #rd-tabs .rd-tab:hover {
|
|
3524
|
+
color: var(--text); background: color-mix(in srgb, var(--panel) 66%, transparent);
|
|
3525
|
+
}
|
|
3526
|
+
#run-detail #rd-tabs .rd-tab:hover .tab-ico { opacity: 1; }
|
|
3527
|
+
#run-detail #rd-tabs .rd-tab.active {
|
|
3528
|
+
color: var(--accent); background: var(--panel);
|
|
3529
|
+
border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
|
|
3530
|
+
box-shadow: 0 3px 10px color-mix(in srgb, var(--text) 8%, transparent);
|
|
3531
|
+
}
|
|
3532
|
+
#run-detail #rd-tabs .rd-tab.active .tab-ico { opacity: 1; color: var(--accent); }
|
|
3533
|
+
#run-detail #rd-tabs .rd-tab.active::after { display: none; }
|
|
3534
|
+
#run-detail #rd-tabs .rd-badge {
|
|
3535
|
+
min-width: 20px; justify-content: center; padding: 1px 6px; line-height: 16px;
|
|
3536
|
+
background: color-mix(in srgb, var(--text) 6%, transparent);
|
|
3537
|
+
border-color: var(--border); font-size: 10px;
|
|
3538
|
+
}
|
|
3539
|
+
#run-detail #rd-tabs .rd-tab.active .rd-badge {
|
|
3540
|
+
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
|
3541
|
+
border-color: color-mix(in srgb, var(--accent) 34%, transparent);
|
|
3542
|
+
}
|
|
3543
|
+
#run-detail .rd-pane > .sec-title,
|
|
3544
|
+
#run-detail .rd-pane .bible-head,
|
|
3545
|
+
#run-detail .rd-pane .git-head,
|
|
3546
|
+
#run-detail .rd-pane .files-head {
|
|
3547
|
+
min-height: 34px; margin-top: 0; padding: 0 2px 10px;
|
|
3548
|
+
border-bottom: 1px solid var(--border);
|
|
3549
|
+
}
|
|
3550
|
+
#run-detail .rd-pane > .sec-title::after { background: color-mix(in srgb, var(--accent) 28%, var(--border)); }
|
|
3551
|
+
#run-detail .rd-pane[data-pane="steps"] #rd-steps,
|
|
3552
|
+
#run-detail .rd-pane[data-pane="result"] #rd-report,
|
|
3553
|
+
#run-detail .rd-pane[data-pane="git"] #rd-git,
|
|
3554
|
+
#run-detail .rd-pane[data-pane="bible"] #rd-bible,
|
|
3555
|
+
#run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta {
|
|
3556
|
+
padding-top: 4px;
|
|
3557
|
+
}
|
|
3558
|
+
#run-detail .rd-pane[data-pane="git"] #rd-git,
|
|
3559
|
+
#run-detail .rd-pane[data-pane="bible"] #rd-bible,
|
|
3560
|
+
#run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta {
|
|
3561
|
+
padding: 14px 16px 18px; border: 1px solid var(--border); border-radius: 14px;
|
|
3562
|
+
background: color-mix(in srgb, var(--panel) 66%, transparent);
|
|
3563
|
+
}
|
|
3564
|
+
@media (max-width: 620px) {
|
|
3565
|
+
#run-detail #rd-tabs { margin-bottom: 14px; border-radius: 12px; }
|
|
3566
|
+
#run-detail #rd-tabs .rd-tab { min-height: 33px; padding: 7px 10px; font-size: 12px; }
|
|
3567
|
+
#run-detail #rd-tabs .rd-tab .tab-ico { width: 13px; height: 13px; }
|
|
3568
|
+
#run-detail #rd-tabs { scrollbar-width: thin; }
|
|
3569
|
+
#run-detail #rd-tabs::-webkit-scrollbar { display: block; height: 4px; }
|
|
3570
|
+
#run-detail #rd-tabs::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 55%, var(--border-strong)); }
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
/* Log output is a docked console, not a floating card over the current section. */
|
|
3574
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
3575
|
+
position: fixed; left: calc(264px + clamp(16px, 4vw, 56px));
|
|
3576
|
+
right: clamp(16px, 4vw, 56px); bottom: 0; z-index: 50;
|
|
3577
|
+
max-height: min(32vh, 320px); margin: 0; padding: 0;
|
|
3578
|
+
border: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
|
|
3579
|
+
border-radius: 0; background: color-mix(in srgb, var(--panel) 94%, transparent);
|
|
3580
|
+
box-shadow: 0 -12px 30px color-mix(in srgb, var(--text) 10%, transparent);
|
|
3581
|
+
backdrop-filter: blur(18px);
|
|
3582
|
+
}
|
|
3583
|
+
body.side-collapsed #run-detail #rd-log.rd-logdrawer {
|
|
3584
|
+
left: clamp(16px, 4vw, 56px);
|
|
3585
|
+
}
|
|
3586
|
+
body.inspector-open #run-detail #rd-log.rd-logdrawer {
|
|
3587
|
+
right: calc(340px + clamp(16px, 4vw, 56px));
|
|
3588
|
+
}
|
|
3589
|
+
#run-detail #rd-log.rd-logdrawer .log-live-bar {
|
|
3590
|
+
min-height: 36px; padding: 7px clamp(14px, 2vw, 24px);
|
|
3591
|
+
background: color-mix(in srgb, var(--panel2) 72%, transparent);
|
|
3592
|
+
border-bottom: 1px solid var(--border);
|
|
3593
|
+
}
|
|
3594
|
+
#run-detail #rd-log.rd-logdrawer pre {
|
|
3595
|
+
max-height: min(28vh, 280px); margin: 0;
|
|
3596
|
+
padding: 10px clamp(14px, 2vw, 24px) 14px;
|
|
3597
|
+
background: transparent; border: 0; border-radius: 0;
|
|
3598
|
+
font-size: 12px; line-height: 1.6;
|
|
3599
|
+
}
|
|
3600
|
+
@media (max-width: 900px) {
|
|
3601
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
3602
|
+
left: 0; right: 0; bottom: 0; max-height: 34vh;
|
|
3603
|
+
}
|
|
3604
|
+
body.inspector-open #run-detail #rd-log.rd-logdrawer { right: 0; }
|
|
3605
|
+
#run-detail #rd-log.rd-logdrawer pre { max-height: calc(34vh - 38px); }
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
/* Composer 开跑前成本预估行(借鉴 omnigent):弱化小字,挂在快捷类型 chips 下方 */
|
|
3609
|
+
.cmp-estimate { margin: 6px 2px 0; font-size: 12px; opacity: .72; }
|
|
3610
|
+
.field-optional {
|
|
3611
|
+
margin-left: 6px; padding: 2px 7px; border: 1px solid var(--border);
|
|
3612
|
+
border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 500;
|
|
3613
|
+
}
|
|
3614
|
+
#bible-create-field {
|
|
3615
|
+
margin: 12px 0 14px; padding: 14px 16px 12px;
|
|
3616
|
+
border: 1px solid color-mix(in srgb, var(--accent2) 24%, var(--border));
|
|
3617
|
+
border-radius: 14px; background: color-mix(in srgb, var(--accent2) 5%, var(--panel));
|
|
3618
|
+
}
|
|
3619
|
+
#bible-create-field label { color: var(--text); }
|
|
3620
|
+
#bible-create-field label .ico { color: var(--accent2); }
|
|
3621
|
+
#bible-create-field textarea {
|
|
3622
|
+
min-height: 106px; resize: vertical; line-height: 1.6;
|
|
3623
|
+
background: color-mix(in srgb, var(--panel) 72%, transparent);
|
|
3624
|
+
}
|
|
3625
|
+
#bible-create-field .hint { margin: 7px 0 0; line-height: 1.45; }
|
|
3626
|
+
|
|
3627
|
+
/* ================================================================
|
|
3628
|
+
2026-09 · quiet control room
|
|
3629
|
+
The product has many capabilities, so the surface should stay quiet:
|
|
3630
|
+
one alignment grid, flat page sections, and borders only where they
|
|
3631
|
+
communicate an interaction or a state.
|
|
3632
|
+
================================================================ */
|
|
3633
|
+
|
|
3634
|
+
/* A clean canvas makes the hierarchy readable in every skin. */
|
|
3635
|
+
body {
|
|
3636
|
+
background: var(--bg);
|
|
3637
|
+
letter-spacing: 0;
|
|
3638
|
+
}
|
|
3639
|
+
body::before { display: none; }
|
|
3640
|
+
#sidebar {
|
|
3641
|
+
box-shadow: none;
|
|
3642
|
+
backdrop-filter: none;
|
|
3643
|
+
}
|
|
3644
|
+
#mainwrap { background: transparent; }
|
|
3645
|
+
main {
|
|
3646
|
+
padding: 28px clamp(18px, 3.2vw, 44px) 72px;
|
|
3647
|
+
}
|
|
3648
|
+
.page {
|
|
3649
|
+
width: 100%; max-width: 1280px; gap: 18px;
|
|
3650
|
+
}
|
|
3651
|
+
main .panel.wide {
|
|
3652
|
+
background: transparent;
|
|
3653
|
+
border: 0;
|
|
3654
|
+
box-shadow: none;
|
|
3655
|
+
border-radius: 0;
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
/* New task: three controls on one baseline, with management as an inline
|
|
3659
|
+
action instead of a stray button box. */
|
|
3660
|
+
#sub-tasks .composer {
|
|
3661
|
+
padding: clamp(20px, 3vw, 38px) 0 26px;
|
|
3662
|
+
overflow: visible;
|
|
3663
|
+
}
|
|
3664
|
+
#sub-tasks .hero-row { align-items: center; }
|
|
3665
|
+
#sub-tasks .hero {
|
|
3666
|
+
font-size: clamp(24px, 3vw, 34px);
|
|
3667
|
+
font-weight: 400;
|
|
3668
|
+
letter-spacing: -.035em;
|
|
3669
|
+
}
|
|
3670
|
+
#sub-tasks .hero-sub { margin-bottom: 24px; }
|
|
3671
|
+
#sub-tasks .cmp-pills {
|
|
3672
|
+
display: grid;
|
|
3673
|
+
grid-template-columns: max-content max-content minmax(0, 1fr);
|
|
3674
|
+
align-items: center;
|
|
3675
|
+
gap: 10px;
|
|
3676
|
+
margin-bottom: 6px;
|
|
3677
|
+
}
|
|
3678
|
+
#sub-tasks .cmp-pills .type-pick,
|
|
3679
|
+
#sub-tasks .cmp-pills .cmp-wd {
|
|
3680
|
+
min-height: 40px;
|
|
3681
|
+
}
|
|
3682
|
+
#sub-tasks #btn-flows-mgr {
|
|
3683
|
+
align-self: center;
|
|
3684
|
+
min-height: 40px;
|
|
3685
|
+
padding: 0 8px;
|
|
3686
|
+
border: 0;
|
|
3687
|
+
border-radius: 8px;
|
|
3688
|
+
background: transparent;
|
|
3689
|
+
color: var(--muted);
|
|
3690
|
+
}
|
|
3691
|
+
#sub-tasks #btn-flows-mgr:hover {
|
|
3692
|
+
background: color-mix(in srgb, var(--accent) 8%, transparent);
|
|
3693
|
+
color: var(--accent);
|
|
3694
|
+
}
|
|
3695
|
+
#sub-tasks .cmp-wd {
|
|
3696
|
+
border: 0;
|
|
3697
|
+
border-bottom: 1px solid var(--border-strong);
|
|
3698
|
+
border-radius: 0;
|
|
3699
|
+
background: transparent;
|
|
3700
|
+
padding-inline: 2px;
|
|
3701
|
+
}
|
|
3702
|
+
#sub-tasks .cmp-wd:focus-within { border-color: var(--accent); }
|
|
3703
|
+
#sub-tasks .cmp-wd input { background: transparent; }
|
|
3704
|
+
#sub-tasks .cmp-box {
|
|
3705
|
+
margin-top: 18px;
|
|
3706
|
+
padding: 0;
|
|
3707
|
+
border: 0;
|
|
3708
|
+
border-top: 1px solid var(--border-strong);
|
|
3709
|
+
border-bottom: 1px solid var(--border-strong);
|
|
3710
|
+
border-radius: 0;
|
|
3711
|
+
background: transparent;
|
|
3712
|
+
box-shadow: none;
|
|
3713
|
+
}
|
|
3714
|
+
#sub-tasks .cmp-box:focus-within {
|
|
3715
|
+
border-color: var(--accent);
|
|
3716
|
+
box-shadow: none;
|
|
3717
|
+
}
|
|
3718
|
+
#sub-tasks .cmp-box textarea {
|
|
3719
|
+
min-height: 112px;
|
|
3720
|
+
padding: 16px 2px 8px;
|
|
3721
|
+
background: transparent;
|
|
3722
|
+
font-size: 15px;
|
|
3723
|
+
}
|
|
3724
|
+
#sub-tasks .cmp-bar {
|
|
3725
|
+
min-height: 44px;
|
|
3726
|
+
padding: 0;
|
|
3727
|
+
border-top: 1px solid var(--border);
|
|
3728
|
+
}
|
|
3729
|
+
#sub-tasks .cmp-quick {
|
|
3730
|
+
margin: 12px 0 2px;
|
|
3731
|
+
gap: 6px;
|
|
3732
|
+
}
|
|
3733
|
+
#sub-tasks .cmp-chip {
|
|
3734
|
+
min-height: 30px;
|
|
3735
|
+
padding-inline: 11px;
|
|
3736
|
+
background: transparent;
|
|
3737
|
+
}
|
|
3738
|
+
#sub-tasks details#f-advanced {
|
|
3739
|
+
margin-top: 16px;
|
|
3740
|
+
padding-top: 12px;
|
|
3741
|
+
}
|
|
3742
|
+
#sub-tasks details#f-advanced summary {
|
|
3743
|
+
font-size: 12.5px;
|
|
3744
|
+
color: var(--muted);
|
|
3745
|
+
}
|
|
3746
|
+
@media (max-width: 680px) {
|
|
3747
|
+
#sub-tasks .cmp-pills { grid-template-columns: max-content max-content; }
|
|
3748
|
+
#sub-tasks .cmp-pills .cmp-wd { grid-column: 1 / -1; }
|
|
3749
|
+
#sub-tasks .hero-row { align-items: flex-start; }
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
/* Shared detail grid: title, metadata, tabs and every pane use the same edge. */
|
|
3753
|
+
#run-detail {
|
|
3754
|
+
padding: 0 clamp(0px, 1.2vw, 18px) 30px;
|
|
3755
|
+
}
|
|
3756
|
+
#run-detail .detail-head {
|
|
3757
|
+
min-height: 62px;
|
|
3758
|
+
margin: 0;
|
|
3759
|
+
padding: 16px 0 13px;
|
|
3760
|
+
align-items: center;
|
|
3761
|
+
}
|
|
3762
|
+
#run-detail .detail-head h2 {
|
|
3763
|
+
min-width: 0;
|
|
3764
|
+
line-height: 1.35;
|
|
3765
|
+
}
|
|
3766
|
+
#run-detail .rd-actions { align-items: center; }
|
|
3767
|
+
#run-detail .rd-meta-strip {
|
|
3768
|
+
min-height: 30px;
|
|
3769
|
+
margin: 0 0 14px;
|
|
3770
|
+
align-items: center;
|
|
3771
|
+
}
|
|
3772
|
+
#run-detail .rd-meta-strip .stat {
|
|
3773
|
+
display: inline-flex;
|
|
3774
|
+
align-items: center;
|
|
3775
|
+
min-height: 28px;
|
|
3776
|
+
background: transparent;
|
|
3777
|
+
}
|
|
3778
|
+
#run-detail #rd-tabs {
|
|
3779
|
+
gap: 2px;
|
|
3780
|
+
margin: 0 0 20px;
|
|
3781
|
+
padding: 0;
|
|
3782
|
+
border: 0;
|
|
3783
|
+
border-bottom: 1px solid var(--border);
|
|
3784
|
+
border-radius: 0;
|
|
3785
|
+
background: transparent;
|
|
3786
|
+
box-shadow: none;
|
|
3787
|
+
}
|
|
3788
|
+
#run-detail #rd-tabs .rd-tab {
|
|
3789
|
+
min-height: 38px;
|
|
3790
|
+
padding: 8px 12px 10px;
|
|
3791
|
+
border: 0;
|
|
3792
|
+
border-radius: 7px 7px 0 0;
|
|
3793
|
+
background: transparent;
|
|
3794
|
+
}
|
|
3795
|
+
#run-detail #rd-tabs .rd-tab:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
|
|
3796
|
+
#run-detail #rd-tabs .rd-tab.active {
|
|
3797
|
+
color: var(--accent);
|
|
3798
|
+
background: transparent;
|
|
3799
|
+
box-shadow: none;
|
|
3800
|
+
}
|
|
3801
|
+
#run-detail #rd-tabs .rd-tab.active::after {
|
|
3802
|
+
display: block;
|
|
3803
|
+
left: 10px; right: 10px; bottom: -1px;
|
|
3804
|
+
height: 2px;
|
|
3805
|
+
background: var(--accent);
|
|
3806
|
+
}
|
|
3807
|
+
#run-detail .rd-main { gap: 0; }
|
|
3808
|
+
|
|
3809
|
+
/* Remove the nested card frame from report, Git, bible and book metadata.
|
|
3810
|
+
Their headings and separators already establish the structure. */
|
|
3811
|
+
#run-detail .rd-pane[data-pane="result"] .report,
|
|
3812
|
+
#run-detail .rd-pane[data-pane="git"] #rd-git,
|
|
3813
|
+
#run-detail .rd-pane[data-pane="bible"] #rd-bible,
|
|
3814
|
+
#run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta {
|
|
3815
|
+
padding: 0 0 24px;
|
|
3816
|
+
border: 0;
|
|
3817
|
+
border-radius: 0;
|
|
3818
|
+
background: transparent;
|
|
3819
|
+
box-shadow: none;
|
|
3820
|
+
}
|
|
3821
|
+
#run-detail .rd-pane[data-pane="result"] .report { padding-top: 0; }
|
|
3822
|
+
#run-detail .rd-pane[data-pane="result"] .report h1:first-child { margin-top: 0; }
|
|
3823
|
+
#run-detail .rd-pane[data-pane="git"] #rd-git,
|
|
3824
|
+
#run-detail .rd-pane[data-pane="bible"] #rd-bible,
|
|
3825
|
+
#run-detail .rd-pane[data-pane="bookmeta"] #rd-bookmeta { margin-top: 0; }
|
|
3826
|
+
#run-detail .rd-pane .git-head,
|
|
3827
|
+
#run-detail .rd-pane .bible-head,
|
|
3828
|
+
#run-detail .rd-pane .bm-head,
|
|
3829
|
+
#run-detail .rd-pane .files-head {
|
|
3830
|
+
min-height: 38px;
|
|
3831
|
+
margin: 0 0 14px;
|
|
3832
|
+
padding: 0 0 10px;
|
|
3833
|
+
border-bottom: 1px solid var(--border);
|
|
3834
|
+
}
|
|
3835
|
+
#run-detail .rd-pane .git-head .sec-title,
|
|
3836
|
+
#run-detail .rd-pane .bible-head .sec-title,
|
|
3837
|
+
#run-detail .rd-pane .bm-head .sec-title,
|
|
3838
|
+
#run-detail .rd-pane .files-head .sec-title {
|
|
3839
|
+
margin: 0;
|
|
3840
|
+
padding: 0;
|
|
3841
|
+
border: 0;
|
|
3842
|
+
letter-spacing: .02em;
|
|
3843
|
+
text-transform: none;
|
|
3844
|
+
}
|
|
3845
|
+
#run-detail .rd-pane .git-head .sec-title::after,
|
|
3846
|
+
#run-detail .rd-pane .bible-head .sec-title::after,
|
|
3847
|
+
#run-detail .rd-pane .bm-head .sec-title::after,
|
|
3848
|
+
#run-detail .rd-pane .files-head .sec-title::after { display: none; }
|
|
3849
|
+
#run-detail .rd-bible .bible-head,
|
|
3850
|
+
#run-detail .rd-git .git-head,
|
|
3851
|
+
#run-detail .rd-bookmeta .bm-head {
|
|
3852
|
+
display: flex;
|
|
3853
|
+
align-items: center;
|
|
3854
|
+
gap: 9px;
|
|
3855
|
+
flex-wrap: wrap;
|
|
3856
|
+
}
|
|
3857
|
+
#run-detail .rd-bible .bible-head .hint,
|
|
3858
|
+
#run-detail .rd-git .git-head .hint,
|
|
3859
|
+
#run-detail .rd-bookmeta .bm-head .hint {
|
|
3860
|
+
flex: 1 1 240px;
|
|
3861
|
+
min-width: 0;
|
|
3862
|
+
}
|
|
3863
|
+
#run-detail .rd-bible .bible-view { margin: 0; max-height: 280px; }
|
|
3864
|
+
#run-detail .rd-bible .bible-editor { margin-top: 0; }
|
|
3865
|
+
|
|
3866
|
+
/* Hive: keep the stage relationship, remove the heavy nested panel treatment. */
|
|
3867
|
+
#run-detail .rd-hive { margin-top: 0; }
|
|
3868
|
+
#run-detail .rd-hive .sec-title { margin-bottom: 12px; }
|
|
3869
|
+
#rd-hive-cells { gap: 0; }
|
|
3870
|
+
#rd-hive-cells .hive-lane {
|
|
3871
|
+
border: 0;
|
|
3872
|
+
border-top: 1px solid var(--border);
|
|
3873
|
+
border-radius: 0;
|
|
3874
|
+
padding: 13px 0 14px;
|
|
3875
|
+
background: transparent;
|
|
3876
|
+
box-shadow: none;
|
|
3877
|
+
}
|
|
3878
|
+
#rd-hive-cells .hive-lane:last-child { border-bottom: 1px solid var(--border); }
|
|
3879
|
+
#rd-hive-cells .hive-lane::before {
|
|
3880
|
+
left: 0; right: auto; width: 56px; height: 2px;
|
|
3881
|
+
border-radius: 0;
|
|
3882
|
+
}
|
|
3883
|
+
#rd-hive-cells .hive-lane.lane-active {
|
|
3884
|
+
border-color: var(--accent);
|
|
3885
|
+
box-shadow: none;
|
|
3886
|
+
background: color-mix(in srgb, var(--accent) 2%, transparent);
|
|
3887
|
+
}
|
|
3888
|
+
#rd-hive-cells .lane-head { margin-bottom: 6px; }
|
|
3889
|
+
#rd-hive-cells .lane-idx {
|
|
3890
|
+
width: 28px; height: 24px;
|
|
3891
|
+
clip-path: none;
|
|
3892
|
+
border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
|
|
3893
|
+
border-radius: 6px;
|
|
3894
|
+
background: transparent;
|
|
3895
|
+
}
|
|
3896
|
+
#rd-hive-cells .lane-meter { margin-left: auto; width: 64px; }
|
|
3897
|
+
#rd-hive-cells .lane-live { margin-left: 10px; }
|
|
3898
|
+
#rd-hive-cells .lane-flow {
|
|
3899
|
+
height: 28px;
|
|
3900
|
+
width: 28px;
|
|
3901
|
+
margin: 0 0 0 12px;
|
|
3902
|
+
}
|
|
3903
|
+
#rd-hive-cells .flow-bee { display: none; }
|
|
3904
|
+
#rd-hive-cells .hive-cell {
|
|
3905
|
+
min-height: 76px;
|
|
3906
|
+
padding: 9px 10px;
|
|
3907
|
+
border-radius: 8px;
|
|
3908
|
+
background: color-mix(in srgb, var(--panel) 70%, transparent);
|
|
3909
|
+
box-shadow: none;
|
|
3910
|
+
}
|
|
3911
|
+
#rd-hive-cells .hive-cell:hover {
|
|
3912
|
+
transform: translateY(-1px);
|
|
3913
|
+
box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 10%, transparent);
|
|
3914
|
+
}
|
|
3915
|
+
#rd-hive-cells .hive-cell::before { height: 2px; }
|
|
3916
|
+
#rd-hive-cells .hc-tail { margin-top: 6px; }
|
|
3917
|
+
#rd-hive-cells .hc-meta { margin-top: auto; }
|
|
3918
|
+
|
|
3919
|
+
/* Results: file names and preview actions share fixed columns, so every row
|
|
3920
|
+
starts and ends on the same vertical guides. */
|
|
3921
|
+
#run-detail .rd-arts .files-head {
|
|
3922
|
+
display: grid;
|
|
3923
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
3924
|
+
align-items: center;
|
|
3925
|
+
gap: 14px;
|
|
3926
|
+
}
|
|
3927
|
+
#run-detail .rd-arts .files-head .wd {
|
|
3928
|
+
max-width: none;
|
|
3929
|
+
min-width: 0;
|
|
3930
|
+
}
|
|
3931
|
+
#run-detail .rd-arts .file-chips {
|
|
3932
|
+
width: min(100%, 760px);
|
|
3933
|
+
gap: 4px;
|
|
3934
|
+
margin-top: 0;
|
|
3935
|
+
}
|
|
3936
|
+
#run-detail .rd-arts .fc-row {
|
|
3937
|
+
display: grid;
|
|
3938
|
+
grid-template-columns: minmax(0, 1fr) 76px;
|
|
3939
|
+
align-items: center;
|
|
3940
|
+
gap: 8px;
|
|
3941
|
+
min-width: 0;
|
|
3942
|
+
}
|
|
3943
|
+
#run-detail .rd-arts .fc-row .file-chip:first-child {
|
|
3944
|
+
width: 100%;
|
|
3945
|
+
min-width: 0;
|
|
3946
|
+
}
|
|
3947
|
+
#run-detail .rd-arts .fc-row .file-chip.prev {
|
|
3948
|
+
width: 76px;
|
|
3949
|
+
justify-content: center;
|
|
3950
|
+
padding-inline: 8px;
|
|
3951
|
+
}
|
|
3952
|
+
|
|
3953
|
+
/* Docked log: a utility rail, never a modal card floating over the hive. */
|
|
3954
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
3955
|
+
left: calc(264px + clamp(18px, 3.2vw, 44px));
|
|
3956
|
+
right: clamp(18px, 3.2vw, 44px);
|
|
3957
|
+
bottom: 0;
|
|
3958
|
+
z-index: 40;
|
|
3959
|
+
max-height: min(30vh, 300px);
|
|
3960
|
+
border: 0;
|
|
3961
|
+
border-top: 1px solid var(--border-strong);
|
|
3962
|
+
border-radius: 0;
|
|
3963
|
+
box-shadow: 0 -10px 24px color-mix(in srgb, var(--text) 8%, transparent);
|
|
3964
|
+
}
|
|
3965
|
+
body.side-collapsed #run-detail #rd-log.rd-logdrawer { left: clamp(18px, 3.2vw, 44px); }
|
|
3966
|
+
body.inspector-open #run-detail #rd-log.rd-logdrawer {
|
|
3967
|
+
right: calc(340px + clamp(18px, 3.2vw, 44px));
|
|
3968
|
+
z-index: 40;
|
|
3969
|
+
}
|
|
3970
|
+
#run-detail #rd-log.rd-logdrawer .log-live-bar {
|
|
3971
|
+
min-height: 36px;
|
|
3972
|
+
padding-inline: clamp(12px, 2vw, 22px);
|
|
3973
|
+
background: var(--panel2);
|
|
3974
|
+
}
|
|
3975
|
+
#run-detail #rd-log.rd-logdrawer pre {
|
|
3976
|
+
max-height: min(26vh, 260px);
|
|
3977
|
+
padding-inline: clamp(12px, 2vw, 22px);
|
|
3978
|
+
background: transparent;
|
|
3979
|
+
}
|
|
3980
|
+
@media (max-width: 900px) {
|
|
3981
|
+
#run-detail #rd-log.rd-logdrawer,
|
|
3982
|
+
body.side-collapsed #run-detail #rd-log.rd-logdrawer,
|
|
3983
|
+
body.inspector-open #run-detail #rd-log.rd-logdrawer {
|
|
3984
|
+
left: 0; right: 0; bottom: 0; max-height: 32vh;
|
|
3985
|
+
}
|
|
3986
|
+
#run-detail #rd-log.rd-logdrawer pre { max-height: calc(32vh - 38px); }
|
|
3987
|
+
}
|
|
3988
|
+
|
|
3989
|
+
/* Keep every compact list aligned when the viewport cannot fit the desktop
|
|
3990
|
+
columns. */
|
|
3991
|
+
@media (max-width: 720px) {
|
|
3992
|
+
#run-detail { padding-inline: 0; }
|
|
3993
|
+
#run-detail .detail-head { padding-top: 12px; }
|
|
3994
|
+
#run-detail .rd-pane .files-head { grid-template-columns: 1fr; gap: 4px; }
|
|
3995
|
+
#run-detail .rd-arts .fc-row { grid-template-columns: minmax(0, 1fr) 68px; }
|
|
3996
|
+
#run-detail .rd-arts .fc-row .file-chip.prev { width: 68px; }
|
|
3997
|
+
#rd-hive-cells .lane-meter { width: 52px; }
|
|
3998
|
+
}
|
|
3999
|
+
|
|
4000
|
+
/* ---- 对话页「执行结果」卡:run 终态摘要(状态/执行者/耗时/产出文件),时间线收尾 ---- */
|
|
4001
|
+
.rd-outcome { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--border);
|
|
4002
|
+
border-radius: 10px; background: color-mix(in srgb, var(--panel) 82%, transparent); }
|
|
4003
|
+
.rd-outcome .outcome-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
|
|
4004
|
+
.outcome-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: 14px; }
|
|
4005
|
+
.outcome-title .ico { width: 17px; height: 17px; }
|
|
4006
|
+
.outcome-title.ok { color: var(--ok); }
|
|
4007
|
+
.outcome-title.bad { color: var(--bad); }
|
|
4008
|
+
.outcome-title.live { color: var(--accent); }
|
|
4009
|
+
.outcome-status { color: var(--text); font-weight: 500; margin-left: 2px; }
|
|
4010
|
+
.outcome-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto;
|
|
4011
|
+
color: var(--muted); font-size: 12px; }
|
|
4012
|
+
.outcome-meta b { color: var(--text); font-weight: 600; }
|
|
4013
|
+
.outcome-summary { margin-top: 10px; color: var(--text); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
4014
|
+
.outcome-error { margin-top: 9px; color: var(--bad); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
4015
|
+
.outcome-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
|
|
4016
|
+
.outcome-actions .ghost { font-size: 12px; padding: 5px 10px; }
|
|
4017
|
+
.chat-result { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 12px;
|
|
4018
|
+
padding: 12px 14px; background: var(--panel); }
|
|
4019
|
+
.chat-result .cr-head { display: flex; align-items: center; gap: 8px; font-weight: 600;
|
|
4020
|
+
font-size: 13.5px; color: var(--ok); }
|
|
4021
|
+
.chat-result.bad .cr-head { color: var(--bad); }
|
|
4022
|
+
.chat-result.off .cr-head { color: var(--muted); }
|
|
4023
|
+
.chat-result .cr-head .ico { width: 16px; height: 16px; flex: none; }
|
|
4024
|
+
.chat-result .cr-meta { font-size: 12px; color: var(--muted); margin-top: 5px; }
|
|
4025
|
+
.chat-result .cr-err { font-size: 12.5px; color: var(--bad); margin-top: 8px; line-height: 1.5;
|
|
4026
|
+
white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
4027
|
+
.chat-result .cr-files { margin-top: 10px; }
|
|
4028
|
+
.chat-result .cr-files-title { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
|
|
4029
|
+
.chat-result .cr-steps { margin-top: 10px; font-size: 12.5px; }
|
|
4030
|
+
|
|
4031
|
+
/* ================================================================
|
|
4032
|
+
2026-09 · 对话式任务入口 + 任务概览
|
|
4033
|
+
新建任务像一个工作台入口:只突出上下文、目标和发送动作,
|
|
4034
|
+
详细参数继续留在「更多选项」里,不让配置表单抢走第一视线。
|
|
4035
|
+
================================================================ */
|
|
4036
|
+
/* 首页高度不再自算视口(旧 min-height: calc(100vh - 64px) 与 main 自身上下
|
|
4037
|
+
内边距相加恒定溢出 → 页面永远多出一条滚动条)。改为 main 挂 flex 把内容区
|
|
4038
|
+
原样让给子页,composer 在其中垂直居中;内容超高(矮窗口)时 flex 不压缩,
|
|
4039
|
+
main 照常滚动,其它子页不受影响。 */
|
|
4040
|
+
main:has(> #page-settings > #sub-tasks:not(.hidden)) {
|
|
4041
|
+
display: flex;
|
|
4042
|
+
flex-direction: column;
|
|
4043
|
+
padding-bottom: 36px;
|
|
4044
|
+
}
|
|
4045
|
+
main:has(> #page-settings > #sub-tasks:not(.hidden)) > #page-settings { flex: 1 0 auto; }
|
|
4046
|
+
/* 运行记录/详情子页:详情面板定高一屏(顶距 92 + 底距 28 与其 height 公式对齐),
|
|
4047
|
+
底部内边距收紧——否则文档高出一截,窗口滚动条又会回来 */
|
|
4048
|
+
main:has(> #page-settings > #sub-runs:not(.hidden)) { padding-bottom: 28px; }
|
|
4049
|
+
#sub-tasks {
|
|
4050
|
+
flex: 1 0 auto;
|
|
4051
|
+
display: flex;
|
|
4052
|
+
align-items: center;
|
|
4053
|
+
justify-content: center;
|
|
4054
|
+
}
|
|
4055
|
+
#sub-tasks .composer {
|
|
4056
|
+
width: min(100%, 820px);
|
|
4057
|
+
max-width: 820px;
|
|
4058
|
+
margin: clamp(12px, 7vh, 72px) auto 0;
|
|
4059
|
+
padding: 0 0 36px;
|
|
4060
|
+
overflow: visible;
|
|
4061
|
+
}
|
|
4062
|
+
#sub-tasks .composer::after { display: none; }
|
|
4063
|
+
#sub-tasks .hero-row {
|
|
4064
|
+
justify-content: center;
|
|
4065
|
+
text-align: center;
|
|
4066
|
+
position: relative;
|
|
4067
|
+
margin-bottom: 16px;
|
|
4068
|
+
}
|
|
4069
|
+
/* 问候语克制:一行轻量招呼即可,不抢输入框的第一视线 */
|
|
4070
|
+
#sub-tasks .hero {
|
|
4071
|
+
font-size: 20px;
|
|
4072
|
+
font-weight: 550;
|
|
4073
|
+
letter-spacing: -.01em;
|
|
4074
|
+
}
|
|
4075
|
+
#sub-tasks .form { gap: 10px; }
|
|
4076
|
+
/* 工作目录=框内首行上下文(.cmp-pills 已移入 .cmp-box);
|
|
4077
|
+
git 仓库场景下分支选择以小胶囊挂同一条上下文条(#row-git 移入) */
|
|
4078
|
+
#sub-tasks .cmp-pills {
|
|
4079
|
+
display: flex;
|
|
4080
|
+
align-items: center;
|
|
4081
|
+
flex-wrap: wrap;
|
|
4082
|
+
gap: 2px 8px;
|
|
4083
|
+
width: 100%;
|
|
4084
|
+
min-height: 0;
|
|
4085
|
+
margin: 0;
|
|
4086
|
+
padding: 6px 12px;
|
|
4087
|
+
border-bottom: 1px solid var(--border);
|
|
4088
|
+
}
|
|
4089
|
+
#sub-tasks .cmp-pills .cmp-wd {
|
|
4090
|
+
flex: 1 1 200px;
|
|
4091
|
+
display: flex;
|
|
4092
|
+
align-items: center;
|
|
4093
|
+
gap: 6px;
|
|
4094
|
+
width: auto;
|
|
4095
|
+
min-width: 0;
|
|
4096
|
+
min-height: 28px;
|
|
4097
|
+
padding: 0;
|
|
4098
|
+
border: 0;
|
|
4099
|
+
border-radius: 0;
|
|
4100
|
+
background: transparent;
|
|
4101
|
+
}
|
|
4102
|
+
#sub-tasks .cmp-wd > .ico { flex: none; width: 14px; height: 14px; color: var(--muted); }
|
|
4103
|
+
#sub-tasks .cmp-wd .input-row { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
|
|
4104
|
+
#sub-tasks .cmp-wd input {
|
|
4105
|
+
flex: 1;
|
|
4106
|
+
min-width: 0;
|
|
4107
|
+
min-height: 28px;
|
|
4108
|
+
padding: 3px 2px;
|
|
4109
|
+
background: transparent;
|
|
4110
|
+
border: 0;
|
|
4111
|
+
box-shadow: none;
|
|
4112
|
+
color: var(--text);
|
|
4113
|
+
font-size: 12px;
|
|
4114
|
+
text-overflow: ellipsis;
|
|
4115
|
+
}
|
|
4116
|
+
#sub-tasks .cmp-wd input::placeholder { color: var(--muted); }
|
|
4117
|
+
#sub-tasks .cmp-wd .ghost.small {
|
|
4118
|
+
flex: none;
|
|
4119
|
+
min-height: 24px;
|
|
4120
|
+
padding: 2px 7px;
|
|
4121
|
+
border: 0;
|
|
4122
|
+
background: transparent;
|
|
4123
|
+
color: var(--muted);
|
|
4124
|
+
font-size: 11px;
|
|
4125
|
+
}
|
|
4126
|
+
#sub-tasks .cmp-wd .ghost.small:hover { color: var(--accent); background: var(--panel2); }
|
|
4127
|
+
/* 分支胶囊:替换原整块「代码版本」表单;详情(当前分支/脏区/检出说明)走悬停 title */
|
|
4128
|
+
#sub-tasks #row-git {
|
|
4129
|
+
display: flex;
|
|
4130
|
+
align-items: center;
|
|
4131
|
+
flex: none;
|
|
4132
|
+
max-width: 46%;
|
|
4133
|
+
min-width: 0;
|
|
4134
|
+
margin: 0;
|
|
4135
|
+
padding: 0;
|
|
4136
|
+
border: 0;
|
|
4137
|
+
background: transparent;
|
|
4138
|
+
}
|
|
4139
|
+
#sub-tasks #row-git label { display: none; }
|
|
4140
|
+
#sub-tasks #row-git .hint { display: none; }
|
|
4141
|
+
#sub-tasks #f-git-rev {
|
|
4142
|
+
width: auto;
|
|
4143
|
+
max-width: 230px;
|
|
4144
|
+
min-height: 26px;
|
|
4145
|
+
padding: 2px 8px;
|
|
4146
|
+
border: 0;
|
|
4147
|
+
border-radius: 999px;
|
|
4148
|
+
background: var(--panel2);
|
|
4149
|
+
color: var(--text);
|
|
4150
|
+
font-size: 11.5px;
|
|
4151
|
+
text-overflow: ellipsis;
|
|
4152
|
+
}
|
|
4153
|
+
#sub-tasks .cmp-hint { margin: 5px 4px 0; font-size: 11px; text-align: left; }
|
|
4154
|
+
#sub-tasks .cmp-box {
|
|
4155
|
+
width: 100%;
|
|
4156
|
+
margin-top: 0;
|
|
4157
|
+
padding: 0 12px 9px;
|
|
4158
|
+
border: 1px solid color-mix(in srgb, var(--border-strong) 72%, transparent);
|
|
4159
|
+
border-radius: 16px;
|
|
4160
|
+
background: color-mix(in srgb, var(--panel) 94%, transparent);
|
|
4161
|
+
box-shadow: none;
|
|
4162
|
+
}
|
|
4163
|
+
#sub-tasks .cmp-box:focus-within {
|
|
4164
|
+
border-color: color-mix(in srgb, var(--accent) 68%, var(--border-strong));
|
|
4165
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent);
|
|
4166
|
+
}
|
|
4167
|
+
/* 极简收敛:这行说明与顶部 hero 副标重复(同一句「自动拆解并执行」),
|
|
4168
|
+
元素保留在 DOM(i18n/锚点兼容),仅不再占一行视觉噪音。 */
|
|
4169
|
+
#sub-tasks .cmp-context-note { display: none; }
|
|
4170
|
+
#sub-tasks .cmp-box textarea {
|
|
4171
|
+
min-height: 112px;
|
|
4172
|
+
padding: 14px 4px 12px;
|
|
4173
|
+
font-size: 15px;
|
|
4174
|
+
line-height: 1.65;
|
|
4175
|
+
background: transparent;
|
|
4176
|
+
}
|
|
4177
|
+
#sub-tasks .cmp-bar {
|
|
4178
|
+
display: flex;
|
|
4179
|
+
align-items: center;
|
|
4180
|
+
gap: 8px;
|
|
4181
|
+
min-height: 35px;
|
|
4182
|
+
padding: 5px 0 0;
|
|
4183
|
+
border-top: 1px solid var(--border);
|
|
4184
|
+
}
|
|
4185
|
+
#sub-tasks .cmp-mode { display: inline-flex; align-items: center; gap: 3px; }
|
|
4186
|
+
#sub-tasks .cmp-mode .type-pick {
|
|
4187
|
+
min-height: 29px;
|
|
4188
|
+
min-width: 0;
|
|
4189
|
+
padding: 4px 8px;
|
|
4190
|
+
border: 0;
|
|
4191
|
+
border-radius: 999px;
|
|
4192
|
+
background: var(--panel2);
|
|
4193
|
+
font-size: 11.5px;
|
|
4194
|
+
}
|
|
4195
|
+
#sub-tasks .cmp-mode .type-pick:hover { background: color-mix(in srgb, var(--accent) 10%, var(--panel2)); }
|
|
4196
|
+
#sub-tasks .cmp-bar .att-strip { min-width: 0; flex: 1; margin: 0; }
|
|
4197
|
+
#sub-tasks .cmp-bar .att-strip > .ghost.small {
|
|
4198
|
+
min-height: 28px;
|
|
4199
|
+
padding: 4px 8px;
|
|
4200
|
+
border: 0;
|
|
4201
|
+
background: transparent;
|
|
4202
|
+
color: var(--muted);
|
|
4203
|
+
}
|
|
4204
|
+
#sub-tasks .cmp-bar .att-strip > .ghost.small:hover { color: var(--text); background: var(--panel2); }
|
|
4205
|
+
#sub-tasks .cmp-send { gap: 8px; }
|
|
4206
|
+
#sub-tasks #btn-create.round {
|
|
4207
|
+
width: 31px;
|
|
4208
|
+
height: 31px;
|
|
4209
|
+
box-shadow: none;
|
|
4210
|
+
}
|
|
4211
|
+
/* 类型只留底部工具栏一个入口(胶囊+下拉菜单):下方快捷 chips 与其内容重复,
|
|
4212
|
+
不再展示;DOM 保留(测试做存在性计数,display:none 不影响)。 */
|
|
4213
|
+
#sub-tasks .cmp-quick { display: none; }
|
|
4214
|
+
#sub-tasks .cmp-chip {
|
|
4215
|
+
min-height: 28px;
|
|
4216
|
+
padding: 4px 10px;
|
|
4217
|
+
border-color: transparent;
|
|
4218
|
+
background: transparent;
|
|
4219
|
+
color: var(--muted);
|
|
4220
|
+
font-size: 11.5px;
|
|
4221
|
+
}
|
|
4222
|
+
#sub-tasks .cmp-chip:hover,
|
|
4223
|
+
#sub-tasks .cmp-chip.on { border-color: var(--border); background: var(--panel); color: var(--text); }
|
|
4224
|
+
#sub-tasks .cmp-chip.on { color: var(--accent); }
|
|
4225
|
+
#sub-tasks .cmp-estimate { text-align: center; margin: 6px 0 0; font-size: 11px; }
|
|
4226
|
+
#sub-tasks details#f-advanced {
|
|
4227
|
+
width: min(100%, 760px);
|
|
4228
|
+
margin: 15px auto 0;
|
|
4229
|
+
padding-top: 10px;
|
|
4230
|
+
border-top: 0;
|
|
4231
|
+
}
|
|
4232
|
+
#sub-tasks details#f-advanced summary { justify-content: center; font-size: 11.5px; }
|
|
4233
|
+
#sub-tasks details#f-advanced .adv-body {
|
|
4234
|
+
margin-top: 13px;
|
|
4235
|
+
padding: 15px;
|
|
4236
|
+
border: 1px solid var(--border);
|
|
4237
|
+
border-radius: 14px;
|
|
4238
|
+
background: color-mix(in srgb, var(--panel) 54%, transparent);
|
|
4239
|
+
text-align: left;
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4242
|
+
/* 任务详情概览:默认蜂巢前先交代结果与进度,减少“打开详情却不知道在看什么”。 */
|
|
4243
|
+
#run-detail .rd-overview {
|
|
4244
|
+
display: grid;
|
|
4245
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
4246
|
+
gap: 12px 24px;
|
|
4247
|
+
margin: 0 0 18px;
|
|
4248
|
+
padding: 17px 18px 15px;
|
|
4249
|
+
border-bottom: 1px solid var(--border);
|
|
4250
|
+
background: color-mix(in srgb, var(--panel) 45%, transparent);
|
|
4251
|
+
}
|
|
4252
|
+
#run-detail .rd-overview.hidden { display: none !important; }
|
|
4253
|
+
.rd-overview-main { min-width: 0; }
|
|
4254
|
+
.rd-overview-kicker {
|
|
4255
|
+
margin-bottom: 5px;
|
|
4256
|
+
color: var(--accent);
|
|
4257
|
+
font: 600 10px/1.2 var(--mono);
|
|
4258
|
+
letter-spacing: .1em;
|
|
4259
|
+
text-transform: uppercase;
|
|
4260
|
+
}
|
|
4261
|
+
.rd-overview-title {
|
|
4262
|
+
overflow: hidden;
|
|
4263
|
+
color: var(--text);
|
|
4264
|
+
font-size: 15px;
|
|
4265
|
+
font-weight: 650;
|
|
4266
|
+
line-height: 1.4;
|
|
4267
|
+
text-overflow: ellipsis;
|
|
4268
|
+
white-space: nowrap;
|
|
4269
|
+
}
|
|
4270
|
+
.rd-overview-goal {
|
|
4271
|
+
max-width: 760px;
|
|
4272
|
+
margin-top: 4px;
|
|
4273
|
+
overflow: hidden;
|
|
4274
|
+
color: var(--muted);
|
|
4275
|
+
font-size: 12px;
|
|
4276
|
+
line-height: 1.55;
|
|
4277
|
+
text-overflow: ellipsis;
|
|
4278
|
+
white-space: nowrap;
|
|
4279
|
+
}
|
|
4280
|
+
.rd-overview-state { min-width: 114px; text-align: right; }
|
|
4281
|
+
.rd-overview-state .state-label { display: block; color: var(--muted); font-size: 11px; }
|
|
4282
|
+
.rd-overview-state .state-value { display: block; margin-top: 2px; color: var(--text); font: 650 22px/1.1 var(--mono); }
|
|
4283
|
+
.rd-overview-state .state-value.ok { color: var(--ok); }
|
|
4284
|
+
.rd-overview-state .state-value.bad { color: var(--bad); }
|
|
4285
|
+
.rd-overview-progress { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); }
|
|
4286
|
+
.rd-overview-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .35s ease; }
|
|
4287
|
+
.rd-overview-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; }
|
|
4288
|
+
.rd-overview-facts span { display: inline-flex; align-items: center; gap: 5px; }
|
|
4289
|
+
.rd-overview-facts b { color: var(--text); font-weight: 600; }
|
|
4290
|
+
.rd-overview-last { grid-column: 1 / -1; min-width: 0; padding-top: 8px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11.5px; }
|
|
4291
|
+
.rd-overview-last b { margin-right: 6px; color: var(--text); font-weight: 600; }
|
|
4292
|
+
.rd-overview-last span { color: var(--text); }
|
|
4293
|
+
.rd-overview-actions { display: flex; justify-content: flex-end; gap: 6px; grid-column: 1 / -1; }
|
|
4294
|
+
.rd-overview-actions button { padding: 5px 9px; font-size: 11.5px; }
|
|
4295
|
+
|
|
4296
|
+
/* 直连详情把概览放进右上角信息面板;主区仍然只留对话。 */
|
|
4297
|
+
#run-detail.chat-mode .rd-meta-popover #rd-overview:not(.hidden) { display: grid !important; }
|
|
4298
|
+
|
|
4299
|
+
/* 日志已停靠右栏卡片下方(见「详情页侧边栏重构」段),不再盖住对话区,
|
|
4300
|
+
旧的 chat-mode 悬浮定位与聊天区让位 padding 全部退役(chat-log-open
|
|
4301
|
+
类仍由 JS 维护,留作状态标记)。 */
|
|
4302
|
+
|
|
4303
|
+
@media (max-width: 760px) {
|
|
4304
|
+
/* 高度交给 main→#page-settings→#sub-tasks 的 flex 链(见上方说明),不再自算 100vh */
|
|
4305
|
+
#sub-tasks { align-items: flex-start; }
|
|
4306
|
+
#sub-tasks .composer { margin-top: 6vh; padding-inline: 8px; }
|
|
4307
|
+
#sub-tasks .hero-row { align-items: center; }
|
|
4308
|
+
#sub-tasks .cmp-context-note { font-size: 10.5px; }
|
|
4309
|
+
#sub-tasks .cmp-bar { flex-wrap: wrap; }
|
|
4310
|
+
#sub-tasks .cmp-mode { order: 2; }
|
|
4311
|
+
#sub-tasks .cmp-bar .att-strip { order: 1; flex-basis: calc(100% - 8px); }
|
|
4312
|
+
#sub-tasks .cmp-send { order: 3; margin-left: auto; }
|
|
4313
|
+
#run-detail .rd-overview { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 12px; }
|
|
4314
|
+
.rd-overview-title, .rd-overview-goal { white-space: normal; }
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
/* ================= 按需任务信息 + 新建任务图片附件 =================
|
|
4318
|
+
详情首屏只保留标题、状态和主要操作;运行次数、步骤、成本、tokens、
|
|
4319
|
+
错误与进度概览由右上角「···」按需展开,避免信息条把蜂巢/对话推远。 */
|
|
4320
|
+
#run-detail .detail-head { position: relative; }
|
|
4321
|
+
#run-detail .rd-more-toggle {
|
|
4322
|
+
flex: none; width: 30px; height: 30px; padding: 0; border: 0;
|
|
4323
|
+
border-radius: 8px; background: transparent; color: var(--muted);
|
|
4324
|
+
font: 700 18px/1 var(--font-body); letter-spacing: 2px; cursor: pointer;
|
|
4325
|
+
transition: background-color .15s, color .15s;
|
|
4326
|
+
}
|
|
4327
|
+
#run-detail .rd-more-toggle:hover,
|
|
4328
|
+
#run-detail .rd-more-toggle:focus-visible,
|
|
4329
|
+
#run-detail.rd-info-open .rd-more-toggle {
|
|
4330
|
+
color: var(--text); background: var(--panel2); outline: none;
|
|
4331
|
+
}
|
|
4332
|
+
#run-detail .rd-meta-popover {
|
|
4333
|
+
position: absolute; z-index: 30; top: calc(100% - 4px); right: 0;
|
|
4334
|
+
width: min(470px, calc(100vw - 42px)); box-sizing: border-box;
|
|
4335
|
+
padding: 12px 14px 14px; border: 1px solid var(--border-strong);
|
|
4336
|
+
border-radius: 14px; background: var(--panel);
|
|
4337
|
+
box-shadow: 0 16px 42px color-mix(in srgb, #000 26%, transparent);
|
|
4338
|
+
}
|
|
4339
|
+
#run-detail .rd-meta-popover.hidden { display: none !important; }
|
|
4340
|
+
.rd-meta-popover-head {
|
|
4341
|
+
display: flex; align-items: center; justify-content: space-between; gap: 10px;
|
|
4342
|
+
min-height: 25px; color: var(--text); font-size: 12px; font-weight: 650;
|
|
4343
|
+
}
|
|
4344
|
+
.rd-meta-popover-head button {
|
|
4345
|
+
width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px;
|
|
4346
|
+
color: var(--muted); background: transparent; font-size: 18px; line-height: 1;
|
|
4347
|
+
}
|
|
4348
|
+
.rd-meta-popover-head button:hover,
|
|
4349
|
+
.rd-meta-popover-head button:focus-visible { color: var(--text); background: var(--panel2); outline: none; }
|
|
4350
|
+
#run-detail .rd-meta-popover .rd-meta-strip {
|
|
4351
|
+
display: flex; align-items: center; gap: 6px 12px; margin: 8px 0 0;
|
|
4352
|
+
padding: 0 0 10px; border-bottom: 1px solid var(--border);
|
|
4353
|
+
}
|
|
4354
|
+
#run-detail .rd-meta-popover .rd-meta-strip .stat {
|
|
4355
|
+
min-height: 0; padding: 0; border: 0; border-radius: 0;
|
|
4356
|
+
background: transparent; font-size: 11.5px;
|
|
4357
|
+
}
|
|
4358
|
+
#run-detail .rd-meta-popover .rd-meta-strip .stat.err {
|
|
4359
|
+
flex-basis: 100%; max-width: 100%; padding-top: 6px;
|
|
4360
|
+
border-top: 1px solid var(--border); color: var(--bad);
|
|
4361
|
+
white-space: normal; overflow: visible; text-overflow: clip;
|
|
4362
|
+
}
|
|
4363
|
+
#run-detail .rd-meta-popover #rd-overview {
|
|
4364
|
+
grid-template-columns: minmax(0, 1fr) auto; gap: 9px 16px;
|
|
4365
|
+
margin: 10px 0 0; padding: 0; border: 0; background: transparent;
|
|
4366
|
+
}
|
|
4367
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-kicker { display: none; }
|
|
4368
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-title {
|
|
4369
|
+
font-size: 13px; line-height: 1.35;
|
|
4370
|
+
}
|
|
4371
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-goal {
|
|
4372
|
+
margin-top: 3px; font-size: 11px; white-space: normal;
|
|
4373
|
+
}
|
|
4374
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-state { min-width: 82px; }
|
|
4375
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-state .state-value { font-size: 17px; }
|
|
4376
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-facts { gap: 4px 12px; font-size: 11px; }
|
|
4377
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-last {
|
|
4378
|
+
padding-top: 7px; font-size: 11px; border-top-color: var(--border);
|
|
4379
|
+
}
|
|
4380
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-actions { justify-content: flex-start; }
|
|
4381
|
+
#run-detail .rd-meta-popover #rd-overview .rd-overview-actions button { padding: 4px 8px; font-size: 11px; }
|
|
4382
|
+
|
|
4383
|
+
/* 新建任务附件:图片有稳定的预览尺寸,普通文件继续使用轻量胶囊。 */
|
|
4384
|
+
#sub-tasks #att-chips {
|
|
4385
|
+
display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px;
|
|
4386
|
+
min-height: 0; margin: 3px 4px 0;
|
|
4387
|
+
}
|
|
4388
|
+
#sub-tasks #att-chips:empty { display: none; }
|
|
4389
|
+
#sub-tasks .att-chip.att-image {
|
|
4390
|
+
position: relative; width: 88px; height: 88px; max-width: none; padding: 0;
|
|
4391
|
+
overflow: visible; border-radius: 12px; background: var(--panel2);
|
|
4392
|
+
border-color: var(--border); box-shadow: 0 2px 10px color-mix(in srgb, #000 10%, transparent);
|
|
4393
|
+
}
|
|
4394
|
+
#sub-tasks .att-chip.att-image img {
|
|
4395
|
+
display: block; width: 100%; height: 100%; object-fit: cover;
|
|
4396
|
+
border-radius: inherit; background: var(--panel2);
|
|
4397
|
+
}
|
|
4398
|
+
#sub-tasks .att-chip.att-image .att-image-name {
|
|
4399
|
+
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
4400
|
+
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
|
|
4401
|
+
}
|
|
4402
|
+
#sub-tasks .att-chip.att-image .ax {
|
|
4403
|
+
position: absolute; z-index: 2; top: -6px; right: -6px;
|
|
4404
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
4405
|
+
width: 20px; height: 20px; padding: 0; border: 1px solid var(--panel);
|
|
4406
|
+
border-radius: 50%; background: var(--text); color: var(--panel);
|
|
4407
|
+
box-shadow: 0 2px 6px color-mix(in srgb, #000 18%, transparent);
|
|
4408
|
+
}
|
|
4409
|
+
#sub-tasks .att-chip.att-image .ax .ico { width: 11px; height: 11px; }
|
|
4410
|
+
#sub-tasks .att-chip.att-image .ax:hover,
|
|
4411
|
+
#sub-tasks .att-chip.att-image .ax:focus-visible { background: var(--bad); color: #fff; outline: none; }
|
|
4412
|
+
#sub-tasks .cmp-box > .att-chips + textarea { padding-top: 8px; }
|
|
4413
|
+
|
|
4414
|
+
@media (max-width: 700px) {
|
|
4415
|
+
#run-detail .rd-meta-popover {
|
|
4416
|
+
left: 8px; right: 8px; width: auto; top: calc(100% + 2px);
|
|
4417
|
+
}
|
|
4418
|
+
#run-detail .rd-meta-popover #rd-overview { grid-template-columns: minmax(0, 1fr) auto; }
|
|
4419
|
+
#sub-tasks .att-chip.att-image { width: 82px; height: 82px; }
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
/* ================= 详情页侧边栏重构 =================
|
|
4423
|
+
右栏只有一张卡(#rd-rail):任务信息(返回/标题/状态/操作)在上,
|
|
4424
|
+
分区导航在下,中间发丝线分隔;主区只呈现当前工作内容。操作按钮
|
|
4425
|
+
统一等宽两列小尺寸,靠颜色区分主次,不再长短不一。 */
|
|
4426
|
+
#run-detail {
|
|
4427
|
+
display: grid;
|
|
4428
|
+
grid-template-columns: minmax(0, 1fr) clamp(260px, 23vw, 324px);
|
|
4429
|
+
grid-template-areas: "main rail";
|
|
4430
|
+
column-gap: clamp(22px, 3vw, 44px);
|
|
4431
|
+
align-items: stretch;
|
|
4432
|
+
/* 工作台定高:面板钉满一屏(顶距 92 = topbar 64 + main 上边距 28;底 28 呼吸),
|
|
4433
|
+
蜂巢/步骤等长内容在主区内滚——窗口级滚动条从详情页彻底退役 */
|
|
4434
|
+
height: calc(100vh - 120px);
|
|
4435
|
+
min-height: 460px;
|
|
4436
|
+
padding: 0 0 20px;
|
|
4437
|
+
}
|
|
4438
|
+
#rd-railcol {
|
|
4439
|
+
grid-area: rail;
|
|
4440
|
+
position: sticky;
|
|
4441
|
+
top: 16px;
|
|
4442
|
+
z-index: 8;
|
|
4443
|
+
display: flex;
|
|
4444
|
+
flex-direction: column;
|
|
4445
|
+
gap: 12px;
|
|
4446
|
+
min-width: 0;
|
|
4447
|
+
max-height: calc(100vh - 110px); /* 列最高一屏:内容少就缩回去,页面不滚进空白;
|
|
4448
|
+
减 110 = 未吸顶时的自然顶距(topbar 64 + main 上内边距 28) + 底部呼吸 16px */
|
|
4449
|
+
overflow: hidden; /* 超出部分在列内裁掉/内部滚动,不再撑出页面滚动条 */
|
|
4450
|
+
}
|
|
4451
|
+
#rd-rail {
|
|
4452
|
+
flex: 0 0 auto; /* 卡片=紧凑导航:永不缩、永不滚(内部滚动条是「到处滚动条」的元凶);
|
|
4453
|
+
列内空间不够时只让日志框收缩 */
|
|
4454
|
+
min-height: 0;
|
|
4455
|
+
overflow: hidden; /* 内容 1px 超宽也不冒横向滚动条;••• 弹层自带内滚 */
|
|
4456
|
+
padding: 14px 16px 12px;
|
|
4457
|
+
border: 1px solid var(--border);
|
|
4458
|
+
border-radius: 16px;
|
|
4459
|
+
background: color-mix(in srgb, var(--panel) 92%, transparent);
|
|
4460
|
+
}
|
|
4461
|
+
#rd-rail > .detail-head {
|
|
4462
|
+
position: relative;
|
|
4463
|
+
display: flex;
|
|
4464
|
+
min-width: 0;
|
|
4465
|
+
min-height: 0;
|
|
4466
|
+
flex-direction: column;
|
|
4467
|
+
align-items: stretch;
|
|
4468
|
+
gap: 8px;
|
|
4469
|
+
margin: 0;
|
|
4470
|
+
padding: 0;
|
|
4471
|
+
border: 0;
|
|
4472
|
+
background: transparent;
|
|
4473
|
+
}
|
|
4474
|
+
#rd-rail > .detail-head::before {
|
|
4475
|
+
content: "TASK DETAIL";
|
|
4476
|
+
display: block;
|
|
4477
|
+
margin-bottom: -2px;
|
|
4478
|
+
color: var(--muted);
|
|
4479
|
+
font: 600 10px/1 var(--mono);
|
|
4480
|
+
letter-spacing: .14em;
|
|
4481
|
+
}
|
|
4482
|
+
#rd-rail > .detail-head > #btn-back {
|
|
4483
|
+
order: 0;
|
|
4484
|
+
align-self: flex-start;
|
|
4485
|
+
min-height: 24px;
|
|
4486
|
+
padding: 2px 7px;
|
|
4487
|
+
border: 0;
|
|
4488
|
+
color: var(--muted);
|
|
4489
|
+
background: transparent;
|
|
4490
|
+
}
|
|
4491
|
+
#rd-rail > .detail-head > #btn-back:hover { color: var(--text); background: var(--panel2); }
|
|
4492
|
+
#rd-rail > .detail-head > #rd-title {
|
|
4493
|
+
order: 1;
|
|
4494
|
+
width: calc(100% - 26px);
|
|
4495
|
+
margin: 0;
|
|
4496
|
+
color: var(--text);
|
|
4497
|
+
font-size: 16px;
|
|
4498
|
+
line-height: 1.35;
|
|
4499
|
+
overflow-wrap: anywhere;
|
|
4500
|
+
}
|
|
4501
|
+
#rd-rail > .detail-head > #rd-status {
|
|
4502
|
+
order: 2;
|
|
4503
|
+
align-self: flex-start;
|
|
4504
|
+
}
|
|
4505
|
+
/* 操作按钮:全部等宽两列小尺寸;主操作只靠颜色区分,不再跨列 */
|
|
4506
|
+
#rd-rail > .detail-head > .rd-actions {
|
|
4507
|
+
order: 3;
|
|
4508
|
+
display: grid;
|
|
4509
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4510
|
+
align-items: stretch;
|
|
4511
|
+
justify-content: stretch;
|
|
4512
|
+
gap: 6px;
|
|
4513
|
+
width: 100%;
|
|
4514
|
+
padding-top: 10px;
|
|
4515
|
+
border-top: 1px solid var(--border);
|
|
4516
|
+
}
|
|
4517
|
+
#rd-rail > .detail-head > .rd-actions button {
|
|
4518
|
+
min-width: 0;
|
|
4519
|
+
min-height: 27px;
|
|
4520
|
+
overflow: hidden;
|
|
4521
|
+
text-overflow: ellipsis;
|
|
4522
|
+
white-space: nowrap;
|
|
4523
|
+
padding: 3px 6px;
|
|
4524
|
+
border-radius: 8px;
|
|
4525
|
+
font-size: 11.5px;
|
|
4526
|
+
}
|
|
4527
|
+
#rd-rail > .detail-head > .rd-actions #rd-more-toggle {
|
|
4528
|
+
position: absolute;
|
|
4529
|
+
top: 12px;
|
|
4530
|
+
right: 0;
|
|
4531
|
+
width: 26px;
|
|
4532
|
+
min-height: 26px;
|
|
4533
|
+
padding: 0;
|
|
4534
|
+
}
|
|
4535
|
+
#rd-rail > .detail-head > .rd-meta-popover {
|
|
4536
|
+
position: static;
|
|
4537
|
+
order: 5;
|
|
4538
|
+
width: 100%;
|
|
4539
|
+
margin: 0;
|
|
4540
|
+
padding: 10px;
|
|
4541
|
+
border-radius: 10px;
|
|
4542
|
+
box-shadow: none;
|
|
4543
|
+
background: color-mix(in srgb, var(--panel2) 62%, transparent);
|
|
4544
|
+
max-height: min(44vh, 400px); /* 展开很长也不顶高卡片:弹层自己内滚 */
|
|
4545
|
+
overflow-y: auto;
|
|
4546
|
+
}
|
|
4547
|
+
#rd-rail > #rd-tabs,
|
|
4548
|
+
#rd-rail > #rd-chat-nav {
|
|
4549
|
+
min-width: 0;
|
|
4550
|
+
margin: 12px 0 0;
|
|
4551
|
+
padding: 10px 0 0;
|
|
4552
|
+
border: 0;
|
|
4553
|
+
border-top: 1px solid var(--border);
|
|
4554
|
+
border-radius: 0;
|
|
4555
|
+
background: transparent;
|
|
4556
|
+
box-shadow: none;
|
|
4557
|
+
}
|
|
4558
|
+
#rd-rail > #rd-tabs {
|
|
4559
|
+
display: flex;
|
|
4560
|
+
flex-direction: column;
|
|
4561
|
+
align-items: stretch;
|
|
4562
|
+
gap: 2px;
|
|
4563
|
+
overflow: visible;
|
|
4564
|
+
}
|
|
4565
|
+
#rd-rail > #rd-tabs .rd-tab {
|
|
4566
|
+
width: 100%;
|
|
4567
|
+
min-height: 30px;
|
|
4568
|
+
justify-content: flex-start;
|
|
4569
|
+
padding: 5px 8px;
|
|
4570
|
+
border-radius: 8px;
|
|
4571
|
+
text-align: left;
|
|
4572
|
+
font-size: 12px;
|
|
4573
|
+
}
|
|
4574
|
+
#rd-rail > #rd-tabs .rd-tab.active {
|
|
4575
|
+
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
|
4576
|
+
border-color: color-mix(in srgb, var(--accent) 24%, var(--border));
|
|
4577
|
+
}
|
|
4578
|
+
#rd-rail > #rd-tabs .rd-tab.active::after {
|
|
4579
|
+
top: 6px;
|
|
4580
|
+
right: 4px;
|
|
4581
|
+
bottom: 6px;
|
|
4582
|
+
left: auto;
|
|
4583
|
+
width: 3px;
|
|
4584
|
+
height: auto;
|
|
4585
|
+
border-radius: 3px;
|
|
4586
|
+
}
|
|
4587
|
+
#rd-rail > #rd-tabs .rd-badge { margin-left: auto; }
|
|
4588
|
+
#rd-rail > #rd-chat-nav {
|
|
4589
|
+
display: flex;
|
|
4590
|
+
flex-direction: column;
|
|
4591
|
+
align-items: stretch;
|
|
4592
|
+
gap: 2px;
|
|
4593
|
+
}
|
|
4594
|
+
#rd-rail > #rd-chat-nav.hidden { display: none; }
|
|
4595
|
+
#rd-rail > #rd-chat-nav .cn-pills {
|
|
4596
|
+
display: flex;
|
|
4597
|
+
flex-direction: column;
|
|
4598
|
+
align-items: stretch;
|
|
4599
|
+
gap: 2px;
|
|
4600
|
+
margin: 0;
|
|
4601
|
+
}
|
|
4602
|
+
#rd-rail > #rd-chat-nav .cn-pill {
|
|
4603
|
+
width: 100%;
|
|
4604
|
+
justify-content: space-between;
|
|
4605
|
+
min-height: 30px;
|
|
4606
|
+
padding: 5px 8px;
|
|
4607
|
+
border: 0;
|
|
4608
|
+
border-radius: 8px;
|
|
4609
|
+
text-align: left;
|
|
4610
|
+
font-size: 12px;
|
|
4611
|
+
}
|
|
4612
|
+
#rd-rail > #rd-chat-nav .cn-pill:hover,
|
|
4613
|
+
#rd-rail > #rd-chat-nav .cn-pill.on { background: color-mix(in srgb, var(--accent) 10%, transparent); }
|
|
4614
|
+
#rd-rail > #rd-chat-nav .cn-back {
|
|
4615
|
+
width: 100%;
|
|
4616
|
+
justify-content: flex-start;
|
|
4617
|
+
min-height: 28px;
|
|
4618
|
+
padding: 4px 8px;
|
|
4619
|
+
border: 0;
|
|
4620
|
+
border-radius: 8px;
|
|
4621
|
+
background: transparent;
|
|
4622
|
+
font-size: 12px;
|
|
4623
|
+
}
|
|
4624
|
+
#run-detail > .rd-main {
|
|
4625
|
+
grid-area: main;
|
|
4626
|
+
align-self: stretch;
|
|
4627
|
+
min-width: 0;
|
|
4628
|
+
min-height: 0;
|
|
4629
|
+
position: relative;
|
|
4630
|
+
padding-top: 2px;
|
|
4631
|
+
overflow-y: auto; /* 长内容(蜂巢泳道/步骤列表/报告)在主区内滚 */
|
|
4632
|
+
scrollbar-width: thin;
|
|
4633
|
+
overscroll-behavior: contain;
|
|
4634
|
+
}
|
|
4635
|
+
#run-detail > .rd-main::-webkit-scrollbar { width: 8px; }
|
|
4636
|
+
#run-detail > .rd-main > .rd-pane { min-width: 0; }
|
|
4637
|
+
/* 日志控制台停靠右栏卡片下方(窄侧栏):不再横向盖住主区内容。
|
|
4638
|
+
position: static 让旧的 fixed/left/right 底部悬浮层全部失效。 */
|
|
4639
|
+
#run-detail #rd-log.rd-logdrawer {
|
|
4640
|
+
position: static;
|
|
4641
|
+
display: flex;
|
|
4642
|
+
flex-direction: column;
|
|
4643
|
+
flex: 0 1 40vh; /* 默认视口 40% 高(拖拽后为期望 px);空间不足自动收缩,永不顶出窗口 */
|
|
4644
|
+
min-height: 140px;
|
|
4645
|
+
max-height: none; /* 了断历史各层 max-height(42vh/30vh/32vh…),高度只听这里 */
|
|
4646
|
+
width: auto;
|
|
4647
|
+
margin: 0;
|
|
4648
|
+
padding: 0;
|
|
4649
|
+
border: 1px solid var(--border);
|
|
4650
|
+
border-top: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
|
|
4651
|
+
border-radius: 14px;
|
|
4652
|
+
background: color-mix(in srgb, var(--panel) 96%, transparent);
|
|
4653
|
+
box-shadow: none;
|
|
4654
|
+
backdrop-filter: none;
|
|
4655
|
+
overflow: hidden;
|
|
4656
|
+
}
|
|
4657
|
+
#run-detail #rd-log.rd-logdrawer.hidden { display: none; }
|
|
4658
|
+
/* 顶边拖拽手柄:上拖变高、下拖变矮;双击复位为默认弹性高度 */
|
|
4659
|
+
.rd-log-grip {
|
|
4660
|
+
flex: none;
|
|
4661
|
+
height: 10px;
|
|
4662
|
+
display: flex;
|
|
4663
|
+
align-items: center;
|
|
4664
|
+
justify-content: center;
|
|
4665
|
+
cursor: ns-resize;
|
|
4666
|
+
touch-action: none;
|
|
4667
|
+
}
|
|
4668
|
+
.rd-log-grip::before {
|
|
4669
|
+
content: "";
|
|
4670
|
+
width: 44px;
|
|
4671
|
+
height: 4px;
|
|
4672
|
+
border-radius: 999px;
|
|
4673
|
+
background: color-mix(in srgb, var(--text) 16%, transparent);
|
|
4674
|
+
transition: background .15s;
|
|
4675
|
+
}
|
|
4676
|
+
.rd-log-grip:hover::before,
|
|
4677
|
+
.rd-log-grip:focus-visible::before { background: color-mix(in srgb, var(--accent) 60%, transparent); }
|
|
4678
|
+
body.rd-log-resizing { cursor: ns-resize; user-select: none; }
|
|
4679
|
+
#run-detail #rd-log.rd-logdrawer .log-live-bar {
|
|
4680
|
+
flex: none;
|
|
4681
|
+
flex-wrap: nowrap; /* 窄栏也单行排布,不再把「已结束」折成竖排 */
|
|
4682
|
+
min-height: 30px;
|
|
4683
|
+
padding: 4px 8px;
|
|
4684
|
+
gap: 6px;
|
|
4685
|
+
font-size: 11px;
|
|
4686
|
+
}
|
|
4687
|
+
#run-detail #rd-log.rd-logdrawer .log-live-bar > .ico { flex: none; }
|
|
4688
|
+
#run-detail #rd-log.rd-logdrawer .rd-log-step {
|
|
4689
|
+
flex: 0 1 auto;
|
|
4690
|
+
min-width: 0;
|
|
4691
|
+
overflow: hidden;
|
|
4692
|
+
text-overflow: ellipsis;
|
|
4693
|
+
white-space: nowrap;
|
|
4694
|
+
}
|
|
4695
|
+
#run-detail #rd-log.rd-logdrawer .log-live,
|
|
4696
|
+
#run-detail #rd-log.rd-logdrawer .log-at { flex: none; white-space: nowrap; }
|
|
4697
|
+
#run-detail #rd-log.rd-logdrawer .log-live-bar .hint { display: none; }
|
|
4698
|
+
#run-detail #rd-log.rd-logdrawer pre {
|
|
4699
|
+
flex: 1 1 auto;
|
|
4700
|
+
min-height: 0;
|
|
4701
|
+
max-height: none;
|
|
4702
|
+
margin: 0;
|
|
4703
|
+
padding: 8px 10px 10px;
|
|
4704
|
+
font-size: 11.5px;
|
|
4705
|
+
overflow: hidden auto; /* 长行已自动换行,横向滚动条永不出现 */
|
|
4706
|
+
scrollbar-width: thin;
|
|
4707
|
+
}
|
|
4708
|
+
#run-detail #rd-log.rd-logdrawer pre::-webkit-scrollbar { width: 8px; height: 0; }
|
|
4709
|
+
/* 递话面板(人工干预):运行中=入箱随下一步送达;已结束=自动断点续跑 */
|
|
4710
|
+
.rd-talk {
|
|
4711
|
+
order: 4; /* 排在操作按钮(order 3)之后;信息弹层顺延为 5 */
|
|
4712
|
+
display: flex;
|
|
4713
|
+
flex-direction: column;
|
|
4714
|
+
gap: 6px;
|
|
4715
|
+
width: 100%; /* 弹性列里显式占满,防内容把面板撑出卡片 */
|
|
4716
|
+
min-width: 0;
|
|
4717
|
+
max-width: 100%;
|
|
4718
|
+
box-sizing: border-box;
|
|
4719
|
+
margin-top: 10px;
|
|
4720
|
+
padding-top: 10px;
|
|
4721
|
+
border-top: 1px solid var(--border);
|
|
4722
|
+
}
|
|
4723
|
+
.rd-talk.hidden { display: none; }
|
|
4724
|
+
.rd-talk textarea {
|
|
4725
|
+
width: 100%;
|
|
4726
|
+
min-width: 0;
|
|
4727
|
+
box-sizing: border-box;
|
|
4728
|
+
flex: none; /* 面板内不被压缩成一条缝 */
|
|
4729
|
+
resize: vertical;
|
|
4730
|
+
height: 72px;
|
|
4731
|
+
min-height: 72px;
|
|
4732
|
+
font-size: 12px;
|
|
4733
|
+
line-height: 1.55;
|
|
4734
|
+
}
|
|
4735
|
+
.rd-talk-atts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
|
|
4736
|
+
.rd-talk-atts:empty { display: none; }
|
|
4737
|
+
.rd-talk-bar { display: flex; align-items: center; gap: 8px; }
|
|
4738
|
+
.rd-talk-bar .hint { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
|
|
4739
|
+
.rd-talk-bar .primary.small { min-height: 26px; padding: 3px 12px; font-size: 11.5px; flex: none; }
|
|
4740
|
+
/* 直连任务保持「对话先行」,但侧栏仍然承载标题、状态和其它入口。 */
|
|
4741
|
+
main.chat-fill #run-detail.chat-mode {
|
|
4742
|
+
display: grid;
|
|
4743
|
+
grid-template-columns: minmax(0, 1fr) clamp(260px, 23vw, 324px);
|
|
4744
|
+
grid-template-areas: "main rail";
|
|
4745
|
+
height: 100%;
|
|
4746
|
+
overflow: hidden;
|
|
4747
|
+
}
|
|
4748
|
+
main.chat-fill #run-detail.chat-mode > .rd-main { overflow: hidden; }
|
|
4749
|
+
|
|
4750
|
+
@media (max-width: 980px) {
|
|
4751
|
+
#run-detail,
|
|
4752
|
+
main.chat-fill #run-detail.chat-mode {
|
|
4753
|
+
display: flex;
|
|
4754
|
+
flex-direction: column;
|
|
4755
|
+
height: auto;
|
|
4756
|
+
max-height: none;
|
|
4757
|
+
overflow: visible;
|
|
4758
|
+
padding-bottom: 22px;
|
|
4759
|
+
}
|
|
4760
|
+
#rd-railcol {
|
|
4761
|
+
position: relative;
|
|
4762
|
+
top: auto;
|
|
4763
|
+
width: 100%;
|
|
4764
|
+
height: auto;
|
|
4765
|
+
max-height: none;
|
|
4766
|
+
margin-bottom: 12px;
|
|
4767
|
+
}
|
|
4768
|
+
#run-detail > .rd-main {
|
|
4769
|
+
width: 100%;
|
|
4770
|
+
overflow: visible;
|
|
4771
|
+
}
|
|
4772
|
+
main.chat-fill #run-detail.chat-mode > .rd-main { overflow: hidden; }
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
@media (max-width: 560px) {
|
|
4776
|
+
#rd-rail { padding: 12px 13px 10px; border-radius: 12px; }
|
|
4777
|
+
#rd-rail > .detail-head > #rd-title { font-size: 15px; }
|
|
4778
|
+
#rd-rail > .detail-head > .rd-actions #rd-more-toggle { top: 10px; right: 0; }
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
/* 已结束直连任务的续聊提示:只占一行,输入框仍是唯一主操作。 */
|
|
4782
|
+
.rd-chat-continue-note {
|
|
4783
|
+
display: flex; align-items: center; gap: 7px; min-height: 24px;
|
|
4784
|
+
padding: 0 6px 2px; color: var(--muted); font-size: 11.5px;
|
|
4785
|
+
}
|
|
4786
|
+
.rd-chat-continue-note.hidden { display: none !important; }
|
|
4787
|
+
.rd-chat-continue-note .continue-dot {
|
|
4788
|
+
width: 6px; height: 6px; flex: none; border-radius: 50%;
|
|
4789
|
+
background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 12%, transparent);
|
|
4790
|
+
}
|
|
4791
|
+
.rd-chat-continue-note .ghost.small {
|
|
4792
|
+
margin-left: auto; padding: 3px 8px; border: 0; font-size: 11px;
|
|
4793
|
+
color: var(--accent); background: transparent;
|
|
4794
|
+
}
|
|
4795
|
+
.rd-chat-continue-note .ghost.small:hover { background: var(--panel2); }
|
|
4796
|
+
.rd-chat-tools .rd-hint {
|
|
4797
|
+
flex: 1; min-width: 120px; overflow: hidden; color: var(--muted);
|
|
4798
|
+
font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap;
|
|
4799
|
+
}
|
|
4800
|
+
|
|
4801
|
+
/* 蜂巢过程行:保留阶段泳道和状态色,把每个智能体从「卡片」收敛为可扫描的行。
|
|
4802
|
+
点击区域仍覆盖整行,CLI 日志入口不变;这样蜂巢更接近 Codex 的留白和信息密度。 */
|
|
4803
|
+
#rd-hive-cells .lane-cells {
|
|
4804
|
+
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
|
4805
|
+
gap: 0 18px;
|
|
4806
|
+
}
|
|
4807
|
+
#rd-hive-cells .hive-cell {
|
|
4808
|
+
min-height: 68px; padding: 9px 4px 9px 12px;
|
|
4809
|
+
border: 0; border-top: 1px solid var(--border); border-radius: 0;
|
|
4810
|
+
background: transparent; box-shadow: none;
|
|
4811
|
+
}
|
|
4812
|
+
#rd-hive-cells .hive-cell::before {
|
|
4813
|
+
top: 10px; bottom: 10px; left: 0; right: auto; width: 2px; height: auto;
|
|
4814
|
+
border-radius: 999px; background: var(--border-strong); opacity: .72;
|
|
4815
|
+
}
|
|
4816
|
+
#rd-hive-cells .hive-cell.st-done::before { background: var(--ok); }
|
|
4817
|
+
#rd-hive-cells .hive-cell.st-failed::before { background: var(--bad); }
|
|
4818
|
+
#rd-hive-cells .hive-cell.st-timeout::before { background: var(--accent2); }
|
|
4819
|
+
#rd-hive-cells .hive-cell.st-cancelled::before { background: var(--warn); }
|
|
4820
|
+
#rd-hive-cells .hive-cell.st-running {
|
|
4821
|
+
border-color: var(--border); background: color-mix(in srgb, var(--accent) 3%, transparent);
|
|
4822
|
+
}
|
|
4823
|
+
#rd-hive-cells .hive-cell:hover,
|
|
4824
|
+
#rd-hive-cells .hive-cell:focus-visible {
|
|
4825
|
+
transform: none; background: color-mix(in srgb, var(--accent) 6%, transparent);
|
|
4826
|
+
box-shadow: none; outline-offset: -2px;
|
|
4827
|
+
}
|
|
4828
|
+
#rd-hive-cells .hc-tail { background: transparent; padding: 2px 0 0; }
|
|
4829
|
+
#rd-hive-cells .hc-meta { margin-top: 5px; }
|
|
4830
|
+
|
|
4831
|
+
/* 直连对话「建议追问」芯片(借鉴 freebuff suggest_followups):挂在助手气泡尾部,
|
|
4832
|
+
* 点击回填输入框不直接发送,用户可改后再发 */
|
|
4833
|
+
.chat-fups { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
|
|
4834
|
+
.chat-fup-btn {
|
|
4835
|
+
border: 1px solid var(--border, #ccc); background: transparent; color: inherit;
|
|
4836
|
+
border-radius: 999px; padding: 4px 12px; font-size: 12.5px; cursor: pointer; opacity: .85;
|
|
4837
|
+
}
|
|
4838
|
+
.chat-fup-btn:hover { border-color: var(--accent, #888); color: var(--accent, inherit); opacity: 1; }
|
|
4839
|
+
|
|
4840
|
+
/* ============ 工作目录「最近文件夹」下拉(参考工作区选择器:默认选中 + ▾ 菜单) ============ */
|
|
4841
|
+
#sub-tasks .cmp-pills { position: relative; }
|
|
4842
|
+
#sub-tasks .wd-menu-btn {
|
|
4843
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
4844
|
+
flex: none; width: 22px; min-height: 24px; padding: 0; border: 0; border-radius: 6px;
|
|
4845
|
+
background: transparent; color: var(--muted);
|
|
4846
|
+
}
|
|
4847
|
+
#sub-tasks .wd-menu-btn:hover,
|
|
4848
|
+
#sub-tasks .wd-menu-btn:focus-visible { color: var(--text); background: var(--panel2); outline: none; }
|
|
4849
|
+
#sub-tasks .wd-menu-btn .ico { width: 12px; height: 12px; }
|
|
4850
|
+
#sub-tasks .wd-menu {
|
|
4851
|
+
position: absolute; z-index: 40; top: calc(100% + 6px); left: 8px;
|
|
4852
|
+
width: min(300px, calc(100vw - 48px)); box-sizing: border-box;
|
|
4853
|
+
padding: 5px; border: 1px solid var(--border-strong); border-radius: 12px;
|
|
4854
|
+
background: var(--panel);
|
|
4855
|
+
box-shadow: 0 14px 38px color-mix(in srgb, #000 22%, transparent);
|
|
4856
|
+
}
|
|
4857
|
+
#sub-tasks .wd-menu.hidden { display: none !important; }
|
|
4858
|
+
.wd-item {
|
|
4859
|
+
display: flex; align-items: center; gap: 8px; width: 100%;
|
|
4860
|
+
min-height: 32px; padding: 5px 9px; border: 0; border-radius: 8px;
|
|
4861
|
+
background: transparent; color: var(--text); font-size: 12.5px;
|
|
4862
|
+
text-align: left; cursor: pointer; font-family: inherit;
|
|
4863
|
+
}
|
|
4864
|
+
.wd-item:hover, .wd-item:focus-visible { background: var(--panel2); outline: none; }
|
|
4865
|
+
.wd-item .ico { flex: none; width: 14px; height: 14px; color: var(--muted); }
|
|
4866
|
+
.wd-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4867
|
+
.wd-item.on { color: var(--accent); font-weight: 600; }
|
|
4868
|
+
.wd-item.on .ico { color: var(--accent); }
|
|
4869
|
+
.wd-item .wd-check { width: 13px; height: 13px; color: var(--accent); }
|
|
4870
|
+
.wd-item:disabled { opacity: .45; cursor: default; }
|
|
4871
|
+
.wd-item:disabled:hover { background: transparent; }
|
|
4872
|
+
.wd-sep { height: 1px; margin: 4px 6px; background: var(--border); }
|
|
4873
|
+
|
|
4874
|
+
/* ============ 分支胶囊:右停靠 + 「分支名 ▾」(点开原生下拉可换分支/标签/提交) ============ */
|
|
4875
|
+
#sub-tasks #row-git { margin-left: auto; }
|
|
4876
|
+
#sub-tasks #f-git-rev {
|
|
4877
|
+
appearance: none; -webkit-appearance: none;
|
|
4878
|
+
cursor: pointer; padding-right: 26px;
|
|
4879
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888a8f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
|
|
4880
|
+
background-repeat: no-repeat;
|
|
4881
|
+
background-position: right 9px center;
|
|
4882
|
+
}
|
|
4883
|
+
#sub-tasks #f-git-rev:focus { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
|
|
4884
|
+
|
|
4885
|
+
/* ============ 上下文条精修:首屏只读「路径 ←→ 分支」,操作键悬停/聚焦现身 ============ */
|
|
4886
|
+
/* 路径区作为一整块芯片:悬停或聚焦时给软底,操作键随之浮现 */
|
|
4887
|
+
#sub-tasks .cmp-pills .cmp-wd {
|
|
4888
|
+
min-height: 30px;
|
|
4889
|
+
padding: 0 4px 0 6px;
|
|
4890
|
+
border-radius: 10px;
|
|
4891
|
+
transition: background-color .15s;
|
|
4892
|
+
}
|
|
4893
|
+
#sub-tasks .cmp-pills .cmp-wd:hover,
|
|
4894
|
+
#sub-tasks .cmp-pills .cmp-wd:focus-within {
|
|
4895
|
+
background: color-mix(in srgb, var(--panel2) 62%, transparent);
|
|
4896
|
+
}
|
|
4897
|
+
/* 「选择…」默认隐去(功能在 ▾ 菜单和点击输入框里都有);触屏设备与键盘聚焦不隐藏 */
|
|
4898
|
+
#sub-tasks .cmp-wd .wd-pick-btn {
|
|
4899
|
+
opacity: 0;
|
|
4900
|
+
pointer-events: none;
|
|
4901
|
+
transition: opacity .15s;
|
|
4902
|
+
}
|
|
4903
|
+
#sub-tasks .cmp-wd:hover .wd-pick-btn,
|
|
4904
|
+
#sub-tasks .cmp-wd:focus-within .wd-pick-btn {
|
|
4905
|
+
opacity: 1;
|
|
4906
|
+
pointer-events: auto;
|
|
4907
|
+
}
|
|
4908
|
+
@media (hover: none) {
|
|
4909
|
+
#sub-tasks .cmp-wd .wd-pick-btn { opacity: 1; pointer-events: auto; }
|
|
4910
|
+
}
|
|
4911
|
+
/* 分支胶囊收紧:小一号、弱底色、悬停亮边 */
|
|
4912
|
+
#sub-tasks #f-git-rev {
|
|
4913
|
+
min-height: 24px;
|
|
4914
|
+
padding: 1px 24px 1px 10px;
|
|
4915
|
+
font-size: 11px;
|
|
4916
|
+
border: 1px solid transparent;
|
|
4917
|
+
border-radius: 999px;
|
|
4918
|
+
background-color: color-mix(in srgb, var(--panel2) 58%, transparent);
|
|
4919
|
+
transition: border-color .15s, background-color .15s;
|
|
4920
|
+
}
|
|
4921
|
+
#sub-tasks #f-git-rev:hover {
|
|
4922
|
+
border-color: color-mix(in srgb, var(--border-strong) 80%, transparent);
|
|
4923
|
+
background-color: var(--panel2);
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
/* ---------------------------------------------------------- 手工添加模型行
|
|
4927
|
+
* 厂商列表接口调不通时的通路:填模型名直接进列表(后端打 manual 标记防刷新清掉)。 */
|
|
4928
|
+
.pm-add { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
|
|
4929
|
+
.pm-add input[type="text"] { flex: 1; max-width: 460px; }
|
|
4930
|
+
.pm-add button { flex: none; }
|
|
4931
|
+
|
|
4932
|
+
/* ============ 「更多选项」面板精修:轻卡片 + 紧凑字段,向 composer 的克制看齐 ============ */
|
|
4933
|
+
#sub-tasks details#f-advanced .adv-body {
|
|
4934
|
+
gap: 10px;
|
|
4935
|
+
margin-top: 10px;
|
|
4936
|
+
padding: 12px 14px 14px;
|
|
4937
|
+
border: 1px solid var(--border);
|
|
4938
|
+
border-radius: 12px;
|
|
4939
|
+
background: color-mix(in srgb, var(--panel) 72%, transparent);
|
|
4940
|
+
}
|
|
4941
|
+
#sub-tasks details#f-advanced .field > label {
|
|
4942
|
+
min-height: 0;
|
|
4943
|
+
gap: 5px;
|
|
4944
|
+
font-size: 11px;
|
|
4945
|
+
font-weight: 550;
|
|
4946
|
+
color: var(--muted);
|
|
4947
|
+
}
|
|
4948
|
+
#sub-tasks details#f-advanced .field input,
|
|
4949
|
+
#sub-tasks details#f-advanced .field select,
|
|
4950
|
+
#sub-tasks details#f-advanced .field textarea {
|
|
4951
|
+
min-height: 0;
|
|
4952
|
+
padding: 6px 10px;
|
|
4953
|
+
font-size: 12.5px;
|
|
4954
|
+
line-height: 1.5;
|
|
4955
|
+
border-radius: 9px;
|
|
4956
|
+
background: color-mix(in srgb, var(--panel2) 45%, var(--panel));
|
|
4957
|
+
}
|
|
4958
|
+
#sub-tasks details#f-advanced .field textarea { min-height: 56px; }
|
|
4959
|
+
#sub-tasks details#f-advanced .grid-2,
|
|
4960
|
+
#sub-tasks details#f-advanced .grid-3 { gap: 10px 12px; }
|
|
4961
|
+
|
|
4962
|
+
/* 手工添加行并入 pm-tools 单行:过滤靠左、计数随后、添加靠右(同排等高)。
|
|
4963
|
+
* 不换行:面板窄时输入框收缩(min-width 兜底),换行会重现两行错排。
|
|
4964
|
+
* 字号钉死同档(12.5px):search/text 两种输入框继承链不同会渲染出大小差。 */
|
|
4965
|
+
.pm-tools input[type="search"],
|
|
4966
|
+
.pm-tools .pm-add input[type="text"],
|
|
4967
|
+
.pm-add > input[type="text"] { font-size: 12.5px; }
|
|
4968
|
+
.pm-tools .pm-add { flex: 0 1 auto; margin: 0 0 0 auto; }
|
|
4969
|
+
.pm-tools .pm-add input[type="text"] { flex: 0 1 auto; width: 300px; min-width: 140px; max-width: 42vw; }
|
|
4970
|
+
.pm-add button .ico { width: 14px; height: 14px; }
|
|
4971
|
+
|
|
4972
|
+
/* ================= 页面滚动条细化(2026-09-18) =================
|
|
4973
|
+
Windows 默认 17px 粗滚动条压在右栏边上很重;全局换成细圆角条。 */
|
|
4974
|
+
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 32%, var(--border-strong)) transparent; }
|
|
4975
|
+
html::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
4976
|
+
html::-webkit-scrollbar-thumb { border-radius: 999px; background: color-mix(in srgb, var(--accent) 30%, var(--border-strong)); }
|
|
4977
|
+
html::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--accent) 48%, var(--border-strong)); }
|
|
4978
|
+
html::-webkit-scrollbar-track { background: transparent; }
|
|
4979
|
+
|
|
4980
|
+
/* ---- 首次启动欢迎引导:左列上手三步 + 右列能力一览(渐变随皮肤 accent) ---- */
|
|
4981
|
+
.welcome-wrap { position: fixed; inset: 0; z-index: 195; display: flex; align-items: center; justify-content: center; padding: 24px; }
|
|
4982
|
+
.welcome-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
|
|
4983
|
+
.welcome-card {
|
|
4984
|
+
position: relative; display: flex; width: min(880px, 100%); max-height: calc(100vh - 48px);
|
|
4985
|
+
background: var(--bg); border: 1px solid var(--border-strong);
|
|
4986
|
+
border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
|
|
4987
|
+
}
|
|
4988
|
+
.welcome-x { position: absolute; top: 12px; right: 12px; z-index: 2; }
|
|
4989
|
+
.welcome-left {
|
|
4990
|
+
flex: 1.15; min-width: 0; overflow: auto; padding: 30px 30px 20px;
|
|
4991
|
+
display: flex; flex-direction: column; gap: 13px;
|
|
4992
|
+
}
|
|
4993
|
+
.welcome-badge {
|
|
4994
|
+
align-self: flex-start; font-size: 11.5px; color: var(--muted);
|
|
4995
|
+
border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 11px;
|
|
4996
|
+
}
|
|
4997
|
+
.welcome-brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: .3px; }
|
|
4998
|
+
.welcome-brand .welcome-bee { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.5; }
|
|
4999
|
+
.welcome-left h1 { margin: 0; font-size: 25px; line-height: 1.25; }
|
|
5000
|
+
.welcome-sub { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
|
|
5001
|
+
.welcome-steps { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
|
|
5002
|
+
.wstep { display: flex; gap: 10px; align-items: flex-start; font-size: 12.8px; line-height: 1.55; }
|
|
5003
|
+
.wstep b {
|
|
5004
|
+
flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
|
|
5005
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
5006
|
+
font-size: 11.5px; color: var(--accent);
|
|
5007
|
+
background: var(--panel2); border: 1px solid var(--border-strong);
|
|
5008
|
+
}
|
|
5009
|
+
.welcome-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
|
|
5010
|
+
.wl-btn {
|
|
5011
|
+
display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
|
|
5012
|
+
padding: 11px 14px; font-family: inherit; font-size: 13.5px; font-weight: 600;
|
|
5013
|
+
color: var(--text); background: var(--panel2);
|
|
5014
|
+
border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer;
|
|
5015
|
+
transition: border-color .15s, filter .15s;
|
|
5016
|
+
}
|
|
5017
|
+
.wl-btn:hover { border-color: var(--accent); }
|
|
5018
|
+
.wl-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
|
|
5019
|
+
.wl-btn.primary:hover { filter: brightness(1.07); }
|
|
5020
|
+
.wl-btn.ghost { justify-content: center; font-weight: 500; background: transparent; border-color: transparent; color: var(--muted); }
|
|
5021
|
+
.wl-btn.ghost:hover { color: var(--text); border-color: transparent; }
|
|
5022
|
+
.welcome-foot { margin: auto 0 0; padding-top: 12px; color: var(--muted); font-size: 11.5px; }
|
|
5023
|
+
.welcome-right {
|
|
5024
|
+
flex: .85; min-width: 0; padding: 30px 28px;
|
|
5025
|
+
display: flex; flex-direction: column; justify-content: center; gap: 7px;
|
|
5026
|
+
background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 88%, #000), var(--accent2));
|
|
5027
|
+
color: #fff;
|
|
5028
|
+
}
|
|
5029
|
+
.welcome-right h2 { margin: 0; font-size: 20px; letter-spacing: .3px; }
|
|
5030
|
+
.wr-sub { margin: 0 0 12px; font-size: 12.5px; opacity: .85; }
|
|
5031
|
+
.wr-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
|
|
5032
|
+
.wr-feats li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
|
|
5033
|
+
.wr-feats li .ico { flex: none; width: 17px; height: 17px; margin-top: 2px; opacity: .95; }
|
|
5034
|
+
.wr-feats b { display: block; font-size: 12.8px; }
|
|
5035
|
+
.wr-feats li div span { display: block; font-size: 12px; opacity: .82; }
|
|
5036
|
+
body.welcome-open { overflow: hidden; }
|
|
5037
|
+
@media (max-width: 720px) {
|
|
5038
|
+
.welcome-right { display: none; }
|
|
5039
|
+
.welcome-card { width: 100%; }
|
|
5040
|
+
}
|