@blinkk/root-cms 1.0.0-rc.0 → 1.0.0-rc.10

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/ui/ui.css CHANGED
@@ -194,6 +194,64 @@
194
194
  align-items: center;
195
195
  }
196
196
 
197
+ /* ui/components/RichTextEditor/RichTextEditor.css */
198
+ .RichTextEditor {
199
+ border: 1px solid #ced4da;
200
+ padding: 4px 10px;
201
+ }
202
+ .RichTextEditor .codex-editor__redactor {
203
+ padding-bottom: 150px !important;
204
+ }
205
+ .RichTextEditor .ce-inline-toolbar {
206
+ min-width: 155px;
207
+ }
208
+ .RichTextEditor .ce-header {
209
+ margin-top: 20px;
210
+ }
211
+ .RichTextEditor .ce-block:first-of-type .ce-header {
212
+ margin-top: 0;
213
+ }
214
+ .RichTextEditor .cdx-list__item {
215
+ padding-top: 0;
216
+ padding-bottom: 0;
217
+ }
218
+ .RichTextEditor .image-tool__image {
219
+ margin-bottom: 0;
220
+ }
221
+ .RichTextEditor .image-tool__image-picture {
222
+ background: #f5f5f5;
223
+ border: 1px solid #dedede;
224
+ aspect-ratio: 16/9;
225
+ width: 100%;
226
+ padding: 10px;
227
+ object-fit: contain;
228
+ object-position: center;
229
+ }
230
+ .RichTextEditor .image-tool__image::after {
231
+ content: "Image alt text";
232
+ display: block;
233
+ margin-top: 6px;
234
+ font-weight: 500;
235
+ }
236
+ .RichTextEditor .image-tool__caption {
237
+ font-family: inherit;
238
+ border: 1px solid #ced4da;
239
+ padding: 8px 10px;
240
+ margin-top: 4px;
241
+ }
242
+ .RichTextEditor .ce-rawtool::before {
243
+ content: "WARNING: Use raw HTML with caution.";
244
+ display: block;
245
+ color: red;
246
+ font-weight: 500;
247
+ margin-bottom: 4px;
248
+ font-size: 10px;
249
+ font-style: italic;
250
+ }
251
+ .RichTextEditor .ce-inline-tool[data-tool=superscript] svg {
252
+ padding: 2px;
253
+ }
254
+
197
255
  /* ui/components/PublishDocModal/PublishDocModal.css */
198
256
  .PublishDocModal .mantine-Modal-title {
199
257
  font-size: 14px;
@@ -265,6 +323,42 @@
265
323
  gap: 12px;
266
324
  }
267
325
 
326
+ /* ui/components/VersionHistoryModal/VersionHistoryModal.css */
327
+ .VersionHistoryModal {
328
+ margin-top: -30px;
329
+ padding: 10px;
330
+ }
331
+ .VersionHistoryModal__title {
332
+ display: flex;
333
+ align-items: center;
334
+ gap: 8px;
335
+ }
336
+ .VersionHistoryModal__docId {
337
+ margin-top: 8px;
338
+ }
339
+ .VersionHistoryModal__docId code {
340
+ background: #efefef;
341
+ padding: 4px 8px;
342
+ border-radius: 4px;
343
+ font-size: 15px;
344
+ line-height: 1;
345
+ font-weight: 600;
346
+ color: #333;
347
+ }
348
+ .VersionHistoryModal__versions {
349
+ margin-top: 20px;
350
+ margin-left: -10px;
351
+ margin-right: -10px;
352
+ }
353
+ .VersionHistoryModal__versionsEmpty {
354
+ margin-top: 20px;
355
+ }
356
+ .VersionHistoryModal__versionsEmpty__developer {
357
+ margin-top: 10px;
358
+ font-style: italic;
359
+ font-size: 12px;
360
+ }
361
+
268
362
  /* ui/layout/Layout.css */
269
363
  .Layout {
270
364
  display: grid;
@@ -375,42 +469,6 @@
375
469
  max-width: 70ch;
376
470
  }
377
471
 
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
-
414
472
  /* ui/components/NewDocModal/NewDocModal.css */
415
473
  .NewDocModal__body {
416
474
  font-size: 12px;
@@ -430,12 +488,11 @@
430
488
  /* ui/components/SplitPanel/SplitPanel.css */
431
489
  .SplitPanel {
432
490
  display: flex;
433
- height: 100%;
491
+ height: calc(100vh - 48px);
434
492
  }
435
493
  .SplitPanel__divider {
436
494
  flex: 0 0 3px;
437
495
  width: 3px;
438
- height: 100%;
439
496
  cursor: col-resize;
440
497
  position: relative;
441
498
  }
@@ -466,7 +523,8 @@
466
523
  background-color: lightblue;
467
524
  }
468
525
  .SplitPanel__item {
469
- overflow: hidden;
526
+ max-height: 100%;
527
+ overflow: auto;
470
528
  position: relative;
471
529
  }
472
530
  .SplitPanel__item.static {
@@ -561,11 +619,6 @@
561
619
  font-size: 14px;
562
620
  font-weight: 500;
563
621
  }
564
- .CollectionPage__collection {
565
- height: 100%;
566
- max-height: calc(100% - 48px);
567
- overflow: auto;
568
- }
569
622
  .CollectionPage__collection__header {
570
623
  padding: 12px;
571
624
  display: none;