@byline/admin 6.10.0 → 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
|
* FileField — metadata tile + remove/upload affordances for arbitrary file
|
|
3
17
|
* uploads (non-image). Mirrors `image-field.module.css` structurally; the
|
|
@@ -18,136 +32,138 @@
|
|
|
18
32
|
* .byline-field-file-meta-pending — yellow text inside pending status
|
|
19
33
|
*/
|
|
20
34
|
|
|
21
|
-
.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
:global(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
35
|
+
@layer byline-components.cms {
|
|
36
|
+
.header,
|
|
37
|
+
:global(.byline-field-file-header) {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: baseline;
|
|
40
|
+
gap: var(--spacing-8);
|
|
41
|
+
margin-bottom: 0.25rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.actions,
|
|
45
|
+
:global(.byline-field-file-actions) {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: var(--spacing-6);
|
|
48
|
+
right: var(--spacing-6);
|
|
49
|
+
z-index: 1;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: var(--spacing-4);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:global(.byline-field-file-actions .byline-button) {
|
|
56
|
+
color: var(--gray-900);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:global(.dark .byline-field-file-actions .byline-button),
|
|
60
|
+
:global([data-theme="dark"] .byline-field-file-actions .byline-button) {
|
|
61
|
+
color: var(--gray-200);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.empty,
|
|
65
|
+
:global(.byline-field-file-empty) {
|
|
66
|
+
color: var(--gray-500);
|
|
67
|
+
font-size: var(--font-size-xs);
|
|
68
|
+
font-style: italic;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.tile,
|
|
72
|
+
:global(.byline-field-file-tile) {
|
|
73
|
+
position: relative;
|
|
74
|
+
display: flex;
|
|
75
|
+
gap: var(--spacing-16);
|
|
76
|
+
margin-top: 0.25rem;
|
|
77
|
+
padding: var(--spacing-8);
|
|
78
|
+
border: var(--border-width-thin) var(--border-style-solid) var(--primary-500);
|
|
79
|
+
border-radius: var(--border-radius-md);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.uploading,
|
|
83
|
+
:global(.byline-field-file-uploading) {
|
|
84
|
+
position: absolute;
|
|
85
|
+
inset: 0;
|
|
86
|
+
z-index: 2;
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
background-color: oklch(from var(--gray-950) l c h / 0.5);
|
|
91
|
+
border-radius: var(--border-radius-md);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.icon-wrap,
|
|
95
|
+
:global(.byline-field-file-icon-wrap) {
|
|
96
|
+
position: relative;
|
|
97
|
+
flex-shrink: 0;
|
|
98
|
+
align-self: flex-start;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
width: 4rem;
|
|
103
|
+
height: 4rem;
|
|
104
|
+
border: var(--border-width-thin) var(--border-style-solid) var(--gray-600);
|
|
105
|
+
border-radius: var(--border-radius-sm);
|
|
106
|
+
color: var(--gray-300);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Interactive affordance when the wrap is rendered as a link
|
|
95
110
|
(file is stored — clicking opens the asset in a new tab). */
|
|
96
|
-
a.icon-wrap,
|
|
97
|
-
:global(a.byline-field-file-icon-wrap) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
a.icon-wrap:hover,
|
|
106
|
-
:global(a.byline-field-file-icon-wrap):hover {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
a.icon-wrap:focus-visible,
|
|
112
|
-
:global(a.byline-field-file-icon-wrap):focus-visible {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.icon,
|
|
118
|
-
:global(.byline-field-file-icon) {
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.pending,
|
|
123
|
-
:global(.byline-field-file-pending) {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.meta,
|
|
136
|
-
:global(.byline-field-file-meta) {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.meta-key,
|
|
146
|
-
:global(.byline-field-file-meta-key) {
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.meta-pending,
|
|
151
|
-
:global(.byline-field-file-meta-pending) {
|
|
152
|
-
|
|
111
|
+
a.icon-wrap,
|
|
112
|
+
:global(a.byline-field-file-icon-wrap) {
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
text-decoration: none;
|
|
115
|
+
transition:
|
|
116
|
+
border-color 120ms ease,
|
|
117
|
+
color 120ms ease;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
a.icon-wrap:hover,
|
|
121
|
+
:global(a.byline-field-file-icon-wrap):hover {
|
|
122
|
+
border-color: var(--primary-500);
|
|
123
|
+
color: var(--primary-400);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
a.icon-wrap:focus-visible,
|
|
127
|
+
:global(a.byline-field-file-icon-wrap):focus-visible {
|
|
128
|
+
outline: 2px solid var(--primary-500);
|
|
129
|
+
outline-offset: 2px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.icon,
|
|
133
|
+
:global(.byline-field-file-icon) {
|
|
134
|
+
opacity: 0.85;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.pending,
|
|
138
|
+
:global(.byline-field-file-pending) {
|
|
139
|
+
position: absolute;
|
|
140
|
+
top: 0.25rem;
|
|
141
|
+
left: 0.25rem;
|
|
142
|
+
padding: 0.125rem 0.375rem;
|
|
143
|
+
background-color: oklch(from var(--yellow-600) l c h / 0.9);
|
|
144
|
+
color: var(--yellow-100);
|
|
145
|
+
font-size: 0.6rem;
|
|
146
|
+
font-weight: var(--font-weight-medium);
|
|
147
|
+
border-radius: var(--border-radius-sm);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.meta,
|
|
151
|
+
:global(.byline-field-file-meta) {
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
gap: 0.125rem;
|
|
155
|
+
padding-right: var(--spacing-32);
|
|
156
|
+
color: var(--gray-200);
|
|
157
|
+
font-size: var(--font-size-xs);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.meta-key,
|
|
161
|
+
:global(.byline-field-file-meta-key) {
|
|
162
|
+
font-weight: var(--font-weight-semibold);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.meta-pending,
|
|
166
|
+
:global(.byline-field-file-meta-pending) {
|
|
167
|
+
color: var(--yellow-400);
|
|
168
|
+
}
|
|
153
169
|
}
|
|
@@ -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
|
* FileUploadField — drag-and-drop file picker that registers a deferred
|
|
3
17
|
* upload in form context.
|
|
@@ -14,88 +28,90 @@
|
|
|
14
28
|
* .byline-field-file-upload-error — error message paragraph
|
|
15
29
|
*/
|
|
16
30
|
|
|
17
|
-
.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
31
|
+
@layer byline-components.cms {
|
|
32
|
+
.root,
|
|
33
|
+
:global(.byline-field-file-upload) {
|
|
34
|
+
margin-top: 0.25rem;
|
|
35
|
+
}
|
|
21
36
|
|
|
22
|
-
.input,
|
|
23
|
-
:global(.byline-field-file-upload-input) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
37
|
+
.input,
|
|
38
|
+
:global(.byline-field-file-upload-input) {
|
|
39
|
+
position: absolute;
|
|
40
|
+
width: 1px;
|
|
41
|
+
height: 1px;
|
|
42
|
+
padding: 0;
|
|
43
|
+
margin: -1px;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
clip: rect(0, 0, 0, 0);
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
border: 0;
|
|
48
|
+
}
|
|
34
49
|
|
|
35
|
-
.zone,
|
|
36
|
-
:global(.byline-field-file-upload-zone) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
50
|
+
.zone,
|
|
51
|
+
:global(.byline-field-file-upload-zone) {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
gap: var(--spacing-8);
|
|
57
|
+
padding: 1.5rem 1rem;
|
|
58
|
+
border: 2px dashed var(--gray-600);
|
|
59
|
+
border-radius: var(--border-radius-lg);
|
|
60
|
+
color: var(--gray-400);
|
|
61
|
+
text-align: center;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
user-select: none;
|
|
64
|
+
transition:
|
|
65
|
+
color 150ms ease,
|
|
66
|
+
background-color 150ms ease,
|
|
67
|
+
border-color 150ms ease;
|
|
68
|
+
}
|
|
54
69
|
|
|
55
|
-
.zone:hover,
|
|
56
|
-
:global(.byline-field-file-upload-zone):hover {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
70
|
+
.zone:hover,
|
|
71
|
+
:global(.byline-field-file-upload-zone):hover {
|
|
72
|
+
border-color: var(--primary-500);
|
|
73
|
+
background-color: oklch(from var(--primary-900) l c h / 0.1);
|
|
74
|
+
}
|
|
60
75
|
|
|
61
|
-
.zone-active,
|
|
62
|
-
:global(.byline-field-file-upload-zone-active) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
76
|
+
.zone-active,
|
|
77
|
+
:global(.byline-field-file-upload-zone-active) {
|
|
78
|
+
border-color: var(--primary-400);
|
|
79
|
+
background-color: oklch(from var(--primary-900) l c h / 0.2);
|
|
80
|
+
color: var(--primary-300);
|
|
81
|
+
}
|
|
67
82
|
|
|
68
|
-
.zone-busy,
|
|
69
|
-
:global(.byline-field-file-upload-zone-busy) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
83
|
+
.zone-busy,
|
|
84
|
+
:global(.byline-field-file-upload-zone-busy) {
|
|
85
|
+
border-color: var(--gray-700);
|
|
86
|
+
background-color: oklch(from var(--canvas-800) l c h / 0.5);
|
|
87
|
+
color: var(--gray-600);
|
|
88
|
+
cursor: not-allowed;
|
|
89
|
+
}
|
|
75
90
|
|
|
76
|
-
.icon,
|
|
77
|
-
:global(.byline-field-file-upload-icon) {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
91
|
+
.icon,
|
|
92
|
+
:global(.byline-field-file-upload-icon) {
|
|
93
|
+
width: 1.75rem;
|
|
94
|
+
height: 1.75rem;
|
|
95
|
+
opacity: 0.6;
|
|
96
|
+
}
|
|
82
97
|
|
|
83
|
-
.label,
|
|
84
|
-
:global(.byline-field-file-upload-label) {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
98
|
+
.label,
|
|
99
|
+
:global(.byline-field-file-upload-label) {
|
|
100
|
+
font-size: var(--font-size-xs);
|
|
101
|
+
font-weight: var(--font-weight-medium);
|
|
102
|
+
}
|
|
88
103
|
|
|
89
|
-
.action,
|
|
90
|
-
:global(.byline-field-file-upload-action) {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
104
|
+
.action,
|
|
105
|
+
:global(.byline-field-file-upload-action) {
|
|
106
|
+
color: var(--primary-400);
|
|
107
|
+
text-decoration: underline;
|
|
108
|
+
text-underline-offset: 2px;
|
|
109
|
+
}
|
|
95
110
|
|
|
96
|
-
.error,
|
|
97
|
-
:global(.byline-field-file-upload-error) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
111
|
+
.error,
|
|
112
|
+
:global(.byline-field-file-upload-error) {
|
|
113
|
+
margin-top: 0.375rem;
|
|
114
|
+
color: var(--red-400);
|
|
115
|
+
font-size: var(--font-size-xs);
|
|
116
|
+
}
|
|
101
117
|
}
|
|
@@ -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
|
* GroupField — fixed-order group of child fields.
|
|
3
17
|
*
|
|
@@ -10,34 +24,36 @@
|
|
|
10
24
|
* .byline-field-group-body — vertical stack of children
|
|
11
25
|
*/
|
|
12
26
|
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
27
|
+
@layer byline-components.cms {
|
|
28
|
+
.header,
|
|
29
|
+
:global(.byline-field-group-header) {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: 0.125rem;
|
|
33
|
+
margin-bottom: var(--spacing-8);
|
|
34
|
+
}
|
|
20
35
|
|
|
21
|
-
.title,
|
|
22
|
-
:global(.byline-field-group-title) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
36
|
+
.title,
|
|
37
|
+
:global(.byline-field-group-title) {
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
font-weight: var(--font-weight-medium);
|
|
40
|
+
}
|
|
26
41
|
|
|
27
|
-
.required,
|
|
28
|
-
:global(.byline-field-group-required) {
|
|
29
|
-
|
|
30
|
-
}
|
|
42
|
+
.required,
|
|
43
|
+
:global(.byline-field-group-required) {
|
|
44
|
+
color: var(--red-500);
|
|
45
|
+
}
|
|
31
46
|
|
|
32
|
-
.help,
|
|
33
|
-
:global(.byline-field-group-help) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
47
|
+
.help,
|
|
48
|
+
:global(.byline-field-group-help) {
|
|
49
|
+
color: var(--gray-500);
|
|
50
|
+
font-size: var(--font-size-xs);
|
|
51
|
+
}
|
|
37
52
|
|
|
38
|
-
.body,
|
|
39
|
-
:global(.byline-field-group-body) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
53
|
+
.body,
|
|
54
|
+
:global(.byline-field-group-body) {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
gap: var(--spacing-8);
|
|
58
|
+
}
|
|
43
59
|
}
|