@innovastudio/contentbox 1.3.0 → 1.3.2-rc10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
- "version": "1.3.0",
3
+ "version": "1.3.2-rc10",
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.2.2",
49
+ "@innovastudio/contentbuilder": "^1.2.4-rc11",
50
50
  "js-beautify": "^1.14.0"
51
51
  }
52
52
  }
@@ -21,7 +21,7 @@
21
21
  fill: #fff !important;
22
22
  }
23
23
  #divBoxTool button#btnEditBox {
24
- background: #00acd6;
24
+ background: rgb(0, 172, 214);
25
25
  }
26
26
  #divBoxTool button#btnEditModule {
27
27
  background: #FF9800;
@@ -48,13 +48,13 @@
48
48
  border: none;
49
49
  }
50
50
  .is-section-tool .is-section-edit {
51
- background: #00acd6;
51
+ background: rgb(0, 172, 214);
52
52
  }
53
53
  .is-section-tool .is-section-edit svg {
54
54
  fill: #fff !important;
55
55
  }
56
56
  .is-section-tool .is-section-remove {
57
- background: #f7632e;
57
+ background: rgb(247, 99, 46);
58
58
  color: #fff !important;
59
59
  }
60
60
 
@@ -85,6 +85,7 @@
85
85
  display: flex;
86
86
  justify-content: center;
87
87
  align-items: center;
88
+ outline: none;
88
89
  cursor: pointer;
89
90
  }
90
91
  #_cbhtml .is-sidebar button.is-sidebar-button svg {
@@ -121,6 +122,8 @@
121
122
  transition-property: transform;
122
123
  transition-duration: 0.3s;
123
124
  transform: translate3d(-120%, 0, 0);
125
+ outline: none;
126
+ display: none;
124
127
  }
125
128
 
126
129
  .is-sidebar-content.active {
@@ -209,11 +212,12 @@
209
212
  line-height: 1;
210
213
  }
211
214
  #divSidebarTypography #btnTypoClear {
212
- width: 50px;
213
- height: 40px;
215
+ width: 40px;
216
+ height: 35px;
214
217
  display: flex;
215
218
  background: transparent;
216
219
  box-shadow: none;
220
+ margin-right: 5px;
217
221
  }
218
222
 
219
223
  #divSidebarSections {
@@ -233,7 +237,7 @@
233
237
  }
234
238
  #divSelector {
235
239
  position: absolute;
236
- top: 120px;
240
+ top: 110px;
237
241
  right: 0;
238
242
  width: 100%;
239
243
  z-index: 2;
@@ -247,10 +251,10 @@
247
251
  box-sizing: border-box;
248
252
  overflow-y: auto;
249
253
  overflow-x: hidden;
250
- top: 120px;
254
+ top: 110px;
251
255
  left: 50px;
252
256
  width: calc(100% - 50px);
253
- height: calc(100% - 120px);
257
+ height: calc(100% - 110px);
254
258
  position: absolute;
255
259
  }
256
260
 
@@ -353,6 +357,7 @@
353
357
  padding: 1px 20px;
354
358
  box-sizing: border-box;
355
359
  border: none;
360
+ outline-offset: -2px;
356
361
  }
357
362
 
358
363
  #_cbhtml .is-modal.editbox button span {
@@ -431,9 +436,15 @@
431
436
 
432
437
  .is-wrapper {
433
438
  opacity: 0.01;
439
+ /* setting display=none makes initial script may not work properly */
440
+ transform-origin: top;
441
+ }
442
+
443
+ #_cbhtml {
444
+ height: 0px;
445
+ float: left;
434
446
  }
435
447
 
436
- /* setting display=none makes initial script may not work properly */
437
448
  .pace {
438
449
  -webkit-pointer-events: none;
439
450
  pointer-events: none;