@penguinharness/multimodal-tools 0.0.0-stage → 0.2.18

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.
@@ -0,0 +1,270 @@
1
+ :root {
2
+ color-scheme: light;
3
+ --bg: #f5f5f8;
4
+ --panel: #fff;
5
+ --ink: #252539;
6
+ --muted: #656577;
7
+ --line: #dedee5;
8
+ --accent: #585786;
9
+ --soft: #ededf6;
10
+ --stage: #f6f6f9;
11
+ font:
12
+ 15px/1.45 "DM Sans",
13
+ "PingFang SC",
14
+ system-ui,
15
+ sans-serif;
16
+ color: var(--ink);
17
+ background: var(--bg);
18
+ }
19
+ :root[data-dark] {
20
+ color-scheme: dark;
21
+ --bg: #191920;
22
+ --panel: #22222b;
23
+ --ink: #efedf6;
24
+ --muted: #b7b5c3;
25
+ --line: #42414e;
26
+ --accent: #b3afd9;
27
+ --soft: #363548;
28
+ --stage: #1c1c25;
29
+ }
30
+ * {
31
+ box-sizing: border-box;
32
+ }
33
+ body {
34
+ margin: 0;
35
+ }
36
+ header {
37
+ min-height: 68px;
38
+ padding: 14px clamp(14px, 3vw, 40px);
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: space-between;
42
+ gap: 16px;
43
+ border-bottom: 1px solid var(--line);
44
+ background: var(--panel);
45
+ }
46
+ .identity,
47
+ .history,
48
+ .topline {
49
+ display: flex;
50
+ align-items: center;
51
+ gap: 10px;
52
+ min-width: 0;
53
+ }
54
+ .history label {
55
+ white-space: nowrap;
56
+ }
57
+ .history select {
58
+ max-width: min(28vw, 300px);
59
+ }
60
+ h1,
61
+ h2,
62
+ p {
63
+ margin: 0;
64
+ }
65
+ h1 {
66
+ font-size: 21px;
67
+ letter-spacing: -0.03em;
68
+ }
69
+ h2 {
70
+ font-size: 20px;
71
+ letter-spacing: -0.025em;
72
+ margin-bottom: 20px;
73
+ }
74
+ main {
75
+ max-width: 1480px;
76
+ margin: 0 auto;
77
+ padding: clamp(14px, 3vw, 40px);
78
+ display: grid;
79
+ grid-template-columns: minmax(250px, 0.73fr) minmax(345px, 1.45fr);
80
+ gap: 20px;
81
+ align-items: start;
82
+ }
83
+ form,
84
+ .preview {
85
+ background: var(--panel);
86
+ border: 1px solid var(--line);
87
+ border-radius: 13px;
88
+ padding: clamp(16px, 2vw, 28px);
89
+ min-width: 0;
90
+ }
91
+ form {
92
+ display: grid;
93
+ gap: 9px;
94
+ }
95
+ form h2 {
96
+ margin-bottom: 9px;
97
+ }
98
+ label,
99
+ legend,
100
+ .binding {
101
+ color: var(--muted);
102
+ font-size: 13px;
103
+ }
104
+ textarea,
105
+ select,
106
+ button,
107
+ a {
108
+ font: inherit;
109
+ }
110
+ textarea,
111
+ select {
112
+ background: var(--panel);
113
+ color: var(--ink);
114
+ border: 1px solid var(--line);
115
+ border-radius: 7px;
116
+ padding: 8px 10px;
117
+ max-width: 100%;
118
+ }
119
+ textarea {
120
+ resize: vertical;
121
+ width: 100%;
122
+ min-height: 100px;
123
+ line-height: 1.55;
124
+ }
125
+ button,
126
+ a.download {
127
+ border: 1px solid var(--line);
128
+ border-radius: 7px;
129
+ color: var(--ink);
130
+ background: var(--panel);
131
+ padding: 7px 11px;
132
+ cursor: pointer;
133
+ text-decoration: none;
134
+ }
135
+ button:hover,
136
+ a.download:hover {
137
+ background: var(--soft);
138
+ }
139
+ button:disabled {
140
+ opacity: 0.58;
141
+ cursor: default;
142
+ }
143
+ :focus-visible {
144
+ outline: 2px solid var(--accent);
145
+ outline-offset: 2px;
146
+ }
147
+ fieldset {
148
+ border: 0;
149
+ margin: 2px 0 10px;
150
+ padding: 0;
151
+ }
152
+ legend {
153
+ margin-bottom: 6px;
154
+ }
155
+ #ideas {
156
+ display: flex;
157
+ flex-wrap: wrap;
158
+ gap: 6px;
159
+ }
160
+ #ideas button {
161
+ font-size: 12px;
162
+ }
163
+ .binding {
164
+ display: grid;
165
+ gap: 3px;
166
+ padding: 12px 0 4px;
167
+ }
168
+ .binding #model {
169
+ color: var(--ink);
170
+ overflow-wrap: anywhere;
171
+ }
172
+ .primary,
173
+ .primary:hover {
174
+ background: var(--accent);
175
+ border-color: var(--accent);
176
+ color: var(--panel);
177
+ font-weight: 650;
178
+ min-height: 40px;
179
+ }
180
+ #error {
181
+ color: #a13f38;
182
+ font-size: 13px;
183
+ }
184
+ #detail {
185
+ white-space: pre-wrap;
186
+ overflow-wrap: anywhere;
187
+ color: var(--muted);
188
+ margin-top: 14px;
189
+ }
190
+ .topline {
191
+ justify-content: space-between;
192
+ margin-bottom: 16px;
193
+ }
194
+ .topline h2 {
195
+ margin: 0;
196
+ }
197
+ #stage {
198
+ background: var(--stage);
199
+ border: 1px solid var(--line);
200
+ border-radius: 8px;
201
+ min-height: min(51vh, 480px);
202
+ display: grid;
203
+ align-content: center;
204
+ justify-items: center;
205
+ overflow: hidden;
206
+ }
207
+ .placeholder {
208
+ padding: 36px;
209
+ text-align: center;
210
+ color: var(--muted);
211
+ max-width: 440px;
212
+ }
213
+ .frame {
214
+ display: inline-grid;
215
+ place-items: center;
216
+ width: 48px;
217
+ height: 48px;
218
+ border: 1px solid var(--line);
219
+ border-radius: 10px;
220
+ color: var(--accent);
221
+ font-size: 28px;
222
+ margin-bottom: 12px;
223
+ }
224
+ #stage img {
225
+ display: block;
226
+ max-width: 100%;
227
+ width: auto;
228
+ height: auto;
229
+ max-height: 65vh;
230
+ object-fit: contain;
231
+ }
232
+ #downloads {
233
+ display: flex;
234
+ gap: 8px;
235
+ flex-wrap: wrap;
236
+ }
237
+ #downloads:not(:empty) {
238
+ margin-top: 14px;
239
+ }
240
+ a.download {
241
+ font-size: 13px;
242
+ }
243
+ button[hidden],
244
+ p[hidden] {
245
+ display: none;
246
+ }
247
+ @media (max-width: 720px) {
248
+ main {
249
+ grid-template-columns: 1fr;
250
+ gap: 12px;
251
+ }
252
+ .history {
253
+ gap: 5px;
254
+ }
255
+ .history label {
256
+ display: none;
257
+ }
258
+ .history select {
259
+ max-width: 39vw;
260
+ }
261
+ h1 {
262
+ font-size: 18px;
263
+ }
264
+ #stage {
265
+ min-height: 215px;
266
+ }
267
+ header {
268
+ min-height: 56px;
269
+ }
270
+ }