@dsh-plugin/dsh-synapse 0.0.0-stage → 0.1.0-dev.41044228975
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/NOTICE.md +18 -0
- package/README.md +136 -2
- package/cordis.patch.yml +3 -0
- package/lib/bot.cjs +8314 -0
- package/lib/bot.cjs.map +7 -0
- package/lib/build.json +1 -0
- package/lib/client.js +46 -0
- package/lib/host/agent.d.ts +21 -0
- package/lib/host/agent.js +151 -0
- package/lib/host/agent.js.map +1 -0
- package/lib/host/bot.d.ts +17 -0
- package/lib/host/bot.js +158 -0
- package/lib/host/bot.js.map +1 -0
- package/lib/host/client.d.ts +2 -0
- package/lib/host/client.js +19 -0
- package/lib/host/client.js.map +1 -0
- package/lib/host/config.d.ts +24 -0
- package/lib/host/config.js +192 -0
- package/lib/host/config.js.map +1 -0
- package/lib/host/files.d.ts +29 -0
- package/lib/host/files.js +188 -0
- package/lib/host/files.js.map +1 -0
- package/lib/host/gateway.d.ts +33 -0
- package/lib/host/gateway.js +237 -0
- package/lib/host/gateway.js.map +1 -0
- package/lib/host/github.d.ts +47 -0
- package/lib/host/github.js +219 -0
- package/lib/host/github.js.map +1 -0
- package/lib/host/http.d.ts +4 -0
- package/lib/host/http.js +41 -0
- package/lib/host/http.js.map +1 -0
- package/lib/host/index.d.ts +32 -0
- package/lib/host/index.js +192 -0
- package/lib/host/index.js.map +1 -0
- package/lib/host/inference-worker.d.ts +1 -0
- package/lib/host/inference-worker.js +72 -0
- package/lib/host/inference-worker.js.map +1 -0
- package/lib/host/mcp.d.ts +138 -0
- package/lib/host/mcp.js +104 -0
- package/lib/host/mcp.js.map +1 -0
- package/lib/host/memory.d.ts +26 -0
- package/lib/host/memory.js +155 -0
- package/lib/host/memory.js.map +1 -0
- package/lib/host/panel.d.ts +1 -0
- package/lib/host/panel.html +174 -0
- package/lib/host/panel.js +388 -0
- package/lib/host/panel.js.map +1 -0
- package/lib/host/runtime.d.ts +21 -0
- package/lib/host/runtime.js +145 -0
- package/lib/host/runtime.js.map +1 -0
- package/lib/host/types.d.ts +112 -0
- package/lib/host/types.js +2 -0
- package/lib/host/types.js.map +1 -0
- package/package.json +94 -4
- package/scripts/build.mjs +90 -0
- package/scripts/check.mjs +13 -0
- package/scripts/dump-npm-latest.mjs +30 -0
- package/scripts/model-smoke.mjs +25 -0
- package/src/agent.ts +203 -0
- package/src/bot.ts +173 -0
- package/src/client.ts +20 -0
- package/src/config.ts +217 -0
- package/src/files.ts +206 -0
- package/src/gateway.ts +276 -0
- package/src/github.ts +263 -0
- package/src/http.ts +41 -0
- package/src/index.ts +227 -0
- package/src/inference-worker.ts +89 -0
- package/src/mcp.ts +112 -0
- package/src/memory.ts +178 -0
- package/src/panel.html +174 -0
- package/src/panel.ts +440 -0
- package/src/runtime.ts +164 -0
- package/src/types.ts +106 -0
- package/test/core.test.mjs +279 -0
- package/test/fixtures/mcp-server.mjs +14 -0
- package/test/integration.test.mjs +253 -0
- package/test/panel.test.mjs +73 -0
- package/tsconfig.json +18 -0
- package/vendor/gugle-chat-bot/LICENSE +661 -0
- package/vendor/gugle-chat-bot/package.json +57 -0
- package/vendor/gugle-chat-bot/src/allow-rule.yml +9345 -0
- package/vendor/gugle-chat-bot/src/api.json +4285 -0
- package/vendor/gugle-chat-bot/src/command/index.ts +141 -0
- package/vendor/gugle-chat-bot/src/config/features.ts +548 -0
- package/vendor/gugle-chat-bot/src/config/index.ts +184 -0
- package/vendor/gugle-chat-bot/src/config/manager.ts +357 -0
- package/vendor/gugle-chat-bot/src/constants/index.ts +13 -0
- package/vendor/gugle-chat-bot/src/custom.ts +548 -0
- package/vendor/gugle-chat-bot/src/event/index.ts +118 -0
- package/vendor/gugle-chat-bot/src/features/admin/index.ts +414 -0
- package/vendor/gugle-chat-bot/src/features/bili/image/impl/video.ts +39 -0
- package/vendor/gugle-chat-bot/src/features/bili/image/index.ts +37 -0
- package/vendor/gugle-chat-bot/src/features/bili/index.ts +65 -0
- package/vendor/gugle-chat-bot/src/features/bili/template/style/video.css +97 -0
- package/vendor/gugle-chat-bot/src/features/bili/template/video.html +57 -0
- package/vendor/gugle-chat-bot/src/features/discord-bridge/index.ts +1128 -0
- package/vendor/gugle-chat-bot/src/features/discord-bridge/markdown.ts +105 -0
- package/vendor/gugle-chat-bot/src/features/discord-bridge/slash.ts +355 -0
- package/vendor/gugle-chat-bot/src/features/discord-bridge/source.ts +96 -0
- package/vendor/gugle-chat-bot/src/features/discord-bridge/template/message.html +14 -0
- package/vendor/gugle-chat-bot/src/features/discord-bridge/template/style/message.css +144 -0
- package/vendor/gugle-chat-bot/src/features/github/api.ts +93 -0
- package/vendor/gugle-chat-bot/src/features/github/binding.ts +161 -0
- package/vendor/gugle-chat-bot/src/features/github/image/impl/issue.ts +132 -0
- package/vendor/gugle-chat-bot/src/features/github/image/impl/pr.ts +144 -0
- package/vendor/gugle-chat-bot/src/features/github/image/impl/release.ts +160 -0
- package/vendor/gugle-chat-bot/src/features/github/image/index.ts +310 -0
- package/vendor/gugle-chat-bot/src/features/github/index.ts +302 -0
- package/vendor/gugle-chat-bot/src/features/github/template/issue.html +118 -0
- package/vendor/gugle-chat-bot/src/features/github/template/pull_request.html +125 -0
- package/vendor/gugle-chat-bot/src/features/github/template/release.html +53 -0
- package/vendor/gugle-chat-bot/src/features/github/template/style/issue.css +468 -0
- package/vendor/gugle-chat-bot/src/features/github/template/style/pull_request.css +469 -0
- package/vendor/gugle-chat-bot/src/features/github/template/style/release.css +412 -0
- package/vendor/gugle-chat-bot/src/features/hermes/client.ts +184 -0
- package/vendor/gugle-chat-bot/src/features/hermes/config.ts +210 -0
- package/vendor/gugle-chat-bot/src/features/hermes/context.ts +67 -0
- package/vendor/gugle-chat-bot/src/features/hermes/history.ts +86 -0
- package/vendor/gugle-chat-bot/src/features/hermes/index.ts +1533 -0
- package/vendor/gugle-chat-bot/src/features/hermes/message.ts +319 -0
- package/vendor/gugle-chat-bot/src/features/hermes/reaction.ts +181 -0
- package/vendor/gugle-chat-bot/src/features/hermes/render.ts +118 -0
- package/vendor/gugle-chat-bot/src/features/hermes/reply-units.ts +331 -0
- package/vendor/gugle-chat-bot/src/features/hermes/skills.ts +406 -0
- package/vendor/gugle-chat-bot/src/features/hermes/template/approval.html +30 -0
- package/vendor/gugle-chat-bot/src/features/hermes/template/progress.html +21 -0
- package/vendor/gugle-chat-bot/src/features/hermes/template/style/approval.css +81 -0
- package/vendor/gugle-chat-bot/src/features/hermes/template/style/progress.css +120 -0
- package/vendor/gugle-chat-bot/src/features/hermes/trigger.ts +86 -0
- package/vendor/gugle-chat-bot/src/features/hermes/types.ts +327 -0
- package/vendor/gugle-chat-bot/src/features/management/index.ts +156 -0
- package/vendor/gugle-chat-bot/src/features/minecraft/index.ts +127 -0
- package/vendor/gugle-chat-bot/src/features/modrinth/index.ts +71 -0
- package/vendor/gugle-chat-bot/src/features/parentheses/index.ts +117 -0
- package/vendor/gugle-chat-bot/src/features/peak-valley-timer/index.ts +452 -0
- package/vendor/gugle-chat-bot/src/features/poke/index.ts +24 -0
- package/vendor/gugle-chat-bot/src/features/version-tracker/index.ts +78 -0
- package/vendor/gugle-chat-bot/src/features/welcome/index.ts +58 -0
- package/vendor/gugle-chat-bot/src/github-ip.json +5814 -0
- package/vendor/gugle-chat-bot/src/image/index.ts +278 -0
- package/vendor/gugle-chat-bot/src/index.ts +695 -0
- package/vendor/gugle-chat-bot/src/logger/index.ts +54 -0
- package/vendor/gugle-chat-bot/src/result.json +359 -0
- package/vendor/gugle-chat-bot/src/type/bili.d.ts +825 -0
- package/vendor/gugle-chat-bot/src/type/event.d.ts +146 -0
- package/vendor/gugle-chat-bot/src/type/github.d.ts +446 -0
- package/vendor/gugle-chat-bot/src/type/index.d.ts +254 -0
- package/vendor/gugle-chat-bot/tsconfig.json +46 -0
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
* {
|
|
2
|
+
font-family: "Sarasa Fixed SC", sans-serif;
|
|
3
|
+
margin: 0;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
6
|
+
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
margin: 10px;
|
|
11
|
+
font-family: var(--fontStack-sansSerif), serif;
|
|
12
|
+
font-size: .875rem;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
color: #1f2328;
|
|
15
|
+
background-color: #fff;
|
|
16
|
+
line-height: 1.5;
|
|
17
|
+
padding-top: 0;
|
|
18
|
+
padding-bottom: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.message {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.user {
|
|
26
|
+
display: inline-block;
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.repository_header {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: .5rem;
|
|
34
|
+
min-height: 52px;
|
|
35
|
+
padding: .65rem 1.2rem;
|
|
36
|
+
color: #f0f6fc;
|
|
37
|
+
background: #161b22;
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
line-height: 1.25;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.repository_mark {
|
|
44
|
+
width: 30px;
|
|
45
|
+
height: 30px;
|
|
46
|
+
margin-right: .2rem;
|
|
47
|
+
flex: 0 0 auto;
|
|
48
|
+
fill: #f0f6fc;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.repository_owner,
|
|
52
|
+
.repository_name {
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.repository_owner {
|
|
59
|
+
color: #c9d1d9;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.repository_separator {
|
|
63
|
+
color: #8b949e;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.repository_name {
|
|
67
|
+
color: #f0f6fc;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.repository_chevron {
|
|
71
|
+
display: inline-flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
width: 16px;
|
|
75
|
+
height: 16px;
|
|
76
|
+
margin-left: .05rem;
|
|
77
|
+
color: #9198a1;
|
|
78
|
+
flex: 0 0 auto;
|
|
79
|
+
|
|
80
|
+
svg {
|
|
81
|
+
width: 16px;
|
|
82
|
+
height: 16px;
|
|
83
|
+
fill: currentColor;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.container {
|
|
88
|
+
display: block;
|
|
89
|
+
position: relative;
|
|
90
|
+
line-height: 1.5;
|
|
91
|
+
max-width: 800px;
|
|
92
|
+
border: .0625rem solid #d1d9d0b3;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.pr_title_container {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: row;
|
|
98
|
+
justify-content: space-between;
|
|
99
|
+
padding: 0 1.25rem;
|
|
100
|
+
font-size: 1.25rem;
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
line-height: 1.625;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.pr_title {
|
|
106
|
+
margin: 0;
|
|
107
|
+
font-size: 2rem;
|
|
108
|
+
font-weight: 400;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.pr_number {
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
color: #59636e;
|
|
114
|
+
font-weight: 300;
|
|
115
|
+
display: inline;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.state_label_wrapper {
|
|
119
|
+
height: 56px;
|
|
120
|
+
padding: 0 1.5rem;
|
|
121
|
+
width: 100%;
|
|
122
|
+
max-width: 1280px;
|
|
123
|
+
display: block;
|
|
124
|
+
word-wrap: break-word;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.state_label_container {
|
|
128
|
+
border-bottom: .0625rem solid;
|
|
129
|
+
border-color: #d1d9d0b3;
|
|
130
|
+
flex-direction: row;
|
|
131
|
+
width: 100%;
|
|
132
|
+
height: 100%;
|
|
133
|
+
min-height: 56px;
|
|
134
|
+
display: flex;
|
|
135
|
+
word-wrap: break-word;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.state_labels_aligner {
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: .5rem;
|
|
141
|
+
padding-top: .75rem;
|
|
142
|
+
padding-bottom: .75rem;
|
|
143
|
+
flex-flow: wrap;
|
|
144
|
+
flex-grow: 1;
|
|
145
|
+
display: flex;
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.state_label {
|
|
150
|
+
box-shadow-position: inset;
|
|
151
|
+
box-shadow-spread: .625rem;
|
|
152
|
+
color: #fff;
|
|
153
|
+
padding: .5rem .75rem;
|
|
154
|
+
border-radius: 624.938rem;
|
|
155
|
+
font-weight: 600;
|
|
156
|
+
text-align: center;
|
|
157
|
+
align-items: center;
|
|
158
|
+
line-height: 16px;
|
|
159
|
+
display: inline-flex;
|
|
160
|
+
word-wrap: break-word;
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.label {
|
|
165
|
+
margin-right: .25rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sidebar-label {
|
|
169
|
+
display: inline-flex;
|
|
170
|
+
margin-bottom: 10px;
|
|
171
|
+
font-weight: bold;
|
|
172
|
+
text-align: center;
|
|
173
|
+
border-radius: 9999px;
|
|
174
|
+
padding: 0 8px;
|
|
175
|
+
height: 20px;
|
|
176
|
+
font-size: 12px;
|
|
177
|
+
text-overflow: ellipsis;
|
|
178
|
+
text-wrap-mode: nowrap;
|
|
179
|
+
-webkit-box-align: center;
|
|
180
|
+
align-items: center;
|
|
181
|
+
line-height: 20px;
|
|
182
|
+
text-underline-offset: 1px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.header_body_splitter {
|
|
186
|
+
margin-left: auto;
|
|
187
|
+
margin-right: auto;
|
|
188
|
+
margin-bottom: 1.5rem;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.body {
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: row;
|
|
194
|
+
gap: 8px;
|
|
195
|
+
padding: 0 1.5rem 1.25rem;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.content {
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-direction: row;
|
|
201
|
+
gap: 8px;
|
|
202
|
+
width: 100%;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.content_container {
|
|
206
|
+
border-width: 1px;
|
|
207
|
+
border-style: solid;
|
|
208
|
+
border-image: initial;
|
|
209
|
+
border-color: #d1d9e0;
|
|
210
|
+
border-radius: 6px;
|
|
211
|
+
-webkit-box-flex: 1;
|
|
212
|
+
flex-grow: 1;
|
|
213
|
+
min-width: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.content_header {
|
|
217
|
+
background-color: #f6f8fa;
|
|
218
|
+
border-bottom: .0625rem solid #d1d9e0b3;
|
|
219
|
+
border-top-left-radius: .375rem;
|
|
220
|
+
border-top-right-radius: .375rem;
|
|
221
|
+
color: #59636e;
|
|
222
|
+
font-size: .875rem;
|
|
223
|
+
padding: .5rem .5rem .5rem 1rem;
|
|
224
|
+
flex-flow: wrap;
|
|
225
|
+
flex: 1;
|
|
226
|
+
gap: .25rem;
|
|
227
|
+
justify-items: flex-start;
|
|
228
|
+
align-items: center;
|
|
229
|
+
display: flex;
|
|
230
|
+
overflow: hidden;
|
|
231
|
+
width: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.content_author {
|
|
235
|
+
color: #1f2328;
|
|
236
|
+
font-weight: 500;
|
|
237
|
+
overflow-wrap: anywhere;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.content_body {
|
|
241
|
+
padding: 1rem;
|
|
242
|
+
|
|
243
|
+
img {
|
|
244
|
+
max-width: 100%;
|
|
245
|
+
height: auto;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* 列表行内的 issue/PR 引用:状态图标 + 标题 + 链接色编号(GitHub 风格) */
|
|
250
|
+
.issue-ref {
|
|
251
|
+
display: inline;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.issue-ref-icon {
|
|
255
|
+
display: inline-flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
vertical-align: -2px;
|
|
258
|
+
margin-right: 3px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.issue-ref-title {
|
|
262
|
+
color: #0969da;
|
|
263
|
+
font-weight: 500;
|
|
264
|
+
text-decoration: none;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.issue-ref-number {
|
|
268
|
+
color: #0969da;
|
|
269
|
+
text-decoration: none;
|
|
270
|
+
margin-left: 3px;
|
|
271
|
+
white-space: nowrap;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
p {
|
|
275
|
+
margin: 0 0 1rem;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
code {
|
|
279
|
+
tab-size: 4;
|
|
280
|
+
font-family: var(--fontStack-monospace), serif;
|
|
281
|
+
white-space: break-spaces;
|
|
282
|
+
background-color: #818b981f;
|
|
283
|
+
border-radius: 6px;
|
|
284
|
+
margin: 0;
|
|
285
|
+
padding: .2em .4em;
|
|
286
|
+
font-size: 85%;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
blockquote {
|
|
290
|
+
color: #59636e;
|
|
291
|
+
border-left: .25em solid #d1d9e0;
|
|
292
|
+
padding: 0 1em;
|
|
293
|
+
margin: 0;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
div {
|
|
297
|
+
min-height: 0;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.alert {
|
|
301
|
+
padding: .5rem 1rem;
|
|
302
|
+
margin-bottom: 1rem;
|
|
303
|
+
color: inherit;
|
|
304
|
+
border-left: .25em solid #d1d9e0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.alert-note {
|
|
308
|
+
border-left-color: #0969da;
|
|
309
|
+
|
|
310
|
+
.alert-title {
|
|
311
|
+
color: #0969da;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.alert-title {
|
|
316
|
+
font-weight: 500;
|
|
317
|
+
align-items: center;
|
|
318
|
+
line-height: 1;
|
|
319
|
+
display: flex;
|
|
320
|
+
|
|
321
|
+
svg {
|
|
322
|
+
fill: currentColor;
|
|
323
|
+
margin-right: .5rem;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
margin-bottom: 1rem;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.metadata {
|
|
330
|
+
width: 256px;
|
|
331
|
+
flex-shrink: 0;
|
|
332
|
+
height: 100%;
|
|
333
|
+
padding-bottom: 1rem;
|
|
334
|
+
flex-direction: column;
|
|
335
|
+
position: relative;
|
|
336
|
+
justify-content: flex-end;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.metadata_contents {
|
|
340
|
+
gap: .5rem;
|
|
341
|
+
flex-direction: column;
|
|
342
|
+
display: flex;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.metadata_content_container {
|
|
346
|
+
margin-bottom: 8px;
|
|
347
|
+
flex-direction: column;
|
|
348
|
+
align-items: flex-start;
|
|
349
|
+
width: 100%;
|
|
350
|
+
display: flex;
|
|
351
|
+
position: relative;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.metadata_content {
|
|
355
|
+
width: 100%;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.metadata_content_title_container {
|
|
359
|
+
width: 100%;
|
|
360
|
+
height: 1.75rem;
|
|
361
|
+
position: relative;
|
|
362
|
+
display: flex;
|
|
363
|
+
-webkit-box-align: center;
|
|
364
|
+
align-items: center;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.metadata_content_title {
|
|
368
|
+
position: absolute;
|
|
369
|
+
left: .5rem;
|
|
370
|
+
font-size: .75rem;
|
|
371
|
+
color: #59636e;
|
|
372
|
+
pointer-events: none;
|
|
373
|
+
margin-top: 0;
|
|
374
|
+
margin-bottom: 0;
|
|
375
|
+
margin-block-start: 1em;
|
|
376
|
+
margin-block-end: 1em;
|
|
377
|
+
margin-inline-start: 0;
|
|
378
|
+
margin-inline-end: 0;
|
|
379
|
+
font-family: var(--fontStack-sansSerif), serif;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.empty_text {
|
|
383
|
+
font-size: .75rem;
|
|
384
|
+
padding-left: .5rem;
|
|
385
|
+
padding-right: .5rem;
|
|
386
|
+
margin-bottom: .5rem;
|
|
387
|
+
margin-top: .25rem;
|
|
388
|
+
color: #59636e;
|
|
389
|
+
display: block;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.metadata_content_container::after {
|
|
393
|
+
content: "";
|
|
394
|
+
position: absolute;
|
|
395
|
+
height: 1px;
|
|
396
|
+
bottom: -8px;
|
|
397
|
+
left: 8px;
|
|
398
|
+
right: 8px;
|
|
399
|
+
background-color: hsla(210, 18%, 87%, 1);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.metadata_labels_labels {
|
|
403
|
+
gap: .25rem;
|
|
404
|
+
height: 100%;
|
|
405
|
+
padding: .5rem;
|
|
406
|
+
font-size: .75rem;
|
|
407
|
+
flex-wrap: wrap;
|
|
408
|
+
flex-shrink: 1;
|
|
409
|
+
justify-content: flex-start;
|
|
410
|
+
display: flex;
|
|
411
|
+
overflow: hidden;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.metadata_labels_label {
|
|
415
|
+
overflow: hidden;
|
|
416
|
+
text-overflow: ellipsis;
|
|
417
|
+
cursor: pointer;
|
|
418
|
+
max-width: 100%;
|
|
419
|
+
-webkit-box-align: center;
|
|
420
|
+
align-items: center;
|
|
421
|
+
border-radius: 999px;
|
|
422
|
+
display: inline-flex;
|
|
423
|
+
font-weight: 600;
|
|
424
|
+
font-family: inherit;
|
|
425
|
+
text-decoration: none;
|
|
426
|
+
white-space: nowrap;
|
|
427
|
+
font-size: 12px;
|
|
428
|
+
height: 20px;
|
|
429
|
+
line-height: 20px;
|
|
430
|
+
padding: 0 8px;
|
|
431
|
+
--label-r: 113;
|
|
432
|
+
--label-g: 204;
|
|
433
|
+
--label-b: 107;
|
|
434
|
+
--label-h: 116;
|
|
435
|
+
--label-s: 49;
|
|
436
|
+
--label-l: 61;
|
|
437
|
+
--perceived-lightness: calc(((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255);
|
|
438
|
+
--lightness-switch: max(0, min(calc((1 / (var(--lightness-threshold) - var(--perceived-lightness)))), 1));
|
|
439
|
+
--border-color: #d1d9e0b3;
|
|
440
|
+
position: relative;
|
|
441
|
+
min-width: 0;
|
|
442
|
+
--lightness-threshold: 0.453;
|
|
443
|
+
--border-threshold: 0.96;
|
|
444
|
+
--background-alpha: 0.20;
|
|
445
|
+
--border-alpha: max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1));
|
|
446
|
+
background: rgb(var(--label-r), var(--label-g), var(--label-b));
|
|
447
|
+
color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%));
|
|
448
|
+
border-width: 1px;
|
|
449
|
+
border-style: solid;
|
|
450
|
+
border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-alpha));
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.metadata_labels_label_content {
|
|
454
|
+
-webkit-box-flex: 1;
|
|
455
|
+
flex-grow: 1;
|
|
456
|
+
min-width: 0;
|
|
457
|
+
overflow: hidden;
|
|
458
|
+
text-overflow: ellipsis;
|
|
459
|
+
white-space: nowrap;
|
|
460
|
+
background: transparent;
|
|
461
|
+
border: 0;
|
|
462
|
+
font: inherit;
|
|
463
|
+
margin: 0;
|
|
464
|
+
padding: 0;
|
|
465
|
+
width: auto;
|
|
466
|
+
-webkit-font-smoothing: inherit;
|
|
467
|
+
color: currentcolor;
|
|
468
|
+
text-decoration: none;
|
|
469
|
+
}
|