@blinkk/root-cms 1.0.0-beta.8 → 1.0.0-rc.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/app.js +93 -136
- package/dist/cli.js +21 -26
- package/dist/core.d.ts +81 -6
- package/dist/core.js +180 -17
- package/dist/functions.d.ts +13 -0
- package/dist/functions.js +250 -0
- package/dist/plugin.d.ts +20 -3
- package/dist/plugin.js +375 -34
- package/dist/project.d.ts +1 -1
- package/dist/project.js +1 -1
- package/dist/{schema-e7beb758.d.ts → schema-49de9659.d.ts} +70 -48
- package/dist/ui/signin.css +10 -3
- package/dist/ui/signin.js +646 -649
- package/dist/ui/ui.css +525 -192
- package/dist/ui/ui.js +7973 -5177
- package/package.json +38 -20
package/dist/ui/ui.css
CHANGED
|
@@ -1,50 +1,268 @@
|
|
|
1
|
-
/* ui/components/
|
|
2
|
-
.
|
|
1
|
+
/* ui/components/Text/Text.css */
|
|
2
|
+
.text {
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
line-height: 1.5;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
color: var(--color-text-default);
|
|
7
|
+
}
|
|
8
|
+
.text.size\:body-sm {
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
}
|
|
11
|
+
.text.size\:body {
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
}
|
|
14
|
+
.text.size\:body-lg {
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
}
|
|
17
|
+
.text.weight\:regular {
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
}
|
|
20
|
+
.text.weight\:semi-bold {
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
}
|
|
23
|
+
.text.weight\:bold {
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
}
|
|
26
|
+
.text.color\:gray {
|
|
27
|
+
color: var(--color-text-gray);
|
|
28
|
+
}
|
|
29
|
+
.text.color\:dark {
|
|
30
|
+
color: var(--color-text-dark);
|
|
31
|
+
}
|
|
32
|
+
.text code {
|
|
33
|
+
background: #efefef;
|
|
34
|
+
padding: 4px 8px;
|
|
35
|
+
border-radius: 2px;
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
font-family: var(--font-family-mono);
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
margin-left: 4px;
|
|
40
|
+
margin-right: 4px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* ui/components/SlugInput/SlugInput.css */
|
|
44
|
+
.SlugInput__inputs {
|
|
3
45
|
display: flex;
|
|
4
|
-
|
|
46
|
+
gap: 8px;
|
|
47
|
+
align-items: center;
|
|
5
48
|
}
|
|
6
|
-
.
|
|
7
|
-
flex:
|
|
8
|
-
width: 3px;
|
|
9
|
-
height: 100%;
|
|
10
|
-
cursor: col-resize;
|
|
11
|
-
position: relative;
|
|
49
|
+
.SlugInput__slug {
|
|
50
|
+
flex: 1;
|
|
12
51
|
}
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
display: block;
|
|
16
|
-
z-index: 0;
|
|
17
|
-
position: absolute;
|
|
18
|
-
top: 0;
|
|
19
|
-
height: 100%;
|
|
20
|
-
left: 1px;
|
|
21
|
-
width: 1px;
|
|
22
|
-
background-color: var(--color-border);
|
|
52
|
+
.SlugInput__urlHelp {
|
|
53
|
+
margin-top: 8px;
|
|
23
54
|
}
|
|
24
|
-
.
|
|
25
|
-
content: "";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
55
|
+
.SlugInput__urlHelp::before {
|
|
56
|
+
content: "URL: ";
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ui/components/CopyDocModal/CopyDocModal.css */
|
|
60
|
+
.CopyDocModal__from__label,
|
|
61
|
+
.CopyDocModal__to__label {
|
|
62
|
+
margin-bottom: 8px;
|
|
63
|
+
}
|
|
64
|
+
.CopyDocModal__from__value code {
|
|
65
|
+
margin-left: 0;
|
|
66
|
+
}
|
|
67
|
+
.CopyDocModal__to {
|
|
68
|
+
margin-top: 16px;
|
|
69
|
+
}
|
|
70
|
+
.CopyDocModal__error {
|
|
71
|
+
margin: 24px 0;
|
|
72
|
+
font-size: 14px;
|
|
73
|
+
color: red;
|
|
74
|
+
font-weight: 600;
|
|
75
|
+
}
|
|
76
|
+
.CopyDocModal__buttons {
|
|
77
|
+
margin-top: 24px;
|
|
78
|
+
display: flex;
|
|
79
|
+
justify-content: flex-end;
|
|
80
|
+
gap: 12px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* ui/components/EditJsonModal/EditJsonModal.css */
|
|
84
|
+
.EditJsonModal__buttons {
|
|
85
|
+
margin-top: 24px;
|
|
86
|
+
display: flex;
|
|
87
|
+
justify-content: flex-end;
|
|
88
|
+
gap: 12px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ui/components/Heading/Heading.css */
|
|
92
|
+
.heading {
|
|
93
|
+
font-size: 18px;
|
|
94
|
+
line-height: 1.2;
|
|
95
|
+
font-weight: 700;
|
|
96
|
+
margin-top: 0;
|
|
97
|
+
margin-bottom: 0;
|
|
98
|
+
}
|
|
99
|
+
.heading.size\:h1 {
|
|
100
|
+
font-size: 24px;
|
|
101
|
+
}
|
|
102
|
+
.heading.size\:h2 {
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
}
|
|
105
|
+
.heading.size\:h3 {
|
|
106
|
+
font-size: 16px;
|
|
107
|
+
}
|
|
108
|
+
.heading.size\:h4 {
|
|
109
|
+
font-size: 14px;
|
|
110
|
+
}
|
|
111
|
+
.heading.weight\:regular {
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
}
|
|
114
|
+
.heading.weight\:semi-bold {
|
|
115
|
+
font-weight: 500;
|
|
116
|
+
}
|
|
117
|
+
.heading.weight\:bold {
|
|
118
|
+
font-weight: 700;
|
|
119
|
+
}
|
|
120
|
+
.heading.color\:gray {
|
|
121
|
+
color: var(--color-text-gray);
|
|
122
|
+
}
|
|
123
|
+
.heading.color\:dark {
|
|
124
|
+
color: var(--color-text-dark);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* ui/components/LocalizationModal/LocalizationModal.css */
|
|
128
|
+
.LocalizationModal .mantine-Modal-modal {
|
|
129
|
+
padding: 30px 40px;
|
|
130
|
+
}
|
|
131
|
+
.LocalizationModal__layout {
|
|
132
|
+
display: grid;
|
|
133
|
+
grid-template-columns: 400px 1fr;
|
|
134
|
+
margin-top: -20px;
|
|
135
|
+
margin-bottom: 20px;
|
|
136
|
+
}
|
|
137
|
+
.LocalizationModal__iconTitle {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: 8px;
|
|
141
|
+
}
|
|
142
|
+
.LocalizationModal__locales,
|
|
143
|
+
.LocalizationModal__translations {
|
|
30
144
|
height: 100%;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
145
|
+
min-height: 400px;
|
|
146
|
+
padding-top: 30px;
|
|
147
|
+
padding-bottom: 30px;
|
|
148
|
+
}
|
|
149
|
+
.LocalizationModal__locales {
|
|
150
|
+
padding-right: 30px;
|
|
151
|
+
}
|
|
152
|
+
.LocalizationModal__translations {
|
|
153
|
+
border-left: 1px solid var(--color-border);
|
|
154
|
+
padding-left: 30px;
|
|
155
|
+
margin-right: -30px;
|
|
156
|
+
padding-right: 30px;
|
|
157
|
+
max-height: 80vh;
|
|
158
|
+
overflow: auto;
|
|
35
159
|
}
|
|
36
|
-
.
|
|
37
|
-
|
|
160
|
+
.LocalizationModal__translations__header {
|
|
161
|
+
display: flex;
|
|
162
|
+
justify-content: space-between;
|
|
163
|
+
margin-bottom: 30px;
|
|
38
164
|
}
|
|
39
|
-
.
|
|
40
|
-
|
|
165
|
+
.LocalizationModal__translations__header__buttons {
|
|
166
|
+
display: flex;
|
|
167
|
+
gap: 8px;
|
|
41
168
|
}
|
|
42
|
-
.
|
|
43
|
-
|
|
169
|
+
.LocalizationModal__translations__table {
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-direction: column;
|
|
44
172
|
}
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
173
|
+
.LocalizationModal__translations__table__row {
|
|
174
|
+
display: grid;
|
|
175
|
+
grid-template-columns: 1fr 1fr;
|
|
176
|
+
}
|
|
177
|
+
.LocalizationModal__translations__table__row--header {
|
|
178
|
+
align-items: center;
|
|
179
|
+
}
|
|
180
|
+
.LocalizationModal__translations__table__row + .LocalizationModal__translations__table__row {
|
|
181
|
+
border-top: 1px solid var(--color-border);
|
|
182
|
+
padding-top: 12px;
|
|
183
|
+
margin-top: 12px;
|
|
184
|
+
}
|
|
185
|
+
.LocalizationModal__translations__table__header,
|
|
186
|
+
.LocalizationModal__translations__table__col {
|
|
187
|
+
padding-left: 8px;
|
|
188
|
+
padding-right: 8px;
|
|
189
|
+
text-align: left;
|
|
190
|
+
}
|
|
191
|
+
.LocalizationModal__translations__localeSelect {
|
|
192
|
+
display: flex;
|
|
193
|
+
gap: 8px;
|
|
194
|
+
align-items: center;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* ui/components/PublishDocModal/PublishDocModal.css */
|
|
198
|
+
.PublishDocModal .mantine-Modal-title {
|
|
199
|
+
font-size: 14px;
|
|
200
|
+
font-weight: 500;
|
|
201
|
+
}
|
|
202
|
+
.PublishDocModal__content {
|
|
203
|
+
font-size: 12px;
|
|
204
|
+
line-height: 1.5;
|
|
205
|
+
font-weight: 500;
|
|
206
|
+
}
|
|
207
|
+
.PublishDocModal__form__publishOptions__label {
|
|
208
|
+
margin-bottom: 8px;
|
|
209
|
+
}
|
|
210
|
+
.PublishDocModal__form__publishOptions__options {
|
|
211
|
+
display: grid;
|
|
212
|
+
grid-template-columns: 1fr 1fr;
|
|
213
|
+
gap: 12px;
|
|
214
|
+
}
|
|
215
|
+
.PublishDocModal__form__publishOptions__option {
|
|
216
|
+
border: 1px solid var(--color-border);
|
|
217
|
+
padding: 24px 16px;
|
|
218
|
+
border-radius: 4px;
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
opacity: 1;
|
|
221
|
+
transition: all 0.3s ease;
|
|
222
|
+
}
|
|
223
|
+
.PublishDocModal__form__publishOptions__option--unselected {
|
|
224
|
+
opacity: 0.4;
|
|
225
|
+
}
|
|
226
|
+
.PublishDocModal__form__publishOptions__option--unselected:hover {
|
|
227
|
+
opacity: 0.6;
|
|
228
|
+
}
|
|
229
|
+
.PublishDocModal__form__publishOptions__option--selected {
|
|
230
|
+
border-color: #339af0;
|
|
231
|
+
}
|
|
232
|
+
.PublishDocModal__form__publishOptions__option__help {
|
|
233
|
+
padding-left: 24px;
|
|
234
|
+
font-size: 10px;
|
|
235
|
+
font-weight: 400;
|
|
236
|
+
margin-top: 4px;
|
|
237
|
+
}
|
|
238
|
+
.PublishDocModal__form__publishOptions__option__input {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: 4px;
|
|
242
|
+
}
|
|
243
|
+
.PublishDocModal__form__publishOptions__option__input2 {
|
|
244
|
+
padding-left: 20px;
|
|
245
|
+
}
|
|
246
|
+
.PublishDocModal__form__publishOptions__option__input2 input {
|
|
247
|
+
margin-top: 16px;
|
|
248
|
+
display: block;
|
|
249
|
+
width: 100%;
|
|
250
|
+
border: 1px solid #dedede;
|
|
251
|
+
padding: 6px 8px;
|
|
252
|
+
font-family: inherit;
|
|
253
|
+
font-size: 12px;
|
|
254
|
+
}
|
|
255
|
+
.PublishDocModal__form__publishOptions__option__input2__help {
|
|
256
|
+
font-size: 10px;
|
|
257
|
+
font-weight: 400;
|
|
258
|
+
margin-top: 4px;
|
|
259
|
+
text-align: right;
|
|
260
|
+
}
|
|
261
|
+
.PublishDocModal__form__buttons {
|
|
262
|
+
margin-top: 24px;
|
|
263
|
+
display: flex;
|
|
264
|
+
justify-content: flex-end;
|
|
265
|
+
gap: 12px;
|
|
48
266
|
}
|
|
49
267
|
|
|
50
268
|
/* ui/layout/Layout.css */
|
|
@@ -145,6 +363,54 @@
|
|
|
145
363
|
grid-area: bottom;
|
|
146
364
|
}
|
|
147
365
|
|
|
366
|
+
/* ui/pages/AssetsPage/AssetsPage.css */
|
|
367
|
+
.AssetsPage {
|
|
368
|
+
padding: 60px;
|
|
369
|
+
}
|
|
370
|
+
.AssetsPage h1 {
|
|
371
|
+
margin-bottom: 24px;
|
|
372
|
+
}
|
|
373
|
+
.AssetsPage p {
|
|
374
|
+
margin-top: 16px;
|
|
375
|
+
max-width: 70ch;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/* ui/components/VersionHistoryModal/VersionHistoryModal.css */
|
|
379
|
+
.VersionHistoryModal {
|
|
380
|
+
margin-top: -30px;
|
|
381
|
+
padding: 10px;
|
|
382
|
+
}
|
|
383
|
+
.VersionHistoryModal__title {
|
|
384
|
+
display: flex;
|
|
385
|
+
align-items: center;
|
|
386
|
+
gap: 8px;
|
|
387
|
+
}
|
|
388
|
+
.VersionHistoryModal__docId {
|
|
389
|
+
margin-top: 8px;
|
|
390
|
+
}
|
|
391
|
+
.VersionHistoryModal__docId code {
|
|
392
|
+
background: #efefef;
|
|
393
|
+
padding: 4px 8px;
|
|
394
|
+
border-radius: 4px;
|
|
395
|
+
font-size: 15px;
|
|
396
|
+
line-height: 1;
|
|
397
|
+
font-weight: 600;
|
|
398
|
+
color: #333;
|
|
399
|
+
}
|
|
400
|
+
.VersionHistoryModal__versions {
|
|
401
|
+
margin-top: 20px;
|
|
402
|
+
margin-left: -10px;
|
|
403
|
+
margin-right: -10px;
|
|
404
|
+
}
|
|
405
|
+
.VersionHistoryModal__versionsEmpty {
|
|
406
|
+
margin-top: 20px;
|
|
407
|
+
}
|
|
408
|
+
.VersionHistoryModal__versionsEmpty__developer {
|
|
409
|
+
margin-top: 10px;
|
|
410
|
+
font-style: italic;
|
|
411
|
+
font-size: 12px;
|
|
412
|
+
}
|
|
413
|
+
|
|
148
414
|
/* ui/components/NewDocModal/NewDocModal.css */
|
|
149
415
|
.NewDocModal__body {
|
|
150
416
|
font-size: 12px;
|
|
@@ -161,6 +427,59 @@
|
|
|
161
427
|
gap: 12px;
|
|
162
428
|
}
|
|
163
429
|
|
|
430
|
+
/* ui/components/SplitPanel/SplitPanel.css */
|
|
431
|
+
.SplitPanel {
|
|
432
|
+
display: flex;
|
|
433
|
+
height: 100%;
|
|
434
|
+
}
|
|
435
|
+
.SplitPanel__divider {
|
|
436
|
+
flex: 0 0 3px;
|
|
437
|
+
width: 3px;
|
|
438
|
+
height: 100%;
|
|
439
|
+
cursor: col-resize;
|
|
440
|
+
position: relative;
|
|
441
|
+
}
|
|
442
|
+
.SplitPanel__divider::before {
|
|
443
|
+
content: "";
|
|
444
|
+
display: block;
|
|
445
|
+
z-index: 0;
|
|
446
|
+
position: absolute;
|
|
447
|
+
top: 0;
|
|
448
|
+
height: 100%;
|
|
449
|
+
left: 1px;
|
|
450
|
+
width: 1px;
|
|
451
|
+
background-color: var(--color-border);
|
|
452
|
+
}
|
|
453
|
+
.SplitPanel__divider::after {
|
|
454
|
+
content: "";
|
|
455
|
+
display: block;
|
|
456
|
+
z-index: 1;
|
|
457
|
+
position: absolute;
|
|
458
|
+
top: 0;
|
|
459
|
+
height: 100%;
|
|
460
|
+
left: 0;
|
|
461
|
+
width: 100%;
|
|
462
|
+
background-color: transparent;
|
|
463
|
+
transition: background-color 0.18s ease;
|
|
464
|
+
}
|
|
465
|
+
.SplitPanel__divider:hover::after {
|
|
466
|
+
background-color: lightblue;
|
|
467
|
+
}
|
|
468
|
+
.SplitPanel__item {
|
|
469
|
+
overflow: hidden;
|
|
470
|
+
position: relative;
|
|
471
|
+
}
|
|
472
|
+
.SplitPanel__item.static {
|
|
473
|
+
flex: 0 0 var(--panel-size, 100%);
|
|
474
|
+
}
|
|
475
|
+
.SplitPanel__item.fluid {
|
|
476
|
+
flex: 1;
|
|
477
|
+
}
|
|
478
|
+
.SplitPanel.dragging .SplitPanel__item {
|
|
479
|
+
pointer-events: none;
|
|
480
|
+
user-select: none;
|
|
481
|
+
}
|
|
482
|
+
|
|
164
483
|
/* ui/pages/CollectionPage/CollectionPage.css */
|
|
165
484
|
.CollectionPage__side__title {
|
|
166
485
|
padding: 8px 12px;
|
|
@@ -242,6 +561,11 @@
|
|
|
242
561
|
font-size: 14px;
|
|
243
562
|
font-weight: 500;
|
|
244
563
|
}
|
|
564
|
+
.CollectionPage__collection {
|
|
565
|
+
height: 100%;
|
|
566
|
+
max-height: calc(100% - 48px);
|
|
567
|
+
overflow: auto;
|
|
568
|
+
}
|
|
245
569
|
.CollectionPage__collection__header {
|
|
246
570
|
padding: 12px;
|
|
247
571
|
display: none;
|
|
@@ -312,6 +636,7 @@
|
|
|
312
636
|
align-items: center;
|
|
313
637
|
padding: 8px 0;
|
|
314
638
|
border-top: 1px solid var(--color-border);
|
|
639
|
+
overflow: hidden;
|
|
315
640
|
}
|
|
316
641
|
.CollectionPage__collection__docsList__doc__content {
|
|
317
642
|
display: block;
|
|
@@ -345,6 +670,7 @@
|
|
|
345
670
|
font-weight: 500;
|
|
346
671
|
}
|
|
347
672
|
.CollectionPage__collection__docsList__doc__image {
|
|
673
|
+
border: 1px solid var(--color-border);
|
|
348
674
|
flex-shrink: 0;
|
|
349
675
|
}
|
|
350
676
|
.CollectionPage__collection__docsList__doc__content__title {
|
|
@@ -352,8 +678,9 @@
|
|
|
352
678
|
font-size: 24px;
|
|
353
679
|
font-weight: 600;
|
|
354
680
|
overflow: hidden;
|
|
355
|
-
|
|
356
|
-
|
|
681
|
+
display: -webkit-box;
|
|
682
|
+
-webkit-box-orient: vertical;
|
|
683
|
+
-webkit-line-clamp: 1;
|
|
357
684
|
}
|
|
358
685
|
.CollectionPage__collection__docsList__doc__content__url {
|
|
359
686
|
font-size: 12px;
|
|
@@ -373,79 +700,16 @@
|
|
|
373
700
|
font-weight: 500;
|
|
374
701
|
}
|
|
375
702
|
|
|
376
|
-
/* ui/
|
|
377
|
-
.
|
|
378
|
-
|
|
379
|
-
line-height: 1.2;
|
|
380
|
-
font-weight: 700;
|
|
381
|
-
margin-top: 0;
|
|
382
|
-
margin-bottom: 0;
|
|
383
|
-
}
|
|
384
|
-
.heading.size\:h1 {
|
|
385
|
-
font-size: 24px;
|
|
386
|
-
}
|
|
387
|
-
.heading.size\:h2 {
|
|
388
|
-
font-size: 18px;
|
|
389
|
-
}
|
|
390
|
-
.heading.size\:h3 {
|
|
391
|
-
font-size: 16px;
|
|
392
|
-
}
|
|
393
|
-
.heading.weight\:regular {
|
|
394
|
-
font-weight: 400;
|
|
395
|
-
}
|
|
396
|
-
.heading.weight\:semi-bold {
|
|
397
|
-
font-weight: 500;
|
|
398
|
-
}
|
|
399
|
-
.heading.weight\:bold {
|
|
400
|
-
font-weight: 700;
|
|
401
|
-
}
|
|
402
|
-
.heading.color\:gray {
|
|
403
|
-
color: var(--color-text-gray);
|
|
404
|
-
}
|
|
405
|
-
.heading.color\:dark {
|
|
406
|
-
color: var(--color-text-dark);
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/* ui/components/Text/Text.css */
|
|
410
|
-
.text {
|
|
411
|
-
font-size: 14px;
|
|
412
|
-
line-height: 1.5;
|
|
413
|
-
font-weight: 400;
|
|
414
|
-
color: var(--color-text-default);
|
|
415
|
-
}
|
|
416
|
-
.text.size\:body-sm {
|
|
417
|
-
font-size: 12px;
|
|
418
|
-
}
|
|
419
|
-
.text.size\:body {
|
|
420
|
-
font-size: 14px;
|
|
421
|
-
}
|
|
422
|
-
.text.size\:body-lg {
|
|
423
|
-
font-size: 16px;
|
|
424
|
-
}
|
|
425
|
-
.text.weight\:regular {
|
|
426
|
-
font-weight: 400;
|
|
427
|
-
}
|
|
428
|
-
.text.weight\:semi-bold {
|
|
429
|
-
font-weight: 500;
|
|
430
|
-
}
|
|
431
|
-
.text.weight\:bold {
|
|
432
|
-
font-weight: 700;
|
|
433
|
-
}
|
|
434
|
-
.text.color\:gray {
|
|
435
|
-
color: var(--color-text-gray);
|
|
703
|
+
/* ui/pages/DataPage/DataPage.css */
|
|
704
|
+
.DataPage {
|
|
705
|
+
padding: 60px;
|
|
436
706
|
}
|
|
437
|
-
.
|
|
438
|
-
|
|
707
|
+
.DataPage h1 {
|
|
708
|
+
margin-bottom: 24px;
|
|
439
709
|
}
|
|
440
|
-
.
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
border-radius: 2px;
|
|
444
|
-
white-space: nowrap;
|
|
445
|
-
font-family: var(--font-family-mono);
|
|
446
|
-
font-weight: 600;
|
|
447
|
-
margin-left: 4px;
|
|
448
|
-
margin-right: 4px;
|
|
710
|
+
.DataPage p {
|
|
711
|
+
margin-top: 16px;
|
|
712
|
+
max-width: 70ch;
|
|
449
713
|
}
|
|
450
714
|
|
|
451
715
|
/* ui/components/DocEditor/DocEditor.css */
|
|
@@ -477,6 +741,9 @@
|
|
|
477
741
|
.DocEditor__statusBar__statusBadges {
|
|
478
742
|
margin-right: 16px;
|
|
479
743
|
}
|
|
744
|
+
.DocEditor__statusBar__i18n {
|
|
745
|
+
margin-right: 8px;
|
|
746
|
+
}
|
|
480
747
|
.DocEditor__statusBar__actionsMenu {
|
|
481
748
|
margin-left: 4px;
|
|
482
749
|
}
|
|
@@ -488,6 +755,9 @@
|
|
|
488
755
|
.DocEditor__field__name {
|
|
489
756
|
font-weight: 600;
|
|
490
757
|
}
|
|
758
|
+
.DocEditor__field__help {
|
|
759
|
+
margin-top: 2px;
|
|
760
|
+
}
|
|
491
761
|
.DocEditor__ObjectField__fields {
|
|
492
762
|
display: flex;
|
|
493
763
|
flex-direction: column;
|
|
@@ -600,17 +870,29 @@
|
|
|
600
870
|
flex-direction: column;
|
|
601
871
|
gap: 24px;
|
|
602
872
|
}
|
|
873
|
+
.DocEditor__ImageField {
|
|
874
|
+
padding: 10px;
|
|
875
|
+
margin: -10px;
|
|
876
|
+
}
|
|
877
|
+
.DocEditor__ImageField.dragging {
|
|
878
|
+
outline: 2px dashed black;
|
|
879
|
+
}
|
|
603
880
|
.DocEditor__ImageField__imagePreview {
|
|
604
881
|
margin-bottom: 10px;
|
|
605
882
|
}
|
|
883
|
+
.DocEditor__ImageField__imagePreview__controls {
|
|
884
|
+
display: flex;
|
|
885
|
+
justify-content: flex-end;
|
|
886
|
+
gap: 4px;
|
|
887
|
+
}
|
|
606
888
|
.DocEditor__ImageField__imagePreview__image {
|
|
607
889
|
background: #f5f5f5;
|
|
608
890
|
border: 1px solid #dedede;
|
|
609
891
|
aspect-ratio: 16/9;
|
|
610
892
|
width: 100%;
|
|
611
|
-
overflow: hidden;
|
|
612
893
|
padding: 10px;
|
|
613
894
|
margin-bottom: 10px;
|
|
895
|
+
position: relative;
|
|
614
896
|
}
|
|
615
897
|
.DocEditor__ImageField__imagePreview__image img {
|
|
616
898
|
display: block;
|
|
@@ -619,12 +901,22 @@
|
|
|
619
901
|
object-fit: contain;
|
|
620
902
|
object-position: center;
|
|
621
903
|
}
|
|
904
|
+
.DocEditor__ImageField__imagePreview__dimens {
|
|
905
|
+
position: absolute;
|
|
906
|
+
top: -1px;
|
|
907
|
+
right: -1px;
|
|
908
|
+
padding: 4px 8px;
|
|
909
|
+
background: black;
|
|
910
|
+
color: white;
|
|
911
|
+
font-size: 8px;
|
|
912
|
+
font-weight: 700;
|
|
913
|
+
}
|
|
622
914
|
.DocEditor__ImageField__imagePreview__image__alt {
|
|
623
915
|
margin-top: 4px;
|
|
624
916
|
}
|
|
625
917
|
.DocEditor__ImageField__noImage {
|
|
626
918
|
font-family: var(--font-family-mono);
|
|
627
|
-
margin: 10px
|
|
919
|
+
margin-bottom: 10px;
|
|
628
920
|
}
|
|
629
921
|
.DocEditor__ImageField__uploadButton {
|
|
630
922
|
display: inline-flex;
|
|
@@ -647,44 +939,47 @@
|
|
|
647
939
|
.DocEditor__ImageField__uploadButton__icon {
|
|
648
940
|
margin-right: 10px;
|
|
649
941
|
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
font-size: 14px;
|
|
654
|
-
font-weight: 500;
|
|
942
|
+
.DocEditor__FileField {
|
|
943
|
+
padding: 10px;
|
|
944
|
+
margin: -10px;
|
|
655
945
|
}
|
|
656
|
-
.
|
|
657
|
-
|
|
658
|
-
line-height: 1.5;
|
|
659
|
-
font-weight: 500;
|
|
946
|
+
.DocEditor__FileField.dragging {
|
|
947
|
+
outline: 2px dashed black;
|
|
660
948
|
}
|
|
661
|
-
.
|
|
662
|
-
|
|
949
|
+
.DocEditor__FileField__controls {
|
|
950
|
+
display: flex;
|
|
951
|
+
justify-content: flex-end;
|
|
952
|
+
gap: 4px;
|
|
663
953
|
}
|
|
664
|
-
.
|
|
665
|
-
|
|
666
|
-
grid-template-columns: 1fr 1fr;
|
|
667
|
-
gap: 12px;
|
|
954
|
+
.DocEditor__FileField__file {
|
|
955
|
+
margin-bottom: 10px;
|
|
668
956
|
}
|
|
669
|
-
.
|
|
670
|
-
|
|
671
|
-
|
|
957
|
+
.DocEditor__FileField__noFile {
|
|
958
|
+
font-family: var(--font-family-mono);
|
|
959
|
+
margin-bottom: 10px;
|
|
960
|
+
}
|
|
961
|
+
.DocEditor__FileField__uploadButton {
|
|
962
|
+
display: inline-flex;
|
|
963
|
+
align-items: center;
|
|
964
|
+
cursor: pointer;
|
|
965
|
+
background: #25262b;
|
|
672
966
|
border-radius: 4px;
|
|
967
|
+
padding: 0 14px;
|
|
968
|
+
height: 30px;
|
|
969
|
+
color: #ffffff;
|
|
970
|
+
font-weight: 600;
|
|
971
|
+
transition: all 0.3s ease;
|
|
673
972
|
}
|
|
674
|
-
.
|
|
675
|
-
|
|
676
|
-
font-size: 10px;
|
|
677
|
-
font-weight: 400;
|
|
678
|
-
margin-top: 4px;
|
|
973
|
+
.DocEditor__FileField__uploadButton[aria-disabled=true] {
|
|
974
|
+
opacity: 0.5;
|
|
679
975
|
}
|
|
680
|
-
.
|
|
681
|
-
|
|
976
|
+
.DocEditor__FileField__uploadButton input[type=file] {
|
|
977
|
+
display: none;
|
|
682
978
|
}
|
|
683
|
-
.
|
|
684
|
-
|
|
979
|
+
.DocEditor__FileField__uploadButton__icon {
|
|
980
|
+
margin-right: 10px;
|
|
685
981
|
}
|
|
686
|
-
.
|
|
687
|
-
margin-top: 16px;
|
|
982
|
+
.DocEditor__DateTimeField input {
|
|
688
983
|
display: block;
|
|
689
984
|
width: 100%;
|
|
690
985
|
border: 1px solid #dedede;
|
|
@@ -692,18 +987,12 @@
|
|
|
692
987
|
font-family: inherit;
|
|
693
988
|
font-size: 12px;
|
|
694
989
|
}
|
|
695
|
-
.
|
|
990
|
+
.DocEditor__DateTimeField__timezone {
|
|
696
991
|
font-size: 10px;
|
|
697
992
|
font-weight: 400;
|
|
698
993
|
margin-top: 4px;
|
|
699
994
|
text-align: right;
|
|
700
995
|
}
|
|
701
|
-
.PublishDocModal__form__buttons {
|
|
702
|
-
margin-top: 24px;
|
|
703
|
-
display: flex;
|
|
704
|
-
justify-content: flex-end;
|
|
705
|
-
gap: 12px;
|
|
706
|
-
}
|
|
707
996
|
|
|
708
997
|
/* ui/pages/DocumentPage/DocumentPage.css */
|
|
709
998
|
.DocumentPage {
|
|
@@ -720,12 +1009,28 @@
|
|
|
720
1009
|
border-bottom: 1px solid var(--color-border);
|
|
721
1010
|
display: flex;
|
|
722
1011
|
align-items: center;
|
|
723
|
-
|
|
1012
|
+
justify-content: space-between;
|
|
1013
|
+
gap: 24px;
|
|
724
1014
|
height: var(--top-bar-height);
|
|
1015
|
+
position: sticky;
|
|
1016
|
+
top: 0;
|
|
1017
|
+
z-index: 10;
|
|
1018
|
+
background: white;
|
|
1019
|
+
}
|
|
1020
|
+
.DocumentPage__side__header__nav {
|
|
1021
|
+
display: flex;
|
|
1022
|
+
align-items: center;
|
|
1023
|
+
gap: 4px;
|
|
725
1024
|
}
|
|
726
1025
|
.DocumentPage__side__header__back {
|
|
727
1026
|
color: var(--color-text-default);
|
|
728
1027
|
}
|
|
1028
|
+
.DocumentPage__side__header__docId {
|
|
1029
|
+
white-space: nowrap;
|
|
1030
|
+
}
|
|
1031
|
+
.DocumentPage__side__header__buttons {
|
|
1032
|
+
justify-self: flex-end;
|
|
1033
|
+
}
|
|
729
1034
|
.DocumentPage__side__editor {
|
|
730
1035
|
padding: 8px 12px 120px;
|
|
731
1036
|
}
|
|
@@ -768,6 +1073,14 @@
|
|
|
768
1073
|
align-items: center;
|
|
769
1074
|
justify-content: space-between;
|
|
770
1075
|
}
|
|
1076
|
+
.DocumentPage__main__previewBar__locales .mantine-Select-input {
|
|
1077
|
+
border: 1px solid var(--color-border);
|
|
1078
|
+
font-size: 12px;
|
|
1079
|
+
line-height: 24px;
|
|
1080
|
+
height: 24px;
|
|
1081
|
+
min-height: 24px;
|
|
1082
|
+
max-width: 170px;
|
|
1083
|
+
}
|
|
771
1084
|
.DocumentPage__main__previewFrame {
|
|
772
1085
|
background: #f9f9f9;
|
|
773
1086
|
width: 100%;
|
|
@@ -812,18 +1125,6 @@
|
|
|
812
1125
|
font-size: 12px;
|
|
813
1126
|
}
|
|
814
1127
|
|
|
815
|
-
/* ui/pages/ProjectPage/ProjectPage.css */
|
|
816
|
-
.ProjectPage {
|
|
817
|
-
padding: 60px;
|
|
818
|
-
}
|
|
819
|
-
.ProjectPage h1 {
|
|
820
|
-
margin-bottom: 24px;
|
|
821
|
-
}
|
|
822
|
-
.ProjectPage p {
|
|
823
|
-
margin-top: 16px;
|
|
824
|
-
max-width: 70ch;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
1128
|
/* ui/pages/NotFoundPage/NotFoundPage.css */
|
|
828
1129
|
.NotFoundPage {
|
|
829
1130
|
display: flex;
|
|
@@ -840,23 +1141,60 @@
|
|
|
840
1141
|
font-weight: 500;
|
|
841
1142
|
}
|
|
842
1143
|
|
|
843
|
-
/* ui/pages/
|
|
844
|
-
.
|
|
845
|
-
padding:
|
|
1144
|
+
/* ui/pages/ProjectPage/ProjectPage.css */
|
|
1145
|
+
.ProjectPage {
|
|
1146
|
+
padding: 60px;
|
|
846
1147
|
}
|
|
847
|
-
.
|
|
1148
|
+
.ProjectPage h1 {
|
|
1149
|
+
margin-bottom: 24px;
|
|
1150
|
+
}
|
|
1151
|
+
.ProjectPage p {
|
|
1152
|
+
margin-top: 16px;
|
|
1153
|
+
max-width: 70ch;
|
|
1154
|
+
}
|
|
1155
|
+
.ProjectPage__section {
|
|
1156
|
+
margin-top: 60px;
|
|
1157
|
+
}
|
|
1158
|
+
.ProjectPage__section__title {
|
|
1159
|
+
margin-bottom: 20px;
|
|
1160
|
+
}
|
|
1161
|
+
.ProjectPage__collectionList {
|
|
1162
|
+
display: flex;
|
|
1163
|
+
flex-direction: column;
|
|
1164
|
+
justify-content: flex-start;
|
|
1165
|
+
gap: 12px;
|
|
1166
|
+
max-width: 580px;
|
|
1167
|
+
}
|
|
1168
|
+
.ProjectPage__collectionList__collection {
|
|
848
1169
|
display: grid;
|
|
849
|
-
grid-template-columns: 1fr
|
|
1170
|
+
grid-template-columns: 20px 1fr;
|
|
1171
|
+
align-items: center;
|
|
1172
|
+
padding: 8px 12px;
|
|
1173
|
+
column-gap: 12px;
|
|
1174
|
+
row-gap: 4px;
|
|
1175
|
+
width: 100%;
|
|
1176
|
+
background: transparent;
|
|
1177
|
+
border: 2px solid black;
|
|
1178
|
+
border-radius: 8px;
|
|
1179
|
+
cursor: pointer;
|
|
1180
|
+
font-size: 14px;
|
|
1181
|
+
font-weight: 500;
|
|
1182
|
+
text-decoration: none;
|
|
1183
|
+
transition: background-color 0.18s ease;
|
|
1184
|
+
position: relative;
|
|
850
1185
|
}
|
|
851
|
-
.
|
|
852
|
-
|
|
853
|
-
padding: 30px;
|
|
1186
|
+
.ProjectPage__collectionList__collection:hover {
|
|
1187
|
+
background-color: var(--button-background-hover);
|
|
854
1188
|
}
|
|
855
|
-
.
|
|
856
|
-
|
|
1189
|
+
.ProjectPage__collectionList__collection:active {
|
|
1190
|
+
background-color: var(--button-background-active);
|
|
857
1191
|
}
|
|
858
|
-
.
|
|
859
|
-
margin-
|
|
1192
|
+
.ProjectPage__collectionList__collection__icon {
|
|
1193
|
+
margin-top: 2px;
|
|
1194
|
+
}
|
|
1195
|
+
.ProjectPage__collectionList__collection__desc {
|
|
1196
|
+
grid-column: 2 / span 1;
|
|
1197
|
+
font-size: 12px;
|
|
860
1198
|
}
|
|
861
1199
|
|
|
862
1200
|
/* ui/components/ShareBox/ShareBox.css */
|
|
@@ -888,28 +1226,23 @@
|
|
|
888
1226
|
text-overflow: ellipsis;
|
|
889
1227
|
}
|
|
890
1228
|
|
|
891
|
-
/* ui/pages/
|
|
892
|
-
.
|
|
893
|
-
padding:
|
|
894
|
-
}
|
|
895
|
-
.AssetsPage h1 {
|
|
896
|
-
margin-bottom: 24px;
|
|
1229
|
+
/* ui/pages/SettingsPage/SettingsPage.css */
|
|
1230
|
+
.SettingsPage {
|
|
1231
|
+
padding: 30px;
|
|
897
1232
|
}
|
|
898
|
-
.
|
|
899
|
-
|
|
900
|
-
|
|
1233
|
+
.SettingsPage__section {
|
|
1234
|
+
display: grid;
|
|
1235
|
+
grid-template-columns: 1fr 2fr;
|
|
901
1236
|
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
padding: 60px;
|
|
1237
|
+
.SettingsPage__section__left,
|
|
1238
|
+
.SettingsPage__section__right {
|
|
1239
|
+
padding: 30px;
|
|
906
1240
|
}
|
|
907
|
-
.
|
|
908
|
-
margin-bottom:
|
|
1241
|
+
.SettingsPage__section__left__title {
|
|
1242
|
+
margin-bottom: 8px;
|
|
909
1243
|
}
|
|
910
|
-
.
|
|
911
|
-
margin-
|
|
912
|
-
max-width: 70ch;
|
|
1244
|
+
.SettingsPage__section__right__title {
|
|
1245
|
+
margin-bottom: 12px;
|
|
913
1246
|
}
|
|
914
1247
|
|
|
915
1248
|
/* ui/pages/TranslationsPage/TranslationsPage.css */
|