@byline/admin 6.10.1 → 6.11.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/fields/array/array-field_module.css +57 -53
- package/dist/fields/blocks/blocks-field_module.css +134 -130
- package/dist/fields/checkbox/checkbox-field_module.css +6 -2
- package/dist/fields/code/code-field_module.css +57 -53
- package/dist/fields/datetime/datetime-field_module.css +6 -2
- package/dist/fields/draggable-context-menu_module.css +77 -73
- package/dist/fields/field-renderer_module.css +12 -8
- package/dist/fields/file/file-field_module.css +133 -129
- package/dist/fields/file/file-upload-field_module.css +67 -63
- package/dist/fields/group/group-field_module.css +25 -21
- package/dist/fields/image/image-field_module.css +123 -119
- package/dist/fields/image/image-upload-field_module.css +81 -77
- package/dist/fields/locale-badge_module.css +28 -24
- package/dist/fields/relation/relation-display_module.css +20 -16
- package/dist/fields/relation/relation-field_module.css +149 -145
- package/dist/fields/relation/relation-picker_module.css +187 -183
- package/dist/fields/relation/relation-summary_module.css +34 -30
- package/dist/fields/select/select-field_module.css +9 -5
- package/dist/fields/sortable-item_module.css +126 -122
- package/dist/fields/text/text-field_module.css +8 -4
- package/dist/fields/text-area/text-area-field_module.css +8 -4
- package/dist/forms/available-locales-widget_module.css +19 -15
- package/dist/forms/document-actions_module.css +120 -116
- package/dist/forms/form-renderer_module.css +247 -243
- package/dist/forms/path-widget_module.css +29 -25
- package/dist/forms/scheduled-publication-control_module.css +76 -72
- package/dist/forms/tree-placement-widget_module.css +61 -57
- package/dist/modules/admin-account/components/change-password_module.css +26 -22
- package/dist/modules/admin-account/components/container_module.css +93 -89
- package/dist/modules/admin-account/components/preferences_module.css +37 -33
- package/dist/modules/admin-account/components/theme-switch_module.css +16 -12
- package/dist/modules/admin-account/components/update_module.css +26 -22
- package/dist/modules/admin-permissions/components/inspector_module.css +197 -193
- package/dist/modules/admin-roles/components/create_module.css +26 -22
- package/dist/modules/admin-roles/components/permissions_module.css +159 -155
- package/dist/modules/admin-roles/components/update_module.css +26 -22
- package/dist/modules/admin-users/components/create_module.css +39 -35
- package/dist/modules/admin-users/components/roles_module.css +65 -61
- package/dist/modules/admin-users/components/set-password_module.css +29 -25
- package/dist/modules/admin-users/components/update_module.css +32 -28
- package/dist/modules/analytics/components/dashboard_module.css +268 -264
- package/dist/modules/analytics/components/timeseries_module.css +192 -188
- package/dist/modules/auth/components/passkey-manager_module.css +87 -83
- package/dist/modules/auth/components/sign-in-form_module.css +68 -64
- package/dist/presentation/group_module.css +19 -15
- package/dist/presentation/row_module.css +17 -13
- package/dist/presentation/tabs_module.css +231 -227
- package/dist/widgets/diff-viewer/diff-modal_module.css +58 -54
- package/dist/widgets/source-locale-badge/source-locale-badge_module.css +12 -8
- package/dist/widgets/status-badge/status-badge_module.css +20 -16
- package/package.json +9 -8
- package/src/fields/array/array-field.module.css +71 -55
- package/src/fields/blocks/blocks-field.module.css +173 -156
- package/src/fields/checkbox/checkbox-field.module.css +17 -3
- package/src/fields/code/code-editor.tsx +2 -0
- package/src/fields/code/code-field.module.css +75 -59
- package/src/fields/datetime/datetime-field.module.css +19 -3
- package/src/fields/draggable-context-menu.module.css +108 -92
- package/src/fields/field-renderer.module.css +26 -10
- package/src/fields/file/file-field.module.css +147 -131
- package/src/fields/file/file-upload-field.module.css +91 -75
- package/src/fields/group/group-field.module.css +42 -26
- package/src/fields/image/image-field.module.css +152 -136
- package/src/fields/image/image-upload-field.module.css +107 -91
- package/src/fields/locale-badge.module.css +43 -27
- package/src/fields/relation/relation-display.module.css +37 -21
- package/src/fields/relation/relation-field.module.css +168 -152
- package/src/fields/relation/relation-picker.module.css +207 -191
- package/src/fields/relation/relation-summary.module.css +52 -36
- package/src/fields/select/select-field.module.css +23 -7
- package/src/fields/sortable-item.module.css +143 -127
- package/src/fields/text/text-field.module.css +21 -5
- package/src/fields/text-area/text-area-field.module.css +21 -5
- package/src/forms/available-locales-widget.module.css +39 -23
- package/src/forms/document-actions.module.css +139 -123
- package/src/forms/form-layout-styles.test.node.ts +12 -4
- package/src/forms/form-renderer.module.css +312 -296
- package/src/forms/path-widget.module.css +44 -28
- package/src/forms/scheduled-publication-control.module.css +104 -91
- package/src/forms/tree-placement-widget.module.css +80 -64
- package/src/modules/admin-account/components/change-password.module.css +42 -26
- package/src/modules/admin-account/components/container.module.css +129 -113
- package/src/modules/admin-account/components/preferences.module.css +56 -40
- package/src/modules/admin-account/components/theme-switch.module.css +32 -16
- package/src/modules/admin-account/components/update.module.css +42 -26
- package/src/modules/admin-permissions/components/inspector.module.css +255 -239
- package/src/modules/admin-roles/components/create.module.css +42 -26
- package/src/modules/admin-roles/components/permissions.module.css +204 -201
- package/src/modules/admin-roles/components/update.module.css +42 -26
- package/src/modules/admin-users/components/create.module.css +58 -42
- package/src/modules/admin-users/components/roles.module.css +96 -86
- package/src/modules/admin-users/components/set-password.module.css +46 -30
- package/src/modules/admin-users/components/update.module.css +49 -33
- package/src/modules/analytics/components/dashboard.module.css +322 -306
- package/src/modules/analytics/components/timeseries.module.css +237 -221
- package/src/modules/auth/components/passkey-manager.module.css +98 -84
- package/src/modules/auth/components/sign-in-form.module.css +85 -69
- package/src/presentation/group.module.css +36 -20
- package/src/presentation/row.module.css +32 -16
- package/src/presentation/tabs.module.css +243 -227
- package/src/widgets/diff-viewer/diff-modal.module.css +71 -55
- package/src/widgets/source-locale-badge/source-locale-badge.module.css +25 -9
- package/src/widgets/status-badge/status-badge.module.css +35 -19
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* RelationPicker — modal listing for selecting a target document.
|
|
3
17
|
*
|
|
@@ -21,229 +35,231 @@
|
|
|
21
35
|
* .byline-field-relation-picker-action — Cancel / Select buttons
|
|
22
36
|
*/
|
|
23
37
|
|
|
24
|
-
.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
@layer byline-components.cms {
|
|
39
|
+
.header,
|
|
40
|
+
:global(.byline-field-relation-picker-header) {
|
|
41
|
+
padding-top: 1rem;
|
|
42
|
+
margin-bottom: var(--spacing-8);
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: baseline;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
gap: var(--spacing-8);
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
}
|
|
34
49
|
|
|
35
|
-
/* Header actions: refresh, and the create link when the host permits it.
|
|
50
|
+
/* Header actions: refresh, and the create link when the host permits it.
|
|
36
51
|
Stable override handle: `.byline-field-relation-picker-actions`. */
|
|
37
|
-
.actions,
|
|
38
|
-
:global(.byline-field-relation-picker-actions) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
52
|
+
.actions,
|
|
53
|
+
:global(.byline-field-relation-picker-actions) {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: var(--spacing-8);
|
|
57
|
+
}
|
|
43
58
|
|
|
44
|
-
/* Re-runs the current query. Stable override handle:
|
|
59
|
+
/* Re-runs the current query. Stable override handle:
|
|
45
60
|
`.byline-field-relation-picker-refresh`. */
|
|
46
|
-
.refresh,
|
|
47
|
-
:global(.byline-field-relation-picker-refresh) {
|
|
48
|
-
|
|
49
|
-
}
|
|
61
|
+
.refresh,
|
|
62
|
+
:global(.byline-field-relation-picker-refresh) {
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
}
|
|
50
65
|
|
|
51
|
-
/* Opens the target collection's create view in a new tab. Stable override
|
|
66
|
+
/* Opens the target collection's create view in a new tab. Stable override
|
|
52
67
|
handle: `.byline-field-relation-picker-create`. */
|
|
53
|
-
.create,
|
|
54
|
-
:global(.byline-field-relation-picker-create) {
|
|
55
|
-
|
|
68
|
+
.create,
|
|
69
|
+
:global(.byline-field-relation-picker-create) {
|
|
70
|
+
/* Rendered as an anchor so it behaves like a link, but it belongs to the
|
|
56
71
|
toolbar visually: drop the global anchor underline, and set no font size so
|
|
57
72
|
the button's own `xs` sizing governs rather than being overridden here. */
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.title,
|
|
63
|
-
:global(.byline-field-relation-picker-title) {
|
|
64
|
-
margin: 0 0 var(--spacing-8) 0;
|
|
65
|
-
font-size: var(--font-size-xl);
|
|
66
|
-
}
|
|
73
|
+
text-decoration: none;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
}
|
|
67
76
|
|
|
68
|
-
.
|
|
69
|
-
:global(.byline-field-relation-picker-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
77
|
+
.title,
|
|
78
|
+
:global(.byline-field-relation-picker-title) {
|
|
79
|
+
margin: 0 0 var(--spacing-8) 0;
|
|
80
|
+
font-size: var(--font-size-xl);
|
|
81
|
+
}
|
|
74
82
|
|
|
75
|
-
.
|
|
76
|
-
:global(.byline-field-relation-picker-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
border-radius: var(--border-radius-md);
|
|
82
|
-
}
|
|
83
|
+
.body,
|
|
84
|
+
:global(.byline-field-relation-picker-body) {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
gap: 0.75rem;
|
|
88
|
+
}
|
|
83
89
|
|
|
84
|
-
.
|
|
85
|
-
:global(.byline-field-relation-picker-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
.list,
|
|
91
|
+
:global(.byline-field-relation-picker-list) {
|
|
92
|
+
min-height: 320px;
|
|
93
|
+
max-height: 420px;
|
|
94
|
+
overflow-y: auto;
|
|
95
|
+
border: var(--border-width-thin) var(--border-style-solid) var(--gray-700);
|
|
96
|
+
border-radius: var(--border-radius-md);
|
|
97
|
+
}
|
|
91
98
|
|
|
92
|
-
.
|
|
93
|
-
:global(.byline-field-relation-picker-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
+
.loading,
|
|
100
|
+
:global(.byline-field-relation-picker-loading) {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
padding: 2.5rem 0;
|
|
105
|
+
}
|
|
99
106
|
|
|
100
|
-
.
|
|
101
|
-
:global(.byline-field-relation-picker-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
+
.error,
|
|
108
|
+
:global(.byline-field-relation-picker-error) {
|
|
109
|
+
padding: 2.5rem 1rem;
|
|
110
|
+
color: var(--red-500);
|
|
111
|
+
font-size: var(--font-size-sm);
|
|
112
|
+
text-align: center;
|
|
113
|
+
}
|
|
107
114
|
|
|
108
|
-
.
|
|
109
|
-
:global(.byline-field-relation-picker-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
.empty,
|
|
116
|
+
:global(.byline-field-relation-picker-empty) {
|
|
117
|
+
padding: 2.5rem 1rem;
|
|
118
|
+
color: var(--gray-400);
|
|
119
|
+
font-size: var(--font-size-sm);
|
|
120
|
+
text-align: center;
|
|
121
|
+
}
|
|
114
122
|
|
|
115
|
-
.rows
|
|
116
|
-
:global(.byline-field-relation-picker-rows)
|
|
117
|
-
|
|
118
|
-
|
|
123
|
+
.rows,
|
|
124
|
+
:global(.byline-field-relation-picker-rows) {
|
|
125
|
+
margin: 0;
|
|
126
|
+
padding: 0;
|
|
127
|
+
list-style: none;
|
|
128
|
+
}
|
|
119
129
|
|
|
120
|
-
.
|
|
121
|
-
:global(.byline-field-relation-picker-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
border: none;
|
|
125
|
-
background: none;
|
|
126
|
-
text-align: left;
|
|
127
|
-
color: inherit;
|
|
128
|
-
cursor: pointer;
|
|
129
|
-
transition: background-color 150ms ease;
|
|
130
|
-
}
|
|
130
|
+
.rows > li + li,
|
|
131
|
+
:global(.byline-field-relation-picker-rows) > li + li {
|
|
132
|
+
border-top: var(--border-width-thin) var(--border-style-solid) var(--gray-700);
|
|
133
|
+
}
|
|
131
134
|
|
|
132
|
-
.row-button
|
|
133
|
-
:global(.byline-field-relation-picker-row-button)
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
.row-button,
|
|
136
|
+
:global(.byline-field-relation-picker-row-button) {
|
|
137
|
+
width: 100%;
|
|
138
|
+
padding: var(--spacing-8) 0.75rem;
|
|
139
|
+
border: none;
|
|
140
|
+
background: none;
|
|
141
|
+
text-align: left;
|
|
142
|
+
color: inherit;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
transition: background-color 150ms ease;
|
|
145
|
+
}
|
|
136
146
|
|
|
137
|
-
.row-
|
|
138
|
-
:global(.byline-field-relation-picker-row-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
147
|
+
.row-button:hover,
|
|
148
|
+
:global(.byline-field-relation-picker-row-button):hover {
|
|
149
|
+
background-color: var(--gray-25);
|
|
150
|
+
}
|
|
142
151
|
|
|
143
|
-
|
|
144
|
-
.row-
|
|
145
|
-
:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
gap: 0.625rem;
|
|
149
|
-
}
|
|
152
|
+
.row-selected,
|
|
153
|
+
:global(.byline-field-relation-picker-row-selected) {
|
|
154
|
+
background-color: oklch(from var(--primary-200) l c h / 0.3);
|
|
155
|
+
border-left: 2px solid var(--primary-200);
|
|
156
|
+
}
|
|
150
157
|
|
|
151
|
-
.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
height: 16px;
|
|
159
|
-
border: 1px solid var(--gray-400);
|
|
160
|
-
border-radius: 4px;
|
|
161
|
-
color: transparent;
|
|
162
|
-
}
|
|
158
|
+
/* Multi-select mode: rows lay out check indicator + content + trailing hint. */
|
|
159
|
+
.row-multi,
|
|
160
|
+
:global(.byline-field-relation-picker-row-multi) {
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
gap: 0.625rem;
|
|
164
|
+
}
|
|
163
165
|
|
|
164
|
-
.check
|
|
165
|
-
:global(.byline-field-relation-picker-check
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
.check,
|
|
167
|
+
:global(.byline-field-relation-picker-check) {
|
|
168
|
+
flex: none;
|
|
169
|
+
display: inline-flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
width: 16px;
|
|
173
|
+
height: 16px;
|
|
174
|
+
border: 1px solid var(--gray-400);
|
|
175
|
+
border-radius: 4px;
|
|
176
|
+
color: transparent;
|
|
177
|
+
}
|
|
170
178
|
|
|
171
|
-
|
|
172
|
-
.
|
|
173
|
-
:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
179
|
+
.check-checked,
|
|
180
|
+
:global(.byline-field-relation-picker-check-checked) {
|
|
181
|
+
background-color: var(--primary-200);
|
|
182
|
+
border-color: var(--primary-200);
|
|
183
|
+
color: #fff;
|
|
184
|
+
}
|
|
177
185
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
/* Already-added rows: inert, dimmed, no hover affordance. */
|
|
187
|
+
.row-added,
|
|
188
|
+
:global(.byline-field-relation-picker-row-added) {
|
|
189
|
+
opacity: 0.55;
|
|
190
|
+
cursor: default;
|
|
191
|
+
}
|
|
182
192
|
|
|
183
|
-
.added
|
|
184
|
-
:global(.byline-field-relation-picker-added
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
color: var(--gray-500);
|
|
188
|
-
font-size: var(--font-size-xs);
|
|
189
|
-
white-space: nowrap;
|
|
190
|
-
}
|
|
193
|
+
.row-added:hover,
|
|
194
|
+
:global(.byline-field-relation-picker-row-added):hover {
|
|
195
|
+
background-color: transparent;
|
|
196
|
+
}
|
|
191
197
|
|
|
192
|
-
.
|
|
193
|
-
:global(.byline-field-relation-picker-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
+
.added-hint,
|
|
199
|
+
:global(.byline-field-relation-picker-added-hint) {
|
|
200
|
+
margin-left: auto;
|
|
201
|
+
flex: none;
|
|
202
|
+
color: var(--gray-500);
|
|
203
|
+
font-size: var(--font-size-xs);
|
|
204
|
+
white-space: nowrap;
|
|
205
|
+
}
|
|
198
206
|
|
|
199
|
-
.row-
|
|
200
|
-
:global(.byline-field-relation-picker-row-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
207
|
+
.row-cells,
|
|
208
|
+
:global(.byline-field-relation-picker-row-cells) {
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: 0.75rem;
|
|
212
|
+
}
|
|
205
213
|
|
|
206
|
-
.row-
|
|
207
|
-
:global(.byline-field-relation-picker-row-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
white-space: nowrap;
|
|
213
|
-
}
|
|
214
|
+
.row-stack,
|
|
215
|
+
:global(.byline-field-relation-picker-row-stack) {
|
|
216
|
+
display: flex;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
gap: 0.125rem;
|
|
219
|
+
}
|
|
214
220
|
|
|
215
|
-
.row-
|
|
216
|
-
:global(.byline-field-relation-picker-row-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
221
|
+
.row-label,
|
|
222
|
+
:global(.byline-field-relation-picker-row-label) {
|
|
223
|
+
color: var(--gray-100);
|
|
224
|
+
font-size: var(--font-size-sm);
|
|
225
|
+
overflow: hidden;
|
|
226
|
+
text-overflow: ellipsis;
|
|
227
|
+
white-space: nowrap;
|
|
228
|
+
}
|
|
223
229
|
|
|
224
|
-
.
|
|
225
|
-
:global(.byline-field-relation-picker-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
230
|
+
.row-path,
|
|
231
|
+
:global(.byline-field-relation-picker-row-path) {
|
|
232
|
+
color: var(--gray-500);
|
|
233
|
+
font-size: var(--font-size-xs);
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
text-overflow: ellipsis;
|
|
236
|
+
white-space: nowrap;
|
|
237
|
+
}
|
|
232
238
|
|
|
233
|
-
.
|
|
234
|
-
:global(.byline-field-relation-picker-
|
|
235
|
-
|
|
236
|
-
|
|
239
|
+
.pager,
|
|
240
|
+
:global(.byline-field-relation-picker-pager) {
|
|
241
|
+
display: flex;
|
|
242
|
+
align-items: center;
|
|
243
|
+
justify-content: space-between;
|
|
244
|
+
color: var(--gray-400);
|
|
245
|
+
font-size: var(--font-size-xs);
|
|
246
|
+
}
|
|
237
247
|
|
|
238
|
-
|
|
239
|
-
.
|
|
240
|
-
|
|
241
|
-
background-color: var(--gray-900);
|
|
248
|
+
.action,
|
|
249
|
+
:global(.byline-field-relation-picker-action) {
|
|
250
|
+
min-width: 70px;
|
|
242
251
|
}
|
|
243
252
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
253
|
+
:is([data-theme="dark"], :global(.dark)) {
|
|
254
|
+
.row-button:hover,
|
|
255
|
+
:global(.byline-field-relation-picker-row-button):hover {
|
|
256
|
+
background-color: var(--gray-900);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.row-selected,
|
|
260
|
+
:global(.byline-field-relation-picker-row-selected) {
|
|
261
|
+
background-color: oklch(from var(--primary-900) l c h / 0.3);
|
|
262
|
+
border-left: 2px solid var(--primary-400);
|
|
263
|
+
}
|
|
248
264
|
}
|
|
249
265
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* RelationSummary — selected-value tile for the relation field widget.
|
|
3
17
|
*
|
|
@@ -11,45 +25,47 @@
|
|
|
11
25
|
* .byline-relation-summary-missing — added to the value when target is unresolved
|
|
12
26
|
*/
|
|
13
27
|
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
28
|
+
@layer byline-components.cms {
|
|
29
|
+
.stack,
|
|
30
|
+
:global(.byline-relation-summary-stack) {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 0.125rem;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
}
|
|
21
36
|
|
|
22
|
-
.row,
|
|
23
|
-
:global(.byline-relation-summary-row) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
37
|
+
.row,
|
|
38
|
+
:global(.byline-relation-summary-row) {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 0.75rem;
|
|
42
|
+
min-width: 0;
|
|
43
|
+
}
|
|
29
44
|
|
|
30
|
-
.kind,
|
|
31
|
-
:global(.byline-relation-summary-kind) {
|
|
32
|
-
|
|
33
|
-
}
|
|
45
|
+
.kind,
|
|
46
|
+
:global(.byline-relation-summary-kind) {
|
|
47
|
+
color: var(--gray-500);
|
|
48
|
+
}
|
|
34
49
|
|
|
35
|
-
.value,
|
|
36
|
-
:global(.byline-relation-summary-value) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
50
|
+
.value,
|
|
51
|
+
:global(.byline-relation-summary-value) {
|
|
52
|
+
color: var(--gray-100);
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
42
57
|
|
|
43
|
-
.value-mono,
|
|
44
|
-
:global(.byline-relation-summary-value-mono) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
58
|
+
.value-mono,
|
|
59
|
+
:global(.byline-relation-summary-value-mono) {
|
|
60
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
text-overflow: ellipsis;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
}
|
|
50
65
|
|
|
51
|
-
.missing,
|
|
52
|
-
:global(.byline-relation-summary-missing) {
|
|
53
|
-
|
|
54
|
-
|
|
66
|
+
.missing,
|
|
67
|
+
:global(.byline-relation-summary-missing) {
|
|
68
|
+
font-size: var(--font-size-xs);
|
|
69
|
+
color: var(--red-400);
|
|
70
|
+
}
|
|
55
71
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* SelectField — dropdown form widget.
|
|
3
17
|
*
|
|
@@ -7,12 +21,14 @@
|
|
|
7
21
|
* field has unsaved local changes
|
|
8
22
|
*/
|
|
9
23
|
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
24
|
+
@layer byline-components.cms {
|
|
25
|
+
.label,
|
|
26
|
+
:global(.byline-field-select-label) {
|
|
27
|
+
margin-bottom: 0.25rem;
|
|
28
|
+
}
|
|
14
29
|
|
|
15
|
-
.dirty,
|
|
16
|
-
:global(.byline-field-select-dirty) {
|
|
17
|
-
|
|
30
|
+
.dirty,
|
|
31
|
+
:global(.byline-field-select-dirty) {
|
|
32
|
+
border-color: var(--blue-300);
|
|
33
|
+
}
|
|
18
34
|
}
|