@astra-spec/ui 0.0.2 → 0.0.4
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/README.md +231 -20
- package/TOKENS.md +10 -3
- package/components.css +2 -0
- package/dist/blocks/decisions-list.d.ts +0 -1
- package/dist/blocks/decisions-list.d.ts.map +1 -1
- package/dist/blocks/decisions-list.js +1 -5
- package/dist/blocks/decisions-list.js.map +1 -1
- package/dist/blocks/index.d.ts +3 -3
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +2 -2
- package/dist/blocks/index.js.map +1 -1
- package/dist/blocks/inputs-list.js +1 -1
- package/dist/blocks/inputs-list.js.map +1 -1
- package/dist/blocks/outputs-list.d.ts +2 -2
- package/dist/blocks/outputs-list.d.ts.map +1 -1
- package/dist/blocks/outputs-list.js +15 -19
- package/dist/blocks/outputs-list.js.map +1 -1
- package/dist/blocks/section.d.ts +1 -4
- package/dist/blocks/section.d.ts.map +1 -1
- package/dist/blocks/section.js +1 -12
- package/dist/blocks/section.js.map +1 -1
- package/dist/components/artifact-preview.d.ts +2 -54
- package/dist/components/artifact-preview.d.ts.map +1 -1
- package/dist/components/artifact-preview.js +2 -107
- package/dist/components/artifact-preview.js.map +1 -1
- package/dist/components/decision-detail.d.ts +1 -1
- package/dist/components/decision-detail.d.ts.map +1 -1
- package/dist/components/decision-detail.js.map +1 -1
- package/dist/components/finding-detail.d.ts +2 -2
- package/dist/components/finding-detail.d.ts.map +1 -1
- package/dist/components/finding-detail.js.map +1 -1
- package/dist/components/index.d.ts +11 -13
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +7 -8
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-detail.d.ts +1 -2
- package/dist/components/input-detail.d.ts.map +1 -1
- package/dist/components/input-detail.js +0 -3
- package/dist/components/input-detail.js.map +1 -1
- package/dist/components/insight-detail.d.ts +2 -8
- package/dist/components/insight-detail.d.ts.map +1 -1
- package/dist/components/insight-detail.js +5 -11
- package/dist/components/insight-detail.js.map +1 -1
- package/dist/components/insight-trigger.d.ts +1 -1
- package/dist/components/insight-trigger.d.ts.map +1 -1
- package/dist/components/insight-trigger.js.map +1 -1
- package/dist/components/output-detail.d.ts +2 -7
- package/dist/components/output-detail.d.ts.map +1 -1
- package/dist/components/output-detail.js +3 -30
- package/dist/components/output-detail.js.map +1 -1
- package/dist/components/output-dialog.d.ts +2 -2
- package/dist/components/output-dialog.d.ts.map +1 -1
- package/dist/components/output-dialog.js +2 -1
- package/dist/components/output-dialog.js.map +1 -1
- package/dist/components/paper-detail.d.ts +14 -14
- package/dist/components/paper-detail.d.ts.map +1 -1
- package/dist/components/paper-detail.js +49 -29
- package/dist/components/paper-detail.js.map +1 -1
- package/dist/components/paper-pdf-viewer.d.ts +19 -0
- package/dist/components/paper-pdf-viewer.d.ts.map +1 -0
- package/dist/components/paper-pdf-viewer.js +250 -0
- package/dist/components/paper-pdf-viewer.js.map +1 -0
- package/dist/components/record-dialog.d.ts +7 -5
- package/dist/components/record-dialog.d.ts.map +1 -1
- package/dist/components/record-dialog.js +7 -5
- package/dist/components/record-dialog.js.map +1 -1
- package/dist/components/record-preview.d.ts +61 -0
- package/dist/components/record-preview.d.ts.map +1 -0
- package/dist/components/record-preview.js +177 -0
- package/dist/components/record-preview.js.map +1 -0
- package/dist/components/relation-items.d.ts +1 -1
- package/dist/components/relation-items.d.ts.map +1 -1
- package/dist/components/relation-items.js +10 -3
- package/dist/components/relation-items.js.map +1 -1
- package/dist/{components/use-detail-stack.d.ts → lib/detail-stack.d.ts} +17 -2
- package/dist/lib/detail-stack.d.ts.map +1 -0
- package/dist/{components/use-detail-stack.js → lib/detail-stack.js} +15 -2
- package/dist/lib/detail-stack.js.map +1 -0
- package/dist/lib/index.d.ts +14 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js +9 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/labels.d.ts +32 -0
- package/dist/lib/labels.d.ts.map +1 -1
- package/dist/lib/labels.js +32 -0
- package/dist/lib/labels.js.map +1 -1
- package/dist/lib/pdf-quote.d.ts +47 -0
- package/dist/lib/pdf-quote.d.ts.map +1 -0
- package/dist/lib/pdf-quote.js +154 -0
- package/dist/lib/pdf-quote.js.map +1 -0
- package/dist/lib/pdf-runtime.d.ts +102 -0
- package/dist/lib/pdf-runtime.d.ts.map +1 -0
- package/dist/lib/pdf-runtime.js +48 -0
- package/dist/lib/pdf-runtime.js.map +1 -0
- package/dist/lib/preview-data.d.ts +55 -0
- package/dist/lib/preview-data.d.ts.map +1 -0
- package/dist/lib/preview-data.js +108 -0
- package/dist/lib/preview-data.js.map +1 -0
- package/dist/lib/prose.d.ts +37 -0
- package/dist/lib/prose.d.ts.map +1 -0
- package/dist/lib/prose.js +60 -0
- package/dist/lib/prose.js.map +1 -0
- package/dist/lib/use-isomorphic-layout-effect.d.ts +4 -0
- package/dist/lib/use-isomorphic-layout-effect.d.ts.map +1 -0
- package/dist/lib/use-isomorphic-layout-effect.js +4 -0
- package/dist/lib/use-isomorphic-layout-effect.js.map +1 -0
- package/dist/lib/use-output-expanded.d.ts +7 -0
- package/dist/lib/use-output-expanded.d.ts.map +1 -0
- package/dist/lib/use-output-expanded.js +29 -0
- package/dist/lib/use-output-expanded.js.map +1 -0
- package/dist/model/index.d.ts +5 -3
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/index.js +3 -2
- package/dist/model/index.js.map +1 -1
- package/dist/{primitives → model}/kind.d.ts +3 -0
- package/dist/model/kind.d.ts.map +1 -0
- package/dist/model/kind.js +25 -0
- package/dist/model/kind.js.map +1 -0
- package/dist/model/papers.d.ts +6 -6
- package/dist/model/papers.d.ts.map +1 -1
- package/dist/model/papers.js +8 -0
- package/dist/model/papers.js.map +1 -1
- package/dist/model/records.d.ts +5 -1
- package/dist/model/records.d.ts.map +1 -1
- package/dist/model/records.js +9 -0
- package/dist/model/records.js.map +1 -1
- package/dist/primitives/badge.d.ts +1 -1
- package/dist/primitives/badge.d.ts.map +1 -1
- package/dist/primitives/button.js +1 -1
- package/dist/primitives/button.js.map +1 -1
- package/dist/primitives/dialog.d.ts +1 -1
- package/dist/primitives/dialog.d.ts.map +1 -1
- package/dist/primitives/dialog.js +3 -3
- package/dist/primitives/dialog.js.map +1 -1
- package/dist/primitives/index.d.ts +6 -9
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +3 -5
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/preview-popover.d.ts +30 -0
- package/dist/primitives/preview-popover.d.ts.map +1 -0
- package/dist/primitives/preview-popover.js +132 -0
- package/dist/primitives/preview-popover.js.map +1 -0
- package/dist/primitives/prose.d.ts +1 -29
- package/dist/primitives/prose.d.ts.map +1 -1
- package/dist/primitives/prose.js +2 -50
- package/dist/primitives/prose.js.map +1 -1
- package/dist/primitives/record-list.d.ts +1 -1
- package/dist/primitives/record-list.d.ts.map +1 -1
- package/dist/primitives/record-list.js +1 -1
- package/dist/primitives/record-list.js.map +1 -1
- package/dist/primitives/relation-list.d.ts +1 -1
- package/dist/primitives/relation-list.d.ts.map +1 -1
- package/dist/primitives/relation-list.js +1 -1
- package/dist/primitives/relation-list.js.map +1 -1
- package/dist/primitives/slot.d.ts.map +1 -0
- package/dist/{lib → primitives}/slot.js +1 -1
- package/dist/primitives/slot.js.map +1 -0
- package/dist/primitives/surface-header.d.ts +1 -1
- package/dist/primitives/surface-header.d.ts.map +1 -1
- package/dist/views/inventory.d.ts +7 -5
- package/dist/views/inventory.d.ts.map +1 -1
- package/dist/views/inventory.js +5 -4
- package/dist/views/inventory.js.map +1 -1
- package/package.json +12 -1
- package/primitives.css +1 -0
- package/src/blocks/decisions-list.tsx +1 -6
- package/src/blocks/index.ts +2 -3
- package/src/blocks/inputs-list.tsx +1 -1
- package/src/blocks/outputs-list.tsx +53 -30
- package/src/blocks/section.tsx +1 -14
- package/src/components/artifact-preview.tsx +6 -161
- package/src/components/decision-detail.tsx +2 -1
- package/src/components/finding-detail.tsx +3 -2
- package/src/components/index.ts +19 -29
- package/src/components/input-detail.tsx +2 -5
- package/src/components/insight-detail.tsx +20 -35
- package/src/components/insight-trigger.tsx +2 -1
- package/src/components/output-detail.tsx +17 -38
- package/src/components/output-dialog.tsx +4 -3
- package/src/components/paper-detail.tsx +121 -66
- package/src/components/paper-pdf-viewer.tsx +319 -0
- package/src/components/record-dialog.tsx +15 -10
- package/src/components/record-preview.tsx +762 -0
- package/src/components/relation-items.ts +15 -5
- package/src/{components/use-detail-stack.ts → lib/detail-stack.ts} +24 -1
- package/src/lib/index.ts +22 -0
- package/src/lib/labels.tsx +67 -0
- package/src/lib/pdf-quote.ts +189 -0
- package/src/lib/pdf-runtime.ts +131 -0
- package/src/lib/preview-data.ts +155 -0
- package/src/lib/prose.tsx +87 -0
- package/src/lib/use-isomorphic-layout-effect.ts +4 -0
- package/src/lib/use-output-expanded.ts +27 -0
- package/src/model/index.ts +4 -2
- package/src/{primitives → model}/kind.ts +14 -0
- package/src/model/papers.ts +9 -7
- package/src/model/records.ts +12 -0
- package/src/primitives/badge.tsx +1 -1
- package/src/primitives/button.tsx +1 -1
- package/src/primitives/dialog.tsx +3 -5
- package/src/primitives/index.ts +9 -9
- package/src/primitives/preview-popover.tsx +278 -0
- package/src/primitives/prose.tsx +1 -63
- package/src/primitives/record-list.tsx +1 -1
- package/src/primitives/relation-list.tsx +1 -1
- package/src/{lib → primitives}/slot.tsx +1 -1
- package/src/primitives/surface-header.tsx +1 -1
- package/src/views/inventory.tsx +12 -8
- package/styles/blocks/analysis-tree.css +2 -2
- package/styles/blocks/decisions-list.css +4 -4
- package/styles/blocks/outputs-list.css +246 -19
- package/styles/blocks/papers-list.css +2 -2
- package/styles/components/artifact-preview.css +6 -6
- package/styles/components/decision-detail.css +2 -2
- package/styles/components/evidence.css +2 -2
- package/styles/components/input-detail.css +4 -4
- package/styles/components/insight-detail.css +56 -94
- package/styles/components/insight-list.css +3 -3
- package/styles/components/insight-trigger.css +1 -4
- package/styles/components/output-detail.css +25 -140
- package/styles/components/paper-detail.css +76 -95
- package/styles/components/paper-doi.css +3 -12
- package/styles/components/paper-pdf-viewer.css +120 -0
- package/styles/components/record-preview.css +316 -0
- package/styles/primitives/badge.css +1 -1
- package/styles/primitives/count-heading.css +2 -2
- package/styles/primitives/detail-layout.css +5 -5
- package/styles/primitives/dialog.css +9 -9
- package/styles/primitives/preview-popover.css +76 -0
- package/styles/primitives/record-list.css +17 -17
- package/styles/primitives/relation-list.css +6 -6
- package/styles/primitives/surface-header.css +5 -5
- package/styles/tokens.css +16 -3
- package/styles/views/inventory.css +3 -3
- package/dist/components/detail-entry.d.ts +0 -15
- package/dist/components/detail-entry.d.ts.map +0 -1
- package/dist/components/detail-entry.js +0 -14
- package/dist/components/detail-entry.js.map +0 -1
- package/dist/components/use-detail-stack.d.ts.map +0 -1
- package/dist/components/use-detail-stack.js.map +0 -1
- package/dist/lib/slot.d.ts.map +0 -1
- package/dist/lib/slot.js.map +0 -1
- package/dist/primitives/kind.d.ts.map +0 -1
- package/dist/primitives/kind.js +0 -14
- package/dist/primitives/kind.js.map +0 -1
- package/src/components/detail-entry.ts +0 -19
- /package/dist/{lib → primitives}/slot.d.ts +0 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
/* record-preview — emitted by src/components/record-preview.tsx */
|
|
2
|
+
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
|
+
|
|
4
|
+
@layer astra.components {
|
|
5
|
+
:where(.astra-ui) .astra-record-preview {
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
background: var(--astra-color-surface-muted);
|
|
8
|
+
color: var(--astra-color-text);
|
|
9
|
+
font-family: var(--astra-font-body);
|
|
10
|
+
font-size: 0.9375rem;
|
|
11
|
+
line-height: 1.5;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:where(.astra-ui) .astra-record-preview__header.astra-surface-header {
|
|
15
|
+
min-height: 0;
|
|
16
|
+
padding: 1.1875rem 1.25rem 0;
|
|
17
|
+
border: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:where(.astra-ui) .astra-record-preview__header .astra-surface-header__content {
|
|
22
|
+
gap: 0.35rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:where(.astra-ui) .astra-record-preview__header .astra-surface-header__eyebrow {
|
|
26
|
+
color: var(--astra-kind-ink, var(--astra-kind));
|
|
27
|
+
font: 500 var(--astra-font-size-2xs)/1.2 var(--astra-font-ui);
|
|
28
|
+
letter-spacing: 0.08em;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:where(.astra-ui) .astra-record-preview__kind {
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 0.55em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:where(.astra-ui) .astra-record-preview__header .astra-surface-header__title {
|
|
38
|
+
margin: 0;
|
|
39
|
+
color: var(--astra-color-text);
|
|
40
|
+
font: 600 1.25rem/1.25 var(--astra-font-ui);
|
|
41
|
+
letter-spacing: -0.01em;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:where(.astra-ui) .astra-record-preview__body {
|
|
45
|
+
padding: 0.4rem 1.25rem 1.1875rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where(.astra-ui) .astra-record-preview__description {
|
|
49
|
+
margin: 0 0 0.75rem;
|
|
50
|
+
color: var(--astra-color-text-muted);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where(.astra-ui) .astra-record-preview__claim {
|
|
54
|
+
margin: 0 0 0.6rem;
|
|
55
|
+
color: var(--astra-color-text);
|
|
56
|
+
font: 500 1.1875rem/1.35 var(--astra-font-ui);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:where(.astra-ui) .astra-record-preview__section > h4 {
|
|
60
|
+
margin: 0.9rem 0 0.4rem;
|
|
61
|
+
color: var(--astra-color-text-subtle);
|
|
62
|
+
font: 500 var(--astra-font-size-2xs)/1.2 var(--astra-font-ui);
|
|
63
|
+
letter-spacing: 0.1em;
|
|
64
|
+
text-transform: uppercase;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:where(.astra-ui) .astra-record-preview__options,
|
|
68
|
+
:where(.astra-ui) .astra-record-preview__relations,
|
|
69
|
+
:where(.astra-ui) .astra-record-preview__evidence,
|
|
70
|
+
:where(.astra-ui) .astra-record-preview__flow {
|
|
71
|
+
display: flex;
|
|
72
|
+
margin: 0;
|
|
73
|
+
padding: 0;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
gap: 0.5rem;
|
|
76
|
+
list-style: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:where(.astra-ui) .astra-record-preview__options > li,
|
|
80
|
+
:where(.astra-ui) .astra-record-preview__relations > li,
|
|
81
|
+
:where(.astra-ui) .astra-record-preview__evidence > li {
|
|
82
|
+
border: 1px solid var(--astra-color-border);
|
|
83
|
+
border-radius: var(--astra-radius-preview);
|
|
84
|
+
background: color-mix(
|
|
85
|
+
in srgb,
|
|
86
|
+
var(--astra-color-text) 4%,
|
|
87
|
+
var(--astra-color-surface-muted)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:where(.astra-ui) .astra-record-preview__options > li {
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
94
|
+
align-items: baseline;
|
|
95
|
+
gap: 0.55rem;
|
|
96
|
+
padding: 0.45rem 0.65rem;
|
|
97
|
+
color: var(--astra-color-text-subtle);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:where(.astra-ui) .astra-record-preview__options > li strong {
|
|
101
|
+
color: var(--astra-color-text);
|
|
102
|
+
font-family: var(--astra-font-ui);
|
|
103
|
+
font-size: 1rem;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:where(.astra-ui) .astra-record-preview__option-status {
|
|
108
|
+
position: absolute;
|
|
109
|
+
width: 1px;
|
|
110
|
+
height: 1px;
|
|
111
|
+
padding: 0;
|
|
112
|
+
margin: -1px;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
clip: rect(0, 0, 0, 0);
|
|
115
|
+
white-space: nowrap;
|
|
116
|
+
border: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:where(.astra-ui) .astra-record-preview__options > li:where([data-selected]) {
|
|
120
|
+
border-color: var(--astra-kind);
|
|
121
|
+
background: var(--astra-kind-soft);
|
|
122
|
+
color: var(--astra-kind-ink, var(--astra-kind));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:where(.astra-ui) .astra-record-preview__options > li:where([data-unselected]) {
|
|
126
|
+
opacity: 0.76;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:where(.astra-ui) .astra-record-preview__options > li:where([data-excluded]) strong {
|
|
130
|
+
text-decoration: line-through;
|
|
131
|
+
text-decoration-color: var(--astra-color-border-strong);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:where(.astra-ui) .astra-record-preview__relations > li {
|
|
135
|
+
padding: 0.3rem 0.625rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:where(.astra-ui) .astra-record-preview__relation-trigger {
|
|
139
|
+
display: flex;
|
|
140
|
+
width: 100%;
|
|
141
|
+
min-width: 0;
|
|
142
|
+
align-items: baseline;
|
|
143
|
+
gap: 0.5em;
|
|
144
|
+
border: 0;
|
|
145
|
+
background: transparent;
|
|
146
|
+
color: var(--astra-color-text);
|
|
147
|
+
padding: 0;
|
|
148
|
+
text-align: start;
|
|
149
|
+
font: 500 var(--astra-font-size-sm)/1.4 var(--astra-font-ui);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
:where(.astra-ui) button.astra-record-preview__relation-trigger {
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:where(.astra-ui) button.astra-record-preview__relation-trigger:hover
|
|
157
|
+
.astra-record-preview__relation-label {
|
|
158
|
+
background: var(--astra-kind-soft);
|
|
159
|
+
text-decoration-color: currentcolor;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:where(.astra-ui) .astra-record-preview__relation-glyph {
|
|
163
|
+
flex: none;
|
|
164
|
+
color: var(--astra-kind-ink, var(--astra-kind));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:where(.astra-ui) button.astra-record-preview__relation-trigger
|
|
168
|
+
.astra-record-preview__relation-label {
|
|
169
|
+
color: var(--astra-color-link);
|
|
170
|
+
text-decoration: underline;
|
|
171
|
+
text-decoration-color: color-mix(in srgb, currentcolor 45%, transparent);
|
|
172
|
+
text-decoration-thickness: 1px;
|
|
173
|
+
text-underline-offset: 2px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
:where(.astra-ui) .astra-record-preview__relation-detail {
|
|
177
|
+
margin-inline-start: auto;
|
|
178
|
+
color: var(--astra-color-text-subtle);
|
|
179
|
+
font-weight: 400;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:where(.astra-ui) .astra-record-preview__remaining {
|
|
183
|
+
border: 0 !important;
|
|
184
|
+
background: transparent !important;
|
|
185
|
+
color: var(--astra-color-text-subtle);
|
|
186
|
+
font: 400 var(--astra-font-size-2xs)/1.4 var(--astra-font-ui);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:where(.astra-ui) .astra-record-preview__evidence > li {
|
|
190
|
+
padding: 0.5rem 0.75rem;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:where(.astra-ui) .astra-record-preview__artifact {
|
|
194
|
+
margin: 0.125rem 0 0.4rem;
|
|
195
|
+
overflow: hidden;
|
|
196
|
+
border: 1px solid var(--astra-color-border);
|
|
197
|
+
border-radius: var(--astra-radius-preview);
|
|
198
|
+
background: var(--astra-color-artifact-paper);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
:where(.astra-ui) .astra-record-preview__artifact .astra-artifact {
|
|
202
|
+
margin: 0;
|
|
203
|
+
border: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
:where(.astra-ui) .astra-record-preview__quote {
|
|
207
|
+
margin: 0.35rem 0 0;
|
|
208
|
+
color: var(--astra-color-text-subtle);
|
|
209
|
+
font-size: var(--astra-font-size-sm);
|
|
210
|
+
font-style: italic;
|
|
211
|
+
line-height: 1.45;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:where(.astra-ui) .astra-record-preview__quote::before {
|
|
215
|
+
content: "“";
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:where(.astra-ui) .astra-record-preview__quote::after {
|
|
219
|
+
content: "”";
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:where(.astra-ui) .astra-record-preview__citation {
|
|
223
|
+
margin-top: 0.3rem;
|
|
224
|
+
color: var(--astra-color-text-subtle);
|
|
225
|
+
font: 400 var(--astra-font-size-xs)/1.4 var(--astra-font-ui);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:where(.astra-ui) .astra-record-preview__citation a,
|
|
229
|
+
:where(.astra-ui) .astra-record-preview__analysis-link {
|
|
230
|
+
color: var(--astra-color-link);
|
|
231
|
+
text-decoration: underline;
|
|
232
|
+
text-underline-offset: 2px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
:where(.astra-ui) button.astra-record-preview__analysis-link {
|
|
236
|
+
margin: 0;
|
|
237
|
+
border: 0;
|
|
238
|
+
background: transparent;
|
|
239
|
+
padding: 0;
|
|
240
|
+
font: inherit;
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:where(.astra-ui) .astra-record-preview__scope {
|
|
245
|
+
display: inline-flex;
|
|
246
|
+
margin: 0 0 0.6rem;
|
|
247
|
+
border: 1px solid color-mix(in srgb, var(--astra-kind) 30%, transparent);
|
|
248
|
+
border-radius: 999px;
|
|
249
|
+
background: var(--astra-kind-soft);
|
|
250
|
+
color: var(--astra-kind-ink, var(--astra-kind));
|
|
251
|
+
padding: 0.1em 0.6em;
|
|
252
|
+
font: 400 var(--astra-font-size-2xs)/1.4 var(--astra-font-ui);
|
|
253
|
+
letter-spacing: 0.04em;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
:where(.astra-ui) .astra-record-preview__flow {
|
|
257
|
+
flex-flow: row wrap;
|
|
258
|
+
align-items: center;
|
|
259
|
+
gap: 0;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
:where(.astra-ui) .astra-record-preview__flow > li {
|
|
263
|
+
display: flex;
|
|
264
|
+
align-items: center;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
:where(.astra-ui) .astra-record-preview__flow > li:not(:last-child)::after {
|
|
268
|
+
content: "→";
|
|
269
|
+
color: var(--astra-color-border-strong);
|
|
270
|
+
margin: 0 0.35rem;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:where(.astra-ui) .astra-record-preview__flow code,
|
|
274
|
+
:where(.astra-ui) .astra-record-preview__source,
|
|
275
|
+
:where(.astra-ui) .astra-record-preview__selection code {
|
|
276
|
+
border: 1px solid var(--astra-color-border);
|
|
277
|
+
border-radius: var(--astra-radius-preview);
|
|
278
|
+
background: color-mix(
|
|
279
|
+
in srgb,
|
|
280
|
+
var(--astra-color-text) 4%,
|
|
281
|
+
var(--astra-color-surface-muted)
|
|
282
|
+
);
|
|
283
|
+
color: var(--astra-color-text-muted);
|
|
284
|
+
padding: 0.2em 0.45em;
|
|
285
|
+
font-family: var(--astra-font-mono);
|
|
286
|
+
font-size: var(--astra-font-size-2xs);
|
|
287
|
+
overflow-wrap: anywhere;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
:where(.astra-ui) .astra-record-preview__counts {
|
|
291
|
+
margin: 0;
|
|
292
|
+
color: var(--astra-color-text-subtle);
|
|
293
|
+
font: 400 var(--astra-font-size-xs)/1.4 var(--astra-font-ui);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:where(.astra-ui) .astra-record-preview__value {
|
|
297
|
+
font-variant-numeric: tabular-nums;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
:where(.astra-ui) .astra-record-preview__unit {
|
|
301
|
+
margin-inline-start: 0.25em;
|
|
302
|
+
color: var(--astra-color-text-subtle);
|
|
303
|
+
font-size: 0.7em;
|
|
304
|
+
font-weight: 400;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
:where(.astra-ui) .astra-record-preview__selection {
|
|
308
|
+
display: flex;
|
|
309
|
+
flex-wrap: wrap;
|
|
310
|
+
align-items: baseline;
|
|
311
|
+
gap: 0.5em;
|
|
312
|
+
margin: 0 0 0.6rem;
|
|
313
|
+
color: var(--astra-color-text-subtle);
|
|
314
|
+
font: 400 var(--astra-font-size-xs)/1.4 var(--astra-font-ui);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
background: var(--astra-color-surface-raised);
|
|
48
48
|
color: var(--astra-color-text-muted);
|
|
49
49
|
padding: 0.15rem 0.4rem;
|
|
50
|
-
font: 700
|
|
50
|
+
font: 700 var(--astra-font-size-2xs)/1.4 var(--astra-font-ui);
|
|
51
51
|
letter-spacing: 0.06em;
|
|
52
52
|
text-transform: uppercase;
|
|
53
53
|
}
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
:where(.astra-ui) .astra-count-heading > span {
|
|
17
|
-
font-size:
|
|
17
|
+
font-size: var(--astra-font-size-2xs);
|
|
18
18
|
min-width: 1.375rem;
|
|
19
19
|
border-radius: 999px;
|
|
20
20
|
background: var(--astra-color-canvas);
|
|
21
21
|
color: var(--astra-color-text-subtle);
|
|
22
22
|
padding: 0.125rem 0.4375rem;
|
|
23
|
-
font: 700
|
|
23
|
+
font: 700 var(--astra-font-size-2xs)/1.5 var(--astra-font-ui);
|
|
24
24
|
text-align: center;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
:where(.astra-ui) .astra-detail__section > span {
|
|
39
39
|
color: var(--astra-color-accent);
|
|
40
40
|
font-family: var(--astra-font-ui);
|
|
41
|
-
font-size:
|
|
41
|
+
font-size: var(--astra-font-size-2xs);
|
|
42
42
|
font-weight: 700;
|
|
43
43
|
letter-spacing: 0.08em;
|
|
44
44
|
text-transform: uppercase;
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-detail__section > span,
|
|
124
124
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-detail__relations h4 {
|
|
125
125
|
color: var(--astra-color-text);
|
|
126
|
-
font: 700
|
|
126
|
+
font: 700 var(--astra-font-size-sm)/1.25 var(--astra-font-ui);
|
|
127
127
|
letter-spacing: 0;
|
|
128
128
|
text-transform: none;
|
|
129
129
|
}
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
|
|
166
166
|
:where(.astra-ui) .astra-detail__section > span {
|
|
167
167
|
color: var(--astra-color-text-subtle);
|
|
168
|
-
font: 700
|
|
168
|
+
font: 700 var(--astra-font-size-xs)/1 var(--astra-font-ui);
|
|
169
169
|
letter-spacing: 0.09em;
|
|
170
170
|
text-transform: uppercase;
|
|
171
171
|
}
|
|
@@ -185,12 +185,12 @@
|
|
|
185
185
|
:where(.astra-ui) .astra-detail__relations h4 {
|
|
186
186
|
margin: 0 0 0.5rem;
|
|
187
187
|
color: var(--astra-color-text);
|
|
188
|
-
font: 700
|
|
188
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
:where(.astra-ui) .astra-detail__section.astra-detail__section:where([data-heading="section"]) > span {
|
|
192
192
|
color: var(--astra-color-text);
|
|
193
|
-
font: 700
|
|
193
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
194
194
|
letter-spacing: 0;
|
|
195
195
|
text-transform: none;
|
|
196
196
|
}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
:where(.astra-ui) .astra-dialog__header > div:first-child > span {
|
|
43
43
|
color: var(--astra-color-accent);
|
|
44
44
|
font-family: var(--astra-font-ui);
|
|
45
|
-
font-size:
|
|
45
|
+
font-size: var(--astra-font-size-2xs);
|
|
46
46
|
font-weight: 700;
|
|
47
47
|
letter-spacing: 0.08em;
|
|
48
48
|
text-transform: uppercase;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
:where(.astra-ui) .astra-dialog__header code {
|
|
60
60
|
color: var(--astra-color-text-subtle);
|
|
61
|
-
font-size:
|
|
61
|
+
font-size: var(--astra-font-size-2xs);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
:where(.astra-ui) .astra-dialog__actions > button:where(:not(.astra-dialog__action)) {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
background: var(--astra-color-canvas);
|
|
94
94
|
color: var(--astra-color-link);
|
|
95
95
|
padding: 0.375rem 0.625rem;
|
|
96
|
-
font-size:
|
|
96
|
+
font-size: var(--astra-font-size-sm);
|
|
97
97
|
line-height: 1.2;
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
:where(.astra-ui) .astra-dialog__header > div:first-child > span {
|
|
164
164
|
color: var(--astra-kind-ink, var(--astra-color-text-subtle));
|
|
165
165
|
font-family: var(--astra-font-ui);
|
|
166
|
-
font-size:
|
|
166
|
+
font-size: var(--astra-font-size-2xs);
|
|
167
167
|
letter-spacing: 0.1em;
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
border: 0;
|
|
187
187
|
color: var(--astra-color-text-subtle);
|
|
188
188
|
background: transparent;
|
|
189
|
-
font: 500
|
|
189
|
+
font: 500 var(--astra-font-size-sm)/1.2 var(--astra-font-ui);
|
|
190
190
|
letter-spacing: 0;
|
|
191
191
|
text-transform: none;
|
|
192
192
|
}
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
:where(.astra-ui) .astra-dialog__kind {
|
|
206
206
|
overflow: hidden;
|
|
207
207
|
color: var(--astra-kind-ink, var(--astra-color-text-subtle));
|
|
208
|
-
font: 700
|
|
208
|
+
font: 700 var(--astra-font-size-2xs)/1.2 var(--astra-font-ui);
|
|
209
209
|
letter-spacing: 0.09em;
|
|
210
210
|
text-overflow: ellipsis;
|
|
211
211
|
text-transform: uppercase;
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
|
|
264
264
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-dialog__header code {
|
|
265
265
|
color: var(--astra-color-text-subtle);
|
|
266
|
-
font: 400
|
|
266
|
+
font: 400 var(--astra-font-size-2xs)/1.25 var(--astra-font-mono);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-dialog__actions > button:where(:not(.astra-dialog__action)) {
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
:where(.astra-ui) .astra-dialog__trail-separator {
|
|
381
381
|
flex: 0 0 auto;
|
|
382
382
|
color: var(--astra-color-border-strong);
|
|
383
|
-
font-size:
|
|
383
|
+
font-size: var(--astra-font-size-2xs);
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
:where(.astra-ui) .astra-dialog__kind {
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
|
|
522
522
|
:where(.astra-ui) .astra-dialog__header > div:first-child > span {
|
|
523
523
|
color: var(--astra-kind-ink, var(--astra-color-eyebrow));
|
|
524
|
-
font-size:
|
|
524
|
+
font-size: var(--astra-font-size-2xs);
|
|
525
525
|
letter-spacing: 0.09em;
|
|
526
526
|
}
|
|
527
527
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* preview-popover — emitted by src/primitives/preview-popover.tsx */
|
|
2
|
+
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
|
+
|
|
4
|
+
@layer astra.components {
|
|
5
|
+
:where(.astra-ui).astra-preview-popover-portal,
|
|
6
|
+
:where(.astra-ui) .astra-preview-popover-portal {
|
|
7
|
+
display: contents;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:where(.astra-ui) .astra-preview-popover {
|
|
11
|
+
z-index: var(--astra-z-preview);
|
|
12
|
+
width: var(--astra-width-preview);
|
|
13
|
+
max-width: calc(100vw - 1rem);
|
|
14
|
+
color: var(--astra-color-text);
|
|
15
|
+
font-family: var(--astra-font-body);
|
|
16
|
+
font-size: var(--astra-font-size);
|
|
17
|
+
line-height: 1.5;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:where(.astra-ui) .astra-preview-popover__surface {
|
|
21
|
+
position: relative;
|
|
22
|
+
display: flex;
|
|
23
|
+
max-height: min(
|
|
24
|
+
var(--astra-preview-available-height, calc(100dvh - 1.5rem)),
|
|
25
|
+
calc(100dvh - 1.5rem)
|
|
26
|
+
);
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
border: 1px solid var(--astra-color-border);
|
|
29
|
+
border-top-color: color-mix(
|
|
30
|
+
in srgb,
|
|
31
|
+
var(--astra-kind, var(--astra-color-border-strong)) 55%,
|
|
32
|
+
var(--astra-color-border)
|
|
33
|
+
);
|
|
34
|
+
border-radius: var(--astra-radius-preview);
|
|
35
|
+
background: var(--astra-color-surface-muted);
|
|
36
|
+
box-shadow: var(--astra-shadow-preview);
|
|
37
|
+
opacity: 1;
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
transition:
|
|
40
|
+
opacity 120ms ease,
|
|
41
|
+
transform 120ms ease;
|
|
42
|
+
transform-origin: bottom center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where(.astra-ui) .astra-preview-popover:where([data-placement^="bottom"])
|
|
46
|
+
.astra-preview-popover__surface {
|
|
47
|
+
transform-origin: top center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:where(.astra-ui) .astra-preview-popover:where([data-status="initial"], [data-status="close"])
|
|
51
|
+
.astra-preview-popover__surface {
|
|
52
|
+
opacity: 0;
|
|
53
|
+
transform: scale(0.98);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where(.astra-ui) .astra-preview-popover__scroll {
|
|
57
|
+
min-height: 0;
|
|
58
|
+
overflow-y: auto;
|
|
59
|
+
overscroll-behavior: contain;
|
|
60
|
+
scrollbar-color: var(--astra-color-border-strong) transparent;
|
|
61
|
+
scrollbar-width: thin;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:where(.astra-ui) .astra-preview-popover__arrow {
|
|
65
|
+
fill: var(--astra-color-surface-muted);
|
|
66
|
+
stroke: var(--astra-color-border);
|
|
67
|
+
stroke-width: 1px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (prefers-reduced-motion: reduce) {
|
|
71
|
+
:where(.astra-ui) .astra-preview-popover__surface {
|
|
72
|
+
transform: none !important;
|
|
73
|
+
transition-duration: 0.01ms !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
color: var(--astra-color-text-subtle);
|
|
26
26
|
padding: 0.45rem 0.9rem;
|
|
27
27
|
font-family: var(--astra-font-ui);
|
|
28
|
-
font-size:
|
|
28
|
+
font-size: var(--astra-font-size-2xs);
|
|
29
29
|
font-weight: 700;
|
|
30
30
|
letter-spacing: 0.07em;
|
|
31
31
|
text-transform: uppercase;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
:where(.astra-ui) .astra-record-list__name small {
|
|
72
72
|
color: var(--astra-color-text-subtle);
|
|
73
|
-
font-size:
|
|
73
|
+
font-size: var(--astra-font-size-2xs);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
:where(.astra-ui) .astra-record-list__tag {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
color: var(--astra-color-text-muted);
|
|
82
82
|
padding: 0.13rem 0.32rem;
|
|
83
83
|
font-family: var(--astra-font-mono);
|
|
84
|
-
font-size:
|
|
84
|
+
font-size: var(--astra-font-size-2xs);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
:where(.astra-ui) .astra-record-list__source {
|
|
@@ -101,14 +101,14 @@
|
|
|
101
101
|
display: block;
|
|
102
102
|
color: var(--astra-color-accent);
|
|
103
103
|
font-family: var(--astra-font-ui);
|
|
104
|
-
font-size:
|
|
104
|
+
font-size: var(--astra-font-size-xs);
|
|
105
105
|
font-weight: 700;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:where(.astra-ui) .astra-record-list__count {
|
|
109
109
|
color: var(--astra-color-text-subtle);
|
|
110
110
|
font-family: var(--astra-font-ui);
|
|
111
|
-
font-size:
|
|
111
|
+
font-size: var(--astra-font-size-2xs);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
:where(.astra-ui) .astra-record-list__secondary {
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
:where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) .astra-record-list__glyph {
|
|
124
124
|
color: var(--astra-color-kind-finding);
|
|
125
|
-
font-size:
|
|
125
|
+
font-size: var(--astra-font-size-xs);
|
|
126
126
|
line-height: 1.35rem;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
:where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) small {
|
|
134
134
|
color: var(--astra-color-kind-finding);
|
|
135
135
|
font-family: var(--astra-font-ui);
|
|
136
|
-
font-size:
|
|
136
|
+
font-size: var(--astra-font-size-2xs);
|
|
137
137
|
font-weight: 700;
|
|
138
138
|
letter-spacing: 0.06em;
|
|
139
139
|
text-transform: uppercase;
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
border-color: var(--astra-color-border);
|
|
159
159
|
background: var(--astra-color-header);
|
|
160
160
|
color: var(--astra-color-text-subtle);
|
|
161
|
-
font-size:
|
|
161
|
+
font-size: var(--astra-font-size-2xs);
|
|
162
162
|
letter-spacing: 0.08em;
|
|
163
163
|
}
|
|
164
164
|
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
background: var(--astra-color-kind-decision-soft);
|
|
190
190
|
color: var(--astra-color-kind-decision-ink);
|
|
191
191
|
padding: 0.16rem 0.42rem;
|
|
192
|
-
font-size:
|
|
192
|
+
font-size: var(--astra-font-size-2xs);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
:where(.astra-ui) .astra-record-list__body code {
|
|
@@ -224,12 +224,12 @@
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
:where(.astra-ui) .astra-record-list__glyph {
|
|
227
|
-
font-size:
|
|
227
|
+
font-size: var(--astra-font-size-xs);
|
|
228
228
|
text-align: center;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
:where(.astra-ui) .astra-record-list__name strong {
|
|
232
|
-
font-size:
|
|
232
|
+
font-size: var(--astra-font-size);
|
|
233
233
|
font-weight: 600;
|
|
234
234
|
}
|
|
235
235
|
|
|
@@ -257,13 +257,13 @@
|
|
|
257
257
|
color: var(--astra-color-text-subtle);
|
|
258
258
|
padding: 0;
|
|
259
259
|
font-family: var(--astra-font-ui);
|
|
260
|
-
font-size:
|
|
260
|
+
font-size: var(--astra-font-size-2xs);
|
|
261
261
|
text-align: end;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
:where(.astra-ui) .astra-record-list__body code {
|
|
265
265
|
color: var(--astra-color-text-subtle);
|
|
266
|
-
font-size:
|
|
266
|
+
font-size: var(--astra-font-size-2xs);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
:where(.astra-ui) .astra-record-list__arrow {
|
|
@@ -340,13 +340,13 @@
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
:where(.astra-ui) .astra-record-list__glyph {
|
|
343
|
-
font-size:
|
|
343
|
+
font-size: var(--astra-font-size-2xs);
|
|
344
344
|
text-align: center;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
:where(.astra-ui) .astra-record-list__name strong {
|
|
348
348
|
overflow: hidden;
|
|
349
|
-
font: 600
|
|
349
|
+
font: 600 var(--astra-font-size)/1.25 var(--astra-font-ui);
|
|
350
350
|
text-overflow: ellipsis;
|
|
351
351
|
white-space: nowrap;
|
|
352
352
|
}
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
|
|
365
365
|
:where(.astra-ui) .astra-record-list__body code {
|
|
366
366
|
color: var(--astra-color-text-subtle);
|
|
367
|
-
font: 400
|
|
367
|
+
font: 400 var(--astra-font-size-2xs)/1.25 var(--astra-font-mono);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
:where(.astra-ui) .astra-record-list__tag {
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
border-radius: 0;
|
|
376
376
|
color: var(--astra-color-text-subtle);
|
|
377
377
|
background: transparent;
|
|
378
|
-
font: 400
|
|
378
|
+
font: 400 var(--astra-font-size-2xs)/1.25 var(--astra-font-ui);
|
|
379
379
|
text-align: right;
|
|
380
380
|
text-overflow: ellipsis;
|
|
381
381
|
white-space: nowrap;
|