@innovastudio/contentbox 1.6.158 → 1.6.160
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.
@@ -4666,6 +4666,7 @@ class EditSection {
|
|
4666
4666
|
dom$k.appendHtml(builderStuff, html);
|
4667
4667
|
let modalEditSection = builderStuff.querySelector('.is-modal.editsection');
|
4668
4668
|
this.modalEditSection = modalEditSection;
|
4669
|
+
this.builder.editor.draggable('.is-modal.editsection .is-draggable');
|
4669
4670
|
const btnClose = modalEditSection.querySelector('.is-modal-close');
|
4670
4671
|
if (btnClose) btnClose.addEventListener('click', () => {
|
4671
4672
|
this.close();
|
@@ -5310,6 +5311,7 @@ class EditSection {
|
|
5310
5311
|
close() {
|
5311
5312
|
const modalEditSection = this.modalEditSection;
|
5312
5313
|
modalEditSection.style.display = '';
|
5314
|
+
modalEditSection.setAttribute('aria-hidden', true);
|
5313
5315
|
}
|
5314
5316
|
|
5315
5317
|
edit() {
|
@@ -5323,6 +5325,7 @@ class EditSection {
|
|
5323
5325
|
// });
|
5324
5326
|
|
5325
5327
|
modalEditSection.focus();
|
5328
|
+
modalEditSection.setAttribute('aria-hidden', false);
|
5326
5329
|
this.read(); // Animate
|
5327
5330
|
|
5328
5331
|
const activeSection = this.builder.activeSection;
|
@@ -5409,6 +5412,7 @@ class EditBox {
|
|
5409
5412
|
this.modalEditBox = modalEditBox;
|
5410
5413
|
const modalEditCode = builderStuff.querySelector('.is-modal.editcustomcode');
|
5411
5414
|
const modalEditModule = builderStuff.querySelector('.is-modal.editmodule');
|
5415
|
+
this.builder.editor.draggable('.is-modal.editbox .is-draggable');
|
5412
5416
|
const divBoxClick = modalEditBox.querySelector('#divBoxClick');
|
5413
5417
|
this.divBoxClick = divBoxClick;
|
5414
5418
|
const divBoxGeneral = modalEditBox.querySelector('#divBoxGeneral');
|
@@ -5417,21 +5421,7 @@ class EditBox {
|
|
5417
5421
|
if (btnClose) btnClose.addEventListener('click', () => {
|
5418
5422
|
this.close();
|
5419
5423
|
});
|
5420
|
-
new Tabs$1(modalEditBox);
|
5421
|
-
|
5422
|
-
let s = '<div class="feature-master-style"></div>';
|
5423
|
-
dom$j.appendHtml(modalEditBox, s);
|
5424
|
-
const stamp = modalEditBox.querySelector('.feature-master-style');
|
5425
|
-
let d = window.getComputedStyle(stamp, null).getPropertyValue('display');
|
5426
|
-
|
5427
|
-
if (d === 'none') ; else {
|
5428
|
-
const divContainerParagraphSize = modalEditBox.querySelector('#divContainerParagraphSize');
|
5429
|
-
const divContainerLineHeight = modalEditBox.querySelector('#divContainerLineHeight');
|
5430
|
-
divContainerParagraphSize.style.display = 'none';
|
5431
|
-
divContainerLineHeight.style.display = 'none';
|
5432
|
-
}
|
5433
|
-
|
5434
|
-
stamp.parentNode.removeChild(stamp);
|
5424
|
+
new Tabs$1(modalEditBox);
|
5435
5425
|
const tabs = modalEditBox.querySelectorAll('.is-tabs a');
|
5436
5426
|
tabs.forEach(tab => {
|
5437
5427
|
tab.addEventListener('click', e => {
|
@@ -6366,8 +6356,21 @@ class EditBox {
|
|
6366
6356
|
// let activeModule = activeBox.querySelector('.is-overlay-content[data-module]');
|
6367
6357
|
let activeModule = this.builder.doc.querySelector('[data-module-active="1"]');
|
6368
6358
|
this.builder.editor.saveForUndo();
|
6369
|
-
let modalIframe = modalEditModule.querySelector('iframe');
|
6370
|
-
|
6359
|
+
let modalIframe = modalEditModule.querySelector('iframe'); // if(modalIframe.contentWindow.construct) modalIframe.contentWindow.construct();
|
6360
|
+
|
6361
|
+
if (modalIframe.contentWindow.construct) {
|
6362
|
+
const result = modalIframe.contentWindow.construct(); // transfer module code to hidContentModuleCode & hidContentModuleSettings for saving
|
6363
|
+
|
6364
|
+
if (typeof result === 'object' && result !== null) {
|
6365
|
+
if (result.error) {
|
6366
|
+
alert(result.error);
|
6367
|
+
return;
|
6368
|
+
}
|
6369
|
+
}
|
6370
|
+
} else {
|
6371
|
+
return;
|
6372
|
+
}
|
6373
|
+
|
6371
6374
|
this.builder.editor.saveForUndo(); //REVIEW
|
6372
6375
|
// if (moduleName == 'code') {
|
6373
6376
|
// let codeEditor = builderStuff.querySelector('#txtBoxCustomCode').getAttribute('data-CodeMirrorInstance');
|
@@ -7138,6 +7141,7 @@ class EditBox {
|
|
7138
7141
|
close() {
|
7139
7142
|
const modalEditBox = this.modalEditBox;
|
7140
7143
|
modalEditBox.style.display = '';
|
7144
|
+
modalEditBox.setAttribute('aria-hidden', true);
|
7141
7145
|
}
|
7142
7146
|
|
7143
7147
|
edit() {
|
@@ -7158,6 +7162,7 @@ class EditBox {
|
|
7158
7162
|
document.body.classList.add('box-modal-open'); // see .box-modal-open (gives outline to div.is-container when Box Settings is opened)
|
7159
7163
|
|
7160
7164
|
modalEditBox.focus();
|
7165
|
+
modalEditBox.setAttribute('aria-hidden', false);
|
7161
7166
|
} //edit
|
7162
7167
|
|
7163
7168
|
|
@@ -27869,8 +27874,8 @@ const renderQuickAdd = builder => {
|
|
27869
27874
|
dom.addEventListener(elm, 'click', () => {
|
27870
27875
|
const mode = quickadd.getAttribute('data-mode');
|
27871
27876
|
let html = `<div>
|
27872
|
-
|
27873
|
-
|
27877
|
+
<a href="#" role="button" class="transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid mt-2 mb-1 font-normal tracking-normal rounded-full py-2 px-6 size-15 leading-14 border-transparent hover:border-transparent" style="color: rgb(24, 24, 27); background-color: rgb(240, 240, 241);" onmouseover="if(this.getAttribute('data-hover-bg'))this.style.backgroundColor=this.getAttribute('data-hover-bg');" onmouseout="if(this.getAttribute('data-bg'))this.style.backgroundColor=this.getAttribute('data-bg');else this.style.backgroundColor='';" data-bg="rgb(240, 240, 241)" data-hover-bg="rgb(236, 236, 238)">Read More</a>
|
27878
|
+
</div>`;
|
27874
27879
|
if (builder.opts.emailMode) {
|
27875
27880
|
html = '<div><a href="#" role="button" style="margin-top: ;margin-right: ;margin-bottom: ;margin-left: ;display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; border-style: solid; cursor: pointer; background-color: rgb(220, 220, 220); color: rgb(0, 0, 0); border-color: rgb(220, 220, 220); border-width: 2px; border-radius: 0px; padding: 13px 28px; line-height: 21px; text-transform: uppercase; font-weight: 400; font-size: 14px; letter-spacing: 3px;">Read More</a></div>';
|
27876
27881
|
}
|
@@ -27879,10 +27884,10 @@ const renderQuickAdd = builder => {
|
|
27879
27884
|
elm = quickadd.querySelector('.add-twobutton');
|
27880
27885
|
dom.addEventListener(elm, 'click', () => {
|
27881
27886
|
const mode = quickadd.getAttribute('data-mode');
|
27882
|
-
let html = `<div>
|
27883
|
-
|
27884
|
-
|
27885
|
-
|
27887
|
+
let html = `<div class="space-x-1">
|
27888
|
+
<a href="#" role="button" class="transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid mt-2 mb-1 font-normal tracking-normal rounded-full py-2 px-6 size-15 leading-14 border-transparent hover:border-transparent" style="color: rgb(24, 24, 27); background-color: rgb(240, 240, 241);" onmouseover="if(this.getAttribute('data-hover-bg'))this.style.backgroundColor=this.getAttribute('data-hover-bg');" onmouseout="if(this.getAttribute('data-bg'))this.style.backgroundColor=this.getAttribute('data-bg');else this.style.backgroundColor='';" data-bg="rgb(240, 240, 241)" data-hover-bg="rgb(236, 236, 238)">Read More</a>
|
27889
|
+
<a href="#" role="button" class="transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid mt-2 mb-1 font-normal tracking-normal rounded-full py-2 px-6 size-15 leading-14 border-transparent hover:border-transparent" style="color: rgb(250, 250, 250); background-color: rgb(24, 24, 27);" onmouseover="if(this.getAttribute('data-hover-bg'))this.style.backgroundColor=this.getAttribute('data-hover-bg');" onmouseout="if(this.getAttribute('data-bg'))this.style.backgroundColor=this.getAttribute('data-bg');else this.style.backgroundColor='';" data-bg="rgb(24, 24, 27)" data-hover-bg="rgb(63, 63, 70)">Get Started</a>
|
27890
|
+
</div>`;
|
27886
27891
|
if (builder.opts.emailMode) {
|
27887
27892
|
html = `<div>
|
27888
27893
|
<a href="#" role="button" style="margin-top: ;margin-right: ;margin-bottom: ;margin-left: ;display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; border-style: solid; cursor: pointer; background-color: rgb(220, 220, 220); color: rgb(0, 0, 0); border-color: rgb(220, 220, 220); border-width: 2px; border-radius: 0px; padding: 13px 28px; line-height: 21px; text-transform: uppercase; font-weight: 400; font-size: 14px; letter-spacing: 3px;">Read More</a>
|
@@ -74223,7 +74228,7 @@ class ButtonEditor {
|
|
74223
74228
|
</div>
|
74224
74229
|
<div id="divButtonTemplates" class="is-tab-content" tabindex="-1" data-group="button">
|
74225
74230
|
|
74226
|
-
<div id="divButtonTemplateList"
|
74231
|
+
<div id="divButtonTemplateList"></div>
|
74227
74232
|
|
74228
74233
|
</div>
|
74229
74234
|
</div>
|
@@ -75198,334 +75203,953 @@ class ButtonEditor {
|
|
75198
75203
|
callback(currColor);
|
75199
75204
|
this.builderStuff.removeChild(elm);
|
75200
75205
|
}
|
75201
|
-
renderTemplates() {
|
75202
|
-
const templates = [/* rounded */
|
75203
75206
|
|
75207
|
+
// Button generator function
|
75208
|
+
generateButton(config) {
|
75209
|
+
const {
|
75210
|
+
type = 'outline',
|
75211
|
+
shape = 'rounded',
|
75212
|
+
size = 'medium',
|
75213
|
+
text = 'Button',
|
75214
|
+
color,
|
75215
|
+
bg,
|
75216
|
+
hoverBg,
|
75217
|
+
borderColor,
|
75218
|
+
// hoverBorderColor,
|
75219
|
+
customClasses = '',
|
75220
|
+
href = '#'
|
75221
|
+
} = config;
|
75222
|
+
|
75223
|
+
// Base classes that all buttons share
|
75224
|
+
const baseClasses = 'transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid mt-2 mb-1 font-normal tracking-normal';
|
75225
|
+
|
75226
|
+
// Shape classes
|
75227
|
+
const shapeClasses = {
|
75228
|
+
'rounded': 'rounded-full',
|
75229
|
+
'square': '',
|
75230
|
+
'slightly-rounded': 'rounded-lg'
|
75231
|
+
};
|
75232
|
+
|
75233
|
+
// Size classes - adjust padding, font size, and line height
|
75234
|
+
const sizeClasses = {
|
75235
|
+
'small': 'py-1 px-4 size-14 leading-13',
|
75236
|
+
'medium': 'py-2 px-6 size-15 leading-14',
|
75237
|
+
'large': 'py-2 px-7 size-16 leading-16'
|
75238
|
+
};
|
75239
|
+
|
75240
|
+
// Build the final class string
|
75241
|
+
// let classes = `${baseClasses} ${shapeClasses[shape] || ''} ${customClasses}`.trim();
|
75242
|
+
let classes = `${baseClasses} ${shapeClasses[shape] || ''} ${sizeClasses[size] || sizeClasses.medium} ${customClasses}`.trim();
|
75243
|
+
|
75244
|
+
// 🔹 Remove 'no-underline' if 'underline' exists in customClasses
|
75245
|
+
if (/\bunderline\b/.test(customClasses)) {
|
75246
|
+
classes = classes.replace(/\bno-underline\b/, '').trim();
|
75247
|
+
}
|
75248
|
+
|
75249
|
+
// Build style and attributes based on type
|
75250
|
+
if (type === 'outline') {
|
75251
|
+
// Outline button
|
75252
|
+
const borderClass = borderColor ? '' : 'border-current hover:border-current';
|
75253
|
+
classes += ` ${borderClass}`;
|
75254
|
+
|
75255
|
+
// const styleAttr = borderColor ? `style="border-color: ${borderColor};"` : '';
|
75256
|
+
const styleAttr = color ? `style="color: ${color};"` : '';
|
75257
|
+
return {
|
75258
|
+
html: `<a href="${href}" role="button" class="${classes}"${styleAttr ? ' ' + styleAttr : ''}>${text}</a>`
|
75259
|
+
};
|
75260
|
+
} else if (type === 'solid') {
|
75261
|
+
// Solid button with background
|
75262
|
+
classes += ' border-transparent hover:border-transparent';
|
75263
|
+
let html = '<a\n';
|
75264
|
+
html += ` href="${href}"\n`;
|
75265
|
+
html += ' role="button"\n';
|
75266
|
+
html += ` class="${classes}"\n`;
|
75267
|
+
if (color || bg) {
|
75268
|
+
const styles = [];
|
75269
|
+
if (color) styles.push(`color: ${color}`);
|
75270
|
+
if (bg) styles.push(`background-color: ${bg}`);
|
75271
|
+
html += ` style="${styles.join('; ')};"`;
|
75272
|
+
}
|
75273
|
+
if (bg && hoverBg) {
|
75274
|
+
html += `\n data-bg="${bg}"`;
|
75275
|
+
html += `\n data-hover-bg="${hoverBg}"`;
|
75276
|
+
html += '\n onmouseover="if(this.getAttribute(\'data-hover-bg\'))this.style.backgroundColor=this.getAttribute(\'data-hover-bg\');"';
|
75277
|
+
html += '\n onmouseout="if(this.getAttribute(\'data-bg\'))this.style.backgroundColor=this.getAttribute(\'data-bg\');else this.style.backgroundColor=\'\';"';
|
75278
|
+
}
|
75279
|
+
html += '>\n';
|
75280
|
+
html += ` ${text}\n`;
|
75281
|
+
html += '</a>';
|
75282
|
+
return {
|
75283
|
+
html
|
75284
|
+
};
|
75285
|
+
}
|
75286
|
+
}
|
75287
|
+
renderTemplates() {
|
75288
|
+
// Button configuration
|
75289
|
+
const buttonConfigs = [
|
75290
|
+
// Rounded buttons
|
75204
75291
|
{
|
75205
|
-
|
75206
|
-
|
75207
|
-
|
75292
|
+
type: 'solid',
|
75293
|
+
shape: 'rounded',
|
75294
|
+
text: 'Read More',
|
75295
|
+
color: 'rgb(24, 24, 27)',
|
75296
|
+
bg: 'transparent',
|
75297
|
+
hoverBg: 'transparent',
|
75298
|
+
customClasses: 'underline'
|
75299
|
+
}, {
|
75300
|
+
type: 'outline',
|
75301
|
+
shape: 'rounded',
|
75302
|
+
text: 'Read More'
|
75303
|
+
}, {
|
75304
|
+
type: 'solid',
|
75305
|
+
shape: 'rounded',
|
75306
|
+
text: 'Read More',
|
75307
|
+
color: 'rgb(24, 24, 27)',
|
75308
|
+
bg: 'rgb(240, 240, 241)',
|
75309
|
+
hoverBg: 'rgb(236, 236, 238)'
|
75208
75310
|
}, {
|
75209
|
-
|
75210
|
-
|
75211
|
-
|
75311
|
+
type: 'solid',
|
75312
|
+
shape: 'rounded',
|
75313
|
+
text: 'Read More',
|
75314
|
+
color: 'rgb(250, 250, 250)',
|
75315
|
+
bg: 'rgb(24, 24, 27)',
|
75316
|
+
hoverBg: 'rgb(63, 63, 70)'
|
75212
75317
|
}, {
|
75213
|
-
|
75214
|
-
|
75215
|
-
|
75318
|
+
type: 'outline',
|
75319
|
+
shape: 'rounded',
|
75320
|
+
text: 'Read More',
|
75321
|
+
color: 'rgb(250, 250, 250)',
|
75322
|
+
bg: 'transparent',
|
75323
|
+
hoverBg: 'transparent'
|
75216
75324
|
}, {
|
75217
|
-
|
75218
|
-
|
75219
|
-
|
75325
|
+
type: 'solid',
|
75326
|
+
shape: 'rounded',
|
75327
|
+
text: 'Read More',
|
75328
|
+
color: '#ffffff',
|
75329
|
+
bg: 'rgba(13, 151, 255, 1)',
|
75330
|
+
hoverBg: 'rgba(7, 138, 237, 1)'
|
75220
75331
|
}, {
|
75221
|
-
|
75222
|
-
|
75223
|
-
|
75332
|
+
type: 'solid',
|
75333
|
+
shape: 'rounded',
|
75334
|
+
text: 'Read More',
|
75335
|
+
color: '#ffffff',
|
75336
|
+
bg: '#3b82f6',
|
75337
|
+
hoverBg: 'rgba(47, 116, 228, 1)'
|
75224
75338
|
}, {
|
75225
|
-
|
75226
|
-
|
75227
|
-
|
75228
|
-
|
75339
|
+
type: 'solid',
|
75340
|
+
shape: 'rounded',
|
75341
|
+
text: 'Read More',
|
75342
|
+
color: 'rgb(24, 24, 27)',
|
75343
|
+
bg: '#fff',
|
75344
|
+
hoverBg: 'rgba(248, 248, 250, 1)'
|
75345
|
+
},
|
75346
|
+
// Colors
|
75229
75347
|
{
|
75230
|
-
|
75231
|
-
|
75232
|
-
|
75348
|
+
type: 'solid',
|
75349
|
+
shape: 'rounded',
|
75350
|
+
size: 'medium',
|
75351
|
+
text: 'Read More',
|
75352
|
+
color: 'rgb(24, 24, 27)',
|
75353
|
+
bg: 'rgba(111, 235, 255, 1)',
|
75354
|
+
hoverBg: 'rgba(98, 230, 252, 1)'
|
75355
|
+
}, {
|
75356
|
+
type: 'solid',
|
75357
|
+
shape: 'rounded',
|
75358
|
+
size: 'medium',
|
75359
|
+
text: 'Read More',
|
75360
|
+
color: '#ffffff',
|
75361
|
+
bg: 'rgba(19, 166, 27, 1)',
|
75362
|
+
hoverBg: 'rgba(17, 155, 25, 1)'
|
75233
75363
|
}, {
|
75234
|
-
|
75235
|
-
|
75236
|
-
|
75364
|
+
type: 'solid',
|
75365
|
+
shape: 'rounded',
|
75366
|
+
size: 'medium',
|
75367
|
+
text: 'Read More',
|
75368
|
+
color: 'rgb(24, 24, 27)',
|
75369
|
+
bg: 'rgba(254, 235, 101, 1)',
|
75370
|
+
hoverBg: 'rgba(249, 229, 85, 1)'
|
75237
75371
|
}, {
|
75238
|
-
|
75239
|
-
|
75240
|
-
|
75372
|
+
type: 'solid',
|
75373
|
+
shape: 'rounded',
|
75374
|
+
size: 'medium',
|
75375
|
+
text: 'Read More',
|
75376
|
+
color: '#ffffff',
|
75377
|
+
bg: 'rgba(251, 45, 45, 1)',
|
75378
|
+
hoverBg: 'rgba(239, 38, 36, 1)'
|
75241
75379
|
}, {
|
75242
|
-
|
75243
|
-
|
75244
|
-
|
75245
|
-
|
75380
|
+
type: 'solid',
|
75381
|
+
shape: 'rounded',
|
75382
|
+
size: 'medium',
|
75383
|
+
text: 'Read More',
|
75384
|
+
color: '#ffffff',
|
75385
|
+
bg: 'rgba(255, 122, 0, 1)',
|
75386
|
+
hoverBg: 'rgba(248, 109, 2, 1)'
|
75387
|
+
}, {
|
75388
|
+
type: 'solid',
|
75389
|
+
shape: 'rounded',
|
75390
|
+
size: 'medium',
|
75391
|
+
text: 'Read More',
|
75392
|
+
color: '#ffffff',
|
75393
|
+
bg: 'rgba(255, 68, 179, 1)',
|
75394
|
+
hoverBg: 'rgba(240, 46, 169, 1)'
|
75395
|
+
}, {
|
75396
|
+
type: 'solid',
|
75397
|
+
shape: 'rounded',
|
75398
|
+
size: 'medium',
|
75399
|
+
text: 'Read More',
|
75400
|
+
color: 'rgb(24, 24, 27)',
|
75401
|
+
bg: 'rgba(148, 251, 208, 1)',
|
75402
|
+
hoverBg: 'rgba(133, 244, 198, 1)'
|
75403
|
+
}, {
|
75404
|
+
type: 'solid',
|
75405
|
+
shape: 'rounded',
|
75406
|
+
size: 'medium',
|
75407
|
+
text: 'Read More',
|
75408
|
+
color: '#ffffff',
|
75409
|
+
bg: 'rgba(91, 73, 228, 1)',
|
75410
|
+
hoverBg: 'rgba(77, 59, 208, 1)'
|
75411
|
+
}, {
|
75412
|
+
type: 'solid',
|
75413
|
+
shape: 'rounded',
|
75414
|
+
size: 'medium',
|
75415
|
+
text: 'Read More',
|
75416
|
+
color: '#ffffff',
|
75417
|
+
bg: 'rgba(142, 67, 237, 1)',
|
75418
|
+
hoverBg: 'rgba(122, 52, 212, 1)'
|
75419
|
+
}, {
|
75420
|
+
type: 'solid',
|
75421
|
+
shape: 'rounded',
|
75422
|
+
size: 'medium',
|
75423
|
+
text: 'Read More',
|
75424
|
+
color: 'rgb(24, 24, 27)',
|
75425
|
+
bg: 'rgba(191, 245, 110, 1)',
|
75426
|
+
hoverBg: 'rgba(183, 236, 103, 1)'
|
75427
|
+
},
|
75428
|
+
// Slightly Rounded buttons
|
75246
75429
|
{
|
75247
|
-
|
75248
|
-
|
75249
|
-
|
75430
|
+
type: 'solid',
|
75431
|
+
shape: 'slightly-rounded',
|
75432
|
+
text: 'Read More',
|
75433
|
+
color: 'rgb(24, 24, 27)',
|
75434
|
+
bg: 'transparent',
|
75435
|
+
hoverBg: 'transparent',
|
75436
|
+
customClasses: 'underline'
|
75250
75437
|
}, {
|
75251
|
-
|
75252
|
-
|
75253
|
-
|
75438
|
+
type: 'outline',
|
75439
|
+
shape: 'slightly-rounded',
|
75440
|
+
text: 'Read More'
|
75254
75441
|
}, {
|
75255
|
-
|
75256
|
-
|
75257
|
-
|
75442
|
+
type: 'solid',
|
75443
|
+
shape: 'slightly-rounded',
|
75444
|
+
text: 'Read More',
|
75445
|
+
color: 'rgb(24, 24, 27)',
|
75446
|
+
bg: 'rgb(240, 240, 241)',
|
75447
|
+
hoverBg: 'rgb(236, 236, 238)'
|
75258
75448
|
}, {
|
75259
|
-
|
75260
|
-
|
75261
|
-
|
75449
|
+
type: 'solid',
|
75450
|
+
shape: 'slightly-rounded',
|
75451
|
+
text: 'Read More',
|
75452
|
+
color: 'rgb(250, 250, 250)',
|
75453
|
+
bg: 'rgb(24, 24, 27)',
|
75454
|
+
hoverBg: 'rgb(63, 63, 70)'
|
75262
75455
|
}, {
|
75263
|
-
|
75264
|
-
|
75265
|
-
|
75456
|
+
type: 'outline',
|
75457
|
+
shape: 'slightly-rounded',
|
75458
|
+
text: 'Read More',
|
75459
|
+
color: 'rgb(250, 250, 250)',
|
75460
|
+
bg: 'transparent',
|
75461
|
+
hoverBg: 'transparent'
|
75266
75462
|
}, {
|
75267
|
-
|
75268
|
-
|
75269
|
-
|
75270
|
-
|
75463
|
+
type: 'solid',
|
75464
|
+
shape: 'slightly-rounded',
|
75465
|
+
text: 'Read More',
|
75466
|
+
color: '#ffffff',
|
75467
|
+
bg: 'rgba(13, 151, 255, 1)',
|
75468
|
+
hoverBg: 'rgba(7, 138, 237, 1)'
|
75469
|
+
}, {
|
75470
|
+
type: 'solid',
|
75471
|
+
shape: 'slightly-rounded',
|
75472
|
+
text: 'Read More',
|
75473
|
+
color: '#ffffff',
|
75474
|
+
bg: '#3b82f6',
|
75475
|
+
hoverBg: 'rgba(47, 116, 228, 1)'
|
75476
|
+
}, {
|
75477
|
+
type: 'solid',
|
75478
|
+
shape: 'slightly-rounded',
|
75479
|
+
text: 'Read More',
|
75480
|
+
color: 'rgb(24, 24, 27)',
|
75481
|
+
bg: '#fff',
|
75482
|
+
hoverBg: 'rgba(248, 248, 250, 1)'
|
75483
|
+
},
|
75484
|
+
// Colors
|
75271
75485
|
{
|
75272
|
-
|
75273
|
-
|
75274
|
-
|
75486
|
+
type: 'solid',
|
75487
|
+
shape: 'slightly-rounded',
|
75488
|
+
size: 'medium',
|
75489
|
+
text: 'Read More',
|
75490
|
+
color: 'rgb(24, 24, 27)',
|
75491
|
+
bg: 'rgba(111, 235, 255, 1)',
|
75492
|
+
hoverBg: 'rgba(98, 230, 252, 1)'
|
75275
75493
|
}, {
|
75276
|
-
|
75277
|
-
|
75278
|
-
|
75494
|
+
type: 'solid',
|
75495
|
+
shape: 'slightly-rounded',
|
75496
|
+
size: 'medium',
|
75497
|
+
text: 'Read More',
|
75498
|
+
color: '#ffffff',
|
75499
|
+
bg: 'rgba(19, 166, 27, 1)',
|
75500
|
+
hoverBg: 'rgba(17, 155, 25, 1)'
|
75279
75501
|
}, {
|
75280
|
-
|
75281
|
-
|
75282
|
-
|
75502
|
+
type: 'solid',
|
75503
|
+
shape: 'slightly-rounded',
|
75504
|
+
size: 'medium',
|
75505
|
+
text: 'Read More',
|
75506
|
+
color: 'rgb(24, 24, 27)',
|
75507
|
+
bg: 'rgba(254, 235, 101, 1)',
|
75508
|
+
hoverBg: 'rgba(249, 229, 85, 1)'
|
75283
75509
|
}, {
|
75284
|
-
|
75285
|
-
|
75286
|
-
|
75287
|
-
|
75288
|
-
|
75289
|
-
|
75290
|
-
|
75510
|
+
type: 'solid',
|
75511
|
+
shape: 'slightly-rounded',
|
75512
|
+
size: 'medium',
|
75513
|
+
text: 'Read More',
|
75514
|
+
color: '#ffffff',
|
75515
|
+
bg: 'rgba(251, 45, 45, 1)',
|
75516
|
+
hoverBg: 'rgba(239, 38, 36, 1)'
|
75517
|
+
}, {
|
75518
|
+
type: 'solid',
|
75519
|
+
shape: 'slightly-rounded',
|
75520
|
+
size: 'medium',
|
75521
|
+
text: 'Read More',
|
75522
|
+
color: '#ffffff',
|
75523
|
+
bg: 'rgba(255, 122, 0, 1)',
|
75524
|
+
hoverBg: 'rgba(248, 109, 2, 1)'
|
75525
|
+
}, {
|
75526
|
+
type: 'solid',
|
75527
|
+
shape: 'slightly-rounded',
|
75528
|
+
size: 'medium',
|
75529
|
+
text: 'Read More',
|
75530
|
+
color: '#ffffff',
|
75531
|
+
bg: 'rgba(255, 68, 179, 1)',
|
75532
|
+
hoverBg: 'rgba(240, 46, 169, 1)'
|
75533
|
+
}, {
|
75534
|
+
type: 'solid',
|
75535
|
+
shape: 'slightly-rounded',
|
75536
|
+
size: 'medium',
|
75537
|
+
text: 'Read More',
|
75538
|
+
color: 'rgb(24, 24, 27)',
|
75539
|
+
bg: 'rgba(148, 251, 208, 1)',
|
75540
|
+
hoverBg: 'rgba(133, 244, 198, 1)'
|
75541
|
+
}, {
|
75542
|
+
type: 'solid',
|
75543
|
+
shape: 'slightly-rounded',
|
75544
|
+
size: 'medium',
|
75545
|
+
text: 'Read More',
|
75546
|
+
color: '#ffffff',
|
75547
|
+
bg: 'rgba(91, 73, 228, 1)',
|
75548
|
+
hoverBg: 'rgba(77, 59, 208, 1)'
|
75549
|
+
}, {
|
75550
|
+
type: 'solid',
|
75551
|
+
shape: 'slightly-rounded',
|
75552
|
+
size: 'medium',
|
75553
|
+
text: 'Read More',
|
75554
|
+
color: '#ffffff',
|
75555
|
+
bg: 'rgba(142, 67, 237, 1)',
|
75556
|
+
hoverBg: 'rgba(122, 52, 212, 1)'
|
75557
|
+
}, {
|
75558
|
+
type: 'solid',
|
75559
|
+
shape: 'slightly-rounded',
|
75560
|
+
size: 'medium',
|
75561
|
+
text: 'Read More',
|
75562
|
+
color: 'rgb(24, 24, 27)',
|
75563
|
+
bg: 'rgba(191, 245, 110, 1)',
|
75564
|
+
hoverBg: 'rgba(183, 236, 103, 1)'
|
75565
|
+
},
|
75566
|
+
// Rounded buttons - Small
|
75291
75567
|
{
|
75292
|
-
|
75293
|
-
|
75294
|
-
|
75568
|
+
type: 'solid',
|
75569
|
+
shape: 'rounded',
|
75570
|
+
size: 'small',
|
75571
|
+
text: 'Read More',
|
75572
|
+
color: 'rgb(24, 24, 27)',
|
75573
|
+
bg: 'transparent',
|
75574
|
+
hoverBg: 'transparent',
|
75575
|
+
customClasses: 'underline'
|
75576
|
+
}, {
|
75577
|
+
type: 'outline',
|
75578
|
+
shape: 'rounded',
|
75579
|
+
size: 'small',
|
75580
|
+
text: 'Read More'
|
75295
75581
|
}, {
|
75296
|
-
|
75297
|
-
|
75298
|
-
|
75582
|
+
type: 'solid',
|
75583
|
+
shape: 'rounded',
|
75584
|
+
size: 'small',
|
75585
|
+
text: 'Read More',
|
75586
|
+
color: 'rgb(24, 24, 27)',
|
75587
|
+
bg: 'rgb(240, 240, 241)',
|
75588
|
+
hoverBg: 'rgb(236, 236, 238)'
|
75299
75589
|
}, {
|
75300
|
-
|
75301
|
-
|
75302
|
-
|
75590
|
+
type: 'solid',
|
75591
|
+
shape: 'rounded',
|
75592
|
+
size: 'small',
|
75593
|
+
text: 'Read More',
|
75594
|
+
color: 'rgb(250, 250, 250)',
|
75595
|
+
bg: 'rgb(24, 24, 27)',
|
75596
|
+
hoverBg: 'rgb(63, 63, 70)'
|
75303
75597
|
}, {
|
75304
|
-
|
75305
|
-
|
75306
|
-
|
75598
|
+
type: 'outline',
|
75599
|
+
shape: 'rounded',
|
75600
|
+
size: 'small',
|
75601
|
+
text: 'Read More',
|
75602
|
+
color: 'rgb(250, 250, 250)',
|
75603
|
+
bg: 'transparent',
|
75604
|
+
hoverBg: 'transparent'
|
75307
75605
|
}, {
|
75308
|
-
|
75309
|
-
|
75310
|
-
|
75606
|
+
type: 'solid',
|
75607
|
+
shape: 'rounded',
|
75608
|
+
size: 'small',
|
75609
|
+
text: 'Read More',
|
75610
|
+
color: '#ffffff',
|
75611
|
+
bg: 'rgba(13, 151, 255, 1)',
|
75612
|
+
hoverBg: 'rgba(7, 138, 237, 1)'
|
75311
75613
|
}, {
|
75312
|
-
|
75313
|
-
|
75314
|
-
|
75315
|
-
|
75614
|
+
type: 'solid',
|
75615
|
+
shape: 'rounded',
|
75616
|
+
size: 'small',
|
75617
|
+
text: 'Read More',
|
75618
|
+
color: '#ffffff',
|
75619
|
+
bg: '#3b82f6',
|
75620
|
+
hoverBg: 'rgba(47, 116, 228, 1)'
|
75621
|
+
}, {
|
75622
|
+
type: 'solid',
|
75623
|
+
shape: 'rounded',
|
75624
|
+
size: 'small',
|
75625
|
+
text: 'Read More',
|
75626
|
+
color: 'rgb(24, 24, 27)',
|
75627
|
+
bg: '#fff',
|
75628
|
+
hoverBg: 'rgba(248, 248, 250, 1)'
|
75629
|
+
},
|
75630
|
+
// Colors
|
75316
75631
|
{
|
75317
|
-
|
75318
|
-
|
75319
|
-
|
75632
|
+
type: 'solid',
|
75633
|
+
shape: 'rounded',
|
75634
|
+
size: 'small',
|
75635
|
+
text: 'Read More',
|
75636
|
+
color: 'rgb(24, 24, 27)',
|
75637
|
+
bg: 'rgba(111, 235, 255, 1)',
|
75638
|
+
hoverBg: 'rgba(98, 230, 252, 1)'
|
75320
75639
|
}, {
|
75321
|
-
|
75322
|
-
|
75323
|
-
|
75640
|
+
type: 'solid',
|
75641
|
+
shape: 'rounded',
|
75642
|
+
size: 'small',
|
75643
|
+
text: 'Read More',
|
75644
|
+
color: '#ffffff',
|
75645
|
+
bg: 'rgba(19, 166, 27, 1)',
|
75646
|
+
hoverBg: 'rgba(17, 155, 25, 1)'
|
75324
75647
|
}, {
|
75325
|
-
|
75326
|
-
|
75327
|
-
|
75648
|
+
type: 'solid',
|
75649
|
+
shape: 'rounded',
|
75650
|
+
size: 'small',
|
75651
|
+
text: 'Read More',
|
75652
|
+
color: 'rgb(24, 24, 27)',
|
75653
|
+
bg: 'rgba(254, 235, 101, 1)',
|
75654
|
+
hoverBg: 'rgba(249, 229, 85, 1)'
|
75328
75655
|
}, {
|
75329
|
-
|
75330
|
-
|
75331
|
-
|
75332
|
-
|
75656
|
+
type: 'solid',
|
75657
|
+
shape: 'rounded',
|
75658
|
+
size: 'small',
|
75659
|
+
text: 'Read More',
|
75660
|
+
color: '#ffffff',
|
75661
|
+
bg: 'rgba(251, 45, 45, 1)',
|
75662
|
+
hoverBg: 'rgba(239, 38, 36, 1)'
|
75663
|
+
}, {
|
75664
|
+
type: 'solid',
|
75665
|
+
shape: 'rounded',
|
75666
|
+
size: 'small',
|
75667
|
+
text: 'Read More',
|
75668
|
+
color: '#ffffff',
|
75669
|
+
bg: 'rgba(255, 122, 0, 1)',
|
75670
|
+
hoverBg: 'rgba(248, 109, 2, 1)'
|
75671
|
+
}, {
|
75672
|
+
type: 'solid',
|
75673
|
+
shape: 'rounded',
|
75674
|
+
size: 'small',
|
75675
|
+
text: 'Read More',
|
75676
|
+
color: '#ffffff',
|
75677
|
+
bg: 'rgba(255, 68, 179, 1)',
|
75678
|
+
hoverBg: 'rgba(240, 46, 169, 1)'
|
75679
|
+
}, {
|
75680
|
+
type: 'solid',
|
75681
|
+
shape: 'rounded',
|
75682
|
+
size: 'small',
|
75683
|
+
text: 'Read More',
|
75684
|
+
color: 'rgb(24, 24, 27)',
|
75685
|
+
bg: 'rgba(148, 251, 208, 1)',
|
75686
|
+
hoverBg: 'rgba(133, 244, 198, 1)'
|
75687
|
+
}, {
|
75688
|
+
type: 'solid',
|
75689
|
+
shape: 'rounded',
|
75690
|
+
size: 'small',
|
75691
|
+
text: 'Read More',
|
75692
|
+
color: '#ffffff',
|
75693
|
+
bg: 'rgba(91, 73, 228, 1)',
|
75694
|
+
hoverBg: 'rgba(77, 59, 208, 1)'
|
75695
|
+
}, {
|
75696
|
+
type: 'solid',
|
75697
|
+
shape: 'rounded',
|
75698
|
+
size: 'small',
|
75699
|
+
text: 'Read More',
|
75700
|
+
color: '#ffffff',
|
75701
|
+
bg: 'rgba(142, 67, 237, 1)',
|
75702
|
+
hoverBg: 'rgba(122, 52, 212, 1)'
|
75703
|
+
}, {
|
75704
|
+
type: 'solid',
|
75705
|
+
shape: 'rounded',
|
75706
|
+
size: 'small',
|
75707
|
+
text: 'Read More',
|
75708
|
+
color: 'rgb(24, 24, 27)',
|
75709
|
+
bg: 'rgba(191, 245, 110, 1)',
|
75710
|
+
hoverBg: 'rgba(183, 236, 103, 1)'
|
75711
|
+
},
|
75712
|
+
// Slightly Rounded buttons - Small
|
75333
75713
|
{
|
75334
|
-
|
75335
|
-
|
75336
|
-
|
75714
|
+
type: 'solid',
|
75715
|
+
shape: 'slightly-rounded',
|
75716
|
+
size: 'small',
|
75717
|
+
text: 'Read More',
|
75718
|
+
color: 'rgb(24, 24, 27)',
|
75719
|
+
bg: 'transparent',
|
75720
|
+
hoverBg: 'transparent',
|
75721
|
+
customClasses: 'underline'
|
75722
|
+
}, {
|
75723
|
+
type: 'outline',
|
75724
|
+
shape: 'slightly-rounded',
|
75725
|
+
size: 'small',
|
75726
|
+
text: 'Read More'
|
75337
75727
|
}, {
|
75338
|
-
|
75339
|
-
|
75340
|
-
|
75728
|
+
type: 'solid',
|
75729
|
+
shape: 'slightly-rounded',
|
75730
|
+
size: 'small',
|
75731
|
+
text: 'Read More',
|
75732
|
+
color: 'rgb(24, 24, 27)',
|
75733
|
+
bg: 'rgb(240, 240, 241)',
|
75734
|
+
hoverBg: 'rgb(236, 236, 238)'
|
75341
75735
|
}, {
|
75342
|
-
|
75343
|
-
|
75344
|
-
|
75736
|
+
type: 'solid',
|
75737
|
+
shape: 'slightly-rounded',
|
75738
|
+
size: 'small',
|
75739
|
+
text: 'Read More',
|
75740
|
+
color: 'rgb(250, 250, 250)',
|
75741
|
+
bg: 'rgb(24, 24, 27)',
|
75742
|
+
hoverBg: 'rgb(63, 63, 70)'
|
75345
75743
|
}, {
|
75346
|
-
|
75347
|
-
|
75348
|
-
|
75744
|
+
type: 'outline',
|
75745
|
+
shape: 'slightly-rounded',
|
75746
|
+
size: 'small',
|
75747
|
+
text: 'Read More',
|
75748
|
+
color: 'rgb(250, 250, 250)',
|
75749
|
+
bg: 'transparent',
|
75750
|
+
hoverBg: 'transparent'
|
75349
75751
|
}, {
|
75350
|
-
|
75351
|
-
|
75352
|
-
|
75752
|
+
type: 'solid',
|
75753
|
+
shape: 'slightly-rounded',
|
75754
|
+
size: 'small',
|
75755
|
+
text: 'Read More',
|
75756
|
+
color: '#ffffff',
|
75757
|
+
bg: 'rgba(13, 151, 255, 1)',
|
75758
|
+
hoverBg: 'rgba(7, 138, 237, 1)'
|
75353
75759
|
}, {
|
75354
|
-
|
75355
|
-
|
75356
|
-
|
75357
|
-
|
75760
|
+
type: 'solid',
|
75761
|
+
shape: 'slightly-rounded',
|
75762
|
+
size: 'small',
|
75763
|
+
text: 'Read More',
|
75764
|
+
color: '#ffffff',
|
75765
|
+
bg: '#3b82f6',
|
75766
|
+
hoverBg: 'rgba(47, 116, 228, 1)'
|
75767
|
+
}, {
|
75768
|
+
type: 'solid',
|
75769
|
+
shape: 'slightly-rounded',
|
75770
|
+
size: 'small',
|
75771
|
+
text: 'Read More',
|
75772
|
+
color: 'rgb(24, 24, 27)',
|
75773
|
+
bg: '#fff',
|
75774
|
+
hoverBg: 'rgba(248, 248, 250, 1)'
|
75775
|
+
},
|
75776
|
+
// Colors
|
75358
75777
|
{
|
75359
|
-
|
75360
|
-
|
75361
|
-
|
75778
|
+
type: 'solid',
|
75779
|
+
shape: 'slightly-rounded',
|
75780
|
+
size: 'small',
|
75781
|
+
text: 'Read More',
|
75782
|
+
color: 'rgb(24, 24, 27)',
|
75783
|
+
bg: 'rgba(111, 235, 255, 1)',
|
75784
|
+
hoverBg: 'rgba(98, 230, 252, 1)'
|
75362
75785
|
}, {
|
75363
|
-
|
75364
|
-
|
75365
|
-
|
75786
|
+
type: 'solid',
|
75787
|
+
shape: 'slightly-rounded',
|
75788
|
+
size: 'small',
|
75789
|
+
text: 'Read More',
|
75790
|
+
color: '#ffffff',
|
75791
|
+
bg: 'rgba(19, 166, 27, 1)',
|
75792
|
+
hoverBg: 'rgba(17, 155, 25, 1)'
|
75366
75793
|
}, {
|
75367
|
-
|
75368
|
-
|
75369
|
-
|
75794
|
+
type: 'solid',
|
75795
|
+
shape: 'slightly-rounded',
|
75796
|
+
size: 'small',
|
75797
|
+
text: 'Read More',
|
75798
|
+
color: 'rgb(24, 24, 27)',
|
75799
|
+
bg: 'rgba(254, 235, 101, 1)',
|
75800
|
+
hoverBg: 'rgba(249, 229, 85, 1)'
|
75370
75801
|
}, {
|
75371
|
-
|
75372
|
-
|
75373
|
-
|
75374
|
-
|
75375
|
-
|
75376
|
-
|
75377
|
-
|
75802
|
+
type: 'solid',
|
75803
|
+
shape: 'slightly-rounded',
|
75804
|
+
size: 'small',
|
75805
|
+
text: 'Read More',
|
75806
|
+
color: '#ffffff',
|
75807
|
+
bg: 'rgba(251, 45, 45, 1)',
|
75808
|
+
hoverBg: 'rgba(239, 38, 36, 1)'
|
75809
|
+
}, {
|
75810
|
+
type: 'solid',
|
75811
|
+
shape: 'slightly-rounded',
|
75812
|
+
size: 'small',
|
75813
|
+
text: 'Read More',
|
75814
|
+
color: '#ffffff',
|
75815
|
+
bg: 'rgba(255, 122, 0, 1)',
|
75816
|
+
hoverBg: 'rgba(248, 109, 2, 1)'
|
75817
|
+
}, {
|
75818
|
+
type: 'solid',
|
75819
|
+
shape: 'slightly-rounded',
|
75820
|
+
size: 'small',
|
75821
|
+
text: 'Read More',
|
75822
|
+
color: '#ffffff',
|
75823
|
+
bg: 'rgba(255, 68, 179, 1)',
|
75824
|
+
hoverBg: 'rgba(240, 46, 169, 1)'
|
75825
|
+
}, {
|
75826
|
+
type: 'solid',
|
75827
|
+
shape: 'slightly-rounded',
|
75828
|
+
size: 'small',
|
75829
|
+
text: 'Read More',
|
75830
|
+
color: 'rgb(24, 24, 27)',
|
75831
|
+
bg: 'rgba(148, 251, 208, 1)',
|
75832
|
+
hoverBg: 'rgba(133, 244, 198, 1)'
|
75833
|
+
}, {
|
75834
|
+
type: 'solid',
|
75835
|
+
shape: 'slightly-rounded',
|
75836
|
+
size: 'small',
|
75837
|
+
text: 'Read More',
|
75838
|
+
color: '#ffffff',
|
75839
|
+
bg: 'rgba(91, 73, 228, 1)',
|
75840
|
+
hoverBg: 'rgba(77, 59, 208, 1)'
|
75841
|
+
}, {
|
75842
|
+
type: 'solid',
|
75843
|
+
shape: 'slightly-rounded',
|
75844
|
+
size: 'small',
|
75845
|
+
text: 'Read More',
|
75846
|
+
color: '#ffffff',
|
75847
|
+
bg: 'rgba(142, 67, 237, 1)',
|
75848
|
+
hoverBg: 'rgba(122, 52, 212, 1)'
|
75849
|
+
}, {
|
75850
|
+
type: 'solid',
|
75851
|
+
shape: 'slightly-rounded',
|
75852
|
+
size: 'small',
|
75853
|
+
text: 'Read More',
|
75854
|
+
color: 'rgb(24, 24, 27)',
|
75855
|
+
bg: 'rgba(191, 245, 110, 1)',
|
75856
|
+
hoverBg: 'rgba(183, 236, 103, 1)'
|
75857
|
+
},
|
75858
|
+
// Rounded buttons - Large
|
75378
75859
|
{
|
75379
|
-
|
75380
|
-
|
75381
|
-
|
75860
|
+
type: 'solid',
|
75861
|
+
shape: 'rounded',
|
75862
|
+
size: 'large',
|
75863
|
+
text: 'Read More',
|
75864
|
+
color: 'rgb(24, 24, 27)',
|
75865
|
+
bg: 'transparent',
|
75866
|
+
hoverBg: 'transparent',
|
75867
|
+
customClasses: 'underline'
|
75868
|
+
}, {
|
75869
|
+
type: 'outline',
|
75870
|
+
shape: 'rounded',
|
75871
|
+
size: 'large',
|
75872
|
+
text: 'Read More'
|
75382
75873
|
}, {
|
75383
|
-
|
75384
|
-
|
75385
|
-
|
75874
|
+
type: 'solid',
|
75875
|
+
shape: 'rounded',
|
75876
|
+
size: 'large',
|
75877
|
+
text: 'Read More',
|
75878
|
+
color: 'rgb(24, 24, 27)',
|
75879
|
+
bg: 'rgb(240, 240, 241)',
|
75880
|
+
hoverBg: 'rgb(236, 236, 238)'
|
75386
75881
|
}, {
|
75387
|
-
|
75388
|
-
|
75389
|
-
|
75882
|
+
type: 'solid',
|
75883
|
+
shape: 'rounded',
|
75884
|
+
size: 'large',
|
75885
|
+
text: 'Read More',
|
75886
|
+
color: 'rgb(250, 250, 250)',
|
75887
|
+
bg: 'rgb(24, 24, 27)',
|
75888
|
+
hoverBg: 'rgb(63, 63, 70)'
|
75390
75889
|
}, {
|
75391
|
-
|
75392
|
-
|
75393
|
-
|
75890
|
+
type: 'outline',
|
75891
|
+
shape: 'rounded',
|
75892
|
+
size: 'large',
|
75893
|
+
text: 'Read More',
|
75894
|
+
color: 'rgb(250, 250, 250)',
|
75895
|
+
bg: 'transparent',
|
75896
|
+
hoverBg: 'transparent'
|
75394
75897
|
}, {
|
75395
|
-
|
75396
|
-
|
75397
|
-
|
75898
|
+
type: 'solid',
|
75899
|
+
shape: 'rounded',
|
75900
|
+
size: 'large',
|
75901
|
+
text: 'Read More',
|
75902
|
+
color: '#ffffff',
|
75903
|
+
bg: 'rgba(13, 151, 255, 1)',
|
75904
|
+
hoverBg: 'rgba(7, 138, 237, 1)'
|
75398
75905
|
}, {
|
75399
|
-
|
75400
|
-
|
75401
|
-
|
75402
|
-
|
75906
|
+
type: 'solid',
|
75907
|
+
shape: 'rounded',
|
75908
|
+
size: 'large',
|
75909
|
+
text: 'Read More',
|
75910
|
+
color: '#ffffff',
|
75911
|
+
bg: '#3b82f6',
|
75912
|
+
hoverBg: 'rgba(47, 116, 228, 1)'
|
75913
|
+
}, {
|
75914
|
+
type: 'solid',
|
75915
|
+
shape: 'rounded',
|
75916
|
+
size: 'large',
|
75917
|
+
text: 'Read More',
|
75918
|
+
color: 'rgb(24, 24, 27)',
|
75919
|
+
bg: '#fff',
|
75920
|
+
hoverBg: 'rgba(248, 248, 250, 1)'
|
75921
|
+
},
|
75922
|
+
// Colors
|
75403
75923
|
{
|
75404
|
-
|
75405
|
-
|
75406
|
-
|
75924
|
+
type: 'solid',
|
75925
|
+
shape: 'rounded',
|
75926
|
+
size: 'large',
|
75927
|
+
text: 'Read More',
|
75928
|
+
color: 'rgb(24, 24, 27)',
|
75929
|
+
bg: 'rgba(111, 235, 255, 1)',
|
75930
|
+
hoverBg: 'rgba(98, 230, 252, 1)'
|
75931
|
+
}, {
|
75932
|
+
type: 'solid',
|
75933
|
+
shape: 'rounded',
|
75934
|
+
size: 'large',
|
75935
|
+
text: 'Read More',
|
75936
|
+
color: '#ffffff',
|
75937
|
+
bg: 'rgba(19, 166, 27, 1)',
|
75938
|
+
hoverBg: 'rgba(17, 155, 25, 1)'
|
75939
|
+
}, {
|
75940
|
+
type: 'solid',
|
75941
|
+
shape: 'rounded',
|
75942
|
+
size: 'large',
|
75943
|
+
text: 'Read More',
|
75944
|
+
color: 'rgb(24, 24, 27)',
|
75945
|
+
bg: 'rgba(254, 235, 101, 1)',
|
75946
|
+
hoverBg: 'rgba(249, 229, 85, 1)'
|
75947
|
+
}, {
|
75948
|
+
type: 'solid',
|
75949
|
+
shape: 'rounded',
|
75950
|
+
size: 'large',
|
75951
|
+
text: 'Read More',
|
75952
|
+
color: '#ffffff',
|
75953
|
+
bg: 'rgba(251, 45, 45, 1)',
|
75954
|
+
hoverBg: 'rgba(239, 38, 36, 1)'
|
75955
|
+
}, {
|
75956
|
+
type: 'solid',
|
75957
|
+
shape: 'rounded',
|
75958
|
+
size: 'large',
|
75959
|
+
text: 'Read More',
|
75960
|
+
color: '#ffffff',
|
75961
|
+
bg: 'rgba(255, 122, 0, 1)',
|
75962
|
+
hoverBg: 'rgba(248, 109, 2, 1)'
|
75407
75963
|
}, {
|
75408
|
-
|
75409
|
-
|
75410
|
-
|
75964
|
+
type: 'solid',
|
75965
|
+
shape: 'rounded',
|
75966
|
+
size: 'large',
|
75967
|
+
text: 'Read More',
|
75968
|
+
color: '#ffffff',
|
75969
|
+
bg: 'rgba(255, 68, 179, 1)',
|
75970
|
+
hoverBg: 'rgba(240, 46, 169, 1)'
|
75411
75971
|
}, {
|
75412
|
-
|
75413
|
-
|
75414
|
-
|
75972
|
+
type: 'solid',
|
75973
|
+
shape: 'rounded',
|
75974
|
+
size: 'large',
|
75975
|
+
text: 'Read More',
|
75976
|
+
color: 'rgb(24, 24, 27)',
|
75977
|
+
bg: 'rgba(148, 251, 208, 1)',
|
75978
|
+
hoverBg: 'rgba(133, 244, 198, 1)'
|
75415
75979
|
}, {
|
75416
|
-
|
75417
|
-
|
75418
|
-
|
75419
|
-
|
75980
|
+
type: 'solid',
|
75981
|
+
shape: 'rounded',
|
75982
|
+
size: 'large',
|
75983
|
+
text: 'Read More',
|
75984
|
+
color: '#ffffff',
|
75985
|
+
bg: 'rgba(91, 73, 228, 1)',
|
75986
|
+
hoverBg: 'rgba(77, 59, 208, 1)'
|
75987
|
+
}, {
|
75988
|
+
type: 'solid',
|
75989
|
+
shape: 'rounded',
|
75990
|
+
size: 'large',
|
75991
|
+
text: 'Read More',
|
75992
|
+
color: '#ffffff',
|
75993
|
+
bg: 'rgba(142, 67, 237, 1)',
|
75994
|
+
hoverBg: 'rgba(122, 52, 212, 1)'
|
75995
|
+
}, {
|
75996
|
+
type: 'solid',
|
75997
|
+
shape: 'rounded',
|
75998
|
+
size: 'large',
|
75999
|
+
text: 'Read More',
|
76000
|
+
color: 'rgb(24, 24, 27)',
|
76001
|
+
bg: 'rgba(191, 245, 110, 1)',
|
76002
|
+
hoverBg: 'rgba(183, 236, 103, 1)'
|
76003
|
+
},
|
76004
|
+
// Slightly Rounded buttons - Large
|
75420
76005
|
{
|
75421
|
-
|
75422
|
-
|
75423
|
-
|
76006
|
+
type: 'solid',
|
76007
|
+
shape: 'slightly-rounded',
|
76008
|
+
size: 'large',
|
76009
|
+
text: 'Read More',
|
76010
|
+
color: 'rgb(24, 24, 27)',
|
76011
|
+
bg: 'transparent',
|
76012
|
+
hoverBg: 'transparent',
|
76013
|
+
customClasses: 'underline'
|
76014
|
+
}, {
|
76015
|
+
type: 'outline',
|
76016
|
+
shape: 'slightly-rounded',
|
76017
|
+
size: 'large',
|
76018
|
+
text: 'Read More'
|
76019
|
+
}, {
|
76020
|
+
type: 'solid',
|
76021
|
+
shape: 'slightly-rounded',
|
76022
|
+
size: 'large',
|
76023
|
+
text: 'Read More',
|
76024
|
+
color: 'rgb(24, 24, 27)',
|
76025
|
+
bg: 'rgb(240, 240, 241)',
|
76026
|
+
hoverBg: 'rgb(236, 236, 238)'
|
75424
76027
|
}, {
|
75425
|
-
|
75426
|
-
|
75427
|
-
|
76028
|
+
type: 'solid',
|
76029
|
+
shape: 'slightly-rounded',
|
76030
|
+
size: 'large',
|
76031
|
+
text: 'Read More',
|
76032
|
+
color: 'rgb(250, 250, 250)',
|
76033
|
+
bg: 'rgb(24, 24, 27)',
|
76034
|
+
hoverBg: 'rgb(63, 63, 70)'
|
75428
76035
|
}, {
|
75429
|
-
|
75430
|
-
|
75431
|
-
|
76036
|
+
type: 'outline',
|
76037
|
+
shape: 'slightly-rounded',
|
76038
|
+
size: 'large',
|
76039
|
+
text: 'Read More',
|
76040
|
+
color: 'rgb(250, 250, 250)',
|
76041
|
+
bg: 'transparent',
|
76042
|
+
hoverBg: 'transparent'
|
75432
76043
|
}, {
|
75433
|
-
|
75434
|
-
|
75435
|
-
|
76044
|
+
type: 'solid',
|
76045
|
+
shape: 'slightly-rounded',
|
76046
|
+
size: 'large',
|
76047
|
+
text: 'Read More',
|
76048
|
+
color: '#ffffff',
|
76049
|
+
bg: 'rgba(13, 151, 255, 1)',
|
76050
|
+
hoverBg: 'rgba(7, 138, 237, 1)'
|
75436
76051
|
}, {
|
75437
|
-
|
75438
|
-
|
75439
|
-
|
76052
|
+
type: 'solid',
|
76053
|
+
shape: 'slightly-rounded',
|
76054
|
+
size: 'large',
|
76055
|
+
text: 'Read More',
|
76056
|
+
color: '#ffffff',
|
76057
|
+
bg: '#3b82f6',
|
76058
|
+
hoverBg: 'rgba(47, 116, 228, 1)'
|
75440
76059
|
}, {
|
75441
|
-
|
75442
|
-
|
75443
|
-
|
75444
|
-
|
76060
|
+
type: 'solid',
|
76061
|
+
shape: 'slightly-rounded',
|
76062
|
+
size: 'large',
|
76063
|
+
text: 'Read More',
|
76064
|
+
color: 'rgb(24, 24, 27)',
|
76065
|
+
bg: '#fff',
|
76066
|
+
hoverBg: 'rgba(248, 248, 250, 1)'
|
76067
|
+
},
|
76068
|
+
// Colors
|
75445
76069
|
{
|
75446
|
-
|
75447
|
-
|
75448
|
-
|
76070
|
+
type: 'solid',
|
76071
|
+
shape: 'slightly-rounded',
|
76072
|
+
size: 'large',
|
76073
|
+
text: 'Read More',
|
76074
|
+
color: 'rgb(24, 24, 27)',
|
76075
|
+
bg: 'rgba(111, 235, 255, 1)',
|
76076
|
+
hoverBg: 'rgba(98, 230, 252, 1)'
|
75449
76077
|
}, {
|
75450
|
-
|
75451
|
-
|
75452
|
-
|
76078
|
+
type: 'solid',
|
76079
|
+
shape: 'slightly-rounded',
|
76080
|
+
size: 'large',
|
76081
|
+
text: 'Read More',
|
76082
|
+
color: '#ffffff',
|
76083
|
+
bg: 'rgba(19, 166, 27, 1)',
|
76084
|
+
hoverBg: 'rgba(17, 155, 25, 1)'
|
75453
76085
|
}, {
|
75454
|
-
|
75455
|
-
|
75456
|
-
|
76086
|
+
type: 'solid',
|
76087
|
+
shape: 'slightly-rounded',
|
76088
|
+
size: 'large',
|
76089
|
+
text: 'Read More',
|
76090
|
+
color: 'rgb(24, 24, 27)',
|
76091
|
+
bg: 'rgba(254, 235, 101, 1)',
|
76092
|
+
hoverBg: 'rgba(249, 229, 85, 1)'
|
75457
76093
|
}, {
|
75458
|
-
|
75459
|
-
|
75460
|
-
|
75461
|
-
|
75462
|
-
|
75463
|
-
|
75464
|
-
|
75465
|
-
|
75466
|
-
|
75467
|
-
|
75468
|
-
|
75469
|
-
|
75470
|
-
|
75471
|
-
|
75472
|
-
|
75473
|
-
|
75474
|
-
|
75475
|
-
|
75476
|
-
|
75477
|
-
|
75478
|
-
|
75479
|
-
|
75480
|
-
|
75481
|
-
|
75482
|
-
|
75483
|
-
|
75484
|
-
|
75485
|
-
|
75486
|
-
|
75487
|
-
|
75488
|
-
|
75489
|
-
|
75490
|
-
|
75491
|
-
|
75492
|
-
|
75493
|
-
|
75494
|
-
|
75495
|
-
|
75496
|
-
|
75497
|
-
|
75498
|
-
|
75499
|
-
|
75500
|
-
|
75501
|
-
|
75502
|
-
|
75503
|
-
|
75504
|
-
|
75505
|
-
|
75506
|
-
|
75507
|
-
|
75508
|
-
|
75509
|
-
|
75510
|
-
|
75511
|
-
|
75512
|
-
|
75513
|
-
|
75514
|
-
|
75515
|
-
|
75516
|
-
|
75517
|
-
// className: 'transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid border-transparent hover:border-transparent bg-gray-200 hover:bg-gray-300 size-16 text-black font-normal uppercase py-3 px-11 tracking-75 mr-3 ml-0 rounded-md leading-relaxed'
|
75518
|
-
// },
|
75519
|
-
// {
|
75520
|
-
// text: 'Buy Now',
|
75521
|
-
// className: 'transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid size-16 tracking-75 font-normal uppercase px-11 py-3 hover:text-white hover:bg-teal-500 bg-teal-400 text-white border-transparent hover:border-transparent ml-0 mr-2 rounded-md leading-relaxed'
|
75522
|
-
// },
|
75523
|
-
// {
|
75524
|
-
// text: 'Play',
|
75525
|
-
// className: 'transition-all inline-block whitespace-nowrap cursor-pointer no-underline border-2 border-solid ml-1 mr-1 size-16 text-black tracking-75 font-normal uppercase px-11 border-current hover:border-current py-3 rounded leading-relaxed'
|
75526
|
-
// },
|
75527
|
-
];
|
75528
|
-
|
76094
|
+
type: 'solid',
|
76095
|
+
shape: 'slightly-rounded',
|
76096
|
+
size: 'large',
|
76097
|
+
text: 'Read More',
|
76098
|
+
color: '#ffffff',
|
76099
|
+
bg: 'rgba(251, 45, 45, 1)',
|
76100
|
+
hoverBg: 'rgba(239, 38, 36, 1)'
|
76101
|
+
}, {
|
76102
|
+
type: 'solid',
|
76103
|
+
shape: 'slightly-rounded',
|
76104
|
+
size: 'large',
|
76105
|
+
text: 'Read More',
|
76106
|
+
color: '#ffffff',
|
76107
|
+
bg: 'rgba(255, 122, 0, 1)',
|
76108
|
+
hoverBg: 'rgba(248, 109, 2, 1)'
|
76109
|
+
}, {
|
76110
|
+
type: 'solid',
|
76111
|
+
shape: 'slightly-rounded',
|
76112
|
+
size: 'large',
|
76113
|
+
text: 'Read More',
|
76114
|
+
color: '#ffffff',
|
76115
|
+
bg: 'rgba(255, 68, 179, 1)',
|
76116
|
+
hoverBg: 'rgba(240, 46, 169, 1)'
|
76117
|
+
}, {
|
76118
|
+
type: 'solid',
|
76119
|
+
shape: 'slightly-rounded',
|
76120
|
+
size: 'large',
|
76121
|
+
text: 'Read More',
|
76122
|
+
color: 'rgb(24, 24, 27)',
|
76123
|
+
bg: 'rgba(148, 251, 208, 1)',
|
76124
|
+
hoverBg: 'rgba(133, 244, 198, 1)'
|
76125
|
+
}, {
|
76126
|
+
type: 'solid',
|
76127
|
+
shape: 'slightly-rounded',
|
76128
|
+
size: 'large',
|
76129
|
+
text: 'Read More',
|
76130
|
+
color: '#ffffff',
|
76131
|
+
bg: 'rgba(91, 73, 228, 1)',
|
76132
|
+
hoverBg: 'rgba(77, 59, 208, 1)'
|
76133
|
+
}, {
|
76134
|
+
type: 'solid',
|
76135
|
+
shape: 'slightly-rounded',
|
76136
|
+
size: 'large',
|
76137
|
+
text: 'Read More',
|
76138
|
+
color: '#ffffff',
|
76139
|
+
bg: 'rgba(142, 67, 237, 1)',
|
76140
|
+
hoverBg: 'rgba(122, 52, 212, 1)'
|
76141
|
+
}, {
|
76142
|
+
type: 'solid',
|
76143
|
+
shape: 'slightly-rounded',
|
76144
|
+
size: 'large',
|
76145
|
+
text: 'Read More',
|
76146
|
+
color: 'rgb(24, 24, 27)',
|
76147
|
+
bg: 'rgba(191, 245, 110, 1)',
|
76148
|
+
hoverBg: 'rgba(183, 236, 103, 1)'
|
76149
|
+
}];
|
76150
|
+
let templates = buttonConfigs.map(config => this.generateButton(config));
|
76151
|
+
const moreTemplates = [];
|
76152
|
+
templates = [...templates, ...moreTemplates];
|
75529
76153
|
let html = '';
|
75530
76154
|
for (let i = 0; i < templates.length; i++) {
|
75531
76155
|
if (templates[i].html) {
|
@@ -76680,8 +77304,17 @@ class Module {
|
|
76680
77304
|
let btnOk = moduleModal.querySelector('.input-ok');
|
76681
77305
|
dom.addEventListener(btnOk, 'click', () => {
|
76682
77306
|
let modalIframe = moduleModal.querySelector('iframe');
|
76683
|
-
if (modalIframe.contentWindow.construct)
|
76684
|
-
|
77307
|
+
if (modalIframe.contentWindow.construct) {
|
77308
|
+
const result = modalIframe.contentWindow.construct(); // transfer module code to hidContentModuleCode & hidContentModuleSettings for saving
|
77309
|
+
if (typeof result === 'object' && result !== null) {
|
77310
|
+
if (result.error) {
|
77311
|
+
alert(result.error);
|
77312
|
+
return;
|
77313
|
+
}
|
77314
|
+
}
|
77315
|
+
} else {
|
77316
|
+
return;
|
77317
|
+
}
|
76685
77318
|
this.builder.uo.saveForUndo();
|
76686
77319
|
let module = this.builder.activeModule;
|
76687
77320
|
|
@@ -122536,6 +123169,13 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
122536
123169
|
// Apply behavior on each row
|
122537
123170
|
const rows = this.dom.elementChildren(builder);
|
122538
123171
|
rows.forEach(row => {
|
123172
|
+
// Skip if not a DIV
|
123173
|
+
if (row.tagName !== 'DIV') return;
|
123174
|
+
|
123175
|
+
// Skip if it doesn't have any child DIVs
|
123176
|
+
const hasChildDiv = Array.from(row.children).some(child => child.tagName === 'DIV');
|
123177
|
+
if (!hasChildDiv) return;
|
123178
|
+
|
122539
123179
|
// The saveForUndo also saves sortable class when start dragging. If Undo is performed, the classes are returned. Cleanup the classes here.
|
122540
123180
|
row.classList.remove('sortable-ghost');
|
122541
123181
|
row.classList.remove('sortable-chosen');
|
@@ -154634,13 +155274,27 @@ class IframePanel {
|
|
154634
155274
|
}
|
154635
155275
|
|
154636
155276
|
setScreenMode(screenMode) {
|
154637
|
-
|
155277
|
+
if (!this.builder.win) {
|
155278
|
+
// If setScreenMode called on first load
|
155279
|
+
const contentView = this.editPanel.querySelector('.is-content-view');
|
155280
|
+
contentView.classList.add(screenMode);
|
155281
|
+
|
155282
|
+
if (screenMode === 'fullview') {
|
155283
|
+
document.body.classList.add('fullview');
|
155284
|
+
} else {
|
155285
|
+
document.body.classList.remove('fullview');
|
155286
|
+
}
|
155287
|
+
|
155288
|
+
return;
|
155289
|
+
} // this.builder.doc.querySelectorAll('.is-block').forEach(block=>{
|
154638
155290
|
// block.removeAttribute('data-prev'); // reset => initial call before resize(). Or just call start();
|
154639
155291
|
// block.removeAttribute('data-fluid');
|
154640
155292
|
// block.removeAttribute('data-fluid-val');
|
154641
155293
|
// block.classList.remove('fluid');
|
154642
155294
|
// block.style.transition = '';
|
154643
155295
|
// });
|
155296
|
+
|
155297
|
+
|
154644
155298
|
if (this.builder.win.Block) {
|
154645
155299
|
this.builder.win.Block.start();
|
154646
155300
|
this.builder.win.Block.resize();
|
@@ -162925,8 +163579,21 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
|
|
162925
163579
|
btnModuleOk.addEventListener('click', () => {
|
162926
163580
|
let activeModule = this.doc.querySelector('[data-module-active="1"]');
|
162927
163581
|
this.editor.saveForUndo();
|
162928
|
-
let modalIframe = modalEditModule.querySelector('iframe');
|
162929
|
-
|
163582
|
+
let modalIframe = modalEditModule.querySelector('iframe'); // if(modalIframe.contentWindow.construct) modalIframe.contentWindow.construct();
|
163583
|
+
|
163584
|
+
if (modalIframe.contentWindow.construct) {
|
163585
|
+
const result = modalIframe.contentWindow.construct(); // transfer module code to hidContentModuleCode & hidContentModuleSettings for saving
|
163586
|
+
|
163587
|
+
if (typeof result === 'object' && result !== null) {
|
163588
|
+
if (result.error) {
|
163589
|
+
alert(result.error);
|
163590
|
+
return;
|
163591
|
+
}
|
163592
|
+
}
|
163593
|
+
} else {
|
163594
|
+
return;
|
163595
|
+
}
|
163596
|
+
|
162930
163597
|
this.editor.saveForUndo();
|
162931
163598
|
const hidModuleCode = builderStuff.querySelector('#hidModuleCode');
|
162932
163599
|
const hidModuleSettings = builderStuff.querySelector('#hidModuleSettings'); //Save Html (original)
|