cladogram 0.5.5-beta.9 → 0.6.0-beta.1
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/README.md +102 -79
- package/bin/clado.js +1 -1
- package/docs/release.md +7 -0
- package/package.json +3 -3
- package/plugins/agent/index.js +928 -3131
- package/plugins/agent/style.css +404 -1511
- package/plugins/brand/index.js +84 -466
- package/plugins/brand/style.css +39 -172
- package/plugins/directory/index.js +10 -10
- package/plugins/view-controls/index.js +17 -1
- package/plugins/view-controls/style.css +47 -29
- package/src/agent/clado-tools.js +299 -0
- package/src/agent/pi-bridge.js +487 -0
- package/src/agent/pi-config.js +630 -0
- package/src/html/plugin-ui.css +159 -134
- package/src/html/plugin-ui.js +3 -2
- package/src/server/agent.js +329 -1590
- package/src/server/assets/library.css +396 -11
- package/src/server/assets/library.html +37 -4
- package/src/server/assets/library.js +428 -203
- package/src/server/plugin-registry.js +7 -7
- package/src/server/plugins.js +1 -1
- package/src/server/workspace-hub.js +50 -0
- package/src/server/workspace.js +4 -15
- package/src/agent/commands.js +0 -204
- package/src/agent/context.js +0 -445
- package/src/agent/executors.js +0 -213
- package/src/agent/mcp-client.js +0 -308
- package/src/agent/probe.js +0 -234
- package/src/agent/providers/anthropic.js +0 -220
- package/src/agent/providers/index.js +0 -235
- package/src/agent/providers/openai.js +0 -146
- package/src/agent/runtime.js +0 -995
- package/src/agent/sessions.js +0 -336
- package/src/agent/skills.js +0 -190
package/plugins/brand/style.css
CHANGED
|
@@ -1,181 +1,48 @@
|
|
|
1
|
-
.clado-brand-plugin {
|
|
2
|
-
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: 8px;
|
|
6
|
-
height: 44px;
|
|
7
|
-
padding: 6px 11px 6px 7px;
|
|
8
|
-
color: var(--clado-ui-text);
|
|
9
|
-
border-radius: var(--clado-ui-radius);
|
|
10
|
-
}
|
|
11
|
-
.clado-brand strong { font-size: 17px; font-weight: 680; letter-spacing: -.05em; }
|
|
12
|
-
.clado-brand-mark {
|
|
13
|
-
display: grid;
|
|
14
|
-
place-items: center;
|
|
15
|
-
width: 28px;
|
|
16
|
-
height: 28px;
|
|
17
|
-
border-radius: 8px;
|
|
18
|
-
background: transparent;
|
|
19
|
-
flex: none;
|
|
20
|
-
}
|
|
21
|
-
.clado-brand-mark svg {
|
|
22
|
-
display: block;
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
}
|
|
26
|
-
.clado-brand-settings {
|
|
27
|
-
position: absolute;
|
|
28
|
-
inset: calc(100% + 8px) auto auto 0;
|
|
29
|
-
width: min(192px, calc(100vw - 32px));
|
|
30
|
-
display: grid;
|
|
31
|
-
gap: 3px;
|
|
32
|
-
padding: 8px;
|
|
33
|
-
border-radius: 18px;
|
|
34
|
-
}
|
|
35
|
-
.clado-brand-settings p {
|
|
36
|
-
margin: 0;
|
|
37
|
-
padding: 3px 9px 4px;
|
|
38
|
-
color: var(--clado-ui-subtle);
|
|
39
|
-
font-size: 11px;
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
}
|
|
42
|
-
.clado-brand-choice {
|
|
43
|
-
min-height: 36px;
|
|
44
|
-
padding-inline: 10px;
|
|
45
|
-
display: grid;
|
|
46
|
-
grid-template-columns: 16px 1fr 14px;
|
|
47
|
-
align-items: center;
|
|
48
|
-
gap: 8px;
|
|
49
|
-
text-align: start;
|
|
50
|
-
color: var(--clado-ui-text);
|
|
51
|
-
border-radius: 11px;
|
|
1
|
+
.clado-brand-plugin {
|
|
2
|
+
position: relative;
|
|
52
3
|
}
|
|
53
|
-
.clado-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
width: 16px;
|
|
57
|
-
height: 16px;
|
|
58
|
-
fill: none;
|
|
4
|
+
.clado-svg-ico {
|
|
5
|
+
width: 14px;
|
|
6
|
+
height: 14px;
|
|
59
7
|
stroke: currentColor;
|
|
60
|
-
|
|
8
|
+
fill: none;
|
|
9
|
+
stroke-width: 1.58;
|
|
61
10
|
stroke-linecap: round;
|
|
62
11
|
stroke-linejoin: round;
|
|
12
|
+
flex: none;
|
|
63
13
|
}
|
|
64
|
-
.clado-
|
|
65
|
-
|
|
66
|
-
.clado-brand-check svg { width: 14px; height: 14px; stroke-width: 2.2; }
|
|
67
|
-
.clado-brand-capture {
|
|
68
|
-
margin-block-start: 3px;
|
|
69
|
-
grid-template-columns: 16px 1fr;
|
|
70
|
-
}
|
|
71
|
-
.clado-brand:is(:hover,[aria-expanded="true"]) { color: var(--clado-ui-text); }
|
|
72
|
-
.clado-plugin-manager, .clado-plugin-editor {
|
|
73
|
-
position: fixed;
|
|
74
|
-
inset: 0;
|
|
75
|
-
margin: auto;
|
|
76
|
-
width: min(454px, calc(100vw - 32px));
|
|
77
|
-
max-height: calc(100dvh - 40px);
|
|
78
|
-
padding: 20px;
|
|
79
|
-
overflow: auto;
|
|
80
|
-
}
|
|
81
|
-
:is(.clado-plugin-manager,.clado-plugin-editor) :is(header,footer) {
|
|
82
|
-
display: flex;
|
|
14
|
+
.clado-top-pill {
|
|
15
|
+
display: inline-flex;
|
|
83
16
|
align-items: center;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
.clado-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
.clado-
|
|
97
|
-
margin-top: 12px;
|
|
98
|
-
padding: 10px 12px;
|
|
99
|
-
border: 1px solid var(--clado-ui-edge);
|
|
100
|
-
border-radius: 11px;
|
|
101
|
-
background: var(--clado-ui-well);
|
|
102
|
-
}
|
|
103
|
-
.clado-plugin-install p { margin: 0 0 8px; overflow-wrap: anywhere; color: var(--clado-ui-muted); }
|
|
104
|
-
.clado-plugin-install .clado-plugin-manager-actions { justify-content: end; }
|
|
105
|
-
.clado-plugin-manager-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
|
|
106
|
-
.clado-plugin-manager-list article {
|
|
107
|
-
display: grid;
|
|
108
|
-
grid-template-columns: minmax(0, 1fr) auto;
|
|
109
|
-
grid-template-rows: auto auto 1fr auto;
|
|
110
|
-
align-items: start;
|
|
111
|
-
gap: 6px;
|
|
112
|
-
min-height: 116px;
|
|
113
|
-
padding: 12px;
|
|
114
|
-
border: 1px solid var(--clado-ui-edge);
|
|
115
|
-
border-radius: calc(var(--clado-ui-radius) - 4px);
|
|
116
|
-
background: color-mix(in srgb, var(--clado-ui-well) 70%, transparent);
|
|
117
|
-
}
|
|
118
|
-
.clado-plugin-manager-list article:has(input:not(:checked)) { background: transparent; }
|
|
119
|
-
.clado-plugin-card-icon { grid-area: 1 / 1; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--clado-ui-edge); border-radius: 9px; background: color-mix(in srgb, var(--clado-ui-solid) 75%, transparent); }
|
|
120
|
-
.clado-plugin-card-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--clado-ui-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
|
|
121
|
-
.clado-plugin-manager-list strong {
|
|
122
|
-
grid-area: 2 / 1 / auto / -1;
|
|
123
|
-
align-self: center;
|
|
124
|
-
overflow-wrap: anywhere;
|
|
125
|
-
}
|
|
126
|
-
.clado-plugin-manager-list small { grid-area: 3 / 1 / auto / -1; color: var(--clado-ui-muted); }
|
|
127
|
-
.clado-plugin-manager-list article button { grid-area: 4 / 2; min-height: 28px; padding: 4px 7px; }
|
|
128
|
-
.clado-plugin-manager-list input {
|
|
129
|
-
grid-area: 1 / 2;
|
|
130
|
-
align-self: center;
|
|
131
|
-
appearance: none;
|
|
132
|
-
position: relative;
|
|
133
|
-
width: 33px;
|
|
134
|
-
height: 19px;
|
|
135
|
-
margin: 0;
|
|
136
|
-
border-radius: 99px;
|
|
137
|
-
background: var(--clado-ui-edge);
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
}
|
|
140
|
-
.clado-plugin-manager-list input::before {
|
|
141
|
-
content: "";
|
|
142
|
-
position: absolute;
|
|
143
|
-
inset: 3px auto auto 3px;
|
|
144
|
-
width: 13px;
|
|
145
|
-
height: 13px;
|
|
146
|
-
border-radius: 50%;
|
|
147
|
-
background: var(--clado-ui-solid);
|
|
148
|
-
}
|
|
149
|
-
.clado-plugin-manager-list input:checked { background: var(--clado-ui-accent); }
|
|
150
|
-
.clado-plugin-manager-list input:checked::before { transform: translateX(14px); }
|
|
151
|
-
.clado-plugin-manager-list input:focus-visible { outline: 2px solid var(--clado-ui-accent); outline-offset: 2px; }
|
|
152
|
-
.clado-plugin-manager-list input:disabled { opacity: .5; cursor: default; }
|
|
153
|
-
:is(.clado-plugin-manager,.clado-plugin-editor) footer span { color: var(--clado-ui-muted); font-size: 12px; }
|
|
154
|
-
.clado-plugin-editor-path { color: var(--clado-ui-muted); font: 12px ui-monospace, monospace; }
|
|
155
|
-
.clado-plugin-editor textarea {
|
|
156
|
-
box-sizing: border-box;
|
|
157
|
-
width: 100%;
|
|
158
|
-
padding: 10px;
|
|
159
|
-
border: 1px solid var(--clado-ui-edge);
|
|
160
|
-
border-radius: 10px;
|
|
161
|
-
background: var(--clado-ui-well);
|
|
17
|
+
gap: 3px;
|
|
18
|
+
padding: 4px 8px 4px 5px;
|
|
19
|
+
border-radius: 999px;
|
|
20
|
+
min-height: 40px;
|
|
21
|
+
}
|
|
22
|
+
.clado-top-pill-btn {
|
|
23
|
+
padding: 5px 10px;
|
|
24
|
+
min-height: 30px;
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
font-weight: 530;
|
|
27
|
+
color: var(--clado-ui-muted);
|
|
28
|
+
}
|
|
29
|
+
.clado-top-pill-btn:hover {
|
|
162
30
|
color: var(--clado-ui-text);
|
|
163
|
-
font: 13px/1.5 ui-monospace, monospace;
|
|
164
|
-
resize: vertical;
|
|
165
31
|
}
|
|
166
|
-
.clado-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
32
|
+
.clado-top-pill-ws {
|
|
33
|
+
font-size: 12.5px;
|
|
34
|
+
font-weight: 620;
|
|
35
|
+
color: var(--clado-ui-text);
|
|
36
|
+
padding: 0 6px;
|
|
37
|
+
max-width: 240px;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
}
|
|
42
|
+
.clado-top-pill-sep {
|
|
43
|
+
width: 1px;
|
|
44
|
+
height: 13px;
|
|
45
|
+
background: var(--clado-ui-edge);
|
|
46
|
+
margin: 0 3px;
|
|
47
|
+
flex: none;
|
|
181
48
|
}
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
if (onRename || onDelete) {
|
|
24
24
|
const ops=document.createElement('span');ops.className='document-row-ops';
|
|
25
25
|
if (onRename) {
|
|
26
|
-
const ren=document.createElement('button');ren.type='button';ren.className='doc-op-btn';ren.title='重命名画布';ren.setAttribute('aria-label','重命名画布 '+doc.file);ren.
|
|
26
|
+
const ren=document.createElement('button');ren.type='button';ren.className='doc-op-btn';ren.title='重命名画布';ren.setAttribute('aria-label','重命名画布 '+doc.file);ren.innerHTML='<svg class="clado-svg-ico" style="width:12px;height:12px" viewBox="0 0 24 24"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"/></svg>';
|
|
27
27
|
ren.onclick=ev=>{ev.stopPropagation();onRename(doc);};
|
|
28
28
|
ops.append(ren);
|
|
29
29
|
}
|
|
30
30
|
if (onDelete) {
|
|
31
|
-
const del=document.createElement('button');del.type='button';del.className='doc-op-btn danger';del.title='删除画布';del.setAttribute('aria-label','删除画布 '+doc.file);del.
|
|
31
|
+
const del=document.createElement('button');del.type='button';del.className='doc-op-btn danger';del.title='删除画布';del.setAttribute('aria-label','删除画布 '+doc.file);del.innerHTML='<svg class="clado-svg-ico" style="width:12px;height:12px" viewBox="0 0 24 24"><path d="M18 6 6 18M6 6l12 12"/></svg>';
|
|
32
32
|
del.onclick=ev=>{ev.stopPropagation();onDelete(doc);};
|
|
33
33
|
ops.append(del);
|
|
34
34
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render(root,container);
|
|
41
|
-
if(!container.childElementCount){const empty=document.createElement('p');empty.className='tree-empty';empty.textContent=needle?'
|
|
41
|
+
if(!container.childElementCount){const empty=document.createElement('p');empty.className='tree-empty';empty.textContent=needle?'没有匹配的画布':'还没有可展示的画布';container.append(empty);}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
window.CladoDirectoryPlugin = (host, actions) => {
|
|
@@ -48,22 +48,22 @@
|
|
|
48
48
|
<button type="button" id="directoryButton" class="clado-ui-glass clado-ui-button directory-toggle" aria-expanded="false" aria-controls="directory" title="切换 Markdown 画布">
|
|
49
49
|
<svg aria-hidden="true" viewBox="0 0 24 24"><path d="M4 7a2 2 0 0 1 2-2h4l2 2h6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2Z"/></svg>
|
|
50
50
|
<span id="currentWorkspaceName" hidden></span>
|
|
51
|
-
|
|
51
|
+
画布 <span id="fileCount">…</span><span id="currentFileName" hidden></span>
|
|
52
52
|
</button>
|
|
53
53
|
<aside id="directory" class="clado-ui-glass clado-ui-glass-panel" aria-label="Markdown 画布目录" hidden>
|
|
54
54
|
<div class="directory-scroll">
|
|
55
55
|
<div id="directoryHubBar" class="directory-actions" style="margin-bottom:6px;" hidden>
|
|
56
|
-
<button type="button" class="clado-ui-button" id="pickWorkspaceButton" title="
|
|
57
|
-
<button type="button" class="clado-ui-button" id="newCanvasButton" title="在当前工作区新建一张 Markdown 画布"
|
|
56
|
+
<button type="button" class="clado-ui-button" id="pickWorkspaceButton" title="返回大厅或切换项目目录">切换项目</button>
|
|
57
|
+
<button type="button" class="clado-ui-button clado-ui-button-primary" id="newCanvasButton" title="在当前工作区新建一张 Markdown 画布">+ 新建画布</button>
|
|
58
58
|
</div>
|
|
59
59
|
<div id="workspaceSection" class="directory-workspaces" hidden>
|
|
60
60
|
<div class="directory-workspaces-title">子工作区</div>
|
|
61
61
|
<div id="workspaceList" class="directory-workspace-list"></div>
|
|
62
62
|
</div>
|
|
63
|
-
<div class="directory-heading"><strong
|
|
64
|
-
<label class="directory-search"><input id="documentSearch" type="search" aria-label="
|
|
65
|
-
<nav id="documentList" aria-label="
|
|
66
|
-
<div class="directory-current"><span id="syncStatus" role="status"
|
|
63
|
+
<div class="directory-heading"><strong>画布列表</strong></div>
|
|
64
|
+
<label class="directory-search"><input id="documentSearch" type="search" aria-label="搜索画布" placeholder="搜索画布名称或路径…"></label>
|
|
65
|
+
<nav id="documentList" aria-label="可用画布"></nav>
|
|
66
|
+
<div class="directory-current"><span id="syncStatus" role="status">已连接本地工作区</span></div>
|
|
67
67
|
<div class="directory-actions"><button class="clado-ui-button" id="backButton" disabled>← 返回</button><button class="clado-ui-button" id="refreshButton" title="重新扫描目录并刷新当前文档">刷新</button><button class="clado-ui-button" id="sourceButton">源文</button></div>
|
|
68
68
|
<button id="skippedButton" class="clado-ui-button skipped" hidden></button>
|
|
69
69
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
const modes = [['cards', '卡片'], ['mindmap', '脑图'], ['doc', '文档']];
|
|
3
|
+
const icoArrow = '<svg class="clado-svg-ico" aria-hidden="true" viewBox="0 0 24 24"><path d="M5 12h14M13 5l7 7-7 7"/></svg>';
|
|
3
4
|
const button = (className, text) => {
|
|
4
5
|
const element = document.createElement('button');
|
|
5
6
|
element.type = 'button';
|
|
@@ -11,6 +12,10 @@
|
|
|
11
12
|
function mountViewControls(host, actions) {
|
|
12
13
|
const controls = document.createElement('div');
|
|
13
14
|
controls.className = 'clado-view-controls';
|
|
15
|
+
|
|
16
|
+
const topRow = document.createElement('div');
|
|
17
|
+
topRow.className = 'clado-view-top-row';
|
|
18
|
+
|
|
14
19
|
const bar = document.createElement('div');
|
|
15
20
|
bar.className = 'clado-ui-glass clado-view-bar';
|
|
16
21
|
const group = document.createElement('div');
|
|
@@ -29,6 +34,17 @@
|
|
|
29
34
|
return item;
|
|
30
35
|
});
|
|
31
36
|
bar.append(group);
|
|
37
|
+
topRow.append(bar);
|
|
38
|
+
|
|
39
|
+
if (actions.openHandoff) {
|
|
40
|
+
const deliverBtn = document.createElement('button');
|
|
41
|
+
deliverBtn.type = 'button';
|
|
42
|
+
deliverBtn.className = 'clado-ui-button clado-ui-button-primary clado-deliver-btn';
|
|
43
|
+
deliverBtn.innerHTML = icoArrow + '<span>交付产物</span>';
|
|
44
|
+
deliverBtn.title = '将画布设计交付给角色落地开发、测试或归档';
|
|
45
|
+
deliverBtn.onclick = () => actions.openHandoff();
|
|
46
|
+
topRow.append(deliverBtn);
|
|
47
|
+
}
|
|
32
48
|
|
|
33
49
|
const statuses = document.createElement('div');
|
|
34
50
|
statuses.className = 'clado-view-status';
|
|
@@ -37,7 +53,7 @@
|
|
|
37
53
|
const exit = button('clado-ui-glass clado-ui-button', '退出聚焦');
|
|
38
54
|
exit.onclick = actions.clearFocus;
|
|
39
55
|
statuses.append(issues, exit);
|
|
40
|
-
controls.append(
|
|
56
|
+
controls.append(topRow, statuses);
|
|
41
57
|
host.mount('top-right', controls, 'clado.view-controls');
|
|
42
58
|
return ({ mode, focused = false, errors = 0, warnings = 0 }) => {
|
|
43
59
|
group.style.setProperty('--clado-view-index', String(Math.max(0, modes.findIndex(entry => entry[0] === mode))));
|
|
@@ -1,5 +1,34 @@
|
|
|
1
|
-
.clado-view-controls {
|
|
2
|
-
|
|
1
|
+
.clado-view-controls {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: end;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
}
|
|
8
|
+
.clado-view-top-row {
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 9px;
|
|
12
|
+
}
|
|
13
|
+
.clado-view-bar {
|
|
14
|
+
padding: 4px;
|
|
15
|
+
border-radius: 999px;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
.clado-view-bar::after {
|
|
19
|
+
content: "";
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 12px;
|
|
22
|
+
right: 12px;
|
|
23
|
+
bottom: -6px;
|
|
24
|
+
height: 16px;
|
|
25
|
+
border-radius: 999px;
|
|
26
|
+
background: linear-gradient(90deg, rgba(56, 189, 248, 0.55), rgba(167, 139, 250, 0.42), rgba(244, 114, 182, 0.30));
|
|
27
|
+
filter: blur(14px);
|
|
28
|
+
opacity: 0.55;
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
z-index: -2;
|
|
31
|
+
}
|
|
3
32
|
.clado-view-modes {
|
|
4
33
|
position: relative;
|
|
5
34
|
display: grid;
|
|
@@ -9,12 +38,13 @@
|
|
|
9
38
|
.clado-view-modes .clado-ui-button:hover:where(:not(:disabled)),
|
|
10
39
|
.clado-view-modes .clado-ui-button[aria-pressed="true"] {
|
|
11
40
|
position: relative;
|
|
12
|
-
min-height:
|
|
13
|
-
padding
|
|
41
|
+
min-height: 30px;
|
|
42
|
+
padding: 5px 14px;
|
|
43
|
+
font-size: 12px;
|
|
14
44
|
background: transparent;
|
|
15
45
|
border-color: transparent;
|
|
16
46
|
box-shadow: none;
|
|
17
|
-
border-radius:
|
|
47
|
+
border-radius: 999px;
|
|
18
48
|
}
|
|
19
49
|
.clado-view-modes .clado-ui-button:hover:where(:not(:disabled):not([aria-pressed="true"])) {
|
|
20
50
|
color: var(--clado-ui-text);
|
|
@@ -27,7 +57,7 @@
|
|
|
27
57
|
position: absolute;
|
|
28
58
|
inset: 0 auto 0 0;
|
|
29
59
|
width: calc(100% / 3);
|
|
30
|
-
border-radius:
|
|
60
|
+
border-radius: 999px;
|
|
31
61
|
border: 1px solid var(--clado-ui-glass-outline);
|
|
32
62
|
background: var(--clado-ui-active);
|
|
33
63
|
box-shadow: var(--clado-ui-active-shadow);
|
|
@@ -35,29 +65,17 @@
|
|
|
35
65
|
transition: transform 220ms cubic-bezier(.22,.75,.24,1);
|
|
36
66
|
pointer-events: none;
|
|
37
67
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
68
|
+
.clado-deliver-btn {
|
|
69
|
+
min-height: 38px;
|
|
70
|
+
padding: 7px 15px;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
border-radius: 999px;
|
|
73
|
+
pointer-events: auto;
|
|
43
74
|
}
|
|
44
75
|
.clado-view-status { display: flex; gap: 6px; }
|
|
45
76
|
.clado-view-bar, .clado-view-status > * { pointer-events: auto; }
|
|
46
|
-
.clado-view-status .clado-ui-button { border-radius:
|
|
47
|
-
.clado-view-status .clado-issue-count {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
--clado-ui-glass-fill: var(--clado-ui-surface);
|
|
52
|
-
}
|
|
53
|
-
.clado-view-status .clado-issue-count::after { display: none; }
|
|
54
|
-
.clado-view-status .clado-issue-count:hover:where(:not(:disabled)) {
|
|
55
|
-
background: color-mix(in srgb, var(--clado-ui-accent) 6%, transparent);
|
|
56
|
-
}
|
|
57
|
-
.clado-view-status .has-errors { color: #b72e3c; }
|
|
58
|
-
[data-theme="dark"] .clado-view-status .clado-issue-count { color: #efb860; }
|
|
59
|
-
[data-theme="dark"] .clado-view-status .has-errors { color: #ffacb6; }
|
|
60
|
-
|
|
61
|
-
@media (max-width: 680px) {
|
|
62
|
-
.clado-view-modes .clado-ui-button { padding-inline: 11px; min-height: 36px; font-size: 12.5px; }
|
|
63
|
-
}
|
|
77
|
+
.clado-view-status .clado-ui-button { border-radius: 999px; font-size: 12px; }
|
|
78
|
+
.clado-view-status .clado-issue-count { color: #b45309; }
|
|
79
|
+
.clado-view-status .has-errors { color: #be123c; }
|
|
80
|
+
[data-theme="dark"] .clado-view-status .clado-issue-count { color: #fcd34d; }
|
|
81
|
+
[data-theme="dark"] .clado-view-status .has-errors { color: #fda4af; }
|