@astra-spec/ui 0.0.4 → 0.0.5
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/TOKENS.md +14 -8
- package/dist/blocks/findings-list.d.ts.map +1 -1
- package/dist/blocks/findings-list.js +2 -1
- package/dist/blocks/findings-list.js.map +1 -1
- package/dist/blocks/section.d.ts.map +1 -1
- package/dist/blocks/section.js +3 -2
- package/dist/blocks/section.js.map +1 -1
- package/dist/components/insight-trigger.d.ts.map +1 -1
- package/dist/components/insight-trigger.js +3 -2
- package/dist/components/insight-trigger.js.map +1 -1
- package/dist/components/paper-detail.d.ts.map +1 -1
- package/dist/components/paper-detail.js +2 -2
- package/dist/components/paper-detail.js.map +1 -1
- package/dist/components/record-preview.d.ts.map +1 -1
- package/dist/components/record-preview.js +8 -7
- package/dist/components/record-preview.js.map +1 -1
- package/dist/model/kind.d.ts +1 -1
- package/dist/model/kind.d.ts.map +1 -1
- package/dist/model/kind.js +3 -3
- package/dist/model/kind.js.map +1 -1
- package/dist/primitives/index.d.ts +4 -0
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +2 -0
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/inline-reference.d.ts +9 -0
- package/dist/primitives/inline-reference.d.ts.map +1 -0
- package/dist/primitives/inline-reference.js +14 -0
- package/dist/primitives/inline-reference.js.map +1 -0
- package/dist/primitives/kind-glyph.d.ts +8 -0
- package/dist/primitives/kind-glyph.d.ts.map +1 -0
- package/dist/primitives/kind-glyph.js +9 -0
- package/dist/primitives/kind-glyph.js.map +1 -0
- package/dist/primitives/preview-popover.d.ts +1 -1
- package/dist/primitives/preview-popover.d.ts.map +1 -1
- package/dist/primitives/record-list.d.ts.map +1 -1
- package/dist/primitives/record-list.js +3 -2
- package/dist/primitives/record-list.js.map +1 -1
- package/dist/primitives/relation-list.d.ts.map +1 -1
- package/dist/primitives/relation-list.js +3 -2
- package/dist/primitives/relation-list.js.map +1 -1
- package/isolate.css +7 -0
- package/package.json +5 -3
- package/primitives.css +2 -0
- package/src/blocks/findings-list.tsx +2 -1
- package/src/blocks/section.tsx +3 -2
- package/src/components/insight-trigger.tsx +3 -2
- package/src/components/paper-detail.tsx +2 -2
- package/src/components/record-preview.tsx +8 -14
- package/src/model/kind.ts +3 -3
- package/src/primitives/index.ts +4 -0
- package/src/primitives/inline-reference.tsx +25 -0
- package/src/primitives/kind-glyph.tsx +24 -0
- package/src/primitives/preview-popover.tsx +1 -1
- package/src/primitives/record-list.tsx +3 -4
- package/src/primitives/relation-list.tsx +4 -7
- package/styles/blocks/analysis-tree.css +4 -4
- package/styles/blocks/decisions-list.css +6 -6
- package/styles/blocks/outputs-list.css +34 -34
- package/styles/blocks/papers-list.css +12 -12
- package/styles/blocks/records.css +13 -13
- package/styles/components/artifact-preview.css +15 -15
- package/styles/components/decision-detail.css +23 -23
- package/styles/components/evidence.css +2 -7
- package/styles/components/finding-detail.css +11 -11
- package/styles/components/input-detail.css +7 -7
- package/styles/components/insight-detail.css +17 -17
- package/styles/components/insight-list.css +6 -6
- package/styles/components/insight-trigger.css +5 -5
- package/styles/components/output-detail.css +51 -51
- package/styles/components/paper-detail.css +22 -22
- package/styles/components/paper-doi.css +2 -2
- package/styles/components/paper-pdf-viewer.css +6 -6
- package/styles/components/record-preview.css +444 -268
- package/styles/primitives/badge.css +1 -1
- package/styles/primitives/button.css +25 -25
- package/styles/primitives/count-heading.css +3 -3
- package/styles/primitives/detail-layout.css +20 -20
- package/styles/primitives/dialog.css +77 -77
- package/styles/primitives/empty-state.css +1 -1
- package/styles/primitives/inline-reference.css +37 -0
- package/styles/primitives/kind-glyph.css +31 -0
- package/styles/primitives/kind.css +6 -0
- package/styles/primitives/preview-popover.css +6 -11
- package/styles/primitives/prose.css +1 -1
- package/styles/primitives/record-list.css +32 -48
- package/styles/primitives/relation-list.css +14 -36
- package/styles/primitives/surface-header.css +15 -11
- package/styles/tokens.css +19 -9
- package/styles/views/inventory.css +25 -27
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
3
|
@layer astra.components {
|
|
4
4
|
:where(.astra-ui) .astra-finding-detail__notes h4 {
|
|
5
|
-
margin: 0 0
|
|
5
|
+
margin: 0 0 8.8px;
|
|
6
6
|
color: var(--astra-color-text);
|
|
7
7
|
font-family: var(--astra-font-ui);
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
|
|
@@ -18,30 +18,30 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-finding-detail__notes {
|
|
21
|
-
padding-block:
|
|
21
|
+
padding-block: 14px;
|
|
22
22
|
border-block-start: 1px solid var(--astra-color-border);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-finding-detail__notes h4 {
|
|
26
26
|
color: var(--astra-color-text);
|
|
27
|
-
font: 700
|
|
27
|
+
font: 700 var(--astra-font-size-sm)/1.25 var(--astra-font-ui);
|
|
28
28
|
letter-spacing: 0;
|
|
29
29
|
text-transform: none;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-finding-detail__notes > div {
|
|
33
33
|
color: var(--astra-color-text-muted);
|
|
34
|
-
font: 400
|
|
34
|
+
font: 400 13.5px/1.55 var(--astra-font-body);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
:where(.astra-ui) .astra-finding-detail__notes {
|
|
38
|
-
margin-top:
|
|
38
|
+
margin-top: 26px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:where(.astra-ui) .astra-finding-detail__notes h4 {
|
|
42
|
-
margin: 0 0
|
|
42
|
+
margin: 0 0 8px;
|
|
43
43
|
color: var(--astra-color-text);
|
|
44
|
-
font: 700
|
|
44
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
:where(.astra-ui) .astra-finding-detail__notes:first-child {
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:where(.astra-ui) .astra-finding-detail__results {
|
|
52
|
-
margin-top:
|
|
52
|
+
margin-top: 26px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
:where(.astra-ui) .astra-finding-detail__notes > div {
|
|
56
|
-
font-size:
|
|
56
|
+
font-size: 16px;
|
|
57
57
|
line-height: 1.6;
|
|
58
|
-
font:
|
|
58
|
+
font: var(--astra-font-size)/1.55 var(--astra-font-body);
|
|
59
59
|
color: var(--astra-color-text-muted);
|
|
60
60
|
font-family: var(--astra-font-body);
|
|
61
61
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
3
|
@layer astra.components {
|
|
4
4
|
:where(.astra-ui) .astra-input-source h4 {
|
|
5
|
-
margin: 0 0
|
|
5
|
+
margin: 0 0 8.8px;
|
|
6
6
|
color: var(--astra-color-text);
|
|
7
7
|
font-family: var(--astra-font-ui);
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-input-source {
|
|
12
|
-
padding-block:
|
|
12
|
+
padding-block: 14px;
|
|
13
13
|
border-block-start: 1px solid var(--astra-color-border);
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:where(.astra-ui) .astra-input-source {
|
|
31
|
-
margin-top:
|
|
31
|
+
margin-top: 26px;
|
|
32
32
|
border-top: 0;
|
|
33
33
|
padding-top: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:where(.astra-ui) .astra-input-source h4 {
|
|
37
|
-
margin: 0 0
|
|
37
|
+
margin: 0 0 8px;
|
|
38
38
|
color: var(--astra-color-text);
|
|
39
39
|
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
40
40
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
border-radius: 999px;
|
|
51
51
|
background: var(--astra-color-canvas);
|
|
52
52
|
color: var(--astra-color-link);
|
|
53
|
-
padding:
|
|
53
|
+
padding: 9px 16px;
|
|
54
54
|
font: var(--astra-font-size-2xs)/1.6 var(--astra-font-mono);
|
|
55
55
|
text-align: left;
|
|
56
56
|
text-decoration: none;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
:where(.astra-ui) .astra-dialog:where([data-kind="input"]) .astra-input-source code::-webkit-scrollbar {
|
|
78
|
-
height:
|
|
78
|
+
height: 6px;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
:where(.astra-ui) .astra-dialog:where([data-kind="input"]) .astra-input-source code::-webkit-scrollbar-thumb {
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
:where(.astra-ui) .astra-insight-detail__paper,
|
|
6
6
|
:where(.astra-ui) .astra-insight-detail__source-quote,
|
|
7
7
|
:where(.astra-ui) .astra-insight-detail__notes {
|
|
8
|
-
margin:
|
|
8
|
+
margin: 26px 0 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* FindingDetail still labels its passage; the insight popup renders the
|
|
12
12
|
quote alone. */
|
|
13
13
|
:where(.astra-ui) .astra-insight-detail__source-quote h4 {
|
|
14
|
-
margin: 0 0
|
|
14
|
+
margin: 0 0 8px;
|
|
15
15
|
color: var(--astra-color-text);
|
|
16
|
-
font: 700
|
|
16
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* The passage reads as a quotation, not a boxed section: a hanging
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
margin: 0;
|
|
24
24
|
color: var(--astra-color-text-muted);
|
|
25
|
-
padding: 0 0 0
|
|
26
|
-
font: italic
|
|
25
|
+
padding: 0 0 0 30px;
|
|
26
|
+
font: italic var(--astra-font-size)/1.6 var(--astra-font-body);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
:where(.astra-ui) .astra-insight-detail__source-quote blockquote::before {
|
|
30
30
|
content: '\201C';
|
|
31
31
|
position: absolute;
|
|
32
|
-
top: -
|
|
32
|
+
top: -4.8px;
|
|
33
33
|
left: 0;
|
|
34
34
|
color: var(--astra-color-kind-insight);
|
|
35
|
-
font: 700
|
|
35
|
+
font: 700 34px/1 var(--astra-font-body);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:where(.astra-ui) .astra-insight-detail__source-quote blockquote > :first-child {
|
|
@@ -45,28 +45,28 @@
|
|
|
45
45
|
|
|
46
46
|
:where(.astra-ui) .astra-insight-detail__source-quote figcaption {
|
|
47
47
|
margin: 0;
|
|
48
|
-
padding-left:
|
|
48
|
+
padding-left: 30px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:where(.astra-ui) .astra-insight-detail__open-source {
|
|
52
52
|
display: inline-flex;
|
|
53
|
-
gap:
|
|
53
|
+
gap: 7.2px;
|
|
54
54
|
align-items: center;
|
|
55
|
-
min-height:
|
|
56
|
-
margin-top:
|
|
55
|
+
min-height: 32px;
|
|
56
|
+
margin-top: 11px;
|
|
57
57
|
cursor: pointer;
|
|
58
58
|
border: 1px solid var(--astra-color-border-strong);
|
|
59
59
|
border-radius: var(--astra-radius-control);
|
|
60
60
|
background: var(--astra-color-surface-raised);
|
|
61
61
|
color: var(--astra-color-accent);
|
|
62
|
-
padding:
|
|
63
|
-
font: 650
|
|
62
|
+
padding: 6px 10px;
|
|
63
|
+
font: 650 var(--astra-font-size-sm)/1 var(--astra-font-ui);
|
|
64
64
|
text-decoration: none;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* Standing alone (no quote to caption), the action keeps section rhythm. */
|
|
68
68
|
:where(.astra-ui) .astra-detail__main > .astra-insight-detail__open-source {
|
|
69
|
-
margin-top:
|
|
69
|
+
margin-top: 26px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
:where(.astra-ui) .astra-insight-detail__open-source:hover {
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
:where(.astra-ui) .astra-insight-detail__notes h4 {
|
|
83
|
-
margin: 0 0
|
|
83
|
+
margin: 0 0 8px;
|
|
84
84
|
color: var(--astra-color-text);
|
|
85
|
-
font: 700
|
|
85
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:where(.astra-ui) .astra-insight-detail__notes > div {
|
|
89
89
|
color: var(--astra-color-text-muted);
|
|
90
|
-
font:
|
|
90
|
+
font: var(--astra-font-size)/1.55 var(--astra-font-body);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
:where(.astra-ui) .astra-insight-detail__notes > div > :first-child {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
3
|
@layer astra.components {
|
|
4
4
|
:where(.astra-ui) .astra-insight-list h4 {
|
|
5
|
-
margin: 0 0
|
|
5
|
+
margin: 0 0 8.8px;
|
|
6
6
|
color: var(--astra-color-text);
|
|
7
7
|
font-family: var(--astra-font-ui);
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:where(.astra-ui) .astra-detail__main > .astra-insight-list:first-child {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-insight-list {
|
|
21
|
-
padding-block:
|
|
21
|
+
padding-block: 14px;
|
|
22
22
|
border-block-start: 1px solid var(--astra-color-border);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:where(.astra-ui) .astra-insight-list {
|
|
33
|
-
margin-top:
|
|
33
|
+
margin-top: 26px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:where(.astra-ui) .astra-insight-list h4 {
|
|
37
|
-
margin: 0 0
|
|
37
|
+
margin: 0 0 8px;
|
|
38
38
|
color: var(--astra-color-text);
|
|
39
39
|
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
:where(.astra-ui) .astra-paper-detail__rail .astra-insight-list {
|
|
43
|
-
margin-top:
|
|
43
|
+
margin-top: 22px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
:where(.astra-ui) .astra-insight-trigger:focus-visible {
|
|
16
|
-
border-radius:
|
|
16
|
+
border-radius: 2.88px;
|
|
17
17
|
outline: 2px solid var(--astra-color-accent);
|
|
18
18
|
outline-offset: 2px;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
:where(.astra-ui) .astra-insight-trigger:where([data-variant="claim"]) {
|
|
22
22
|
display: grid;
|
|
23
23
|
grid-template-columns: auto minmax(0, 1fr);
|
|
24
|
-
gap:
|
|
24
|
+
gap: 8.8px;
|
|
25
25
|
align-items: start;
|
|
26
26
|
color: var(--astra-color-text-muted);
|
|
27
27
|
}
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:where(.astra-ui) .astra-insight-trigger:where([data-variant="claim"]) {
|
|
42
|
-
grid-template-columns:
|
|
43
|
-
padding:
|
|
42
|
+
grid-template-columns: 22px minmax(0, 1fr);
|
|
43
|
+
padding: 10px 4px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:where(.astra-ui) .astra-insight-trigger__claim {
|
|
47
47
|
color: var(--astra-color-text);
|
|
48
|
-
font: 400
|
|
48
|
+
font: 400 var(--astra-font-size)/1.4 var(--astra-font-ui);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
display: grid;
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: auto;
|
|
8
|
-
max-height: min(
|
|
8
|
+
max-height: min(704px, calc(100vh - 128px));
|
|
9
9
|
min-height: 0;
|
|
10
10
|
overflow: hidden;
|
|
11
|
-
grid-template-columns: minmax(0, 1fr) clamp(
|
|
11
|
+
grid-template-columns: minmax(0, 1fr) clamp(280px, 27%, 320px);
|
|
12
12
|
align-items: stretch;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
overflow-y: auto;
|
|
19
19
|
overscroll-behavior: contain;
|
|
20
20
|
scrollbar-gutter: stable;
|
|
21
|
-
padding: clamp(
|
|
21
|
+
padding: clamp(16px, 2.6vw, 32px);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
:where(.astra-ui) .astra-output-detail__fullscreen-header {
|
|
25
25
|
display: none;
|
|
26
|
-
min-height:
|
|
26
|
+
min-height: 36px;
|
|
27
27
|
align-items: center;
|
|
28
|
-
gap:
|
|
28
|
+
gap: 12px;
|
|
29
29
|
justify-content: space-between;
|
|
30
30
|
background: var(--astra-color-header);
|
|
31
|
-
padding:
|
|
31
|
+
padding: 5.6px 8px 5.6px 12px;
|
|
32
32
|
color: var(--astra-color-text-subtle);
|
|
33
33
|
font-family: var(--astra-font-ui);
|
|
34
34
|
font-size: var(--astra-font-size-2xs);
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
display: flex;
|
|
39
39
|
min-width: 0;
|
|
40
40
|
align-items: baseline;
|
|
41
|
-
gap:
|
|
41
|
+
gap: 9.6px;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:where(.astra-ui) .astra-output-detail__fullscreen-header button {
|
|
45
45
|
display: inline-flex;
|
|
46
|
-
min-height:
|
|
46
|
+
min-height: 24px;
|
|
47
47
|
align-items: center;
|
|
48
|
-
gap:
|
|
48
|
+
gap: 5.6px;
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
border: 1px solid var(--astra-color-border-strong);
|
|
51
51
|
border-radius: 0;
|
|
52
52
|
background: var(--astra-color-surface-raised);
|
|
53
53
|
color: var(--astra-color-accent);
|
|
54
|
-
padding:
|
|
54
|
+
padding: 2.88px 7.2px;
|
|
55
55
|
font: inherit;
|
|
56
56
|
font-size: var(--astra-font-size-xs);
|
|
57
57
|
}
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
margin: 0;
|
|
74
74
|
color: var(--astra-color-text-muted);
|
|
75
75
|
font-family: var(--astra-font-body);
|
|
76
|
-
font-size:
|
|
76
|
+
font-size: 16px;
|
|
77
77
|
line-height: 1.6;
|
|
78
78
|
white-space: normal;
|
|
79
79
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
cursor: pointer;
|
|
83
83
|
color: var(--astra-color-text);
|
|
84
84
|
font-family: var(--astra-font-ui);
|
|
85
|
-
font-size:
|
|
85
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
86
86
|
font-weight: 700;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -120,20 +120,20 @@
|
|
|
120
120
|
|
|
121
121
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__description-text {
|
|
122
122
|
color: var(--astra-color-text-muted);
|
|
123
|
-
font: 400
|
|
123
|
+
font: 400 13.5px/1.55 var(--astra-font-body);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__result {
|
|
127
127
|
display: block;
|
|
128
128
|
min-height: 0;
|
|
129
129
|
overflow: visible;
|
|
130
|
-
padding:
|
|
130
|
+
padding: 24px;
|
|
131
131
|
background: var(--astra-color-canvas);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__layout:where([data-layout="reader"]) {
|
|
135
|
-
grid-template-columns: minmax(0, 1fr) clamp(
|
|
136
|
-
min-height: max(
|
|
135
|
+
grid-template-columns: minmax(0, 1fr) clamp(280px, 27%, 320px);
|
|
136
|
+
min-height: max(512px, calc(100dvh - 208px));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__layout:where([data-layout="reader"]) .astra-output-detail__result {
|
|
@@ -145,14 +145,14 @@
|
|
|
145
145
|
|
|
146
146
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__layout:where([data-layout="reader"]) .astra-output-detail__preview {
|
|
147
147
|
width: 100%;
|
|
148
|
-
min-height:
|
|
148
|
+
min-height: 384px;
|
|
149
149
|
margin: 0;
|
|
150
150
|
border: 1px solid var(--astra-color-border);
|
|
151
151
|
background: var(--astra-color-surface-raised);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__preview[data-type="table"] {
|
|
155
|
-
--astra-table-preview-max-height: min(
|
|
155
|
+
--astra-table-preview-max-height: min(576px, 65dvh);
|
|
156
156
|
display: block;
|
|
157
157
|
width: 100%;
|
|
158
158
|
min-height: 0;
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
width: 100%;
|
|
172
172
|
max-width: none;
|
|
173
173
|
margin: 0;
|
|
174
|
-
padding:
|
|
174
|
+
padding: 20px 26px 32px;
|
|
175
175
|
border-block-start: 1px solid var(--astra-color-border);
|
|
176
176
|
background: var(--astra-color-canvas);
|
|
177
177
|
}
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
scrollbar-gutter: stable;
|
|
185
185
|
border-block-start: 0;
|
|
186
186
|
border-inline-start: 1px solid var(--astra-color-border);
|
|
187
|
-
padding:
|
|
187
|
+
padding: 18px 16px 24px;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__artifact[data-expanded] .astra-output-detail__preview,
|
|
@@ -198,16 +198,16 @@
|
|
|
198
198
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__layout:where([data-layout="single"]) .astra-output-detail__provenance {
|
|
199
199
|
position: static;
|
|
200
200
|
overflow: visible;
|
|
201
|
-
margin-top:
|
|
201
|
+
margin-top: 24px;
|
|
202
202
|
border-inline-start: 0;
|
|
203
203
|
background: transparent;
|
|
204
|
-
padding:
|
|
204
|
+
padding: 20px 0 0;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__description,
|
|
208
208
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__recipe {
|
|
209
209
|
margin: 0;
|
|
210
|
-
padding-block:
|
|
210
|
+
padding-block: 14px;
|
|
211
211
|
border-block-start: 1px solid var(--astra-color-border);
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -220,12 +220,12 @@
|
|
|
220
220
|
|
|
221
221
|
@media (max-width: 760px) {
|
|
222
222
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__result {
|
|
223
|
-
min-height:
|
|
224
|
-
padding:
|
|
223
|
+
min-height: 320px;
|
|
224
|
+
padding: 16px;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__preview {
|
|
228
|
-
min-height:
|
|
228
|
+
min-height: 272px;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__layout:where([data-layout="reader"]) {
|
|
@@ -245,14 +245,14 @@
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
}
|
|
248
|
-
@container (max-width:
|
|
248
|
+
@container (max-width: 760px) {
|
|
249
249
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__result {
|
|
250
|
-
min-height:
|
|
251
|
-
padding:
|
|
250
|
+
min-height: 320px;
|
|
251
|
+
padding: 16px;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__preview {
|
|
255
|
-
min-height:
|
|
255
|
+
min-height: 272px;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-output-detail__layout:where([data-layout="reader"]) {
|
|
@@ -289,14 +289,14 @@
|
|
|
289
289
|
|
|
290
290
|
:where(.astra-ui) .astra-output-detail__description h4,
|
|
291
291
|
:where(.astra-ui) .astra-output-detail__recipe h4 {
|
|
292
|
-
margin: 0 0
|
|
292
|
+
margin: 0 0 8px;
|
|
293
293
|
color: var(--astra-color-text);
|
|
294
294
|
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
:where(.astra-ui) .astra-output-detail__layout:where([data-layout="reader"]) {
|
|
298
298
|
display: grid;
|
|
299
|
-
grid-template-columns: minmax(0, 1fr) clamp(
|
|
299
|
+
grid-template-columns: minmax(0, 1fr) clamp(312px, 27%, 336px);
|
|
300
300
|
align-items: stretch;
|
|
301
301
|
}
|
|
302
302
|
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
place-items: center;
|
|
319
319
|
overflow: hidden;
|
|
320
320
|
background: var(--astra-color-canvas);
|
|
321
|
-
padding:
|
|
321
|
+
padding: 16px;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
:where(.astra-ui) .astra-output-detail__preview {
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
max-width: 100%;
|
|
359
359
|
max-height: 100%;
|
|
360
360
|
object-fit: contain;
|
|
361
|
-
padding:
|
|
361
|
+
padding: 12px;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
/* An image artifact fills the preview box as a column: the picture takes
|
|
@@ -417,13 +417,13 @@
|
|
|
417
417
|
scrollbar-gutter: stable;
|
|
418
418
|
border: 0;
|
|
419
419
|
background: var(--astra-color-canvas);
|
|
420
|
-
padding:
|
|
420
|
+
padding: 20px 18px 30px;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
/* Recipe closes the rail; give it the same gap the relation lists carry. */
|
|
424
424
|
:where(.astra-ui) .astra-output-detail__recipe {
|
|
425
|
-
margin:
|
|
426
|
-
padding: 0 0
|
|
425
|
+
margin: 26px 0 0;
|
|
426
|
+
padding: 0 0 2px;
|
|
427
427
|
border: 0;
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -432,10 +432,10 @@
|
|
|
432
432
|
margin: 0;
|
|
433
433
|
overflow: auto;
|
|
434
434
|
border: 1px solid var(--astra-color-border);
|
|
435
|
-
border-radius:
|
|
435
|
+
border-radius: 4px;
|
|
436
436
|
background: var(--astra-color-canvas);
|
|
437
437
|
color: var(--astra-color-text-muted);
|
|
438
|
-
padding:
|
|
438
|
+
padding: 10px;
|
|
439
439
|
white-space: pre-wrap;
|
|
440
440
|
word-break: break-word;
|
|
441
441
|
}
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
|
|
449
449
|
:where(.astra-ui) .astra-output-detail__layout:where([data-layout="single"]) .astra-output-detail__result {
|
|
450
450
|
overflow: visible;
|
|
451
|
-
padding:
|
|
451
|
+
padding: 24px 26px 30px;
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
|
|
@@ -461,13 +461,13 @@
|
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
:where(.astra-ui) .astra-output-detail__layout:where([data-layout="single"]) .astra-output-detail__description + * {
|
|
464
|
-
margin-top:
|
|
464
|
+
margin-top: 20px;
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
:where(.astra-ui) .astra-output-detail__layout:where([data-layout="single"]) .astra-output-detail__provenance {
|
|
468
468
|
position: static;
|
|
469
469
|
overflow: visible;
|
|
470
|
-
margin-top:
|
|
470
|
+
margin-top: 26px;
|
|
471
471
|
border: 0;
|
|
472
472
|
background: var(--astra-color-canvas);
|
|
473
473
|
padding: 0;
|
|
@@ -492,23 +492,23 @@
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
:where(.astra-ui) .astra-output-detail__artifact[data-expanded] .astra-output-detail__fullscreen-header {
|
|
495
|
-
padding-inline:
|
|
495
|
+
padding-inline: 16px;
|
|
496
496
|
display: flex;
|
|
497
497
|
box-sizing: border-box;
|
|
498
498
|
width: 100%;
|
|
499
|
-
min-height:
|
|
499
|
+
min-height: 52px;
|
|
500
500
|
align-items: center;
|
|
501
501
|
justify-content: space-between;
|
|
502
|
-
gap:
|
|
502
|
+
gap: 16px;
|
|
503
503
|
border-bottom: 1px solid var(--astra-color-border);
|
|
504
504
|
background: var(--astra-color-canvas);
|
|
505
|
-
padding:
|
|
505
|
+
padding: 9px 14px;
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
:where(.astra-ui) .astra-output-detail__fullscreen-header > span {
|
|
509
509
|
display: grid;
|
|
510
510
|
min-width: 0;
|
|
511
|
-
gap:
|
|
511
|
+
gap: 2px;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
:where(.astra-ui) .astra-output-detail__fullscreen-header small {
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
min-width: 0;
|
|
523
523
|
overflow: hidden;
|
|
524
524
|
color: var(--astra-color-text);
|
|
525
|
-
font: 700
|
|
525
|
+
font: 700 16px/1.2 var(--astra-font-ui);
|
|
526
526
|
text-overflow: ellipsis;
|
|
527
527
|
white-space: nowrap;
|
|
528
528
|
}
|
|
@@ -543,10 +543,10 @@
|
|
|
543
543
|
height: 100%;
|
|
544
544
|
max-height: none;
|
|
545
545
|
object-fit: contain;
|
|
546
|
-
padding: clamp(
|
|
546
|
+
padding: clamp(16px, 3vw, 40px);
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
-
@media (max-width:
|
|
549
|
+
@media (max-width: 760px) {
|
|
550
550
|
:where(.astra-ui) .astra-output-detail__layout:where([data-layout="reader"]) {
|
|
551
551
|
display: block;
|
|
552
552
|
height: auto;
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
:where(.astra-ui) .astra-output-detail__artifact {
|
|
562
|
-
min-height:
|
|
562
|
+
min-height: 320px;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
:where(.astra-ui) .astra-output-detail__provenance {
|