cortico-provider-workbuddy-native 0.0.0-stage → 0.1.0-dev9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +6 -2
- package/dist/webui.css +269 -0
- package/dist/webui.js +1825 -0
- package/index.js +15 -0
- package/package.json +41 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 cortico-world-workbuddy-native contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# WorkBuddy 原生 Provider
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
这是 `kind: provider` 的薄入口。必须与精确同版本的
|
|
4
|
+
`cortico-world-workbuddy-native` 一起安装;实现通过主包的公开 `/provider`
|
|
5
|
+
导出共享,不依赖源码目录相邻,也不复制后端。配置与验收说明见主包 README。
|
|
6
|
+
|
|
7
|
+
只安装或加载扩展不会切换主供应商。由操作者在宿主供应商设置中保存、显式激活。
|
package/dist/webui.css
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/* Photo's panel/card/form rhythm, scoped to this World and host theme tokens. */
|
|
2
|
+
.wb-app {
|
|
3
|
+
--wb-bg: var(--paper, #f6f7fb);
|
|
4
|
+
--wb-surface: var(--sheet, #fff);
|
|
5
|
+
--wb-soft: var(--sheet-2, #f1f3f9);
|
|
6
|
+
--wb-ink: var(--ink, #202638);
|
|
7
|
+
--wb-muted: var(--ink-soft, #576176);
|
|
8
|
+
--wb-line: var(--line, #d9deea);
|
|
9
|
+
--wb-accent: color-mix(in srgb, #4662dc 65%, var(--wb-ink));
|
|
10
|
+
--wb-danger: color-mix(in srgb, #b6324b 55%, var(--wb-ink));
|
|
11
|
+
--wb-green: color-mix(in srgb, #137451 60%, var(--wb-ink));
|
|
12
|
+
--wb-amber: color-mix(in srgb, #885709 50%, var(--wb-ink));
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: 16px;
|
|
16
|
+
width: 100%;
|
|
17
|
+
max-width: 1180px;
|
|
18
|
+
min-width: 0;
|
|
19
|
+
margin: 0 auto;
|
|
20
|
+
color: var(--wb-ink);
|
|
21
|
+
font: 13.5px/1.6 var(--sans, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
|
|
22
|
+
text-align: left;
|
|
23
|
+
color-scheme: light dark;
|
|
24
|
+
}
|
|
25
|
+
.wb-app *, .wb-app *::before, .wb-app *::after { box-sizing: border-box; }
|
|
26
|
+
.wb-app [hidden] { display: none !important; }
|
|
27
|
+
.wb-app :is(h1,h2,h3,p,pre) { margin: 0; }
|
|
28
|
+
.wb-app h1 { font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: .2px; }
|
|
29
|
+
.wb-app h2 { font-size: 19px; font-weight: 700; }
|
|
30
|
+
.wb-app h3 { font-size: 15px; font-weight: 650; }
|
|
31
|
+
.wb-app :is(button,input,select,summary):focus-visible, .wb-page:focus-visible, .wb-table-scroll:focus-visible {
|
|
32
|
+
outline: 3px solid var(--wb-accent);
|
|
33
|
+
outline-offset: 3px;
|
|
34
|
+
}
|
|
35
|
+
.wb-hero {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
align-items: center;
|
|
39
|
+
gap: 16px;
|
|
40
|
+
padding: 22px;
|
|
41
|
+
border: 1px solid color-mix(in srgb, var(--wb-accent) 28%, var(--wb-line));
|
|
42
|
+
border-radius: 16px;
|
|
43
|
+
background: radial-gradient(circle at 95% 5%, #34d39914, transparent 45%), linear-gradient(125deg, #607ef914, #a78bfa0c 65%), var(--wb-surface);
|
|
44
|
+
box-shadow: 0 4px 14px #182a4a07;
|
|
45
|
+
}
|
|
46
|
+
.wb-brand {
|
|
47
|
+
display: grid;
|
|
48
|
+
place-items: center;
|
|
49
|
+
flex: 0 0 48px;
|
|
50
|
+
width: 48px;
|
|
51
|
+
height: 48px;
|
|
52
|
+
border-radius: 14px;
|
|
53
|
+
background: linear-gradient(140deg, #516eeb, #7561ca);
|
|
54
|
+
color: #fff;
|
|
55
|
+
font-size: 24px;
|
|
56
|
+
font-weight: 750;
|
|
57
|
+
box-shadow: 0 4px 14px #4662dc22;
|
|
58
|
+
}
|
|
59
|
+
.wb-hero-copy { flex: 1 1 260px; min-width: 0; }
|
|
60
|
+
.wb-eyebrow { color: var(--wb-accent); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
|
|
61
|
+
.wb-native-state { margin-top: 4px !important; color: var(--wb-muted); font-size: 12px; overflow-wrap: anywhere; }
|
|
62
|
+
.wb-hero-tools { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; max-width: 290px; }
|
|
63
|
+
.wb-hero-tools > p { flex: 1 0 100%; text-align: right; font-size: 11px; }
|
|
64
|
+
.wb-muted, .wb-card-description, .wb-field-help { color: var(--wb-muted); }
|
|
65
|
+
.wb-feedback { border: 1px solid var(--wb-line); border-radius: 10px; background: var(--wb-surface); padding: 10px 14px; }
|
|
66
|
+
.wb-feedback .msgline { margin: 0; color: var(--wb-muted); overflow-wrap: anywhere; }
|
|
67
|
+
.wb-feedback.is-bad { border-color: color-mix(in srgb, var(--wb-danger) 45%, var(--wb-line)); border-left: 4px solid var(--wb-danger); background: color-mix(in srgb, var(--wb-danger) 5%, var(--wb-surface)); }
|
|
68
|
+
.wb-feedback .msgline.bad { color: var(--wb-danger); }
|
|
69
|
+
.wb-feedback.is-warn { border-left: 4px solid var(--wb-amber); }
|
|
70
|
+
.wb-nav { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--wb-line); border-radius: 12px; background: var(--wb-soft); }
|
|
71
|
+
.wb-app .wb-nav-button { flex: 1 1 120px; border-color: transparent; background: transparent; color: var(--wb-muted); white-space: nowrap; }
|
|
72
|
+
.wb-app .wb-nav-button[aria-selected="true"] { border-color: color-mix(in srgb, var(--wb-accent) 35%, var(--wb-line)); color: var(--wb-accent); background: var(--wb-surface); font-weight: 650; box-shadow: 0 2px 7px #182a4a08; }
|
|
73
|
+
.wb-page { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
|
|
74
|
+
.wb-section-heading { display: flex; flex-direction: column; gap: 3px; margin: 2px 2px 0; }
|
|
75
|
+
.wb-card { min-width: 0; padding: 20px; border: 1px solid var(--wb-line); border-radius: 13px; background: var(--wb-surface); box-shadow: 0 3px 10px #182a4a05; }
|
|
76
|
+
.wb-card > :is(.wb-form-grid,.wb-list,.wb-activity-grid,.wb-native-endpoint,.wb-next-message,.wb-muted,.wb-hint,.wb-native-capabilities) { margin-top: 14px; }
|
|
77
|
+
.wb-card-description { margin-top: 3px !important; font-size: 12.5px; }
|
|
78
|
+
.wb-card > .wb-field { margin-top: 14px; max-width: 660px; }
|
|
79
|
+
.wb-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
|
|
80
|
+
.wb-metric { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 1px solid var(--wb-line); border-radius: 12px; background: var(--wb-surface); padding: 17px; }
|
|
81
|
+
.wb-metric > span { font-size: 12px; }
|
|
82
|
+
.wb-metric > strong { font-size: 21px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
|
|
83
|
+
.wb-metric:last-child > strong { font-size: 15px; padding-top: 4px; }
|
|
84
|
+
.wb-native-endpoint { white-space: pre-line; line-height: 1.9; overflow-wrap: anywhere; }
|
|
85
|
+
.wb-next-message { font-size: 14px; }
|
|
86
|
+
.wb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
|
|
87
|
+
.wb-app .wb-button {
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
min-height: 36px;
|
|
92
|
+
padding: 7px 13px;
|
|
93
|
+
border: 1px solid var(--wb-line);
|
|
94
|
+
border-radius: 9px;
|
|
95
|
+
background: var(--wb-surface);
|
|
96
|
+
color: var(--wb-ink);
|
|
97
|
+
font: inherit;
|
|
98
|
+
font-size: 12.5px;
|
|
99
|
+
font-weight: 500;
|
|
100
|
+
line-height: 1.5;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
transition: background .15s, border-color .15s;
|
|
103
|
+
}
|
|
104
|
+
.wb-app .wb-button:hover:not(:disabled) { border-color: var(--wb-accent); background: var(--wb-soft); }
|
|
105
|
+
.wb-app .wb-button.is-primary { border-color: transparent; background: linear-gradient(130deg, #4662dc, #6556bb); color: #fff; font-weight: 650; }
|
|
106
|
+
.wb-app .wb-button.is-danger { color: var(--wb-danger); border-color: color-mix(in srgb, var(--wb-danger) 38%, var(--wb-line)); }
|
|
107
|
+
.wb-app .wb-button:disabled { opacity: .52; cursor: not-allowed; }
|
|
108
|
+
.wb-app .wb-button[aria-busy="true"] { opacity: .85; cursor: progress; }
|
|
109
|
+
.wb-app .wb-button[aria-busy="true"]::before, .wb-badge.is-loading::before {
|
|
110
|
+
content: ""; flex: none; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; margin-right: 7px; animation: wb-spin .8s linear infinite;
|
|
111
|
+
}
|
|
112
|
+
.wb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px 22px; }
|
|
113
|
+
.wb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
|
|
114
|
+
.wb-field-label { display: block; font-size: 12.5px; font-weight: 550; }
|
|
115
|
+
.wb-field-help { font-size: 11.5px; line-height: 1.6; }
|
|
116
|
+
.wb-app .wb-input {
|
|
117
|
+
width: 100%; min-width: 0; min-height: 38px; margin: 0; padding: 8px 10px;
|
|
118
|
+
border: 1px solid var(--wb-line); border-radius: 8px; background: var(--wb-bg); color: var(--wb-ink);
|
|
119
|
+
font: inherit; line-height: 1.5; box-shadow: none;
|
|
120
|
+
}
|
|
121
|
+
.wb-input::placeholder { color: var(--wb-muted); opacity: .8; }
|
|
122
|
+
.wb-app select.wb-input { padding-right: 25px; }
|
|
123
|
+
.wb-app .wb-input[type="checkbox"] { width: 18px; min-height: 18px; height: 18px; margin: 4px 0; padding: 0; accent-color: var(--wb-accent); }
|
|
124
|
+
.wb-input[type="number"] { max-width: 100%; }
|
|
125
|
+
.wb-app .wb-input:disabled { opacity: .6; cursor: not-allowed; }
|
|
126
|
+
.wb-target { display: flex; padding: 14px 18px; border: 1px solid var(--wb-line); border-radius: 12px; background: color-mix(in srgb, var(--wb-accent) 4%, var(--wb-surface)); }
|
|
127
|
+
.wb-target > .wb-field { flex: 1; max-width: 680px; }
|
|
128
|
+
.wb-target .wb-input { background: var(--wb-surface); }
|
|
129
|
+
.wb-hint { padding: 10px 12px; border-radius: 8px; border-left: 3px solid var(--wb-accent); background: var(--wb-soft); font-size: 12px; overflow-wrap: anywhere; }
|
|
130
|
+
.wb-badge { display: inline-flex; align-items: center; width: fit-content; flex: none; border: 1px solid var(--wb-line); border-radius: 999px; padding: 3px 9px; color: var(--wb-muted); background: var(--wb-soft); font-size: 11px; font-weight: 600; white-space: nowrap; }
|
|
131
|
+
.wb-badge.is-ok { color: var(--wb-green); border-color: color-mix(in srgb, var(--wb-green) 25%, var(--wb-line)); background: color-mix(in srgb, var(--wb-green) 8%, var(--wb-surface)); }
|
|
132
|
+
.wb-badge.is-warn { color: var(--wb-amber); border-color: color-mix(in srgb, var(--wb-amber) 25%, var(--wb-line)); background: color-mix(in srgb, var(--wb-amber) 7%, var(--wb-surface)); }
|
|
133
|
+
.wb-badge.is-bad { color: var(--wb-danger); border-color: color-mix(in srgb, var(--wb-danger) 25%, var(--wb-line)); background: color-mix(in srgb, var(--wb-danger) 6%, var(--wb-surface)); }
|
|
134
|
+
.wb-list { min-width: 0; }
|
|
135
|
+
.wb-list > .wb-field { max-width: 380px; margin-bottom: 12px; }
|
|
136
|
+
.wb-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--wb-line); border-radius: 9px; }
|
|
137
|
+
.wb-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
|
|
138
|
+
.wb-table th { background: var(--wb-soft); color: var(--wb-muted); font-size: 11.5px; font-weight: 600; padding: 10px 12px; white-space: nowrap; }
|
|
139
|
+
.wb-table td { padding: 12px; border-top: 1px solid var(--wb-line); vertical-align: middle; overflow-wrap: anywhere; max-width: 420px; min-width: 90px; }
|
|
140
|
+
.wb-table td:first-child { min-width: 150px; }
|
|
141
|
+
.wb-table .wb-field-label { font-size: 11px; color: var(--wb-muted); }
|
|
142
|
+
.wb-table input[type="number"] { width: 105px; }
|
|
143
|
+
.wb-identity, .wb-stack { display: flex; flex-direction: column; gap: 5px; }
|
|
144
|
+
.wb-identity strong { font-size: 13px; }
|
|
145
|
+
.wb-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
|
|
146
|
+
.wb-pagination .wb-button { min-height: 32px; padding: 5px 10px; }
|
|
147
|
+
.wb-pagination > span { font-size: 12px; }
|
|
148
|
+
.wb-empty { display: flex; min-height: 112px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; text-align: center; background: var(--wb-bg); }
|
|
149
|
+
.wb-empty strong { font-size: 13px; font-weight: 550; }
|
|
150
|
+
.wb-empty p { max-width: 460px; font-size: 12px; }
|
|
151
|
+
.wb-empty.is-loading { background: linear-gradient(100deg, var(--wb-bg), var(--wb-soft), var(--wb-bg)); background-size: 200% 100%; animation: wb-load 2s ease infinite; }
|
|
152
|
+
.wb-empty.is-error { color: var(--wb-danger); border-left: 3px solid var(--wb-danger); background: color-mix(in srgb, var(--wb-danger) 5%, var(--wb-bg)); }
|
|
153
|
+
.wb-warning-card { border-color: color-mix(in srgb, var(--wb-amber) 38%, var(--wb-line)); }
|
|
154
|
+
.wb-warning-list { margin: 12px 0 0; padding-left: 20px; }
|
|
155
|
+
.wb-warning-list li + li { margin-top: 6px; }
|
|
156
|
+
.wb-activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
|
|
157
|
+
.wb-activity { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--wb-line); border-radius: 10px; padding: 13px; background: var(--wb-bg); }
|
|
158
|
+
.wb-activity > span { font-size: 11.5px; }
|
|
159
|
+
.wb-activity > strong { font-size: 14px; }
|
|
160
|
+
.wb-app summary { width: 100%; cursor: pointer; font-size: 12.5px; font-weight: 550; line-height: 1.7; }
|
|
161
|
+
.wb-app summary::marker { color: var(--wb-muted); }
|
|
162
|
+
.wb-app details[open] > summary { margin-bottom: 12px; }
|
|
163
|
+
.wb-raw { margin-top: 16px; border-top: 1px solid var(--wb-line); padding-top: 12px; }
|
|
164
|
+
.wb-raw summary { color: var(--wb-muted); }
|
|
165
|
+
.wb-error-details { margin-top: 10px; padding-top: 8px; }
|
|
166
|
+
.wb-raw-text { width: 100%; max-height: 340px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; border: 1px solid var(--wb-line); border-radius: 8px; background: var(--wb-bg); color: var(--wb-muted); font: 11px/1.7 var(--mono, ui-monospace, Consolas, monospace); }
|
|
167
|
+
.wb-advanced:not(.wb-card) { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--wb-line); }
|
|
168
|
+
.wb-advanced > summary, .wb-danger-zone > summary { font-size: 14px; }
|
|
169
|
+
.wb-danger-zone { border-color: color-mix(in srgb, var(--wb-danger) 32%, var(--wb-line)); }
|
|
170
|
+
.wb-danger-zone > summary { color: var(--wb-danger); }
|
|
171
|
+
.wb-draft-bar { position: sticky; z-index: 3; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border: 1px solid var(--wb-line); border-radius: 12px; background: var(--wb-surface); box-shadow: 0 -5px 20px #182a4a08; }
|
|
172
|
+
.wb-draft-bar > div:first-child { min-width: 0; }
|
|
173
|
+
.wb-draft-bar .wb-actions { flex: none; margin-top: 0; }
|
|
174
|
+
.wb-draft-bar .wb-muted { font-size: 11.5px; margin-top: 3px; }
|
|
175
|
+
.wb-draft-bar.is-dirty { border-color: var(--wb-accent); }
|
|
176
|
+
.wb-draft-bar.is-conflict { border-color: var(--wb-danger); }
|
|
177
|
+
[data-theme="dark"] .wb-app { --wb-accent: #a7b8ff; --wb-danger: #ff9db1; --wb-green: #72d4ad; --wb-amber: #efc274; }
|
|
178
|
+
@keyframes wb-spin { to { transform: rotate(360deg); } }
|
|
179
|
+
@keyframes wb-load { to { background-position: -200% 0; } }
|
|
180
|
+
@media (max-width: 720px) {
|
|
181
|
+
.wb-hero { padding: 17px; gap: 12px; }
|
|
182
|
+
.wb-hero-tools { flex: 1 1 100%; max-width: none; justify-content: flex-start; }
|
|
183
|
+
.wb-hero-tools > p { flex: 1; text-align: right; }
|
|
184
|
+
.wb-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
185
|
+
.wb-nav { flex-wrap: wrap; }
|
|
186
|
+
.wb-app .wb-nav-button { flex-basis: 95px; font-size: 12px; padding: 7px; }
|
|
187
|
+
.wb-card { padding: 16px; }
|
|
188
|
+
.wb-form-grid { grid-template-columns: 1fr; gap: 16px; }
|
|
189
|
+
.wb-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
190
|
+
.wb-draft-bar { flex-wrap: wrap; gap: 10px; }
|
|
191
|
+
.wb-draft-bar .wb-actions { flex: 1 1 100%; }
|
|
192
|
+
.wb-draft-bar .is-primary { flex: 1; }
|
|
193
|
+
}
|
|
194
|
+
@media (prefers-reduced-motion: reduce) {
|
|
195
|
+
.wb-app *, .wb-app *::before, .wb-app *::after { animation: none !important; transition: none !important; }
|
|
196
|
+
}
|
|
197
|
+
@media (forced-colors: active) {
|
|
198
|
+
.wb-app .wb-button, .wb-badge { border: 1px solid ButtonText; }
|
|
199
|
+
.wb-app .wb-nav-button[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -3px; }
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.wb-badge.is-promo {
|
|
203
|
+
color: #fff;
|
|
204
|
+
border-color: transparent;
|
|
205
|
+
background: linear-gradient(130deg, #e11d48, #f59e0b);
|
|
206
|
+
font-weight: 700;
|
|
207
|
+
}
|
|
208
|
+
.wb-strike { text-decoration: line-through; color: var(--wb-muted); font-size: 11px; }
|
|
209
|
+
.wb-code { font: 11px/1.4 var(--mono, ui-monospace, Consolas, monospace); color: var(--wb-muted); word-break: break-all; }
|
|
210
|
+
.wb-inline-badges { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
|
|
211
|
+
.wb-inline-actions { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
|
|
212
|
+
.wb-app .wb-btn-xs { min-height: 26px; padding: 3px 8px; font-size: 11.5px; border-radius: 7px; }
|
|
213
|
+
.wb-cooldown-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
|
|
214
|
+
.wb-summary-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
|
|
215
|
+
.wb-activity.is-warn-box { border-color: color-mix(in srgb, var(--wb-amber) 55%, var(--wb-line)); background: color-mix(in srgb, var(--wb-amber) 7%, var(--wb-bg)); }
|
|
216
|
+
.wb-import-preview { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--wb-line); border-radius: 10px; background: var(--wb-bg); }
|
|
217
|
+
.wb-import-cards { display: flex; flex-direction: column; gap: 8px; }
|
|
218
|
+
.wb-import-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--wb-line); border-radius: 8px; background: var(--wb-surface); }
|
|
219
|
+
.wb-textarea { min-height: 110px; resize: vertical; font: 11.5px/1.55 var(--mono, ui-monospace, Consolas, monospace); }
|
|
220
|
+
.wb-modal-backdrop {
|
|
221
|
+
position: fixed;
|
|
222
|
+
inset: 0;
|
|
223
|
+
z-index: 40;
|
|
224
|
+
display: grid;
|
|
225
|
+
place-items: center;
|
|
226
|
+
padding: 20px;
|
|
227
|
+
background: rgba(15, 23, 42, 0.56);
|
|
228
|
+
backdrop-filter: blur(2px);
|
|
229
|
+
}
|
|
230
|
+
.wb-modal {
|
|
231
|
+
width: 100%;
|
|
232
|
+
max-width: 440px;
|
|
233
|
+
max-height: 90vh;
|
|
234
|
+
overflow-y: auto;
|
|
235
|
+
border: 1px solid var(--wb-line);
|
|
236
|
+
border-radius: 16px;
|
|
237
|
+
background: var(--wb-surface);
|
|
238
|
+
padding: 20px;
|
|
239
|
+
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
gap: 14px;
|
|
243
|
+
}
|
|
244
|
+
.wb-modal-wide { max-width: 680px; }
|
|
245
|
+
.wb-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
246
|
+
.wb-modal-body { display: flex; flex-direction: column; gap: 12px; }
|
|
247
|
+
.wb-modal-status { font-size: 13px; color: var(--wb-muted); }
|
|
248
|
+
.wb-qr-box {
|
|
249
|
+
display: grid;
|
|
250
|
+
place-items: center;
|
|
251
|
+
padding: 14px;
|
|
252
|
+
border: 1px solid var(--wb-line);
|
|
253
|
+
border-radius: 12px;
|
|
254
|
+
background: #fff;
|
|
255
|
+
width: fit-content;
|
|
256
|
+
margin: 0 auto;
|
|
257
|
+
}
|
|
258
|
+
.wb-qr-svg { display: block; border-radius: 4px; }
|
|
259
|
+
.wb-app .wb-button.is-current-model { opacity: .88; cursor: default; }
|
|
260
|
+
.wb-priority-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
|
|
261
|
+
.wb-priority-item {
|
|
262
|
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
|
|
263
|
+
padding: 10px 12px; border: 1px solid var(--wb-line); border-radius: 9px; background: var(--wb-bg);
|
|
264
|
+
}
|
|
265
|
+
.wb-priority-item.is-primary-row {
|
|
266
|
+
border-color: color-mix(in srgb, var(--wb-accent) 45%, var(--wb-line));
|
|
267
|
+
background: color-mix(in srgb, var(--wb-accent) 6%, var(--wb-surface));
|
|
268
|
+
}
|
|
269
|
+
.wb-priority-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
|