@innovastudio/contentbox 1.6.100 → 1.6.101

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.100",
4
+ "version": "1.6.101",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "ws": "^8.13.0"
55
55
  },
56
56
  "dependencies": {
57
- "@innovastudio/contentbuilder": "^1.5.96",
57
+ "@innovastudio/contentbuilder": "^1.5.97",
58
58
  "js-beautify": "^1.14.0",
59
59
  "sortablejs": "^1.15.2"
60
60
  }
@@ -26507,67 +26507,21 @@ class Snippets {
26507
26507
  outline: transparent 1px solid;
26508
26508
  }
26509
26509
 
26510
-
26511
-
26512
26510
  /* Scrollbar for modal */
26513
-
26514
- /* Darker color, because background for snippet thumbnails is always light. */
26515
- .dark * {
26516
- scrollbar-width: thin;
26517
- scrollbar-color: rgb(78 78 78 / 62%) auto;
26518
- }
26519
- .dark *::-webkit-scrollbar {
26520
- width: 12px;
26521
- }
26522
- .dark *::-webkit-scrollbar-track {
26523
- background: transparent;
26511
+ .is-design-list {
26512
+ scrollbar-width: thin;
26513
+ scrollbar-color: #aaa #f0f0f0;
26524
26514
  }
26525
- .dark *::-webkit-scrollbar-thumb {
26526
- background-color:rgb(78 78 78 / 62%);
26527
- }
26528
-
26529
- .colored-dark * {
26515
+ .dark .is-design-list {
26530
26516
  scrollbar-width: thin;
26531
- scrollbar-color: rgb(100, 100, 100) auto;
26532
- }
26533
- .colored-dark *::-webkit-scrollbar {
26534
- width: 12px;
26535
- }
26536
- .colored-dark *::-webkit-scrollbar-track {
26537
- background: transparent;
26517
+ scrollbar-color: #696969 #a1a1a1;
26518
+ /* scrollbar-color: rgba(255, 255, 255, 0.3) rgb(80, 80, 80); */
26538
26519
  }
26539
- .colored-dark *::-webkit-scrollbar-thumb {
26540
- background-color:rgb(100, 100, 100);
26541
- }
26542
-
26543
- .colored * {
26520
+ .colored-dark .is-design-list {
26544
26521
  scrollbar-width: thin;
26545
- scrollbar-color: rgba(0, 0, 0, 0.4) auto;
26546
- }
26547
- .colored *::-webkit-scrollbar {
26548
- width: 12px;
26549
- }
26550
- .colored *::-webkit-scrollbar-track {
26551
- background: transparent;
26522
+ scrollbar-color: #7a7a7a #bebebe;
26552
26523
  }
26553
- .colored *::-webkit-scrollbar-thumb {
26554
- background-color: rgba(0, 0, 0, 0.4);
26555
- }
26556
26524
 
26557
- .light * {
26558
- scrollbar-width: thin;
26559
- scrollbar-color: rgba(0, 0, 0, 0.4) auto;
26560
- }
26561
- .light *::-webkit-scrollbar {
26562
- width: 12px;
26563
- }
26564
- .light *::-webkit-scrollbar-track {
26565
- background: transparent;
26566
- }
26567
- .light *::-webkit-scrollbar-thumb {
26568
- background-color: rgba(0, 0, 0, 0.4);
26569
- }
26570
-
26571
26525
  svg {
26572
26526
  fill: ${this.builder.styleSnippetColor};
26573
26527
  }
@@ -76415,6 +76369,12 @@ class Module {
76415
76369
  moduleModal.querySelector('div:not(.is-modal-overlay)').style.width = '90vw';
76416
76370
  moduleModal.querySelector('div:not(.is-modal-overlay)').style.maxWidth = w;
76417
76371
  moduleModal.querySelector('div:not(.is-modal-overlay)').style.height = h;
76372
+ var themeLight = module.getAttribute('data-theme-light');
76373
+ if (themeLight || modulename === 'form-builder') {
76374
+ moduleModal.classList.add('theme-light');
76375
+ } else {
76376
+ moduleModal.classList.remove('theme-light');
76377
+ }
76418
76378
  let btnClose = moduleModal.querySelector('.is-modal-close');
76419
76379
  dom.addEventListener(btnClose, 'click', () => {
76420
76380
  util.hideModal(moduleModal);