hyperbook 0.93.1 → 0.95.0

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.
@@ -179,11 +179,14 @@
179
179
 
180
180
  .directive-openscad .parameters-body {
181
181
  flex: 1;
182
+ min-height: 0;
182
183
  overflow-y: auto;
183
184
  padding: 12px;
184
- display: flex;
185
- flex-direction: column;
186
- gap: 10px;
185
+ box-sizing: border-box;
186
+ }
187
+
188
+ .directive-openscad .parameters-body > * + * {
189
+ margin-top: 10px;
187
190
  }
188
191
 
189
192
  .directive-openscad .editor-container {
@@ -253,6 +256,18 @@
253
256
  cursor: pointer;
254
257
  }
255
258
 
259
+ .directive-openscad .buttons select.download-format {
260
+ flex: 0 0 auto;
261
+ min-width: 72px;
262
+ padding: 8px 10px;
263
+ border: none;
264
+ border-right: 1px solid var(--color-spacer);
265
+ background-color: var(--color-background, var(--color--background, #fff));
266
+ color: var(--color-text);
267
+ font: inherit;
268
+ cursor: pointer;
269
+ }
270
+
256
271
  .directive-openscad .buttons button:last-child {
257
272
  border-right: none;
258
273
  }
@@ -274,7 +289,13 @@
274
289
  width: 100%;
275
290
  border: 1px solid var(--color-spacer);
276
291
  flex: 1;
277
- margin: 0; /* override code-input.min.css default margin: 8px */
292
+ margin: 0;
293
+ min-height: 0;
294
+ overflow: hidden;
295
+ }
296
+
297
+ .directive-openscad .editor .cm-editor {
298
+ height: 100%;
278
299
  }
279
300
 
280
301
  /* The parameters textarea is always hidden — the form replaces it visually */
@@ -331,6 +352,52 @@
331
352
  text-align: center;
332
353
  }
333
354
 
355
+ .directive-openscad .param-group {
356
+ border: 1px solid var(--color-spacer);
357
+ border-radius: 6px;
358
+ overflow: hidden;
359
+ }
360
+
361
+ .directive-openscad .param-group-summary {
362
+ padding: 6px 12px;
363
+ font-weight: 600;
364
+ cursor: pointer;
365
+ background: var(--color-background, var(--color--background, #fff));
366
+ user-select: none;
367
+ list-style: none;
368
+ display: flex;
369
+ align-items: center;
370
+ gap: 6px;
371
+ }
372
+
373
+ .directive-openscad .param-group-summary::-webkit-details-marker {
374
+ display: none;
375
+ }
376
+
377
+ .directive-openscad .param-group-summary::before {
378
+ content: "▶";
379
+ font-size: 0.65em;
380
+ transition: transform 0.15s ease;
381
+ flex-shrink: 0;
382
+ }
383
+
384
+ .directive-openscad .param-group[open] .param-group-summary::before {
385
+ transform: rotate(90deg);
386
+ }
387
+
388
+ .directive-openscad .param-group-summary:hover {
389
+ background: var(--color-spacer);
390
+ }
391
+
392
+ .directive-openscad .param-group-body {
393
+ padding: 8px 12px;
394
+ border-top: 1px solid var(--color-spacer);
395
+ }
396
+
397
+ .directive-openscad .param-group-body > * + * {
398
+ margin-top: 10px;
399
+ }
400
+
334
401
  .directive-openscad:fullscreen {
335
402
  width: 100vw;
336
403
  height: 100dvh !important;