@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
|
* AnalyticsDashboard — the installation-level analytics page.
|
|
3
17
|
*
|
|
@@ -22,378 +36,380 @@
|
|
|
22
36
|
* Amber is deliberately unused here: it already means "draft".
|
|
23
37
|
*/
|
|
24
38
|
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
@layer byline-components.cms {
|
|
40
|
+
.header,
|
|
41
|
+
:global(.byline-analytics-header) {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: flex-end;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
gap: 1rem 1.5rem;
|
|
46
|
+
flex-wrap: wrap;
|
|
47
|
+
margin-bottom: 1.25rem;
|
|
48
|
+
padding-bottom: 1rem;
|
|
49
|
+
border-bottom: var(--border-width-thin) var(--border-style-solid) var(--gray-200);
|
|
50
|
+
}
|
|
36
51
|
|
|
37
|
-
.title,
|
|
38
|
-
:global(.byline-analytics-title) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
52
|
+
.title,
|
|
53
|
+
:global(.byline-analytics-title) {
|
|
54
|
+
margin: 0;
|
|
55
|
+
font-size: 1.875rem;
|
|
56
|
+
font-weight: 650;
|
|
57
|
+
letter-spacing: -0.02em;
|
|
58
|
+
}
|
|
44
59
|
|
|
45
|
-
.help,
|
|
46
|
-
:global(.byline-analytics-help) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
60
|
+
.help,
|
|
61
|
+
:global(.byline-analytics-help) {
|
|
62
|
+
max-width: 48ch;
|
|
63
|
+
margin: 0.35rem 0 0;
|
|
64
|
+
font-size: 0.8125rem;
|
|
65
|
+
}
|
|
51
66
|
|
|
52
|
-
/* `Card.Title` defaults to 1.8rem bold — larger than this page's own heading,
|
|
67
|
+
/* `Card.Title` defaults to 1.8rem bold — larger than this page's own heading,
|
|
53
68
|
which inverted the hierarchy. Bring the section titles below the h1 while
|
|
54
69
|
keeping them clearly headings. Scoped to the analytics cards so no other
|
|
55
70
|
Card consumer shifts. */
|
|
56
|
-
.chartCard :global(.byline-card-title),
|
|
57
|
-
.list :global(.byline-card-title) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
71
|
+
.chartCard :global(.byline-card-title),
|
|
72
|
+
.list :global(.byline-card-title) {
|
|
73
|
+
font-size: 1.25rem;
|
|
74
|
+
font-weight: 600;
|
|
75
|
+
letter-spacing: normal;
|
|
76
|
+
}
|
|
62
77
|
|
|
63
|
-
.chartCard :global(.byline-card-description),
|
|
64
|
-
.list :global(.byline-card-description) {
|
|
65
|
-
|
|
66
|
-
}
|
|
78
|
+
.chartCard :global(.byline-card-description),
|
|
79
|
+
.list :global(.byline-card-description) {
|
|
80
|
+
font-size: 0.75rem;
|
|
81
|
+
}
|
|
67
82
|
|
|
68
|
-
.controls,
|
|
69
|
-
:global(.byline-analytics-controls) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
83
|
+
.controls,
|
|
84
|
+
:global(.byline-analytics-controls) {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
gap: 0.75rem;
|
|
88
|
+
flex-wrap: wrap;
|
|
89
|
+
}
|
|
75
90
|
|
|
76
|
-
/* ── Metric tiles ──────────────────────────────────────────────────── */
|
|
91
|
+
/* ── Metric tiles ──────────────────────────────────────────────────── */
|
|
77
92
|
|
|
78
|
-
.stats,
|
|
79
|
-
:global(.byline-analytics-stats) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
93
|
+
.stats,
|
|
94
|
+
:global(.byline-analytics-stats) {
|
|
95
|
+
display: grid;
|
|
96
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
97
|
+
gap: 0.75rem;
|
|
98
|
+
margin-bottom: 0.75rem;
|
|
99
|
+
}
|
|
85
100
|
|
|
86
|
-
.stat,
|
|
87
|
-
:global(.byline-analytics-stat) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
101
|
+
.stat,
|
|
102
|
+
:global(.byline-analytics-stat) {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
gap: 0.5rem;
|
|
106
|
+
min-width: 0;
|
|
107
|
+
padding: 1rem 1.125rem 1.125rem;
|
|
108
|
+
border-radius: 0.375rem;
|
|
109
|
+
}
|
|
95
110
|
|
|
96
|
-
.statLabel,
|
|
97
|
-
:global(.byline-analytics-stat-label) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
111
|
+
.statLabel,
|
|
112
|
+
:global(.byline-analytics-stat-label) {
|
|
113
|
+
font-size: 0.625rem;
|
|
114
|
+
font-weight: 600;
|
|
115
|
+
text-transform: uppercase;
|
|
116
|
+
letter-spacing: 0.1em;
|
|
117
|
+
line-height: 1;
|
|
118
|
+
}
|
|
104
119
|
|
|
105
|
-
.statValue,
|
|
106
|
-
:global(.byline-analytics-stat-value) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
120
|
+
.statValue,
|
|
121
|
+
:global(.byline-analytics-stat-value) {
|
|
122
|
+
font-size: clamp(1.75rem, 4.5vw, 2.5rem);
|
|
123
|
+
font-weight: 700;
|
|
124
|
+
font-variant-numeric: tabular-nums;
|
|
125
|
+
line-height: 1;
|
|
126
|
+
letter-spacing: -0.02em;
|
|
127
|
+
}
|
|
113
128
|
|
|
114
|
-
.statFoot,
|
|
115
|
-
:global(.byline-analytics-stat-foot) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
129
|
+
.statFoot,
|
|
130
|
+
:global(.byline-analytics-stat-foot) {
|
|
131
|
+
font-size: 0.6875rem;
|
|
132
|
+
font-variant-numeric: tabular-nums;
|
|
133
|
+
color: var(--gray-600);
|
|
134
|
+
}
|
|
120
135
|
|
|
121
|
-
.toneViews {
|
|
122
|
-
|
|
123
|
-
}
|
|
136
|
+
.toneViews {
|
|
137
|
+
background-color: #f0f9ff;
|
|
138
|
+
}
|
|
124
139
|
|
|
125
|
-
.toneViews .statLabel,
|
|
126
|
-
.toneViews .statValue {
|
|
127
|
-
|
|
128
|
-
}
|
|
140
|
+
.toneViews .statLabel,
|
|
141
|
+
.toneViews .statValue {
|
|
142
|
+
color: #0369a1;
|
|
143
|
+
}
|
|
129
144
|
|
|
130
|
-
.toneVisitors {
|
|
131
|
-
|
|
132
|
-
}
|
|
145
|
+
.toneVisitors {
|
|
146
|
+
background-color: #f5f3ff;
|
|
147
|
+
}
|
|
133
148
|
|
|
134
|
-
.toneVisitors .statLabel,
|
|
135
|
-
.toneVisitors .statValue {
|
|
136
|
-
|
|
137
|
-
}
|
|
149
|
+
.toneVisitors .statLabel,
|
|
150
|
+
.toneVisitors .statValue {
|
|
151
|
+
color: #6d28d9;
|
|
152
|
+
}
|
|
138
153
|
|
|
139
|
-
.toneDownloads {
|
|
140
|
-
|
|
141
|
-
}
|
|
154
|
+
.toneDownloads {
|
|
155
|
+
background-color: #ecfdf5;
|
|
156
|
+
}
|
|
142
157
|
|
|
143
|
-
.toneDownloads .statLabel,
|
|
144
|
-
.toneDownloads .statValue {
|
|
145
|
-
|
|
146
|
-
}
|
|
158
|
+
.toneDownloads .statLabel,
|
|
159
|
+
.toneDownloads .statValue {
|
|
160
|
+
color: #047857;
|
|
161
|
+
}
|
|
147
162
|
|
|
148
|
-
:is([data-theme="dark"], :global(.dark)) .statFoot,
|
|
149
|
-
:is([data-theme="dark"], :global(.dark)) :global(.byline-analytics-stat-foot) {
|
|
150
|
-
|
|
151
|
-
}
|
|
163
|
+
:is([data-theme="dark"], :global(.dark)) .statFoot,
|
|
164
|
+
:is([data-theme="dark"], :global(.dark)) :global(.byline-analytics-stat-foot) {
|
|
165
|
+
color: var(--gray-400);
|
|
166
|
+
}
|
|
152
167
|
|
|
153
|
-
:is([data-theme="dark"], :global(.dark)) .toneViews {
|
|
154
|
-
|
|
155
|
-
}
|
|
168
|
+
:is([data-theme="dark"], :global(.dark)) .toneViews {
|
|
169
|
+
background-color: rgba(12, 74, 110, 0.28);
|
|
170
|
+
}
|
|
156
171
|
|
|
157
|
-
:is([data-theme="dark"], :global(.dark)) .toneViews .statLabel,
|
|
158
|
-
:is([data-theme="dark"], :global(.dark)) .toneViews .statValue {
|
|
159
|
-
|
|
160
|
-
}
|
|
172
|
+
:is([data-theme="dark"], :global(.dark)) .toneViews .statLabel,
|
|
173
|
+
:is([data-theme="dark"], :global(.dark)) .toneViews .statValue {
|
|
174
|
+
color: #7dd3fc;
|
|
175
|
+
}
|
|
161
176
|
|
|
162
|
-
:is([data-theme="dark"], :global(.dark)) .toneVisitors {
|
|
163
|
-
|
|
164
|
-
}
|
|
177
|
+
:is([data-theme="dark"], :global(.dark)) .toneVisitors {
|
|
178
|
+
background-color: rgba(76, 29, 149, 0.3);
|
|
179
|
+
}
|
|
165
180
|
|
|
166
|
-
:is([data-theme="dark"], :global(.dark)) .toneVisitors .statLabel,
|
|
167
|
-
:is([data-theme="dark"], :global(.dark)) .toneVisitors .statValue {
|
|
168
|
-
|
|
169
|
-
}
|
|
181
|
+
:is([data-theme="dark"], :global(.dark)) .toneVisitors .statLabel,
|
|
182
|
+
:is([data-theme="dark"], :global(.dark)) .toneVisitors .statValue {
|
|
183
|
+
color: #c4b5fd;
|
|
184
|
+
}
|
|
170
185
|
|
|
171
|
-
:is([data-theme="dark"], :global(.dark)) .toneDownloads {
|
|
172
|
-
|
|
173
|
-
}
|
|
186
|
+
:is([data-theme="dark"], :global(.dark)) .toneDownloads {
|
|
187
|
+
background-color: rgba(6, 78, 59, 0.28);
|
|
188
|
+
}
|
|
174
189
|
|
|
175
|
-
:is([data-theme="dark"], :global(.dark)) .toneDownloads .statLabel,
|
|
176
|
-
:is([data-theme="dark"], :global(.dark)) .toneDownloads .statValue {
|
|
177
|
-
|
|
178
|
-
}
|
|
190
|
+
:is([data-theme="dark"], :global(.dark)) .toneDownloads .statLabel,
|
|
191
|
+
:is([data-theme="dark"], :global(.dark)) .toneDownloads .statValue {
|
|
192
|
+
color: #6ee7b7;
|
|
193
|
+
}
|
|
179
194
|
|
|
180
|
-
/* ── Lists ─────────────────────────────────────────────────────────── */
|
|
195
|
+
/* ── Lists ─────────────────────────────────────────────────────────── */
|
|
181
196
|
|
|
182
|
-
.chartCard,
|
|
183
|
-
:global(.byline-analytics-chart-card) {
|
|
184
|
-
|
|
185
|
-
}
|
|
197
|
+
.chartCard,
|
|
198
|
+
:global(.byline-analytics-chart-card) {
|
|
199
|
+
margin-bottom: 0.75rem;
|
|
200
|
+
}
|
|
186
201
|
|
|
187
|
-
/* Top pages is the list people actually read, so it takes the wide track. */
|
|
188
|
-
.lists,
|
|
189
|
-
:global(.byline-analytics-lists) {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
202
|
+
/* Top pages is the list people actually read, so it takes the wide track. */
|
|
203
|
+
.lists,
|
|
204
|
+
:global(.byline-analytics-lists) {
|
|
205
|
+
display: grid;
|
|
206
|
+
grid-template-columns: 1.55fr 1fr;
|
|
207
|
+
align-items: start;
|
|
208
|
+
gap: 0.75rem;
|
|
209
|
+
margin-bottom: 0.75rem;
|
|
210
|
+
}
|
|
196
211
|
|
|
197
|
-
.stack {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
212
|
+
.stack {
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-direction: column;
|
|
215
|
+
gap: 0.75rem;
|
|
216
|
+
}
|
|
202
217
|
|
|
203
|
-
.ranking,
|
|
204
|
-
:global(.byline-analytics-ranking) {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
218
|
+
.ranking,
|
|
219
|
+
:global(.byline-analytics-ranking) {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
gap: 1px;
|
|
223
|
+
padding: 0;
|
|
224
|
+
margin: 0;
|
|
225
|
+
list-style: none;
|
|
226
|
+
}
|
|
212
227
|
|
|
213
|
-
.rankingRow,
|
|
214
|
-
:global(.byline-analytics-ranking-row) {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
228
|
+
.rankingRow,
|
|
229
|
+
:global(.byline-analytics-ranking-row) {
|
|
230
|
+
position: relative;
|
|
231
|
+
display: grid;
|
|
232
|
+
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
233
|
+
align-items: center;
|
|
234
|
+
gap: 0.75rem;
|
|
235
|
+
padding: 0.45rem 0.625rem;
|
|
236
|
+
border-radius: 0.25rem;
|
|
237
|
+
/* The row paints its own stacking context so the share bar can sit behind
|
|
223
238
|
the text without escaping to the card background. */
|
|
224
|
-
|
|
225
|
-
}
|
|
239
|
+
isolation: isolate;
|
|
240
|
+
}
|
|
226
241
|
|
|
227
|
-
.rankingRow::before {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}
|
|
242
|
+
.rankingRow::before {
|
|
243
|
+
content: "";
|
|
244
|
+
position: absolute;
|
|
245
|
+
inset: 0 auto 0 0;
|
|
246
|
+
z-index: -1;
|
|
247
|
+
width: var(--byline-analytics-share, 0%);
|
|
248
|
+
border-radius: 0.25rem;
|
|
249
|
+
background-color: var(--byline-analytics-bar, transparent);
|
|
250
|
+
opacity: 0.16;
|
|
251
|
+
}
|
|
237
252
|
|
|
238
|
-
.barViews {
|
|
239
|
-
|
|
240
|
-
}
|
|
253
|
+
.barViews {
|
|
254
|
+
--byline-analytics-bar: #38bdf8;
|
|
255
|
+
}
|
|
241
256
|
|
|
242
|
-
.barVisitors {
|
|
243
|
-
|
|
244
|
-
}
|
|
257
|
+
.barVisitors {
|
|
258
|
+
--byline-analytics-bar: #7c3aed;
|
|
259
|
+
}
|
|
245
260
|
|
|
246
|
-
.barDownloads {
|
|
247
|
-
|
|
248
|
-
}
|
|
261
|
+
.barDownloads {
|
|
262
|
+
--byline-analytics-bar: #10b981;
|
|
263
|
+
}
|
|
249
264
|
|
|
250
|
-
/* The reserved overflow bucket is an aggregate, not a page — a dashed rule
|
|
265
|
+
/* The reserved overflow bucket is an aggregate, not a page — a dashed rule
|
|
251
266
|
and muted label keep it from reading as traffic to a real path. */
|
|
252
|
-
.rankingOverflow {
|
|
253
|
-
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.rankingOverflow::before {
|
|
257
|
-
opacity: 0.07;
|
|
258
|
-
}
|
|
267
|
+
.rankingOverflow {
|
|
268
|
+
border: var(--border-width-thin) dashed var(--gray-300);
|
|
269
|
+
}
|
|
259
270
|
|
|
260
|
-
.rankingOverflow
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}
|
|
271
|
+
.rankingOverflow::before {
|
|
272
|
+
opacity: 0.07;
|
|
273
|
+
}
|
|
264
274
|
|
|
265
|
-
.rankingLabel {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
text-overflow: ellipsis;
|
|
270
|
-
white-space: nowrap;
|
|
271
|
-
}
|
|
275
|
+
.rankingOverflow .rankingLabel {
|
|
276
|
+
font-style: italic;
|
|
277
|
+
color: var(--gray-600);
|
|
278
|
+
}
|
|
272
279
|
|
|
273
|
-
.
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
280
|
+
.rankingLabel {
|
|
281
|
+
overflow: hidden;
|
|
282
|
+
min-width: 0;
|
|
283
|
+
font-size: 0.8125rem;
|
|
284
|
+
text-overflow: ellipsis;
|
|
285
|
+
white-space: nowrap;
|
|
286
|
+
}
|
|
278
287
|
|
|
279
|
-
.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
color: var(--gray-500);
|
|
285
|
-
}
|
|
288
|
+
.rankingValue {
|
|
289
|
+
font-size: 0.8125rem;
|
|
290
|
+
font-weight: 600;
|
|
291
|
+
font-variant-numeric: tabular-nums;
|
|
292
|
+
}
|
|
286
293
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
294
|
+
.rankingVisitors {
|
|
295
|
+
min-width: 3ch;
|
|
296
|
+
font-size: 0.6875rem;
|
|
297
|
+
font-variant-numeric: tabular-nums;
|
|
298
|
+
text-align: end;
|
|
299
|
+
color: var(--gray-500);
|
|
300
|
+
}
|
|
291
301
|
|
|
292
|
-
:is([data-theme="dark"], :global(.dark)) .
|
|
293
|
-
|
|
294
|
-
|
|
302
|
+
:is([data-theme="dark"], :global(.dark)) .header,
|
|
303
|
+
:is([data-theme="dark"], :global(.dark)) :global(.byline-analytics-header) {
|
|
304
|
+
border-bottom-color: var(--gray-700);
|
|
305
|
+
}
|
|
295
306
|
|
|
296
|
-
:is([data-theme="dark"], :global(.dark)) .
|
|
297
|
-
|
|
298
|
-
}
|
|
307
|
+
:is([data-theme="dark"], :global(.dark)) .rankingVisitors {
|
|
308
|
+
color: var(--gray-400);
|
|
309
|
+
}
|
|
299
310
|
|
|
300
|
-
:is([data-theme="dark"], :global(.dark)) .rankingOverflow
|
|
301
|
-
|
|
302
|
-
}
|
|
311
|
+
:is([data-theme="dark"], :global(.dark)) .rankingOverflow {
|
|
312
|
+
border-color: var(--gray-600);
|
|
313
|
+
}
|
|
303
314
|
|
|
304
|
-
:is([data-theme="dark"], :global(.dark)) .
|
|
305
|
-
|
|
306
|
-
}
|
|
315
|
+
:is([data-theme="dark"], :global(.dark)) .rankingOverflow .rankingLabel {
|
|
316
|
+
color: var(--gray-400);
|
|
317
|
+
}
|
|
307
318
|
|
|
308
|
-
:is([data-theme="dark"], :global(.dark)) .
|
|
309
|
-
|
|
310
|
-
}
|
|
319
|
+
:is([data-theme="dark"], :global(.dark)) .barVisitors {
|
|
320
|
+
--byline-analytics-bar: #a78bfa;
|
|
321
|
+
}
|
|
311
322
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
:global(.byline-analytics-lists) {
|
|
315
|
-
grid-template-columns: 1fr;
|
|
323
|
+
:is([data-theme="dark"], :global(.dark)) .barDownloads {
|
|
324
|
+
--byline-analytics-bar: #34d399;
|
|
316
325
|
}
|
|
317
|
-
}
|
|
318
326
|
|
|
319
|
-
@media (max-width:
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
327
|
+
@media (max-width: 900px) {
|
|
328
|
+
.lists,
|
|
329
|
+
:global(.byline-analytics-lists) {
|
|
330
|
+
grid-template-columns: 1fr;
|
|
331
|
+
}
|
|
324
332
|
}
|
|
325
333
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
334
|
+
@media (max-width: 720px) {
|
|
335
|
+
.header,
|
|
336
|
+
:global(.byline-analytics-header) {
|
|
337
|
+
align-items: stretch;
|
|
338
|
+
flex-direction: column;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.stats,
|
|
342
|
+
:global(.byline-analytics-stats) {
|
|
343
|
+
grid-template-columns: 1fr;
|
|
344
|
+
}
|
|
329
345
|
}
|
|
330
|
-
}
|
|
331
346
|
|
|
332
|
-
/* ── Preview cap and full-list modal ───────────────────────────────── */
|
|
347
|
+
/* ── Preview cap and full-list modal ───────────────────────────────── */
|
|
333
348
|
|
|
334
|
-
/* The header carries the "View all" action beside the title so the card's
|
|
349
|
+
/* The header carries the "View all" action beside the title so the card's
|
|
335
350
|
body stays a plain ranking. */
|
|
336
|
-
.listHeader,
|
|
337
|
-
:global(.byline-analytics-list-header) {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
}
|
|
351
|
+
.listHeader,
|
|
352
|
+
:global(.byline-analytics-list-header) {
|
|
353
|
+
display: flex;
|
|
354
|
+
align-items: flex-start;
|
|
355
|
+
justify-content: space-between;
|
|
356
|
+
gap: 0.75rem;
|
|
357
|
+
}
|
|
343
358
|
|
|
344
|
-
.listHeading {
|
|
345
|
-
|
|
346
|
-
}
|
|
359
|
+
.listHeading {
|
|
360
|
+
min-width: 0;
|
|
361
|
+
}
|
|
347
362
|
|
|
348
|
-
.viewAll,
|
|
349
|
-
:global(.byline-analytics-view-all) {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
363
|
+
.viewAll,
|
|
364
|
+
:global(.byline-analytics-view-all) {
|
|
365
|
+
flex-shrink: 0;
|
|
366
|
+
white-space: nowrap;
|
|
367
|
+
}
|
|
353
368
|
|
|
354
|
-
.modal,
|
|
355
|
-
:global(.byline-analytics-modal) {
|
|
356
|
-
|
|
357
|
-
}
|
|
369
|
+
.modal,
|
|
370
|
+
:global(.byline-analytics-modal) {
|
|
371
|
+
width: min(40rem, calc(100vw - 2rem));
|
|
372
|
+
}
|
|
358
373
|
|
|
359
|
-
.modalCaption,
|
|
360
|
-
:global(.byline-analytics-modal-caption) {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
}
|
|
374
|
+
.modalCaption,
|
|
375
|
+
:global(.byline-analytics-modal-caption) {
|
|
376
|
+
margin: 0.25rem 0 0;
|
|
377
|
+
font-size: 0.75rem;
|
|
378
|
+
font-variant-numeric: tabular-nums;
|
|
379
|
+
}
|
|
365
380
|
|
|
366
|
-
/* Twenty-five rows exceed a short viewport; the content scrolls inside the
|
|
381
|
+
/* Twenty-five rows exceed a short viewport; the content scrolls inside the
|
|
367
382
|
dialog so the pager and close action stay reachable. */
|
|
368
|
-
.modalContent,
|
|
369
|
-
:global(.byline-analytics-modal-content) {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
383
|
+
.modalContent,
|
|
384
|
+
:global(.byline-analytics-modal-content) {
|
|
385
|
+
max-height: min(60vh, 48rem);
|
|
386
|
+
overflow-y: auto;
|
|
387
|
+
}
|
|
373
388
|
|
|
374
|
-
.modalStatus {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}
|
|
389
|
+
.modalStatus {
|
|
390
|
+
display: flex;
|
|
391
|
+
justify-content: center;
|
|
392
|
+
padding: 2rem 0;
|
|
393
|
+
}
|
|
379
394
|
|
|
380
|
-
.modalActions,
|
|
381
|
-
:global(.byline-analytics-modal-actions) {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}
|
|
395
|
+
.modalActions,
|
|
396
|
+
:global(.byline-analytics-modal-actions) {
|
|
397
|
+
display: flex;
|
|
398
|
+
align-items: center;
|
|
399
|
+
justify-content: space-between;
|
|
400
|
+
gap: 0.75rem;
|
|
401
|
+
flex-wrap: wrap;
|
|
402
|
+
}
|
|
388
403
|
|
|
389
|
-
.srOnly {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
404
|
+
.srOnly {
|
|
405
|
+
position: absolute;
|
|
406
|
+
width: 1px;
|
|
407
|
+
height: 1px;
|
|
408
|
+
padding: 0;
|
|
409
|
+
margin: -1px;
|
|
410
|
+
overflow: hidden;
|
|
411
|
+
clip: rect(0, 0, 0, 0);
|
|
412
|
+
white-space: nowrap;
|
|
413
|
+
border: 0;
|
|
414
|
+
}
|
|
399
415
|
}
|