@echothink-ui/documents 0.1.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.
package/dist/index.css ADDED
@@ -0,0 +1,819 @@
1
+ @import "@echothink-ui/core/styles.css";
2
+
3
+ /* src/styles.css */
4
+ .eth-doc-editor-shell {
5
+ --eth-doc-editor-shell-padding: var(--eth-space-lg);
6
+ --eth-doc-editor-shell-page-padding: var(--eth-space-2xl);
7
+ --eth-doc-editor-shell-min-block: 32rem;
8
+ background: var(--eth-color-layer-01);
9
+ border: 1px solid var(--eth-color-border-subtle);
10
+ color: var(--eth-color-text-primary);
11
+ display: grid;
12
+ font-family:
13
+ var(--eth-font-family),
14
+ "IBM Plex Sans",
15
+ sans-serif;
16
+ inline-size: 100%;
17
+ min-inline-size: 0;
18
+ overflow: hidden;
19
+ }
20
+ .eth-doc-editor-shell--compact {
21
+ --eth-doc-editor-shell-padding: var(--eth-space-md);
22
+ --eth-doc-editor-shell-page-padding: var(--eth-space-xl);
23
+ --eth-doc-editor-shell-min-block: 28rem;
24
+ }
25
+ .eth-doc-editor-shell--comfortable {
26
+ --eth-doc-editor-shell-padding: var(--eth-space-xl);
27
+ --eth-doc-editor-shell-page-padding: var(--eth-space-3xl);
28
+ --eth-doc-editor-shell-min-block: 36rem;
29
+ }
30
+ .eth-doc-editor-shell__bar {
31
+ align-items: flex-start;
32
+ background: var(--eth-color-layer-01);
33
+ border-block-end: 1px solid var(--eth-color-border-subtle);
34
+ display: flex;
35
+ gap: var(--eth-space-lg);
36
+ justify-content: space-between;
37
+ min-inline-size: 0;
38
+ padding: var(--eth-space-lg);
39
+ }
40
+ .eth-doc-editor-shell__title {
41
+ min-inline-size: 0;
42
+ }
43
+ .eth-doc-editor-shell__title h2 {
44
+ color: var(--eth-color-text-primary);
45
+ font-size: calc(1.75rem * var(--eth-text-scale, 1));
46
+ font-weight: 400;
47
+ letter-spacing: 0;
48
+ line-height: 1.25;
49
+ margin: 0;
50
+ overflow-wrap: anywhere;
51
+ }
52
+ .eth-doc-editor-shell__status {
53
+ align-items: center;
54
+ display: flex;
55
+ flex: 0 0 auto;
56
+ flex-wrap: wrap;
57
+ gap: var(--eth-space-sm);
58
+ justify-content: flex-end;
59
+ max-inline-size: 100%;
60
+ }
61
+ .eth-doc-lock-badge {
62
+ --eth-doc-lock-badge-block-size: 1.5rem;
63
+ display: inline-flex;
64
+ max-inline-size: 100%;
65
+ min-inline-size: 0;
66
+ vertical-align: middle;
67
+ }
68
+ .eth-doc-lock-badge--comfortable {
69
+ --eth-doc-lock-badge-block-size: 1.75rem;
70
+ }
71
+ .eth-doc-lock-badge__tag {
72
+ block-size: var(--eth-doc-lock-badge-block-size);
73
+ margin: 0;
74
+ max-inline-size: 100%;
75
+ }
76
+ .eth-doc-lock-badge__tag .cds--tag__label {
77
+ align-items: center;
78
+ display: inline-flex;
79
+ max-inline-size: min(20rem, 100%);
80
+ min-inline-size: 0;
81
+ }
82
+ .eth-doc-lock-badge__content {
83
+ align-items: center;
84
+ display: inline-flex;
85
+ gap: var(--eth-space-xs);
86
+ max-inline-size: 100%;
87
+ min-inline-size: 0;
88
+ }
89
+ .eth-doc-lock-badge__icon {
90
+ block-size: 0.75rem;
91
+ flex: 0 0 auto;
92
+ inline-size: 0.75rem;
93
+ }
94
+ .eth-doc-lock-badge__label,
95
+ .eth-doc-lock-badge__detail {
96
+ min-inline-size: 0;
97
+ overflow: hidden;
98
+ text-overflow: ellipsis;
99
+ white-space: nowrap;
100
+ }
101
+ .eth-doc-lock-badge__label {
102
+ font-weight: 600;
103
+ }
104
+ .eth-doc-lock-badge__detail {
105
+ color: color-mix(in srgb, currentColor 72%, var(--eth-color-text-secondary));
106
+ font-weight: 400;
107
+ }
108
+ .eth-doc-lock-badge__tag--locked-by-agent {
109
+ background-color: var(--eth-color-warning, #fcf4d6);
110
+ color: #684e00;
111
+ }
112
+ .eth-doc-editor-shell__toolbar {
113
+ background: var(--eth-color-layer-02);
114
+ border-block-end: 1px solid var(--eth-color-border-subtle);
115
+ inline-size: 100%;
116
+ min-inline-size: 0;
117
+ overflow-x: auto;
118
+ }
119
+ .eth-doc-toolbar {
120
+ align-items: center;
121
+ background: var(--eth-color-layer-01);
122
+ border: 1px solid var(--eth-color-border-subtle);
123
+ display: flex;
124
+ flex-wrap: wrap;
125
+ gap: 0;
126
+ inline-size: 100%;
127
+ min-block-size: 3rem;
128
+ min-inline-size: 0;
129
+ padding-inline: var(--eth-space-xs);
130
+ }
131
+ .eth-doc-toolbar:empty {
132
+ display: none;
133
+ }
134
+ .eth-doc-toolbar__group {
135
+ align-items: center;
136
+ display: flex;
137
+ flex: 0 1 auto;
138
+ flex-wrap: wrap;
139
+ gap: var(--eth-space-xs);
140
+ min-block-size: 3rem;
141
+ min-inline-size: 0;
142
+ padding: var(--eth-space-sm) var(--eth-space-sm);
143
+ }
144
+ .eth-doc-toolbar__group + .eth-doc-toolbar__group {
145
+ border-inline-start: 1px solid var(--eth-color-border-subtle);
146
+ }
147
+ .eth-doc-toolbar__group--actions {
148
+ justify-content: flex-end;
149
+ margin-inline-start: auto;
150
+ }
151
+ .eth-doc-toolbar__group--mode {
152
+ gap: 0;
153
+ }
154
+ .eth-doc-toolbar__group--mode .eth-doc-toolbar__mode-button + .eth-doc-toolbar__mode-button {
155
+ margin-inline-start: -1px;
156
+ }
157
+ .eth-doc-toolbar__mode-button.eth-button {
158
+ min-inline-size: 4.5rem;
159
+ }
160
+ .eth-doc-toolbar__action.eth-button {
161
+ min-inline-size: max-content;
162
+ }
163
+ .eth-doc-toolbar__action .eth-button__icon,
164
+ .eth-doc-toolbar__action-icon,
165
+ .eth-doc-toolbar__icon-link .eth-button__icon {
166
+ align-items: center;
167
+ display: inline-flex;
168
+ flex: 0 0 auto;
169
+ justify-content: center;
170
+ }
171
+ .eth-doc-toolbar__action-icon {
172
+ margin-inline-end: var(--eth-space-sm);
173
+ }
174
+ .eth-doc-toolbar__format-symbol {
175
+ align-items: center;
176
+ color: currentcolor;
177
+ display: inline-flex;
178
+ font-family: var(--eth-font-family);
179
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
180
+ font-style: normal;
181
+ font-weight: 600;
182
+ inline-size: 1rem;
183
+ justify-content: center;
184
+ line-height: 1;
185
+ }
186
+ .eth-doc-toolbar__format-symbol--underline {
187
+ text-decoration: underline;
188
+ text-underline-offset: 0.125rem;
189
+ }
190
+ .eth-doc-toolbar__format-symbol--strike {
191
+ text-decoration: line-through;
192
+ }
193
+ .eth-doc-toolbar__icon-link {
194
+ align-items: center;
195
+ block-size: 2.5rem;
196
+ color: var(--eth-color-link);
197
+ display: inline-flex;
198
+ inline-size: 2.5rem;
199
+ justify-content: center;
200
+ min-inline-size: 2.5rem;
201
+ padding: 0;
202
+ text-decoration: none;
203
+ }
204
+ .eth-doc-toolbar__icon-link:hover {
205
+ background: var(--eth-color-layer-hover);
206
+ }
207
+ .eth-doc-toolbar__link--disabled {
208
+ color: var(--eth-color-text-helper);
209
+ cursor: not-allowed;
210
+ opacity: 0.55;
211
+ pointer-events: none;
212
+ }
213
+ @media (width <= 42rem) {
214
+ .eth-doc-toolbar {
215
+ align-items: stretch;
216
+ padding-inline: 0;
217
+ }
218
+ .eth-doc-toolbar__group,
219
+ .eth-doc-toolbar__group--actions {
220
+ inline-size: 100%;
221
+ justify-content: flex-start;
222
+ margin-inline-start: 0;
223
+ }
224
+ .eth-doc-toolbar__group + .eth-doc-toolbar__group {
225
+ border-block-start: 1px solid var(--eth-color-border-subtle);
226
+ border-inline-start: 0;
227
+ }
228
+ .eth-doc-toolbar__group--actions .eth-doc-toolbar__action.eth-button {
229
+ flex: 1 1 9rem;
230
+ }
231
+ }
232
+ .eth-doc-editor-shell__grid {
233
+ align-items: start;
234
+ background: var(--eth-color-background);
235
+ display: grid;
236
+ gap: var(--eth-space-lg);
237
+ grid-template-columns: var(--eth-doc-editor-shell-grid-template, minmax(0, 1fr));
238
+ min-block-size: var(--eth-doc-editor-shell-min-block);
239
+ min-inline-size: 0;
240
+ padding: var(--eth-doc-editor-shell-padding);
241
+ }
242
+ .eth-doc-editor-shell__outline,
243
+ .eth-doc-editor-shell__editor,
244
+ .eth-doc-editor-shell__inspector {
245
+ min-inline-size: 0;
246
+ }
247
+ .eth-doc-editor-shell__editor {
248
+ background: var(--eth-color-layer-01);
249
+ border: 1px solid var(--eth-color-border-subtle);
250
+ min-block-size: calc(var(--eth-doc-editor-shell-min-block) - 2rem);
251
+ overflow: auto;
252
+ padding: var(--eth-doc-editor-shell-page-padding);
253
+ }
254
+ .eth-doc-editor-shell__editor :where(h1, h2, h3, p, ul, ol) {
255
+ max-inline-size: 46rem;
256
+ }
257
+ .eth-doc-editor-shell__editor :where(h1, h2, h3) {
258
+ color: var(--eth-color-text-primary);
259
+ font-weight: 400;
260
+ letter-spacing: 0;
261
+ margin-block: 0 var(--eth-space-md);
262
+ }
263
+ .eth-doc-editor-shell__editor :where(h1) {
264
+ font-size: calc(2.625rem * var(--eth-text-scale, 1));
265
+ line-height: 1.19;
266
+ }
267
+ .eth-doc-editor-shell__editor :where(h2) {
268
+ font-size: calc(1.75rem * var(--eth-text-scale, 1));
269
+ line-height: 1.2857;
270
+ margin-block-start: var(--eth-space-2xl);
271
+ }
272
+ .eth-doc-editor-shell__editor :where(h3) {
273
+ font-size: calc(1rem * var(--eth-text-scale, 1));
274
+ font-weight: 600;
275
+ line-height: 1.375;
276
+ margin-block-start: var(--eth-space-xl);
277
+ }
278
+ .eth-doc-editor-shell__editor :where(p, li) {
279
+ color: var(--eth-color-text-primary);
280
+ font-size: calc(1rem * var(--eth-text-scale, 1));
281
+ line-height: 1.5;
282
+ }
283
+ .eth-doc-editor-shell__editor :where(p) {
284
+ margin-block: 0 var(--eth-space-lg);
285
+ }
286
+ .eth-doc-editor-shell__inspector {
287
+ background: var(--eth-color-layer-01);
288
+ border: 1px solid var(--eth-color-border-subtle);
289
+ color: var(--eth-color-text-primary);
290
+ min-block-size: calc(var(--eth-doc-editor-shell-min-block) - 2rem);
291
+ }
292
+ .eth-doc-editor-shell__inspector-stack {
293
+ display: grid;
294
+ }
295
+ .eth-doc-editor-shell__inspector > :not(.eth-doc-editor-shell__inspector-stack) {
296
+ margin: 0;
297
+ padding: var(--eth-space-lg);
298
+ }
299
+ .eth-doc-editor-shell__inspector-stack > section {
300
+ border-block-end: 1px solid var(--eth-color-border-subtle);
301
+ display: grid;
302
+ gap: var(--eth-space-md);
303
+ padding: var(--eth-space-lg);
304
+ }
305
+ .eth-doc-editor-shell__inspector-stack > section:last-child {
306
+ border-block-end: 0;
307
+ }
308
+ .eth-doc-editor-shell__inspector :where(h3) {
309
+ color: var(--eth-color-text-primary);
310
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
311
+ font-weight: 600;
312
+ line-height: 1.4286;
313
+ margin: 0;
314
+ }
315
+ .eth-doc-editor-shell__inspector :where(p, li, dd, dt) {
316
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
317
+ line-height: 1.4286;
318
+ }
319
+ .eth-doc-editor-shell__inspector :where(p, ul, ol, dl) {
320
+ margin: 0;
321
+ }
322
+ .eth-doc-editor-shell__inspector :where(ul, ol) {
323
+ display: grid;
324
+ gap: var(--eth-space-sm);
325
+ padding-inline-start: var(--eth-space-lg);
326
+ }
327
+ .eth-doc-editor-shell__inspector :where(dl) {
328
+ display: grid;
329
+ gap: var(--eth-space-sm);
330
+ }
331
+ .eth-doc-editor-shell__inspector :where(dl > div) {
332
+ display: grid;
333
+ gap: var(--eth-space-2xs);
334
+ }
335
+ .eth-doc-editor-shell__inspector :where(dt) {
336
+ color: var(--eth-color-text-secondary);
337
+ }
338
+ .eth-doc-editor-shell__inspector :where(dd) {
339
+ color: var(--eth-color-text-primary);
340
+ font-weight: 600;
341
+ margin: 0;
342
+ }
343
+ .eth-doc-outline {
344
+ background: var(--eth-color-layer-01);
345
+ border: 1px solid var(--eth-color-border-subtle);
346
+ color: var(--eth-color-text-primary);
347
+ display: grid;
348
+ inline-size: 100%;
349
+ max-inline-size: 20rem;
350
+ min-inline-size: 14rem;
351
+ overflow: hidden;
352
+ }
353
+ .eth-doc-outline__header {
354
+ align-items: baseline;
355
+ background: var(--eth-color-layer-02);
356
+ border-block-end: 1px solid var(--eth-color-border-subtle);
357
+ display: flex;
358
+ gap: var(--eth-space-md);
359
+ justify-content: space-between;
360
+ min-inline-size: 0;
361
+ padding: var(--eth-space-md) var(--eth-space-lg);
362
+ }
363
+ .eth-doc-outline__label {
364
+ color: var(--eth-color-text-primary);
365
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
366
+ font-weight: 600;
367
+ line-height: 1.3333;
368
+ overflow: hidden;
369
+ text-overflow: ellipsis;
370
+ text-transform: uppercase;
371
+ white-space: nowrap;
372
+ }
373
+ .eth-doc-outline__count {
374
+ color: var(--eth-color-text-secondary);
375
+ flex: 0 0 auto;
376
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
377
+ line-height: 1.3333;
378
+ white-space: nowrap;
379
+ }
380
+ .eth-doc-outline__list {
381
+ display: grid;
382
+ list-style: none;
383
+ margin: 0;
384
+ min-inline-size: 0;
385
+ padding: var(--eth-space-xs) 0;
386
+ }
387
+ .eth-doc-outline__list .eth-doc-outline__list {
388
+ border-inline-start: 1px solid var(--eth-color-border-subtle);
389
+ margin-inline-start: var(--eth-space-lg);
390
+ padding-block: 0;
391
+ }
392
+ .eth-doc-outline__item {
393
+ min-inline-size: 0;
394
+ position: relative;
395
+ }
396
+ .eth-doc-outline__link {
397
+ align-items: center;
398
+ color: var(--eth-color-text-primary);
399
+ display: flex;
400
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
401
+ gap: var(--eth-space-sm);
402
+ line-height: 1.4286;
403
+ min-block-size: 2rem;
404
+ min-inline-size: 0;
405
+ padding: var(--eth-space-sm) var(--eth-space-lg);
406
+ position: relative;
407
+ text-decoration: none;
408
+ }
409
+ .eth-doc-outline__link:hover {
410
+ background: var(--eth-color-layer-hover);
411
+ color: var(--eth-color-text-primary);
412
+ }
413
+ .eth-doc-outline__link:focus-visible {
414
+ outline: 2px solid var(--eth-color-focus);
415
+ outline-offset: -2px;
416
+ }
417
+ .eth-doc-outline__text {
418
+ min-inline-size: 0;
419
+ overflow-wrap: anywhere;
420
+ }
421
+ .eth-doc-outline__item--level-1 > .eth-doc-outline__link {
422
+ font-weight: 600;
423
+ }
424
+ .eth-doc-outline__item--level-3 > .eth-doc-outline__link,
425
+ .eth-doc-outline__item--level-4 > .eth-doc-outline__link {
426
+ color: var(--eth-color-text-secondary);
427
+ font-size: calc(0.8125rem * var(--eth-text-scale, 1));
428
+ }
429
+ .eth-doc-outline__item--active > .eth-doc-outline__link {
430
+ background: var(--eth-color-layer-selected);
431
+ box-shadow: inset 3px 0 0 var(--eth-color-interactive-primary);
432
+ color: var(--eth-color-text-primary);
433
+ font-weight: 600;
434
+ }
435
+ .eth-doc-outline__item--active > .eth-doc-outline__link:hover {
436
+ background: var(--eth-color-layer-selected);
437
+ }
438
+ .eth-doc-outline__item--contains-active > .eth-doc-outline__link {
439
+ color: var(--eth-color-text-primary);
440
+ }
441
+ .eth-doc-outline__empty {
442
+ border: 1px dashed var(--eth-color-border-subtle);
443
+ color: var(--eth-color-text-secondary);
444
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
445
+ line-height: 1.4286;
446
+ margin: var(--eth-space-lg);
447
+ padding: var(--eth-space-lg);
448
+ }
449
+ .eth-doc-viewer {
450
+ background: var(--eth-color-layer-01);
451
+ border: 1px solid var(--eth-color-border-subtle);
452
+ color: var(--eth-color-text-primary);
453
+ display: grid;
454
+ inline-size: 100%;
455
+ min-inline-size: 0;
456
+ }
457
+ .eth-doc-viewer__header {
458
+ align-items: flex-start;
459
+ background: var(--eth-color-layer-02);
460
+ border-block-end: 1px solid var(--eth-color-border-subtle);
461
+ display: flex;
462
+ gap: var(--eth-space-lg);
463
+ justify-content: space-between;
464
+ padding: var(--eth-space-lg) var(--eth-space-xl);
465
+ }
466
+ .eth-doc-viewer__header h2 {
467
+ color: var(--eth-color-text-primary);
468
+ font-size: calc(1.25rem * var(--eth-text-scale, 1));
469
+ font-weight: 600;
470
+ letter-spacing: 0;
471
+ line-height: 1.4;
472
+ margin: 0;
473
+ overflow-wrap: anywhere;
474
+ }
475
+ .eth-doc-viewer__metadata.eth-meta-grid {
476
+ background: var(--eth-color-layer-01);
477
+ border: 0;
478
+ border-block-end: 1px solid var(--eth-color-border-subtle);
479
+ display: flex;
480
+ flex-wrap: wrap;
481
+ }
482
+ .eth-doc-viewer__metadata.eth-meta-grid div {
483
+ border-inline-end: 1px solid var(--eth-color-border-subtle);
484
+ flex: 0 1 13rem;
485
+ min-inline-size: 11rem;
486
+ padding: var(--eth-space-md) var(--eth-space-xl);
487
+ }
488
+ .eth-doc-viewer__metadata.eth-meta-grid dt {
489
+ color: var(--eth-color-text-secondary);
490
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
491
+ line-height: 1.3333;
492
+ }
493
+ .eth-doc-viewer__metadata.eth-meta-grid dd {
494
+ color: var(--eth-color-text-primary);
495
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
496
+ font-weight: 600;
497
+ line-height: 1.4286;
498
+ overflow-wrap: anywhere;
499
+ }
500
+ .eth-doc-viewer__body {
501
+ display: grid;
502
+ grid-template-columns: minmax(0, 1fr);
503
+ min-inline-size: 0;
504
+ }
505
+ .eth-doc-viewer--with-annotations .eth-doc-viewer__body {
506
+ grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
507
+ }
508
+ .eth-doc-viewer__content {
509
+ min-inline-size: 0;
510
+ padding: var(--eth-space-xl);
511
+ }
512
+ .eth-doc-viewer--with-annotations .eth-doc-viewer__content {
513
+ border-inline-end: 1px solid var(--eth-color-border-subtle);
514
+ }
515
+ .eth-doc-viewer__content > :first-child {
516
+ margin-block-start: 0;
517
+ }
518
+ .eth-doc-viewer__content > :last-child {
519
+ margin-block-end: 0;
520
+ }
521
+ .eth-doc-viewer__content :where(article) {
522
+ display: grid;
523
+ gap: var(--eth-space-xl);
524
+ max-inline-size: 50rem;
525
+ }
526
+ .eth-doc-viewer__content :where(section) {
527
+ display: grid;
528
+ gap: var(--eth-space-sm);
529
+ }
530
+ .eth-doc-viewer__content :where(h1, h2, h3, h4, p, ul, ol, blockquote, pre) {
531
+ margin: 0;
532
+ }
533
+ .eth-doc-viewer__content :where(h1) {
534
+ color: var(--eth-color-text-primary);
535
+ font-size: calc(1.75rem * var(--eth-text-scale, 1));
536
+ font-weight: 400;
537
+ letter-spacing: 0;
538
+ line-height: 1.2857;
539
+ }
540
+ .eth-doc-viewer__content :where(h2) {
541
+ color: var(--eth-color-text-primary);
542
+ font-size: calc(1rem * var(--eth-text-scale, 1));
543
+ font-weight: 600;
544
+ letter-spacing: 0;
545
+ line-height: 1.375;
546
+ }
547
+ .eth-doc-viewer__content :where(h3, h4) {
548
+ color: var(--eth-color-text-primary);
549
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
550
+ font-weight: 600;
551
+ letter-spacing: 0;
552
+ line-height: 1.4286;
553
+ }
554
+ .eth-doc-viewer__content :where(p, li) {
555
+ color: var(--eth-color-text-primary);
556
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
557
+ line-height: 1.5715;
558
+ }
559
+ .eth-doc-viewer__content :where(ul, ol) {
560
+ display: grid;
561
+ gap: var(--eth-space-xs);
562
+ padding-inline-start: var(--eth-space-xl);
563
+ }
564
+ .eth-doc-viewer__content :where(a) {
565
+ color: var(--eth-color-link);
566
+ text-decoration: underline;
567
+ text-underline-offset: 0.125rem;
568
+ }
569
+ .eth-doc-viewer__content :where(a:focus-visible) {
570
+ outline: 2px solid var(--eth-color-focus);
571
+ outline-offset: 2px;
572
+ }
573
+ .eth-doc-viewer__annotations {
574
+ background: var(--eth-color-layer-02);
575
+ min-inline-size: 0;
576
+ padding: var(--eth-space-lg);
577
+ }
578
+ .eth-doc-viewer__annotations h3 {
579
+ color: var(--eth-color-text-primary);
580
+ font-size: calc(1rem * var(--eth-text-scale, 1));
581
+ font-weight: 600;
582
+ letter-spacing: 0;
583
+ line-height: 1.375;
584
+ margin: 0 0 var(--eth-space-md);
585
+ }
586
+ .eth-doc-viewer__annotations ul {
587
+ display: grid;
588
+ gap: var(--eth-space-md);
589
+ list-style: none;
590
+ margin: 0;
591
+ padding: 0;
592
+ }
593
+ .eth-doc-viewer__annotation {
594
+ background: var(--eth-color-layer-01);
595
+ border: 1px solid var(--eth-color-border-subtle);
596
+ padding: var(--eth-space-md);
597
+ }
598
+ .eth-doc-viewer__annotation-header {
599
+ align-items: center;
600
+ display: flex;
601
+ flex-wrap: wrap;
602
+ gap: var(--eth-space-sm);
603
+ }
604
+ .eth-doc-viewer__annotation-header strong {
605
+ color: var(--eth-color-text-primary);
606
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
607
+ font-weight: 600;
608
+ line-height: 1.4286;
609
+ min-inline-size: 0;
610
+ }
611
+ .eth-doc-viewer__annotation-header .cds--tag {
612
+ margin: 0;
613
+ }
614
+ .eth-doc-viewer__annotation-header time {
615
+ color: var(--eth-color-text-secondary);
616
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
617
+ line-height: 1.3333;
618
+ margin-inline-start: auto;
619
+ white-space: nowrap;
620
+ }
621
+ .eth-doc-viewer__annotation p {
622
+ color: var(--eth-color-text-primary);
623
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
624
+ line-height: 1.4286;
625
+ margin: var(--eth-space-sm) 0 0;
626
+ }
627
+ .eth-doc-agent-lock-panel {
628
+ inline-size: 100%;
629
+ max-inline-size: 62rem;
630
+ }
631
+ .eth-doc-agent-lock-panel .eth-surface__subtitle {
632
+ max-inline-size: 48rem;
633
+ }
634
+ .eth-doc-agent-lock-panel .eth-meta-grid {
635
+ background: var(--eth-color-layer-02);
636
+ }
637
+ .eth-doc-agent-lock-panel .eth-meta-grid dd {
638
+ align-items: center;
639
+ display: flex;
640
+ gap: var(--eth-space-sm);
641
+ min-block-size: 1.5rem;
642
+ min-inline-size: 0;
643
+ }
644
+ .eth-doc-agent-lock-panel .eth-meta-grid .cds--tag {
645
+ margin: 0;
646
+ }
647
+ .eth-doc-agent-lock-panel__notice .cds--inline-notification {
648
+ inline-size: 100%;
649
+ margin: 0;
650
+ max-inline-size: none;
651
+ }
652
+ .eth-doc-agent-lock-panel__changes-section {
653
+ display: grid;
654
+ gap: var(--eth-space-md);
655
+ }
656
+ .eth-doc-agent-lock-panel__changes-header {
657
+ align-items: center;
658
+ display: flex;
659
+ gap: var(--eth-space-md);
660
+ justify-content: space-between;
661
+ }
662
+ .eth-doc-agent-lock-panel__changes-header h3 {
663
+ color: var(--eth-color-text-primary);
664
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
665
+ font-weight: 600;
666
+ line-height: 1.4286;
667
+ margin: 0;
668
+ }
669
+ .eth-doc-agent-lock-panel__count {
670
+ color: var(--eth-color-text-secondary);
671
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
672
+ line-height: 1.3333;
673
+ white-space: nowrap;
674
+ }
675
+ .eth-doc-agent-lock-panel__changes {
676
+ background: var(--eth-color-layer-02);
677
+ border: 1px solid var(--eth-color-border-subtle);
678
+ counter-reset: pending-change;
679
+ display: grid;
680
+ list-style: none;
681
+ margin: 0;
682
+ padding: 0;
683
+ }
684
+ .eth-doc-agent-lock-panel__change {
685
+ border-block-end: 1px solid var(--eth-color-border-subtle);
686
+ counter-increment: pending-change;
687
+ display: grid;
688
+ gap: var(--eth-space-md);
689
+ grid-template-columns: 1.5rem minmax(0, 1fr);
690
+ padding: var(--eth-space-md);
691
+ }
692
+ .eth-doc-agent-lock-panel__change:last-child {
693
+ border-block-end: 0;
694
+ }
695
+ .eth-doc-agent-lock-panel__change::before {
696
+ align-items: center;
697
+ background: var(--eth-color-layer-01);
698
+ block-size: 1.5rem;
699
+ border: 1px solid var(--eth-color-border-subtle);
700
+ color: var(--eth-color-text-secondary);
701
+ content: counter(pending-change);
702
+ display: inline-flex;
703
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
704
+ font-weight: 600;
705
+ inline-size: 1.5rem;
706
+ justify-content: center;
707
+ line-height: 1;
708
+ }
709
+ .eth-doc-agent-lock-panel__change-body {
710
+ display: grid;
711
+ gap: var(--eth-space-sm);
712
+ min-inline-size: 0;
713
+ }
714
+ .eth-doc-agent-lock-panel__summary {
715
+ color: var(--eth-color-text-primary);
716
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
717
+ font-weight: 600;
718
+ line-height: 1.4286;
719
+ overflow-wrap: anywhere;
720
+ }
721
+ .eth-doc-agent-lock-panel__diff {
722
+ background: var(--eth-color-layer-01);
723
+ border-inline-start: 3px solid var(--eth-color-border-strong);
724
+ color: var(--eth-color-text-secondary);
725
+ font-family: var(--eth-font-mono);
726
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
727
+ line-height: 1.3333;
728
+ margin: 0;
729
+ max-block-size: 12rem;
730
+ overflow: auto;
731
+ padding: var(--eth-space-sm) var(--eth-space-md);
732
+ white-space: pre-wrap;
733
+ }
734
+ .eth-doc-agent-lock-panel__empty {
735
+ border: 1px dashed var(--eth-color-border-subtle);
736
+ color: var(--eth-color-text-secondary);
737
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
738
+ line-height: 1.4286;
739
+ margin: 0;
740
+ padding: var(--eth-space-lg);
741
+ }
742
+ .eth-doc-agent-lock-panel__actions {
743
+ border-block-start: 1px solid var(--eth-color-border-subtle);
744
+ justify-content: flex-end;
745
+ padding-block-start: var(--eth-space-lg);
746
+ }
747
+ @media (width <= 42rem) {
748
+ .eth-doc-editor-shell__bar {
749
+ align-items: stretch;
750
+ flex-direction: column;
751
+ }
752
+ .eth-doc-editor-shell__status {
753
+ justify-content: flex-start;
754
+ }
755
+ .eth-doc-toolbar {
756
+ min-inline-size: 100%;
757
+ }
758
+ .eth-doc-toolbar__group,
759
+ .eth-doc-toolbar__group--mode {
760
+ border-inline: 0;
761
+ border-block-end: 1px solid var(--eth-color-border-subtle);
762
+ inline-size: 100%;
763
+ margin-inline-start: 0;
764
+ overflow-x: auto;
765
+ }
766
+ .eth-doc-toolbar__group:last-child {
767
+ border-block-end: 0;
768
+ }
769
+ .eth-doc-editor-shell__grid {
770
+ grid-template-columns: minmax(0, 1fr);
771
+ }
772
+ .eth-doc-editor-shell__editor,
773
+ .eth-doc-editor-shell__inspector {
774
+ min-block-size: auto;
775
+ }
776
+ .eth-doc-outline {
777
+ max-inline-size: none;
778
+ min-inline-size: 0;
779
+ }
780
+ .eth-doc-outline__header {
781
+ align-items: flex-start;
782
+ flex-direction: column;
783
+ gap: var(--eth-space-xs);
784
+ }
785
+ .eth-doc-viewer__header,
786
+ .eth-doc-viewer__content,
787
+ .eth-doc-viewer__annotations {
788
+ padding-inline: var(--eth-space-lg);
789
+ }
790
+ .eth-doc-viewer__metadata.eth-meta-grid div {
791
+ flex: 1 1 11rem;
792
+ padding-inline: var(--eth-space-lg);
793
+ }
794
+ .eth-doc-viewer--with-annotations .eth-doc-viewer__body {
795
+ grid-template-columns: minmax(0, 1fr);
796
+ }
797
+ .eth-doc-viewer--with-annotations .eth-doc-viewer__content {
798
+ border-block-end: 1px solid var(--eth-color-border-subtle);
799
+ border-inline-end: 0;
800
+ }
801
+ .eth-doc-viewer__annotation-header time {
802
+ margin-inline-start: 0;
803
+ white-space: normal;
804
+ }
805
+ .eth-doc-agent-lock-panel__changes-header {
806
+ align-items: flex-start;
807
+ flex-direction: column;
808
+ gap: var(--eth-space-xs);
809
+ }
810
+ .eth-doc-agent-lock-panel__actions {
811
+ align-items: stretch;
812
+ flex-direction: column;
813
+ justify-content: flex-start;
814
+ }
815
+ .eth-doc-agent-lock-panel__actions .eth-button {
816
+ inline-size: 100%;
817
+ }
818
+ }
819
+ /*# sourceMappingURL=index.css.map */