@innovastudio/contentbox 1.4.37 → 1.4.38

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.4.37",
4
+ "version": "1.4.38",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -46,7 +46,7 @@
46
46
  "webpack-dev-server": "^4.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "@innovastudio/contentbuilder": "^1.3.42",
49
+ "@innovastudio/contentbuilder": "^1.3.52",
50
50
  "js-beautify": "^1.14.0"
51
51
  }
52
52
  }
@@ -75,7 +75,7 @@
75
75
  background: rgba(255, 255, 255, 0.97);
76
76
  color: rgba(0, 0, 0, 0.8);
77
77
  border-right: rgba(0, 0, 0, 0.05) 1px solid;
78
- z-index: 10003;
78
+ z-index: 10004;
79
79
  opacity: 0.0001;
80
80
  }
81
81
  #_cbhtml .is-sidebar button.is-sidebar-button {
@@ -109,7 +109,7 @@
109
109
  }
110
110
 
111
111
  .is-sidebar-content {
112
- z-index: 10002;
112
+ z-index: 10003;
113
113
  position: fixed;
114
114
  top: 0;
115
115
  left: 0;
@@ -479,6 +479,10 @@
479
479
  .is-wrapper.is-edit {
480
480
  padding-left: 61px;
481
481
  }
482
+ .is-wrapper.is-container-edit > div.section-select, .is-wrapper.is-clean-edit > div.section-select {
483
+ overflow-x: unset !important;
484
+ overflow-y: unset !important;
485
+ }
482
486
  .is-wrapper .transition-edit.is-section {
483
487
  transition: all 0.2s ease !important;
484
488
  }
@@ -489,6 +493,7 @@
489
493
  #_cbhtml {
490
494
  height: 0px;
491
495
  float: left;
496
+ margin-top: -100px;
492
497
  }
493
498
 
494
499
  .pace {
@@ -601,58 +606,133 @@
601
606
  transition: unset;
602
607
  }
603
608
 
604
- /* Navbar Fix */
605
- .is-wrapper.is-edit .is-section.is-section-navbar,
606
- .is-wrapper.is-edit .is-section.is-section-navbar .is-topbar {
607
- left: 0;
608
- margin-left: 61px;
609
- width: calc(100% - 61px);
610
- }
611
- .is-wrapper.is-edit .is-section.is-section-navbar .is-topbar.static {
612
- width: 100%;
613
- margin-left: unset;
614
- }
609
+ /*
615
610
 
611
+ // Navbar Fix
612
+ .is-wrapper {
613
+ &.is-edit {
614
+ .is-section.is-section-navbar,
615
+ .is-section.is-section-navbar .is-topbar {
616
+ left: 0;
617
+ margin-left: 61px;
618
+ width: calc(100% - 61px);
619
+ }
620
+ .is-section.is-section-navbar .is-topbar.static {
621
+ width: 100%;
622
+ margin-left: unset;
623
+ }
624
+ }
625
+ }
626
+
627
+ // protected section
616
628
  .is-section.protected .is-box-tool {
617
- display: none !important;
618
- }
619
-
620
- .hard-select .is-box-tool {
621
- display: none !important;
622
- }
623
- .hard-select .is-section-tool {
624
- display: none !important;
625
- }
626
- .hard-select .box-select {
627
- outline: #00da89 1px solid;
628
- outline-offset: -1px;
629
- z-index: 1;
630
- }
631
- .hard-select .box-select .is-box-tool {
632
- display: flex !important;
633
- }
634
- .hard-select .box-select .is-overlay {
635
- z-index: -1;
636
- }
637
- .hard-select .section-select .is-section-tool {
638
- display: block !important;
639
- }
640
-
629
+ display: none !important;
630
+ }
631
+
632
+ // manual selection during animation edit
633
+ .hard-select {
634
+ .is-box-tool {
635
+ display: none !important;
636
+ }
637
+ .is-section-tool {
638
+ display: none !important;
639
+ }
640
+ .box-select {
641
+ outline: #00da89 1px solid; // #6e50f2 //#00da89 (green)
642
+ outline-offset: -1px;
643
+ z-index:1;
644
+ .is-box-tool {
645
+ display: flex !important;
646
+ }
647
+ .is-overlay {
648
+ z-index: -1;
649
+ }
650
+ }
651
+ .section-select {
652
+ .is-section-tool {
653
+ display: block !important;
654
+ }
655
+ }
656
+
657
+ }
658
+
659
+ // drop block as section
641
660
  .is-wrapper > .sortable-ghost {
642
- height: 40px !important;
643
- min-height: unset !important;
644
- background: rgba(204, 204, 204, 0.15) !important;
661
+ height: 40px !important;
662
+ min-height: unset !important;
663
+ background: rgba(204, 204, 204, 0.15) !important;
664
+ }
665
+
666
+ // toggle tool
667
+ .is-wrapper.is-clean-edit {
668
+ &.hard-select .box-select .is-box-tool ,
669
+ .box-select .is-box-tool {
670
+ display: none !important;
671
+ }
672
+ &.hard-select .section-select .is-section-tool,
673
+ .section-select .is-section-tool {
674
+ display: none !important;
675
+ }
676
+ &.hard-select .box-select,
677
+ .box-select {
678
+ outline: none !important;
679
+ }
680
+ }
681
+
682
+ // clean UI for selection only
683
+ .selection-only:not([data-skrollrr-off]) {
684
+ .is-wrapper {
685
+ &.hard-select .box-select .is-box-tool ,
686
+ .box-select .is-box-tool {
687
+ display: none !important;
688
+ }
689
+ &.hard-select .section-select .is-section-tool,
690
+ .section-select .is-section-tool {
691
+ display: none !important;
692
+ }
693
+ .is-rowadd-tool {
694
+ display: none !important;
695
+ }
696
+ .is-tool {
697
+ display: none !important;
698
+ }
699
+ }
700
+ .is-tool {
701
+ z-index: -10000 !important;
702
+ }
703
+ }
704
+
705
+ // section info
706
+ .is-wrapper {
707
+ .is-section-info {
708
+ position: absolute;
709
+ z-index: 1;
710
+ top: 3px;
711
+ left: 3px;
712
+ display: none;
713
+ & > div {
714
+ width: auto;
715
+ height: auto;
716
+ padding: 5px 20px;
717
+ background-color:rgb(255 239 100);
718
+ color: #111;
719
+ font-family: sans-serif;
720
+ letter-spacing: 2px;
721
+ font-size: 17px;
722
+ }
723
+ }
724
+ .section-select .is-section-info {
725
+ display: block;
726
+ }
727
+ }
728
+
729
+ // To make editing possible on wide content
730
+ .is-wrapper.is-edit .section-wide-250 .is-box-centered {
731
+ overflow-x: auto;
732
+ overflow-y: hidden;
733
+ }
734
+ .is-wrapper.is-edit .section-wide-250 .is-container > div > div { // To make col tool visible
735
+ max-height: 90vh;
645
736
  }
646
737
 
647
- .is-wrapper.is-clean-edit .hard-select .box-select .is-box-tool,
648
- .is-wrapper.is-clean-edit .box-select .is-box-tool {
649
- display: none !important;
650
- }
651
- .is-wrapper.is-clean-edit .hard-select .section-select .is-section-tool,
652
- .is-wrapper.is-clean-edit .section-select .is-section-tool {
653
- display: none !important;
654
- }
655
- .is-wrapper.is-clean-edit .hard-select .box-select,
656
- .is-wrapper.is-clean-edit .box-select {
657
- outline: none !important;
658
- }
738
+ */