@innovastudio/contentbox 1.3.27 → 1.4.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/package.json +2 -2
- package/public/contentbox/contentbox.css +78 -9
- package/public/contentbox/contentbox.esm.js +1406 -517
- package/public/contentbox/contentbox.min.js +10 -10
- package/readme.txt +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@innovastudio/contentbox",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.4.0",
|
4
4
|
"type": "module",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"webpack-dev-server": "^4.0.0"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@innovastudio/contentbuilder": "^1.
|
49
|
+
"@innovastudio/contentbuilder": "^1.3.1",
|
50
50
|
"js-beautify": "^1.14.0"
|
51
51
|
}
|
52
52
|
}
|
@@ -1,11 +1,12 @@
|
|
1
|
-
|
1
|
+
.is-box-tool {
|
2
2
|
display: none;
|
3
|
-
z-index:
|
3
|
+
z-index: 1;
|
4
4
|
position: absolute;
|
5
|
-
top:
|
6
|
-
|
5
|
+
top: auto;
|
6
|
+
bottom: 0;
|
7
|
+
left: calc(50% - 80px);
|
8
|
+
right: auto;
|
7
9
|
box-sizing: border-box;
|
8
|
-
width: 60px;
|
9
10
|
line-height: 30px;
|
10
11
|
outline: none;
|
11
12
|
text-align: center;
|
@@ -13,17 +14,18 @@
|
|
13
14
|
border-radius: 0px;
|
14
15
|
overflow: hidden;
|
15
16
|
}
|
16
|
-
|
17
|
+
.is-box-tool button {
|
17
18
|
width: 40px !important;
|
18
19
|
height: 40px !important;
|
20
|
+
cursor: pointer;
|
19
21
|
}
|
20
|
-
|
22
|
+
.is-box-tool button svg {
|
21
23
|
fill: #fff !important;
|
22
24
|
}
|
23
|
-
|
25
|
+
.is-box-tool button.is-box-edit {
|
24
26
|
background: rgb(0, 172, 214);
|
25
27
|
}
|
26
|
-
|
28
|
+
.is-box-tool button.is-module-edit {
|
27
29
|
background: #FF9800;
|
28
30
|
}
|
29
31
|
|
@@ -483,6 +485,22 @@
|
|
483
485
|
transform: scale(1);
|
484
486
|
}
|
485
487
|
}
|
488
|
+
.section-active {
|
489
|
+
animation-name: section-active-anim;
|
490
|
+
animation-duration: 1s;
|
491
|
+
}
|
492
|
+
|
493
|
+
@keyframes section-active-anim {
|
494
|
+
0% {
|
495
|
+
transform: scale(1);
|
496
|
+
}
|
497
|
+
50% {
|
498
|
+
transform: scale(0.95);
|
499
|
+
}
|
500
|
+
100% {
|
501
|
+
transform: scale(1);
|
502
|
+
}
|
503
|
+
}
|
486
504
|
.page-overlay {
|
487
505
|
background: rgba(0, 0, 0, 0.0001);
|
488
506
|
position: fixed;
|
@@ -538,3 +556,54 @@
|
|
538
556
|
.is-wrapper .is-builder {
|
539
557
|
transition: unset;
|
540
558
|
}
|
559
|
+
|
560
|
+
.box-hover {
|
561
|
+
outline: 1px solid #00da89;
|
562
|
+
outline-offset: -1px;
|
563
|
+
}
|
564
|
+
|
565
|
+
.is-section:not(.box-space) .box-hover .is-overlay,
|
566
|
+
.is-section:not(.box-space).box-hover .is-overlay {
|
567
|
+
top: 1px;
|
568
|
+
bottom: 1px;
|
569
|
+
left: 1px;
|
570
|
+
right: 1px;
|
571
|
+
}
|
572
|
+
|
573
|
+
.box-active .is-container {
|
574
|
+
border: rgba(0, 0, 0, 0.1) 1px solid;
|
575
|
+
}
|
576
|
+
|
577
|
+
.box-active {
|
578
|
+
outline: 1px solid #00da89;
|
579
|
+
outline-offset: -1px;
|
580
|
+
}
|
581
|
+
|
582
|
+
.is-section:not(.box-space) .box-active .is-overlay,
|
583
|
+
.is-section:not(.box-space).box-active .is-overlay {
|
584
|
+
top: 1px;
|
585
|
+
bottom: 1px;
|
586
|
+
left: 1px;
|
587
|
+
right: 1px;
|
588
|
+
}
|
589
|
+
|
590
|
+
.section-active {
|
591
|
+
outline: 1px solid #00da89;
|
592
|
+
outline-offset: -1px;
|
593
|
+
}
|
594
|
+
|
595
|
+
.is-section:not(.box-space).section-active .is-overlay {
|
596
|
+
top: 1px;
|
597
|
+
bottom: 1px;
|
598
|
+
left: 1px;
|
599
|
+
right: 1px;
|
600
|
+
}
|
601
|
+
|
602
|
+
.content-edit .is-section-tool,
|
603
|
+
.content-edit .is-box-tool {
|
604
|
+
display: none !important;
|
605
|
+
}
|
606
|
+
|
607
|
+
.content-edit .box-hover {
|
608
|
+
outline: none !important;
|
609
|
+
}
|