langchain_agentx_stream_ui 0.1.2 → 0.1.8

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/dist/default.css CHANGED
@@ -17,6 +17,19 @@
17
17
  * --lax-color-done, --lax-color-error, --lax-color-running
18
18
  * --lax-color-warning, --lax-color-success
19
19
  * --lax-bg-surface, --lax-bg-warning
20
+ *
21
+ * 图表 / Markdown 表面(应用层可独立覆盖,不必等于 --card-bg):
22
+ * --lax-card-bg 通用卡片底(默认继承 --card-bg)
23
+ * --lax-diagram-bg Mermaid / PlantUML 块背景
24
+ * --lax-bg-surface 通用浅层表面(默认继承 --lax-diagram-bg)
25
+ * --lax-mermaid-node-fill 深色模式下 Mermaid 节点 fill(浅色由 base themeVariables 渲染)
26
+ * --lax-mermaid-label-color Mermaid 标签字色(默认继承 --lax-foreground,浅色统一 slate 灰)
27
+ * --lax-mermaid-edge-color Mermaid 连线(默认继承 --lax-accent-primary)
28
+ *
29
+ * 覆盖示例(宿主任意祖先节点均可):
30
+ * :root { --lax-diagram-bg: #0d1117; }
31
+ * :root { --lax-mermaid-node-fill: color-mix(in srgb, var(--card-bg) 92%, var(--foreground)); }
32
+ * .my-panel { --lax-diagram-bg: transparent; }
20
33
  */
21
34
 
22
35
  /* ============================================================================
@@ -24,14 +37,20 @@
24
37
  ============================================================================ */
25
38
 
26
39
  .lax-agent-session {
27
- /* 基础颜色(从应用层继承) */
28
- --lax-foreground: var(--foreground);
29
- --lax-card-bg: var(--card-bg);
30
- --lax-border-color: var(--border-color);
31
- --lax-muted: var(--muted);
32
- --lax-accent-primary: var(--accent-primary);
33
- --lax-highlight: var(--highlight);
34
- --lax-font-mono: var(--font-mono, ui-monospace, monospace);
40
+ /* 基础颜色:已设置的 --lax-* 优先,否则从应用层 token 桥接 */
41
+ --lax-foreground: var(--lax-foreground, var(--foreground));
42
+ --lax-card-bg: var(--lax-card-bg, var(--card-bg));
43
+ --lax-diagram-bg: var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)));
44
+ --lax-background: var(--lax-background, var(--card-bg, transparent));
45
+ --lax-bg-surface: var(--lax-bg-surface, var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent))));
46
+ --lax-mermaid-node-fill: var(--lax-mermaid-node-fill, var(--lax-bg-surface, var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)))));
47
+ --lax-mermaid-label-color: var(--lax-mermaid-label-color, var(--lax-foreground, var(--foreground, inherit)));
48
+ --lax-mermaid-edge-color: var(--lax-mermaid-edge-color, var(--lax-accent-primary, var(--accent-primary, currentColor)));
49
+ --lax-border-color: var(--lax-border-color, var(--border-color));
50
+ --lax-muted: var(--lax-muted, var(--muted, #666));
51
+ --lax-accent-primary: var(--lax-accent-primary, var(--accent-primary));
52
+ --lax-highlight: var(--lax-highlight, var(--highlight));
53
+ --lax-font-mono: var(--lax-font-mono, var(--font-mono, ui-monospace, monospace));
35
54
 
36
55
  /* 状态颜色(应用层可覆盖,默认使用主题色) */
37
56
  --lax-color-done: var(--accent-primary);
@@ -666,6 +685,41 @@
666
685
  content: none;
667
686
  }
668
687
 
688
+ .lax-tool-group__subline-block {
689
+ display: flex;
690
+ flex-direction: column;
691
+ gap: 0.35rem;
692
+ }
693
+
694
+ .lax-tool-group__transcript-link {
695
+ background: none;
696
+ border: none;
697
+ padding: 0;
698
+ margin: 0;
699
+ font: inherit;
700
+ font-size: inherit;
701
+ color: var(--lax-accent, #3a6ea5);
702
+ cursor: pointer;
703
+ text-decoration: underline;
704
+ text-underline-offset: 2px;
705
+ }
706
+
707
+ .lax-tool-group__transcript-link:hover {
708
+ color: var(--lax-accent-hover, #2a5e95);
709
+ }
710
+
711
+ .lax-tool-group__transcript-link:focus-visible {
712
+ outline: 2px solid var(--lax-accent, #3a6ea5);
713
+ outline-offset: 2px;
714
+ border-radius: 2px;
715
+ }
716
+
717
+ .lax-tool-group__transcript-panel {
718
+ margin-left: 1.25rem;
719
+ padding-left: 0.5rem;
720
+ border-left: 1px solid var(--lax-border, #ebedf0);
721
+ }
722
+
669
723
  /* ============================================================================
670
724
  工具 Diff
671
725
  ============================================================================ */
@@ -712,6 +766,18 @@
712
766
  ============================================================================ */
713
767
 
714
768
  .lax-markdown {
769
+ --lax-foreground: var(--lax-foreground, var(--foreground, inherit));
770
+ --lax-card-bg: var(--lax-card-bg, var(--card-bg, transparent));
771
+ --lax-diagram-bg: var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)));
772
+ --lax-background: var(--lax-background, var(--card-bg, transparent));
773
+ --lax-bg-surface: var(--lax-bg-surface, var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent))));
774
+ --lax-mermaid-node-fill: var(--lax-mermaid-node-fill, var(--lax-bg-surface, var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)))));
775
+ --lax-mermaid-label-color: var(--lax-mermaid-label-color, var(--lax-foreground, var(--foreground, inherit)));
776
+ --lax-mermaid-edge-color: var(--lax-mermaid-edge-color, var(--lax-accent-primary, var(--accent-primary, currentColor)));
777
+ --lax-border-color: var(--lax-border-color, var(--border-color, rgba(0, 0, 0, 0.1)));
778
+ --lax-muted: var(--lax-muted, var(--muted, #666));
779
+ --lax-accent-primary: var(--lax-accent-primary, var(--accent-primary, #6366f1));
780
+
715
781
  font-size: 0.85rem;
716
782
  line-height: var(--lax-density-md-line-height, 1.35);
717
783
  margin-top: var(--lax-density-md-margin-top, 0);
@@ -961,11 +1027,21 @@
961
1027
 
962
1028
  /* Rich Markdown — Mermaid */
963
1029
  .lax-mermaid {
1030
+ --lax-diagram-bg: var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)));
1031
+ --lax-bg-surface: var(--lax-bg-surface, var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent))));
1032
+ --lax-mermaid-node-fill: var(--lax-mermaid-node-fill, var(--lax-bg-surface, var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)))));
1033
+ --lax-mermaid-label-color: var(--lax-mermaid-label-color, var(--lax-foreground, var(--foreground, inherit)));
1034
+ --lax-mermaid-edge-color: var(--lax-mermaid-edge-color, var(--lax-accent-primary, var(--accent-primary, currentColor)));
1035
+ --lax-foreground: var(--lax-foreground, var(--foreground, inherit));
1036
+ --lax-border-color: var(--lax-border-color, var(--border-color, rgba(0, 0, 0, 0.1)));
1037
+ --lax-accent-primary: var(--lax-accent-primary, var(--accent-primary, currentColor));
1038
+ --lax-card-bg: var(--lax-card-bg, var(--card-bg, transparent));
1039
+
964
1040
  margin: 0.75rem 0;
