@runuai/host 0.8.5 → 0.8.6

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/ui/style.css CHANGED
@@ -348,6 +348,268 @@ code,
348
348
  margin-left: auto;
349
349
  }
350
350
 
351
+ /* --- engines --------------------------------------------------------------- */
352
+
353
+ .panel h2 .add-engine {
354
+ float: right;
355
+ text-transform: none;
356
+ letter-spacing: 0;
357
+ }
358
+
359
+ .engines {
360
+ display: flex;
361
+ flex-direction: column;
362
+ gap: 0.6rem;
363
+ }
364
+
365
+ .engine-card {
366
+ display: flex;
367
+ align-items: center;
368
+ gap: 0.75rem;
369
+ border: 1px solid var(--line);
370
+ border-radius: var(--radius);
371
+ padding: 0.6rem 0.9rem;
372
+ }
373
+
374
+ .engine-head {
375
+ display: flex;
376
+ align-items: center;
377
+ gap: 0.6rem;
378
+ flex: 1;
379
+ min-width: 0;
380
+ }
381
+
382
+ .engine-mono {
383
+ display: inline-flex;
384
+ align-items: center;
385
+ justify-content: center;
386
+ width: 28px;
387
+ height: 28px;
388
+ flex: none;
389
+ border-radius: 8px;
390
+ background: var(--accent);
391
+ color: var(--accent-fg);
392
+ font-weight: 600;
393
+ font-size: 0.9rem;
394
+ }
395
+
396
+ .engine-meta {
397
+ min-width: 0;
398
+ }
399
+
400
+ .engine-name {
401
+ font-weight: 600;
402
+ }
403
+
404
+ .engine-sub {
405
+ color: var(--fg-muted);
406
+ font-size: 0.82rem;
407
+ }
408
+
409
+ .engine-sub.ok {
410
+ color: var(--ok);
411
+ }
412
+
413
+ /* --- buttons --------------------------------------------------------------- */
414
+
415
+ .btn {
416
+ display: inline-flex;
417
+ align-items: center;
418
+ gap: 0.4rem;
419
+ padding: 0.45rem 0.9rem;
420
+ border: 1px solid var(--accent);
421
+ border-radius: 8px;
422
+ background: var(--accent);
423
+ color: var(--accent-fg);
424
+ font: inherit;
425
+ font-size: 0.88rem;
426
+ cursor: pointer;
427
+ }
428
+
429
+ .btn:disabled {
430
+ opacity: 0.6;
431
+ cursor: default;
432
+ }
433
+
434
+ .link-btn {
435
+ border: none;
436
+ background: none;
437
+ padding: 0;
438
+ color: var(--fg-muted);
439
+ font: inherit;
440
+ font-size: 0.85rem;
441
+ cursor: pointer;
442
+ text-decoration: none;
443
+ }
444
+
445
+ .link-btn:hover {
446
+ color: var(--fg);
447
+ text-decoration: underline;
448
+ }
449
+
450
+ .link-btn.danger:hover {
451
+ color: var(--bad);
452
+ }
453
+
454
+ /* --- modal ----------------------------------------------------------------- */
455
+
456
+ .modal-backdrop {
457
+ position: fixed;
458
+ inset: 0;
459
+ z-index: 50;
460
+ display: flex;
461
+ align-items: flex-start;
462
+ justify-content: center;
463
+ padding: 8vh 1rem 1rem;
464
+ background: rgba(0, 0, 0, 0.4);
465
+ }
466
+
467
+ .modal-backdrop[hidden] {
468
+ display: none;
469
+ }
470
+
471
+ .modal {
472
+ width: 100%;
473
+ max-width: 32rem;
474
+ background: var(--bg);
475
+ border: 1px solid var(--line);
476
+ border-radius: var(--radius);
477
+ box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
478
+ overflow: hidden;
479
+ }
480
+
481
+ .modal-head {
482
+ display: flex;
483
+ align-items: center;
484
+ justify-content: space-between;
485
+ gap: 1rem;
486
+ padding: 0.9rem 1.1rem;
487
+ border-bottom: 1px solid var(--line);
488
+ }
489
+
490
+ .modal-head h3 {
491
+ margin: 0;
492
+ font-size: 1rem;
493
+ }
494
+
495
+ .modal-close {
496
+ border: none;
497
+ background: none;
498
+ color: var(--fg-muted);
499
+ font-size: 1.4rem;
500
+ line-height: 1;
501
+ cursor: pointer;
502
+ }
503
+
504
+ .modal-close:hover {
505
+ color: var(--fg);
506
+ }
507
+
508
+ .modal-body {
509
+ padding: 1.1rem;
510
+ }
511
+
512
+ /* --- engine picker + setup ------------------------------------------------- */
513
+
514
+ .engine-picker {
515
+ display: flex;
516
+ flex-direction: column;
517
+ gap: 0.4rem;
518
+ }
519
+
520
+ .engine-pick {
521
+ display: flex;
522
+ align-items: center;
523
+ gap: 0.7rem;
524
+ width: 100%;
525
+ text-align: left;
526
+ padding: 0.6rem 0.75rem;
527
+ border: 1px solid var(--line);
528
+ border-radius: var(--radius);
529
+ background: var(--bg);
530
+ color: var(--fg);
531
+ font: inherit;
532
+ cursor: pointer;
533
+ }
534
+
535
+ .engine-pick:hover {
536
+ background: var(--tint);
537
+ }
538
+
539
+ .engine-pick .chev {
540
+ margin-left: auto;
541
+ }
542
+
543
+ .engine-setup {
544
+ display: flex;
545
+ flex-direction: column;
546
+ gap: 0.7rem;
547
+ }
548
+
549
+ .setup-note {
550
+ margin: 0;
551
+ color: var(--fg-muted);
552
+ font-size: 0.88rem;
553
+ }
554
+
555
+ .field {
556
+ display: flex;
557
+ }
558
+
559
+ .text-input {
560
+ width: 100%;
561
+ padding: 0.5rem 0.7rem;
562
+ border: 1px solid var(--line);
563
+ border-radius: 8px;
564
+ background: var(--bg);
565
+ color: var(--fg);
566
+ font: inherit;
567
+ font-family: var(--mono);
568
+ font-size: 0.88rem;
569
+ }
570
+
571
+ .text-input:focus {
572
+ outline: none;
573
+ border-color: var(--fg-muted);
574
+ }
575
+
576
+ .setup-actions {
577
+ display: flex;
578
+ align-items: center;
579
+ gap: 1rem;
580
+ }
581
+
582
+ .setup-status {
583
+ font-size: 0.85rem;
584
+ color: var(--fg-muted);
585
+ min-height: 1.1rem;
586
+ }
587
+
588
+ .setup-status.err {
589
+ color: var(--bad);
590
+ }
591
+
592
+ .log {
593
+ margin: 0;
594
+ max-height: 14rem;
595
+ overflow: auto;
596
+ padding: 0.6rem 0.75rem;
597
+ border: 1px solid var(--line);
598
+ border-radius: 8px;
599
+ background: var(--tint);
600
+ color: var(--fg-muted);
601
+ font-family: var(--mono);
602
+ font-size: 0.78rem;
603
+ line-height: 1.45;
604
+ white-space: pre-wrap;
605
+ word-break: break-word;
606
+ }
607
+
608
+ .back {
609
+ margin-top: 0.3rem;
610
+ align-self: flex-start;
611
+ }
612
+
351
613
  /* --- footer --------------------------------------------------------------- */
352
614
 
353
615
  .foot {