@innovastudio/contentbox 1.6.28 → 1.6.30

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.28",
4
+ "version": "1.6.30",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -52,7 +52,7 @@
52
52
  "ws": "^8.13.0"
53
53
  },
54
54
  "dependencies": {
55
- "@innovastudio/contentbuilder": "^1.4.150",
55
+ "@innovastudio/contentbuilder": "^1.5.7",
56
56
  "js-beautify": "^1.14.0"
57
57
  }
58
58
  }
@@ -651,6 +651,29 @@ body.controlpanel .is-content-view.mobile {
651
651
  .builder-ui button:not(.is-btn-color):hover {
652
652
  background-color: rgb(237, 237, 237);
653
653
  }
654
+ .builder-ui .flex-unit {
655
+ display: flex;
656
+ gap: 15px;
657
+ }
658
+ .builder-ui .flex-unit > * {
659
+ width: 105px;
660
+ }
661
+ .builder-ui .flex-unit > * > *:first-child {
662
+ margin-bottom: 3px;
663
+ margin-top: 16px;
664
+ display: flex;
665
+ align-items: center;
666
+ justify-content: space-between;
667
+ }
668
+ .builder-ui .flex-unit > * > *:first-child .label {
669
+ margin: 0;
670
+ }
671
+ .builder-ui .flex-unit label, .builder-ui .flex-unit .label {
672
+ white-space: nowrap;
673
+ }
674
+ .builder-ui .flex-unit a, .builder-ui .flex-unit span {
675
+ font-size: 13px;
676
+ }
654
677
  .builder-ui .label {
655
678
  font-size: 13px;
656
679
  margin: 20px 0 3px;
@@ -1352,8 +1375,12 @@ body.controlpanel .is-wrapper {
1352
1375
  width: 22px;
1353
1376
  height: 22px;
1354
1377
  }
1378
+ .builder-ui .is-controlpanel .panel-dialog.icons input {
1379
+ outline-offset: -2px;
1380
+ }
1355
1381
  .builder-ui .is-controlpanel .panel-dialog.icons > div {
1356
1382
  display: flex;
1383
+ align-content: flex-start;
1357
1384
  flex-wrap: wrap;
1358
1385
  width: 100%;
1359
1386
  height: calc(100% - 40px);
@@ -1713,7 +1740,7 @@ body.dark.topspace .is-sidebar-content {
1713
1740
 
1714
1741
  .custom-topbar {
1715
1742
  display: none;
1716
- justify-content: center;
1743
+ justify-content: space-between;
1717
1744
  align-items: center;
1718
1745
  box-sizing: border-box;
1719
1746
  padding: 0;
@@ -1731,30 +1758,38 @@ body.topspace .custom-topbar {
1731
1758
  }
1732
1759
 
1733
1760
  .custom-topbar div {
1761
+ width: 100%;
1734
1762
  display: flex;
1735
1763
  align-items: center;
1764
+ justify-content: center;
1736
1765
  }
1737
1766
 
1738
1767
  .custom-topbar > div:first-child {
1739
- position: fixed;
1740
- top: 0;
1741
- left: 30px;
1768
+ justify-content: flex-start;
1769
+ padding-left: 30px;
1742
1770
  height: var(--topspace);
1743
1771
  }
1744
1772
 
1773
+ @media all and (max-width: 1100px) {
1774
+ .custom-topbar > div:first-child {
1775
+ display: none;
1776
+ }
1777
+
1778
+ .custom-topbar > div:nth-child(2) {
1779
+ margin-left: 0;
1780
+ }
1781
+ }
1745
1782
  .custom-topbar > div:nth-child(3) {
1746
- position: fixed;
1747
- top: 0;
1748
- right: 16px;
1783
+ justify-content: flex-end;
1784
+ padding-right: 20px;
1749
1785
  height: var(--topspace);
1750
1786
  }
1751
1787
 
1752
1788
  .custom-topbar > div:nth-child(2) {
1753
- margin-left: 45px;
1754
1789
  transition: all 0.3s ease;
1755
1790
  }
1756
1791
 
1757
- body.controlpanel .custom-topbar > div:nth-child(2) {
1792
+ body.controlpanel:not(.shift-off) .custom-topbar > div:nth-child(2) {
1758
1793
  margin-left: -245px;
1759
1794
  }
1760
1795
 
@@ -2856,7 +2891,7 @@ body.fullview.frame-center #editPanel {
2856
2891
  transition: all 0.3s ease;
2857
2892
  }
2858
2893
 
2859
- body.fullview.controlpanel.frame-center #editPanel {
2894
+ body.fullview.controlpanel.frame-center:not(.shift-off) #editPanel {
2860
2895
  left: 61px !important;
2861
2896
  right: 290px !important;
2862
2897
  height: 100vh !important;
@@ -2887,12 +2922,13 @@ body.fullview.topspace .is-content-view iframe {
2887
2922
  }
2888
2923
 
2889
2924
  /* Iframe Resizer */
2890
- .iframe-resizer {
2925
+ .is-content-view > div.iframe-resizer {
2891
2926
  position: absolute !important;
2892
- width: 2px;
2893
- height: 100% !important;
2894
- top: 0;
2895
- right: 0;
2927
+ background-color: rgb(222, 222, 222);
2928
+ width: 6px;
2929
+ height: 60px !important;
2930
+ top: calc(50% - 30px);
2931
+ right: -12px;
2896
2932
  z-index: 3;
2897
2933
  cursor: ew-resize;
2898
2934
  display: block !important;