@innovastudio/contentbox 1.0.21 → 1.0.25

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.0.21",
3
+ "version": "1.0.25",
4
4
  "description": "",
5
5
  "main": "public/contentbox/contentbox.esm.js",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "webpack-dev-server": "^4.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@innovastudio/contentbuilder": "^1.0.51",
41
+ "@innovastudio/contentbuilder": "^1.0.54",
42
42
  "axios": "^0.21.4",
43
43
  "cors": "^2.8.5",
44
44
  "express": "^4.17.1",
@@ -142,6 +142,14 @@
142
142
  outline: none;
143
143
  }
144
144
 
145
+ .is-sidebar-title {
146
+ font-family: sans-serif;
147
+ font-size: 10px;
148
+ text-transform: uppercase;
149
+ letter-spacing: 2px;
150
+ font-weight: 400;
151
+ }
152
+
145
153
  /*
146
154
  Sidebar Panels:
147
155
  #divSidebarSections,
@@ -154,7 +162,7 @@
154
162
  }
155
163
 
156
164
  #divSidebarTypography {
157
- max-width: 350px;
165
+ max-width: 360px;
158
166
  }
159
167
 
160
168
  #divSidebarSnippets > div:first-child {
@@ -165,16 +173,11 @@
165
173
  box-sizing: border-box;
166
174
  }
167
175
 
168
- #divSidebarSnippets > div:first-child > #divSnippetCat {
169
- position: relative;
170
- width: 100%;
171
- height: 50px;
172
- line-height: 50px;
173
- }
174
-
175
- #divSidebarSnippets > div:first-child > #divSnippetCatOptions {
176
- top: auto;
177
- width: 262px;
176
+ #divSidebarSnippets > div:first-child > .is-selectbox {
177
+ font-size: 10px;
178
+ letter-spacing: 2px;
179
+ text-transform: uppercase;
180
+ font-weight: 400;
178
181
  }
179
182
 
180
183
  #divSidebarSections > div,
@@ -193,6 +196,26 @@
193
196
  box-sizing: border-box;
194
197
  }
195
198
 
199
+ #divSidebarTypography label {
200
+ margin: 0 20px 0 0;
201
+ display: flex;
202
+ align-items: center;
203
+ }
204
+ #divSidebarTypography label input {
205
+ margin: 0;
206
+ }
207
+ #divSidebarTypography label span {
208
+ margin-left: 5px;
209
+ line-height: 1;
210
+ }
211
+ #divSidebarTypography #btnTypoClear {
212
+ width: 50px;
213
+ height: 40px;
214
+ display: flex;
215
+ background: transparent;
216
+ box-shadow: none;
217
+ }
218
+
196
219
  #divSidebarSections {
197
220
  width: 100%;
198
221
  max-width: 460px;
@@ -208,39 +231,52 @@
208
231
  max-width: 930px;
209
232
  }
210
233
  }
234
+ #divSelector {
235
+ position: absolute;
236
+ top: 120px;
237
+ right: 0;
238
+ width: 100%;
239
+ z-index: 2;
240
+ padding: 0 0 0 50px;
241
+ box-sizing: border-box;
242
+ }
243
+
211
244
  #divStyles {
212
245
  border-top: #fff 40px solid;
213
- padding: 20px 15px 0;
246
+ padding: 35px 15px 0;
214
247
  box-sizing: border-box;
215
248
  height: 100%;
216
249
  overflow-y: auto;
217
250
  overflow-x: hidden;
251
+ top: 120px;
252
+ height: calc(100% - 120px);
253
+ position: absolute;
218
254
  }
219
255
 
220
256
  #divStyles > div {
221
257
  width: 100%;
222
258
  min-height: 255px;
223
- margin: 0 0 15px;
224
- display: inline-block;
225
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
259
+ margin: 30px 0 70px;
260
+ display: flex;
261
+ box-shadow: 0px 7px 10px -6px rgba(0, 0, 0, 0.08);
226
262
  position: relative;
227
263
  cursor: pointer;
228
264
  }
229
265
 
230
266
  #divStyles > div div {
267
+ text-align: center;
231
268
  transition: all 0.3s ease;
232
269
  position: absolute;
233
- background: rgba(0, 0, 0, 0.3);
234
- top: 0;
270
+ background: transparent;
271
+ top: -40px;
235
272
  right: 0;
236
273
  width: 100%;
237
274
  padding: 3px 10px;
238
275
  box-sizing: border-box;
239
276
  border: none;
240
277
  font-family: sans-serif;
241
- font-size: 13px;
242
- line-height: 1.6;
243
- color: #fff;
278
+ font-size: 12px;
279
+ line-height: 1.4;
244
280
  z-index: 1;
245
281
  -webkit-transition: all 0.16s ease;
246
282
  transition: all 0.16s ease;
@@ -250,7 +286,6 @@
250
286
  width: 100%;
251
287
  -webkit-transition: all 0.16s ease;
252
288
  transition: all 0.16s ease;
253
- float: left;
254
289
  }
255
290
 
256
291
  #divStyles .is-overlay {
@@ -262,7 +297,7 @@
262
297
  }
263
298
 
264
299
  #divStyles > div .is-overlay:after {
265
- background: rgba(0, 0, 0, 0.05);
300
+ background: rgba(0, 0, 0, 0.03);
266
301
  position: absolute;
267
302
  content: "";
268
303
  display: block;
@@ -356,12 +391,12 @@
356
391
  font-size: 13px;
357
392
  }
358
393
 
359
- #_cbhtml .is-modal.editsection button.cmd-section-height {
360
- padding: 1px 15px;
361
- width: 67px;
394
+ #_cbhtml .is-modal.editsection button.cmd-section-height,
395
+ #_cbhtml .is-modal.editsection button.cmd-box-spacing {
396
+ width: 50px;
362
397
  }
363
398
 
364
- .is-wrapper {
399
+ cmd-box-spacing .is-wrapper {
365
400
  opacity: 0.01;
366
401
  }
367
402