@raketa-builder/builder 0.27.0 → 0.29.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/src/styles.css CHANGED
@@ -12,11 +12,12 @@
12
12
 
13
13
  /* Reorder Dialog */
14
14
  .r-reorder-dialog-item {
15
+ height: 48px;
15
16
  display: flex;
16
17
  justify-content: space-between;
17
18
  align-items: center;
18
19
  margin-bottom: 7px;
19
- padding: 7px;
20
+ padding: 7px 7px 7px 9px;
20
21
  border: 1px solid var(--r-gray);
21
22
  border-radius: 3px;
22
23
  color: var(--r-black);
@@ -95,14 +96,16 @@
95
96
  z-index: 900;
96
97
  display: none;
97
98
  }
98
-
99
- .r-admin-widget-wrapper:hover {
99
+ .r-admin-widget-wrapper {
100
100
  position: relative;
101
+ }
102
+ .r-admin-widget-wrapper:hover {
101
103
  outline: 1px dashed var(--r-gray);
102
104
  }
103
105
 
104
106
  .r-admin-widget-wrapper:hover [data-toolbar="true"] {
105
107
  display: flex;
108
+ gap: 8px;
106
109
  }
107
110
 
108
111
  .r-admin-widget-wrapper:hover [data-widget-label="true"] {
@@ -387,6 +390,125 @@
387
390
  align-items: center;
388
391
  height: 100vh;
389
392
  }
393
+ /* Custom Checkbox */
394
+
395
+ .r-checkbox-wrapper {
396
+ display: block;
397
+ position: relative;
398
+ padding-left: 30px;
399
+ margin-bottom: 15px;
400
+ cursor: pointer;
401
+ font-size: 18px;
402
+ }
403
+
404
+ /* Hide default browser input */
405
+ .r-checkbox-wrapper input {
406
+ position: absolute;
407
+ z-index: -1;
408
+ opacity: 0;
409
+ }
410
+
411
+ /* Canvas Selected Widgets Tray */
412
+
413
+ .r-selected-widgets-toolbar {
414
+ overflow: hidden;
415
+ position: fixed;
416
+ z-index: 20;
417
+ left: 50%;
418
+ bottom: 1rem;
419
+ border-radius: 9999px;
420
+ outline: 1px solid #444;
421
+ color: #fff;
422
+ background-color: var(--r-black);
423
+ font-size: 13px;
424
+ box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.75);
425
+ transform: translateX(-50%);
426
+ }
427
+
428
+ .r-toolbar-inner {
429
+ display: flex;
430
+ align-items: center;
431
+ }
432
+
433
+ .r-button-reset {
434
+ background: none;
435
+ color: inherit;
436
+ border: none;
437
+ padding: 0;
438
+ cursor: pointer;
439
+ outline: inherit;
440
+ }
441
+
442
+ .r-toolbar-button {
443
+ padding: 16px 24px;
444
+ display: flex;
445
+ align-items: center;
446
+ gap: 8px;
447
+ background-color: var(--r-black);
448
+ transition: 0.3s all ease-in-out;
449
+ }
450
+
451
+ .r-toolbar-button:hover {
452
+ background-color: #444;
453
+ transition: 0.3s all ease-in-out;
454
+ }
455
+
456
+ .r-toolbar-button-copy {
457
+ padding-right: 16px;
458
+ }
459
+
460
+ .r-toolbar-button-delete {
461
+ padding-left: 16px;
462
+ }
463
+
464
+ .r-selected-widget {
465
+ position: absolute;
466
+ top: 0;
467
+ left: 0;
468
+ right: 0;
469
+ bottom: 0;
470
+ z-index: 15;
471
+ background-color: rgba(184, 96, 24, 0.308);
472
+ border: 1px solid rgb(231, 156, 15);
473
+ }
474
+
475
+ .r-selected-widget-toolbar-reorder {
476
+ padding-bottom: 16px;
477
+ display: flex;
478
+ align-items: center;
479
+ }
480
+
481
+ .r-label-select-all {
482
+ padding-bottom: 0;
483
+ margin-right: 32px;
484
+ display: flex;
485
+ align-items: center;
486
+ cursor: pointer;
487
+ font-weight: 500;
488
+ transition: 0.3s all ease-in-out;
489
+ }
490
+
491
+ .r-label-select-all:hover {
492
+ color: rgb(74, 76, 224);
493
+ transition: 0.3s all ease-in-out;
494
+ }
495
+
496
+ .r-selected {
497
+ background-color: rgba(184, 96, 24, 0.15);
498
+ border: 1px solid rgb(231, 156, 15);
499
+ }
500
+
501
+ .r-button-toolbar-reorder {
502
+ font-weight: 500;
503
+ text-decoration: underline;
504
+ margin-right: 16px;
505
+ transition: 0.3s all ease-in-out;
506
+ }
507
+
508
+ .r-button-toolbar-reorder:hover {
509
+ color: rgb(74, 76, 224);
510
+ transition: 0.3s all ease-in-out;
511
+ }
390
512
 
391
513
  :root {
392
514
  --settings-icon: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItc2xpZGVycyI+PGxpbmUgeDE9IjQiIHkxPSIyMSIgeDI9IjQiIHkyPSIxNCI+PC9saW5lPjxsaW5lIHgxPSI0IiB5MT0iMTAiIHgyPSI0IiB5Mj0iMyI+PC9saW5lPjxsaW5lIHgxPSIxMiIgeTE9IjIxIiB4Mj0iMTIiIHkyPSIxMiI+PC9saW5lPjxsaW5lIHgxPSIxMiIgeTE9IjgiIHgyPSIxMiIgeTI9IjMiPjwvbGluZT48bGluZSB4MT0iMjAiIHkxPSIyMSIgeDI9IjIwIiB5Mj0iMTYiPjwvbGluZT48bGluZSB4MT0iMjAiIHkxPSIxMiIgeDI9IjIwIiB5Mj0iMyI+PC9saW5lPjxsaW5lIHgxPSIxIiB5MT0iMTQiIHgyPSI3IiB5Mj0iMTQiPjwvbGluZT48bGluZSB4MT0iOSIgeTE9IjgiIHgyPSIxNSIgeTI9IjgiPjwvbGluZT48bGluZSB4MT0iMTciIHkxPSIxNiIgeDI9IjIzIiB5Mj0iMTYiPjwvbGluZT48L3N2Zz4=);