@byline/admin 6.10.1 → 6.12.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
|
* PathWidget — system-managed `documentVersions.path` form widget.
|
|
3
17
|
*
|
|
@@ -8,34 +22,36 @@
|
|
|
8
22
|
* .byline-form-path-sr-only — visually-hidden screen-reader hint
|
|
9
23
|
*/
|
|
10
24
|
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
@layer byline-components.cms {
|
|
26
|
+
.header,
|
|
27
|
+
:global(.byline-form-path-header) {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
gap: var(--spacing-8);
|
|
32
|
+
}
|
|
18
33
|
|
|
19
|
-
.regenerate,
|
|
20
|
-
:global(.byline-form-path-regenerate) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
34
|
+
.regenerate,
|
|
35
|
+
:global(.byline-form-path-regenerate) {
|
|
36
|
+
background: none;
|
|
37
|
+
border: none;
|
|
38
|
+
padding: 0;
|
|
39
|
+
color: inherit;
|
|
40
|
+
font-size: 0.8rem;
|
|
41
|
+
text-decoration: underline;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
29
44
|
|
|
30
|
-
.sr-only,
|
|
31
|
-
:global(.byline-form-path-sr-only) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
.sr-only,
|
|
46
|
+
:global(.byline-form-path-sr-only) {
|
|
47
|
+
position: absolute;
|
|
48
|
+
width: 1px;
|
|
49
|
+
height: 1px;
|
|
50
|
+
padding: 0;
|
|
51
|
+
margin: -1px;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
clip: rect(0, 0, 0, 0);
|
|
54
|
+
white-space: nowrap;
|
|
55
|
+
border: 0;
|
|
56
|
+
}
|
|
41
57
|
}
|
|
@@ -1,3 +1,15 @@
|
|
|
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
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
1
13
|
/**
|
|
2
14
|
* Scheduled publication — editor surfaces.
|
|
3
15
|
*
|
|
@@ -8,142 +20,143 @@
|
|
|
8
20
|
* .byline-scheduled-publication-notice — needs-reconfirm / overdue Alert
|
|
9
21
|
* .byline-scheduled-publication-notice-actions — that Alert's action row
|
|
10
22
|
*/
|
|
11
|
-
|
|
12
|
-
/* ---------------------------------------------------------------------------
|
|
23
|
+
@layer byline-components.cms {
|
|
24
|
+
/* ---------------------------------------------------------------------------
|
|
13
25
|
Status-bar cell — deliberately matches .byline-form-status-cell so an armed
|
|
14
26
|
schedule reads as one more fact about the document, not as a control.
|
|
15
27
|
--------------------------------------------------------------------------- */
|
|
16
28
|
|
|
17
|
-
/* Sits inside the status cell, continuing the line that starts "Status: Draft".
|
|
29
|
+
/* Sits inside the status cell, continuing the line that starts "Status: Draft".
|
|
18
30
|
The success colour carries the meaning: among facts reporting what the
|
|
19
31
|
document already is, this is the one reporting what it is about to do.
|
|
20
32
|
`--text-success` is defined for both themes, so no dark-mode override.
|
|
21
33
|
|
|
22
34
|
Wraps rather than ellipsizing — the instant and its IANA zone are the whole
|
|
23
35
|
message, and half a zone name is worse than a second line. */
|
|
24
|
-
.cell {
|
|
25
|
-
|
|
36
|
+
.cell {
|
|
37
|
+
/* Own line while the meta row is stacked. Sharing one line with the status
|
|
26
38
|
value at narrow widths starved it — the ellipsis fell on "Draft" itself,
|
|
27
39
|
which is the last thing that should be abbreviated. */
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
40
|
+
flex-basis: 100%;
|
|
41
|
+
color: var(--text-success);
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
overflow-wrap: anywhere;
|
|
44
|
+
white-space: normal;
|
|
45
|
+
}
|
|
34
46
|
|
|
35
|
-
@media (min-width: 66rem) {
|
|
36
|
-
|
|
47
|
+
@media (min-width: 66rem) {
|
|
48
|
+
/* Once the meta row lays out horizontally there is room to sit on the same
|
|
37
49
|
line as the status, continuing its sentence. */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
50
|
+
.cell {
|
|
51
|
+
flex-basis: auto;
|
|
52
|
+
margin-left: var(--spacing-4);
|
|
53
|
+
}
|
|
42
54
|
|
|
43
|
-
|
|
55
|
+
/* When the phrase runs to a second line, "Status: Draft" belongs level with
|
|
44
56
|
its first line — centring leaves the label floating against the middle of
|
|
45
57
|
a two-line block. Scoped with :has so the timestamp cells, which never
|
|
46
58
|
wrap, keep their existing alignment. */
|
|
47
|
-
|
|
48
|
-
|
|
59
|
+
:global(.byline-form-status-cell):has(> .cell) {
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
}
|
|
49
62
|
}
|
|
50
|
-
}
|
|
51
63
|
|
|
52
|
-
/* ---------------------------------------------------------------------------
|
|
64
|
+
/* ---------------------------------------------------------------------------
|
|
53
65
|
Notice — the escalated states. Sits below the sticky status bar, full width.
|
|
54
66
|
--------------------------------------------------------------------------- */
|
|
55
67
|
|
|
56
|
-
.notice {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
68
|
+
.notice {
|
|
69
|
+
margin-top: var(--spacing-8);
|
|
70
|
+
margin-bottom: var(--spacing-8);
|
|
71
|
+
}
|
|
60
72
|
|
|
61
|
-
.notice-body,
|
|
62
|
-
.notice-instant,
|
|
63
|
-
.notice-attempts,
|
|
64
|
-
.notice-error {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
73
|
+
.notice-body,
|
|
74
|
+
.notice-instant,
|
|
75
|
+
.notice-attempts,
|
|
76
|
+
.notice-error {
|
|
77
|
+
margin: 0 0 var(--spacing-4);
|
|
78
|
+
font-size: var(--font-size-sm);
|
|
79
|
+
}
|
|
68
80
|
|
|
69
|
-
.notice-instant {
|
|
70
|
-
|
|
71
|
-
}
|
|
81
|
+
.notice-instant {
|
|
82
|
+
font-weight: 600;
|
|
83
|
+
}
|
|
72
84
|
|
|
73
|
-
.notice-attempts {
|
|
74
|
-
|
|
75
|
-
}
|
|
85
|
+
.notice-attempts {
|
|
86
|
+
color: var(--gray-500);
|
|
87
|
+
}
|
|
76
88
|
|
|
77
|
-
.notice-error {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
89
|
+
.notice-error {
|
|
90
|
+
font-family: var(--font-family-mono, monospace);
|
|
91
|
+
overflow-wrap: anywhere;
|
|
92
|
+
}
|
|
81
93
|
|
|
82
|
-
.notice-actions {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
94
|
+
.notice-actions {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-wrap: wrap;
|
|
97
|
+
align-items: center;
|
|
98
|
+
gap: var(--spacing-8);
|
|
99
|
+
margin-top: var(--spacing-8);
|
|
100
|
+
}
|
|
89
101
|
|
|
90
|
-
/* ---------------------------------------------------------------------------
|
|
102
|
+
/* ---------------------------------------------------------------------------
|
|
91
103
|
Schedule / reschedule modal
|
|
92
104
|
--------------------------------------------------------------------------- */
|
|
93
105
|
|
|
94
|
-
.modalHead {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
106
|
+
.modalHead {
|
|
107
|
+
padding-top: 1rem;
|
|
108
|
+
margin-bottom: var(--spacing-8);
|
|
109
|
+
}
|
|
98
110
|
|
|
99
|
-
.modalTitle {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
111
|
+
.modalTitle {
|
|
112
|
+
margin: 0 0 var(--spacing-8) 0;
|
|
113
|
+
font-size: var(--font-size-2xl);
|
|
114
|
+
}
|
|
103
115
|
|
|
104
|
-
.field {
|
|
105
|
-
|
|
106
|
-
}
|
|
116
|
+
.field {
|
|
117
|
+
display: block;
|
|
118
|
+
}
|
|
107
119
|
|
|
108
|
-
.help,
|
|
109
|
-
.validation,
|
|
110
|
-
.warningText {
|
|
111
|
-
|
|
112
|
-
}
|
|
120
|
+
.help,
|
|
121
|
+
.validation,
|
|
122
|
+
.warningText {
|
|
123
|
+
font-size: var(--font-size-sm);
|
|
124
|
+
}
|
|
113
125
|
|
|
114
|
-
/* Belongs to the field above it — the zone qualifies every time shown in the
|
|
126
|
+
/* Belongs to the field above it — the zone qualifies every time shown in the
|
|
115
127
|
picker, so it sits tight under the input and reads at full strength rather
|
|
116
128
|
than as an aside. */
|
|
117
|
-
.help {
|
|
118
|
-
|
|
119
|
-
}
|
|
129
|
+
.help {
|
|
130
|
+
margin: var(--spacing-4) 0 0;
|
|
131
|
+
}
|
|
120
132
|
|
|
121
|
-
/* Standing guidance, not a warning about anything that has happened yet, so it
|
|
133
|
+
/* Standing guidance, not a warning about anything that has happened yet, so it
|
|
122
134
|
is muted rather than claiming an alert colour. */
|
|
123
|
-
.warningText {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
135
|
+
.warningText {
|
|
136
|
+
margin: var(--spacing-12) 0 0;
|
|
137
|
+
color: var(--gray-500);
|
|
138
|
+
}
|
|
127
139
|
|
|
128
|
-
.validation {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
140
|
+
.validation {
|
|
141
|
+
margin: var(--spacing-8) 0 0;
|
|
142
|
+
color: var(--red-600);
|
|
143
|
+
}
|
|
132
144
|
|
|
133
|
-
.choice {
|
|
134
|
-
|
|
135
|
-
}
|
|
145
|
+
.choice {
|
|
146
|
+
margin-top: var(--spacing-12);
|
|
147
|
+
}
|
|
136
148
|
|
|
137
|
-
/* The offset chooser only appears for a daylight-saving overlap, and its two
|
|
149
|
+
/* The offset chooser only appears for a daylight-saving overlap, and its two
|
|
138
150
|
options carry the whole decision — give it room to show them rather than
|
|
139
151
|
collapsing to a bare chevron. */
|
|
140
|
-
.choice-select {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
152
|
+
.choice-select {
|
|
153
|
+
min-width: 16rem;
|
|
154
|
+
max-width: 100%;
|
|
155
|
+
}
|
|
144
156
|
|
|
145
|
-
:is([data-theme="dark"], :global(.dark)) {
|
|
146
|
-
|
|
147
|
-
|
|
157
|
+
:is([data-theme="dark"], :global(.dark)) {
|
|
158
|
+
.validation {
|
|
159
|
+
color: var(--red-400, #f87171);
|
|
160
|
+
}
|
|
148
161
|
}
|
|
149
162
|
}
|
|
@@ -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
|
* TreePlacementWidget — sidebar widget for placing a document within its
|
|
3
17
|
* collection's single-parent tree (the `tree: true` primitive).
|
|
@@ -10,78 +24,80 @@
|
|
|
10
24
|
* .byline-form-tree-error — inline error
|
|
11
25
|
*/
|
|
12
26
|
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
27
|
+
@layer byline-components.cms {
|
|
28
|
+
.tree,
|
|
29
|
+
:global(.byline-form-tree) {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: var(--spacing-8);
|
|
33
|
+
}
|
|
19
34
|
|
|
20
|
-
.heading,
|
|
21
|
-
:global(.byline-form-tree-heading) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
35
|
+
.heading,
|
|
36
|
+
:global(.byline-form-tree-heading) {
|
|
37
|
+
font-size: 0.875rem;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
}
|
|
25
40
|
|
|
26
|
-
.current,
|
|
27
|
-
:global(.byline-form-tree-current) {
|
|
28
|
-
|
|
29
|
-
}
|
|
41
|
+
.current,
|
|
42
|
+
:global(.byline-form-tree-current) {
|
|
43
|
+
font-size: 0.875rem;
|
|
44
|
+
}
|
|
30
45
|
|
|
31
|
-
.parentLabel {
|
|
32
|
-
|
|
33
|
-
}
|
|
46
|
+
.parentLabel {
|
|
47
|
+
color: var(--gray-500);
|
|
48
|
+
}
|
|
34
49
|
|
|
35
|
-
.parentValue {
|
|
36
|
-
|
|
37
|
-
}
|
|
50
|
+
.parentValue {
|
|
51
|
+
font-weight: 500;
|
|
52
|
+
}
|
|
38
53
|
|
|
39
|
-
.root {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
54
|
+
.root {
|
|
55
|
+
font-style: italic;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
color: var(--gray-500);
|
|
58
|
+
}
|
|
44
59
|
|
|
45
|
-
.actions,
|
|
46
|
-
:global(.byline-form-tree-actions) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
60
|
+
.actions,
|
|
61
|
+
:global(.byline-form-tree-actions) {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
flex-wrap: wrap;
|
|
65
|
+
gap: 0.75rem;
|
|
66
|
+
}
|
|
52
67
|
|
|
53
|
-
.link,
|
|
54
|
-
:global(.byline-form-tree-link) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
68
|
+
.link,
|
|
69
|
+
:global(.byline-form-tree-link) {
|
|
70
|
+
background: none;
|
|
71
|
+
border: none;
|
|
72
|
+
padding: 0;
|
|
73
|
+
color: inherit;
|
|
74
|
+
font-size: 0.8rem;
|
|
75
|
+
text-decoration: underline;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
63
78
|
|
|
64
|
-
.link:disabled,
|
|
65
|
-
:global(.byline-form-tree-link):disabled {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
79
|
+
.link:disabled,
|
|
80
|
+
:global(.byline-form-tree-link):disabled {
|
|
81
|
+
opacity: 0.5;
|
|
82
|
+
cursor: default;
|
|
83
|
+
}
|
|
69
84
|
|
|
70
|
-
.error,
|
|
71
|
-
:global(.byline-form-tree-error) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
85
|
+
.error,
|
|
86
|
+
:global(.byline-form-tree-error) {
|
|
87
|
+
margin: 0;
|
|
88
|
+
font-size: 0.8rem;
|
|
89
|
+
color: var(--danger-600, #c0392b);
|
|
90
|
+
}
|
|
76
91
|
|
|
77
|
-
.sr-only {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
92
|
+
.sr-only {
|
|
93
|
+
position: absolute;
|
|
94
|
+
width: 1px;
|
|
95
|
+
height: 1px;
|
|
96
|
+
padding: 0;
|
|
97
|
+
margin: -1px;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
clip: rect(0, 0, 0, 0);
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
border: 0;
|
|
102
|
+
}
|
|
87
103
|
}
|
|
@@ -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
|
* ChangeAccountPassword — self-service password-change form (drawer body).
|
|
3
17
|
*
|
|
@@ -8,33 +22,35 @@
|
|
|
8
22
|
* .byline-account-change-password-action — buttons in the actions row
|
|
9
23
|
*/
|
|
10
24
|
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
@layer byline-components.cms {
|
|
26
|
+
.wrap,
|
|
27
|
+
:global(.byline-account-change-password-wrap) {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: var(--spacing-8);
|
|
31
|
+
padding: var(--spacing-4);
|
|
32
|
+
margin-top: var(--spacing-4);
|
|
33
|
+
}
|
|
19
34
|
|
|
20
|
-
.form,
|
|
21
|
-
:global(.byline-account-change-password-form) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
35
|
+
.form,
|
|
36
|
+
:global(.byline-account-change-password-form) {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: var(--spacing-16);
|
|
40
|
+
padding-top: var(--spacing-8);
|
|
41
|
+
}
|
|
27
42
|
|
|
28
|
-
.actions,
|
|
29
|
-
:global(.byline-account-change-password-actions) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
43
|
+
.actions,
|
|
44
|
+
:global(.byline-account-change-password-actions) {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: flex-end;
|
|
48
|
+
gap: var(--spacing-8);
|
|
49
|
+
margin-top: var(--spacing-16);
|
|
50
|
+
}
|
|
36
51
|
|
|
37
|
-
.action,
|
|
38
|
-
:global(.byline-account-change-password-action) {
|
|
39
|
-
|
|
52
|
+
.action,
|
|
53
|
+
:global(.byline-account-change-password-action) {
|
|
54
|
+
min-width: 4rem;
|
|
55
|
+
}
|
|
40
56
|
}
|