965
- border: 1px solid var(--lax-border, rgba(0, 0, 0, 0.1));
1041
+ border: 1px solid var(--lax-border-color, var(--lax-border, rgba(0, 0, 0, 0.1)));
966
1042
  border-radius: 6px;
967
1043
  overflow: hidden;
968
- background: var(--lax-background, #fff);
1044
+ background: var(--lax-diagram-bg);
969
1045
  }
970
1046
 
971
1047
  .lax-mermaid--loading {
@@ -1049,13 +1125,94 @@
1049
1125
  }
1050
1126
 
1051
1127
  .lax-mermaid__canvas {
1128
+ display: flex;
1129
+ justify-content: center;
1052
1130
  overflow: auto;
1053
- max-height: 480px;
1054
1131
  padding: 0.5rem;
1055
1132
  }
1056
1133
 
1057
1134
  .lax-mermaid__canvas--zoom {
1135
+ height: 600px;
1058
1136
  min-height: 320px;
1137
+ max-height: none;
1138
+ overflow: hidden;
1139
+ padding: 0.75rem;
1140
+ touch-action: none;
1141
+ cursor: grab;
1142
+ }
1143
+
1144
+ .lax-mermaid__canvas--zoom:active {
1145
+ cursor: grabbing;
1146
+ }
1147
+
1148
+ .lax-mermaid__svg-host {
1149
+ width: 100%;
1150
+ height: 100%;
1151
+ display: flex;
1152
+ align-items: center;
1153
+ justify-content: center;
1154
+ }
1155
+
1156
+ /** fill 布局:不 flex 居中,由 DiagramZoomShell / fitDiagramToContainer 计算 transform */
1157
+ .lax-mermaid__svg-host--fill {
1158
+ display: block;
1159
+ }
1160
+
1161
+ .lax-plantuml__svg-host.lax-mermaid__svg-host--fill {
1162
+ display: block;
1163
+ }
1164
+
1165
+ .lax-diagram-canvas-wrap {
1166
+ position: relative;
1167
+ }
1168
+
1169
+ .lax-diagram__controls {
1170
+ position: absolute;
1171
+ top: 0.55rem;
1172
+ right: 0.55rem;
1173
+ z-index: 2;
1174
+ display: inline-flex;
1175
+ align-items: center;
1176
+ gap: 0.2rem;
1177
+ padding: 0.15rem;
1178
+ border-radius: 6px;
1179
+ background: rgba(255, 255, 255, 0.92);
1180
+ border: 1px solid var(--lax-border-color, rgba(0, 0, 0, 0.12));
1181
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
1182
+ opacity: 0;
1183
+ pointer-events: none;
1184
+ transition: opacity 0.2s ease;
1185
+ }
1186
+
1187
+ .lax-diagram-canvas-wrap:hover .lax-diagram__controls,
1188
+ .lax-diagram-canvas-wrap:focus-within .lax-diagram__controls {
1189
+ opacity: 1;
1190
+ pointer-events: auto;
1191
+ }
1192
+
1193
+ .lax-diagram__control-btn {
1194
+ display: inline-flex;
1195
+ align-items: center;
1196
+ justify-content: center;
1197
+ width: 1.65rem;
1198
+ height: 1.65rem;
1199
+ padding: 0;
1200
+ border: 1px solid var(--lax-border-color, rgba(0, 0, 0, 0.12));
1201
+ border-radius: 4px;
1202
+ background: var(--lax-card-bg, #fff);
1203
+ color: var(--lax-foreground, #333);
1204
+ font-size: 0.95rem;
1205
+ line-height: 1;
1206
+ cursor: pointer;
1207
+ }
1208
+
1209
+ .lax-diagram__control-btn:hover {
1210
+ background: rgba(0, 0, 0, 0.05);
1211
+ }
1212
+
1213
+ .lax-diagram__control-btn:focus-visible {
1214
+ outline: 2px solid var(--lax-accent-primary, #6366f1);
1215
+ outline-offset: 1px;
1059
1216
  }
1060
1217
 
1061
1218
  .lax-mermaid__canvas--clickable {
@@ -1073,6 +1230,15 @@
1073
1230
  min-width: min-content;
1074
1231
  }
1075
1232
 
1233
+ .lax-mermaid__canvas--zoom svg {
1234
+ width: 100%;
1235
+ height: 100%;
1236
+ max-width: none;
1237
+ min-width: 0;
1238
+ min-height: 0;
1239
+ margin: 0;
1240
+ }
1241
+
1076
1242
  .lax-mermaid__fallback {
1077
1243
  padding: 0.75rem;
1078
1244
  margin: 0;
@@ -1105,8 +1271,8 @@
1105
1271
  .lax-mermaid-modal__panel {
1106
1272
  display: flex;
1107
1273
  flex-direction: column;
1108
- width: min(64rem, 100%);
1109
- max-height: 90vh;
1274
+ width: min(72rem, 100%);
1275
+ max-height: 92vh;
1110
1276
  border-radius: 8px;
1111
1277
  overflow: hidden;
1112
1278
  background: var(--lax-card-bg, #fff);
@@ -1159,25 +1325,39 @@
1159
1325
 
1160
1326
  .lax-mermaid-modal__body {
1161
1327
  flex: 1;
1162
- overflow: auto;
1163
- padding: 1rem;
1328
+ overflow: hidden;
1329
+ padding: 0.75rem;
1164
1330
  background: rgba(0, 0, 0, 0.02);
1165
- display: flex;
1166
- align-items: center;
1167
- justify-content: center;
1331
+ min-height: min(68vh, 720px);
1168
1332
  }
1169
1333
 
1170
1334
  .lax-mermaid-modal__canvas {
1171
- transition: transform 0.2s ease-out;
1335
+ width: 100%;
1336
+ height: 100%;
1337
+ min-height: min(64vh, 680px);
1338
+ overflow: hidden;
1339
+ touch-action: none;
1340
+ cursor: grab;
1341
+ }
1342
+
1343
+ .lax-mermaid-modal__canvas:active {
1344
+ cursor: grabbing;
1345
+ }
1346
+
1347
+ .lax-mermaid-modal__canvas svg {
1348
+ display: block;
1349
+ margin: 0 auto;
1172
1350
  }
1173
1351
 
1174
1352
  /* Rich Markdown — PlantUML */
1175
1353
  .lax-plantuml {
1354
+ --lax-diagram-bg: var(--lax-diagram-bg, var(--lax-card-bg, var(--card-bg, transparent)));
1355
+
1176
1356
  margin: 0.75rem 0;
1177
1357
  border: 1px solid var(--lax-border-color, rgba(0, 0, 0, 0.1));
1178
1358
  border-radius: 6px;
1179
1359
  overflow: hidden;
1180
- background: var(--lax-card-bg, #fff);
1360
+ background: var(--lax-diagram-bg);
1181
1361
  }
1182
1362
 
1183
1363
  .lax-plantuml--loading {
@@ -1256,11 +1436,34 @@
1256
1436
  }
1257
1437
 
1258
1438
  .lax-plantuml__canvas {
1439
+ display: flex;
1440
+ justify-content: center;
1259
1441
  overflow: auto;
1260
- max-height: 480px;
1261
1442
  padding: 0.5rem;
1262
1443
  }
1263
1444
 
1445
+ .lax-plantuml__canvas--zoom {
1446
+ height: 600px;
1447
+ min-height: 320px;
1448
+ max-height: none;
1449
+ overflow: hidden;
1450
+ padding: 0.75rem;
1451
+ touch-action: none;
1452
+ cursor: grab;
1453
+ }
1454
+
1455
+ .lax-plantuml__canvas--zoom:active {
1456
+ cursor: grabbing;
1457
+ }
1458
+
1459
+ .lax-plantuml__svg-host {
1460
+ width: 100%;
1461
+ height: 100%;
1462
+ display: flex;
1463
+ align-items: center;
1464
+ justify-content: center;
1465
+ }
1466
+
1264
1467
  .lax-plantuml__canvas--clickable {
1265
1468
  cursor: zoom-in;
1266
1469
  }
@@ -1271,6 +1474,15 @@
1271
1474
  min-width: min-content;
1272
1475
  }
1273
1476
 
1477
+ .lax-plantuml__canvas--zoom svg {
1478
+ width: 100%;
1479
+ height: 100%;
1480
+ max-width: none;
1481
+ min-width: 0;
1482
+ min-height: 0;
1483
+ margin: 0;
1484
+ }
1485
+
1274
1486
  .lax-plantuml__fallback {
1275
1487
  padding: 0.75rem;
1276
1488
  margin: 0;
@@ -1525,26 +1737,38 @@
1525
1737
  }
1526
1738
 
1527
1739
  .lax-spinner-verb {
1528
- color: var(--lax-muted);
1740
+ color: var(--lax-muted, #666);
1529
1741
  }
1530
1742
 
1531
1743
  /* 动词 shimmer(对齐 CC GlimmerMessage requesting 模式) */
1532
1744
  .lax-spinner-verb--shimmer {
1533
- background: linear-gradient(
1745
+ display: inline-block;
1746
+ color: var(--lax-muted, #666);
1747
+ background-image: linear-gradient(
1534
1748
  90deg,
1535
- var(--lax-muted) 0%,
1536
- var(--lax-muted) 35%,
1537
- var(--lax-accent-primary) 50%,
1538
- var(--lax-muted) 65%,
1539
- var(--lax-muted) 100%
1749
+ var(--lax-muted, #666) 0%,
1750
+ var(--lax-muted, #666) 35%,
1751
+ var(--lax-accent-primary, #6366f1) 50%,
1752
+ var(--lax-muted, #666) 65%,
1753
+ var(--lax-muted, #666) 100%
1540
1754
  );
1541
1755
  background-size: 200% 100%;
1756
+ background-repeat: no-repeat;
1542
1757
  -webkit-background-clip: text;
1543
1758
  background-clip: text;
1544
- color: transparent;
1759
+ -webkit-text-fill-color: transparent;
1545
1760
  animation: lax-verb-shimmer 2.4s linear infinite;
1546
1761
  }
1547
1762
 
1763
+ @supports not ((-webkit-background-clip: text) or (background-clip: text)) {
1764
+ .lax-spinner-verb--shimmer,
1765
+ .lax-spinner-verb--shimmer-fast {
1766
+ background-image: none;
1767
+ -webkit-text-fill-color: currentColor;
1768
+ color: var(--lax-muted, #666);
1769
+ }
1770
+ }
1771
+
1548
1772
  .lax-spinner-verb--shimmer-fast {
1549
1773
  animation-duration: 1.6s;
1550
1774
  }
@@ -1585,10 +1809,11 @@
1585
1809
  .lax-spinner-verb--shimmer-fast,
1586
1810
  .lax-spinner-verb--tool-use {
1587
1811
  animation: none;
1588
- background: none;
1812
+ background-image: none;
1589
1813
  -webkit-background-clip: unset;
1590
1814
  background-clip: unset;
1591
- color: var(--lax-muted);
1815
+ -webkit-text-fill-color: currentColor;
1816
+ color: var(--lax-muted, #666);
1592
1817
  }
1593
1818
  }
1594
1819
 
@@ -2184,3 +2409,192 @@
2184
2409
  .lax-workflow-route-branch--skipped .lax-workflow-container-line {
2185
2410
  cursor: default;
2186
2411
  }
2412
+
2413
+ /* react-zoom-pan-pinch@3.6.1 — diagram zoom (Mermaid / PlantUML) */
2414
+
2415
+ .diagram-zoom-shell {
2416
+ position: relative;
2417
+ width: 100%;
2418
+ }
2419
+
2420
+ .diagram-zoom-shell--natural {
2421
+ height: auto;
2422
+ }
2423
+
2424
+ .diagram-zoom-shell--natural .diagram-zoom-shell__viewport {
2425
+ height: auto;
2426
+ min-height: 0;
2427
+ overflow: auto;
2428
+ display: flex;
2429
+ justify-content: center;
2430
+ padding: 0.5rem;
2431
+ cursor: zoom-in;
2432
+ }
2433
+
2434
+ .diagram-zoom-shell--natural .diagram-zoom-shell__viewport .react-transform-wrapper {
2435
+ width: 100%;
2436
+ max-width: 100%;
2437
+ height: auto;
2438
+ }
2439
+
2440
+ .diagram-zoom-shell--natural .diagram-zoom-shell__viewport .react-transform-component {
2441
+ width: 100% !important;
2442
+ height: auto !important;
2443
+ }
2444
+
2445
+ .diagram-zoom-shell--natural .diagram-zoom-shell__content svg {
2446
+ display: block;
2447
+ max-width: 100%;
2448
+ width: auto;
2449
+ height: auto;
2450
+ }
2451
+
2452
+ .diagram-zoom-shell--fill .diagram-zoom-shell__viewport .react-transform-component {
2453
+ width: 100% !important;
2454
+ height: 100% !important;
2455
+ }
2456
+
2457
+ .diagram-zoom-shell--fill {
2458
+ display: flex;
2459
+ flex-direction: column;
2460
+ min-height: 0;
2461
+ height: 100%;
2462
+ }
2463
+
2464
+ .diagram-zoom-shell--fill .diagram-zoom-shell__viewport {
2465
+ flex: 1 1 0;
2466
+ min-height: 0;
2467
+ height: 100%;
2468
+ overflow: hidden;
2469
+ touch-action: none;
2470
+ cursor: grab;
2471
+ }
2472
+
2473
+ .diagram-zoom-shell--fill .diagram-zoom-shell__viewport:active {
2474
+ cursor: grabbing;
2475
+ }
2476
+
2477
+ .diagram-zoom-shell--fill > .diagram-zoom-shell__viewport .react-transform-wrapper {
2478
+ width: 100%;
2479
+ height: 100%;
2480
+ }
2481
+
2482
+ .diagram-zoom-shell__viewport {
2483
+ position: relative;
2484
+ width: 100%;
2485
+ }
2486
+
2487
+ .diagram-zoom-shell__toolbar {
2488
+ position: absolute;
2489
+ top: 0.5rem;
2490
+ right: 0.5rem;
2491
+ z-index: 10;
2492
+ display: inline-flex;
2493
+ align-items: center;
2494
+ gap: 0.25rem;
2495
+ padding: 0.15rem 0.35rem;
2496
+ border-radius: 6px;
2497
+ border: 1px solid var(--lax-border-color, rgba(0, 0, 0, 0.12));
2498
+ background: color-mix(in srgb, var(--lax-card-bg, #fff) 95%, transparent);
2499
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
2500
+ }
2501
+
2502
+ .diagram-zoom-shell__btn {
2503
+ display: inline-flex;
2504
+ align-items: center;
2505
+ justify-content: center;
2506
+ width: 1.75rem;
2507
+ height: 1.75rem;
2508
+ border: 1px solid var(--lax-border-color, rgba(0, 0, 0, 0.12));
2509
+ border-radius: 4px;
2510
+ background: var(--lax-card-bg, #fff);
2511
+ font-size: 0.875rem;
2512
+ line-height: 1;
2513
+ cursor: pointer;
2514
+ color: var(--lax-foreground, #333);
2515
+ }
2516
+
2517
+ .diagram-zoom-shell__btn:hover {
2518
+ background: rgba(0, 0, 0, 0.05);
2519
+ }
2520
+
2521
+ .diagram-zoom-shell__zoom {
2522
+ min-width: 3rem;
2523
+ text-align: center;
2524
+ font-size: 0.75rem;
2525
+ font-variant-numeric: tabular-nums;
2526
+ color: var(--lax-muted, #666);
2527
+ }
2528
+
2529
+ .diagram-zoom-inline {
2530
+ position: relative;
2531
+ overflow: auto;
2532
+ }
2533
+
2534
+ .diagram-zoom-fs-overlay {
2535
+ position: fixed;
2536
+ inset: 0;
2537
+ z-index: 9999;
2538
+ box-sizing: border-box;
2539
+ width: 100vw;
2540
+ height: 100vh;
2541
+ height: 100dvh;
2542
+ padding: 24px;
2543
+ background: rgba(0, 0, 0, 0.9);
2544
+ display: flex;
2545
+ align-items: stretch;
2546
+ justify-content: center;
2547
+ }
2548
+
2549
+ .diagram-zoom-fs-panel {
2550
+ position: relative;
2551
+ box-sizing: border-box;
2552
+ width: 100%;
2553
+ height: 100%;
2554
+ max-width: 100%;
2555
+ display: flex;
2556
+ flex-direction: column;
2557
+ overflow: hidden;
2558
+ border-radius: 8px;
2559
+ background: var(--lax-card-bg, #fff);
2560
+ border: 1px solid var(--lax-border-color, rgba(255, 255, 255, 0.12));
2561
+ }
2562
+
2563
+ .diagram-zoom-fs-header {
2564
+ position: absolute;
2565
+ top: 0;
2566
+ left: 0;
2567
+ right: 0;
2568
+ z-index: 20;
2569
+ display: flex;
2570
+ align-items: center;
2571
+ justify-content: space-between;
2572
+ gap: 0.75rem;
2573
+ padding: 0.65rem 1rem;
2574
+ border-bottom: 1px solid var(--lax-border-color, rgba(0, 0, 0, 0.1));
2575
+ background: color-mix(in srgb, var(--lax-card-bg, #fff) 94%, transparent);
2576
+ backdrop-filter: blur(6px);
2577
+ }
2578
+
2579
+ .diagram-zoom-fs-title {
2580
+ font-size: 0.875rem;
2581
+ font-weight: 600;
2582
+ }
2583
+
2584
+ .diagram-zoom-fs-stage {
2585
+ flex: 1 1 0;
2586
+ min-height: 0;
2587
+ width: 100%;
2588
+ height: 100%;
2589
+ padding-top: 2.75rem;
2590
+ box-sizing: border-box;
2591
+ }
2592
+
2593
+ .diagram-zoom-fs-stage .diagram-zoom-shell {
2594
+ height: 100%;
2595
+ }
2596
+
2597
+ .lax-diagram-canvas-wrap .diagram-zoom-inline {
2598
+ border: none;
2599
+ background: transparent;
2600
+ }