Page Builder: Live Composer – drag and drop website builder (visual front end site editor) - Version 1.3.11

Version Description

  • February 9th 2018 =
Download this release

Release Info

Developer LiveComposer
Plugin Icon 128x128 Page Builder: Live Composer – drag and drop website builder (visual front end site editor)
Version 1.3.11
Comparing to
See all releases

Code changes from version 1.3.9 to 1.3.11

Files changed (75) hide show
  1. css/builder.min.css +1 -1
  2. css/builder/builder.main.css +70 -67
  3. css/frontend.min.css +1 -1
  4. css/frontend/main.css +61 -27
  5. css/frontend/modules.css +33 -3
  6. css/wp-admin.css +5 -0
  7. ds-live-composer.php +12 -2
  8. includes/ajax.php +1 -1
  9. includes/class-dslc-cache.php +68 -33
  10. includes/class.module.php +514 -34
  11. includes/css-generation.php +9 -2
  12. includes/display-functions.php +28 -48
  13. includes/editing-screen.php +1 -1
  14. includes/editor-messages.php +22 -20
  15. includes/header-footer.php +18 -2
  16. includes/module-controls.php +1 -1
  17. includes/other-functions.php +1 -1
  18. includes/plugin-options-framework/css/main.css +1 -0
  19. includes/plugin-options-framework/inc/init.php +4 -35
  20. includes/plugin-options-framework/js/main.js +0 -207
  21. includes/plugin-options-framework/js/main.min.js +1 -1
  22. includes/plugin-updates/admin-license-manager.js +0 -2
  23. includes/post-options-framework/post-options-framework.php +2 -2
  24. includes/scripts.php +0 -1
  25. includes/single-templates-framework/inc/filters.php +4 -3
  26. includes/single-templates-framework/inc/functions.php +1 -1
  27. includes/upgrade.class.php +13 -1
  28. js/builder.all.min.js +5 -5
  29. js/builder.frontend.all.min.js +1 -1
  30. js/builder.frontend/builder.frontend.main.js +6 -1
  31. js/builder/builder.editor.messages.js +4 -4
  32. js/builder/builder.module.functions.js +16 -8
  33. js/builder/builder.modulearea.functions.js +14 -10
  34. js/builder/builder.settings.panel.functions.js +81 -13
  35. js/builder/builder.uigeneral.functions.js +28 -34
  36. lang/live-composer-page-builder.pot +5 -0
  37. modules/accordion/module.php +6 -6
  38. modules/blog/module.php +152 -26
  39. modules/button/module.php +142 -20
  40. modules/downloads/module.php +105 -20
  41. modules/galleries/module.php +207 -18
  42. modules/html/module.php +665 -30
  43. modules/icon/module.php +74 -21
  44. modules/image/module.php +6 -6
  45. modules/infobox/module.php +488 -162
  46. modules/logo/module.php +4 -4
  47. modules/navigation/module.php +4 -4
  48. modules/notification/module.php +5 -5
  49. modules/partners/module.php +49 -9
  50. modules/posts/module.php +464 -374
  51. modules/progress-bars/module.php +4 -4
  52. modules/projects/module.php +117 -17
  53. modules/separator/module.php +6 -5
  54. modules/shortcode/module.php +5 -5
  55. modules/sliders/module.php +4 -4
  56. modules/social/module.php +26 -4
  57. modules/staff/module.php +21 -9
  58. modules/tabs/module.php +6 -6
  59. modules/testimonials/functions.php +7 -2
  60. modules/testimonials/module.php +1081 -21
  61. modules/text-simple/module.php +198 -22
  62. modules/tp-comments-form/module.php +5 -5
  63. modules/tp-comments/module.php +5 -5
  64. modules/tp-content/module.php +4 -4
  65. modules/tp-downloads-button/module.php +83 -13
  66. modules/tp-excerpt/module.php +4 -4
  67. modules/tp-gallery-slider/module.php +4 -4
  68. modules/tp-meta/module.php +4 -4
  69. modules/tp-project-slider/module.php +4 -4
  70. modules/tp-staff-social/module.php +4 -4
  71. modules/tp-thumbnail/module.php +4 -4
  72. modules/tp-title/module.php +4 -4
  73. modules/widgets/module.php +5 -5
  74. modules/woocommerce/module.php +21 -9
  75. readme.txt +56 -28
css/builder.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after{clear:both}html{top:-32px;position:relative}#wpwrap{overflow:hidden}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.dslca-editable-content,.dslca-editable-content *,.inline-editor,.inline-editor *,a[contenteditable=true],div[contenteditable=true],h1[contenteditable=true],h2[contenteditable=true],h3[contenteditable=true],h4[contenteditable=true],h5[contenteditable=true],h6[contenteditable=true],span[contenteditable=true]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .dslca-editable-content:hover,body .dslca-editable-content:hover *,body .inline-editor:hover,body .inline-editor:hover *{cursor:text}div:hover,div>span:hover,span>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none!important;-moz-user-select:-moz-none!important;-khtml-user-select:none!important;-webkit-user-select:none!important;user-select:none!important}.dslca-container p{margin-bottom:20px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,.1);border:0;color:#fff;padding:7px 10px;font-family:'Open Sans',sans-serif;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container,.dslca-container *,.dslca-container ::after,.dslca-container ::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage ::after,.dslca-module-manage ::before,.dslca-sections{box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type=number]{padding-right:30px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container input[type=email]{height:auto}.dslca-container select,.dslca-modules-section-edit-option select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(../../images/dropdown-arrow.png) 90% 55%/7px no-repeat #6c9fed}.dslca-module-edit-option-select .dslca-icon,.dslca-modules-section-edit-option-select .dslca-icon{position:absolute;right:30px;top:77px;cursor:pointer}.dslca-container input[type=submit]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:'Open Sans',sans-serif;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,.64)!important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-editable-content>p:only-child{margin-bottom:0!important}.dslca-header{position:absolute;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,.49);color:rgba(255,255,255,.5);padding:6px 10px;border-radius:3px;font-weight:400;font-family:'Open Sans',sans-serif;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook,.dslca-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:400}.dslca-module-edit-actions,.dslca-pseudo-module-edit-actions,.dslca-row-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-module-edit-cancel,.dslca-module-edit-save,.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-pseudo-module-edit-cancel,.dslca-pseudo-module-edit-save,.dslca-row-edit-cancel,.dslca-row-edit-save,.dslca-wp-editor-cancel-hook,.dslca-wp-editor-save-hook{background:#78ca4f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait!important}.dslca-sections{background:#4A7AC3}.dslca-pseudo-section,.dslca-section.dslca-module-edit,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-modal.dslca-modal-templates-save,.dslca-section.dslca-templates,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-family:'Open Sans',sans-serif;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-sections .dslca-exclude,.dslca-subsection{display:none}.dslca-module-non-active{opacity:.5!important}.dslca-module{color:#fff;display:inline-block;font-family:font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400;line-height:1;padding:2px 12px 9px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,.15),-1px 1px 0 0 rgba(255,255,255,.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 50ms linear 10ms;z-index:1;position:relative}.dslca-module[data-id=DSLC_Notification],.dslca-module[data-id=DSLC_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator]{margin-right:14px}.dslca-module[data-id=DSLC_M_A]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id=DSLC_M_A] .dslca-icon{color:#fff}.dslca-module[data-id=DSLC_M_A]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,.19),-1px 1px 0 0 rgba(255,255,255,.05) inset;transform:translate(1px,-2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none!important;animation:none!important}.dslc-module-front.dslca-module-ghost{background:rgba(229,163,88,.28)}div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0 1px rgba(0,0,0,.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option{display:table-cell;min-width:180px;position:relative;padding:40px 15px}.dslca-module-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner{min-width:180px;border:1px solid rgba(0,0,0,.1);border-radius:3px;position:relative;padding:0 15px}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label{position:absolute;background:rgba(76,129,207,.4);padding:6px 11px;left:0;border-radius:2px 2px 0 0;width:100%;text-transform:uppercase;letter-spacing:1px;font-size:75%;border-bottom:1px solid #4C81CF}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label .dslc-control-toggle{display:none}.dslca-module-edit-option-hidden{display:none!important}.dslca-module-edit-option input[type=text],.dslca-module-edit-option input[type=text]:focus,.dslca-module-edit-option input[type=number],.dslca-module-edit-option input[type=number]:focus,.dslca-module-edit-option input[type=email],.dslca-module-edit-option input[type=email]:focus,.dslca-module-edit-option select,.dslca-module-edit-option select:focus,.dslca-module-edit-option textarea,.dslca-module-edit-option textarea:focus,.dslca-pseudo-module-edit-field{background-color:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-modules-section-edit-label,.dslca-pseudo-module-edit-label{color:#fff;display:block;font-family:'Open Sans',sans-serif;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:#fff;color:rgba(255,255,255,.5);position:absolute;left:11px;top:0;line-height:32px;font-family:"Open Sans",HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}.dslca-module-edit-option-checkbox{white-space:nowrap;width:auto}.dslca-module-edit-option-checkbox input[type=checkbox]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type=radio]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single input[type=checkbox],.dslca-module-edit-option-text-align input[type=checkbox]{display:none}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook,.dslca-module-edit-option-box-shadow-single span.wp-picker-input-wrap,.dslca-module-edit-option-text-shadow-single span.wp-picker-input-wrap{margin-right:0}.dslca-module-edit-option-box-shadow-single input[type=text],.dslca-module-edit-option-box-shadow-single input[type=text]:focus,.dslca-module-edit-option-box-shadow-single input[type=number],.dslca-module-edit-option-box-shadow-single input[type=number]:focus,.dslca-module-edit-option-text-shadow-single input[type=text],.dslca-module-edit-option-text-shadow-single input[type=text]:focus,.dslca-module-edit-option-text-shadow-single input[type=number],.dslca-module-edit-option-text-shadow-single input[type=number]:focus{width:60px;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type=text].dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-single input[type=text].dslca-module-edit-option-text-shadow-color{width:100px}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:400}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook{color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,.22) inset}.dslc-modules-area.dslc-modules-area-empty,.dslc-modules-area:hover{box-shadow:0 0 0 2px rgba(173,175,179,.4) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover{background:rgba(169,239,255,.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id=animation_styling],.dslca-module-edit-options-tab-hook[data-id=presets_styling]{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,.4);border-radius:4px;display:inline-block!important;float:right;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-modules-section-edit,.dslca-templates{position:relative}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit-option-hidden{display:none!important}.dslca-modules-section-edit-option input[type=text],.dslca-modules-section-edit-option input[type=number],.dslca-modules-section-edit-option input[type=email],.dslca-modules-section-edit-option select,.dslca-modules-section-edit-option textarea{background-color:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type=checkbox]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,.12);color:#fff;cursor:pointer;display:block;float:left;font-family:'Open Sans',sans-serif;font-size:15px;line-height:1;padding:29px 29px 27px}.dslca-template:hover,.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type=text]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-export-code,#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-cancel,.dslca-submit,.dslca-submit-secondary{color:#fff;cursor:pointer;font-size:14px;font-weight:700;line-height:34px;width:110px;display:inline-block;border-radius:3px;font-family:'Open Sans',sans-serif;text-align:center}.dslca-submit{background:#4cc12d;position:relative}.dslca-submit-secondary{background:#5890e5}.dslca-cancel{background:#e55f5f}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:20px;min-height:120px;text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:'Open Sans',sans-serif}.dslc-module-front{position:relative;min-height:30px}.dslc-module-front.dslca-change-width-active{z-index:999999}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){cursor:default!important}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered,.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:0!important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0!important;width:0!important;overflow:hidden;opacity:1!important;cursor:move;padding:0!important;border:0!important;outline:0!important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0!important;outline:0!important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0!important;width:100%!important;overflow:hidden!important;opacity:0!important;padding:0!important;outline:0!important;border:0!important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif;float:left;line-height:1;opacity:0;display:none;padding:10px 43px 10px 12px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook,.dslca-no-content-primary{border-radius:3px;font-size:15px;line-height:1;font-family:'Open Sans',sans-serif}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content-primary{color:#5890e5;display:inline-block;background:rgba(255,255,255,.75);margin:0;padding:13px}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-1-col .dslca-no-content-help-text,.dslc-modules-area.dslc-2-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-1-col .dslca-icon,.dslc-modules-area.dslc-2-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,.3);position:absolute;bottom:0;left:0;right:0}.dslca-add-modules-section{text-align:center;width:1180px;max-width:100%;overflow:hidden;margin:30px auto 180px}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f;color:#fff!important;cursor:pointer;display:block;float:left;padding:14px 0;text-decoration:none;width:80%}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162;color:#fff}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,.5)}.dslca-import-modules-section-hook{float:right;width:18%}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #EF7C5B inset}.dslc-modules-section.dslca-change-width-active{z-index:100}.dslca-manage-action{color:#fff;display:inline-block;text-decoration:none;font-size:12px;line-height:15px;text-align:center;padding:5px 6px;min-width:20px;margin-right:-2px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{padding-left:8px;border-radius:3px 0 0 3px}.dslca-manage-action:last-child{padding-right:8px;border-radius:0 3px 3px 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;visibility:hidden;margin-bottom:0;padding-right:0;position:absolute;z-index:99998;width:100%;text-align:center}.dslca-modules-section-manage:hover{z-index:100000}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible!important}.dslca-module-manage-inner,.dslca-modules-section-manage-inner{background:#f17c56;border-radius:3px;display:inline-block;line-height:1;position:relative;z-index:99999;vertical-align:middle;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-top-right-radius:0;border-top-left-radius:0}.dslca-modules-section-manage .dslca-manage-action:hover{background:#db6a3a}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-family:'Open Sans',sans-serif;font-style:12px;font-weight:700;display:inline-block;padding:5px 10px}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1%!important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:.5;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;bottom:0;position:absolute;left:-24px;top:0;margin-right:0;text-align:center;z-index:999999}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:.5}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{background:#b2b7bc;border-radius:3px 0 0 3px;border-right-width:0;display:inline-block;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;display:block;text-decoration:none;font-size:12px;line-height:16px;text-align:center;margin:0}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 0 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-module-options,.dslca-change-width-modules-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-6px;left:25px;z-index:99999;width:122px}.dslca-change-width-module-options{top:24px;left:0;border-top-right-radius:0;border-top-left-radius:0;border-top:none;padding-bottom:18px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-module-options span,.dslca-change-width-modules-area-options span{background:#4785db;border-radius:3px;display:inline-block;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-module-options span:hover,.dslca-change-width-modules-area-options span:hover{background:#6B9FF1}.dslca-change-width-module-options span:first-child,.dslca-change-width-modules-area-options span:first-child{background:0 0;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover,.dslca-section-scroller-next .dslca-icon,.dslca-section-scroller-prev .dslca-icon{color:#fff}.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,.28) inset;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-47px;top:0;text-align:center;z-index:99999;line-height:1}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0!important;border-radius:0 0 3px}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left .3s ease-in-out;-moz-transition:left .3s ease-in-out;transition:left .3s ease-in-out}.dslca-prompt-modal-actions,.dslca-prompt-modal-msg{text-align:center}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(88,144,229,0)),color-stop(100%,rgba(70,116,185,1)));background:-webkit-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-o-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-ms-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:linear-gradient(to right,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5', GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:0!important;background:rgba(0,0,0,.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:-123px auto 0;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12)}.dslca-prompt-modal-descr,.dslca-prompt-modal-title{display:block;font-family:'Open Sans',sans-serif;margin-bottom:22px}.dslca-prompt-modal-title{color:#424242;font-size:16px;font-weight:700;line-height:1}.dslca-prompt-modal-descr{color:#8a8a8a;font-size:13px;font-weight:400;line-height:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,.5);margin-right:6px}.dslca-accordion-plain-content,.dslca-module-options-front,.dslca-module-options-front-backup,.dslca-tab-plain-content{display:none}#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-module-edit-option-size,.dslca-section-code{display:none!important}#dslca-wysiwyg-actions-cancel-hook,#dslca-wysiwyg-actions-save-hook{border-radius:3px;display:inline-block;padding:13px 10px;position:relative;color:#fff;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;font-size:12px;line-height:1}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}.dslca-enabled.dslca-composer-hidden #dslc-content .dslca-wysiwyg-actions-edit{display:none}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5890e5;color:#fff;cursor:pointer;display:block;font-size:12px;font-family:'Open Sans',sans-serif;line-height:1;font-weight:700;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9}body.dslca-enabled #mce-modal-block,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled .ui-dialog,body.dslca-enabled .ui-widget-overlay{z-index:99999999!important}body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .clearlooks2,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991!important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes dslcBounceIn{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes dslcBounceIn{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes dslcBounceOut{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-webkit-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@keyframes dslcRotate{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-modules-area.dslca-init-animation,.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:.6s;-webkit-animation-duration:.6s}.dslc-editable-content.dslc-pen,.dslc-editable-content:focus{outline:rgba(0,0,0,.2) dashed 1px}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none!important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-modules-edit-field-slider{display:none}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:absolute;height:5px;left:15px;right:15px;margin-top:15px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px;cursor:ew-resize}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-family:"Open Sans",sans-serif;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-actions,.dslca-wp-editor-notification{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:400;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans',sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:700;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-module-edit-option-image,.dslca-modules-section-edit-option-upload{min-width:auto}.dslca-module-edit-field-button-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer!important;display:inline-block;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-footer,#dslc-header{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;text-decoration:none}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-editor-messages-section,body.dslca-composer-hidden .dslc-hf-block-overlay,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage{display:none!important}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}.dslc-hf-block-overlay-button{padding:40px 90px}.dslc-hf-block-overlay-button:hover{color:#fff;cursor:pointer}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none!important;border:none!important}body.dslca-composer-hidden .dslca-container.active-message-panel{margin-bottom:0}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:.23s;-webkit-animation-delay:.23s;-ms-animation-delay:.23s;-o-animation-delay:.23s;animation-delay:.23s}.followingBallsG_3{-moz-animation-delay:.46s;-webkit-animation-delay:.46s;-ms-animation-delay:.46s;-o-animation-delay:.46s;animation-delay:.46s}.followingBallsG_4{-moz-animation-delay:.69s;-webkit-animation-delay:.69s;-ms-animation-delay:.69s;-o-animation-delay:.69s;animation-delay:.69s}@-moz-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-webkit-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-ms-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-o-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Excerpt],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Meta],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Downloads_Button],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Gallery_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Project_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Staff_Social]{display:none!important}.dslca-module.dslca-origin[data-display-module=true]{display:inline-block}.dslca-module.dslca-exclude,.dslca-module.dslca-origin[data-display-module=false]{display:none}.media-modal{z-index:999999999!important}.media-modal-backdrop{z-index:999999998!important}.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:Roboto,sans-serif;font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslc-editor-messages-section,.dslca-modal-icons .icon-item_name,.dslca-modal-icons .set-heading{font-family:'Open Sans',sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon,body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:auto}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}.dslca-module-edit-options-wrapper,.dslca-modules-section-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-module-edit-options-inner,.dslca-modules-section-edit-options-inner{overflow-x:scroll;padding-top:4px}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:1}.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit,.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner:hover,.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50%!important;visibility:visible;transform:translate(-50%,0);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,.05);border-bottom:1px solid rgba(155,155,155,.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);-moz-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);box-shadow:0 1px 5px 0 rgba(68,68,68,.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0 #5890e5 inset;-moz-box-shadow:0 1px 5px 0 #5890e5 inset;box-shadow:0 1px 5px 0 #5890e5 inset}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-phone .dslc-modules-section:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover{box-shadow:none}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-size:12px;line-height:1.25;padding:5px 8px 12px}.dslca-modal-icons .set-heading{text-transform:uppercase;padding:30px;text-align:center;letter-spacing:6px;font-size:16px;font-weight:300;line-height:1.25}body.dslca-enabled.dslc-res-phone #page-builder-preview-area,body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid #000;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:.1px;position:absolute}.dslca-module-edit-field-colorpicker,.dslca-modules-section-edit-field-colorpicker{display:block!important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block!important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{bottom:0;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translate3d(0,0,0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}body.dslca-drag-in-progress .lc-scroll-top-area,body.dslca-new-module-drag-in-progress .lc-scroll-top-area{position:fixed;top:0;z-index:99999;left:0;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0;left:0;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0;width:100%;height:83px}.dslc-control-toggle:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-options-iconbutton .dslca-icon,.dslca-options-iconbutton:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-row-edit-cancel:hover,.dslca-row-edit-save:hover{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3!important;border-color:#ccc!important}.dslca-container.active-message-panel{margin-bottom:40px}.dslc-editor-messages-section{position:fixed;bottom:0;width:100%;height:40px;color:#fff;font-weight:100;background:#404a58;display:none}.dslc-editor-messages-title{float:left;background:#303030;color:#fff;font-size:14px;line-height:22px;text-transform:uppercase;padding:12px 17px;text-align:center;display:block;letter-spacing:1px}a.dslc-editor-messages-title:hover{color:#fff}#editor-messages{font-size:14px;text-overflow:ellipsis;white-space:nowrap;margin:0!important;padding:0!important;opacity:0}#editor-messages li{position:relative;padding:13px 20px 11px 50px!important;margin:0;line-height:1;font-size:16px}#editor-messages a{text-decoration:none;display:block;position:absolute;left:0;top:0;width:100%;height:100%}#editor-messages strong{font-weight:500}#editor-messages .dslc-icon{font-size:19px;margin-right:10px;position:absolute;left:20px;top:12px}#editor-messages .dslc-notice{background:#d90a0a;margin:0;padding:12px 17px;font-size:16px}#editor-messages .dslc-notice a{position:relative;color:#fff}.dslc-editor-messages-hide{float:right;padding:12px 17px;background:#283546;font-size:14px;text-align:center;display:block;color:#fff}.dslc-editor-messages-hide .dslc-icon{font-size:17px;margin-right:10px}a.dslc-editor-messages-hide:hover{color:#fff}.dslca-enabled.dslc-res-phone .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover .dslca-modules-section-manage{visibility:hidden!important}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslca-modules-area-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslca-modules-area-manage{visibility:hidden!important;opacity:0}.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:0}body.module-editing-in-progress.dslc-res-phone .dslc-module-front:not(.dslca-module-being-edited):before,body.module-editing-in-progress.dslc-res-tablet .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before,body.section-editing-in-progress.dslc-res-tablet .dslc-modules-section:not(.dslca-modules-section-being-edited):before{z-index:1}.dslca-module-edit-option-box-shadow-single .wp-picker-holder,.dslca-module-edit-option-color .wp-picker-holder,.dslca-module-edit-option-text-shadow-single .wp-picker-holder,.dslca-modules-section-edit-option .wp-picker-holder{position:fixed;margin-top:-315px;z-index:1}body .dslca-module-edit-option-box-shadow-single input[type=text].dslca-module-edit-option-box-shadow-color,body .dslca-module-edit-option-color input[type=text].dslca-module-edit-field-colorpicker,body .dslca-module-edit-option-text-shadow-single input[type=text].dslca-module-edit-option-text-shadow-color,body .dslca-modules-section-edit-option input[type=text].dslca-modules-section-edit-field-colorpicker{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.7),0 0 7px rgba(0,0,0,.28),4px 3px 6px rgba(0,0,0,.1);padding:0;line-height:31px;text-align:center;font-size:14px;min-height:33px}.dslca-module-edit-option-box-shadow-single .wp-picker-clear,.dslca-module-edit-option-color .wp-picker-clear,.dslca-module-edit-option-text-shadow-single .wp-picker-clear,.dslca-modules-section-edit-option .wp-picker-clear{display:none}.dslca-module-edit-option-box-shadow-single .wp-color-result,.dslca-module-edit-option-color .wp-color-result,.dslca-module-edit-option-text-shadow-single .wp-color-result,.dslca-modules-section-edit-option .wp-color-result{position:absolute!important;top:53px;z-index:2;right:10px;height:33px;left:16px;opacity:0}.dslca-module-edit-option-color .wp-picker-container input[type=text].wp-color-picker,.dslca-modules-section-edit-option .wp-picker-container input[type=text].wp-color-picker{width:100%!important;font-family:inherit;margin:inherit}.dslca-module-edit-option-box-shadow-single .wp-picker-container input[type=text].wp-color-picker,.dslca-module-edit-option-text-shadow-single .wp-picker-container input[type=text].wp-color-picker{width:100px;font-family:'Open Sans',sans-serif}.wp-picker-open+.wp-picker-input-wrap{vertical-align:middle!important}.dslca-module-edit-option-box-shadow-single .iris-picker.iris-border,.dslca-module-edit-option-color .iris-picker.iris-border,.dslca-modules-section-edit-option .iris-picker.iris-border{border-top-right-radius:3px;border-top-left-radius:3px}.dslca-colorpicker-apply{background:#f1f1f1;border-radius:0 0 3px 3px;color:#444;cursor:pointer;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-weight:600;line-height:1;padding:10px 0;text-decoration:none;z-index:1;position:absolute;bottom:-36px;left:-1px;width:100%;display:block;border:1px solid #FFF}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child{position:relative;background:linear-gradient(rgba(255,255,255,.4) 0,rgba(255,255,255,.6) 100%),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==)!important}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child:before,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child:before,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child:before{content:'×';position:absolute;left:0;right:0;top:0;bottom:0;display:block;text-align:center;vertical-align:middle;color:red;font-size:20px;line-height:27px}.wp-picker-container .wp-picker-input-wrap.hidden{display:block}.wp-picker-container .wp-picker-input-wrap.hidden label,.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{width:100%}.dslca-module-edit-option-box-shadow-single.dslca-color-option .wp-picker-container{display:inline-block;vertical-align:middle}
1
+ .dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after{clear:both}html{top:-32px;position:relative}#wpwrap{overflow:hidden}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.dslca-editable-content,.dslca-editable-content *,.inline-editor,.inline-editor *,a[contenteditable=true],div[contenteditable=true],h1[contenteditable=true],h2[contenteditable=true],h3[contenteditable=true],h4[contenteditable=true],h5[contenteditable=true],h6[contenteditable=true],span[contenteditable=true]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .dslca-editable-content:hover,body .dslca-editable-content:hover *,body .inline-editor:hover,body .inline-editor:hover *{cursor:text}div:hover,div>span:hover,span>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none!important;-moz-user-select:-moz-none!important;-khtml-user-select:none!important;-webkit-user-select:none!important;user-select:none!important}.dslca-container p{margin-bottom:20px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,.1);border:0;color:#fff;padding:7px 10px;font-family:'Open Sans',sans-serif;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container,.dslca-container *,.dslca-container ::after,.dslca-container ::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage ::after,.dslca-module-manage ::before,.dslca-sections{box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type=number]{padding-right:30px}.dslca-container input[type=text],.dslca-container input[type=number],.dslca-container input[type=email]{height:auto}.dslca-container select,.dslca-modules-section-edit-option select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(../../images/dropdown-arrow.png) 90% 55%/7px no-repeat #6c9fed}.dslca-module-edit-option-select .dslca-icon,.dslca-modules-section-edit-option-select .dslca-icon{position:absolute;right:30px;top:77px;cursor:pointer}.dslca-container input[type=submit]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,.64)!important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-editable-content>p:only-child{margin-bottom:0!important}.dslca-header{position:absolute;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,.49);color:rgba(255,255,255,.5);padding:6px 10px;border-radius:3px;font-weight:400;font-family:'Open Sans',sans-serif;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook,.dslca-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:400}.dslca-module-edit-actions,.dslca-pseudo-module-edit-actions,.dslca-row-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-module-edit-cancel,.dslca-module-edit-save,.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-pseudo-module-edit-cancel,.dslca-pseudo-module-edit-save,.dslca-row-edit-cancel,.dslca-row-edit-save,.dslca-wp-editor-cancel-hook,.dslca-wp-editor-save-hook{background:#78ca4f;border-radius:3px;color:#fff!important;cursor:pointer;display:inline-block;font-size:13px;font-family:'Open Sans',sans-serif;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait!important}.dslca-sections{background:#4A7AC3}.dslca-pseudo-section,.dslca-section.dslca-module-edit,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-modal.dslca-modal-templates-save,.dslca-section.dslca-templates,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-sections .dslca-exclude,.dslca-subsection{display:none}.dslca-module-non-active{opacity:.5!important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,.15),-1px 1px 0 0 rgba(255,255,255,.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 50ms linear 10ms;z-index:1;position:relative}.dslca-module[data-id=DSLC_Notification],.dslca-module[data-id=DSLC_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator]{margin-right:14px}.dslca-module[data-id=DSLC_M_A]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id=DSLC_M_A] .dslca-icon{color:#fff}.dslca-module[data-id=DSLC_M_A]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,.19),-1px 1px 0 0 rgba(255,255,255,.05) inset;transform:translate(1px,-2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none!important;animation:none!important}.dslc-module-front.dslca-module-ghost{background:rgba(229,163,88,.28)}div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0 1px rgba(0,0,0,.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option{display:table-cell;min-width:180px;position:relative;padding:40px 15px}.dslca-module-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner{min-width:180px;border:1px solid rgba(0,0,0,.1);border-radius:3px;position:relative;padding:0 15px}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label{position:absolute;background:rgba(76,129,207,.4);padding:6px 11px;left:0;border-radius:2px 2px 0 0;width:100%;text-transform:uppercase;letter-spacing:1px;font-size:75%;border-bottom:1px solid #4C81CF}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label .dslc-control-toggle{display:none}.dslca-module-edit-option-hidden{display:none!important}.dslca-module-edit-option input[type=text],.dslca-module-edit-option input[type=text]:focus,.dslca-module-edit-option input[type=number],.dslca-module-edit-option input[type=number]:focus,.dslca-module-edit-option input[type=email],.dslca-module-edit-option input[type=email]:focus,.dslca-module-edit-option select,.dslca-module-edit-option select:focus,.dslca-module-edit-option textarea,.dslca-module-edit-option textarea:focus,.dslca-pseudo-module-edit-field{background-color:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-modules-section-edit-label,.dslca-pseudo-module-edit-label{color:#fff;display:block;font-family:'Open Sans',sans-serif;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:#fff;color:rgba(255,255,255,.5);position:absolute;left:11px;top:0;line-height:32px;font-family:"Open Sans",HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}.dslca-module-edit-option-checkbox{white-space:nowrap;width:auto}.dslca-module-edit-option-checkbox input[type=checkbox]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type=radio]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single input[type=checkbox],.dslca-module-edit-option-text-align input[type=checkbox]{display:none}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook,.dslca-module-edit-option-box-shadow-single span.wp-picker-input-wrap,.dslca-module-edit-option-text-shadow-single span.wp-picker-input-wrap{margin-right:0}.dslca-module-edit-option-box-shadow-single input[type=text],.dslca-module-edit-option-box-shadow-single input[type=text]:focus,.dslca-module-edit-option-box-shadow-single input[type=number],.dslca-module-edit-option-box-shadow-single input[type=number]:focus,.dslca-module-edit-option-text-shadow-single input[type=text],.dslca-module-edit-option-text-shadow-single input[type=text]:focus,.dslca-module-edit-option-text-shadow-single input[type=number],.dslca-module-edit-option-text-shadow-single input[type=number]:focus{width:60px;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type=text].dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-single input[type=text].dslca-module-edit-option-text-shadow-color{width:100px}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:400}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook{color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,.22) inset}.dslc-modules-area.dslc-modules-area-empty,.dslc-modules-area:hover{box-shadow:0 0 0 2px rgba(173,175,179,.4) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover{background:rgba(169,239,255,.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id=animation_styling],.dslca-module-edit-options-tab-hook[data-id=presets_styling]{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,.4);border-radius:4px;display:inline-block!important;float:right;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-modules-section-edit,.dslca-templates{position:relative}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit-option-hidden{display:none!important}.dslca-modules-section-edit-option input[type=text],.dslca-modules-section-edit-option input[type=number],.dslca-modules-section-edit-option input[type=email],.dslca-modules-section-edit-option select,.dslca-modules-section-edit-option textarea{background-color:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type=checkbox]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400;font-family:'Open Sans',sans-serif}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px}.dslca-template:hover,.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type=text]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-export-code,#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-cancel,.dslca-submit,.dslca-submit-secondary{border-radius:3px;color:#fff;cursor:pointer;font-family:'Open Sans',sans-serif;font-size:14px;font-weight:700;line-height:34px;width:110px;display:inline-block;text-align:center}.dslca-submit{background:#4cc12d;position:relative}.dslca-submit-secondary{background:#5890e5}.dslca-cancel{background:#e55f5f}.dslc-modules-area-empty::after,.dslca-module-placeholder,.dslca-modules-section-placeholder,div.dslca-add-modules-section{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-size:12px;font-weight:400;letter-spacing:.5px;display:inline-block;padding:5px 10px}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:20px;min-height:120px;text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px}.dslc-module-front{position:relative;min-height:30px}.dslc-module-front:hover{z-index:999999}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){cursor:default!important}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited):before{content:"";position:absolute;height:100%;width:100%;z-index:199999}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered,.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:0!important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0!important;width:0!important;overflow:hidden;opacity:1!important;cursor:move;padding:0!important;border:0!important;outline:0!important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0!important;outline:0!important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0!important;width:100%!important;overflow:hidden!important;opacity:0!important;padding:0!important;outline:0!important;border:0!important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;float:left;line-height:1;opacity:0;display:none;padding:10px 43px 10px 12px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-1-col .dslca-no-content-help-text,.dslc-modules-area.dslc-2-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-1-col .dslca-icon,.dslc-modules-area.dslc-2-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;width:80%;max-width:620px;overflow:hidden;margin:30px auto 180px}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f!important;border-radius:3px;color:#fff!important;cursor:pointer;display:block;font-size:15px!important;float:left;line-height:1!important;padding:14px 0;text-decoration:none!important;width:70%!important;box-shadow:none!important}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162!important;color:#fff!important}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,.5)!important}.dslca-import-modules-section-hook{float:right;width:28%!important}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #EF7C5B inset}.dslc-modules-section.dslca-change-width-active{z-index:100}.dslca-manage-action{color:#fff;display:inline-block;text-decoration:none;font-size:12px;line-height:15px;text-align:center;padding:5px 6px;min-width:20px;margin-right:-2px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{padding-left:8px;border-radius:3px 0 0 3px}.dslca-manage-action:last-child{padding-right:8px;border-radius:0 3px 3px 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;visibility:hidden;margin-bottom:0;padding-right:0;position:absolute;z-index:99998;width:100%;text-align:center}.dslca-modules-section-manage:hover{z-index:100000}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible!important}.dslca-module-manage-inner,.dslca-modules-section-manage-inner{background:#f17c56;border-radius:3px;display:inline-block;line-height:1;position:relative;z-index:99999;vertical-align:middle;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-top-right-radius:0;border-top-left-radius:0}.dslca-modules-section-manage .dslca-manage-action:hover{background:#db6a3a}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1%!important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:.5;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;bottom:0;position:absolute;left:-24px;top:0;margin-right:0;text-align:center;z-index:999999}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:.5}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{background:#b2b7bc;border-radius:3px 0 0 3px;border-right-width:0;display:inline-block;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;display:block;text-decoration:none;font-size:12px;line-height:16px;text-align:center;margin:0}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 0 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-module-options,.dslca-change-width-modules-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-6px;left:25px;z-index:99999;width:122px}.dslca-change-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-area-options{display:block}.dslca-change-width-module-options{top:24px;left:0;border-top-right-radius:0;border-top-left-radius:0;border-top:none;padding-bottom:18px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-module-options span,.dslca-change-width-modules-area-options span{background:#4785db;border-radius:3px;display:inline-block;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-module-options span:hover,.dslca-change-width-modules-area-options span:hover{background:#6B9FF1}.dslca-change-width-module-options span:first-child,.dslca-change-width-modules-area-options span:first-child{background:0 0;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover,.dslca-section-scroller-next .dslca-icon,.dslca-section-scroller-prev .dslca-icon{color:#fff}.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,.28) inset;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-47px;top:0;text-align:center;z-index:99999;line-height:1}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0!important;border-radius:0 0 3px}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left .3s ease-in-out;-moz-transition:left .3s ease-in-out;transition:left .3s ease-in-out}.dslca-prompt-modal-actions,.dslca-prompt-modal-msg{text-align:center}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(88,144,229,0)),color-stop(100%,rgba(70,116,185,1)));background:-webkit-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-o-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:-ms-linear-gradient(left,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);background:linear-gradient(to right,rgba(88,144,229,0) 0,rgba(70,116,185,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5', GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:0!important;background:rgba(0,0,0,.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:-123px auto 0;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12)}.dslca-prompt-modal-descr,.dslca-prompt-modal-title{display:block;font-family:'Open Sans',sans-serif;margin-bottom:22px}.dslca-prompt-modal-title{color:#424242;font-size:16px;font-weight:700;line-height:1}.dslca-prompt-modal-descr{color:#8a8a8a;font-size:13px;font-weight:400;line-height:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,.5);margin-right:6px}.dslca-accordion-plain-content,.dslca-module-options-front,.dslca-module-options-front-backup,.dslca-tab-plain-content{display:none}#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-module-edit-option-size,.dslca-section-code{display:none!important}#dslca-wysiwyg-actions-cancel-hook,#dslca-wysiwyg-actions-save-hook{border-radius:3px;display:inline-block;padding:13px 10px;position:relative;color:#fff;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;font-size:12px;line-height:1}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}.dslca-enabled.dslca-composer-hidden #dslc-content .dslca-wysiwyg-actions-edit{display:none}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5890e5;color:#fff;cursor:pointer;display:block;font-size:12px;font-family:'Open Sans',sans-serif;line-height:1;font-weight:700;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9}body.dslca-enabled #mce-modal-block,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled .ui-dialog,body.dslca-enabled .ui-widget-overlay{z-index:99999999!important}body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .clearlooks2,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991!important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes dslcBounceIn{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes dslcBounceIn{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes dslcBounceOut{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);-moz-transform:scale(.9);transform:scale(.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(.9);transform:scale(.9)}}@-webkit-keyframes dslcBounceOut2{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@-webkit-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:.7}}@keyframes dslcRotate{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcRotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-modules-area.dslca-init-animation,.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:.6s;-webkit-animation-duration:.6s}.dslc-editable-content.dslc-pen,.dslc-editable-content:focus{outline:rgba(0,0,0,.2) dashed 1px}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none!important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-modules-edit-field-slider{display:none}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:absolute;height:5px;left:15px;right:15px;margin-top:15px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px;cursor:ew-resize}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-family:"Open Sans",sans-serif;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-actions,.dslca-wp-editor-notification{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-family:'Open Sans',sans-serif;font-weight:700;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:400;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans',sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);box-shadow:0 2px 2px rgba(0,0,0,.04),0 0 7px rgba(0,0,0,.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:700;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-module-edit-option-image,.dslca-modules-section-edit-option-upload{min-width:auto}.dslca-module-edit-field-button-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer!important;display:inline-block;font-size:12px;font-family:'Open Sans',sans-serif;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text,.dslca-activate-composer-hook{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#fff}.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-footer,#dslc-header{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;font-size:20px;text-decoration:none}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-editor-messages-section-122017,body.dslca-composer-hidden .dslc-hf-block-overlay,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage{display:none!important}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}.dslc-hf-block-overlay-button{padding:40px 90px}.dslc-hf-block-overlay-button:hover{color:#fff;cursor:pointer}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none!important;border:none!important}body.dslca-composer-hidden .dslca-container.active-message-panel{margin-bottom:0}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:.23s;-webkit-animation-delay:.23s;-ms-animation-delay:.23s;-o-animation-delay:.23s;animation-delay:.23s}.followingBallsG_3{-moz-animation-delay:.46s;-webkit-animation-delay:.46s;-ms-animation-delay:.46s;-o-animation-delay:.46s;animation-delay:.46s}.followingBallsG_4{-moz-animation-delay:.69s;-webkit-animation-delay:.69s;-ms-animation-delay:.69s;-o-animation-delay:.69s;animation-delay:.69s}@-moz-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-webkit-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-ms-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@-o-keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}@keyframes bounce_followingBallsG{0%,100%{left:0;background-color:rgba(255,255,255,.5)}50%{left:59px;background-color:rgba(0,0,0,0)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Excerpt],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Meta],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Downloads_Button],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Gallery_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Project_Slider],body.page .dslca-module.dslca-origin-single[data-id=DSLC_TP_Staff_Social]{display:none!important}.dslca-module.dslca-origin[data-display-module=true]{display:inline-block}.dslca-module.dslca-exclude,.dslca-module.dslca-origin[data-display-module=false]{display:none}.media-modal{z-index:999999999!important}.media-modal-backdrop{z-index:999999998!important}.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:12px;font-weight:400;letter-spacing:.5px;line-height:1;padding:11px 12px;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;position:fixed;z-index:99999;right:5px;bottom:5px}.dslc-editor-messages-section-122017,.dslca-modal-icons .icon-item_name,.dslca-modal-icons .set-heading{font-family:'Open Sans',sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon,body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:auto}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}.dslca-module-edit-options-wrapper,.dslca-modules-section-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-module-edit-options-inner,.dslca-modules-section-edit-options-inner{overflow-x:scroll;padding-top:4px}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:1}.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit,.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner:hover,.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50%!important;visibility:visible;transform:translate(-50%,0);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,.05);border-bottom:1px solid rgba(155,155,155,.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);-moz-box-shadow:0 1px 5px 0 rgba(68,68,68,.52);box-shadow:0 1px 5px 0 rgba(68,68,68,.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0 #5890e5 inset;-moz-box-shadow:0 1px 5px 0 #5890e5 inset;box-shadow:0 1px 5px 0 #5890e5 inset}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover,.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-phone .dslc-modules-section:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslc-module-front:hover,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover{box-shadow:none}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-size:12px;line-height:1.25;padding:5px 8px 12px}.dslca-modal-icons .set-heading{text-transform:uppercase;padding:30px;text-align:center;letter-spacing:6px;font-size:16px;font-weight:300;line-height:1.25}body.dslca-enabled.dslc-res-phone #page-builder-preview-area,body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid #000;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:.1px;position:absolute}.dslca-module-edit-field-colorpicker,.dslca-modules-section-edit-field-colorpicker{display:block!important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block!important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{bottom:0;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom .3s;-moz-transition:bottom .3s;transition:bottom .3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake .82s cubic-bezier(.36,.07,.19,.97) both;transform:translate3d(0,0,0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}body.dslca-drag-in-progress .lc-scroll-top-area,body.dslca-new-module-drag-in-progress .lc-scroll-top-area{position:fixed;top:0;z-index:99999;left:0;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0;left:0;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0;width:100%;height:83px}.dslc-control-toggle:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-options-iconbutton .dslca-icon,.dslca-options-iconbutton:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-row-edit-cancel:hover,.dslca-row-edit-save:hover{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3!important;border-color:#ccc!important}.dslca-container.active-message-panel{margin-bottom:40px}.dslc-editor-messages-section-122017{position:fixed;bottom:0;width:100%;height:40px;color:#fff;font-weight:100;background:#404a58;display:none}.dslc-editor-messages-title{float:left;background:#303030;color:#fff;font-size:14px;line-height:22px;text-transform:uppercase;padding:12px 17px;text-align:center;display:block;letter-spacing:1px}a.dslc-editor-messages-title:hover{color:#fff}#editor-messages{font-size:14px;text-overflow:ellipsis;white-space:nowrap;margin:0!important;padding:0!important;opacity:0}#editor-messages li{position:relative;padding:13px 20px 11px 50px!important;margin:0;line-height:16px;font-size:14px}#editor-messages a{text-decoration:none;display:block;position:absolute;left:0;top:0;width:100%;height:100%}#editor-messages strong{font-weight:500}#editor-messages .cta{font-size:11px;font-weight:500;background:#5A92E2;color:#fff;text-transform:uppercase;letter-spacing:.5px;display:inline-block;padding:4px 10px;position:absolute;border-radius:3px;margin-left:14px;margin-top:-4px}#editor-messages .dslc-icon{font-size:19px;margin-right:10px;position:absolute;left:20px;top:12px}#editor-messages .dslc-notice{background:#d90a0a;margin:0;padding:12px 17px;font-size:16px}#editor-messages .dslc-notice a{position:relative;color:#fff}.dslc-editor-messages-hide{float:right;padding:12px 17px;background:#283546;font-size:14px;text-align:center;display:block;color:#fff}.dslc-editor-messages-hide .dslc-icon{font-size:17px;margin-right:10px}a.dslc-editor-messages-hide:hover{color:#fff}.dslca-enabled.dslc-res-phone .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-section:hover .dslca-modules-section-manage{visibility:hidden!important}.dslca-enabled.dslc-res-phone .dslc-modules-area:hover .dslca-modules-area-manage,.dslca-enabled.dslc-res-tablet .dslc-modules-area:hover .dslca-modules-area-manage{visibility:hidden!important;opacity:0}.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-phone #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-enabled.dslca-drag-not-in-progress.dslc-res-tablet #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:0}body.module-editing-in-progress.dslc-res-phone .dslc-module-front:not(.dslca-module-being-edited):before,body.module-editing-in-progress.dslc-res-tablet .dslc-module-front:not(.dslca-module-being-edited):before,body.section-editing-in-progress.dslc-res-phone .dslc-modules-section:not(.dslca-modules-section-being-edited):before,body.section-editing-in-progress.dslc-res-tablet .dslc-modules-section:not(.dslca-modules-section-being-edited):before{z-index:1}.dslca-module-edit-option-box-shadow-single .wp-picker-holder,.dslca-module-edit-option-color .wp-picker-holder,.dslca-module-edit-option-text-shadow-single .wp-picker-holder,.dslca-modules-section-edit-option .wp-picker-holder{position:fixed;margin-top:-315px;z-index:1}body .dslca-module-edit-option-box-shadow-single input[type=text].dslca-module-edit-option-box-shadow-color,body .dslca-module-edit-option-color input[type=text].dslca-module-edit-field-colorpicker,body .dslca-module-edit-option-text-shadow-single input[type=text].dslca-module-edit-option-text-shadow-color,body .dslca-modules-section-edit-option input[type=text].dslca-modules-section-edit-field-colorpicker{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.7),0 0 7px rgba(0,0,0,.28),4px 3px 6px rgba(0,0,0,.1);padding:0;line-height:31px;text-align:center;font-size:14px;min-height:33px}.dslca-module-edit-option-box-shadow-single .wp-picker-clear,.dslca-module-edit-option-color .wp-picker-clear,.dslca-module-edit-option-text-shadow-single .wp-picker-clear,.dslca-modules-section-edit-option .wp-picker-clear{display:none}.dslca-module-edit-option-box-shadow-single .wp-color-result,.dslca-module-edit-option-color .wp-color-result,.dslca-module-edit-option-text-shadow-single .wp-color-result,.dslca-modules-section-edit-option .wp-color-result{position:absolute!important;top:53px;z-index:2;right:10px;height:33px;left:16px;opacity:0}.dslca-module-edit-option-color .wp-picker-container input[type=text].wp-color-picker,.dslca-modules-section-edit-option .wp-picker-container input[type=text].wp-color-picker{width:100%!important;font-family:inherit;margin:inherit}.dslca-module-edit-option-box-shadow-single .wp-picker-container input[type=text].wp-color-picker,.dslca-module-edit-option-text-shadow-single .wp-picker-container input[type=text].wp-color-picker{width:100px;font-family:'Open Sans',sans-serif}.wp-picker-open+.wp-picker-input-wrap{vertical-align:middle!important}.dslca-module-edit-option-box-shadow-single .iris-picker.iris-border,.dslca-module-edit-option-color .iris-picker.iris-border,.dslca-modules-section-edit-option .iris-picker.iris-border{border-top-right-radius:3px;border-top-left-radius:3px}.dslca-colorpicker-apply{background:#f1f1f1;border-radius:0 0 3px 3px;color:#444;cursor:pointer;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-weight:600;line-height:1;padding:10px 0;text-decoration:none;z-index:1;position:absolute;bottom:-36px;left:-1px;width:100%;display:block;border:1px solid #FFF}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child{position:relative;background:linear-gradient(rgba(255,255,255,.4) 0,rgba(255,255,255,.6) 100%),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==)!important}.dslca-module-edit-option-box-shadow-single .iris-picker .iris-palette:last-child:before,.dslca-module-edit-option-color .iris-picker .iris-palette:last-child:before,.dslca-modules-section-edit-option .iris-picker .iris-palette:last-child:before{content:'×';position:absolute;left:0;right:0;top:0;bottom:0;display:block;text-align:center;vertical-align:middle;color:red;font-size:20px;line-height:27px}.wp-picker-container .wp-picker-input-wrap.hidden{display:block}.wp-picker-container .wp-picker-input-wrap.hidden label,.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{width:100%}.dslca-module-edit-option-box-shadow-single.dslca-color-option .wp-picker-container{display:inline-block;vertical-align:middle}
css/builder/builder.main.css CHANGED
@@ -200,7 +200,10 @@ body a:focus {
200
  }
201
 
202
  .dslca-container {
203
- font-family: 'Open Sans', sans-serif;
 
 
 
204
  bottom: 0;
205
  color: #fff;
206
  left: 0;
@@ -395,7 +398,7 @@ body a:focus {
395
  .dslca-wp-editor-cancel-hook {
396
  background: #78ca4f;
397
  border-radius: 3px;
398
- color: #fff;
399
  cursor: pointer;
400
  display: inline-block;
401
  font-size: 13px;
@@ -513,7 +516,6 @@ body a:focus {
513
  float: left;
514
  background: #3b6fbe;
515
  color: #fff;
516
- font-family: 'Open Sans', sans-serif;
517
  font-size: 17px;
518
  line-height: 1;
519
  padding: 28px 25px;
@@ -610,8 +612,6 @@ body a:focus {
610
  .dslca-module {
611
  color: #fff;
612
  display: inline-block;
613
- font-family: font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
614
- font-size: 15px;
615
  font-weight: 400;
616
  line-height: 1;
617
  padding: 2px 12px 9px 12px;
@@ -731,7 +731,7 @@ body a:focus {
731
  padding: 16px 15px 5px 15px;
732
  min-height: 58px;
733
 
734
- transform: translate(0,0);
735
  /* fix the bug with wrong position
736
  of the horizontal scrolling bar
737
  in macOS Chorme */
@@ -1243,7 +1243,6 @@ body a:focus {
1243
  cursor: pointer;
1244
  display: block;
1245
  float: left;
1246
- font-family: 'Open Sans', sans-serif;
1247
  font-size: 15px;
1248
  line-height: 1;
1249
  padding: 29px 29px 27px 29px;
@@ -1432,6 +1431,12 @@ body a:focus {
1432
  margin-left: -10px;
1433
  }
1434
 
 
 
 
 
 
 
1435
  .dslca-module-placeholder {
1436
  position: relative;
1437
  background: #5890e5;
@@ -1451,9 +1456,9 @@ body a:focus {
1451
  background: #5890e5;
1452
  border-radius: 3px 3px 0 0;
1453
  color: #fff;
1454
- font-family: 'Open Sans', sans-serif;
1455
- font-style: 12px;
1456
- font-weight: bold;
1457
  /* text-transform: uppercase; */
1458
  display: inline-block;
1459
  padding: 5px 10px;
@@ -1490,7 +1495,7 @@ body a:focus {
1490
  position: absolute;
1491
 
1492
  font-size: 15px;
1493
- font-family: 'Open Sans', sans-serif;
1494
  }
1495
 
1496
  .dslc-module-front {
@@ -1498,7 +1503,12 @@ body a:focus {
1498
  min-height: 30px;
1499
  }
1500
 
1501
- .dslc-module-front.dslca-change-width-active {
 
 
 
 
 
1502
  z-index: 999999;
1503
  }
1504
 
@@ -1657,8 +1667,6 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
1657
  border-radius: 3px 6px 6px 3px;
1658
  cursor: pointer;
1659
  font-size: 13px;
1660
- font-weight: 400;
1661
- font-family: 'Open Sans',sans-serif;
1662
  float: left;
1663
  line-height: 1;
1664
  opacity: 0;
@@ -1731,20 +1739,18 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
1731
  .dslc-modules-area-empty .dslca-no-content {
1732
  display: block;
1733
  }
1734
-
1735
  .dslca-no-content-primary {
1736
  color: #5890e5;
1737
  display: inline-block;
1738
  background: rgba( 255, 255, 255, 0.75 );
1739
  font-size: 15px;
1740
- font-family: 'Open Sans', sans-serif;
1741
  line-height: 1;
1742
  margin: 0;
1743
- /* text-transform: uppercase; */
1744
  padding: 13px;
1745
  border-radius: 3px;
1746
  }
1747
-
1748
  .dslca-no-content .dslca-icon {
1749
  margin-right: 10px;
1750
  }
@@ -1773,55 +1779,51 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
1773
 
1774
  /* Button */
1775
 
1776
- .dslca-add-modules-section {
1777
  text-align: center;
1778
  margin-top: 30px;
1779
- width: 1180px;
 
1780
  margin-left: auto;
1781
  margin-right: auto;
1782
- max-width: 100%;
1783
  margin-bottom: 180px;
1784
  overflow: hidden;
 
1785
  }
1786
 
1787
  .dslca-add-modules-section-hook,
1788
  .dslca-import-modules-section-hook {
1789
- background: #e5855f;
1790
- /*border: 1px solid #d97a54;*/
1791
  border-radius: 3px;
1792
  color: #fff!important;
1793
  cursor: pointer;
1794
  display: block;
1795
- font-size: 15px;
1796
- font-family: 'Open Sans', sans-serif;
1797
  float: left;
1798
- line-height: 1;
1799
  padding: 14px 0;
1800
- text-decoration: none;
1801
- width: 80%;
 
1802
  }
1803
 
1804
  .dslca-add-modules-section-hook:hover,
1805
  .dslca-import-modules-section-hook:hover {
1806
- background: #FF9162;
1807
- color: #fff;
1808
  }
1809
 
1810
- .dslca-add-modules-section .dslca-icon {
 
1811
  margin-right: 10px;
1812
- color: rgba( 255, 255, 255, 0.5 );
1813
  }
1814
 
1815
  .dslca-import-modules-section-hook {
1816
  float: right;
1817
- width: 18%;
1818
  }
1819
 
1820
- .dslca-import-modules-section .dslca-icon {
1821
- margin-right: 10px;
1822
- color: rgba( 255, 255, 255, 0.5 );
1823
- }
1824
-
1825
  /* Main */
1826
 
1827
  .dslc-modules-section {
@@ -1935,26 +1937,6 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
1935
  background: #E5855F;
1936
  }
1937
 
1938
- .dslca-placeholder-help-text {
1939
- position: absolute;
1940
- left: 0;
1941
- bottom: 0;
1942
- right: 0;
1943
- text-align: center;
1944
- }
1945
-
1946
- .dslca-placeholder-help-text-inner {
1947
- background: #5890e5;
1948
- border-radius: 3px 3px 0 0;
1949
- color: #fff;
1950
- font-family: 'Open Sans', sans-serif;
1951
- font-style: 12px;
1952
- font-weight: bold;
1953
- /* text-transform: uppercase; */
1954
- display: inline-block;
1955
- padding: 5px 10px;
1956
- }
1957
-
1958
 
1959
  /**
1960
  * Module Area
@@ -2107,6 +2089,12 @@ body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-sectio
2107
  width: 122px;
2108
  }
2109
 
 
 
 
 
 
 
2110
  .dslca-change-width-module-options {
2111
  top: 24px;
2112
  left: 0;
@@ -3467,7 +3455,7 @@ body.dslca-composer-hidden .dslca-container.active-message-panel {
3467
  margin-bottom: 0;
3468
  }
3469
 
3470
- body.dslca-composer-hidden .dslc-editor-messages-section {
3471
  display: none !important;
3472
  }
3473
 
@@ -3694,19 +3682,19 @@ body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"] {
3694
  color: #fff;
3695
  cursor: pointer;
3696
  display: block;
3697
- font-size: 11px;
3698
- font-family: 'Roboto', sans-serif;
3699
- font-weight: 900;
3700
  line-height: 1;
3701
  padding: 11px 12px;
3702
- text-transform: uppercase;
3703
  text-decoration: none;
3704
  white-space: nowrap;
3705
  float: left;
3706
  margin-left: 5px;
3707
  }
3708
 
3709
- /* Use Open Sans here as Roboto is not available at this point */
3710
  .dslca-activate-composer-hook {
3711
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3712
  }
@@ -4257,7 +4245,7 @@ div#scroller-stopper {
4257
  margin-bottom: 40px;
4258
  }
4259
 
4260
- .dslc-editor-messages-section {
4261
  position: fixed;
4262
  bottom: 0;
4263
  width: 100%;
@@ -4299,8 +4287,8 @@ a.dslc-editor-messages-title:hover {
4299
  position: relative;
4300
  padding: 13px 20px 11px 50px !important;
4301
  margin: 0;
4302
- line-height: 1;
4303
- font-size: 16px;
4304
  }
4305
 
4306
  #editor-messages a {
@@ -4317,6 +4305,21 @@ a.dslc-editor-messages-title:hover {
4317
  font-weight: 500;
4318
  }
4319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4320
  #editor-messages .dslc-icon {
4321
  font-size: 19px;
4322
  margin-right: 10px;
200
  }
201
 
202
  .dslca-container {
203
+ /* font-family: 'Open Sans', sans-serif; */
204
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
205
+ font-size: 13px;
206
+
207
  bottom: 0;
208
  color: #fff;
209
  left: 0;
398
  .dslca-wp-editor-cancel-hook {
399
  background: #78ca4f;
400
  border-radius: 3px;
401
+ color: #fff!important;
402
  cursor: pointer;
403
  display: inline-block;
404
  font-size: 13px;
516
  float: left;
517
  background: #3b6fbe;
518
  color: #fff;
 
519
  font-size: 17px;
520
  line-height: 1;
521
  padding: 28px 25px;
612
  .dslca-module {
613
  color: #fff;
614
  display: inline-block;
 
 
615
  font-weight: 400;
616
  line-height: 1;
617
  padding: 2px 12px 9px 12px;
731
  padding: 16px 15px 5px 15px;
732
  min-height: 58px;
733
 
734
+ transform: translate(0,0);
735
  /* fix the bug with wrong position
736
  of the horizontal scrolling bar
737
  in macOS Chorme */
1243
  cursor: pointer;
1244
  display: block;
1245
  float: left;
 
1246
  font-size: 15px;
1247
  line-height: 1;
1248
  padding: 29px 29px 27px 29px;
1431
  margin-left: -10px;
1432
  }
1433
 
1434
+
1435
+ .dslca-module-placeholder,
1436
+ .dslca-modules-section-placeholder {
1437
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1438
+ }
1439
+
1440
  .dslca-module-placeholder {
1441
  position: relative;
1442
  background: #5890e5;
1456
  background: #5890e5;
1457
  border-radius: 3px 3px 0 0;
1458
  color: #fff;
1459
+ font-size: 12px;
1460
+ font-weight: 400;
1461
+ letter-spacing: .5px;
1462
  /* text-transform: uppercase; */
1463
  display: inline-block;
1464
  padding: 5px 10px;
1495
  position: absolute;
1496
 
1497
  font-size: 15px;
1498
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1499
  }
1500
 
1501
  .dslc-module-front {
1503
  min-height: 30px;
1504
  }
1505
 
1506
+ /* .dslc-module-front.dslca-change-width-active {
1507
+ z-index: 999999;
1508
+ } */
1509
+
1510
+ /* experimental */
1511
+ .dslc-module-front:hover {
1512
  z-index: 999999;
1513
  }
1514
 
1667
  border-radius: 3px 6px 6px 3px;
1668
  cursor: pointer;
1669
  font-size: 13px;
 
 
1670
  float: left;
1671
  line-height: 1;
1672
  opacity: 0;
1739
  .dslc-modules-area-empty .dslca-no-content {
1740
  display: block;
1741
  }
1742
+ /*
1743
  .dslca-no-content-primary {
1744
  color: #5890e5;
1745
  display: inline-block;
1746
  background: rgba( 255, 255, 255, 0.75 );
1747
  font-size: 15px;
 
1748
  line-height: 1;
1749
  margin: 0;
 
1750
  padding: 13px;
1751
  border-radius: 3px;
1752
  }
1753
+ */
1754
  .dslca-no-content .dslca-icon {
1755
  margin-right: 10px;
1756
  }
1779
 
1780
  /* Button */
1781
 
1782
+ div.dslca-add-modules-section {
1783
  text-align: center;
1784
  margin-top: 30px;
1785
+ width: 80%;
1786
+ max-width: 620px;
1787
  margin-left: auto;
1788
  margin-right: auto;
 
1789
  margin-bottom: 180px;
1790
  overflow: hidden;
1791
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1792
  }
1793
 
1794
  .dslca-add-modules-section-hook,
1795
  .dslca-import-modules-section-hook {
1796
+ background: #e5855f!important;
 
1797
  border-radius: 3px;
1798
  color: #fff!important;
1799
  cursor: pointer;
1800
  display: block;
1801
+ font-size: 15px!important;
 
1802
  float: left;
1803
+ line-height: 1!important;
1804
  padding: 14px 0;
1805
+ text-decoration: none!important;
1806
+ width: 70%!important;
1807
+ box-shadow: none!important;
1808
  }
1809
 
1810
  .dslca-add-modules-section-hook:hover,
1811
  .dslca-import-modules-section-hook:hover {
1812
+ background: #FF9162!important;
1813
+ color: #fff!important;
1814
  }
1815
 
1816
+ .dslca-add-modules-section .dslca-icon,
1817
+ .dslca-import-modules-section .dslca-icon {
1818
  margin-right: 10px;
1819
+ color: rgba( 255, 255, 255, 0.5 )!important;
1820
  }
1821
 
1822
  .dslca-import-modules-section-hook {
1823
  float: right;
1824
+ width: 28%!important;
1825
  }
1826
 
 
 
 
 
 
1827
  /* Main */
1828
 
1829
  .dslc-modules-section {
1937
  background: #E5855F;
1938
  }
1939
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1940
 
1941
  /**
1942
  * Module Area
2089
  width: 122px;
2090
  }
2091
 
2092
+ /* Show popup when parent icon hovered. */
2093
+ .dslca-change-width-module-hook:hover > .dslca-change-width-module-options,
2094
+ .dslca-change-width-modules-area-hook:hover > .dslca-change-width-modules-area-options{
2095
+ display: block;
2096
+ }
2097
+
2098
  .dslca-change-width-module-options {
2099
  top: 24px;
2100
  left: 0;
3455
  margin-bottom: 0;
3456
  }
3457
 
3458
+ body.dslca-composer-hidden .dslc-editor-messages-section-122017 {
3459
  display: none !important;
3460
  }
3461
 
3682
  color: #fff;
3683
  cursor: pointer;
3684
  display: block;
3685
+ font-size: 12px;
3686
+ font-weight: 400;
3687
+ letter-spacing: .5px;
3688
  line-height: 1;
3689
  padding: 11px 12px;
3690
+ /* text-transform: uppercase; */
3691
  text-decoration: none;
3692
  white-space: nowrap;
3693
  float: left;
3694
  margin-left: 5px;
3695
  }
3696
 
3697
+ /* No custom font available at this point */
3698
  .dslca-activate-composer-hook {
3699
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3700
  }
4245
  margin-bottom: 40px;
4246
  }
4247
 
4248
+ .dslc-editor-messages-section-122017 {
4249
  position: fixed;
4250
  bottom: 0;
4251
  width: 100%;
4287
  position: relative;
4288
  padding: 13px 20px 11px 50px !important;
4289
  margin: 0;
4290
+ line-height: 16px;
4291
+ font-size: 14px;
4292
  }
4293
 
4294
  #editor-messages a {
4305
  font-weight: 500;
4306
  }
4307
 
4308
+ #editor-messages .cta {
4309
+ font-size: 11px;
4310
+ font-weight: 500;
4311
+ background:#5A92E2;
4312
+ color: #fff;
4313
+ text-transform: uppercase;
4314
+ letter-spacing: .5px;
4315
+ display: inline-block;
4316
+ padding: 4px 10px;
4317
+ position: absolute;
4318
+ border-radius: 3px;
4319
+ margin-left: 14px;
4320
+ margin-top: -4px;
4321
+ }
4322
+
4323
  #editor-messages .dslc-icon {
4324
  font-size: 19px;
4325
  margin-right: 10px;
css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.dslc-tp-comment-form textarea,.mfp-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mfp-arrow,.owl-controls{-webkit-tap-highlight-color:transparent}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:99999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:99999}body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed{position:relative}.dslca-enabled:not(.dslca-composer-hidden) #dslc-footer{margin-bottom:74px}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%;min-height:1px}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;text-align:center;font-weight:400}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px;overflow:hidden}.dslc-carousel.owl-carousel .owl-wrapper-outer{overflow:visible}.dslca-activate-composer-hook{background:#54c13f;color:#fff;border-radius:3px;position:fixed;z-index:99999;right:5px;bottom:5px;cursor:pointer;display:block;font-size:11px;font-family:'Open Sans',sans-serif;font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook:hover{background:#40D71F}.dslca-activate-composer-hook:visited{color:#fff}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-module-DSLC_Image .dslc-notification{font-family:'Open Sans',sans-serif}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{display:flex;align-items:center;justify-content:center}.dslc-init-topleft .dslc-init-target{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright .dslc-init-target{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}.dslc-init-bottomleft .dslc-init-target{position:absolute!important;bottom:0!important;left:0!important;top:auto!important;right:auto!important}.dslc-init-bottomright .dslc-init-target{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topleft{position:absolute;top:0;left:0;bottom:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topright{position:absolute;top:0;right:0;bottom:auto;left:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomleft{position:absolute;bottom:0;left:0;top:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomright{position:absolute;bottom:0;right:0;top:auto;left:auto}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video .mejs-controls{display:none!important}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}#dslc-content{position:relative;overflow:hidden}.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:5px 0 20px 20px}#dslc-content .dslc-cpt-post-meta-author,a img.alignleft{float:left}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.gallery-caption{font-weight:700}.dslc-content b,.dslc-content strong{font-weight:bolder}.dslc-content em,.dslc-content i:not(.fa,.dslc-icon){font-style:italic}@media only screen and (min-width :1025px){.dslc-hide-on-desktop{display:none!important}.dslca-enabled .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden .dslc-hide-on-desktop{display:none!important}}@media only screen and (min-width :768px) and (max-width :1024px){body.dslca-enabled.dslc-res-tablet{padding-bottom:200px}.dslc-hide-on-tablet{display:none!important}.dslc-post-heading{overflow:hidden}.dslc-post-filters{float:left}}@media only screen and (max-width:767px){body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0 0 30px;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}.dslc-post-heading{overflow:hidden}.dslc-post-filters{float:left}}@media all and (-ms-high-contrast:none){.dslc-image-container .dslc-image,.dslc-image-container .dslc-image a{width:100%!important}.dslc-in-viewport-check{transform:none!important;opacity:1!important}#dslc-content .dslc-info-box-image-alt-inner{width:100%}}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-post{overflow:hidden}.dslc-module-front{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-thumb .dslc-gallery-images-count{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image,#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-image-alt{float:left;margin-right:20px}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-inner{display:inline-flex;justify-content:center;align-items:center;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px}#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-alt-inner{display:inline-block}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none;box-shadow:none;-webkit-appearance:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-module-front.dslc-module-DSLC_Separator{min-height:auto}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-content,#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}button,input[type=file]::-webkit-file-upload-button,input[type=button],input[type=submit],input[type=reset]{border-style:none;-webkit-appearance:none}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap{border:0 solid transparent}.dslc-module-DSLC_Text_Simple img{max-width:100%;height:auto}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;font-weight:400;font-size:25px;line-height:1;position:absolute;left:0;top:0;width:100%;height:100%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center;-webkit-appearance:none}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;font-size:15px;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-social .dslc-icon{line-height:1}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-social li:last-child{margin-right:0}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;text-decoration:none;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{display:flex;justify-content:center;align-items:center;position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;font-size:12px;text-align:center}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1;box-shadow:none;-webkit-appearance:none}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-meta-author a{color:inherit;text-decoration:none}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-tp-comment-form input[type=email]::-moz-placeholder,.dslc-tp-comment-form input[type=text]::-moz-placeholder,.dslc-tp-comment-form input[type=url]::-moz-placeholder,.dslc-tp-comment-form textarea::-moz-placeholder{opacity:1}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}.dslc-image,.dslc-image img{border:0;box-shadow:none}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none;position:relative}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:999;position:relative;text-align:right;font-size:0}body .dslc-navigation .menu-item[class*=" dslc-icon-"]:before,body .dslc-navigation .menu-item[class^=dslc-icon-]:before{display:none}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{display:none;list-style-type:none;margin:0;opacity:0;position:absolute;z-index:10;top:100%;left:-28px;text-align:left}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;position:relative;z-index:3;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-1px;top:-1px}#dslc-content .dslc-navigation .menu ul:before{position:absolute;content:'';display:block;left:0;top:0;bottom:0;right:0;z-index:2;border-style:solid}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu:after{display:block;content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;z-index:0;position:absolute}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu{display:block;opacity:1}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}.dslc-center-elem{top:50%;position:relative;left:50%;visibility:visible;transform:translate(-50%,-50%)}@media only screen and (min-width :768px) and (max-width :1024px){#dslc-content .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}@media only screen and (max-width:767px){.dslc-tabs-nav{display:none}.dslc-tabs-tab-content{display:block!important}.dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}.dslc-comment .dslc-comment{margin-left:0}.dslc-comment .children{margin-left:0;padding-left:0}#dslc-content .dslc-mobile-navigation.dslc-navigation-res-p-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-p-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}.dslc-carousel .dslc-carousel-item{margin-left:0!important}}.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.mfp-container:before,.mfp-figure:after{content:''}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}100%,75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}100%,75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}100%,75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}.owl-item.loading{min-height:150px;background:url(AjaxLoader.gif) center center no-repeat}.mfp-bg{z-index:99999;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{z-index:100000;outline:0!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:100001}.mfp-close,.mfp-preloader{text-align:center;position:absolute}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;top:50%;width:auto;margin-top:-.8em;left:8px;right:8px;z-index:100000}.mfp-preloader a{color:#ccc}.mfp-close,.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:100002;-webkit-box-shadow:none;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;right:0;top:0;text-decoration:none;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-figure,img.mfp-img{line-height:0}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow .mfp-a,.mfp-arrow .mfp-b,.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow .mfp-a,.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow .mfp-b,.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left .mfp-b,.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right .mfp-b,.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}img.mfp-img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure:after{position:absolute;left:0;top:40px;bottom:40px;right:0;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-close:hover{background:0 0}
1
+ .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.dslc-tp-comment-form textarea,.mfp-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mfp-arrow,.owl-controls{-webkit-tap-highlight-color:transparent}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:99999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:99999}body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute,body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed{position:relative}.dslca-enabled:not(.dslca-composer-hidden) #dslc-footer{margin-bottom:74px}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%;min-height:1px}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;text-align:center;font-weight:400}.dslc-carousel-nav-next.position-aside,.dslc-carousel-nav-prev.position-aside{position:absolute;top:50%;margin-top:-30px}.dslc-carousel-nav-prev.position-aside{left:-40px;margin-right:0}.dslc-carousel-nav-next.position-aside{right:-40px}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px;overflow:hidden}.dslc-carousel.owl-carousel .owl-wrapper-outer{overflow:visible}.dslca-activate-composer-hook{background:#54c13f!important;color:#fff!important;border-radius:3px!important;position:fixed!important;z-index:99999!important;right:5px!important;bottom:5px!important;cursor:pointer!important;display:block!important;font-size:11px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;font-weight:900!important;line-height:1!important;padding:11px 12px!important;text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important;float:left!important;margin-left:5px!important}.dslc-module-DSLC_Image .dslc-notification,.dslc-module-front,.dslca-module{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.dslca-activate-composer-hook:hover{background:#40D71F!important}.dslca-activate-composer-hook:visited{color:#fff!important}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{display:flex;align-items:center;justify-content:center}.dslc-init-topleft .dslc-init-target{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright .dslc-init-target{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important}.dslc-init-bottomleft .dslc-init-target{position:absolute!important;bottom:0!important;left:0!important;top:auto!important;right:auto!important}.dslc-init-bottomright .dslc-init-target{position:absolute!important;bottom:0!important;right:0!important;top:auto!important;left:auto!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topleft{position:absolute;top:0;left:0;bottom:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-topright{position:absolute;top:0;right:0;bottom:auto;left:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomleft{position:absolute;bottom:0;left:0;top:auto;right:auto}#dslc-content .dslc-products .dslc-product-thumb .dslc-init-bottomright{position:absolute;bottom:0;right:0;top:auto;left:auto}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video .mejs-controls{display:none!important}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}#dslc-content{position:relative;overflow:hidden}.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin:5px auto}.alignright{float:right;margin:5px 0 20px 20px}.alignleft{float:left;margin:5px 20px 20px 0}.aligncenter{display:block;margin:5px auto}a img.alignright{float:right;margin:5px 0 20px 20px}#dslc-content .dslc-cpt-post-meta-author,a img.alignleft{float:left}a img.alignleft,a img.alignnone{margin:5px 20px 20px 0}a img.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{background:#fff;border:1px solid #f0f0f0;max-width:96%;padding:5px 3px 10px;text-align:center}.wp-caption.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.gallery-caption{font-weight:700}.dslc-content b,.dslc-content strong{font-weight:bolder}.dslc-content em,.dslc-content i:not(.fa,.dslc-icon){font-style:italic}@media only screen and (min-width :1025px){.dslc-hide-on-desktop{display:none!important}.dslca-enabled .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden .dslc-hide-on-desktop{display:none!important}}@media only screen and (min-width :768px) and (max-width :1024px){body.dslca-enabled.dslc-res-tablet{padding-bottom:200px}.dslc-hide-on-tablet{display:none!important}.dslc-post-heading{overflow:hidden}}@media only screen and (max-width:767px){body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0 0 30px;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}.dslc-post-heading{overflow:hidden}}@media all and (-ms-high-contrast:none){.dslc-image-container .dslc-image,.dslc-image-container .dslc-image a{width:100%!important}.dslc-in-viewport-check{transform:none!important;opacity:1!important}#dslc-content .dslc-info-box-image-alt-inner{width:100%}}body #dslc-content .nf-field-container{margin-bottom:0}body #dslc-content input:focus{outline:0}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-post{overflow:hidden}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author.above{float:none}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-meta-date.above{float:none}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-author.above{float:none}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-meta-date.above{float:none}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-thumb .dslc-gallery-images-count{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image,#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-image-alt{float:left;margin-right:20px}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-inner{display:inline-flex;justify-content:center;align-items:center;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px}#dslc-content .dslc-info-box-image-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-image-alt-inner{display:inline-block}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none;box-shadow:none;-webkit-appearance:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-module-front.dslc-module-DSLC_Separator{min-height:auto}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-content,#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-posts.dslc-carousel-arrow-aside{position:relative;width:90%;margin:0 auto}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:inline-block;height:auto}#dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}button,input[type=button],input[type=submit],input[type=reset],input[type=file]::-webkit-file-upload-button{border-style:none;-webkit-appearance:none}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap{border:0 solid transparent}.dslc-module-DSLC_Text_Simple img{max-width:100%;height:auto}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;font-weight:400;font-size:25px;line-height:1;position:absolute;left:0;top:0;width:100%;height:100%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center;-webkit-appearance:none}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;font-size:15px;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-social .dslc-icon{line-height:1}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-social li:last-child{margin-right:0}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;text-decoration:none;position:relative;float:left;display:inline-flex;justify-content:center;align-items:center}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{display:flex;justify-content:center;align-items:center;position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;font-size:12px;text-align:center}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1;box-shadow:none;-webkit-appearance:none}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-meta-author a{color:inherit;text-decoration:none}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-tp-comment-form input[type=email]::-moz-placeholder,.dslc-tp-comment-form input[type=text]::-moz-placeholder,.dslc-tp-comment-form input[type=url]::-moz-placeholder,.dslc-tp-comment-form textarea::-moz-placeholder{opacity:1}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}.dslc-image,.dslc-image img{border:0;box-shadow:none}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none;position:relative}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:999;position:relative;text-align:right;font-size:0}body .dslc-navigation .menu-item[class*=" dslc-icon-"]:before,body .dslc-navigation .menu-item[class^=dslc-icon-]:before{display:none}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{display:none;list-style-type:none;margin:0;opacity:0;position:absolute;z-index:10;top:100%;left:-28px;text-align:left}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;position:relative;z-index:3;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-1px;top:-1px}#dslc-content .dslc-navigation .menu ul:before{position:absolute;content:'';display:block;left:0;top:0;bottom:0;right:0;z-index:2;border-style:solid}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu:after{display:block;content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;z-index:0;position:absolute}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul.sub-menu{display:block;opacity:1}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}.dslc-center-elem{top:50%;position:relative;left:50%;visibility:visible;transform:translate(-50%,-50%)}@media only screen and (min-width :768px) and (max-width :1024px){#dslc-content .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}}@media only screen and (max-width:767px){.dslc-tabs-nav{display:none}.dslc-tabs-tab-content{display:block!important}.dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}.dslc-comment .dslc-comment{margin-left:0}.dslc-comment .children{margin-left:0;padding-left:0}#dslc-content .dslc-mobile-navigation.dslc-navigation-res-p-enabled{display:block}#dslc-content .dslc-navigation.dslc-navigation-res-p-enabled{display:none}.dslc-post-main-inner-link-cover{display:block}.dslc-carousel .dslc-carousel-item{margin-left:0!important}body #dslc-content .dslc-partner-thumb{width:100%}#dslc-content .dslc-posts.dslc-carousel-arrow-aside{width:80%}}.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.mfp-container:before,.mfp-figure:after{content:''}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}100%,75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}100%,75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}100%,75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}.owl-item.loading{min-height:150px;background:url(AjaxLoader.gif) center center no-repeat}.mfp-bg{z-index:99999;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{z-index:100000;outline:0!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:100001}.mfp-close,.mfp-preloader{text-align:center;position:absolute}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;top:50%;width:auto;margin-top:-.8em;left:8px;right:8px;z-index:100000}.mfp-preloader a{color:#ccc}.mfp-close,.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:100002;-webkit-box-shadow:none;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;right:0;top:0;text-decoration:none;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-figure,img.mfp-img{line-height:0}.mfp-arrow{position:absolute;opacity:.65;filter:alpha(opacity=65);margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow .mfp-a,.mfp-arrow .mfp-b,.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow .mfp-a,.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow .mfp-b,.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left .mfp-b,.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right .mfp-b,.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}img.mfp-img{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure:after{position:absolute;left:0;top:40px;bottom:40px;right:0;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{width:600px;left:50%;margin-left:-300px;margin-top:5px;padding-bottom:5px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-close:hover{background:0 0}
css/frontend/main.css CHANGED
@@ -241,6 +241,22 @@ body.rtl .dslc-last-col {
241
  font-weight: normal;
242
  }
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  #dslc-content .dslc-carousel .owl-pagination .owl-page span {
245
  margin: 0;
246
  filter: Alpha(Opacity=100);/*IE7 fix*/
@@ -296,35 +312,38 @@ body.rtl .dslc-last-col {
296
 
297
 
298
  .dslca-activate-composer-hook {
299
- background: #54c13f;
300
- color: #fff;
301
- border-radius: 3px;
302
 
303
- position: fixed;
304
- z-index: 99999;
305
- right: 5px;
306
- bottom: 5px;
307
 
308
- cursor: pointer;
309
- display: block;
310
- font-size: 11px;
311
- font-family: 'Open Sans', sans-serif;
312
- font-weight: 900;
313
- line-height: 1;
314
- padding: 11px 12px;
315
- text-transform: uppercase;
316
- text-decoration: none;
317
- white-space: nowrap;
318
- float: left;
319
- margin-left: 5px;
 
 
 
320
  }
321
 
322
  .dslca-activate-composer-hook:hover {
323
- background: #40D71F;
324
  }
325
 
326
  .dslca-activate-composer-hook:visited {
327
- color: #fff;
328
  }
329
 
330
  .dslca-activate-composer-hook.dslca-position-left {
@@ -449,6 +468,11 @@ body.rtl .dslc-last-col {
449
  animation: dslcSpin 1.5s infinite ease;
450
  }
451
 
 
 
 
 
 
452
  /**
453
  * Elements
454
  */
@@ -466,7 +490,8 @@ body.rtl .dslc-last-col {
466
  }
467
 
468
  .dslc-module-DSLC_Image .dslc-notification {
469
- font-family: 'Open Sans', sans-serif;
 
470
  }
471
 
472
  .dslc-notification .dslc-icon {
@@ -1182,9 +1207,9 @@ a img.aligncenter { display: block; margin-left: auto; margin-right: auto }
1182
  overflow: hidden;
1183
  }
1184
 
1185
- .dslc-post-filters {
1186
  float: left;
1187
- }
1188
 
1189
  }
1190
 
@@ -1217,9 +1242,9 @@ a img.aligncenter { display: block; margin-left: auto; margin-right: auto }
1217
  overflow: hidden;
1218
  }
1219
 
1220
- .dslc-post-filters {
1221
  float: left;
1222
- }
1223
  }
1224
 
1225
  /* @hack: IE10+ specific styles only.
@@ -1238,4 +1263,13 @@ a img.aligncenter { display: block; margin-left: auto; margin-right: auto }
1238
  #dslc-content .dslc-info-box-image-alt-inner {
1239
  width: 100%;
1240
  }
1241
- }
 
 
 
 
 
 
 
 
 
241
  font-weight: normal;
242
  }
243
 
244
+ .dslc-carousel-nav-prev.position-aside,
245
+ .dslc-carousel-nav-next.position-aside {
246
+ position: absolute;
247
+ top: 50%;
248
+ margin-top: -30px;
249
+ }
250
+
251
+ .dslc-carousel-nav-prev.position-aside {
252
+ left: -40px;
253
+ margin-right: 0;
254
+ }
255
+
256
+ .dslc-carousel-nav-next.position-aside {
257
+ right: -40px;
258
+ }
259
+
260
  #dslc-content .dslc-carousel .owl-pagination .owl-page span {
261
  margin: 0;
262
  filter: Alpha(Opacity=100);/*IE7 fix*/
312
 
313
 
314
  .dslca-activate-composer-hook {
315
+ background: #54c13f!important;
316
+ color: #fff!important;
317
+ border-radius: 3px!important;
318
 
319
+ position: fixed!important;
320
+ z-index: 99999!important;
321
+ right: 5px!important;
322
+ bottom: 5px!important;
323
 
324
+ cursor: pointer!important;
325
+ display: block!important;
326
+ font-size: 11px!important;
327
+
328
+ /* No custom font available at this point */
329
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif!important;
330
+
331
+ font-weight: 900!important;
332
+ line-height: 1!important;
333
+ padding: 11px 12px!important;
334
+ text-transform: uppercase!important;
335
+ text-decoration: none!important;
336
+ white-space: nowrap!important;
337
+ float: left!important;
338
+ margin-left: 5px!important;
339
  }
340
 
341
  .dslca-activate-composer-hook:hover {
342
+ background: #40D71F!important;
343
  }
344
 
345
  .dslca-activate-composer-hook:visited {
346
+ color: #fff!important;
347
  }
348
 
349
  .dslca-activate-composer-hook.dslca-position-left {
468
  animation: dslcSpin 1.5s infinite ease;
469
  }
470
 
471
+ /* Module ghost when dropped on the page. */
472
+ .dslca-module {
473
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
474
+ }
475
+
476
  /**
477
  * Elements
478
  */
490
  }
491
 
492
  .dslc-module-DSLC_Image .dslc-notification {
493
+ /* No custom font available/guaranteed at this point */
494
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
495
  }
496
 
497
  .dslc-notification .dslc-icon {
1207
  overflow: hidden;
1208
  }
1209
 
1210
+ /*.dslc-post-filters {
1211
  float: left;
1212
+ }*/
1213
 
1214
  }
1215
 
1242
  overflow: hidden;
1243
  }
1244
 
1245
+ /*.dslc-post-filters {
1246
  float: left;
1247
+ }*/
1248
  }
1249
 
1250
  /* @hack: IE10+ specific styles only.
1263
  #dslc-content .dslc-info-box-image-alt-inner {
1264
  width: 100%;
1265
  }
1266
+ }
1267
+
1268
+ /* Fixed NF */
1269
+ body #dslc-content .nf-field-container {
1270
+ margin-bottom: 0;
1271
+ }
1272
+
1273
+ body #dslc-content input:focus {
1274
+ outline: none;
1275
+ }
css/frontend/modules.css CHANGED
@@ -88,6 +88,10 @@
88
  float: left;
89
  }
90
 
 
 
 
 
91
  #dslc-content .dslc-cpt-post-meta-author a {
92
  text-decoration: none;
93
  }
@@ -96,6 +100,10 @@
96
  float: right;
97
  }
98
 
 
 
 
 
99
  #dslc-content .dslc-cpt-post-title {
100
  margin-bottom: 13px;
101
  }
@@ -228,6 +236,10 @@
228
  float: left;
229
  }
230
 
 
 
 
 
231
  #dslc-content .dslc-blog-post-meta-avatar {
232
  margin-right: 10px;
233
  width: 30px;
@@ -249,6 +261,10 @@
249
  float: right;
250
  }
251
 
 
 
 
 
252
  #dslc-content .dslc-blog-post-title {
253
  margin-bottom: 13px;
254
  }
@@ -1080,6 +1096,13 @@
1080
  border: 0px solid transparent;
1081
  }
1082
 
 
 
 
 
 
 
 
1083
  #dslc-content .dslc-testimonial {
1084
 
1085
  }
@@ -1107,17 +1130,17 @@
1107
  float: right;
1108
  }
1109
 
1110
- #dslc-content .dslc-testimonial-author-avatar {
1111
  border: 0 transparent solid;
1112
  float: left;
1113
  }
1114
 
1115
  #dslc-content .dslc-testimonial-author-avatar img {
1116
- display: block;
1117
  height: auto;
1118
  }
1119
 
1120
- #dslc-content .dslc-testimonial-author-main {
1121
  overflow: hidden;
1122
  float: left;
1123
  }
@@ -2292,4 +2315,11 @@ body.dslca-enabled .dslc-notification-box-has-timeout {
2292
  margin-left: 0 !important; /* https://github.com/live-composer/live-composer-page-builder/issues/555 */
2293
  }
2294
 
 
 
 
 
 
 
 
2295
  }
88
  float: left;
89
  }
90
 
91
+ #dslc-content .dslc-cpt-post-meta-author.above {
92
+ float: none;
93
+ }
94
+
95
  #dslc-content .dslc-cpt-post-meta-author a {
96
  text-decoration: none;
97
  }
100
  float: right;
101
  }
102
 
103
+ #dslc-content .dslc-cpt-post-meta-date.above {
104
+ float: none;
105
+ }
106
+
107
  #dslc-content .dslc-cpt-post-title {
108
  margin-bottom: 13px;
109
  }
236
  float: left;
237
  }
238
 
239
+ #dslc-content .dslc-blog-post-meta-author.above {
240
+ float: none;
241
+ }
242
+
243
  #dslc-content .dslc-blog-post-meta-avatar {
244
  margin-right: 10px;
245
  width: 30px;
261
  float: right;
262
  }
263
 
264
+ #dslc-content .dslc-blog-post-meta-date.above {
265
+ float: none;
266
+ }
267
+
268
  #dslc-content .dslc-blog-post-title {
269
  margin-bottom: 13px;
270
  }
1096
  border: 0px solid transparent;
1097
  }
1098
 
1099
+ #dslc-content .dslc-posts.dslc-carousel-arrow-aside {
1100
+ position: relative;
1101
+ width: 90%;
1102
+ margin: 0 auto;
1103
+ }
1104
+
1105
+
1106
  #dslc-content .dslc-testimonial {
1107
 
1108
  }
1130
  float: right;
1131
  }
1132
 
1133
+ #dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-avatar {
1134
  border: 0 transparent solid;
1135
  float: left;
1136
  }
1137
 
1138
  #dslc-content .dslc-testimonial-author-avatar img {
1139
+ display: inline-block;
1140
  height: auto;
1141
  }
1142
 
1143
+ #dslc-content .dslc-testimonial-avatar-aside .dslc-testimonial-author-main {
1144
  overflow: hidden;
1145
  float: left;
1146
  }
2315
  margin-left: 0 !important; /* https://github.com/live-composer/live-composer-page-builder/issues/555 */
2316
  }
2317
 
2318
+ body #dslc-content .dslc-partner-thumb {
2319
+ width: 100%;
2320
+ }
2321
+
2322
+ #dslc-content .dslc-posts.dslc-carousel-arrow-aside {
2323
+ width: 80%;
2324
+ }
2325
  }
css/wp-admin.css CHANGED
@@ -50,4 +50,9 @@
50
 
51
  #post-option-dslc_template_base {
52
  display: none;
 
 
 
 
 
53
  }
50
 
51
  #post-option-dslc_template_base {
52
  display: none;
53
+ }
54
+
55
+ /* Hide annoying notifications from other plugins on our settings page. */
56
+ .toplevel_page_dslc_plugin_options #wpcontent .wrap .updated {
57
+ display: none;
58
  }
ds-live-composer.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
6
  * Author: Live Composer Team
7
- * Version: 1.3.9
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -41,7 +41,7 @@ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) && version_compare( PHP_VERSION, '5.3.0
41
  * Constants
42
  */
43
 
44
- define( 'DS_LIVE_COMPOSER_VER', '1.3.9' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
@@ -193,6 +193,16 @@ function dslc_disable_old_plugin() {
193
  }
194
  register_activation_hook( __FILE__, 'dslc_disable_old_plugin' );
195
 
 
 
 
 
 
 
 
 
 
 
196
  /**
197
  * Function redirects to the 'Welcome Screen' on plugin activation.
198
  * Theme developers we have 'dslc_show_welcome_screen' filter for you
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
6
  * Author: Live Composer Team
7
+ * Version: 1.3.11
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
41
  * Constants
42
  */
43
 
44
+ define( 'DS_LIVE_COMPOSER_VER', '1.3.11' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
193
  }
194
  register_activation_hook( __FILE__, 'dslc_disable_old_plugin' );
195
 
196
+ function dslc_deactivate_plugin() {
197
+ // Deactivate WooCommerce Integration Plugin.
198
+ if ( defined( 'LCWOO_INTEGRATION_PLUGIN_VER' ) && version_compare( LCWOO_INTEGRATION_PLUGIN_VER, '1.2.5', '<=' ) ) {
199
+ $plugins_page_url = admin_url('plugins.php');
200
+ wp_die( 'Please, deactivate <a href="' . esc_attr( $plugins_page_url ) . '">WooCommerce integration for Live Composer</a> plugin first. <br />Sorry for this inconvenience.' );
201
+ }
202
+
203
+ }
204
+ register_deactivation_hook( __FILE__, 'dslc_deactivate_plugin' );
205
+
206
  /**
207
  * Function redirects to the 'Welcome Screen' on plugin activation.
208
  * Theme developers we have 'dslc_show_welcome_screen' filter for you
includes/ajax.php CHANGED
@@ -239,7 +239,7 @@ function dslc_ajax_display_module_options( $atts ) {
239
  $module_instance = new $module_id();
240
 
241
  // Get the module options.
242
- $module_controls = $module_instance->options();
243
 
244
  // New object for options panel.
245
  $module_options_panel = new LC_Module_Options_Panel();
239
  $module_instance = new $module_id();
240
 
241
  // Get the module options.
242
+ $module_controls = apply_filters( 'dslc_filter_module_controls', $module_instance->options() );
243
 
244
  // New object for options panel.
245
  $module_options_panel = new LC_Module_Options_Panel();
includes/class-dslc-cache.php CHANGED
@@ -14,10 +14,16 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  * Very simple HTML and CSS caching class.
15
  */
16
  class DSLC_Cache {
 
 
 
 
 
 
 
 
 
17
 
18
- private $type; // Cache for code type: html, css.
19
- private $cache;
20
- private $enabled = true; // True/False – cache enabled/disabled.
21
  /**
22
  * Here is the structure of the cache array.
23
  * _transient_lc_cache [
@@ -28,27 +34,34 @@ class DSLC_Cache {
28
  * – css
29
  * –– md5 hashtag – based on html code for the current css code.
30
  * –– md5 hashtag
 
 
31
  * ]
32
  */
33
 
34
- function __construct( $cache_type = false ) {
35
- if ( 'init' === $cache_type ) {
36
- add_action( 'save_post', array( $this, 'on_post_save' ) );
37
- add_action( 'added_post_meta', array( $this, 'on_meta_added' ), 10, 4 );
38
- } else {
39
- $this->type = $cache_type;
40
- }
41
 
42
- // If the transient does not exist, does not have a value,
43
- // or has expired, then get_transient will return false.
44
- $this->cache = get_transient( 'lc_cache' );
 
 
 
45
 
46
- $caching_engine_setting = dslc_get_option( 'lc_caching_engine', 'dslc_plugin_options_performance' );
 
 
 
47
 
48
- if ( 'disabled' === $caching_engine_setting ) {
49
- $this->enabled = false;
50
  }
51
 
 
 
 
52
  }
53
 
54
  /**
@@ -62,13 +75,16 @@ class DSLC_Cache {
62
  }
63
  }
64
 
 
 
 
 
65
  /**
66
  * Delete cached code (HTML or CSS) on page save.
67
  *
68
  * @return void
69
  */
70
  public function on_post_save( $post_id ) {
71
-
72
  /*
73
  Remove cached pages or particular post type.
74
  💂 Needs more work. Not ready for production.
@@ -82,26 +98,26 @@ class DSLC_Cache {
82
  );
83
 
84
  if ( in_array( $post_type, $post_types_reset_cache ) ) {
85
- $this->cache = array( 'html', 'css' );
86
  }
87
  */
88
 
89
  /*
90
  Remove previous version of HTML render from page cache.
91
- if ( isset( $this->cache['html'][ $post_id ] ) ) {
92
- unset( $this->cache['html'][ $post_id ] );
93
  }
94
 
95
- if ( isset( $this->cache['css'][ $post_id ] ) ) {
96
- unset( $this->cache['css'][ $post_id ] );
97
  }*/
98
 
99
  /*
100
- For now we rest all the cache after any post or page saved.
101
  This is temporary solution to have post grids and sliders to show
102
  actual information and template designs to updates properly.
103
  */
104
- $this->cache = array(
105
  'html' => array(),
106
  'css' => array(),
107
  'fonts' => array(),
@@ -115,12 +131,13 @@ class DSLC_Cache {
115
  * @return string/boolean Cached code or false if not found.
116
  */
117
  public function get_cache( $identificator = false, $cache_type = false ) {
118
- if ( $identificator && $this->cached( $identificator, $cache_type ) ) {
 
119
  if ( ! $cache_type ) {
120
  $cache_type = $this->type;
121
  }
122
 
123
- return $this->cache[ $cache_type ][ $identificator ];
124
  } else {
125
  return false;
126
  }
@@ -130,12 +147,13 @@ class DSLC_Cache {
130
  * Save cached code (HTML or CSS).
131
  */
132
  public function set_cache( $code_to_cache = false, $identificator = false, $cache_type = false ) {
133
- if ( $code_to_cache ) {
 
134
  if ( ! $cache_type ) {
135
  $cache_type = $this->type;
136
  }
137
 
138
- $this->cache[ $cache_type ][ $identificator ] = $code_to_cache;
139
  $this->update_db();
140
  }
141
  }
@@ -144,7 +162,7 @@ class DSLC_Cache {
144
  * Update code in the database.
145
  */
146
  public function update_db() {
147
- set_transient( 'lc_cache', $this->cache, 0 );
148
  }
149
 
150
  /**
@@ -157,8 +175,8 @@ class DSLC_Cache {
157
  $cache_type = $this->type;
158
  }
159
 
160
- if ( isset( $this->cache[ $cache_type ] )
161
- && isset( $this->cache[ $cache_type ][ $identificator ] ) ) {
162
  return true;
163
  } else {
164
  return false;
@@ -169,8 +187,25 @@ class DSLC_Cache {
169
  * Check if cache enabled.
170
  */
171
  public function enabled() {
172
- return $this->enabled;
173
  }
174
  }
175
 
176
- $site_cache = new DSLC_Cache( 'init' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  * Very simple HTML and CSS caching class.
15
  */
16
  class DSLC_Cache {
17
+ /**
18
+ * Properties: init, enabled and cache are defined once
19
+ * for the whole session. These properties defined based on data
20
+ * from the database and are expensite.
21
+ */
22
+ private static $init = false;
23
+ private static $enabled = true; // Cache enabled/disabled.
24
+ private static $cache;
25
+ private $type = 'html'; // Cache for code type: html (default), css, font.
26
 
 
 
 
27
  /**
28
  * Here is the structure of the cache array.
29
  * _transient_lc_cache [
34
  * – css
35
  * –– md5 hashtag – based on html code for the current css code.
36
  * –– md5 hashtag
37
+ *
38
+ * – fonts
39
  * ]
40
  */
41
 
42
+ function __construct( $cache_type = '' ) {
43
+ if ( ! self::$init ) {
44
+ $caching_engine_setting = dslc_get_option( 'lc_caching_engine', 'dslc_plugin_options_performance' );
 
 
 
 
45
 
46
+ if ( 'disabled' === $caching_engine_setting ) {
47
+ self::$enabled = false;
48
+ } else {
49
+ // Run these functions only once per session.
50
+ add_action( 'save_post', array( $this, 'on_post_save' ) );
51
+ add_action( 'added_post_meta', array( $this, 'on_meta_added' ), 10, 4 );
52
 
53
+ // If the transient does not exist, does not have a value,
54
+ // or has expired, then get_transient will return false.
55
+ self::$cache = get_transient( 'lc_cache' );
56
+ }
57
 
58
+ // Mark init as completed to not repeat it again.
59
+ self::$init = true;
60
  }
61
 
62
+ if ( $cache_type ) {
63
+ $this->type = $cache_type;
64
+ }
65
  }
66
 
67
  /**
75
  }
76
  }
77
 
78
+ public function delete_cache() {
79
+ delete_transient( 'lc_cache' );
80
+ }
81
+
82
  /**
83
  * Delete cached code (HTML or CSS) on page save.
84
  *
85
  * @return void
86
  */
87
  public function on_post_save( $post_id ) {
 
88
  /*
89
  Remove cached pages or particular post type.
90
  💂 Needs more work. Not ready for production.
98
  );
99
 
100
  if ( in_array( $post_type, $post_types_reset_cache ) ) {
101
+ self::$cache = array( 'html', 'css' );
102
  }
103
  */
104
 
105
  /*
106
  Remove previous version of HTML render from page cache.
107
+ if ( isset( self::$cache['html'][ $post_id ] ) ) {
108
+ unset( self::$cache['html'][ $post_id ] );
109
  }
110
 
111
+ if ( isset( self::$cache['css'][ $post_id ] ) ) {
112
+ unset( self::$cache['css'][ $post_id ] );
113
  }*/
114
 
115
  /*
116
+ For now we reset all the cached data after any post or page saved.
117
  This is temporary solution to have post grids and sliders to show
118
  actual information and template designs to updates properly.
119
  */
120
+ self::$cache = array(
121
  'html' => array(),
122
  'css' => array(),
123
  'fonts' => array(),
131
  * @return string/boolean Cached code or false if not found.
132
  */
133
  public function get_cache( $identificator = false, $cache_type = false ) {
134
+
135
+ if ( self::$enabled && $identificator && $this->cached( $identificator, $cache_type ) ) {
136
  if ( ! $cache_type ) {
137
  $cache_type = $this->type;
138
  }
139
 
140
+ return self::$cache[ $cache_type ][ $identificator ];
141
  } else {
142
  return false;
143
  }
147
  * Save cached code (HTML or CSS).
148
  */
149
  public function set_cache( $code_to_cache = false, $identificator = false, $cache_type = false ) {
150
+ if ( self::$enabled && $code_to_cache ) {
151
+
152
  if ( ! $cache_type ) {
153
  $cache_type = $this->type;
154
  }
155
 
156
+ self::$cache[ $cache_type ][ $identificator ] = $code_to_cache;
157
  $this->update_db();
158
  }
159
  }
162
  * Update code in the database.
163
  */
164
  public function update_db() {
165
+ set_transient( 'lc_cache', self::$cache, DAY_IN_SECONDS * 3 ); // max cache live is 3 days.
166
  }
167
 
168
  /**
175
  $cache_type = $this->type;
176
  }
177
 
178
+ if ( self::$enabled && isset( self::$cache[ $cache_type ] )
179
+ && isset( self::$cache[ $cache_type ][ $identificator ] ) ) {
180
  return true;
181
  } else {
182
  return false;
187
  * Check if cache enabled.
188
  */
189
  public function enabled() {
190
+ return self::$enabled;
191
  }
192
  }
193
 
194
+ /**
195
+ * Run cache for page rendering requests only (not cron or ajax);
196
+ * Function wp_doing_cron were introduced recently 4.8,
197
+ * so we need an aditional check for its existence.
198
+ */
199
+ if ( ( function_exists( 'wp_doing_cron' ) && ! wp_doing_cron() ) && ! wp_doing_ajax() ) {
200
+ $site_cache = new DSLC_Cache();
201
+ }
202
+
203
+ /**
204
+ * When our or any other plugin saves the settins it will be redirected
205
+ * shortly to the options.php. This is when we need to reset cache.
206
+ */
207
+ add_action( 'load-options.php', 'lbmn_reset_cache_on_settings_save' );
208
+ function lbmn_reset_cache_on_settings_save() {
209
+ $site_cache = new DSLC_Cache();
210
+ $site_cache->delete_cache();
211
+ }
includes/class.module.php CHANGED
@@ -524,6 +524,17 @@ class DSLC_Module {
524
  * Responsive Tablet
525
  */
526
 
 
 
 
 
 
 
 
 
 
 
 
527
  array(
528
  'label' => 'Filters - Font Size',
529
  'id' => 'css_res_t_filter_font_size',
@@ -602,6 +613,17 @@ class DSLC_Module {
602
  * Responsive Phone
603
  */
604
 
 
 
 
 
 
 
 
 
 
 
 
605
  array(
606
  'label' => 'Filters - Font Size',
607
  'id' => 'css_res_p_filter_font_size',
@@ -1148,6 +1170,24 @@ class DSLC_Module {
1148
  'section' => 'styling',
1149
  'tab' => 'Carousel Arrows',
1150
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1151
  array(
1152
  'label' => 'BG Color',
1153
  'id' => 'css_arrows_bg_color',
@@ -1195,7 +1235,6 @@ class DSLC_Module {
1195
  array(
1196
  'label' => 'Border Width',
1197
  'id' => 'css_arrows_border_width',
1198
-
1199
  'max' => 10,
1200
  'std' => '0',
1201
  'type' => 'slider',
@@ -1214,7 +1253,6 @@ class DSLC_Module {
1214
  'refresh_on_change' => false,
1215
  'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
1216
  'affect_on_change_rule' => 'border-radius',
1217
-
1218
  'section' => 'styling',
1219
  'tab' => 'Carousel Arrows',
1220
  'ext' => 'px',
@@ -1241,18 +1279,6 @@ class DSLC_Module {
1241
  'section' => 'styling',
1242
  'tab' => 'Carousel Arrows',
1243
  ),
1244
- array(
1245
- 'label' => 'Margin Top',
1246
- 'id' => 'css_arrows_margin_top',
1247
- 'std' => '6',
1248
- 'type' => 'slider',
1249
- 'refresh_on_change' => false,
1250
- 'affect_on_change_el' => '.dslc-carousel-nav',
1251
- 'affect_on_change_rule' => 'margin-top',
1252
- 'section' => 'styling',
1253
- 'tab' => 'Carousel Arrows',
1254
- 'ext' => 'px',
1255
- ),
1256
  array(
1257
  'label' => 'Size',
1258
  'id' => 'css_arrows_size',
@@ -1278,18 +1304,114 @@ class DSLC_Module {
1278
  'tab' => 'Carousel Arrows',
1279
  ),
1280
  array(
1281
- 'label' => 'Margin Bottom',
1282
- 'id' => 'css_arrows_margin_bottom',
1283
- 'std' => '20',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1284
  'type' => 'slider',
1285
  'refresh_on_change' => false,
1286
- 'affect_on_change_el' => '.dslc-carousel-nav',
1287
- 'affect_on_change_rule' => 'margin-bottom',
1288
  'section' => 'styling',
1289
- 'tab' => 'Carousel Arrows',
1290
  'ext' => 'px',
 
1291
  ),
1292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1293
  );
1294
 
1295
  /**
@@ -1365,6 +1487,88 @@ class DSLC_Module {
1365
  'ext' => 'px',
1366
  ),
1367
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1368
  );
1369
 
1370
  /**
@@ -1521,9 +1725,30 @@ class DSLC_Module {
1521
  'ext' => 'px',
1522
  'tab' => 'Pagination',
1523
  ),
1524
-
1525
  array(
1526
- 'label' => 'Item - BG Color',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1527
  'id' => 'css_pag_item_bg_color',
1528
  'std' => '#ffffff',
1529
  'type' => 'color',
@@ -1534,12 +1759,12 @@ class DSLC_Module {
1534
  'tab' => 'Pagination',
1535
  ),
1536
  array(
1537
- 'label' => 'Item - Active - BG Color',
1538
- 'id' => 'css_pag_item_bg_color_active',
1539
- 'std' => '#5890e5',
1540
  'type' => 'color',
1541
  'refresh_on_change' => false,
1542
- 'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
1543
  'affect_on_change_rule' => 'background-color',
1544
  'section' => 'styling',
1545
  'tab' => 'Pagination',
@@ -1555,6 +1780,17 @@ class DSLC_Module {
1555
  'section' => 'styling',
1556
  'tab' => 'Pagination',
1557
  ),
 
 
 
 
 
 
 
 
 
 
 
1558
  array(
1559
  'label' => 'Item - Active - Border Color',
1560
  'id' => 'css_pag_item_border_color_active',
@@ -1635,7 +1871,29 @@ class DSLC_Module {
1635
  'ext' => 'px',
1636
  ),
1637
  array(
1638
- 'label' => 'Item - Color',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1639
  'id' => 'css_pag_item_color',
1640
  'std' => '#979797',
1641
  'type' => 'color',
@@ -1646,12 +1904,12 @@ class DSLC_Module {
1646
  'tab' => 'Pagination',
1647
  ),
1648
  array(
1649
- 'label' => 'Item - Active - Color',
1650
- 'id' => 'css_pag_item_color_active',
1651
- 'std' => '#ffffff',
1652
  'type' => 'color',
1653
  'refresh_on_change' => false,
1654
- 'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
1655
  'affect_on_change_rule' => 'color',
1656
  'section' => 'styling',
1657
  'tab' => 'Pagination',
@@ -1782,6 +2040,226 @@ class DSLC_Module {
1782
  'ext' => 'px',
1783
  'tab' => 'Pagination',
1784
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1785
 
1786
  );
1787
 
@@ -2117,9 +2595,9 @@ class DSLC_Module {
2117
 
2118
  <?php
2119
  // If Live Composer in editing mode: output <style> block for the current module.
2120
- if ( DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
2121
 
2122
- <style type="text/css" id="css-for-dslc-module-<?php echo esc_attr( $options['module_instance_id'] ); ?>"><?php
2123
 
2124
  $options_arr = $this->options();
2125
 
@@ -2142,7 +2620,9 @@ class DSLC_Module {
2142
  // echo $dslc_css_style; // <– old method using globals.
2143
  }
2144
 
2145
- ?></style>
 
 
2146
 
2147
  <div class="dslca-module-manage">
2148
  <span class="dslca-module-manage-line"></span>
524
  * Responsive Tablet
525
  */
526
 
527
+ array(
528
+ 'label' => 'Filters - Position',
529
+ 'id' => 'css_res_t_filter_position',
530
+ 'std' => 'left',
531
+ 'type' => 'text_align',
532
+ 'refresh_on_change' => false,
533
+ 'affect_on_change_el' => '.dslc-post-filters',
534
+ 'affect_on_change_rule' => 'text-align',
535
+ 'section' => 'responsive',
536
+ 'tab' => 'Tablet',
537
+ ),
538
  array(
539
  'label' => 'Filters - Font Size',
540
  'id' => 'css_res_t_filter_font_size',
613
  * Responsive Phone
614
  */
615
 
616
+ array(
617
+ 'label' => 'Filters - Position',
618
+ 'id' => 'css_res_p_filter_position',
619
+ 'std' => 'left',
620
+ 'type' => 'text_align',
621
+ 'refresh_on_change' => false,
622
+ 'affect_on_change_el' => '.dslc-post-filters',
623
+ 'affect_on_change_rule' => 'text-align',
624
+ 'section' => 'responsive',
625
+ 'tab' => 'Phone',
626
+ ),
627
  array(
628
  'label' => 'Filters - Font Size',
629
  'id' => 'css_res_p_filter_font_size',
1170
  'section' => 'styling',
1171
  'tab' => 'Carousel Arrows',
1172
  ),
1173
+ array(
1174
+ 'label' => 'Position',
1175
+ 'id' => 'arrows_position',
1176
+ 'std' => 'above',
1177
+ 'type' => 'select',
1178
+ 'choices' => array(
1179
+ array(
1180
+ 'label' => __( 'Above', 'live-composer-page-builder' ),
1181
+ 'value' => 'above',
1182
+ ),
1183
+ array(
1184
+ 'label' => __( 'Aside', 'live-composer-page-builder' ),
1185
+ 'value' => 'aside',
1186
+ ),
1187
+ ),
1188
+ 'section' => 'styling',
1189
+ 'tab' => 'Carousel Arrows',
1190
+ ),
1191
  array(
1192
  'label' => 'BG Color',
1193
  'id' => 'css_arrows_bg_color',
1235
  array(
1236
  'label' => 'Border Width',
1237
  'id' => 'css_arrows_border_width',
 
1238
  'max' => 10,
1239
  'std' => '0',
1240
  'type' => 'slider',
1253
  'refresh_on_change' => false,
1254
  'affect_on_change_el' => '.dslc-carousel-nav-prev,.dslc-carousel-nav-next',
1255
  'affect_on_change_rule' => 'border-radius',
 
1256
  'section' => 'styling',
1257
  'tab' => 'Carousel Arrows',
1258
  'ext' => 'px',
1279
  'section' => 'styling',
1280
  'tab' => 'Carousel Arrows',
1281
  ),
 
 
 
 
 
 
 
 
 
 
 
 
1282
  array(
1283
  'label' => 'Size',
1284
  'id' => 'css_arrows_size',
1304
  'tab' => 'Carousel Arrows',
1305
  ),
1306
  array(
1307
+ 'label' => __( 'Margin ( Wrapper ) - Above', 'live-composer-page-builder' ),
1308
+ 'id' => 'css_arrows_margin_group',
1309
+ 'type' => 'group',
1310
+ 'action' => 'open',
1311
+ 'section' => 'styling',
1312
+ 'tab' => 'Carousel Arrows',
1313
+ ),
1314
+ array(
1315
+ 'label' => 'Top',
1316
+ 'id' => 'css_arrows_margin_top',
1317
+ 'std' => '6',
1318
+ 'type' => 'slider',
1319
+ 'refresh_on_change' => false,
1320
+ 'affect_on_change_el' => '.dslc-carousel-nav',
1321
+ 'affect_on_change_rule' => 'margin-top',
1322
+ 'section' => 'styling',
1323
+ 'tab' => 'Carousel Arrows',
1324
+ 'ext' => 'px',
1325
+ ),
1326
+ array(
1327
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
1328
+ 'id' => 'css_arrows_margin_right',
1329
+ 'std' => '0',
1330
+ 'type' => 'slider',
1331
+ 'refresh_on_change' => false,
1332
+ 'affect_on_change_el' => '.dslc-carousel-nav',
1333
+ 'affect_on_change_rule' => 'margin-right',
1334
+ 'section' => 'styling',
1335
+ 'tab' => 'Carousel Arrows',
1336
+ 'ext' => 'px',
1337
+ ),
1338
+ array(
1339
+ 'label' => 'Bottom',
1340
+ 'id' => 'css_arrows_margin_bottom',
1341
+ 'std' => '20',
1342
+ 'type' => 'slider',
1343
+ 'refresh_on_change' => false,
1344
+ 'affect_on_change_el' => '.dslc-carousel-nav',
1345
+ 'affect_on_change_rule' => 'margin-bottom',
1346
+ 'section' => 'styling',
1347
+ 'tab' => 'Carousel Arrows',
1348
+ 'ext' => 'px',
1349
+ ),
1350
+ array(
1351
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
1352
+ 'id' => 'css_arrows_margint_left',
1353
+ 'std' => '0',
1354
+ 'type' => 'slider',
1355
+ 'refresh_on_change' => false,
1356
+ 'affect_on_change_el' => '.dslc-carousel-nav',
1357
+ 'affect_on_change_rule' => 'margin-left',
1358
+ 'section' => 'styling',
1359
+ 'tab' => 'Carousel Arrows',
1360
+ 'ext' => 'px',
1361
+ ),
1362
+ array(
1363
+ 'id' => 'css_arrows_margin_group',
1364
+ 'type' => 'group',
1365
+ 'action' => 'close',
1366
+ 'section' => 'styling',
1367
+ 'tab' => 'Carousel Arrows',
1368
+ ),
1369
+ array(
1370
+ 'label' => 'Margin Top ( Aside )',
1371
+ 'id' => 'css_arrows_aside_margin_top',
1372
+ 'std' => '-30',
1373
  'type' => 'slider',
1374
  'refresh_on_change' => false,
1375
+ 'affect_on_change_el' => '.dslc-carousel-nav-prev.position-aside, .dslc-carousel-nav-next.position-aside',
1376
+ 'affect_on_change_rule' => 'margin-top',
1377
  'section' => 'styling',
 
1378
  'ext' => 'px',
1379
+ 'tab' => __( 'Carousel Arrows', 'live-composer-page-builder' ),
1380
  ),
1381
 
1382
+ /**
1383
+ * Responsive Tablet
1384
+ */
1385
+
1386
+ array(
1387
+ 'label' => 'Arrows - Margin Top ( Aside )',
1388
+ 'id' => 'css_res_t_arrows_aside_margin_top',
1389
+ 'std' => '-20',
1390
+ 'type' => 'slider',
1391
+ 'refresh_on_change' => false,
1392
+ 'affect_on_change_el' => '.dslc-carousel-nav-prev.position-aside, .dslc-carousel-nav-next.position-aside',
1393
+ 'affect_on_change_rule' => 'margin-top',
1394
+ 'section' => 'responsive',
1395
+ 'tab' => 'Tablet',
1396
+ 'ext' => 'px',
1397
+ ),
1398
+
1399
+ /**
1400
+ * Responsive Tablet
1401
+ */
1402
+
1403
+ array(
1404
+ 'label' => 'Arrows - Margin Top ( Aside )',
1405
+ 'id' => 'css_res_p_arrows_aside_margin_top',
1406
+ 'std' => '-20',
1407
+ 'type' => 'slider',
1408
+ 'refresh_on_change' => false,
1409
+ 'affect_on_change_el' => '.dslc-carousel-nav-prev.position-aside, .dslc-carousel-nav-next.position-aside',
1410
+ 'affect_on_change_rule' => 'margin-top',
1411
+ 'section' => 'responsive',
1412
+ 'tab' => 'Phone',
1413
+ 'ext' => 'px',
1414
+ ),
1415
  );
1416
 
1417
  /**
1487
  'ext' => 'px',
1488
  ),
1489
 
1490
+ /**
1491
+ * Responsive Tablet
1492
+ */
1493
+
1494
+ array(
1495
+ 'label' => 'Carousel Circles - Margin Top',
1496
+ 'id' => 'css_res_t_circles_margin_top',
1497
+ 'std' => '20',
1498
+ 'type' => 'slider',
1499
+ 'refresh_on_change' => false,
1500
+ 'affect_on_change_el' => '.owl-controls',
1501
+ 'affect_on_change_rule' => 'margin-top',
1502
+ 'section' => 'responsive',
1503
+ 'tab' => 'Tablet',
1504
+ 'ext' => 'px',
1505
+ ),
1506
+ array(
1507
+ 'label' => 'Carousel Circles - Size',
1508
+ 'id' => 'css_res_t_circles_size',
1509
+ 'std' => '7',
1510
+ 'type' => 'slider',
1511
+ 'refresh_on_change' => false,
1512
+ 'affect_on_change_el' => '.owl-pagination .owl-page span',
1513
+ 'affect_on_change_rule' => 'width,height',
1514
+ 'section' => 'responsive',
1515
+ 'tab' => 'Tablet',
1516
+ 'ext' => 'px',
1517
+ ),
1518
+ array(
1519
+ 'label' => 'Carousel Circles - Spacing',
1520
+ 'id' => 'css_res_t_circles_spacing',
1521
+ 'std' => '3',
1522
+ 'type' => 'slider',
1523
+ 'refresh_on_change' => false,
1524
+ 'affect_on_change_el' => '.owl-pagination .owl-page',
1525
+ 'affect_on_change_rule' => 'margin-left,margin-right',
1526
+ 'section' => 'responsive',
1527
+ 'tab' => 'Tablet',
1528
+ 'ext' => 'px',
1529
+ ),
1530
+
1531
+ /**
1532
+ * Responsive Phone
1533
+ */
1534
+
1535
+ array(
1536
+ 'label' => 'Carousel Circles - Margin Top',
1537
+ 'id' => 'css_res_p_circles_margin_top',
1538
+ 'std' => '20',
1539
+ 'type' => 'slider',
1540
+ 'refresh_on_change' => false,
1541
+ 'affect_on_change_el' => '.owl-controls',
1542
+ 'affect_on_change_rule' => 'margin-top',
1543
+ 'section' => 'responsive',
1544
+ 'tab' => 'Phone',
1545
+ 'ext' => 'px',
1546
+ ),
1547
+ array(
1548
+ 'label' => 'Carousel Circles - Size',
1549
+ 'id' => 'css_res_p_circles_size',
1550
+ 'std' => '7',
1551
+ 'type' => 'slider',
1552
+ 'refresh_on_change' => false,
1553
+ 'affect_on_change_el' => '.owl-pagination .owl-page span',
1554
+ 'affect_on_change_rule' => 'width,height',
1555
+ 'section' => 'responsive',
1556
+ 'tab' => 'Phone',
1557
+ 'ext' => 'px',
1558
+ ),
1559
+ array(
1560
+ 'label' => 'Carousel Circles - Spacing',
1561
+ 'id' => 'css_res_p_circles_spacing',
1562
+ 'std' => '3',
1563
+ 'type' => 'slider',
1564
+ 'refresh_on_change' => false,
1565
+ 'affect_on_change_el' => '.owl-pagination .owl-page',
1566
+ 'affect_on_change_rule' => 'margin-left,margin-right',
1567
+ 'section' => 'responsive',
1568
+ 'tab' => 'Phone',
1569
+ 'ext' => 'px',
1570
+ ),
1571
+
1572
  );
1573
 
1574
  /**
1725
  'ext' => 'px',
1726
  'tab' => 'Pagination',
1727
  ),
 
1728
  array(
1729
+ 'label' => 'Item - Active - BG Color',
1730
+ 'id' => 'css_pag_item_bg_color_active',
1731
+ 'std' => '#5890e5',
1732
+ 'type' => 'color',
1733
+ 'refresh_on_change' => false,
1734
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
1735
+ 'affect_on_change_rule' => 'background-color',
1736
+ 'section' => 'styling',
1737
+ 'tab' => 'Pagination',
1738
+ ),
1739
+ array(
1740
+ 'label' => 'Item - Active: Hover - BG Color',
1741
+ 'id' => 'css_pag_item_bg_color_active_hover',
1742
+ 'std' => '#ffffff',
1743
+ 'type' => 'color',
1744
+ 'refresh_on_change' => false,
1745
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-active a:hover',
1746
+ 'affect_on_change_rule' => 'background-color',
1747
+ 'section' => 'styling',
1748
+ 'tab' => 'Pagination',
1749
+ ),
1750
+ array(
1751
+ 'label' => 'Item - Inactive - BG Color',
1752
  'id' => 'css_pag_item_bg_color',
1753
  'std' => '#ffffff',
1754
  'type' => 'color',
1759
  'tab' => 'Pagination',
1760
  ),
1761
  array(
1762
+ 'label' => 'Item - Inactive: Hover - BG Color',
1763
+ 'id' => 'css_pag_item_bg_color_inactive_hover',
1764
+ 'std' => '#ffffff',
1765
  'type' => 'color',
1766
  'refresh_on_change' => false,
1767
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a:hover',
1768
  'affect_on_change_rule' => 'background-color',
1769
  'section' => 'styling',
1770
  'tab' => 'Pagination',
1780
  'section' => 'styling',
1781
  'tab' => 'Pagination',
1782
  ),
1783
+ array(
1784
+ 'label' => 'Item - Hover - Border Color',
1785
+ 'id' => 'css_pag_item_border_color_hover',
1786
+ 'std' => '#e8e8e8',
1787
+ 'type' => 'color',
1788
+ 'refresh_on_change' => false,
1789
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-active a:hover',
1790
+ 'affect_on_change_rule' => 'border-color',
1791
+ 'section' => 'styling',
1792
+ 'tab' => 'Pagination',
1793
+ ),
1794
  array(
1795
  'label' => 'Item - Active - Border Color',
1796
  'id' => 'css_pag_item_border_color_active',
1871
  'ext' => 'px',
1872
  ),
1873
  array(
1874
+ 'label' => 'Item - Active - Color',
1875
+ 'id' => 'css_pag_item_color_active',
1876
+ 'std' => '#ffffff',
1877
+ 'type' => 'color',
1878
+ 'refresh_on_change' => false,
1879
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-active a',
1880
+ 'affect_on_change_rule' => 'color',
1881
+ 'section' => 'styling',
1882
+ 'tab' => 'Pagination',
1883
+ ),
1884
+ array(
1885
+ 'label' => 'Item - Active: Hover - Color',
1886
+ 'id' => 'css_pag_item_color_hover',
1887
+ 'std' => '#979797',
1888
+ 'type' => 'color',
1889
+ 'refresh_on_change' => false,
1890
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-active a:hover',
1891
+ 'affect_on_change_rule' => 'color',
1892
+ 'section' => 'styling',
1893
+ 'tab' => 'Pagination',
1894
+ ),
1895
+ array(
1896
+ 'label' => 'Item - Inactive - Color',
1897
  'id' => 'css_pag_item_color',
1898
  'std' => '#979797',
1899
  'type' => 'color',
1904
  'tab' => 'Pagination',
1905
  ),
1906
  array(
1907
+ 'label' => 'Item - Inactive: Hover - Color',
1908
+ 'id' => 'css_pag_item_color_inactive_hover',
1909
+ 'std' => '#979797',
1910
  'type' => 'color',
1911
  'refresh_on_change' => false,
1912
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-inactive a:hover',
1913
  'affect_on_change_rule' => 'color',
1914
  'section' => 'styling',
1915
  'tab' => 'Pagination',
2040
  'ext' => 'px',
2041
  'tab' => 'Pagination',
2042
  ),
2043
+ array(
2044
+ 'label' => __( 'Button - Width', 'live-composer-page-builder' ),
2045
+ 'id' => 'css_pag_button_width',
2046
+ 'std' => 'inline-block',
2047
+ 'type' => 'select',
2048
+ 'choices' => array(
2049
+ array(
2050
+ 'label' => __( 'Automatic', 'live-composer-page-builder' ),
2051
+ 'value' => 'inline-block',
2052
+ ),
2053
+ array(
2054
+ 'label' => __( 'Full Width', 'live-composer-page-builder' ),
2055
+ 'value' => 'block',
2056
+ ),
2057
+ ),
2058
+ 'refresh_on_change' => false,
2059
+ 'affect_on_change_el' => '.dslc-pagination li.dslc-pagination-load-more',
2060
+ 'affect_on_change_rule' => 'display',
2061
+ 'section' => 'styling',
2062
+ 'tab' => 'Pagination',
2063
+ ),
2064
+ array(
2065
+ 'label' => __( 'Margin', 'live-composer-page-builder' ),
2066
+ 'id' => 'css_pag_margin_group',
2067
+ 'type' => 'group',
2068
+ 'action' => 'open',
2069
+ 'section' => 'styling',
2070
+ 'tab' => __( 'Pagination', 'live-composer-page-builder' ),
2071
+ ),
2072
+ array(
2073
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2074
+ 'id' => 'css_pag_margin_top',
2075
+ 'std' => '30',
2076
+ 'type' => 'slider',
2077
+ 'refresh_on_change' => false,
2078
+ 'affect_on_change_el' => '.dslc-pagination',
2079
+ 'affect_on_change_rule' => 'margin-top',
2080
+ 'section' => 'styling',
2081
+ 'ext' => 'px',
2082
+ 'tab' => __( 'Pagination', 'live-composer-page-builder' ),
2083
+ ),
2084
+ array(
2085
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2086
+ 'id' => 'css_pag_margin_right',
2087
+ 'std' => '0',
2088
+ 'type' => 'slider',
2089
+ 'refresh_on_change' => false,
2090
+ 'affect_on_change_el' => '.dslc-pagination',
2091
+ 'affect_on_change_rule' => 'margin-right',
2092
+ 'section' => 'styling',
2093
+ 'ext' => 'px',
2094
+ 'tab' => __( 'Pagination', 'live-composer-page-builder' ),
2095
+ ),
2096
+ array(
2097
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2098
+ 'id' => 'css_pag_margin_bottom',
2099
+ 'std' => '0',
2100
+ 'type' => 'slider',
2101
+ 'refresh_on_change' => false,
2102
+ 'affect_on_change_el' => '.dslc-pagination',
2103
+ 'affect_on_change_rule' => 'margin-bottom',
2104
+ 'section' => 'styling',
2105
+ 'ext' => 'px',
2106
+ 'tab' => __( 'Pagination', 'live-composer-page-builder' ),
2107
+ ),
2108
+ array(
2109
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2110
+ 'id' => 'css_pag_margin_left',
2111
+ 'std' => '0',
2112
+ 'type' => 'slider',
2113
+ 'refresh_on_change' => false,
2114
+ 'affect_on_change_el' => '.dslc-pagination',
2115
+ 'affect_on_change_rule' => 'margin-left',
2116
+ 'section' => 'styling',
2117
+ 'ext' => 'px',
2118
+ 'tab' => __( 'Pagination', 'live-composer-page-builder' ),
2119
+ ),
2120
+ array(
2121
+ 'id' => 'css_pag_margin_group',
2122
+ 'type' => 'group',
2123
+ 'action' => 'close',
2124
+ 'section' => 'styling',
2125
+ 'tab' => __( 'Pagination', 'live-composer-page-builder' ),
2126
+ ),
2127
+
2128
+ /**
2129
+ * Responsive Tablet
2130
+ */
2131
+
2132
+ array(
2133
+ 'label' => __( 'Pagination - Margin', 'live-composer-page-builder' ),
2134
+ 'id' => 'css_res_t_pag_margin_group',
2135
+ 'type' => 'group',
2136
+ 'action' => 'open',
2137
+ 'section' => 'responsive',
2138
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2139
+ ),
2140
+ array(
2141
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2142
+ 'id' => 'css_res_t_pag_margin_top',
2143
+ 'std' => '30',
2144
+ 'type' => 'slider',
2145
+ 'refresh_on_change' => false,
2146
+ 'affect_on_change_el' => '.dslc-pagination',
2147
+ 'affect_on_change_rule' => 'margin-top',
2148
+ 'section' => 'responsive',
2149
+ 'ext' => 'px',
2150
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2151
+ ),
2152
+ array(
2153
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2154
+ 'id' => 'css_res_t_pag_margin_right',
2155
+ 'std' => '0',
2156
+ 'type' => 'slider',
2157
+ 'refresh_on_change' => false,
2158
+ 'affect_on_change_el' => '.dslc-pagination',
2159
+ 'affect_on_change_rule' => 'margin-right',
2160
+ 'section' => 'responsive',
2161
+ 'ext' => 'px',
2162
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2163
+ ),
2164
+ array(
2165
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2166
+ 'id' => 'css_res_t_pag_margin_bottom',
2167
+ 'std' => '0',
2168
+ 'type' => 'slider',
2169
+ 'refresh_on_change' => false,
2170
+ 'affect_on_change_el' => '.dslc-pagination',
2171
+ 'affect_on_change_rule' => 'margin-bottom',
2172
+ 'section' => 'responsive',
2173
+ 'ext' => 'px',
2174
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2175
+ ),
2176
+ array(
2177
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2178
+ 'id' => 'css_res_t_pag_margin_left',
2179
+ 'std' => '0',
2180
+ 'type' => 'slider',
2181
+ 'refresh_on_change' => false,
2182
+ 'affect_on_change_el' => '.dslc-pagination',
2183
+ 'affect_on_change_rule' => 'margin-left',
2184
+ 'section' => 'responsive',
2185
+ 'ext' => 'px',
2186
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2187
+ ),
2188
+ array(
2189
+ 'id' => 'css_res_t_pag_margin_group',
2190
+ 'type' => 'group',
2191
+ 'action' => 'close',
2192
+ 'section' => 'responsive',
2193
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2194
+ ),
2195
+
2196
+ /**
2197
+ * Responsive Phone
2198
+ */
2199
+
2200
+ array(
2201
+ 'label' => __( 'Pagination - Margin', 'live-composer-page-builder' ),
2202
+ 'id' => 'css_res_p_pag_margin_group',
2203
+ 'type' => 'group',
2204
+ 'action' => 'open',
2205
+ 'section' => 'responsive',
2206
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2207
+ ),
2208
+ array(
2209
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2210
+ 'id' => 'css_res_p_pag_margin_top',
2211
+ 'std' => '30',
2212
+ 'type' => 'slider',
2213
+ 'refresh_on_change' => false,
2214
+ 'affect_on_change_el' => '.dslc-pagination',
2215
+ 'affect_on_change_rule' => 'margin-top',
2216
+ 'section' => 'responsive',
2217
+ 'ext' => 'px',
2218
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2219
+ ),
2220
+ array(
2221
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2222
+ 'id' => 'css_res_p_pag_margin_right',
2223
+ 'std' => '0',
2224
+ 'type' => 'slider',
2225
+ 'refresh_on_change' => false,
2226
+ 'affect_on_change_el' => '.dslc-pagination',
2227
+ 'affect_on_change_rule' => 'margin-right',
2228
+ 'section' => 'responsive',
2229
+ 'ext' => 'px',
2230
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2231
+ ),
2232
+ array(
2233
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2234
+ 'id' => 'css_res_p_pag_margin_bottom',
2235
+ 'std' => '0',
2236
+ 'type' => 'slider',
2237
+ 'refresh_on_change' => false,
2238
+ 'affect_on_change_el' => '.dslc-pagination',
2239
+ 'affect_on_change_rule' => 'margin-bottom',
2240
+ 'section' => 'responsive',
2241
+ 'ext' => 'px',
2242
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2243
+ ),
2244
+ array(
2245
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2246
+ 'id' => 'css_res_p_pag_margin_left',
2247
+ 'std' => '0',
2248
+ 'type' => 'slider',
2249
+ 'refresh_on_change' => false,
2250
+ 'affect_on_change_el' => '.dslc-pagination',
2251
+ 'affect_on_change_rule' => 'margin-left',
2252
+ 'section' => 'responsive',
2253
+ 'ext' => 'px',
2254
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2255
+ ),
2256
+ array(
2257
+ 'id' => 'css_res_p_pag_margin_group',
2258
+ 'type' => 'group',
2259
+ 'action' => 'close',
2260
+ 'section' => 'responsive',
2261
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2262
+ ),
2263
 
2264
  );
2265
 
2595
 
2596
  <?php
2597
  // If Live Composer in editing mode: output <style> block for the current module.
2598
+ if ( DS_LIVE_COMPOSER_ACTIVE && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
2599
 
2600
+ echo '<style type="text/css" id="css-for-dslc-module-' . esc_attr( $options['module_instance_id'] ) . '">';
2601
 
2602
  $options_arr = $this->options();
2603
 
2620
  // echo $dslc_css_style; // <– old method using globals.
2621
  }
2622
 
2623
+ echo '</style>';
2624
+
2625
+ ?>
2626
 
2627
  <div class="dslca-module-manage">
2628
  <span class="dslca-module-manage-line"></span>
includes/css-generation.php CHANGED
@@ -245,6 +245,7 @@ function dslc_custom_css( $dslc_code = '' ) {
245
  if ( ! empty( $google_fonts ) ) {
246
  $fonts_to_output = array_merge( $fonts_to_output, $google_fonts );
247
  }
 
248
  $cache->set_cache( $google_fonts, $cache_id, 'fonts' );
249
  $dslc_googlefonts_array = array(); // Reset temporary fonts storage.
250
  }
@@ -549,6 +550,10 @@ function dslc_generate_module_css( $module_structure, $module_settings, $restart
549
  $module_settings = dslc_code_migration( $module_settings );
550
  }
551
 
 
 
 
 
552
  $css_output = '';
553
  global $dslc_googlefonts_array;
554
  $regular_fonts = array( 'Georgia', 'Times', 'Arial', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Helvetica' );
@@ -574,7 +579,8 @@ function dslc_generate_module_css( $module_structure, $module_settings, $restart
574
  $dslc_css_style = '';
575
  }
576
 
577
- // Go through array of options.
 
578
  foreach ( $module_structure as $option_arr ) {
579
 
580
  $option_id = $option_arr['id'];
@@ -837,7 +843,8 @@ function dslc_generate_module_css( $module_structure, $module_settings, $restart
837
  // Remove border-style property if width isn't set or is set to 0px.
838
  // This rule fixes bugs with extra borders on text/shortcode elements.
839
  if ( isset( $css_declaration_borders['border-style'] ) && 'none' !== $css_declaration_borders['border-style'] ) {
840
- if ( empty( $css_declaration_borders['border-width'] ) || '0px' === $css_declaration_borders['border-width'] ) {
 
841
  unset( $css_declaration_borders['border-style'] );
842
  }
843
  }
245
  if ( ! empty( $google_fonts ) ) {
246
  $fonts_to_output = array_merge( $fonts_to_output, $google_fonts );
247
  }
248
+
249
  $cache->set_cache( $google_fonts, $cache_id, 'fonts' );
250
  $dslc_googlefonts_array = array(); // Reset temporary fonts storage.
251
  }
550
  $module_settings = dslc_code_migration( $module_settings );
551
  }
552
 
553
+ // Allow third-party developers to change any module setting before CSS generation.
554
+ $module_settings = apply_filters( 'dslc_module_settings_before_cssgen', $module_settings );
555
+ $module_structure = apply_filters( 'dslc_module_structure_before_cssgen', $module_structure );
556
+
557
  $css_output = '';
558
  global $dslc_googlefonts_array;
559
  $regular_fonts = array( 'Georgia', 'Times', 'Arial', 'Lucida Sans Unicode', 'Tahoma', 'Trebuchet MS', 'Verdana', 'Helvetica' );
579
  $dslc_css_style = '';
580
  }
581
 
582
+ // Go through array of options to compose array of css rules.
583
+ // Transform module options into css rulles.
584
  foreach ( $module_structure as $option_arr ) {
585
 
586
  $option_id = $option_arr['id'];
843
  // Remove border-style property if width isn't set or is set to 0px.
844
  // This rule fixes bugs with extra borders on text/shortcode elements.
845
  if ( isset( $css_declaration_borders['border-style'] ) && 'none' !== $css_declaration_borders['border-style'] ) {
846
+
847
+ if ( ( empty( $css_declaration_borders['border-width'] ) || '0px' === $css_declaration_borders['border-width'] ) && ! isset( $css_declaration_borders['border-bottom-width'] ) ) {
848
  unset( $css_declaration_borders['border-style'] );
849
  }
850
  }
includes/display-functions.php CHANGED
@@ -113,11 +113,11 @@ function dslc_display_composer() {
113
  </a><!-- .dslca-save-draft-composer -->
114
 
115
  <!-- Hide/Show -->
116
- <a href="#" class="dslca-show-composer-hook"><span class="dslca-icon dslc-icon-arrow-up"></span><?php _e( 'Show Editor', 'live-composer-page-builder' ); ?></a>
117
- <a href="#" class="dslca-hide-composer-hook"><span class="dslca-icon dslc-icon-arrow-down"></span><?php _e( 'Hide Editor', 'live-composer-page-builder' ); ?></a>
118
 
119
  <!-- Disable -->
120
- <a href="<?php echo $link; ?>" class="dslca-close-composer-hook"><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'Disable Editor', 'live-composer-page-builder' ); ?></a>
121
 
122
  <div class="dslc-clear"></div>
123
 
@@ -345,10 +345,10 @@ function dslc_display_composer() {
345
  <div class="dslca-pseudo-actions">
346
 
347
  <!-- Hide/Show -->
348
- <a href="#" class="dslca-pseudo-hide-composer-hook"><span class="dslca-icon dslc-icon-arrow-down"></span>Hide Editor</a>
349
 
350
  <!-- Disable -->
351
- <a href="#" class="dslca-pseudo-close-composer-hook"><span class="dslca-icon dslc-icon-remove"></span>Disable Editor</a>
352
 
353
  <div class="dslc-clear"></div>
354
 
@@ -466,11 +466,9 @@ function dslc_display_modules( $page_id ) {
466
  $module_non_active = '';
467
  }
468
 
469
- ?>
470
- <div class="dslca-module dslca-scroller-item dslca-origin dslca-origin-<?php echo esc_attr( $dslc_module['origin'] ); ?> <?php if ( isset( $dslc_module['exclude'] ) ) { echo 'dslca-exclude'; } ?> <?php echo $module_non_active; ?>" data-origin="<?php echo esc_attr( $dslc_module['origin'] ); ?>" data-id="<?php echo esc_attr( $dslc_module['id'] ); ?>">
471
  <span class="dslca-icon dslc-icon-<?php echo esc_attr( $dslc_module['icon'] ); ?>"></span><span class="dslca-module-title"><?php echo esc_html( $dslc_module['title'] ); ?></span>
472
- </div><!-- .dslc-module -->
473
- <?php
474
 
475
  }
476
  } else {
@@ -544,39 +542,7 @@ function dslc_filter_content( $content ) {
544
  // Get ID of the post in which the content filter fired.
545
  $curr_id = get_the_ID();
546
 
547
- if ( is_category() ) {
548
- $categories = get_the_category();
549
- $curr_id = $categories[0]->cat_ID;
550
- }
551
-
552
- if ( is_tag() ) {
553
- $tags = get_the_tags();
554
- $curr_id = $tags[0]->term_id;
555
- }
556
-
557
- if ( is_search() ) {
558
-
559
- $args = array(
560
- 'post_type' => 'dslc_templates',
561
- 'meta_query' => array(
562
- array(
563
- 'key' => 'dslc_template_for',
564
- 'value' => 'search_results',
565
- ),
566
- array(
567
- 'key' => 'dslc_template_type',
568
- 'value' => 'default',
569
- ),
570
- ),
571
- );
572
-
573
- $query = get_posts( $args );
574
-
575
- $template_search = $query[0];
576
- $curr_id = $template_search->ID;
577
- }
578
-
579
- // If post pass protected and pass not supplied return original content
580
  if ( post_password_required( $curr_id ) ) {
581
  return $content;
582
  }
@@ -584,12 +550,24 @@ function dslc_filter_content( $content ) {
584
  // Initiate simple html rendering cache.
585
  $cache = new DSLC_Cache( 'html' );
586
  $cache_id = $curr_id;
 
 
 
 
 
 
 
 
 
 
 
587
 
588
  // Check if we have html for this code cached?
589
  if ( ! dslc_is_editor_active() && $cache->enabled() && $cache->cached( $cache_id ) ) {
590
  // Check if any dynamic content included before caching.
591
  $cached_page_html = $cache->get_cache( $cache_id );
592
- return do_shortcode( $cached_page_html );
 
593
  }
594
 
595
  // Global variables.
@@ -732,12 +710,12 @@ function dslc_filter_content( $content ) {
732
  </div>';
733
  }
734
 
735
- if ( $composer_code || $template_code ) {
736
  // If there is LC code to add to the content output.
737
  // Turn the LC code into HTML code.
738
  $composer_content = dslc_render_content( $composer_code );
739
 
740
- } elseif ( $composer_header || $composer_footer ) {
741
  // If there is header or footer LC code to add to the content output.
742
  // If editor not active.
743
  if ( ! dslc_is_editor_active() ) {
@@ -746,7 +724,8 @@ function dslc_filter_content( $content ) {
746
  $cache->set_cache( $rendered_header_footer, $cache_id );
747
 
748
  // Pass the LC header, regular content and LC footer
749
- return do_shortcode( $rendered_header_footer );
 
750
  }
751
  } else {
752
 
@@ -782,7 +761,8 @@ function dslc_filter_content( $content ) {
782
  $cache->set_cache( $rendered_page, $cache_id );
783
  }
784
 
785
- return do_shortcode( $rendered_page );
 
786
 
787
  } else {
788
  // If LC should not filter the content (full content posts output in the blog/posts modules ).
@@ -989,7 +969,7 @@ function dslc_json_decode( $raw_code, $ignore_migration = false ) {
989
  // Add a marker indicating that this module
990
  // was imported from shortcode format.
991
  if ( is_array( $decoded ) ) {
992
- $decoded['code_version'] = 1;
993
  }
994
 
995
  // Preset is always being stored in base64 format,
113
  </a><!-- .dslca-save-draft-composer -->
114
 
115
  <!-- Hide/Show -->
116
+ <a href="#" class="dslca-show-composer-hook"><span class="dslca-icon dslc-icon-arrow-up"></span><?php _e( 'Show', 'live-composer-page-builder' ); ?></a>
117
+ <a href="#" class="dslca-hide-composer-hook"><span class="dslca-icon dslc-icon-arrow-down"></span><?php _e( 'Hide', 'live-composer-page-builder' ); ?></a>
118
 
119
  <!-- Disable -->
120
+ <a href="<?php echo esc_attr( $link ); ?>" class="dslca-close-composer-hook"><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'Close', 'live-composer-page-builder' ); ?></a>
121
 
122
  <div class="dslc-clear"></div>
123
 
345
  <div class="dslca-pseudo-actions">
346
 
347
  <!-- Hide/Show -->
348
+ <a href="#" class="dslca-pseudo-hide-composer-hook"><span class="dslca-icon dslc-icon-arrow-down"></span>Hide</a>
349
 
350
  <!-- Disable -->
351
+ <a href="#" class="dslca-pseudo-close-composer-hook"><span class="dslca-icon dslc-icon-remove"></span>Close</a>
352
 
353
  <div class="dslc-clear"></div>
354
 
466
  $module_non_active = '';
467
  }
468
 
469
+ ?><div class="dslca-module dslca-scroller-item dslca-origin dslca-origin-<?php echo esc_attr( $dslc_module['origin'] ); ?> <?php if ( isset( $dslc_module['exclude'] ) ) { echo 'dslca-exclude'; } ?> <?php echo $module_non_active; ?>" data-origin="<?php echo esc_attr( $dslc_module['origin'] ); ?>" data-id="<?php echo esc_attr( $dslc_module['id'] ); ?>">
 
470
  <span class="dslca-icon dslc-icon-<?php echo esc_attr( $dslc_module['icon'] ); ?>"></span><span class="dslca-module-title"><?php echo esc_html( $dslc_module['title'] ); ?></span>
471
+ </div><?php
 
472
 
473
  }
474
  } else {
542
  // Get ID of the post in which the content filter fired.
543
  $curr_id = get_the_ID();
544
 
545
+ // If post pass protected and pass not supplied return original content.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
546
  if ( post_password_required( $curr_id ) ) {
547
  return $content;
548
  }
550
  // Initiate simple html rendering cache.
551
  $cache = new DSLC_Cache( 'html' );
552
  $cache_id = $curr_id;
553
+
554
+ if ( is_archive() ) {
555
+ $post_type_slug = get_post_type();
556
+ $template_id = dslc_get_archive_template_by_pt( $post_type_slug );
557
+ $cache_id = $template_id;
558
+ }
559
+
560
+ if ( is_search() ) {
561
+ $template_id = dslc_get_option( 'search_results', 'dslc_plugin_options_archives' );
562
+ $cache_id = $template_id;
563
+ }
564
 
565
  // Check if we have html for this code cached?
566
  if ( ! dslc_is_editor_active() && $cache->enabled() && $cache->cached( $cache_id ) ) {
567
  // Check if any dynamic content included before caching.
568
  $cached_page_html = $cache->get_cache( $cache_id );
569
+ // We need double do_shortcode as our module shortcodes can contain encoded 3-rd party shortcodes.
570
+ return do_shortcode( do_shortcode( $cached_page_html ) );
571
  }
572
 
573
  // Global variables.
710
  </div>';
711
  }
712
 
713
+ if ( ! empty( $composer_code ) || ! empty( $template_code ) ) {
714
  // If there is LC code to add to the content output.
715
  // Turn the LC code into HTML code.
716
  $composer_content = dslc_render_content( $composer_code );
717
 
718
+ } elseif ( ! empty( $composer_header ) || ! empty( $composer_footer ) ) {
719
  // If there is header or footer LC code to add to the content output.
720
  // If editor not active.
721
  if ( ! dslc_is_editor_active() ) {
724
  $cache->set_cache( $rendered_header_footer, $cache_id );
725
 
726
  // Pass the LC header, regular content and LC footer
727
+ // We need double do_shortcode as our module shortcodes can contain encoded 3-rd party shortcodes.
728
+ return do_shortcode( do_shortcode( $rendered_header_footer ) );
729
  }
730
  } else {
731
 
761
  $cache->set_cache( $rendered_page, $cache_id );
762
  }
763
 
764
+ // We need double do_shortcode as our module shortcodes can contain encoded 3-rd party shortcodes.
765
+ return do_shortcode( do_shortcode( $rendered_page ) );
766
 
767
  } else {
768
  // If LC should not filter the content (full content posts output in the blog/posts modules ).
969
  // Add a marker indicating that this module
970
  // was imported from shortcode format.
971
  if ( is_array( $decoded ) ) {
972
+ $decoded['code_version'] = 1;
973
  }
974
 
975
  // Preset is always being stored in base64 format,
includes/editing-screen.php CHANGED
@@ -108,7 +108,7 @@ function dslc_editing_screen_content() {
108
  $frame_url = set_url_scheme( add_query_arg( $previewurl_keys, get_permalink( $previewurl_keys['page_id'] ) ) );
109
 
110
  echo '<div id="page-builder-preview-area">';
111
- echo '<iframe id="page-builder-frame" src="' . esc_url( $frame_url ) . '"></iframe>';
112
  echo '</div>';
113
 
114
  do_action( 'dslca_editing_screen_preview_after' );
108
  $frame_url = set_url_scheme( add_query_arg( $previewurl_keys, get_permalink( $previewurl_keys['page_id'] ) ) );
109
 
110
  echo '<div id="page-builder-preview-area">';
111
+ echo '<iframe id="page-builder-frame" name="page-builder-frame" src="' . esc_url( $frame_url ) . '"></iframe>';
112
  echo '</div>';
113
 
114
  do_action( 'dslca_editing_screen_preview_after' );
includes/editor-messages.php CHANGED
@@ -97,39 +97,41 @@ class LC_Editor_Messages {
97
  update_option( 'dslc_editormessages', $get_messages );
98
  }
99
 
 
 
 
 
 
 
 
 
100
  /**
101
  * Plugin install
102
  */
103
  public function on_plugin_install() {
104
  $default_messages = array(
105
  'woo-integration' => array(
106
- 'text' => 'Our WooCommerce integration add-on is almost ready for realese. Price growths with every update. <strong>Buy it today to save 30%!</strong>',
107
- 'link' => 'https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=editing-sreen&utm_medium=editor-messages&utm_campaign=woo-integration',
108
  'icon' => 'dslc-icon-shopping-cart',
109
  'color' => '',
110
  ),
111
  'all-extensions' => array(
112
- 'text' => 'Extend the page builder with our official extensions bundle. Save $10 with <strong>10USDOFF</strong> coupon.',
113
- 'link' => 'https://livecomposerplugin.com/downloads/bundle-buy-all-extensions/?utm_source=editing-sreen&utm_medium=editor-messages&utm_campaign=all-extensions',
114
- 'icon' => 'dslc-icon-cubes',
115
- 'color' => '',
116
- ),
117
- '779590' => array(
118
- 'text' => 'Live Composer developers recommend WP Engine for their best-in-class architecture to keep WordPress fast and secure.',
119
- 'link' => 'http://www.shareasale.com/r.cfm?B=779590&U=871461&M=41388&urllink=',
120
- 'icon' => 'dslc-icon-codepen ',
121
  'color' => '',
122
  ),
123
- '965751' => array(
124
- 'text' => 'Do you need high-quality website content fast? Get $20 free joining bonus at Contentmart.com USE CODE: <strong>JOIN20</strong>',
125
- 'link' => 'http://www.shareasale.com/r.cfm?B=965751&U=871461&M=65777&urllink=',
126
- 'icon' => 'dslc-icon-pencil',
127
  'color' => '',
128
  ),
129
- '381388' => array(
130
- 'text' => 'LinkFool! We build natural links, each month, to help our customers grow their SEO rankings without fear of being banned by the search engines.',
131
- 'link' => 'http://www.shareasale.com/r.cfm?B=381388&U=871461&M=35654&urllink=',
132
- 'icon' => 'dslc-icon-link',
133
  'color' => '',
134
  ),
135
  );
@@ -188,7 +190,7 @@ class LC_Editor_Messages {
188
  */
189
  public function print_messages() {
190
  ?>
191
- <div class="dslc-editor-messages-section">
192
  <a href="#" class="dslc-editor-messages-title"><?php echo __( 'Live Composer Updates', 'live-composer-page-builder' ); ?></a>
193
  <a href="#" data-can-hide="<?php echo $this->premium_user; ?>" class="dslc-editor-messages-hide"><span class="dslc-icon dslc-icon-remove"></span><?php echo __( 'Hide this', 'live-composer-page-builder' ); ?></a>
194
  <ul id="editor-messages">
97
  update_option( 'dslc_editormessages', $get_messages );
98
  }
99
 
100
+ /**
101
+ * Delete all messages
102
+ */
103
+ public function delete_all_messages() {
104
+
105
+ update_option( 'dslc_editormessages', array() );
106
+ }
107
+
108
  /**
109
  * Plugin install
110
  */
111
  public function on_plugin_install() {
112
  $default_messages = array(
113
  'woo-integration' => array(
114
+ 'text' => '<strong>Yes!</strong> Live Composer now fully supports WooCommerce. <b class="cta">Learn More</b>',
115
+ 'link' => 'https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=editing-screen&utm_medium=editor-messages&utm_campaign=woo-integration',
116
  'icon' => 'dslc-icon-shopping-cart',
117
  'color' => '',
118
  ),
119
  'all-extensions' => array(
120
+ 'text' => '<strong>Did you see it?</strong> Our new extensions pack is huge. ACF + CPT + MegaMenu + 9 more add-ons. <b class="cta">Learn More</b>',
121
+ 'link' => 'https://livecomposerplugin.com/downloads/bundle-buy-all-extensions/?utm_source=editing-screen&utm_medium=editor-messages&utm_campaign=add-ons',
122
+ 'icon' => 'dslc-icon-briefcase',
 
 
 
 
 
 
123
  'color' => '',
124
  ),
125
+ 'peace-1' => array(
126
+ 'text' => 'Peace · Pace · Paix · Paz · Pokój · Мир · Mír · Mier · Frieden · Fred · Vrede <b class="cta">Decrypt It</b>',
127
+ 'link' => 'https://livecomposerplugin.com/peace',
128
+ 'icon' => 'dslc-icon-globe',
129
  'color' => '',
130
  ),
131
+ 'peace-2' => array(
132
+ 'text' => 'Barış · Béke · Kedamaian · Hasîtî · Ειρήνη · 和平 · 平和 · שָׁלוֹם · سلام · สันติภาพ · शान्ति <b class="cta">Word Study</b>',
133
+ 'link' => 'https://livecomposerplugin.com/peace',
134
+ 'icon' => 'dslc-icon-child',
135
  'color' => '',
136
  ),
137
  );
190
  */
191
  public function print_messages() {
192
  ?>
193
+ <div class="dslc-editor-messages-section-122017">
194
  <a href="#" class="dslc-editor-messages-title"><?php echo __( 'Live Composer Updates', 'live-composer-page-builder' ); ?></a>
195
  <a href="#" data-can-hide="<?php echo $this->premium_user; ?>" class="dslc-editor-messages-hide"><span class="dslc-icon dslc-icon-remove"></span><?php echo __( 'Hide this', 'live-composer-page-builder' ); ?></a>
196
  <ul id="editor-messages">
includes/header-footer.php CHANGED
@@ -624,7 +624,8 @@ function dslc_hf_get_headerfooter( $post_id = false, $hf_type = 'header' ) {
624
  $cached_html = substr_replace( $cached_html, $editing_parametters, strrpos( $cached_html, 'data-hf' ), 0 );
625
  }
626
 
627
- return do_shortcode( $cached_html );
 
628
  }
629
  }
630
 
@@ -664,7 +665,8 @@ function dslc_hf_get_headerfooter( $post_id = false, $hf_type = 'header' ) {
664
  $cache->set_cache( $rendered_code, $cache_id );
665
  }
666
  // Add the code to the variable holder.
667
- return do_shortcode( $rendered_code );
 
668
 
669
  } else {
670
 
@@ -698,3 +700,17 @@ function dslc_hf_get_footer( $post_id = false ) {
698
  // Compilation time 1.16 sec. before caching / 0.04 sec after caching.
699
  return dslc_hf_get_headerfooter( $post_id, 'footer' );
700
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
624
  $cached_html = substr_replace( $cached_html, $editing_parametters, strrpos( $cached_html, 'data-hf' ), 0 );
625
  }
626
 
627
+ // We need double do_shortcode as our module shortcodes can contain encoded 3-rd party shortcodes.
628
+ return do_shortcode( do_shortcode( $cached_html ) );
629
  }
630
  }
631
 
665
  $cache->set_cache( $rendered_code, $cache_id );
666
  }
667
  // Add the code to the variable holder.
668
+ // We need double do_shortcode as our module shortcodes can contain encoded 3-rd party shortcodes.
669
+ return do_shortcode( do_shortcode( $rendered_code ) );
670
 
671
  } else {
672
 
700
  // Compilation time 1.16 sec. before caching / 0.04 sec after caching.
701
  return dslc_hf_get_headerfooter( $post_id, 'footer' );
702
  }
703
+
704
+ /**
705
+ * Redirect non-admins from the header/footer posts to the home pages.
706
+ *
707
+ * @since 1.3.10
708
+ * @return void
709
+ */
710
+ function dslc_redirect_from_hf_posts() {
711
+ if ( is_singular( 'dslc_hf' ) && ( ! is_user_logged_in() || ! current_user_can( DS_LIVE_COMPOSER_CAPABILITY )) ) {
712
+ wp_safe_redirect( get_home_url() );
713
+ exit;
714
+ }
715
+ }
716
+ add_action( 'template_redirect', 'dslc_redirect_from_hf_posts' );
includes/module-controls.php CHANGED
@@ -410,7 +410,7 @@ class LC_Control {
410
  <span><?php esc_html_e( 'Blur', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-blur" step="0.1" type="number" value="<?php echo $text_shadow_blur_val; ?>" />
411
  </div>
412
  <div class="dslca-module-edit-option-text-shadow-single dslca-color-option">
413
- <span><?php esc_html_e( 'Color', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-color" type="text" value="<?php echo $text_shadow_color_val; ?>" />
414
  </div>
415
 
416
  <input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-text-shadow" data-alpha="true" name="<?php echo esc_attr( $module_control['id'] ); ?>" data-id="<?php echo esc_attr( $module_control['id'] ); ?>" value="<?php echo esc_attr( $this->_curr_value ); ?>" <?php echo $affect_on_change_append ?> />
410
  <span><?php esc_html_e( 'Blur', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-blur" step="0.1" type="number" value="<?php echo $text_shadow_blur_val; ?>" />
411
  </div>
412
  <div class="dslca-module-edit-option-text-shadow-single dslca-color-option">
413
+ <span><?php esc_html_e( 'Color', 'live-composer-page-builder' ); ?></span><input class="dslca-module-edit-option-text-shadow-color" data-alpha="true" type="text" value="<?php echo $text_shadow_color_val; ?>" />
414
  </div>
415
 
416
  <input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-text-shadow" data-alpha="true" name="<?php echo esc_attr( $module_control['id'] ); ?>" data-id="<?php echo esc_attr( $module_control['id'] ); ?>" value="<?php echo esc_attr( $this->_curr_value ); ?>" <?php echo $affect_on_change_append ?> />
includes/other-functions.php CHANGED
@@ -519,4 +519,4 @@ function dslc_filter_textarea( $content ) {
519
  return $content;
520
  }
521
 
522
- add_filter( 'dslc_before_render', 'dslc_filter_textarea' );
519
  return $content;
520
  }
521
 
522
+ add_filter( 'dslc_text_block_render', 'dslc_filter_textarea' );
includes/plugin-options-framework/css/main.css CHANGED
@@ -149,6 +149,7 @@
149
  font-size: 14px;
150
  }
151
 
 
152
  .activecampaign_form input[type=text] {
153
  border-color: rgb(220, 221, 221);
154
  color: #000;
149
  font-size: 14px;
150
  }
151
 
152
+ /* @todo: delete .activecampaign_form? */
153
  .activecampaign_form input[type=text] {
154
  border-color: rgb(220, 221, 221);
155
  color: #000;
includes/plugin-options-framework/inc/init.php CHANGED
@@ -98,7 +98,7 @@ function dslc_plugin_options_display( $tab = '' ) {
98
 
99
  <div id="lc-settings-tabs">
100
  <!-- Extensions tab -->
101
- <div class="tab" id="tab-for-tab-extensions" <?php if ( $anchor != 'dslc_settings' ) echo 'style="display:block"'; ; ?>>
102
  <?php include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/tab-extensions.php'; ?>
103
  </div>
104
  <!-- Getting Started Tab -->
@@ -108,7 +108,7 @@ function dslc_plugin_options_display( $tab = '' ) {
108
  </div>
109
  */ ?>
110
  <!-- Settings tab -->
111
- <div class="tab" <?php if ( $anchor == 'dslc_settings' ) echo 'style="display:block"'; ; ?> id="tab-for-tab-settings">
112
  <?php include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/tab-settings.php'; ?>
113
  </div>
114
 
@@ -224,8 +224,8 @@ function dslc_plugin_options_init() {
224
  $section_id, // Section.
225
  $option // Args.
226
  );
227
- }
228
- }
229
 
230
  } add_action( 'admin_init', 'dslc_plugin_options_init' );
231
 
@@ -300,34 +300,3 @@ function dslc_plugin_options_input_sanitize( $input ) {
300
  }
301
 
302
  }
303
-
304
- /**
305
- * Active Campaign
306
- */
307
- function dslc_ajax_check_activecampaign() {
308
-
309
- // Check Nonce.
310
- if ( ! wp_verify_nonce( $_POST['security']['nonce'], 'dslc-optionspanel-ajax' ) ) {
311
- wp_die( 'You do not have rights!' );
312
- }
313
-
314
- // Check access permissions.
315
- if ( ! current_user_can( 'install_plugins' ) ) {
316
- wp_die( 'You do not have rights!' );
317
- }
318
-
319
- $email = sanitize_email( $_POST['email'] );
320
- $name = sanitize_text_field( $_POST['name'] );
321
-
322
- $dslc_getting_started = array(
323
- 'email' => $email,
324
- 'name' => $name,
325
- 'subscribed' => '1',
326
- );
327
-
328
- add_option( 'dslc_user', $dslc_getting_started );
329
-
330
- wp_die();
331
-
332
- }
333
- add_action( 'wp_ajax_dslc_activecampaign', 'dslc_ajax_check_activecampaign' );
98
 
99
  <div id="lc-settings-tabs">
100
  <!-- Extensions tab -->
101
+ <div class="tab" id="tab-for-tab-extensions" <?php if ('dslc_settings' !== $anchor ) { echo 'style="display:block"'; } ?>>
102
  <?php include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/tab-extensions.php'; ?>
103
  </div>
104
  <!-- Getting Started Tab -->
108
  </div>
109
  */ ?>
110
  <!-- Settings tab -->
111
+ <div class="tab" <?php if ( 'dslc_settings' === $anchor ) { echo 'style="display:block"';} ?> id="tab-for-tab-settings">
112
  <?php include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/tab-settings.php'; ?>
113
  </div>
114
 
224
  $section_id, // Section.
225
  $option // Args.
226
  );
227
+ }// End foreach().
228
+ }// End foreach().
229
 
230
  } add_action( 'admin_init', 'dslc_plugin_options_init' );
231
 
300
  }
301
 
302
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/plugin-options-framework/js/main.js CHANGED
@@ -85,212 +85,6 @@ jQuery(document).ready(function(){
85
 
86
  });
87
 
88
- /*
89
- * Active Campaign
90
- */
91
-
92
- jQuery('.activecampaign_form').submit(function(){
93
- var email = jQuery('#dslc_activecampaign_email').val();
94
- var name = jQuery('#dslc_activecampaign_name').val();
95
-
96
- jQuery.ajax({
97
- type: "POST",
98
- data: {
99
- email: email,
100
- name: name,
101
- security: dslcajax,
102
- action: 'dslc_activecampaign'
103
- },
104
- url: ajaxurl
105
- });
106
- });
107
-
108
- if ( jQuery(".activecampaign_form").length ) {
109
-
110
- window._show_thank_you = function(id, message) {
111
- var form = document.getElementById('_form_' + id + '_'), thank_you = form.getElementsByClassName('_form-thank-you')[0];
112
- form.getElementsByClassName('_form-content')[0].style.visibility = 'hidden';
113
- thank_you.innerHTML = message;
114
- //thank_you.style.display = 'block';
115
- thank_you.classList.add("add_thank_you");
116
- };
117
- window._show_error = function(id, message, html) {
118
- var form = document.getElementById('_form_' + id + '_'), err = document.createElement('div'), button = form.getElementsByTagName('button')[0];
119
- err.innerHTML = message;
120
- err.className = '_error-inner _form_error _no_arrow';
121
- var wrapper = document.createElement('div');
122
- wrapper.className = '_form-inner';
123
- wrapper.appendChild(err);
124
- button.parentNode.insertBefore(wrapper, button);
125
- if (html) {
126
- var div = document.createElement('div');
127
- div.className = '_error-html';
128
- div.innerHTML = html;
129
- err.appendChild(div);
130
- }
131
- };
132
- window._load_script = function(url, callback) {
133
- var head = document.getElementsByTagName('head')[0], script = document.createElement('script'), r = false;
134
- script.type = 'text/javascript';
135
- script.src = url;
136
- if (callback) {
137
- script.onload = script.onreadystatechange = function() {
138
- if (!r && (!this.readyState || this.readyState == 'complete')) {
139
- r = true;
140
- callback();
141
- }
142
- };
143
- }
144
- head.appendChild(script);
145
- };
146
-
147
- (function() {
148
- var getCookie = function(name) {
149
- var match = document.cookie.match(new RegExp('(^|; )' + name + '=([^;]+)'));
150
- return match ? match[2] : null;
151
- }
152
- var setCookie = function(name, value) {
153
- var now = new Date();
154
- var time = now.getTime();
155
- var expireTime = time + 1000 * 60 * 60 * 24 * 365;
156
- now.setTime(expireTime);
157
- document.cookie = name + '=' + value + '; expires=' + now + ';path=/';
158
- }
159
- var addEvent = function(element, event, func) {
160
- if (element.addEventListener) {
161
- element.addEventListener(event, func);
162
- } else {
163
- var oldFunc = element['on' + event];
164
- element['on' + event] = function() {
165
- oldFunc.apply(this, arguments);
166
- func.apply(this, arguments);
167
- };
168
- }
169
- }
170
-
171
- var _removed = false;
172
- var form_to_submit = document.getElementById('_form_11_');
173
- var allInputs = form_to_submit.querySelectorAll('input, select'), tooltips = [], submitted = false;
174
- var remove_tooltips = function() {
175
- for (var i = 0; i < tooltips.length; i++) {
176
- tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);
177
- }
178
- tooltips = [];
179
- };
180
- var remove_tooltip = function(elem) {
181
- for (var i = 0; i < tooltips.length; i++) {
182
- if (tooltips[i].elem === elem) {
183
- tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);
184
- tooltips.splice(i, 1);
185
- return;
186
- }
187
- }
188
- };
189
- var create_tooltip = function(elem, text) {
190
- var tooltip = document.createElement('div'), arrow = document.createElement('div'), inner = document.createElement('div'), new_tooltip = {};
191
- if (elem.type != 'radio' && elem.type != 'checkbox') {
192
- tooltip.className = '_error';
193
- arrow.className = '_error-arrow';
194
- inner.className = '_error-inner';
195
- inner.innerHTML = text;
196
- tooltip.appendChild(arrow);
197
- tooltip.appendChild(inner);
198
- elem.parentNode.appendChild(tooltip);
199
- } else {
200
- tooltip.className = '_error-inner _no_arrow';
201
- tooltip.innerHTML = text;
202
- elem.parentNode.insertBefore(tooltip, elem);
203
- new_tooltip.no_arrow = true;
204
- }
205
- new_tooltip.tip = tooltip;
206
- new_tooltip.elem = elem;
207
- tooltips.push(new_tooltip);
208
- return new_tooltip;
209
- };
210
- var resize_tooltip = function(tooltip) {
211
- var rect = tooltip.elem.getBoundingClientRect();
212
- var doc = document.documentElement, scrollPosition = rect.top - ((window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0));
213
- if (scrollPosition < 40) {
214
- tooltip.tip.className = tooltip.tip.className.replace(/ ?(_above|_below) ?/g, '') + ' _below';
215
- } else {
216
- tooltip.tip.className = tooltip.tip.className.replace(/ ?(_above|_below) ?/g, '') + ' _above';
217
- }
218
- };
219
- var resize_tooltips = function() {
220
- if (_removed) return;
221
- for (var i = 0; i < tooltips.length; i++) {
222
- if (!tooltips[i].no_arrow) resize_tooltip(tooltips[i]);
223
- }
224
- };
225
- var validate_field = function(elem, remove) {
226
- var tooltip = null, value = elem.value, no_error = true;
227
- remove ? remove_tooltip(elem) : false;
228
- if (elem.type != 'checkbox') elem.className = elem.className.replace(/ ?_has_error ?/g, '');
229
- if (elem.getAttribute('required') !== null) {
230
- if (value === undefined || value === null || value === '') {
231
- elem.className = elem.className + ' _has_error';
232
- no_error = false;
233
- tooltip = create_tooltip(elem, "This field is required.");
234
- }
235
- }
236
- if (no_error && elem.name == 'email') {
237
- if (!value.match(/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i)) {
238
- elem.className = elem.className + ' _has_error';
239
- no_error = false;
240
- tooltip = create_tooltip(elem, "Enter a valid email address.");
241
- }
242
- }
243
- tooltip ? resize_tooltip(tooltip) : false;
244
- return no_error;
245
- };
246
- var needs_validate = function(el) {
247
- return el.name == 'email' || el.getAttribute('required') !== null || (el.className ? /date_field/.test(el.className) : false);
248
- };
249
- var validate_form = function(e) {
250
- var err = form_to_submit.getElementsByClassName('_form_error')[0], no_error = true;
251
- err ? err.parentNode.removeChild(err) : false;
252
- if (!submitted) {
253
- submitted = true;
254
- for (var i = 0, len = allInputs.length; i < len; i++) {
255
- var input = allInputs[i];
256
- if (needs_validate(input)) {
257
- if (input.type == 'text') {
258
- addEvent(input, 'input', function() {
259
- validate_field(this, true);
260
- });
261
- }
262
- }
263
- }
264
- }
265
- remove_tooltips();
266
- for (var i = 0, len = allInputs.length; i < len; i++) {
267
- var elem = allInputs[i];
268
- if (needs_validate(elem)) {
269
- validate_field(elem) ? true : no_error = false;
270
- }
271
- }
272
- if (!no_error && e) {
273
- e.preventDefault();
274
- }
275
- resize_tooltips();
276
- return no_error;
277
- };
278
- addEvent(window, 'resize', resize_tooltips);
279
- addEvent(window, 'scroll', resize_tooltips);
280
- var form_submit = function(e) {
281
- e.preventDefault();
282
- if (validate_form()) {
283
- var serialized = serialize(document.getElementById('_form_11_'));
284
- _load_script('https://lumbermandesigns.activehosted.com/proc.php?' + serialized + '&jsonp=true');
285
- }
286
- return false;
287
- };
288
- addEvent(form_to_submit, 'submit', form_submit);
289
- _load_script("//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js");
290
- })();
291
-
292
- }
293
-
294
  /**
295
  * Enable/Disable premium extension via AJAX call.
296
  */
@@ -320,7 +114,6 @@ jQuery(document).ready(function(){
320
  },
321
  url: ajaxurl,
322
  }).done(function (response) {
323
- console.log("response:"); console.log(response);
324
  if (response) {
325
  // Update DIV attribute with a new status.
326
  parentEl.setAttribute('data-extension-status', response);
85
 
86
  });
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  /**
89
  * Enable/Disable premium extension via AJAX call.
90
  */
114
  },
115
  url: ajaxurl,
116
  }).done(function (response) {
 
117
  if (response) {
118
  // Update DIV attribute with a new status.
119
  parentEl.setAttribute('data-extension-status', response);
includes/plugin-options-framework/js/main.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(){jQuery("#lc_caching_engine").after(' <a href="#" class="dslc-clear-cache" onclick="dslc_clear_cache(event)"><span class="dashicons dashicons-trash"></span> clear cache</a>');function a(a){var b,c=jQuery(".dslca-plugin-opts-list-code",a),d="",e=false;var f=[];jQuery(".dslca-plugin-opts-list-item",a).each(function(){if(jQuery.inArray(jQuery(this).find(".dslca-plugin-opts-list-title").text(),f)!==-1){e=true}else{f.push(jQuery(this).find(".dslca-plugin-opts-list-title").text())}});if(e){jQuery(".dslca-plugin-opts-list-error").show()}else{jQuery(".dslca-plugin-opts-list-error").hide()}jQuery(".dslca-plugin-opts-list-item",a).each(function(){b=jQuery(this).find(".dslca-plugin-opts-list-title").text();b=b.replace(/([^a-z0-9 ]+)/gi,"");jQuery(this).find(".dslca-plugin-opts-list-title").text(b);d+=b.trim()+","});c.val(d)}jQuery(".dslca-plugin-opts-list-add-hook").click(function(b){b.preventDefault();var c=jQuery(this).closest(".dslca-plugin-opts-list-wrap");var d=c.find(".dslca-plugin-opts-list");jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable="true">Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo(d);a(c)});jQuery(document).on("click",".dslca-plugin-opts-list-delete-hook",function(b){b.preventDefault();var c=jQuery(this).closest(".dslca-plugin-opts-list-wrap");var d=jQuery(this).closest(".dslca-plugin-opts-list-item");d.remove();a(c)});jQuery(document).on("blur",".dslca-plugin-opts-list-title",function(){var b=jQuery(this).closest(".dslca-plugin-opts-list-wrap");a(b)});jQuery(document).on("keypress",".dslca-plugin-opts-list-title",function(a){if(a.keyCode==13){jQuery(this).trigger("blur");a.preventDefault()}});jQuery(".activecampaign_form").submit(function(){var a=jQuery("#dslc_activecampaign_email").val();var b=jQuery("#dslc_activecampaign_name").val();jQuery.ajax({type:"POST",data:{email:a,name:b,security:dslcajax,action:"dslc_activecampaign"},url:ajaxurl})});if(jQuery(".activecampaign_form").length){window._show_thank_you=function(a,b){var c=document.getElementById("_form_"+a+"_"),d=c.getElementsByClassName("_form-thank-you")[0];c.getElementsByClassName("_form-content")[0].style.visibility="hidden";d.innerHTML=b;d.classList.add("add_thank_you")};window._show_error=function(a,b,c){var d=document.getElementById("_form_"+a+"_"),e=document.createElement("div"),f=d.getElementsByTagName("button")[0];e.innerHTML=b;e.className="_error-inner _form_error _no_arrow";var g=document.createElement("div");g.className="_form-inner";g.appendChild(e);f.parentNode.insertBefore(g,f);if(c){var h=document.createElement("div");h.className="_error-html";h.innerHTML=c;e.appendChild(h)}};window._load_script=function(a,b){var c=document.getElementsByTagName("head")[0],d=document.createElement("script"),e=false;d.type="text/javascript";d.src=a;if(b){d.onload=d.onreadystatechange=function(){if(!e&&(!this.readyState||this.readyState=="complete")){e=true;b()}}}c.appendChild(d)};(function(){var a=function(a){var b=document.cookie.match(new RegExp("(^|; )"+a+"=([^;]+)"));return b?b[2]:null};var b=function(a,b){var c=new Date;var d=c.getTime();var e=d+1e3*60*60*24*365;c.setTime(e);document.cookie=a+"="+b+"; expires="+c+";path=/"};var c=function(a,b,c){if(a.addEventListener){a.addEventListener(b,c)}else{var d=a["on"+b];a["on"+b]=function(){d.apply(this,arguments);c.apply(this,arguments)}}};var d=false;var e=document.getElementById("_form_11_");var f=e.querySelectorAll("input, select"),g=[],h=false;var i=function(){for(var a=0;a<g.length;a++){g[a].tip.parentNode.removeChild(g[a].tip)}g=[]};var j=function(a){for(var b=0;b<g.length;b++){if(g[b].elem===a){g[b].tip.parentNode.removeChild(g[b].tip);g.splice(b,1);return}}};var k=function(a,b){var c=document.createElement("div"),d=document.createElement("div"),e=document.createElement("div"),f={};if(a.type!="radio"&&a.type!="checkbox"){c.className="_error";d.className="_error-arrow";e.className="_error-inner";e.innerHTML=b;c.appendChild(d);c.appendChild(e);a.parentNode.appendChild(c)}else{c.className="_error-inner _no_arrow";c.innerHTML=b;a.parentNode.insertBefore(c,a);f.no_arrow=true}f.tip=c;f.elem=a;g.push(f);return f};var l=function(a){var b=a.elem.getBoundingClientRect();var c=document.documentElement,d=b.top-((window.pageYOffset||c.scrollTop)-(c.clientTop||0));if(d<40){a.tip.className=a.tip.className.replace(/ ?(_above|_below) ?/g,"")+" _below"}else{a.tip.className=a.tip.className.replace(/ ?(_above|_below) ?/g,"")+" _above"}};var m=function(){if(d)return;for(var a=0;a<g.length;a++){if(!g[a].no_arrow)l(g[a])}};var n=function(a,b){var c=null,d=a.value,e=true;b?j(a):false;if(a.type!="checkbox")a.className=a.className.replace(/ ?_has_error ?/g,"");if(a.getAttribute("required")!==null){if(d===undefined||d===null||d===""){a.className=a.className+" _has_error";e=false;c=k(a,"This field is required.")}}if(e&&a.name=="email"){if(!d.match(/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i)){a.className=a.className+" _has_error";e=false;c=k(a,"Enter a valid email address.")}}c?l(c):false;return e};var o=function(a){return a.name=="email"||a.getAttribute("required")!==null||(a.className?/date_field/.test(a.className):false)};var p=function(a){var b=e.getElementsByClassName("_form_error")[0],d=true;b?b.parentNode.removeChild(b):false;if(!h){h=true;for(var g=0,j=f.length;g<j;g++){var k=f[g];if(o(k)){if(k.type=="text"){c(k,"input",function(){n(this,true)})}}}}i();for(var g=0,j=f.length;g<j;g++){var l=f[g];if(o(l)){n(l)?true:d=false}}if(!d&&a){a.preventDefault()}m();return d};c(window,"resize",m);c(window,"scroll",m);var q=function(a){a.preventDefault();if(p()){var b=serialize(document.getElementById("_form_11_"));_load_script("https://lumbermandesigns.activehosted.com/proc.php?"+b+"&jsonp=true")}return false};c(e,"submit",q);_load_script("//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js")})()}jQuery(document).on("click",".lc-toggle-extension",function(a){a.preventDefault();$extensionId=a.target.getAttribute("data-id");var b=jQuery(a.target).closest(".extension");if(b[0]!==undefined){b=b[0]}else{console.error("Can't find extension parent for the clicked ellement.");return false}var c=b.getAttribute("data-extension-status");b.setAttribute("data-extension-status","pending");jQuery.ajax({type:"POST",data:{security:dslcajax,action:"dslc-ajax-toggle-extension",extension:$extensionId},url:ajaxurl}).done(function(a){console.log("response:");console.log(a);if(a){b.setAttribute("data-extension-status",a)}else{b.setAttribute("data-extension-status",c)}}).fail(function(a){b.setAttribute("data-extension-status",c)})})});function dslc_clear_cache(a){a.preventDefault();jQuery(".dslc-clear-cache .dashicons").removeClass("dashicons-trash").addClass("dashicons-update dashicon-spin");jQuery.ajax({type:"POST",data:{security:dslcajax,action:"dslc_ajax_clear_cache"},url:ajaxurl}).done(function(){jQuery(".dslc-clear-cache").css("color","green");jQuery(".dslc-clear-cache").text("done");jQuery(".dslc-clear-cache").prepend('<span class="dashicons dashicons-yes"></span> ')})}
1
+ jQuery(document).ready(function(){jQuery("#lc_caching_engine").after(' <a href="#" class="dslc-clear-cache" onclick="dslc_clear_cache(event)"><span class="dashicons dashicons-trash"></span> clear cache</a>');function a(a){var b,c=jQuery(".dslca-plugin-opts-list-code",a),d="",e=false;var f=[];jQuery(".dslca-plugin-opts-list-item",a).each(function(){if(jQuery.inArray(jQuery(this).find(".dslca-plugin-opts-list-title").text(),f)!==-1){e=true}else{f.push(jQuery(this).find(".dslca-plugin-opts-list-title").text())}});if(e){jQuery(".dslca-plugin-opts-list-error").show()}else{jQuery(".dslca-plugin-opts-list-error").hide()}jQuery(".dslca-plugin-opts-list-item",a).each(function(){b=jQuery(this).find(".dslca-plugin-opts-list-title").text();b=b.replace(/([^a-z0-9 ]+)/gi,"");jQuery(this).find(".dslca-plugin-opts-list-title").text(b);d+=b.trim()+","});c.val(d)}jQuery(".dslca-plugin-opts-list-add-hook").click(function(b){b.preventDefault();var c=jQuery(this).closest(".dslca-plugin-opts-list-wrap");var d=c.find(".dslca-plugin-opts-list");jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable="true">Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo(d);a(c)});jQuery(document).on("click",".dslca-plugin-opts-list-delete-hook",function(b){b.preventDefault();var c=jQuery(this).closest(".dslca-plugin-opts-list-wrap");var d=jQuery(this).closest(".dslca-plugin-opts-list-item");d.remove();a(c)});jQuery(document).on("blur",".dslca-plugin-opts-list-title",function(){var b=jQuery(this).closest(".dslca-plugin-opts-list-wrap");a(b)});jQuery(document).on("keypress",".dslca-plugin-opts-list-title",function(a){if(a.keyCode==13){jQuery(this).trigger("blur");a.preventDefault()}});jQuery(document).on("click",".lc-toggle-extension",function(a){a.preventDefault();$extensionId=a.target.getAttribute("data-id");var b=jQuery(a.target).closest(".extension");if(b[0]!==undefined){b=b[0]}else{console.error("Can't find extension parent for the clicked ellement.");return false}var c=b.getAttribute("data-extension-status");b.setAttribute("data-extension-status","pending");jQuery.ajax({type:"POST",data:{security:dslcajax,action:"dslc-ajax-toggle-extension",extension:$extensionId},url:ajaxurl}).done(function(a){if(a){b.setAttribute("data-extension-status",a)}else{b.setAttribute("data-extension-status",c)}}).fail(function(a){b.setAttribute("data-extension-status",c)})})});function dslc_clear_cache(a){a.preventDefault();jQuery(".dslc-clear-cache .dashicons").removeClass("dashicons-trash").addClass("dashicons-update dashicon-spin");jQuery.ajax({type:"POST",data:{security:dslcajax,action:"dslc_ajax_clear_cache"},url:ajaxurl}).done(function(){jQuery(".dslc-clear-cache").css("color","green");jQuery(".dslc-clear-cache").text("done");jQuery(".dslc-clear-cache").prepend('<span class="dashicons dashicons-yes"></span> ')})}
includes/plugin-updates/admin-license-manager.js CHANGED
@@ -38,8 +38,6 @@ jQuery(document).on('click', '.lc-activate-plugin', function (e) {
38
  */
39
  var showPopupMessage = function (message, style, delay) {
40
 
41
- console.log('showPopupMessage');
42
-
43
  if (undefined === message) return;
44
  if (undefined === style || '' === style) var style = 'normal';
45
  if (undefined === delay) var delay = 4000;
38
  */
39
  var showPopupMessage = function (message, style, delay) {
40
 
 
 
41
  if (undefined === message) return;
42
  if (undefined === style || '' === style) var style = 'normal';
43
  if (undefined === delay) var delay = 4000;
includes/post-options-framework/post-options-framework.php CHANGED
@@ -250,12 +250,12 @@ function dslc_editorinterface_post_options( $object, $metabox ) {
250
 
251
  <?php
252
 
 
 
253
  foreach ( $post_option['choices'] as $key => $choice ) {
254
 
255
  if ( 'list-heading' === $choice['value'] && 'dslca_single_post_templates' === $choice['id'] ) {
256
  $dslca_post_option_id = 'id="' . $choice['id'] . '"';
257
- } else {
258
- $dslca_post_option_id = '';
259
  }
260
  }
261
 
250
 
251
  <?php
252
 
253
+ $dslca_post_option_id = '';
254
+
255
  foreach ( $post_option['choices'] as $key => $choice ) {
256
 
257
  if ( 'list-heading' === $choice['value'] && 'dslca_single_post_templates' === $choice['id'] ) {
258
  $dslca_post_option_id = 'id="' . $choice['id'] . '"';
 
 
259
  }
260
  }
261
 
includes/scripts.php CHANGED
@@ -145,7 +145,6 @@ final class DSLC_Scripts {
145
  * Fires after tinyMCE included
146
  */
147
  public static function callback_tinymce() {
148
-
149
  ?>
150
  <script type="text/javascript">
151
  window.parent.previewAreaTinyMCELoaded.call(window);
145
  * Fires after tinyMCE included
146
  */
147
  public static function callback_tinymce() {
 
148
  ?>
149
  <script type="text/javascript">
150
  window.parent.previewAreaTinyMCELoaded.call(window);
includes/single-templates-framework/inc/filters.php CHANGED
@@ -48,7 +48,7 @@ function dslc_st_template_switch() {
48
  include( $return_template );
49
 
50
  // Bye bye
51
- exit();
52
 
53
  }
54
 
@@ -95,7 +95,8 @@ function dslc_st_template_switch() {
95
  }
96
  }
97
 
98
- } add_action( 'template_redirect', 'dslc_st_template_switch' );
 
99
 
100
  /**
101
  * Add columns to the Templates Listing table.
@@ -451,7 +452,7 @@ function dslc_tp_remove_template_from_meta( $template_to_remove, $post_id_to_kee
451
 
452
  // Remove value from the array.
453
  if ( ( $key = array_search( $template_to_remove, $dslc_template_for ) ) !== false ) {
454
- unset( $dslc_template_for[ $key ] );
455
  }
456
 
457
  // Put back updated value for 'dslc_template_for' custom field.
48
  include( $return_template );
49
 
50
  // Bye bye
51
+ exit();
52
 
53
  }
54
 
95
  }
96
  }
97
 
98
+ } add_action( 'template_redirect', 'dslc_st_template_switch', 9999 );
99
+ // ↑ 9999 - Yoast uses 999, we need to overbeat it. See https://github.com/live-composer/live-composer-page-builder/issues/847
100
 
101
  /**
102
  * Add columns to the Templates Listing table.
452
 
453
  // Remove value from the array.
454
  if ( ( $key = array_search( $template_to_remove, $dslc_template_for ) ) !== false ) {
455
+ unset( $dslc_template_for[ $key ] );
456
  }
457
 
458
  // Put back updated value for 'dslc_template_for' custom field.
includes/single-templates-framework/inc/functions.php CHANGED
@@ -238,7 +238,7 @@ function dslc_get_template_by_id( $post_id ) {
238
  function dslc_get_archive_template_by_pt( $post_type_slug ) {
239
 
240
  // WooCommerce ( Woo Shop ) - https://github.com/lumbermandesigns/lc-woo-integration/issues/68.
241
- if ( class_exists( 'WooCommerce' ) ) {
242
  if ( is_shop() || is_product_category() ) {
243
  $template_id = apply_filters( 'dslc_post_type_slug', $post_type_slug );
244
  return $template_id;
238
  function dslc_get_archive_template_by_pt( $post_type_slug ) {
239
 
240
  // WooCommerce ( Woo Shop ) - https://github.com/lumbermandesigns/lc-woo-integration/issues/68.
241
+ if ( class_exists( 'WooCommerce' ) && function_exists( 'lcwoo_plugin_init' ) ) {
242
  if ( is_shop() || is_product_category() ) {
243
  $template_id = apply_filters( 'dslc_post_type_slug', $post_type_slug );
244
  return $template_id;
includes/upgrade.class.php CHANGED
@@ -23,13 +23,17 @@ final class DSLC_Upgrade {
23
  $versions_log[] = get_option( 'dslc_version', array() );
24
  }
25
 
 
 
 
 
26
  /** Migration usage example
27
 
28
  if ( ! in_array( '1.3', $versions_log ) ) {
29
 
30
  self::update_1_3();
31
  }
32
- */
33
 
34
  // Update versions update history with new version.
35
  if ( ! in_array( $curr_version, $versions_log ) ) {
@@ -51,4 +55,12 @@ final class DSLC_Upgrade {
51
  // Some code on version 1.3.
52
  // Update_option( 'dslc_version','1.3' );
53
  }*/
 
 
 
 
 
 
 
 
54
  }
23
  $versions_log[] = get_option( 'dslc_version', array() );
24
  }
25
 
26
+ if ( is_array( $versions_log ) && ! in_array( '1.3.10', $versions_log ) ) {
27
+ self::update_1_3_10();
28
+ }
29
+
30
  /** Migration usage example
31
 
32
  if ( ! in_array( '1.3', $versions_log ) ) {
33
 
34
  self::update_1_3();
35
  }
36
+ */
37
 
38
  // Update versions update history with new version.
39
  if ( ! in_array( $curr_version, $versions_log ) ) {
55
  // Some code on version 1.3.
56
  // Update_option( 'dslc_version','1.3' );
57
  }*/
58
+
59
+ public static function update_1_3_10() {
60
+
61
+ // Update upsell messages in the editing interface.
62
+ $editor_messages = new LC_Editor_Messages();
63
+ $editor_messages->delete_all_messages();
64
+ $editor_messages->on_plugin_install();
65
+ }
66
  }
js/builder.all.min.js CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";function dslc_ui_animations(){if(dslcDebug)console.log("dslc_ui_animations");jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered")}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<190)jQuery(".dslca-module-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){}});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<130)jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){}})}jQuery(document).ready(function(){dslc_ui_animations()});"use strict";function dslc_save_composer(){if(dslcDebug)console.log("dslc_save_composer");dslc_generate_code();dslca_gen_content_for_search();var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:c,dslc_code:a,dslc_content_for_search:b},timeout:3e4}).done(function(a){if(a.status=="success"){jQuery(".dslca-save-composer").fadeOut(250);jQuery(".dslca-save-draft-composer").fadeOut(250);jQuery("body").append('<iframe class="lbmn-cache-iframe" id="lbmn-cache-iframe-'+c+'" src="'+DSLCSiteData.siteurl+"/?p="+c+'" ></iframe>');jQuery(".lbmn-cache-iframe").each(function(a,b){jQuery(b).load(function(){jQuery(b).remove()})})}else{alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}}).fail(function(a){if(a.statusText=="timeout"){alert("The request timed out after 30 seconds. Server do not respond in time. Please try again.")}else{alert("Something went wrong. Please try again. Error Code: "+a.statusText)}}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok");jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){if(dslcDebug)console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save");if(a.status=="success"){jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again.")}jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){if(dslcDebug)console.log("dslc_generate_code");var a="",b,c="",d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="",o;jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(".dslc-module-front",this).length){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content",this).hide()}else{jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300)}});jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){m=jQuery(this);o=dslc_generate_section_code(m);m.find(".dslca-section-code").val(o);d=d+o+","});d=d.slice(0,-1);d="["+d+"]";jQuery("#dslca-code").val(d);jQuery("#dslca-export-code").val(d)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b="",c,d="",e="",f=12,g=12,h=0,i=0,j,k,l,m,n,o="",p="",q;n=a;if(jQuery(".dslc-modules-area",n).length){n.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{n.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");i=0;p=n.find(".dslca-section-code").val();q=JSON.parse(p);o="";jQuery(".dslca-modules-section-settings input",n).each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();o=o+b+'="'+c+'" ';q[b]=c});if(undefined!==q["give_new_id"]){delete q["give_new_id"]}q["content"]=[];jQuery(".dslc-modules-area",n).each(function(){h=0;k=jQuery(this);j=parseInt(k.data("size"));l="no";m="no";i+=j;jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");if(i==g){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");i=0;l="yes"}else if(i>g){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");i=j;m="yes"}if(i==j){m="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}var a='{"element_type":"module_area","last":"'+l+'","first":"'+m+'","size":"'+j+'"}';a=JSON.parse(a);if(undefined!==a["give_new_id"]){delete a["give_new_id"]}a.content=[];jQuery(".dslc-module-front",k).each(function(){var d=jQuery(this);c=parseInt(d[0].getAttribute("data-dslc-module-size"));var e="no";var g="no";jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");h+=c;if(h==f){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");h=0;e="yes";g="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=c;g="yes"}if(h==c){g="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}try{b=d[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+d[0].getAttribute("id"))}if(""!==b){var j=JSON.parse(b);j.last=e;jQuery.each(j,function(a,b){if(false===b||""===b){delete j[a]}if("give_new_id"===a){delete j[a]}});d[0].querySelector(".dslca-module-code").value=JSON.stringify(j);a["content"].push(j)}b=""});q["content"].push(a)});var r=JSON.stringify(q);return r}jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_composer()}});a(document).on("click",".dslca-save-draft-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_draft_composer()}})});function dslca_gen_content_for_search(){if(dslcDebug)console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search");if(null===a){return}var b=a.value;var c="";var d=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");if(undefined!==d){Array.prototype.forEach.call(d,function(a,b){var d;if(a.getAttribute("data-exportable-content")!==""){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else{d=a.innerHTML}if(d!==null){c+=d.replace(/\s+/g," ").trim()+"\n"}})}a.value=c;if(b!==c){dslc_show_publish_button()}}var massagesTicker=jQuery("#editor-messages").newsTicker({row_height:40,max_rows:2,speed:900,direction:"up",duration:12e3,autostart:1,pauseOnHover:1,start:function(){jQuery("#editor-messages").css("opacity","1")}});jQuery(document).ready(function(a){a(document).on("click",".dslc-editor-messages-hide",function(b){var c=a(".dslc-editor-messages-hide").data("can-hide");if(c=="1"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-hidden-panel"});a(".dslc-editor-messages-section").css("display","none");a(".dslca-container").removeClass("active-message-panel")}else{a("#editor-messages").html('<div class="dslc-notice"><a href="https://livecomposerplugin.com/downloads/extensions/?utm_source=editing-sreen&utm_medium=editor-messages&utm_campaign=add-ons" target="_blank">You can hide this panel once you have any of our premium extensions installed.</a></div>')}});if(a("div.dslc-editor-messages-section").length){a(".dslc-editor-messages-section").css("display","block");a(".dslca-container").addClass("active-message-panel")}});"use strict";var dslcRegularFontsArray=DSLCFonts.regular;var dslcGoogleFontsArray=DSLCFonts.google;var dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray);var dslcIconsCurrentSet=DSLCIcons.fontawesome;var dslcDebug=false;var LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}};(function(){LiveComposer.Builder.Flags={windowScroller:false,panelOpened:false,generate_code_after_row_changed:true};LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(a){if(a===undefined){return}if(isNaN(this.postponed_actions_queue[a])){this.postponed_actions_queue[a]=0}this.postponed_actions_queue[a]+=1},release_postponed_actions:function(){var a=this;jQuery.each(this.postponed_actions_queue,function(b,c){if(1<c){a.postponed_actions_queue[b]-=1}else if(1==c){window[b]();a.postponed_actions_queue[b]-=1}})}};LiveComposer.Builder.Helpers.insertModule=function(a,b){var c=jQuery(a),b=jQuery(b);var d=[];c.find("script").each(function(){d.push(this.innerHTML);this.parentNode.removeChild(this)});b.after(c).remove();d.forEach(function(a){var b=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");b.innerHTML=a;b.type="text/javascript";LiveComposer.Builder.PreviewAreaDocument[0].getElementById(c[0].id).appendChild(b)});d=null;b=null;return c}})();"use strict";LiveComposer.Builder.UI.CModalWindow=function(a){if(typeof a!="object"||this.instancesExists===true)return false;var b=this;var c='<div class="dslca-prompt-modal dslca-prompt-modal-active">'+'<div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg">'+'<span class="dslca-prompt-modal-title">'+a.title+"</span>"+'<span class="dslca-prompt-modal-descr">'+a.content+"</span></div>";var d="";if(a.confirm||a.cancel){d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.confirm_title?a.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove">'+"</span>"+(a.cancel_title?a.cancel_title:"Cancel")+"</span></div>"}else{d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.ok_title?a.ok_title:"OK")+"</a></div>"}c+=d+"</div>";c=jQuery(c);if(typeof a.confirm!="function")a.confirm=function(){};if(typeof a.cancel!="function")a.cancel=function(){};c.find(".dslca-prompt-modal-confirm-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){a.confirm();b.instancesExists=false;jQuery(this).remove()});return false});c.find(".dslca-prompt-modal-cancel-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){jQuery(this).remove();b.instancesExists=false;a.cancel()});return false});c.hide();jQuery("body").append(c);c.css({opacity:0}).show().animate({opacity:1},400);c.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400);this.instancesExists=true};"use strict";function dslc_show_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_show_modal");if(jQuery(".dslca-modal:visible").length){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}var b=jQuery(b);var c=jQuery(".dslca-container").height();b.outerHide({clbk:function(){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}});var d=jQuery(a).position(),e=b.outerWidth()/2-a.outerWidth()/2,f=d.left-e;b.css({left:f});jQuery(".dslca-prompt-modal-custom").insertAfter(b);if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeIn()}b.addClass("dslca-modal-open").show()}function dslc_hide_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_hide_modal");console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeOut()}b.removeClass("dslca-modal-open")}jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(a){a.preventDefault();var b=jQuery(this).data("modal");dslc_show_modal(jQuery(this),b)});jQuery(document).on("click",".dslca-close-modal-hook",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-action-disabled")){var b=jQuery(this).data("modal");dslc_hide_modal(jQuery(this),b)}})});function dslc_js_confirm(a,b,c){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_js_confirm");jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").data("id",a);jQuery(".dslca-prompt-modal").data("target",c);jQuery(".dslca-prompt-modal-msg").html(b);jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400);jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_js_confirm_close");jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").animate({opacity:0},400,function(){jQuery(this).hide();jQuery(".dslca-prompt-modal-cancel-hook").show();jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)});jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)}function dslc_modal_keypress_events(a){if(a.which==13){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-confirm-hook").trigger("click")}}else if(a.which==27){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")}}}jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id");var c=jQuery(".dslca-prompt-modal").data("target");if(b=="edit_in_progress"){dslc_module_options_cancel_changes(function(){c.trigger("click")})}else if(b=="delete_module"){}dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")});a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id");var d=jQuery(".dslca-prompt-modal").data("target");var e=true;if(c=="edit_in_progress"){dslc_module_options_confirm_changes(function(){d.trigger("click")})}else if(c=="disable_lc"){window.location=d}else if("delete_module"===c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"===c){var g=d.closest(".dslc-modules-area");var h=g.closest(".dslc-modules-section-inner");dslc_modules_area_delete(g)}else if(c=="delete_modules_section"){dslc_row_delete(d.closest(".dslc-modules-section"))}else if(c=="export_modules_section"){}else if(c=="import_modules_section"){dslc_row_import(a(".dslca-prompt-modal textarea").val());a(".dslca-prompt-modal-confirm-hook span").css({opacity:0});a(".dslca-prompt-modal-confirm-hook .dslca-loading").show();e=false}if(e)dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")})});jQuery.fn.outerHide=function(a){var b=jQuery;a=a?a:{};var c=this;if("destroy"==a){b(document).unbind("click.outer_hide");return false}b(document).bind("click.outer_hide",function(d){if(b(d.target).closest(c).length==0&&d.target!=c&&b.inArray(b(d.target)[0],b(a.clickObj))==-1&&b(c).css("display")!="none"){if(a.clbk){a.clbk()}else{b(c).hide()}}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_module_copy(a(this).closest(".dslc-module-front"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-module-hook",function(c){c.preventDefault();if(!b())return false;var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){var a=jQuery(d).closest(".dslc-module-front");dslc_delete_module(a)}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-edit-hook, .dslc-module-front > div:not(.dslca-module-manage)",function(b){if(dslcDebug)console.log("dslca-module-edit-hook");b.preventDefault();var c=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var d=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||c>0||d>0){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0]!=jQuery(this).closest(".dslc-module-front")[0]){LiveComposer.Builder.UI.shakePanelConfirmButton()}return false}var e=a(this).closest(".dslc-module-front"),f=e.data("dslc-module-id");a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");e.addClass("dslca-module-being-edited");dslc_module_options_show(f);jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("module-editing-in-progress")});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){jQuery(".dslca-change-width-module-options",this).toggle();a(this).closest(".dslc-module-front").toggleClass("dslca-change-width-active")}});LiveComposer.Builder.PreviewAreaDocument.on("mouseleave",".dslca-change-width-module-options",function(b){jQuery(this).hide();a(this).closest(".dslc-module-front").removeClass("dslca-change-width-active")});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front");var c=dslc_dm_get_defaults(b);var d='<span class="dslca-prompt-modal-title">Module Defaults</span>'+'<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'+"<textarea></textarea><br><br>";a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK');dslc_js_confirm("dev_mode_get_default",d,b)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-refresh-module-hook",function(a){jQuery(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"});jQuery(this).closest(".dslc-module-front").addClass("dslca-module-being-edited");dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-wysiwyg-actions-edit-hook",function(){var a=jQuery(this).parent().siblings(".dslca-editable-content");var b=a.closest(".dslc-module-front");if(b.hasClass("dslc-module-handle-like-accordion")){LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(b.find(".dslc-accordion"));var c=b.find('.dslca-module-option-front[data-id="accordion_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-accordion-item").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(b.hasClass("dslc-module-handle-like-tabs")){LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(b.find(".dslc-tabs"));var c=b.find('.dslca-module-option-front[data-id="tabs_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-tabs-tab-content").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else{var f=b.find('.dslca-module-option-front[data-id="'+a.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}if(f.includes("%")){f=f.replace(/%\(\(%/g,"[");f=f.replace(/%\)\)%/g,"]");f=f.replace(/%\(%/g,"[");f=f.replace(/%\)%/g,"]");f=f.replace(/%\{%/g,"[");f=f.replace(/%\}%/g,"]")}if(typeof tinymce!="undefined"){var g=tinymce.get("dslcawpeditor");if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){g.setContent(f,{format:"html"})}else{jQuery("textarea#dslcawpeditor").val(f)}if(!b.hasClass("dslca-module-being-edited")){b.find(".dslca-module-edit-hook").trigger("click")}jQuery(".dslca-wp-editor").show();a.addClass("dslca-wysiwyg-active");jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else{console.info("Live Composer: TinyMCE is undefined.")}});LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){dslc_editable_content_gen_code(jQuery(this))}}).on("paste",".dslca-editable-content:not(.inline-editor)",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){var a=jQuery(this);setTimeout(function(){if(a.data("type")=="simple"){a.html(a.text())}dslc_editable_content_gen_code(a)},100)}}).on("focus",".dslca-editable-content",function(){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).trigger("blur")}}).on("keyup",".dslca-editable-content",function(){if(jQuery(this).data("type")=="simple"){jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}})});function dslc_module_delete(a){if(dslcDebug)console.log("dslc_delete_module");a.addClass("dslca-module-being-deleted");if(a.hasClass("dslca-module-being-edited")){dslc_show_section(".dslca-modules")}setTimeout(function(){a.remove();dslc_generate_code();dslc_show_publish_button()},1e3);a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){if(dslcDebug)console.log("dslc_copy_module");jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");var b=a[0].cloneNode(true);jQuery(b).appendTo(a.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).addClass("dslca-module-being-edited");dslc_module_new_id(b);dslc_generate_code();jQuery(b).css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300);dslc_show_publish_button()}function dslc_module_new_id(a){var b=LiveComposer.Utils.get_unique_id();var c=a.getAttribute("id");a.setAttribute("data-module-id",b);a.setAttribute("id","dslc-module-"+b);var d=a.getElementsByTagName("style")[0];var e=d.textContent;d.setAttribute("id","#css-for-dslc-module-"+b);e=e.split(c).join("dslc-module-"+b);d.textContent=e;LiveComposer.Utils.update_module_property_raw(a,"module_instance_id",b)}function dslc_module_width_set(a,b){if(dslcDebug)console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c);a[0].setAttribute("data-dslc-module-size",b);LiveComposer.Utils.update_module_property_raw(a[0],"dslc_m_size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();dslc_generate_code();dslc_show_publish_button()}function dslc_module_options_show(a){if(dslcDebug)console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(e);var f={};f["action"]="dslc-ajax-display-module-options";f["dslc"]="active";f["dslc_module_id"]=a;f["dslc_post_id"]=jQuery(".dslca-container").data("data-post-id");f.dslc_url_vars=LiveComposer.Utils.get_page_params();c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();if(c.includes("%")){c=c.replace(/%\(\(%/g,"[");c=c.replace(/%\)\)%/g,"]");c=c.replace(/%\(%/g,"[");c=c.replace(/%\)%/g,"]");c=c.replace(/%\{%/g,"[");c=c.replace(/%\}%/g,"]")}f[b]=c});jQuery(".dslca-wp-editor-actions").hide();jQuery(".dslca-wp-editor-notification").show();dslc_hide_publish_button();LiveComposer.Builder.UI.initInlineEditors();var g=jQuery(".dslca-module-options-front",b).children().clone();LiveComposer.Builder.moduleBackup=g;LiveComposer.Builder.Flags.panelOpened=true;e.show();e.addClass("show");jQuery.post(DSLCAjax.ajaxurl,f,function(a){e.remove();dslc_show_section(".dslca-module-edit");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html(a.output)}else{jQuery(".dslca-module-edit-options-inner").html(a.output)}jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs);var b=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each(function(){var a=jQuery(this).data("section");if(b.indexOf(a)==-1){b.push(a)}});var c=b.length;for(var f=0;f<c;f++){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+b[f]+'"]').show()}if(jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show();jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")}else{jQuery(".dslca-header .dslca-options-filter-hook:first").hide();jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")}jQuery(".dslca-module-edit-actions").show();jQuery(".dslca-wp-editor-notification").hide();jQuery(".dslca-wp-editor-actions").show();jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery(".dslca-row-edit-actions").hide();LiveComposer.Builder.UI.loadOptionsDeps()})}function dslc_module_output_default(a,b){if(dslcDebug)console.log("dslc_module_output_default");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:true},function(a){b(a)})}function dslc_module_output_altered(a){if(dslcDebug)console.log("dslc_module_output_altered");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");if(b.hasClass("dslca-preload-preset"))f["dslc_preload_preset"]="enabled";else f["dslc_preload_preset"]="disabled";b.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});f.dslc_url_vars=LiveComposer.Utils.get_page_params();jQuery.post(DSLCAjax.ajaxurl,f,function(c){var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");c=null;d=null;LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var e=new Event("dslc_module_output_altered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(e);if(a){a(c)}})}function dslc_module_output_reload(a,b){if(dslcDebug)console.log("dslc_module_output_reload");b=typeof b!=="undefined"?b:false;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");f["dslc_preload_preset"]="enabled";a.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>');jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited");a.remove();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();if(b){b(c)}jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}"use strict";LiveComposer.Builder.Elements.CModuleArea=function(a){var b=this;this.section=jQuery(a).closest(".dslc-modules-section");this.elem=a;this.observer=new mqMutationObserver(a,function(){var c=b.elem.classList;if(a.querySelectorAll(".dslc-module-front").length==0){c.add("dslc-modules-area-empty");c.remove("dslc-modules-area-not-empty")}else{c.remove("dslc-modules-area-empty");c.add("dslc-modules-area-not-empty")}},{childList:true});this.sortable=Sortable.create(a,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML);
2
- },onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(a){a.oldIndex;a.newIndex;a.preventDefault();dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(a){var c=a.item;a.from;if(jQuery(c).data("id")=="DSLC_M_A"){dslc_modules_area_add(jQuery(b.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner"));c.remove()}},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;if(jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,function(){})}}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",true)});jQuery(document).on("LC.sortableOn",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",false)})};"use strict";jQuery(document).on("editorFrameLoaded",function(){function a(){var a=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(a).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)})}var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};if(!jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length&&!jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length){dslc_row_add(a())}else{a()}LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty");if(!c){var d=jQuery(this);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){var a=d.closest(".dslc-modules-area");dslc_modules_area_delete(a)}})}else{var e=jQuery(this).closest(".dslc-modules-area");dslc_delete_modules_area(e)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){if(jQuery(".dslca-change-width-modules-area-options:visible",this).length){jQuery(".dslca-change-width-modules-area-options",this).hide()}else{jQuery(".dslca-change-width-modules-area-options",this).show()}}});LiveComposer.Builder.PreviewAreaDocument.on("mouseleave",".dslca-change-width-modules-area-options",function(a){jQuery(this).hide()});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault();if(!b())return false;dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});function dslc_modules_area_add(a){if(dslcDebug)console.log("dslc_add_modules_area");var b='<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-empty " data-size="12">'+'<div class="dslca-modules-area-manage"> <div class="dslca-modules-area-manage-inner">'+'<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate" ><span class="dslca-icon dslc-icon-copy">'+'</span></span> <span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move" >'+'<span class="dslca-icon dslc-icon-move"></span></span>'+'<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width" >'+'<span class="dslca-icon dslc-icon-columns"></span> <div class="dslca-change-width-modules-area-options">'+'<span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>'+'<span data-size="3">3/12</span><span data-size="4">4/12</span> <span data-size="5">5/12</span><span data-size="6">6/12</span>'+'<span data-size="7">7/12</span><span data-size="8">8/12</span> <span data-size="9">9/12</span><span data-size="10">10/12</span>'+'<span data-size="11">11/12</span><span data-size="12">12/12</span> </div> </span>'+'<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete" ><span class="dslca-icon dslc-icon-remove"></span></span> </div> </div>'+"</div>";jQuery(b).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation");var c=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(c).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)});dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()}function dslc_modules_area_delete(a){if(dslcDebug)console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=false;a.addClass("dslca-modules-area-being-deleted");if(b.find(".dslc-modules-area").length<2){c=true}if(a.find(".dslca-module-being-edited").length){jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show();dslc_show_section(".dslca-modules")}setTimeout(function(){if(c){var d=a.closest(".dslc-modules-section-inner");if(2<=a.closest("#dslc-main").find(".dslc-modules-section").length){dslc_row_delete(a.closest(".dslc-modules-section"))}else{a.remove();dslc_modules_area_add(b)}}a.remove();dslc_generate_code();dslc_show_publish_button()},900);a.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,function(){a.remove();dslc_generate_code();dslc_show_publish_button()})}function dslc_modules_area_copy(a){if(dslcDebug)console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner");var d=a.clone().appendTo(c);new LiveComposer.Builder.Elements.CModuleArea(d[0]);d.find(".dslca-modules-area-manage").trigger("mouseleave");d.data("size",a.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");dslc_generate_code();a.animate({opacity:1},300)});dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()}function dslc_modules_area_width_set(a,b){if(dslcDebug)console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();if(LiveComposer.Builder.Flags.panelOpened){return false}dslc_generate_code();dslc_show_publish_button()}LiveComposer.Builder.moduleareas_init=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CModuleArea(this)}})};function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}"use strict";function dslc_update_preset(){if(dslcDebug)console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");if("none"!==b&&""!==b){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){if(b.preset_setting=="enabled"){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each(function(){dslc_module_output_reload(jQuery(this))})}})}}jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(b.which==13){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added");a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change");a(this).val("")}});a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})});"use strict";LiveComposer.Builder.Elements.CRow=function(a){var b=this;this.elem=a;var c=jQuery(a).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0];jQuery(a).droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner");var d=b.draggable.data("id");if(d=="DSLC_M_A"){dslc_modules_area_add(c)}}});this.sortable=jQuery(c).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:true,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty");c.siblings(".dslc-modules-section").each(function(){if(jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}})},remove:function(){jQuery(b.elem).find(".dslc-modules-area").length==0&&dslc_modules_area_add(jQuery(c))},update:function(a,b){dslc_generate_code();dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>");if(!jQuery(b.item).hasClass("dslc-12-col")){b.placeholder.width(b.item.width()-10)}else{b.placeholder.width(b.item.width()).css({margin:0})}jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress");jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(a,b){LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(a,b){}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){new LiveComposer.Builder.Elements.CRow(this)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",function(c){if(!b())return false;c.preventDefault();var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){dslc_row_delete(a(d).closest(".dslc-modules-section"))}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){dslc_row_import(jQuery(".dslca-prompt-modal textarea").val());jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0});jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>"+"["+dslc_generate_section_code(a(this).closest(".dslc-modules-section"))+"]"+"</textarea></span>"})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_row_copy(jQuery(this).closest(".dslc-modules-section"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",function(c){c.preventDefault();if(!b())return false;var d=a(this);if(!a(this).hasClass("dslca-action-disabled")){d.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin");dslc_row_add(function(){d.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",function(){if(!b())return false;var c=this;var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||d>0||e>0)return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_row_edit(a(this).closest(".dslc-modules-section"))}jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")})});function dslc_row_add(a){if(dslcDebug)console.log("dslc_row_add");a=typeof a!=="undefined"?a:false;var b=jQuery.Deferred();var c=sessionStorage;var d=jQuery();var e=c.getItem("cache-dslc-ajax-add-modules-section");if(null===e){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(e){c.setItem("cache-dslc-ajax-add-modules-section",e.output);d=dslc_row_after_add(e.output);if(a){a()}return b})}else{d=dslc_row_after_add(e);if(a){a()}return b}}function dslc_row_after_add(a){var b=jQuery(a);b.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(b);new LiveComposer.Builder.Elements.CModuleArea(b.find(".dslc-modules-area").eq(0)[0]);b.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");return b}function dslc_row_delete(a){if(dslcDebug)console.log("dslc_row_delete");if(a.find(".dslca-module-being-edited")){jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_section(".dslca-modules")}a.trigger("mouseleave").remove();dslc_generate_code();dslc_show_publish_button()}function dslc_row_edit(a){if(dslcDebug)console.log("dslc_row_edit");var b,c;jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made");a.addClass("dslca-modules-section-being-edited");jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show();jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-row-edit-actions").show();jQuery(".dslca-modules-section-edit-field").each(function(){if("type"===jQuery(this).data("id")){if(""===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||"wrapped"===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()){jQuery('select[data-id="type"]').val("wrapper").change()}}if(jQuery(this).data("id")=="border-top"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("top")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-right"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("right")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-bottom"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("bottom")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-left"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("left")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox")){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data("val"))>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else{jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val());if(jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()});jQuery(this).css({"background-color":a.val()})}}});jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");if(jQuery(this).val()&&jQuery(this).val()!=="disabled"){jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()}else{jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show()}});dslc_show_section(".dslca-modules-section-edit");LiveComposer.Builder.Flags.panelOpened=true;dslc_hide_publish_button()}function dslc_row_edit_cancel(a){if(dslcDebug)console.log("dslc_row_cancel_changes");a=typeof a!=="undefined"?a:false;LiveComposer.Builder.Flags.generate_code_after_row_changed=false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).val(jQuery(this).data("def"));jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")});LiveComposer.Builder.Flags.generate_code_after_row_changed=true;dslc_generate_code();dslc_show_publish_button();dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button;jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_edit_confirm(a){if(dslcDebug)console.log("dslc_confirm_row_changes");a=typeof a!=="undefined"?a:false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).data("def",jQuery(this).val())});dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");dslc_generate_code();dslc_show_publish_button();if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_copy(a){if(dslcDebug)console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument));c[0].removeAttribute("data-jsinit");c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"));this.removeAttribute("data-jsinit")});new LiveComposer.Builder.Elements.CRow(c);c.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_generate_code();dslc_drag_and_drop();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");a.animate({opacity:1},300);dslc_show_publish_button()});dslc_section_new_id(c[0])}function dslc_section_new_id(a){if(dslcDebug)console.log("dslc_section_new_id");var b=LiveComposer.Utils.get_unique_id();a.setAttribute("data-section-id",b);LiveComposer.Utils.update_section_property_raw(a,"section_instance_id",b)}function dslc_row_import(a){if(dslcDebug)console.log("dslc_row_import");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close();jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}jQuery(document).ready(function(a){a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)});a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)})});LiveComposer.Builder.rows_init=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CRow(this)}})};jQuery(document).ready(function(a){var b=function(a){var b=.75;var c=500;var d=100;var e=jQuery(".dslca-section-scroller",a);var f=jQuery(".dslca-section-scroller-inner",a)[0];e.on("wheel",function(a){g(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function g(a){if(a<0){a=-d}else{a=d}a=a*b;var c=e.find(".dslca-section-scroller-content").width();var g=e.width();if(c<=g)return false;var h=c-g+10;a=parseInt(f.style.left||0)-a;a=a>=0?0:a;a=a<=-h?-h:a;f.style.left=a+"px"}jQuery(".dslca-section-scroller-prev",a).click(function(a){a.preventDefault();g(-c)});jQuery(".dslca-section-scroller-next",a).click(function(a){a.preventDefault();g(c)});jQuery(window).load(function(){jQuery(window).resize(function(){g(0)})})};b(jQuery(".dslca-section.dslca-modules"));b(jQuery(".dslca-section.dslca-templates-load"))});jQuery(document).ready(function(a){LiveComposer.Builder.UI.initPreviewAreaScroller=function(){var a=5;var b=6;LiveComposer.Builder.Flags.windowScroller=false;jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",function(a){LiveComposer.Builder.UI.stopScroller()});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",function(a){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()})};LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{});clearInterval(LiveComposer.Builder.Flags.windowScroller);LiveComposer.Builder.Flags.windowScroller=false};jQuery("#scroller-stopper").on("dragover",function(){LiveComposer.Builder.UI.stopScroller()})});"use strict";LiveComposer.Builder.Elements.CSectionsContainer=function(a){var b=this;this.sortable=jQuery(a).sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"intersect",cursorAt:{bottom:10},axis:"y",scroll:true,scrollSensitivity:140,scrollSpeed:5,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>");jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")}});jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).ready(function(a){dslc_module_options_tooltip();dslc_module_options_font();dslc_module_options_icon();dslc_module_options_icon_returnid();dslc_module_options_text_align();dslc_module_options_checkbox();dslc_module_options_box_shadow();dslc_module_options_text_shadow();var b="";b+=".dslca-module-edit-field-colorpicker";
3
- b+=", .dslca-modules-section-edit-field-colorpicker";b+=", .dslca-module-edit-option-box-shadow-color";b+=", .dslca-module-edit-option-text-shadow-color";jQuery(document).on("click",b,function(){dslc_module_options_color(this);var a=jQuery(this).closest(".dslca-color-option");var b=jQuery(".dslca-module-edit-options-inner");var c=a.find(".wp-picker-holder");var d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px");jQuery(b).on("scroll",function(b){d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px")})});jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",function(){dslc_module_options_numeric(this)});jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",function(){dslc_module_options_numeric(this)});jQuery(".dslca-module-edit-form").submit(function(a){a.preventDefault();dslc_module_output_altered()});a(document).on("click",".dslca-module-edit-options-tab-hook",function(b){b.preventDefault();dslc_module_options_tab_filter(a(this))});a(document).on("click",".dslca-options-filter-hook",function(b){b.preventDefault();var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");var d=jQuery(this).data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");a(this).addClass("dslca-active");dslc_module_options_section_filter(d);if(c=="responsive"){jQuery(".dslca-container-loader").show();LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()});jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")}if(d=="responsive"){jQuery("#page-builder-preview-area").resizable()}});jQuery(document).on("click",".dslca-module-edit-save",function(a){a.preventDefault();dslc_module_options_confirm_changes(function(){LiveComposer.Builder.UI.initInlineEditors({withRemove:true});LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-cancel",function(a){a.preventDefault();dslc_module_options_cancel_changes(function(){LiveComposer.Builder.UI.initInlineEditors({withRemove:true});LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.initInlineEditors=function(a){a=a||{};if(a.withRemove==true){try{LiveComposer.Builder.PreviewAreaWindow.tinyMCE.remove()}catch(b){console.info("No tinyMCE code found. Error code: 10181116.")}}LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({selector:".inline-editor.dslca-editable-content",editor_deselector:"mce-content-body",menubar:false,inline:true,plugins:"wordpress wplink lists paste",paste_as_text:true,paste_block_drop:true,style_formats:[{title:"Paragraph",format:"p"},{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Header 4",format:"h4"},{title:"Header 5",format:"h5"},{title:"Header 6",format:"h6"}],toolbar:"styleselect | bold italic blockquote | removeformat | bullist numlist "})};LiveComposer.Builder.UI.clearUtils=function(){if(dslcDebug)console.log("LiveComposer.Builder.UI.clearUtils");LiveComposer.Builder.UI.clearColorPickers();if(undefined!==LiveComposer.Builder.moduleBackup){LiveComposer.Builder.moduleBackup.remove()}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".mce-tinymce",LiveComposer.Builder.PreviewAreaDocument).hide()};LiveComposer.Builder.UI.clearColorPickers=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){if(!jQuery(a).hasClass("dslca-modules-section-edit-field")){jQuery(a).remove()}});b.Helpers.colorpickers=[]}jQuery("body").off("click.wpcolorpicker")};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var b=this;var c=true;try{var d=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(e){c=false}if(c){var f=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&d[b.value]==undefined){return false}if(b.type=="checkbox"&&d[b.value]!=undefined){c[b.value]=d[b.value]}else{c=d}Object.keys(c).forEach(function(d){c[d].split(",").forEach(function(c){var e=a(".dslca-module-edit-option-"+c.trim()).closest(".dslca-module-edit-option");var f=true;if(b.type=="radio"||b.type=="checkbox"){f=a(b).is(":checked")}if(b.value==d&&f){e.show()}else{e.hide()}})})};a(document).on("change dslc-init-deps",'.dslca-module-edit-option *[data-id="'+a(this).data("id")+'"]',f);LiveComposer.Builder.Helpers.depsHandlers.push(f)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){LiveComposer.Builder.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});LiveComposer.Builder.Helpers.depsHandlers=[]};LiveComposer.Builder.Helpers.processInlineStyleTag=function(a){if(typeof a!="object")return false;var b="",c="";if(a.context.closest(".dslca-module-edit-option").data("tab")=="tablet_responsive"){b="@media only screen and (max-width: 1024px) and (min-width: 768px) {";c="}"}else if(a.context.closest(".dslca-module-edit-option").data("tab")=="phone_responsive"){b="@media only screen and (max-width: 767px) {";c="}"}a.styleContent=b+a.styleContent+c;var d=b+a.rule+a.elems;d=d.replace(/ /gi,"");if(LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d)==null){var e=document.createElement("style");e.innerHTML=a.styleContent;e.id=d;e.className="temp-styles-for-module";LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(e)}else{LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d).innerHTML=a.styleContent}};LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active");setTimeout(function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")},1e3)}})();function dslc_module_options_section_filter(a){if(dslcDebug)console.log("dslc_module_options_section_filter");jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show();dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){if(dslcDebug)console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a=typeof a!=="undefined"?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active");a.addClass("dslca-active");jQuery(".dslca-module-edit-options-tabs").show();jQuery(".dslca-module-edit-options-tab-hook").hide();jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]').show();if(c){jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show();dslc_module_options_hideshow_tabs();if(jQuery(".dslca-module-edit-options-tab-hook:visible").length<2){jQuery(".dslca-module-edit-options-tabs").hide()}else{jQuery(".dslca-module-edit-options-tabs").show()}dslc_disable_responsive_view();if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-tablet");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-phone");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"||c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})}}}function dslc_module_options_hideshow_tabs(){if(dslcDebug)console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(a=="styling"){var b=jQuery(".dslca-module-edit"),c=true,d=true,e=true,f=true,g=true,h=true,i=true,j=true,k=true,l=true,m=true,n=true,o=true,p=true,q=true,r=true,s=true,t=true,u=true,v=true,w=true,x=true,y=true,z=true,A=true,B=true;if(!jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked"))c=false;if(!jQuery('.dslca-module-edit-field[value="filters"]').is(":checked"))d=false;if(!jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked"))e=false;if(!jQuery('.dslca-module-edit-field[value="circles"]').is(":checked"))f=false;if(jQuery('.dslca-module-edit-field[data-id="type"]').val()!="carousel"){e=false;f=false}if(jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()=="disabled"){g=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")){h=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")){i=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")){j=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")){k=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")){l=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")){m=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")){o=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")){n=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")){p=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")){q=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")){r=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")){s=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")){t=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")){u=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")){v=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")){w=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")){x=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")){y=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")){z=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")){A=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")){B=false}if(c)jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide();if(d)jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide();if(e)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide();if(f)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide();if(g)jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide();if(h)jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide();if(i)jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide();if(j)jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide();if(k)jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide();if(l)jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide();if(m)jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide();if(o)jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide();if(n)jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide();if(p)jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide();if(r)jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide();if(q)jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide();if(s)jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide();if(t)jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide();if(u)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide();if(v)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide();if(w||x)jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide();if(y)jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide();if(z)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide();if(A)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide();if(B)jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Text_Simple"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_TP_Content"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Html"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Shortcode"){var C=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),D=C.find("select").val();if(D=="enabled"){jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"});jQuery(".dslca-module-edit-option[data-tab]").css("visibility","visible");jQuery(".dslca-module-edit-options-tabs").show()}else{jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"});jQuery(".dslca-module-control-group.dslca-module-edit-option").css("visibility","hidden");jQuery(".dslca-module-edit-options-tabs").hide();C.css({visibility:"visible"})}}}else{jQuery(".dslca-module-edit-options-tabs").show()}if(jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden");jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible");jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","visible")}if(jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden");jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible");jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","visible")}jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible")}function dslc_module_options_confirm_changes(a){if(dslcDebug)console.log("dslc_module_options_confirm_changes");a=typeof a!=="undefined"?a:false;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}else{jQuery("body").addClass("dslca-module-saving-in-progress");dslc_module_output_altered(function(){dslc_update_preset();dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery("body").removeClass("dslca-module-saving-in-progress");jQuery(".dslca-module-edit-options-inner").html("");jQuery(".dslca-module-edit-options-tabs").html("");LiveComposer.Builder.UI.clearUtils();if(a){a()}})}dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button()}function dslc_module_options_cancel_changes(a){if(dslcDebug)console.log("dslc_module_options_cancel_changes");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",b).html("").append(LiveComposer.Builder.moduleBackup);dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-module-edit-options-inner").html("");jQuery(".dslca-module-edit-options-tabs").html("");LiveComposer.Builder.UI.clearUtils();if(a){a()}});dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button();LiveComposer.Builder.UI.clearUtils()}function dslc_module_options_tooltip(){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()});jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d,e;e=c.parent();if(e.parent().hasClass("dslca-modules-section-edit-option")){d=c.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html()}else{d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html()}if(a.is(":visible")){jQuery(".dslca-module-edit-field-ttip").hide()}else{b.html(d);var f=c.offset();var g=a.outerHeight();var h=a.outerWidth();var i=f.left-h/2+6;var j="50%";if(i<0){j=h/2+i+"px";i=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:f.top-g-20,left:i});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+j+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip");var b=jQuery(this);if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-ttip").hide()}else{var c=b.offset();var d=a.outerHeight();var e=a.outerWidth();var f=c.left-e/2+6;var g="50%";if(f<0){g=e/2+f+"px";f=0}jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("click",".dslca-module-edit-field-font-prev",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");if(e<0){e=dslcAllFontsArray.length-1}c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,e=false,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){jQuery(".dslca-module-edit-field-font-prev",c).click()}if(a.which==40){jQuery(".dslca-module-edit-field-font-next",c).click()}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val();var g=[];var h=new RegExp("^"+d,"i");var i=dslcAllFontsArray.length;var j=0;do{if(h.test(dslcAllFontsArray[j])){if(!e){var e=dslcAllFontsArray[j]}}j++}while(j<i);if(!e){f=d;jQuery(".dslca-module-edit-field-font-suggest",c).hide()}else{f=e;jQuery(".dslca-module-edit-field-font-suggest",c).show()}jQuery(".dslca-module-edit-field-font-suggest",c).text(f);if(f.length){b.val(f.substring(0,b.val().length))}}});jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon");var d=jQuery(".dslca-module-edit-field-icon",c);var e=dslcIconsCurrentSet.indexOf(d.val());if(b=="previous"){var f=e-1}else{var f=e+1}jQuery(".dslca-module-edit-field-icon-suggest",c).text("");if(f<0){f=dslcIconsCurrentSet.length-1}d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){dslc_list_icon(b,"previous")}if(a.which==40){dslc_list_icon(b,"next")}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val().toLowerCase();b.val(d);e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return a.indexOf(d)==0});f=e[0];jQuery(".dslca-module-edit-field-icon-suggest",c).text(f)}});jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")});jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change();dslc_hide_modal("",jQuery(".dslca-modal:visible"));jQuery("input.icon-modal-active").removeClass("icon-modal-active")})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active");a.addClass("dslca-active");d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this);var b=a.siblings('input[type="checkbox"]');if(b.prop("checked")){b.prop("checked",false);a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}else{b.prop("checked",true);a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}b.change()})}function dslc_module_options_box_shadow(){if(dslcDebug)console.log("dslc_module_options_box_shadow");jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, "+".dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread,"+" .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");if(h){h=" inset"}else{h=""}var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_module_options_text_shadow(){if(dslcDebug)console.log("dslc_module_options_text_shadow");jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,"+".dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val();var g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_module_options_color(a){if(dslcDebug)console.log("dslc_module_options_color");var b,c,d,e,f,g,h;var i=[],j,k;var l="dslcColors-"+document.domain;if(undefined!==localStorage[l]){j=JSON.parse(localStorage[l]);i=j}if(1>i.length){i.push("#78b")}if(2>i.length){i.push("#ab0")}if(3>i.length){i.push("#de3")}i.push("#fff");i.push("#000");i.push("rgba(0,0,0,0)");var m=a;jQuery(m).each(function(){var a=jQuery(this).closest(".dslca-color-option");var j=jQuery(this);h=jQuery(this).val();j.wpColorPicker({mode:"hsl",palettes:i,change:function(a,h){b=j;var i=j.wpColorPicker("color");if(i==null){e=""}else{e=i}b.val(e).trigger("change");b.css("background",e);c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made")}});var k=a.find(".wp-picker-holder .iris-picker");k.append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var m=a.find(".dslca-colorpicker-apply");j.wpColorPicker("open");jQuery(m).on("click",function(){if("#fff"!==e&&"#ffffff"!==e&&"#000"!==e&&"#000000"!==e&&"rgba(0,0,0,0)"!==e){if(undefined===localStorage[l]){var a=[e];localStorage[l]=JSON.stringify(a)}else{var a=JSON.parse(localStorage[l]);if(a.indexOf(e)==-1){a.unshift(e);if(3<a.length){a.pop()}}localStorage[l]=JSON.stringify(a)}}j.wpColorPicker("close")});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))})}function dslc_module_options_numeric(a){if(dslcDebug)console.log("dslc_module_options_numeric");var b=a;jQuery(b).each(function(){var a=jQuery(this);if(0===jQuery(".dslca-module-edit-field-slider",a).length){a.append('<div class="dslca-module-edit-field-slider"></div>')}var b=true;if(a.hasClass("dslca-modules-section-edit-option")){b=false}else{b=true}if(b){var c=a.find(".dslca-module-edit-field")}else{var c=a.find(".dslca-modules-section-edit-field")}if(a.hasClass("dslca-modules-section-edit-option")){var c=a.find(".dslca-modules-section-edit-field")}else{var c=a.find(".dslca-module-edit-field")}var d="",e=a.find(".dslca-module-edit-field-slider"),f=parseFloat(c.val()),g=parseFloat(c.data("max")),h=parseFloat(c.data("min")),i=parseFloat(c.data("increment")),j=g,k=h;var l=false;if(undefined!==c.data("onlypositive")&&1===c.data("onlypositive")){l=true}if(f>=g){g=f*2}if(!l&&f<=h){h=f*2}e.slider({min:h,max:g,step:i,value:c.val(),slide:function(a,b){c.val(b.value+d);c.trigger("change")},change:function(b,c){if(c.value>=g||c.value<=h){e.slider("destroy");dslc_module_options_numeric(a)}}});e.show();jQuery(a).on("mouseleave",function(){if(undefined!==e.slider("instance")){jQuery(e).slider("destroy")}e.remove()});if(c[0].classList.contains("slider-initiated"))return;
4
- c[0].classList.add("slider-initiated");c.on("keyup",function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;c.trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;c.trigger("change")}}if(a.keyCode==8||a.keyCode==45){c.trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){c.trigger("change")}var b=a.which?a.which:a.keyCode;if((b>=48&&b<=57||b>=96&&b<=105)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});c.on("change",function(a){if(l&&this.value<0){this.value=0}var c;if(b){c=jQuery(a.target.closest(".dslca-module-edit-option-slider"))}else{c=jQuery(a.target.closest(".dslca-modules-section-edit-option-slider"))}var d=c.find(".dslca-module-edit-field-slider");if(undefined!==d.slider("instance")){d.slider("value",this.value)}if(b){var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);e.addClass("dslca-module-change-made")}});return false})}function dslc_disable_responsive_view(){jQuery("html").removeClass("dslc-responsive-preview");jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}"use strict";function dslc_template_load(a){if(dslcDebug)console.log("dslc_load_template");var b,c;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_import(){if(dslcDebug)console.log("dslc_import_template");var a,b;jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:0});jQuery(".dslca-modal-templates-import .dslca-loading").show();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".dslca-modal-templates-import .dslca-loading").hide();jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1});dslc_hide_modal("",".dslca-modal-templates-import");LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_save(){if(dslcDebug)console.log("dslc_save_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},function(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){if(dslcDebug)console.log("dslc_delete_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-template",function(a){a.preventDefault();dslc_template_load(jQuery(this).data("id"))});a(".dslca-template-import-form").submit(function(a){a.preventDefault();dslc_template_import()});a(".dslca-template-save-form").submit(function(a){a.preventDefault();dslc_template_save()});a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation();dslc_template_delete(a(this).data("id"))})});"use strict";window.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};jQuery(document).on("click",".dslca-show-js-error-hook",function(a){a.preventDefault();var b=document.getElementById("dslca-js-errors-report");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:'<a href="https://livecomposerplugin.com/support/support-request/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Open Support Ticket</a>',content:'<span class="dslca-error-report">'+b.value+"</span>"})}});jQuery(document).ready(function(a){jQuery("#page-builder-frame")[0].contentWindow.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};dslca_update_report_log();jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show();window.previewAreaTinyMCELoaded=function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this;LiveComposer.Builder.PreviewAreaDocument=jQuery(this.document);jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();LiveComposer.Builder.UI.initInlineEditors();dslc_fix_contenteditable();var b=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new LiveComposer.Builder.Elements.CSectionsContainer(b);jQuery(document).trigger("editorFrameLoaded");dslc_drag_and_drop();dslc_generate_code();dslc_keypress_events();LiveComposer.Builder.UI.initPreviewAreaScroller()}});jQuery(document).on("click",".dslca-currently-editing",function(){var a=false,b=false,c;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#5890e5"}else if(jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#eabba9"}if(a){b=a.offset().top-100;if(b<0){b=0}var d=[];jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:b},300,function(){a.removeAttr("style")})}});jQuery(window).keypress(function(a){if((a.metaKey||a.ctrlKey)&&a.keyCode==83){dslc_ajax_save_composer();a.preventDefault();return false}});jQuery(document).on("click",".dslca-hide-composer-hook",function(a){a.preventDefault();dslc_hide_composer()});jQuery(document).on("click",".dslca-show-composer-hook",function(a){a.preventDefault();dslc_show_composer()});jQuery(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault();dslc_show_section(".dslca-modules")});jQuery(document).on("click",".dslca-go-to-section-hook",function(a){a.preventDefault();if(jQuery(this).hasClass("dslca-active")){return}var b=jQuery(this).data("section");dslc_show_section(b);if(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates")){jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}});jQuery(document).on("click",".dslca-close-composer-hook",function(a){a.preventDefault();var b=jQuery(this).attr("href");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=b}})}});jQuery(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()});jQuery(document).on("click",".dslca-section-title",function(a){a.stopPropagation();if(jQuery(".dslca-section-title-filter",this).length){dslc_generate_filters();jQuery(".dslca-section-title-filter-options").slideToggle(300)}});jQuery(document).on("click",".dslca-section-title-filter-options a",function(a){a.preventDefault();a.stopPropagation();var b=jQuery(this).data("origin");var c=jQuery(this).closest(".dslca-section");if(c.hasClass("dslca-templates-load")){jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}else{jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}jQuery(".dslca-section-scroller-inner").css({left:0});dslc_filter_origin(b,c);jQuery(".dslca-section-title-filter-options").slideToggle(300)});function dslc_hide_composer(){if(dslcDebug)console.log("dslc_hide_composer");jQuery(".dslca-hide-composer-hook").hide();jQuery(".dslca-show-composer-hook").show();jQuery("body").addClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:jQuery(".dslca-container").outerHeight()*-1});jQuery(".dslca-header").hide()}function dslc_show_composer(){if(dslcDebug)console.log("dslc_show_composer");jQuery(".dslca-show-composer-hook").hide();jQuery(".dslca-hide-composer-hook").show();jQuery("body").removeClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:0});jQuery(".dslca-header").show()}function dslc_show_publish_button(){if(dslcDebug)console.log("dslc_show_publish_button");jQuery(".dslca-save-composer").show().addClass("dslca-init-animation");jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")}function dslc_hide_publish_button(){if(dslcDebug)console.log("dslc_hide_publish_button");jQuery(".dslca-save-composer").hide();jQuery(".dslca-save-draft-composer").hide()}function dslc_show_section(a){if(dslcDebug)console.log("dslc_show_section");var b=jQuery(a).data("title"),c=jQuery(a).data("bg");jQuery(".dslca-container").css({bottom:-500});jQuery(".dslca-section").hide();jQuery(a).show();if(a==".dslca-module-edit"){jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element")}else if(a==".dslca-modules-section-edit"){jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row")}else{jQuery(".dslca-currently-editing").hide().find("strong").text("")}dslc_module_options_tab_filter();jQuery(".dslca-container").css({bottom:0});jQuery(a).find("input.dslca-module-edit-field-colorpicker").each(function(a){jQuery(this).css("background",jQuery(this).val())})}function dslc_generate_filters(){if(dslcDebug)console.log("dslc_generate_filters");var a,b=[],c='<a html="#" data-origin="">Show All</a>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this);if(jQuery.inArray(a.data("origin"),b)==-1){b.push(a.data("origin"));c+='<a href="#" data-origin="'+a.data("origin")+'">'+a.data("origin")+"</a>"}});jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){if(dslcDebug)console.log("dslc_filter_origin");jQuery(".dslca-origin",b).attr("data-display-module","false");jQuery('.dslca-origin[data-origin="'+a+'"]',b).attr("data-display-module","true");if(a==""){jQuery(".dslca-origin",b).attr("data-display-module","true");jQuery(".dslca-origin.dslca-exclude",b).attr("data-display-module","false")}}function dslc_drag_and_drop(){if(dslcDebug)console.log("dslc_drag_and_drop");var a,b,c,d;var e=jQuery(".dslca-modules .dslca-section-scroller-content");if(e.length==0){e=[document.createElement("div")]}var f=Sortable.create(e[0],{sort:false,group:{name:"modules",pull:"clone",put:false},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(a){a.oldIndex;a.newIndex;var e=a.item;a.preventDefault();if(jQuery(e).closest(".dslca-section-scroller-content").length>0)return false;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered");b=jQuery(e.parentNode);c=e.dataset.id;dslc_generate_code();if(c=="DSLC_M_A"||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length){}else{jQuery("body").addClass("dslca-module-drop-in-progress");dslc_module_output_default(c,function(a){d=a.output;var c=LiveComposer.Builder.Helpers.insertModule(d,jQuery(".dslca-module",b));setTimeout(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();jQuery("body").removeClass("dslca-module-drop-in-progress")},700);jQuery(".dslca-no-content-primary",b).css({opacity:1});jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"});LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.UI.initInlineEditors()});jQuery(e).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin");jQuery(".dslca-no-content-primary",b).css({opacity:0});jQuery(".dslca-modules-area-manage",b).css({visibility:"hidden"})}LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(a){var b=a.item;a.from},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){a.preventDefault()},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;jQuery(a.to).addClass("dslca-options-hovered")}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_fix_contenteditable(){LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",false)});LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",true)})}function dslc_toogle_control(a){if(a===undefined)a=false;if(!a)return;var b=jQuery(".dslca-module-edit-option-"+a);var c=b.find(".dslca-module-edit-field");var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var e=d[0].id;var f="";if("tablet_responsive"===b.data("tab")){f="body.dslc-res-tablet "}else if("phone_responsive"===b.data("tab")){f="body.dslc-res-phone "}var g=c.data("affect-on-change-el");if(g===undefined)return;var h=g.split(",");g="";for(var i=0;i<h.length;i++){if(i>0){g+=", "}g+=f+"#"+e+" "+h[i]}var j=c.data("affect-on-change-rule").replace(/ /g,"");var k=j.split(",");var l;var m=c.data("ext");b.toggleClass("dslca-option-off");if(b.hasClass("dslca-option-off")){l=dslc_get_control_value(a);c.data("val-bckp",l);for(var i=0;i<k.length;i++){jQuery(g,LiveComposer.Builder.PreviewAreaDocument).css(k[i],"");disable_css_rule(g,k[i],e)}c.val("").trigger("change")}else{c.val(c.data("val-bckp")).trigger("change");l=dslc_get_control_value(a);l=dslc_combine_value_and_extension(l,m||"");for(var i=0;i<k.length;i++){var n=g+"{"+k[i]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:b,rule:k[i],elems:g.replace(new RegExp("#"+e,"gi"),"").trim(),styleContent:n})}}}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",function(a){a.preventDefault();var b=jQuery(a.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(b)});jQuery(document).on("mousedown",".dslca-module-edit-option",function(b){var c=a(".dslc-control-toggle");if(!c.is(b.target)&&c.has(b.target).length===0){if(jQuery(b.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")){var d=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(d)}}})});function disable_css_rule(a,b,c){var d;var e="css-for-"+c;var f=document.getElementById("page-builder-frame").contentWindow.document.getElementById(e);a=a.replace(/\s\s+/g," ");if(f){f=f.sheet;if(f["rules"]){d="rules"}else if(f["cssRules"]){d="cssRules"}else{}for(var g=0;g<f[d].length;g++){if(f[d][g].selectorText==a){if(f[d][g].style[b]){f[d][g].style[b]="";break}}}}}function dslc_combine_value_and_extension(a,b){if(""===a||null===a){return a}if(a.indexOf(b)==-1){a=a+b}return a}function dslc_get_control_value(a){var b=jQuery(".dslca-module-edit-option-"+a);var c="text";var d=b.find(".dslca-module-edit-field");var e;e=d.val();return e}function dslc_keypress_events(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",function(a){dslc_modal_keypress_events(a);dslc_disable_backspace_navigation(a);dslc_notice_on_refresh(a);dslc_save_page(a)})}function dslc_disable_backspace_navigation(a){var b=false;if(a.keyCode===8){var c=a.srcElement||a.target;if(c.tagName.toUpperCase()==="INPUT"&&(c.type.toUpperCase()==="TEXT"||c.type.toUpperCase()==="PASSWORD"||c.type.toUpperCase()==="NUMBER"||c.type.toUpperCase()==="FILE")||c.tagName.toUpperCase()==="TEXTAREA"||jQuery(c).hasClass("dslca-editable-content")||jQuery(c).hasClass("dslc-tabs-nav-hook-title")||jQuery(c).hasClass("dslc-accordion-title")){b=c.readOnly||c.disabled}else{b=true}}if(b){a.preventDefault()}}function dslc_notice_on_refresh(a){if(a.which==116||a.which===82&&a.metaKey){if(jQuery(".dslca-save-composer-hook").offsetParent!==null||jQuery(".dslca-module-edit-save").offsetParent!==null){a.preventDefault();LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}})}}}function dslc_save_page(a){if(a.which==83&&(a.metaKey||a.ctrlKey)){if(jQuery(".dslca-save-composer-hook").css("display")=="block"){dslc_save_composer();a.preventDefault();return false}}}function dslca_generate_error_report(a,b,c,d){var e="JavaScript error detected in a third-party plugin";if(b.match("wp-content/plugins/live-composer-page-builder/js")!=null){e="Live Composer returned JS error"}var f="";f+='<br /><strong style="color:#E55F5F;">'+e+"</strong><br />";f+=a+'<br /> File "'+b+'", line '+c+", char "+d+"<br />";if("undefined"!==typeof Storage){localStorage.setItem("js_errors_report",f)}}function dslca_update_report_log(){var a=document.getElementById("dslca-js-errors-report");var b=localStorage.getItem("js_errors_report");if(null!==b){a.value=b;localStorage.removeItem("js_errors_report");document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")}}jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=a("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument);var c="";b.each(function(b,d){var e=a(d).data("editing-link");var f=a(d).data("editing-type");var g=a(d).data("editing-label");var h=a(d).data("editing-sublabel");c+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+e+'" class="dslc-hf-block-overlay-button dslca-link">'+g+"</a>";if(h!==undefined){c+=' <span class="dslc-hf-block-overlay-text">'+h+"</span>"}c+="</div>";var i=document.createElement("div");i.innerHTML=c;d.append(i)})});"use strict";LiveComposer.Utils={addslashes:function(a){a=a.replace(/\\/g,"\\\\");a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\0/g,"\\0");return a},basename:function(a){return a.split(/[\\\/]/).pop()},msieversion:function(){var a=window.navigator.userAgent;var b=a.indexOf("MSIE ");if(b>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return parseInt(a.substring(b+5,a.indexOf(".",b)))}else{return false}},checkParams:function(a){if(!Array.isArray(a)){throw"Param is not array"}var b={integer:function(a){return isNaN(parseInt(a))},"float":function(a){return isNaN(parseFloat(a))},string:function(a){return a!=null&&a!=undefined&&typeof a=="string"},array:function(a){return Array.isArray(a)},object:function(a){return typeof a=="object"}};a.map(function(a){if(!b[a[1]](a[0])){throw"Param "+a[0]+" is not "+a[1]}})},utf8_to_b64:function(a){return window.btoa(unescape(encodeURIComponent(a)))},b64_to_utf8:function(a){return decodeURIComponent(escape(window.atob(a)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce(function a(b,c){c=c.split("=");b[c[0]]=c[1];return b},{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-module-code")[0];var e=a.querySelector('.dslca-module-option-front[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},update_section_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-section-code")[0];var e=a.querySelector('.dslca-modules-section-settings input[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.setAttribute("value",c);e.setAttribute("data-def",c)},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery(document).trigger({type:a,message:{details:b}});LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(a,b)}};"use strict";function dslc_dm_get_defaults(a){if(dslcDebug)console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslc_editable_content_gen_code(a){if(dslcDebug)console.log("dslc_editable_content_gen_code");if(undefined===a){return false}var b,c,d;b=a.closest(".dslc-module-front");c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");d=a.data("id");jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c)}function dslc_filter_textarea(a){if(dslcDebug)console.log("dslc_filter_textarea");if(undefined===a){return false}var b;b=a.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");return b}window.onbeforeunload=function(){return};jQuery(document).ready(function(a){jQuery(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,e,f,g,h,i,j,k,l;b=a(this);c=b.data("id");f=b.val();g=f;h=f+b.data("ext");i=b.data("css-rule");d=a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);k=d;j=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d);d.addClass("dslca-modules-section-change-made");if(b.hasClass("dslca-modules-section-edit-field-upload")){if(f&&f.length){f=a('.dslca-modules-section-settings input[data-id="dslca-img-url"]',d).val()}}if(i=="background-image"){f='url("'+f+'")';LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}if(c=="bg_image_attachment"){d.removeClass("dslc-init-parallax")}if(c=="border-top"||c=="border-right"||c=="border-bottom"||c=="border-left"){var m=a('.dslca-modules-section-settings input[data-id="border_style"]').val();j=a('.dslca-modules-section-settings input[data-id="border"]',d);g="";var n=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");n.find(".dslca-modules-section-edit-field-checkbox").each(function(){if(a(this).is(":checked")){if(a(this).data("id")=="border-top"){g+="top "}else if(a(this).data("id")=="border-right"){g+="right "}else if(a(this).data("id")=="border-bottom"){g+="bottom "}else if(a(this).data("id")=="border-left"){g+="left "}}});if(b.is(":checked")){if(b.data("id")=="border-top"){d.css({"border-top-style":m})}else if(b.data("id")=="border-right"){d.css({"border-right-style":m})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":m})}else if(b.data("id")=="border-left"){d.css({"border-left-style":m})}}else{if(b.data("id")=="border-top"){d.css({"border-top-style":"hidden"})}else if(b.data("id")=="border-right"){d.css({"border-right-style":"hidden"})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":"hidden"})}else if(b.data("id")=="border-left"){d.css({"border-left-style":"hidden"})}}}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var o=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox");var p="";o.each(function(){if(a(this).prop("checked")){p+=a(this).data("val")+" "}});var g=p;if(b.data("id")=="show_on"){if(p.indexOf("desktop")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop")}if(p.indexOf("tablet")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet")}if(p.indexOf("phone")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")}}}else if(c=="bg_image_attachment"&&f=="parallax"||c=="type"){if(c=="bg_image_attachment"){d.addClass("dslc-init-parallax");LiveComposer.Builder.PreviewAreaWindow.dslc_parallax()}else if(c=="type"){if(f=="full"){d.addClass("dslc-full")}else{d.removeClass("dslc-full")}LiveComposer.Builder.PreviewAreaWindow.dslc_masonry()}}else if(c=="columns_spacing"){if(f=="nospacing"){d.addClass("dslc-no-columns-spacing")}else{d.removeClass("dslc-no-columns-spacing")}}else if(c=="custom_class"){}else if(c=="custom_id"){}else if(c=="bg_video"){jQuery(".dslc-bg-video video",d).remove();if(f&&f.length){var q=f;q=q.replace(".webm","");q=q.replace(".mp4","");jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+q+'.mp4" /><source type="video/webm" src="'+q+'.webm" /></video>');LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(c=="bg_image_thumb"){if(g=="enabled"){if(jQuery("#dslca-post-data-thumb").length){var r="url('"+jQuery("#dslca-post-data-thumb").val()+"')";k.css(i,r)}}else if(g=="disabled"){k.css(i,"none")}}else{if(b.data("css-element")){k=jQuery(b.data("css-element"),d)}i=i.replace(/ /g,"").split(",");var s;if(null!=b.data("ext")){s=h}else{s=f}for(var t=0;t<i.length;t++){k.css(i[t],s)}}j.val(g);if(!LiveComposer.Builder.Flags.generate_code_after_row_changed)return false});jQuery(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front");var d=a(this).data("dslc-option-id");var e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e);dslc_module_output_altered()});jQuery(document).on("change",".dslca-module-edit-field",function(){if(dslcDebug)console.log("on change event for .dslca-module-edit-field");var b="",c="",d=jQuery(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),h=g.data("dslc-module-id"),i=jQuery(".dslca-module-options-front textarea",g);g.addClass("dslca-module-change-made");if(f.hasClass("dslca-module-edit-option-select")||f.hasClass("dslca-module-edit-option-checkbox")){dslc_module_options_hideshow_tabs()}if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")=="active"){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(a(this).prop("checked")){b=b+jQuery(this).val()+" "}})}else if(d.hasClass("dslca-module-edit-option-radio")){var b=jQuery(".dslca-module-edit-field:checked",d).val()}else{var b=d.val();if(e=="orientation"&&b=="horizontal"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("40").trigger("change")}else if(e=="orientation"&&b=="vertical"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("100").trigger("change")}}b=dslc_filter_textarea(b);jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b);jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made");if(e=="css_load_preset"&&!jQuery("body").hasClass("dslca-new-preset-added")){dslc_module_options_show(h);jQuery(".dslca-container-loader").hide()}else{jQuery(".dslca-container-loader").hide()}jQuery("body").removeClass("dslca-new-preset-added");LiveComposer.Utils.publish("LC.moduleChange",{moduleId:h,optionID:e,optionVal:d.val()})})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l=l+":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;var q=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);if(d.val().length&&dslcGoogleFontsArray.indexOf(d.val())!==-1){document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[l]},active:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var c=m.split(",");var e="#"+q[0].id+" "+c.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:e})},inactive:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}})}else{setTimeout(function(){if(jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var a=m.split(",");var b="#"+q[0].id+" "+a.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:b})},100)}}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(jQuery(this).prop("checked")){b=b+"solid ";c=c+a(this).val()+" "}else{b=b+"none "}})}if(!d.hasClass("dslca-module-edit-field-font")&&d.data("affect-on-change-el")!=null&&d.data("affect-on-change-rule")!=null){var r=d.data("ext")||"";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");
5
- var o=d.val();var p=o;if(d.hasClass("dslca-module-edit-field-checkbox")){o=b;p=c}if(d.hasClass("dslca-module-edit-field-image")){o='url("'+o+'")'}if(null!==o&&o.length<1&&(n=="background-color"||n=="background")){o="transparent"}n.split(",").forEach(function(a){a=a.replace(/\s+/g,"");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var c=m.split(",");var e="#"+b[0].id+" "+c.join(", #"+b[0].id+" ")+" {"+a+": "+o+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:a,elems:m,styleContent:e})})}var s="";if(e.indexOf("css_")!==-1){s=p}else{s=d.val()}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(s);LiveComposer.Utils.publish("LC.moduleChange",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}})});jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook")){var c=a.siblings(".dslca-module-edit-field-image");var d=a.siblings(".dslca-module-edit-field-image-remove-hook")}else{var c=a.siblings(".dslca-modules-section-edit-field-upload");var d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook")}var e=false;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e});b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id);var f=a.parent().attr("data-id");if(e.alt!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(e.alt)}if(e.title!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(e.title)}jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(e.url);c.trigger("change");a.hide();d.show()});b.open()});jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook")){var b=a.siblings(".dslca-module-edit-field-image");var c=a.siblings(".dslca-module-edit-field-image-add-hook")}else{var b=a.siblings(".dslca-modules-section-edit-field-upload");var c=a.siblings(".dslca-modules-section-edit-field-image-add-hook")}b.val("").trigger("change");var d=a.parent().attr("data-id");if(d=="image"){jQuery(".dslca-module-edit-option-image_alt input").attr("value","").trigger("change");jQuery(".dslca-module-edit-option-image_alt input").attr("data-val-bckp","").trigger("change");jQuery(".dslca-module-edit-option-image_title input").attr("value","").trigger("change");jQuery(".dslca-module-edit-option-image_title input").attr("data-val-bckp","").trigger("change")}a.hide();c.show()});jQuery(document).on("click",".dslca-wp-editor-save-hook",function(){var a=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if(typeof tinymce!="undefined"){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){var b=tinymce.get("dslcawpeditor");var c=b.getContent()}else{var c=jQuery("#dslcawpeditor").val()}jQuery(".dslca-wp-editor").hide();jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(c);if(a.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(c);var d=a.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(d)}else if(a.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(c);var e=a.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(e)}dslc_editable_content_gen_code(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else{console.info("Live Composer: TinyMCE is undefined.")}});jQuery(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide();a(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})});
1
+ "use strict";function dslc_ui_animations(){if(dslcDebug)console.log("dslc_ui_animations");jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered")}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<190)jQuery(".dslca-module-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){if(!jQuery("body").hasClass("dslca-composer-hidden")){}});jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){if(jQuery(this).height()<130)jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal");else jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal")}}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){var b=jQuery(this);if(!jQuery("body").hasClass("dslca-composer-hidden")){}})}jQuery(document).ready(function(){dslc_ui_animations()});"use strict";function dslc_save_composer(){if(dslcDebug)console.log("dslc_save_composer");dslc_generate_code();dslca_gen_content_for_search();var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:c,dslc_code:a,dslc_content_for_search:b},timeout:3e4}).done(function(a){if(a.status=="success"){jQuery(".dslca-save-composer").fadeOut(250);jQuery(".dslca-save-draft-composer").fadeOut(250);jQuery("body").append('<iframe class="lbmn-cache-iframe" id="lbmn-cache-iframe-'+c+'" src="'+DSLCSiteData.siteurl+"/?p="+c+'" ></iframe>');jQuery(".lbmn-cache-iframe").each(function(a,b){jQuery(b).load(function(){jQuery(b).remove()})})}else{alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}}).fail(function(a){if(a.statusText=="timeout"){alert("The request timed out after 30 seconds. Server do not respond in time. Please try again.")}else{alert("Something went wrong. Please try again. Error Code: "+a.statusText)}}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok");jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){if(dslcDebug)console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress");jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save");if(a.status=="success"){jQuery(".dslca-save-draft-composer").fadeOut(250)}else{alert("Something went wrong, please try to save again.")}jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){if(dslcDebug)console.log("dslc_generate_code");var a="",b,c="",d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="",o;jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(".dslc-module-front",this).length){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content",this).hide()}else{jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300)}});jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){m=jQuery(this);o=dslc_generate_section_code(m);m.find(".dslca-section-code").val(o);d=d+o+","});d=d.slice(0,-1);d="["+d+"]";jQuery("#dslca-code").val(d);jQuery("#dslca-export-code").val(d)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b="",c,d="",e="",f=12,g=12,h=0,i=0,j,k,l,m,n,o="",p="",q;n=a;if(jQuery(".dslc-modules-area",n).length){n.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{n.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",this).removeClass("dslc-last-col dslc-first-col");i=0;p=n.find(".dslca-section-code").val();q=JSON.parse(p);o="";jQuery(".dslca-modules-section-settings input",n).each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();o=o+b+'="'+c+'" ';q[b]=c});if(undefined!==q["give_new_id"]){delete q["give_new_id"]}q["content"]=[];jQuery(".dslc-modules-area",n).each(function(){h=0;k=jQuery(this);j=parseInt(k.data("size"));l="no";m="no";i+=j;jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");if(i==g){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");i=0;l="yes"}else if(i>g){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");i=j;m="yes"}if(i==j){m="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}var a='{"element_type":"module_area","last":"'+l+'","first":"'+m+'","size":"'+j+'"}';a=JSON.parse(a);if(undefined!==a["give_new_id"]){delete a["give_new_id"]}a.content=[];jQuery(".dslc-module-front",k).each(function(){var d=jQuery(this);c=parseInt(d[0].getAttribute("data-dslc-module-size"));var e="no";var g="no";jQuery(this).removeClass("dslc-first-col");jQuery(this).removeClass("dslc-last-col");h+=c;if(h==f){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");h=0;e="yes";g="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=c;g="yes"}if(h==c){g="yes";jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col")}try{b=d[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+d[0].getAttribute("id"))}if(""!==b){var j=JSON.parse(b);j.last=e;jQuery.each(j,function(a,b){if(false===b||""===b){delete j[a]}if("give_new_id"===a){delete j[a]}});d[0].querySelector(".dslca-module-code").value=JSON.stringify(j);a["content"].push(j)}b=""});q["content"].push(a)});var r=JSON.stringify(q);return r}jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_composer()}});a(document).on("click",".dslca-save-draft-composer-hook",function(b){b.preventDefault();if(!a("body").hasClass("dslca-module-saving-in-progress")&&!a("body").hasClass("dslca-saving-in-progress")){dslc_save_draft_composer()}})});function dslca_gen_content_for_search(){if(dslcDebug)console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search");if(null===a){return}var b=a.value;var c="";var d=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");if(undefined!==d){Array.prototype.forEach.call(d,function(a,b){var d;if(a.getAttribute("data-exportable-content")!==""){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else{d=a.innerHTML}if(d!==null){c+=d.replace(/\s+/g," ").trim()+"\n"}})}a.value=c;if(b!==c){dslc_show_publish_button()}}var massagesTicker=jQuery("#editor-messages").newsTicker({row_height:40,max_rows:2,speed:900,direction:"up",duration:12e3,autostart:1,pauseOnHover:1,start:function(){jQuery("#editor-messages").css("opacity","1")}});jQuery(document).ready(function(a){a(document).on("click",".dslc-editor-messages-hide",function(b){var c=a(".dslc-editor-messages-hide").data("can-hide");if(c=="1"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-hidden-panel"});a(".dslc-editor-messages-section-122017").css("display","none");a(".dslca-container").removeClass("active-message-panel")}else{a("#editor-messages").html('<div class="dslc-notice"><a href="https://livecomposerplugin.com/hide-messages/?utm_source=editing-screen&utm_medium=editor-messages&utm_campaign=hide-messages" target="_blank">Only users who support our plugin development can hide this panel. <b>Click to learn more.</b></a></div>')}});if(a("div.dslc-editor-messages-section-122017").length){a(".dslc-editor-messages-section-122017").css("display","block");a(".dslca-container").addClass("active-message-panel")}});"use strict";var dslcRegularFontsArray=DSLCFonts.regular;var dslcGoogleFontsArray=DSLCFonts.google;var dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray);var dslcIconsCurrentSet=DSLCIcons.fontawesome;var dslcDebug=false;var LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}};(function(){LiveComposer.Builder.Flags={windowScroller:false,panelOpened:false,generate_code_after_row_changed:true};LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(a){if(a===undefined){return}if(isNaN(this.postponed_actions_queue[a])){this.postponed_actions_queue[a]=0}this.postponed_actions_queue[a]+=1},release_postponed_actions:function(){var a=this;jQuery.each(this.postponed_actions_queue,function(b,c){if(1<c){a.postponed_actions_queue[b]-=1}else if(1==c){window[b]();a.postponed_actions_queue[b]-=1}})}};LiveComposer.Builder.Helpers.insertModule=function(a,b){var c=jQuery(a),b=jQuery(b);var d=[];c.find("script").each(function(){d.push(this.innerHTML);this.parentNode.removeChild(this)});b.after(c).remove();d.forEach(function(a){var b=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");b.innerHTML=a;b.type="text/javascript";LiveComposer.Builder.PreviewAreaDocument[0].getElementById(c[0].id).appendChild(b)});d=null;b=null;return c}})();"use strict";LiveComposer.Builder.UI.CModalWindow=function(a){if(typeof a!="object"||this.instancesExists===true)return false;var b=this;var c='<div class="dslca-prompt-modal dslca-prompt-modal-active">'+'<div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg">'+'<span class="dslca-prompt-modal-title">'+a.title+"</span>"+'<span class="dslca-prompt-modal-descr">'+a.content+"</span></div>";var d="";if(a.confirm||a.cancel){d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.confirm_title?a.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove">'+"</span>"+(a.cancel_title?a.cancel_title:"Cancel")+"</span></div>"}else{d='<div class="dslca-prompt-modal-actions">'+'<a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok">'+"</span>"+(a.ok_title?a.ok_title:"OK")+"</a></div>"}c+=d+"</div>";c=jQuery(c);if(typeof a.confirm!="function")a.confirm=function(){};if(typeof a.cancel!="function")a.cancel=function(){};c.find(".dslca-prompt-modal-confirm-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){a.confirm();b.instancesExists=false;jQuery(this).remove()});return false});c.find(".dslca-prompt-modal-cancel-hook").click(function(d){d.stopPropagation();c.find(".dslca-prompt-modal-content").animate({top:"55%"},400);c.animate({opacity:0},400,function(){jQuery(this).remove();b.instancesExists=false;a.cancel()});return false});c.hide();jQuery("body").append(c);c.css({opacity:0}).show().animate({opacity:1},400);c.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400);this.instancesExists=true};"use strict";function dslc_show_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_show_modal");if(jQuery(".dslca-modal:visible").length){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}var b=jQuery(b);var c=jQuery(".dslca-container").height();b.outerHide({clbk:function(){dslc_hide_modal("",jQuery(".dslca-modal:visible"))}});var d=jQuery(a).position(),e=b.outerWidth()/2-a.outerWidth()/2,f=d.left-e;b.css({left:f});jQuery(".dslca-prompt-modal-custom").insertAfter(b);if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeIn()}b.addClass("dslca-modal-open").show()}function dslc_hide_modal(a,b){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_hide_modal");console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();if(jQuery(".dslca-prompt-modal-custom").length>0){jQuery(".dslca-prompt-modal-custom").fadeOut()}b.removeClass("dslca-modal-open")}jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(a){a.preventDefault();var b=jQuery(this).data("modal");dslc_show_modal(jQuery(this),b)});jQuery(document).on("click",".dslca-close-modal-hook",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-action-disabled")){var b=jQuery(this).data("modal");dslc_hide_modal(jQuery(this),b)}})});function dslc_js_confirm(a,b,c){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_js_confirm");jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").data("id",a);jQuery(".dslca-prompt-modal").data("target",c);jQuery(".dslca-prompt-modal-msg").html(b);jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400);jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){if(typeof dslcDebug!=="undefined"&&dslcDebug)console.log("dslc_js_confirm_close");jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active");jQuery(".dslca-prompt-modal").animate({opacity:0},400,function(){jQuery(this).hide();jQuery(".dslca-prompt-modal-cancel-hook").show();jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)});jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)}function dslc_modal_keypress_events(a){if(a.which==13){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-confirm-hook").trigger("click")}}else if(a.which==27){if(jQuery(".dslca-prompt-modal-active").length){jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")}}}jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id");var c=jQuery(".dslca-prompt-modal").data("target");if(b=="edit_in_progress"){dslc_module_options_cancel_changes(function(){c.trigger("click")})}else if(b=="delete_module"){}dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")});a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id");var d=jQuery(".dslca-prompt-modal").data("target");var e=true;if(c=="edit_in_progress"){dslc_module_options_confirm_changes(function(){d.trigger("click")})}else if(c=="disable_lc"){window.location=d}else if("delete_module"===c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"===c){var g=d.closest(".dslc-modules-area");var h=g.closest(".dslc-modules-section-inner");dslc_modules_area_delete(g)}else if(c=="delete_modules_section"){dslc_row_delete(d.closest(".dslc-modules-section"))}else if(c=="export_modules_section"){}else if(c=="import_modules_section"){dslc_row_import(a(".dslca-prompt-modal textarea").val());a(".dslca-prompt-modal-confirm-hook span").css({opacity:0});a(".dslca-prompt-modal-confirm-hook .dslca-loading").show();e=false}if(e)dslc_js_confirm_close();jQuery(".dslca-prompt-modal").data("id","")})});jQuery.fn.outerHide=function(a){var b=jQuery;a=a?a:{};var c=this;if("destroy"==a){b(document).unbind("click.outer_hide");return false}b(document).bind("click.outer_hide",function(d){if(b(d.target).closest(c).length==0&&d.target!=c&&b.inArray(b(d.target)[0],b(a.clickObj))==-1&&b(c).css("display")!="none"){if(a.clbk){a.clbk()}else{b(c).hide()}}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-module-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_module_copy(a(this).closest(".dslc-module-front"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-module-hook",function(c){c.preventDefault();if(!b())return false;var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){var a=jQuery(d).closest(".dslc-module-front");dslc_delete_module(a)}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-edit-hook, .dslc-module-front > div:not(.dslca-module-manage)",function(b){if(dslcDebug)console.log("dslca-module-edit-hook");b.preventDefault();var c=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var d=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||c>0||d>0){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0]!=jQuery(this).closest(".dslc-module-front")[0]){LiveComposer.Builder.UI.shakePanelConfirmButton()}return false}var e=a(this).closest(".dslc-module-front"),f=e.data("dslc-module-id");a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");e.addClass("dslca-module-being-edited");dslc_module_options_show(f);jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("module-editing-in-progress")});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-module-options span",function(){if(!jQuery(this).hasClass("dslca-action-disabled")){var a=jQuery(this).closest(".dslc-module-front");var b=a.data("dslc-module-size");var c=jQuery(this).data("size");if(Number(b)!==Number(c)){dslc_module_width_set(a,c)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front");var c=dslc_dm_get_defaults(b);var d='<span class="dslca-prompt-modal-title">Module Defaults</span>'+'<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'+"<textarea></textarea><br><br>";a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK');dslc_js_confirm("dev_mode_get_default",d,b)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-refresh-module-hook",function(a){jQuery(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"});jQuery(this).closest(".dslc-module-front").addClass("dslca-module-being-edited");dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-wysiwyg-actions-edit-hook",function(){var a=jQuery(this).parent().siblings(".dslca-editable-content");var b=a.closest(".dslc-module-front");if(b.hasClass("dslc-module-handle-like-accordion")){LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(b.find(".dslc-accordion"));var c=b.find('.dslca-module-option-front[data-id="accordion_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-accordion-item").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(b.hasClass("dslc-module-handle-like-tabs")){LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(b.find(".dslc-tabs"));var c=b.find('.dslca-module-option-front[data-id="tabs_content"]').val();var d=c.split("(dslc_sep)");var e=a.closest(".dslc-tabs-tab-content").index();var f=d[e].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else{var f=b.find('.dslca-module-option-front[data-id="'+a.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}if(f.includes("%")){f=f.replace(/%\(\(%/g,"[");f=f.replace(/%\)\)%/g,"]");f=f.replace(/%\(%/g,"[");f=f.replace(/%\)%/g,"]");f=f.replace(/%\{%/g,"[");f=f.replace(/%\}%/g,"]")}if(typeof tinymce!="undefined"){var g=tinymce.get("dslcawpeditor");if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){g.setContent(f,{format:"html"})}else{jQuery("textarea#dslcawpeditor").val(f)}if(!b.hasClass("dslca-module-being-edited")){b.find(".dslca-module-edit-hook").trigger("click")}jQuery(".dslca-wp-editor").show();a.addClass("dslca-wysiwyg-active");jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else{console.info("Live Composer: TinyMCE is undefined.")}});LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){dslc_editable_content_gen_code(jQuery(this))}}).on("paste",".dslca-editable-content:not(.inline-editor)",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&jQuery(this).data("type")=="simple"){var a=jQuery(this);setTimeout(function(){if(a.data("type")=="simple"){a.html(a.text())}dslc_editable_content_gen_code(a)},100)}}).on("focus",".dslca-editable-content",function(){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).trigger("blur")}}).on("keyup",".dslca-editable-content",function(){if(jQuery(this).data("type")=="simple"){jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}})});function dslc_module_delete(a){if(dslcDebug)console.log("dslc_delete_module");a.addClass("dslca-module-being-deleted");if(a.hasClass("dslca-module-being-edited")){dslc_show_section(".dslca-modules")}setTimeout(function(){a.remove();dslc_generate_code();dslc_show_publish_button()},1e3);a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){if(dslcDebug)console.log("dslc_copy_module");jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");var b=a[0].cloneNode(true);jQuery(b).appendTo(a.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).addClass("dslca-module-being-edited");dslc_module_new_id(b);dslc_generate_code();jQuery(b).css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300);dslc_show_publish_button()}function dslc_module_new_id(a){var b=LiveComposer.Utils.get_unique_id();var c=a.getAttribute("id");a.setAttribute("data-module-id",b);a.setAttribute("id","dslc-module-"+b);var d=a.getElementsByTagName("style")[0];var e=d.textContent;d.setAttribute("id","#css-for-dslc-module-"+b);e=e.split(c).join("dslc-module-"+b);d.textContent=e;LiveComposer.Utils.update_module_property_raw(a,"module_instance_id",b)}function dslc_module_width_set(a,b){if(dslcDebug)console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("dslc-module-size",b);a[0].setAttribute("data-dslc-module-size",b);LiveComposer.Utils.update_module_property_raw(a[0],"dslc_m_size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();dslc_generate_code();dslc_show_publish_button()}function dslc_module_options_show(a){if(dslcDebug)console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(e);var f={};f["action"]="dslc-ajax-display-module-options";f["dslc"]="active";f["dslc_module_id"]=a;f["dslc_post_id"]=jQuery(".dslca-container").data("data-post-id");f.dslc_url_vars=LiveComposer.Utils.get_page_params();c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();if(c.includes("%")){c=c.replace(/%\(\(%/g,"[");c=c.replace(/%\)\)%/g,"]");c=c.replace(/%\(%/g,"[");c=c.replace(/%\)%/g,"]");c=c.replace(/%\{%/g,"[");c=c.replace(/%\}%/g,"]")}f[b]=c});jQuery(".dslca-wp-editor-actions").hide();jQuery(".dslca-wp-editor-notification").show();dslc_hide_publish_button();var g=jQuery(".dslca-module-options-front",b).children().clone();LiveComposer.Builder.moduleBackup=g;LiveComposer.Builder.Flags.panelOpened=true;e.show();e.addClass("show");jQuery.post(DSLCAjax.ajaxurl,f,function(a){e.remove();dslc_show_section(".dslca-module-edit");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html(a.output)}else{jQuery(".dslca-module-edit-options-inner").html(a.output)}jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs);var b=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each(function(){var a=jQuery(this).data("section");if(b.indexOf(a)==-1){b.push(a)}});var c=b.length;for(var f=0;f<c;f++){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+b[f]+'"]').show()}if(jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length){jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show();jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")}else{jQuery(".dslca-header .dslca-options-filter-hook:first").hide();jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")}jQuery(".dslca-module-edit-actions").show();jQuery(".dslca-wp-editor-notification").hide();jQuery(".dslca-wp-editor-actions").show();jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery(".dslca-row-edit-actions").hide();LiveComposer.Builder.UI.loadOptionsDeps()})}function dslc_module_output_default(a,b){if(dslcDebug)console.log("dslc_module_output_default");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:true},function(a){b(a)})}function dslc_module_output_altered(a){if(dslcDebug)console.log("dslc_module_output_altered");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");if(b.hasClass("dslca-preload-preset"))f["dslc_preload_preset"]="enabled";else f["dslc_preload_preset"]="disabled";b.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});f.dslc_url_vars=LiveComposer.Utils.get_page_params();jQuery.post(DSLCAjax.ajaxurl,f,function(c){var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");c=null;d=null;LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var e=new Event("dslc_module_output_altered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(e);if(a){a(c)}})}function dslc_module_output_reload(a,b){if(dslcDebug)console.log("dslc_module_output_reload");b=typeof b!=="undefined"?b:false;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id");var f={};f["action"]="dslc-ajax-add-module";f["dslc"]="active";f["dslc_module_id"]=c;f["dslc_module_instance_id"]=e;f["dslc_post_id"]=jQuery(".dslca-container").data("post-id");f["dslc_preload_preset"]="enabled";a.removeClass("dslca-preload-preset");d.each(function(){var a=jQuery(this);var b=a.data("id");var c=a.val();f[b]=c});a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>');jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited");a.remove();dslc_generate_code();dslc_show_publish_button();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();if(b){b(c)}jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}"use strict";LiveComposer.Builder.Elements.CModuleArea=function(a){var b=this;this.section=jQuery(a).closest(".dslc-modules-section");this.elem=a;this.observer=new mqMutationObserver(a,function(){var c=b.elem.classList;if(a.querySelectorAll(".dslc-module-front").length==0){c.add("dslc-modules-area-empty");c.remove("dslc-modules-area-not-empty")}else{c.remove("dslc-modules-area-empty");c.add("dslc-modules-area-not-empty")}},{childList:true});this.sortable=Sortable.create(a,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(a){a.oldIndex;a.newIndex;a.preventDefault();dslc_generate_code();LiveComposer.Builder.UI.stopScroller();
2
+ jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(a){var c=a.item;a.from;if(jQuery(c).data("id")=="DSLC_M_A"){dslc_modules_area_add(jQuery(b.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner"));c.remove()}},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;if(jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0){jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty");jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,function(){})}}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",true)});jQuery(document).on("LC.sortableOn",function(){b.sortable&&b.sortable.option&&b.sortable.option("disabled",false)})};"use strict";jQuery(document).on("editorFrameLoaded",function(){function a(){var a=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(a).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)})}var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};if(!jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length&&!jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length){dslc_row_add(a())}else{a()}LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var c=jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty");if(!c){var d=jQuery(this);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){var a=d.closest(".dslc-modules-area");dslc_modules_area_delete(a)}})}else{var e=jQuery(this).closest(".dslc-modules-area");dslc_delete_modules_area(e)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){var a=jQuery(this).closest(".dslc-modules-area");var c=a.data("size");var d=jQuery(this).data("size");if(Number(c)!==Number(d)){dslc_modules_area_width_set(a,d)}}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault();if(!b())return false;dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))})});function dslc_modules_area_add(a){if(dslcDebug)console.log("dslc_add_modules_area");var b='<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-empty " data-size="12">'+'<div class="dslca-modules-area-manage"> <div class="dslca-modules-area-manage-inner">'+'<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate" ><span class="dslca-icon dslc-icon-copy">'+'</span></span> <span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move" >'+'<span class="dslca-icon dslc-icon-move"></span></span>'+'<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width" >'+'<span class="dslca-icon dslc-icon-columns"></span> <div class="dslca-change-width-modules-area-options">'+'<span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>'+'<span data-size="3">3/12</span><span data-size="4">4/12</span> <span data-size="5">5/12</span><span data-size="6">6/12</span>'+'<span data-size="7">7/12</span><span data-size="8">8/12</span> <span data-size="9">9/12</span><span data-size="10">10/12</span>'+'<span data-size="11">11/12</span><span data-size="12">12/12</span> </div> </span>'+'<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete" ><span class="dslca-icon dslc-icon-remove"></span></span> </div> </div>'+"</div>";jQuery(b).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation");var c=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(c).each(function(a,b){new LiveComposer.Builder.Elements.CModuleArea(b)});dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()}function dslc_modules_area_delete(a){if(dslcDebug)console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=false;a.addClass("dslca-modules-area-being-deleted");if(b.find(".dslc-modules-area").length<2){c=true}if(a.find(".dslca-module-being-edited").length){jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide();jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show();dslc_show_section(".dslca-modules")}setTimeout(function(){if(c){var d=a.closest(".dslc-modules-section-inner");if(2<=a.closest("#dslc-main").find(".dslc-modules-section").length){dslc_row_delete(a.closest(".dslc-modules-section"))}else{a.remove();dslc_modules_area_add(b)}}a.remove();dslc_generate_code();dslc_show_publish_button()},900);a.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,function(){a.remove();dslc_generate_code();dslc_show_publish_button()})}function dslc_modules_area_copy(a){if(dslcDebug)console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner");var d=a.clone().appendTo(c);new LiveComposer.Builder.Elements.CModuleArea(d[0]);d.find(".dslca-modules-area-manage").trigger("mouseleave");d.data("size",a.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");dslc_generate_code();a.animate({opacity:1},300)});dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()}function dslc_modules_area_width_set(a,b){if(dslcDebug)console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("size",b);LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();if(LiveComposer.Builder.Flags.panelOpened){return false}dslc_generate_code();dslc_show_publish_button()}LiveComposer.Builder.moduleareas_init=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CModuleArea(this)}})};function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}"use strict";function dslc_update_preset(){if(dslcDebug)console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");if("none"!==b&&""!==b){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){if(b.preset_setting=="enabled"){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each(function(){dslc_module_output_reload(jQuery(this))})}})}}jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(b.which==13){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added");a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change");a(this).val("")}});a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})});"use strict";LiveComposer.Builder.Elements.CRow=function(a){var b=this;this.elem=a;var c=jQuery(a).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0];jQuery(a).droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner");var d=b.draggable.data("id");if(d=="DSLC_M_A"){dslc_modules_area_add(c)}}});this.sortable=jQuery(c).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:true,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty");c.siblings(".dslc-modules-section").each(function(){if(jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length){jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty")}else{jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}})},remove:function(){jQuery(b.elem).find(".dslc-modules-area").length==0&&dslc_modules_area_add(jQuery(c))},update:function(a,b){dslc_generate_code();dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>");if(!jQuery(b.item).hasClass("dslc-12-col")){b.placeholder.width(b.item.width()-10)}else{b.placeholder.width(b.item.width()).css({margin:0})}jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress");jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(a,b){LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(a,b){}});jQuery(a).attr("data-jsinit","initialized");jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=function(){if(LiveComposer.Builder.Flags.panelOpened){LiveComposer.Builder.UI.shakePanelConfirmButton();return false}return true};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){new LiveComposer.Builder.Elements.CRow(this)});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",function(c){if(!b())return false;c.preventDefault();var d=this;if(!a(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){dslc_row_delete(a(d).closest(".dslc-modules-section"))}})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",function(a){a.preventDefault();if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){dslc_row_import(jQuery(".dslca-prompt-modal textarea").val());jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0});jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",function(c){c.preventDefault();if(!b())return false;if(!a(this).hasClass("dslca-action-disabled")){a(".dslca-prompt-modal-cancel-hook").hide();a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok);LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>"+"["+dslc_generate_section_code(a(this).closest(".dslc-modules-section"))+"]"+"</textarea></span>"})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",function(){if(!b())return false;if(!jQuery(this).hasClass("dslca-action-disabled")){dslc_row_copy(jQuery(this).closest(".dslc-modules-section"))}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",function(c){c.preventDefault();if(!b())return false;var d=a(this);if(!a(this).hasClass("dslca-action-disabled")){d.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin");dslc_row_add(function(){d.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})}});LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",function(){if(!b())return false;var c=this;var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;var e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(a("body").hasClass("dslca-composer-hidden")||d>0||e>0)return false;if(!a(this).hasClass("dslca-action-disabled")){dslc_row_edit(a(this).closest(".dslc-modules-section"))}jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")})});function dslc_row_add(a){if(dslcDebug)console.log("dslc_row_add");a=typeof a!=="undefined"?a:false;var b=jQuery.Deferred();var c=sessionStorage;var d=jQuery();var e=c.getItem("cache-dslc-ajax-add-modules-section");if(null===e){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(e){c.setItem("cache-dslc-ajax-add-modules-section",e.output);d=dslc_row_after_add(e.output);if(a){a()}return b})}else{d=dslc_row_after_add(e);if(a){a()}return b}}function dslc_row_after_add(a){var b=jQuery(a);b.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(b);new LiveComposer.Builder.Elements.CModuleArea(b.find(".dslc-modules-area").eq(0)[0]);b.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");return b}function dslc_row_delete(a){if(dslcDebug)console.log("dslc_row_delete");if(a.find(".dslca-module-being-edited")){jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_section(".dslca-modules")}a.trigger("mouseleave").remove();dslc_generate_code();dslc_show_publish_button()}function dslc_row_edit(a){if(dslcDebug)console.log("dslc_row_edit");var b,c;jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made");a.addClass("dslca-modules-section-being-edited");jQuery(".dslca-header .dslca-go-to-section-hook").hide();jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show();jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-row-edit-actions").show();jQuery(".dslca-modules-section-edit-field").each(function(){if("type"===jQuery(this).data("id")){if(""===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||"wrapped"===jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()){jQuery('select[data-id="type"]').val("wrapper").change()}}if(jQuery(this).data("id")=="border-top"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("top")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-right"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("right")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-bottom"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("bottom")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).data("id")=="border-left"){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf("left")>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox")){if(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().indexOf(jQuery(this).data("val"))>=0){jQuery(this).prop("checked",true);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}else{jQuery(this).prop("checked",false);jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}}else{jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]',LiveComposer.Builder.PreviewAreaDocument).val());if(jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()});jQuery(this).css({"background-color":a.val()})}}});jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");if(jQuery(this).val()&&jQuery(this).val()!=="disabled"){jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()}else{jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide();jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show()}});dslc_show_section(".dslca-modules-section-edit");LiveComposer.Builder.Flags.panelOpened=true;dslc_hide_publish_button()}function dslc_row_edit_cancel(a){if(dslcDebug)console.log("dslc_row_cancel_changes");a=typeof a!=="undefined"?a:false;LiveComposer.Builder.Flags.generate_code_after_row_changed=false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).val(jQuery(this).data("def"));jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")});LiveComposer.Builder.Flags.generate_code_after_row_changed=true;dslc_generate_code();dslc_show_publish_button();dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button;jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_edit_confirm(a){if(dslcDebug)console.log("dslc_confirm_row_changes");a=typeof a!=="undefined"?a:false;jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each(function(){jQuery(this).data("def",jQuery(this).val())});dslc_show_section(".dslca-modules");jQuery(".dslca-row-edit-actions").hide();jQuery(".dslca-row-options-filter-hook").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made");dslc_generate_code();dslc_show_publish_button();if(a){a()}LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress")}function dslc_row_copy(a){if(dslcDebug)console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument));c[0].removeAttribute("data-jsinit");c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"));this.removeAttribute("data-jsinit")});new LiveComposer.Builder.Elements.CRow(c);c.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);dslc_module_new_id(a[0]);LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_generate_code();dslc_drag_and_drop();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");a.animate({opacity:1},300);dslc_show_publish_button()});dslc_section_new_id(c[0])}function dslc_section_new_id(a){if(dslcDebug)console.log("dslc_section_new_id");var b=LiveComposer.Utils.get_unique_id();a.setAttribute("data-section-id",b);LiveComposer.Utils.update_section_property_raw(a,"section_instance_id",b)}function dslc_row_import(a){if(dslcDebug)console.log("dslc_row_import");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close();jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();LiveComposer.Builder.rows_init();LiveComposer.Builder.moduleareas_init();dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}jQuery(document).ready(function(a){a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)});a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel();a(".dslca-currently-editing").removeAttr("style");a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active");LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(true)})});LiveComposer.Builder.rows_init=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each(function(){if(jQuery(this).data("jsinit")!=="initialized"){new LiveComposer.Builder.Elements.CRow(this)}})};jQuery(document).ready(function(a){var b=function(a){var b=.75;var c=500;var d=100;var e=jQuery(".dslca-section-scroller",a);var f=jQuery(".dslca-section-scroller-inner",a)[0];e.on("wheel",function(a){g(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function g(a){if(a<0){a=-d}else{a=d}a=a*b;var c=e.find(".dslca-section-scroller-content").width();var g=e.width();if(c<=g)return false;var h=c-g+10;a=parseInt(f.style.left||0)-a;a=a>=0?0:a;a=a<=-h?-h:a;f.style.left=a+"px"}jQuery(".dslca-section-scroller-prev",a).click(function(a){a.preventDefault();g(-c)});jQuery(".dslca-section-scroller-next",a).click(function(a){a.preventDefault();g(c)});jQuery(window).load(function(){jQuery(window).resize(function(){g(0)})})};b(jQuery(".dslca-section.dslca-modules"));b(jQuery(".dslca-section.dslca-templates-load"))});jQuery(document).ready(function(a){LiveComposer.Builder.UI.initPreviewAreaScroller=function(){var a=5;var b=6;LiveComposer.Builder.Flags.windowScroller=false;jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",function(a){LiveComposer.Builder.UI.stopScroller()});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",function(c){if(LiveComposer.Builder.Flags.windowScroller!==false)return false;LiveComposer.Utils.publish("LC.sortableOff",{});LiveComposer.Builder.Flags.windowScroller=setInterval(function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-a)},b)});jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",function(a){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()})};LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{});clearInterval(LiveComposer.Builder.Flags.windowScroller);LiveComposer.Builder.Flags.windowScroller=false};jQuery("#scroller-stopper").on("dragover",function(){LiveComposer.Builder.UI.stopScroller()})});"use strict";LiveComposer.Builder.Elements.CSectionsContainer=function(a){var b=this;this.sortable=jQuery(a).sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"intersect",cursorAt:{bottom:10},axis:"y",scroll:true,scrollSensitivity:140,scrollSpeed:5,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress");b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>");jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){dslc_generate_code();LiveComposer.Builder.UI.stopScroller();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress");jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")}});jQuery(document).on("LC.sortableOff",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",true)}});jQuery(document).on("LC.sortableOn",function(){if(undefined!==b.sortable.sortable("instance")){b.sortable.sortable("option","disabled",false)}})};"use strict";jQuery(document).ready(function(a){dslc_module_options_tooltip();dslc_module_options_font();dslc_module_options_icon();dslc_module_options_icon_returnid();dslc_module_options_text_align();dslc_module_options_checkbox();dslc_module_options_box_shadow();dslc_module_options_text_shadow();var b="";b+=".dslca-module-edit-field-colorpicker";b+=", .dslca-modules-section-edit-field-colorpicker";b+=", .dslca-module-edit-option-box-shadow-color";b+=", .dslca-module-edit-option-text-shadow-color";jQuery(document).on("click",b,function(){dslc_module_options_color(this);var a=jQuery(this).closest(".dslca-color-option");var b=jQuery(".dslca-module-edit-options-inner");var c=a.find(".wp-picker-holder");var d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px");jQuery(b).on("scroll",function(b){d=a.offset();var e=d.left+15;var f=window.innerWidth;var g=260;if(f<e+g){e=f-g}c.css("left",e+"px")})});jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",function(){if(!jQuery(this).hasClass("dslca-module-edit-option-select")){dslc_module_options_numeric(this)}});jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",function(){
3
+ dslc_module_options_numeric(this)});jQuery(".dslca-module-edit-form").submit(function(a){a.preventDefault();dslc_module_output_altered()});a(document).on("click",".dslca-module-edit-options-tab-hook",function(b){b.preventDefault();dslc_module_options_tab_filter(a(this))});a(document).on("click",".dslca-options-filter-hook",function(b){b.preventDefault();var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");var d=jQuery(this).data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");a(this).addClass("dslca-active");dslc_module_options_section_filter(d);if(c=="responsive"){jQuery(".dslca-container-loader").show();LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()});jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")}if(d=="responsive"){jQuery("#page-builder-preview-area").resizable()}});jQuery(document).on("click",".dslca-module-edit-save",function(a){a.preventDefault();dslc_module_options_confirm_changes(function(){LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()});jQuery(document).on("click",".dslca-module-edit-cancel",function(a){a.preventDefault();dslc_module_options_cancel_changes(function(){LiveComposer.Builder.UI.unloadOptionsDeps();LiveComposer.Builder.Flags.panelOpened=false;jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")});jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active");dslc_disable_responsive_view()})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.clearUtils=function(){if(dslcDebug)console.log("LiveComposer.Builder.UI.clearUtils");LiveComposer.Builder.UI.clearColorPickers();if(undefined!==LiveComposer.Builder.moduleBackup){LiveComposer.Builder.moduleBackup.remove()}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".mce-tinymce",LiveComposer.Builder.PreviewAreaDocument).hide()};LiveComposer.Builder.UI.clearColorPickers=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){if(!jQuery(a).hasClass("dslca-modules-section-edit-field")){jQuery(a).remove()}});b.Helpers.colorpickers=[]}jQuery("body").off("click.wpcolorpicker")};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var b=this;var c=true;try{var d=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(e){c=false}if(c){var f=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&d[b.value]==undefined){return false}if(b.type=="checkbox"&&d[b.value]!=undefined){c[b.value]=d[b.value]}else{c=d}Object.keys(c).forEach(function(d){c[d].split(",").forEach(function(c){var e=a(".dslca-module-edit-option-"+c.trim()).closest(".dslca-module-edit-option");var f=true;if(b.type=="radio"||b.type=="checkbox"){f=a(b).is(":checked")}var g=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");if(b.value==d&&f){if(e.not(".dependent")){e.addClass("dependent")}if(e.hasClass("dep-hide")){e.removeClass("dep-hide");e.addClass("dep-show")}else{e.addClass("dep-show")}if(g==e.data("tab")){e.show()}}else{if(e.not(".dependent")){e.addClass("dependent")}if(e.hasClass("dep-show")){e.removeClass("dep-show");e.addClass("dep-hide")}else{e.addClass("dep-hide")}e.hide()}})})};a(document).on("change dslc-init-deps",'.dslca-module-edit-option *[data-id="'+a(this).data("id")+'"]',f);LiveComposer.Builder.Helpers.depsHandlers.push(f)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){LiveComposer.Builder.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});LiveComposer.Builder.Helpers.depsHandlers=[]};LiveComposer.Builder.Helpers.processInlineStyleTag=function(a){if(typeof a!="object")return false;var b="",c="";if(a.context.closest(".dslca-module-edit-option").data("tab")=="tablet_responsive"){b="@media only screen and (max-width: 1024px) and (min-width: 768px) {";c="}"}else if(a.context.closest(".dslca-module-edit-option").data("tab")=="phone_responsive"){b="@media only screen and (max-width: 767px) {";c="}"}a.styleContent=b+a.styleContent+c;var d=b+a.rule+a.elems;d=d.replace(/ /gi,"");if(LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d)==null){var e=document.createElement("style");e.innerHTML=a.styleContent;e.id=d;e.className="temp-styles-for-module";LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(e)}else{LiveComposer.Builder.PreviewAreaDocument[0].getElementById(d).innerHTML=a.styleContent}};LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active");setTimeout(function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")},1e3)}})();function dslc_module_options_section_filter(a){if(dslcDebug)console.log("dslc_module_options_section_filter");jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show();dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){if(dslcDebug)console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a=typeof a!=="undefined"?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active");a.addClass("dslca-active");jQuery(".dslca-module-edit-options-tabs").show();jQuery(".dslca-module-edit-options-tab-hook").hide();jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]').show();if(c){jQuery(".dslca-module-edit-option").hide();jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show();dslc_module_options_hideshow_tabs();if(jQuery(".dslca-module-edit-options-tab-hook:visible").length<2){jQuery(".dslca-module-edit-options-tabs").hide()}else{jQuery(".dslca-module-edit-options-tabs").show()}dslc_disable_responsive_view();if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-tablet");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet");jQuery("body").addClass("dslc-res-phone");jQuery("html").addClass("dslc-responsive-preview")}if(c==DSLCString.str_res_tablet.toLowerCase()+"_responsive"||c==DSLCString.str_res_phone.toLowerCase()+"_responsive"){jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})}}}function dslc_module_options_hideshow_tabs(){if(dslcDebug)console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(a=="styling"){var b=jQuery(".dslca-module-edit"),c=true,d=true,e=true,f=true,g=true,h=true,i=true,j=true,k=true,l=true,m=true,n=true,o=true,p=true,q=true,r=true,s=true,t=true,u=true,v=true,w=true,x=true,y=true,z=true,A=true,B=true,C=true;if(!jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked"))c=false;if(!jQuery('.dslca-module-edit-field[value="filters"]').is(":checked"))d=false;if(!jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked"))e=false;if(!jQuery('.dslca-module-edit-field[value="circles"]').is(":checked"))f=false;if(jQuery('.dslca-module-edit-field[data-id="type"]').val()!="carousel"){e=false;f=false}if(jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()=="disabled"){g=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")){h=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")){i=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")){j=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")){k=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")){l=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")){m=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")){o=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")){n=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")){p=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")){q=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")){r=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")){s=false}if(jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")){t=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")){u=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")){v=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")){w=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")){x=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")){y=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")){z=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")){A=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")){B=false}if(!jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")){C=false}if(c)jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide();if(d)jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide();if(e)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide();if(f)jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide();if(g)jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide();if(h)jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide();if(i)jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide();if(j)jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide();if(k)jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide();if(l)jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"],'+' .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide();if(m)jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide();if(o)jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide();if(n)jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide();if(p)jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide();if(r)jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide();if(q)jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide();if(s)jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide();if(t)jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide();if(u)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide();if(v)jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide();if(w||x)jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide();if(y)jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide();if(z)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide();if(A)jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide();if(B)jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide();if(C)jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show();else jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Text_Simple"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_TP_Content"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Html"||jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).data("dslc-module-id")=="DSLC_Shortcode"){var D=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),E=D.find("select").val();if(E=="enabled"){jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"});jQuery(".dslca-module-edit-option[data-tab]").css("visibility","visible");jQuery(".dslca-module-edit-options-tabs").show()}else{jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"});jQuery(".dslca-module-control-group.dslca-module-edit-option").css("visibility","hidden");jQuery(".dslca-module-edit-options-tabs").hide();D.css({visibility:"visible"})}}}else{jQuery(".dslca-module-edit-options-tabs").show()}if(jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden");jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible");jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').css("visibility","visible")}if(jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()=="disabled"){jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden");jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","hidden")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible");jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').css("visibility","visible")}jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible");if(jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var F=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if(jQuery('.dslca-module-edit-option[data-section="'+F+'"]').hasClass("dep-show")){jQuery(".dslca-module-edit-option.dep-show").show()}if(jQuery('.dslca-module-edit-option[data-section="'+F+'"]').hasClass("dep-hide")){jQuery(".dslca-module-edit-option.dep-hide").hide()}}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var G=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");console.log(G);if(jQuery('.dslca-module-edit-option[data-tab="'+G+'"]').hasClass("dependent")){jQuery(".dslca-module-edit-option.dependent").hide();jQuery('.dslca-module-edit-option[data-tab="'+G+'"].dep-show').show();jQuery('.dslca-module-edit-option[data-tab="'+G+'"].dep-hide').hide();console.log("1")}else{jQuery(".dslca-module-edit-option.dependent").hide();console.log("2")}}}function dslc_module_options_confirm_changes(a){if(dslcDebug)console.log("dslc_module_options_confirm_changes");a=typeof a!=="undefined"?a:false;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}else{jQuery("body").addClass("dslca-module-saving-in-progress");dslc_module_output_altered(function(){dslc_update_preset();dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery("body").removeClass("dslca-module-saving-in-progress");jQuery(".dslca-module-edit-options-inner").html("");jQuery(".dslca-module-edit-options-tabs").html("");LiveComposer.Builder.UI.clearUtils();if(a){a()}})}dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button()}function dslc_module_options_cancel_changes(a){if(dslcDebug)console.log("dslc_module_options_cancel_changes");a=typeof a!=="undefined"?a:false;var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",b).html("").append(LiveComposer.Builder.moduleBackup);dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");jQuery(".dslca-module-edit-options-inner").html("");jQuery(".dslca-module-edit-options-tabs").html("");LiveComposer.Builder.UI.clearUtils();if(a){a()}});dslc_show_section(".dslca-modules");jQuery(".dslca-header .dslca-options-filter-hook").hide();jQuery(".dslca-module-edit-actions").hide();jQuery(".dslca-header .dslca-go-to-section-hook").show();dslc_show_publish_button();LiveComposer.Builder.UI.clearUtils()}function dslc_module_options_tooltip(){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()});jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d,e;e=c.parent();if(e.parent().hasClass("dslca-modules-section-edit-option")){d=c.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html()}else{d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html()}if(a.is(":visible")){jQuery(".dslca-module-edit-field-ttip").hide()}else{b.html(d);var f=c.offset();var g=a.outerHeight();var h=a.outerWidth();var i=f.left-h/2+6;var j="50%";if(i<0){j=h/2+i+"px";i=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:f.top-g-20,left:i});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+j+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip");var b=jQuery(this);if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-ttip").hide()}else{var c=b.offset();var d=a.outerHeight();var e=a.outerWidth();var f=c.left-e/2+6;var g="50%";if(f<0){g=e/2+f+"px";f=0}jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("click",".dslca-module-edit-field-font-prev",function(a){a.preventDefault();if(!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font");var c=jQuery(".dslca-module-edit-field-font",b);var d=dslcAllFontsArray.indexOf(c.val());var e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text("");if(e<0){e=dslcAllFontsArray.length-1}c.val(dslcAllFontsArray[e]).trigger("change");jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}});jQuery(document).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,e=false,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){jQuery(".dslca-module-edit-field-font-prev",c).click()}if(a.which==40){jQuery(".dslca-module-edit-field-font-next",c).click()}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val();var g=[];var h=new RegExp("^"+d,"i");var i=dslcAllFontsArray.length;var j=0;do{if(h.test(dslcAllFontsArray[j])){if(!e){var e=dslcAllFontsArray[j]}}j++}while(j<i);if(!e){f=d;jQuery(".dslca-module-edit-field-font-suggest",c).hide()}else{f=e;jQuery(".dslca-module-edit-field-font-suggest",c).show()}jQuery(".dslca-module-edit-field-font-suggest",c).text(f);if(f.length){b.val(f.substring(0,b.val().length))}}});jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon");var d=jQuery(".dslca-module-edit-field-icon",c);var e=dslcIconsCurrentSet.indexOf(d.val());if(b=="previous"){var f=e-1}else{var f=e+1}jQuery(".dslca-module-edit-field-icon-suggest",c).text("");if(f<0){f=dslcIconsCurrentSet.length-1}d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");if(a.which==38){dslc_list_icon(b,"previous")}if(a.which==40){dslc_list_icon(b,"next")}if(a.which!=13&&a.which!=38&&a.which!=40){d=b.val().toLowerCase();b.val(d);e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return a.indexOf(d)==0});f=e[0];jQuery(".dslca-module-edit-field-icon-suggest",c).text(f)}});jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(a.which==13){a.preventDefault();var b,c,d,e,f;b=jQuery(this);c=b.closest(".dslca-module-edit-option");jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change");jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")});jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change();dslc_hide_modal("",jQuery(".dslca-modal:visible"));jQuery("input.icon-modal-active").removeClass("icon-modal-active")})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active");a.addClass("dslca-active");d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this);var b=a.siblings('input[type="checkbox"]');if(b.prop("checked")){b.prop("checked",false);a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")}else{b.prop("checked",true);a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")}b.change()})}function dslc_module_options_box_shadow(){if(dslcDebug)console.log("dslc_module_options_box_shadow");jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, "+".dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread,"+" .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");if(h){h=" inset"}else{h=""}var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_module_options_text_shadow(){if(dslcDebug)console.log("dslc_module_options_text_shadow");jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver,"+".dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val();var g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_module_options_color(a){if(dslcDebug)console.log("dslc_module_options_color");var b,c,d,e,f,g,h;var i=[],j,k;var l="dslcColors-"+document.domain;if(undefined!==localStorage[l]){j=JSON.parse(localStorage[l]);i=j}if(1>i.length){i.push("#78b")}if(2>i.length){i.push("#ab0")}if(3>i.length){i.push("#de3")}i.push("#fff");i.push("#000");i.push("rgba(0,0,0,0)");var m=a;jQuery(m).each(function(){var a=jQuery(this).closest(".dslca-color-option");var j=jQuery(this);h=jQuery(this).val();j.wpColorPicker({mode:"hsl",palettes:i,change:function(a,h){b=j;var i=j.wpColorPicker("color");if(i==null){e=""}else{e=i}b.val(e).trigger("change");b.css("background",e);c=b.data("affect-on-change-el");d=b.data("affect-on-change-rule");if(null!=c){jQuery(c,".dslca-module-being-edited").css(d,e)}f=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);g=b.data("id");jQuery('.dslca-module-option-front[data-id="'+g+'"]',f).val(e);f.addClass("dslca-module-change-made")}});var k=a.find(".wp-picker-holder .iris-picker");k.append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var m=a.find(".dslca-colorpicker-apply");j.wpColorPicker("open");jQuery(m).on("click",function(){if("#fff"!==e&&"#ffffff"!==e&&"#000"!==e&&"#000000"!==e&&"rgba(0,0,0,0)"!==e){if(undefined===localStorage[l]){var a=[e];localStorage[l]=JSON.stringify(a)}else{var a=JSON.parse(localStorage[l]);if(a.indexOf(e)==-1){a.unshift(e);if(3<a.length){a.pop()}}localStorage[l]=JSON.stringify(a)}}j.wpColorPicker("close")});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))})}function dslc_module_options_numeric(a){if(dslcDebug)console.log("dslc_module_options_numeric");var b=a;jQuery(b).each(function(){var a=jQuery(this);if(0===jQuery(".dslca-module-edit-field-slider",a).length){a.append('<div class="dslca-module-edit-field-slider"></div>')}var b=true;if(a.hasClass("dslca-modules-section-edit-option")){b=false}else{b=true}if(b){var c=a.find(".dslca-module-edit-field")}else{var c=a.find(".dslca-modules-section-edit-field")}if(a.hasClass("dslca-modules-section-edit-option")){var c=a.find(".dslca-modules-section-edit-field")}else{var c=a.find(".dslca-module-edit-field")}var d="",e=a.find(".dslca-module-edit-field-slider"),f=parseFloat(c.val()),g=parseFloat(c.data("max")),h=parseFloat(c.data("min")),i=parseFloat(c.data("increment")),j=g,k=h;var l=false;if(undefined!==c.data("onlypositive")&&1===c.data("onlypositive")){l=true}if(f>=g){g=f*2}if(!l&&f<=h){h=f*2}e.slider({min:h,max:g,step:i,value:c.val(),slide:function(a,b){c.val(b.value+d);c.trigger("change")},change:function(b,c){if(c.value>=g||c.value<=h){e.slider("destroy");dslc_module_options_numeric(a)}}});e.show();jQuery(a).on("mouseleave",function(){if(undefined!==e.slider("instance")){jQuery(e).slider("destroy")}e.remove()});if(c[0].classList.contains("slider-initiated"))return;c[0].classList.add("slider-initiated");c.on("keyup",function(a){if(undefined===a){return false;
4
+ }if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;c.trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;c.trigger("change")}}if(a.keyCode==8||a.keyCode==45){c.trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){c.trigger("change")}var b=a.which?a.which:a.keyCode;if((b>=48&&b<=57||b>=96&&b<=105)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});c.on("change",function(a){if(l&&this.value<0){this.value=0}var c;if(b){c=jQuery(a.target.closest(".dslca-module-edit-option-slider"))}else{c=jQuery(a.target.closest(".dslca-modules-section-edit-option-slider"))}var d=c.find(".dslca-module-edit-field-slider");if(undefined!==d.slider("instance")){d.slider("value",this.value)}if(b){var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);e.addClass("dslca-module-change-made")}});return false})}function dslc_disable_responsive_view(){jQuery("html").removeClass("dslc-responsive-preview");jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}"use strict";function dslc_template_load(a){if(dslcDebug)console.log("dslc_load_template");var b,c;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_import(){if(dslcDebug)console.log("dslc_import_template");var a,b;jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:0});jQuery(".dslca-modal-templates-import .dslca-loading").show();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},function(a){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(a.output);jQuery(".dslca-modal-templates-import .dslca-loading").hide();jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1});dslc_hide_modal("",".dslca-modal-templates-import");LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video();dslc_drag_and_drop();dslc_show_publish_button();dslc_generate_code()})}function dslc_template_save(){if(dslcDebug)console.log("dslc_save_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},function(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){if(dslcDebug)console.log("dslc_delete_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-template",function(a){a.preventDefault();dslc_template_load(jQuery(this).data("id"))});a(".dslca-template-import-form").submit(function(a){a.preventDefault();dslc_template_import()});a(".dslca-template-save-form").submit(function(a){a.preventDefault();dslc_template_save()});a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation();dslc_template_delete(a(this).data("id"))})});"use strict";window.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};jQuery(document).on("click",".dslca-show-js-error-hook",function(a){a.preventDefault();var b=document.getElementById("dslca-js-errors-report");if(!jQuery("body").hasClass("dslca-saving-in-progress")){LiveComposer.Builder.UI.CModalWindow({title:'<a href="https://livecomposerplugin.com/support/support-request/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Open Support Ticket</a>',content:'<span class="dslca-error-report">'+b.value+"</span>"})}});jQuery(document).ready(function(a){jQuery("#page-builder-frame")[0].contentWindow.onerror=function(a,b,c,d){dslca_generate_error_report(a,b,c,d)};dslca_update_report_log();jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show()});window.previewAreaTinyMCELoaded=function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this;LiveComposer.Builder.PreviewAreaDocument=jQuery(this.document);jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();dslc_fix_contenteditable();var b=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new LiveComposer.Builder.Elements.CSectionsContainer(b);jQuery(document).trigger("editorFrameLoaded");dslc_drag_and_drop();dslc_generate_code();dslc_keypress_events();LiveComposer.Builder.UI.initPreviewAreaScroller()};jQuery(document).on("click",".dslca-currently-editing",function(){var a=false,b=false,c;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#5890e5"}else if(jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length){a=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);c="#eabba9"}if(a){b=a.offset().top-100;if(b<0){b=0}var d=[];jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:b},300,function(){a.removeAttr("style")})}});jQuery(window).keypress(function(a){if((a.metaKey||a.ctrlKey)&&a.keyCode==83){dslc_ajax_save_composer();a.preventDefault();return false}});jQuery(document).on("click",".dslca-hide-composer-hook",function(a){a.preventDefault();dslc_hide_composer()});jQuery(document).on("click",".dslca-show-composer-hook",function(a){a.preventDefault();dslc_show_composer()});jQuery(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault();dslc_show_section(".dslca-modules")});jQuery(document).on("click",".dslca-go-to-section-hook",function(a){a.preventDefault();if(jQuery(this).hasClass("dslca-active")){return}var b=jQuery(this).data("section");dslc_show_section(b);if(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates")){jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}});jQuery(document).on("click",".dslca-close-composer-hook",function(a){a.preventDefault();var b=jQuery(this).attr("href");if(!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")){LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=b}})}else{window.location=b}});jQuery(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()});jQuery(document).on("click",".dslca-section-title",function(a){a.stopPropagation();if(jQuery(".dslca-section-title-filter",this).length){dslc_generate_filters();jQuery(".dslca-section-title-filter-options").slideToggle(300)}});jQuery(document).on("click",".dslca-section-title-filter-options a",function(a){a.preventDefault();a.stopPropagation();var b=jQuery(this).data("origin");var c=jQuery(this).closest(".dslca-section");if(c.hasClass("dslca-templates-load")){jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}else{jQuery(".dslca-section-title-filter-curr",c).text(jQuery(this).text())}jQuery(".dslca-section-scroller-inner").css({left:0});dslc_filter_origin(b,c);jQuery(".dslca-section-title-filter-options").slideToggle(300)});function dslc_hide_composer(){if(dslcDebug)console.log("dslc_hide_composer");jQuery(".dslca-hide-composer-hook").hide();jQuery(".dslca-show-composer-hook").show();jQuery("body").addClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:jQuery(".dslca-container").outerHeight()*-1});jQuery(".dslca-header").hide()}function dslc_show_composer(){if(dslcDebug)console.log("dslc_show_composer");jQuery(".dslca-show-composer-hook").hide();jQuery(".dslca-hide-composer-hook").show();jQuery("body").removeClass("dslca-composer-hidden");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden");jQuery(".dslca-container").css({bottom:0});jQuery(".dslca-header").show()}function dslc_show_publish_button(){if(dslcDebug)console.log("dslc_show_publish_button");jQuery(".dslca-save-composer").show().addClass("dslca-init-animation");jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")}function dslc_hide_publish_button(){if(dslcDebug)console.log("dslc_hide_publish_button");jQuery(".dslca-save-composer").hide();jQuery(".dslca-save-draft-composer").hide()}function dslc_show_section(a){if(dslcDebug)console.log("dslc_show_section");var b=jQuery(a).data("title"),c=jQuery(a).data("bg");jQuery(".dslca-container").css({bottom:-500});jQuery(".dslca-section").hide();jQuery(a).show();if(a==".dslca-module-edit"){jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element")}else if(a==".dslca-modules-section-edit"){jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row")}else{jQuery(".dslca-currently-editing").hide().find("strong").text("")}dslc_module_options_tab_filter();jQuery(".dslca-container").css({bottom:0});jQuery(a).find("input.dslca-module-edit-field-colorpicker").each(function(a){jQuery(this).css("background",jQuery(this).val())})}function dslc_generate_filters(){if(dslcDebug)console.log("dslc_generate_filters");var a,b=[],c='<a html="#" data-origin="">Show All</a>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this);if(jQuery.inArray(a.data("origin"),b)==-1){b.push(a.data("origin"));c+='<a href="#" data-origin="'+a.data("origin")+'">'+a.data("origin")+"</a>"}});jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){if(dslcDebug)console.log("dslc_filter_origin");jQuery(".dslca-origin",b).attr("data-display-module","false");jQuery('.dslca-origin[data-origin="'+a+'"]',b).attr("data-display-module","true");if(a==""){jQuery(".dslca-origin",b).attr("data-display-module","true");jQuery(".dslca-origin.dslca-exclude",b).attr("data-display-module","false")}}function dslc_drag_and_drop(){if(dslcDebug)console.log("dslc_drag_and_drop");var a,b,c,d;var e=jQuery(".dslca-modules .dslca-section-scroller-content");if(e.length==0){e=[document.createElement("div")]}var f=Sortable.create(e[0],{sort:false,group:{name:"modules",pull:"clone",put:false},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:true,scrollSensitivity:150,scrollSpeed:15,setData:function(a,b){a.setData(LiveComposer.Utils.msieversion()!==false?"Text":"text/html",b.innerHTML)},onStart:function(a){a.oldIndex;jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress");jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(a){a.oldIndex;a.newIndex;var e=a.item;a.preventDefault();if(jQuery(e).closest(".dslca-section-scroller-content").length>0)return false;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered");b=jQuery(e.parentNode);c=e.dataset.id;dslc_generate_code();if(c=="DSLC_M_A"||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length){}else{jQuery("body").addClass("dslca-module-drop-in-progress");dslc_module_output_default(c,function(a){d=a.output;var c=LiveComposer.Builder.Helpers.insertModule(d,jQuery(".dslca-module",b));setTimeout(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();jQuery("body").removeClass("dslca-module-drop-in-progress")},700);jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"});LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();dslc_generate_code();dslc_show_publish_button()});jQuery(e).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin");jQuery(".dslca-modules-area-manage",b).css({visibility:"hidden"})}LiveComposer.Builder.UI.stopScroller();jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress");jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(a){var b=a.item;a.from},onUpdate:function(a){var b=a.item;dslc_show_publish_button()},onSort:function(a){a.preventDefault()},onRemove:function(a){},onFilter:function(a){var b=a.item},onMove:function(a){a.dragged;a.draggedRect;a.related;a.relatedRect;jQuery(a.to).addClass("dslca-options-hovered")}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_fix_contenteditable(){LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",false)});LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",function(a){jQuery("[contenteditable]",LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",true)})}function dslc_toogle_control(a){if(a===undefined)a=false;if(!a)return;var b=jQuery(".dslca-module-edit-option-"+a);var c=b.find(".dslca-module-edit-field");var d=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var e=d[0].id;var f="";if("tablet_responsive"===b.data("tab")){f="body.dslc-res-tablet "}else if("phone_responsive"===b.data("tab")){f="body.dslc-res-phone "}var g=c.data("affect-on-change-el");if(g===undefined)return;var h=g.split(",");g="";for(var i=0;i<h.length;i++){if(i>0){g+=", "}g+=f+"#"+e+" "+h[i]}var j=c.data("affect-on-change-rule").replace(/ /g,"");var k=j.split(",");var l;var m=c.data("ext");b.toggleClass("dslca-option-off");if(b.hasClass("dslca-option-off")){l=dslc_get_control_value(a);c.data("val-bckp",l);for(var i=0;i<k.length;i++){jQuery(g,LiveComposer.Builder.PreviewAreaDocument).css(k[i],"");disable_css_rule(g,k[i],e)}c.val("").trigger("change")}else{c.val(c.data("val-bckp")).trigger("change");l=dslc_get_control_value(a);l=dslc_combine_value_and_extension(l,m||"");for(var i=0;i<k.length;i++){var n=g+"{"+k[i]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:b,rule:k[i],elems:g.replace(new RegExp("#"+e,"gi"),"").trim(),styleContent:n})}}}jQuery(document).ready(function(a){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",function(a){a.preventDefault();var b=jQuery(a.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(b)});jQuery(document).on("mousedown",".dslca-module-edit-option",function(b){var c=a(".dslc-control-toggle");if(!c.is(b.target)&&c.has(b.target).length===0){if(jQuery(b.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")){var d=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(d)}}})});function disable_css_rule(a,b,c){var d;var e="css-for-"+c;var f=document.getElementById("page-builder-frame").contentWindow.document.getElementById(e);a=a.replace(/\s\s+/g," ");if(f){f=f.sheet;if(f["rules"]){d="rules"}else if(f["cssRules"]){d="cssRules"}else{}for(var g=0;g<f[d].length;g++){if(f[d][g].selectorText==a){if(f[d][g].style[b]){f[d][g].style[b]="";break}}}}}function dslc_combine_value_and_extension(a,b){if(""===a||null===a){return a}if(a.indexOf(b)==-1){a=a+b}return a}function dslc_get_control_value(a){var b=jQuery(".dslca-module-edit-option-"+a);var c="text";var d=b.find(".dslca-module-edit-field");var e;e=d.val();return e}function dslc_keypress_events(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",function(a){dslc_modal_keypress_events(a);dslc_disable_backspace_navigation(a);dslc_notice_on_refresh(a);dslc_save_page(a)})}function dslc_disable_backspace_navigation(a){var b=false;if(a.keyCode===8){var c=a.srcElement||a.target;if(c.tagName.toUpperCase()==="INPUT"&&(c.type.toUpperCase()==="TEXT"||c.type.toUpperCase()==="PASSWORD"||c.type.toUpperCase()==="NUMBER"||c.type.toUpperCase()==="FILE")||c.tagName.toUpperCase()==="TEXTAREA"||jQuery(c).hasClass("dslca-editable-content")||jQuery(c).hasClass("dslc-tabs-nav-hook-title")||jQuery(c).hasClass("dslc-accordion-title")){b=c.readOnly||c.disabled}else{b=true}}if(b){a.preventDefault()}}function dslc_notice_on_refresh(a){if(a.which==116||a.which===82&&a.metaKey){if(jQuery(".dslca-save-composer-hook").offsetParent!==null||jQuery(".dslca-module-edit-save").offsetParent!==null){a.preventDefault();LiveComposer.Builder.UI.CModalWindow({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}})}}}function dslc_save_page(a){if(a.which==83&&(a.metaKey||a.ctrlKey)){if(jQuery(".dslca-save-composer-hook").css("display")=="block"){dslc_save_composer();a.preventDefault();return false}}}function dslca_generate_error_report(a,b,c,d){var e="JavaScript error detected in a third-party plugin";if(b.match("wp-content/plugins/live-composer-page-builder/js")!=null){e="Live Composer returned JS error"}var f="";f+='<br /><strong style="color:#E55F5F;">'+e+"</strong><br />";f+=a+'<br /> File "'+b+'", line '+c+", char "+d+"<br />";if("undefined"!==typeof Storage){localStorage.setItem("js_errors_report",f)}}function dslca_update_report_log(){var a=document.getElementById("dslca-js-errors-report");var b=localStorage.getItem("js_errors_report");if(null!==b){a.value=b;localStorage.removeItem("js_errors_report");document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")}}jQuery(document).on("editorFrameLoaded",function(){var a=jQuery;var b=a("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument);var c="";b.each(function(b,d){var e=a(d).data("editing-link");var f=a(d).data("editing-type");var g=a(d).data("editing-label");var h=a(d).data("editing-sublabel");c+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+e+'" class="dslc-hf-block-overlay-button dslca-link">'+g+"</a>";if(h!==undefined){c+=' <span class="dslc-hf-block-overlay-text">'+h+"</span>"}c+="</div>";var i=document.createElement("div");i.innerHTML=c;d.append(i)})});"use strict";LiveComposer.Utils={addslashes:function(a){a=a.replace(/\\/g,"\\\\");a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\0/g,"\\0");return a},basename:function(a){return a.split(/[\\\/]/).pop()},msieversion:function(){var a=window.navigator.userAgent;var b=a.indexOf("MSIE ");if(b>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)){return parseInt(a.substring(b+5,a.indexOf(".",b)))}else{return false}},checkParams:function(a){if(!Array.isArray(a)){throw"Param is not array"}var b={integer:function(a){return isNaN(parseInt(a))},"float":function(a){return isNaN(parseFloat(a))},string:function(a){return a!=null&&a!=undefined&&typeof a=="string"},array:function(a){return Array.isArray(a)},object:function(a){return typeof a=="object"}};a.map(function(a){if(!b[a[1]](a[0])){throw"Param "+a[0]+" is not "+a[1]}})},utf8_to_b64:function(a){return window.btoa(unescape(encodeURIComponent(a)))},b64_to_utf8:function(a){return decodeURIComponent(escape(window.atob(a)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce(function a(b,c){c=c.split("=");b[c[0]]=c[1];return b},{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-module-code")[0];var e=a.querySelector('.dslca-module-option-front[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},update_section_property_raw:function(a,b,c){var d=a.getElementsByClassName("dslca-section-code")[0];var e=a.querySelector('.dslca-modules-section-settings input[data-id="'+b+'"]');var f=d.value;f=JSON.parse(f);f[b]=c;f=JSON.stringify(f);d.value=f;d.innerHTML=f;e.setAttribute("value",c);e.setAttribute("data-def",c)},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery(document).trigger({type:a,message:{details:b}});LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(a,b)}};"use strict";function dslc_dm_get_defaults(a){if(dslcDebug)console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslc_editable_content_gen_code(a){if(dslcDebug)console.log("dslc_editable_content_gen_code");if(undefined===a){return false}var b,c,d;b=a.closest(".dslc-module-front");c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");d=a.data("id");jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c)}function dslc_filter_textarea(a){if(dslcDebug)console.log("dslc_filter_textarea");if(undefined===a){return false}var b;b=a.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");return b}window.onbeforeunload=function(){return};jQuery(document).ready(function(a){jQuery(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,e,f,g,h,i,j,k,l;b=a(this);c=b.data("id");f=b.val();g=f;h=f+b.data("ext");i=b.data("css-rule");d=a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument);k=d;j=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d);d.addClass("dslca-modules-section-change-made");if(b.hasClass("dslca-modules-section-edit-field-upload")){if(f&&f.length){f=a('.dslca-modules-section-settings input[data-id="dslca-img-url"]',d).val()}}if(i=="background-image"){f='url("'+f+'")';LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}if(c=="bg_image_attachment"){d.removeClass("dslc-init-parallax")}if(c=="border-top"||c=="border-right"||c=="border-bottom"||c=="border-left"){var m=a('.dslca-modules-section-settings input[data-id="border_style"]').val();j=a('.dslca-modules-section-settings input[data-id="border"]',d);g="";var n=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");n.find(".dslca-modules-section-edit-field-checkbox").each(function(){if(a(this).is(":checked")){if(a(this).data("id")=="border-top"){g+="top "}else if(a(this).data("id")=="border-right"){g+="right "}else if(a(this).data("id")=="border-bottom"){g+="bottom "}else if(a(this).data("id")=="border-left"){g+="left "}}});if(b.is(":checked")){if(b.data("id")=="border-top"){d.css({"border-top-style":m})}else if(b.data("id")=="border-right"){d.css({"border-right-style":m})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":m})}else if(b.data("id")=="border-left"){d.css({"border-left-style":m})}}else{if(b.data("id")=="border-top"){d.css({"border-top-style":"hidden"})}else if(b.data("id")=="border-right"){d.css({"border-right-style":"hidden"})}else if(b.data("id")=="border-bottom"){d.css({"border-bottom-style":"hidden"})}else if(b.data("id")=="border-left"){d.css({"border-left-style":"hidden"})}}}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var o=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox");var p="";o.each(function(){if(a(this).prop("checked")){p+=a(this).data("val")+" "}});var g=p;if(b.data("id")=="show_on"){if(p.indexOf("desktop")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop")}if(p.indexOf("tablet")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet")}if(p.indexOf("phone")!==-1){a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone")}else{a(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")}}}else if(c=="bg_image_attachment"&&f=="parallax"||c=="type"){if(c=="bg_image_attachment"){d.addClass("dslc-init-parallax");LiveComposer.Builder.PreviewAreaWindow.dslc_parallax()}else if(c=="type"){if(f=="full"){d.addClass("dslc-full")}else{d.removeClass("dslc-full")}LiveComposer.Builder.PreviewAreaWindow.dslc_masonry()}}else if(c=="columns_spacing"){if(f=="nospacing"){d.addClass("dslc-no-columns-spacing")}else{d.removeClass("dslc-no-columns-spacing")}}else if(c=="custom_class"){}else if(c=="custom_id"){}else if(c=="bg_video"){jQuery(".dslc-bg-video video",d).remove();if(f&&f.length){var q=f;q=q.replace(".webm","");q=q.replace(".mp4","");jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+q+'.mp4" /><source type="video/webm" src="'+q+'.webm" /></video>');LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(c=="bg_image_thumb"){if(g=="enabled"){if(jQuery("#dslca-post-data-thumb").length){var r="url('"+jQuery("#dslca-post-data-thumb").val()+"')";k.css(i,r)}}else if(g=="disabled"){k.css(i,"none")}}else{if(b.data("css-element")){k=jQuery(b.data("css-element"),d)}i=i.replace(/ /g,"").split(",");var s;if(null!=b.data("ext")){s=h}else{s=f}for(var t=0;t<i.length;t++){k.css(i[t],s)}}j.val(g);if(!LiveComposer.Builder.Flags.generate_code_after_row_changed)return false});jQuery(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front");var d=a(this).data("dslc-option-id");var e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e);dslc_module_output_altered()});jQuery(document).on("change",".dslca-module-edit-field",function(){if(dslcDebug)console.log("on change event for .dslca-module-edit-field");var b="",c="",d=jQuery(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),h=g.data("dslc-module-id"),i=jQuery(".dslca-module-options-front textarea",g);g.addClass("dslca-module-change-made");if(f.hasClass("dslca-module-edit-option-select")||f.hasClass("dslca-module-edit-option-checkbox")){dslc_module_options_hideshow_tabs()}if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")=="active"){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(a(this).prop("checked")){b=b+jQuery(this).val()+" "}})}else if(d.hasClass("dslca-module-edit-option-radio")){var b=jQuery(".dslca-module-edit-field:checked",d).val()}else{var b=d.val();if(e=="orientation"&&b=="horizontal"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("40").trigger("change")}else if(e=="orientation"&&b=="vertical"){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field");k.val("100").trigger("change")}}b=dslc_filter_textarea(b);jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b);jQuery(".dslca-container-loader").show();dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made");if(e=="css_load_preset"&&!jQuery("body").hasClass("dslca-new-preset-added")){dslc_module_options_show(h);jQuery(".dslca-container-loader").hide()}else{jQuery(".dslca-container-loader").hide()}jQuery("body").removeClass("dslca-new-preset-added");LiveComposer.Utils.publish("LC.moduleChange",{moduleId:h,optionID:e,optionVal:d.val()})})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l=l+":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;var q=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);if(d.val().length&&dslcGoogleFontsArray.indexOf(d.val())!==-1){document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[l]},active:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var c=m.split(",");var e="#"+q[0].id+" "+c.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:e})},inactive:function(a,b){if(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}})}else{setTimeout(function(){if(jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right")}else{jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}var a=m.split(",");var b="#"+q[0].id+" "+a.join(", #"+q[0].id+" ")+" {"+n+": "+o+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:n,elems:m,styleContent:b})},100)}}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=jQuery('input[type="checkbox"]',f);j.each(function(){if(jQuery(this).prop("checked")){b=b+"solid ";c=c+a(this).val()+" "}else{b=b+"none "}})}if(!d.hasClass("dslca-module-edit-field-font")&&d.data("affect-on-change-el")!=null&&d.data("affect-on-change-rule")!=null){var r=d.data("ext")||"";var m=d.data("affect-on-change-el");var n=d.data("affect-on-change-rule");var o=d.val();var p=o;if(d.hasClass("dslca-module-edit-field-checkbox")){o=b;p=c}if(d.hasClass("dslca-module-edit-field-image")){o='url("'+o+'")'}if(null!==o&&o.length<1&&(n=="background-color"||n=="background")){
5
+ o="transparent"}n.split(",").forEach(function(a){a=a.replace(/\s+/g,"");var b=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);var c=m.split(",");var e="#"+b[0].id+" "+c.join(", #"+b[0].id+" ")+" {"+a+": "+o+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:d,rule:a,elems:m,styleContent:e})})}var s="";if(e.indexOf("css_")!==-1){s=p}else{s=d.val()}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(s);LiveComposer.Utils.publish("LC.moduleChange",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}})});jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook")){var c=a.siblings(".dslca-module-edit-field-image");var d=a.siblings(".dslca-module-edit-field-image-remove-hook")}else{var c=a.siblings(".dslca-modules-section-edit-field-upload");var d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook")}var e=false;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e});b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id);var f=a.parent().attr("data-id");if(e.alt!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(e.alt)}if(e.title!=""&&f=="image"){jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(e.title)}jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(e.url);c.trigger("change");a.hide();d.show()});b.open()});jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook")){var b=a.siblings(".dslca-module-edit-field-image");var c=a.siblings(".dslca-module-edit-field-image-add-hook")}else{var b=a.siblings(".dslca-modules-section-edit-field-upload");var c=a.siblings(".dslca-modules-section-edit-field-image-add-hook")}b.val("").trigger("change");var d=a.parent().attr("data-id");if(d=="image"){jQuery(".dslca-module-edit-option-image_alt input").attr("value","").trigger("change");jQuery(".dslca-module-edit-option-image_alt input").attr("data-val-bckp","").trigger("change");jQuery(".dslca-module-edit-option-image_title input").attr("value","").trigger("change");jQuery(".dslca-module-edit-option-image_title input").attr("data-val-bckp","").trigger("change")}a.hide();c.show()});jQuery(document).on("click",".dslca-wp-editor-save-hook",function(){var a=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if(typeof tinymce!="undefined"){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active")){var b=tinymce.get("dslcawpeditor");var c=b.getContent()}else{var c=jQuery("#dslcawpeditor").val()}jQuery(".dslca-wp-editor").hide();jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(c);if(a.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(c);var d=a.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(d)}else if(a.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(c);var e=a.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(e)}dslc_editable_content_gen_code(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else{console.info("Live Composer: TinyMCE is undefined.")}});jQuery(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide();a(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})});
js/builder.frontend.all.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).on("click","a:not(.dslca-link)",function(a){a.preventDefault()});function dslca_publish_event(a,b){b=b?b:{};jQuery(document).trigger({type:a,message:{details:b}})}jQuery(window).load(function(a){var b=jQuery("#dslc-main");if(b.length){var c=b.offset().top;if(c){jQuery("html, body").animate({scrollTop:c},1e3)}}});
1
+ jQuery(document).on("click","a:not(.dslca-link)",function(a){a.preventDefault()});function dslca_publish_event(a,b){b=b?b:{};jQuery(document).trigger({type:a,message:{details:b}})}
js/builder.frontend/builder.frontend.main.js CHANGED
@@ -24,10 +24,14 @@ function dslca_publish_event( eventName, eventData ) {
24
  /**
25
  * Scroll editing page to the content page area (skipping header section).
26
  *
27
- * Don't user document.ready
28
  * as we need all styles/images loaded before scrolling.
29
  */
 
 
 
30
  jQuery(window).load(function($) {
 
31
  var mainContentBlock = jQuery('#dslc-main');
32
  // Condition fixes issues/756.
33
  if ( mainContentBlock.length ) {
@@ -39,3 +43,4 @@ jQuery(window).load(function($) {
39
  }
40
  }
41
  });
 
24
  /**
25
  * Scroll editing page to the content page area (skipping header section).
26
  *
27
+ * Don't use document.ready
28
  * as we need all styles/images loaded before scrolling.
29
  */
30
+ /*
31
+ Too slow.
32
+
33
  jQuery(window).load(function($) {
34
+
35
  var mainContentBlock = jQuery('#dslc-main');
36
  // Condition fixes issues/756.
37
  if ( mainContentBlock.length ) {
43
  }
44
  }
45
  });
46
+ */
js/builder/builder.editor.messages.js CHANGED
@@ -30,10 +30,10 @@ jQuery(document).ready(function($){
30
  }
31
  );
32
 
33
- $('.dslc-editor-messages-section').css('display', 'none');
34
  $('.dslca-container').removeClass( "active-message-panel" );
35
  } else {
36
- $('#editor-messages').html('<div class="dslc-notice"><a href="https://livecomposerplugin.com/downloads/extensions/?utm_source=editing-sreen&utm_medium=editor-messages&utm_campaign=add-ons" target="_blank">You can hide this panel once you have any of our premium extensions installed.</a></div>');
37
  }
38
  });
39
 
@@ -41,8 +41,8 @@ jQuery(document).ready(function($){
41
  * Hide Panel
42
  */
43
 
44
- if ( $('div.dslc-editor-messages-section').length ) {
45
- $('.dslc-editor-messages-section').css('display', 'block');
46
  $('.dslca-container').addClass( "active-message-panel" );
47
  }
48
 
30
  }
31
  );
32
 
33
+ $('.dslc-editor-messages-section-122017').css('display', 'none');
34
  $('.dslca-container').removeClass( "active-message-panel" );
35
  } else {
36
+ $('#editor-messages').html('<div class="dslc-notice"><a href="https://livecomposerplugin.com/hide-messages/?utm_source=editing-screen&utm_medium=editor-messages&utm_campaign=hide-messages" target="_blank">Only users who support our plugin development can hide this panel. <b>Click to learn more.</b></a></div>');
37
  }
38
  });
39
 
41
  * Hide Panel
42
  */
43
 
44
+ if ( $('div.dslc-editor-messages-section-122017').length ) {
45
+ $('.dslc-editor-messages-section-122017').css('display', 'block');
46
  $('.dslca-container').addClass( "active-message-panel" );
47
  }
48
 
js/builder/builder.module.functions.js CHANGED
@@ -137,7 +137,7 @@
137
  /**
138
  * Action - Show/Hide Width Options
139
  */
140
- LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-module-hook', function(e){
141
 
142
  e.preventDefault();
143
 
@@ -157,14 +157,22 @@
157
  jQuery(this).hide();
158
  // Remove class that puts module on the very top level.
159
  $(this).closest('.dslc-module-front').removeClass('dslca-change-width-active');
160
- });
161
-
162
  /**
163
  * Hook - Set Module Width
164
  */
165
  LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-module-options span', function(){
 
 
 
 
 
 
 
 
 
 
166
 
167
- dslc_module_width_set( jQuery(this).closest('.dslc-module-front'), jQuery(this).data('size') );
168
  });
169
 
170
  /**
@@ -279,7 +287,7 @@
279
  }
280
  });
281
 
282
- // Editable Content
283
  LiveComposer.Builder.PreviewAreaDocument.on('blur', '.dslca-editable-content', function() {
284
 
285
  if ( ! jQuery('body').hasClass( 'dslca-composer-hidden' ) && jQuery(this).data('type') == 'simple' ) {
@@ -440,8 +448,8 @@ function dslc_module_width_set( module, new_width ) {
440
  // Add new column class and change size "data"
441
  module
442
  .removeClass('dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col')
443
- .addClass(newClass);
444
- // .data('dslc-module-size', new_width);
445
  //.addClass('dslca-module-being-edited'); – Deprecated
446
 
447
  // Change module size in element attribute
@@ -509,7 +517,7 @@ function dslc_module_options_show( moduleID ) {
509
  // Hide the publish button
510
  dslc_hide_publish_button();
511
 
512
- LiveComposer.Builder.UI.initInlineEditors();
513
 
514
  // Set up backup
515
  var moduleBackup = jQuery('.dslca-module-options-front', dslcModule).children().clone();
137
  /**
138
  * Action - Show/Hide Width Options
139
  */
140
+ /* LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-module-hook', function(e){
141
 
142
  e.preventDefault();
143
 
157
  jQuery(this).hide();
158
  // Remove class that puts module on the very top level.
159
  $(this).closest('.dslc-module-front').removeClass('dslca-change-width-active');
160
+ }); */
 
161
  /**
162
  * Hook - Set Module Width
163
  */
164
  LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-module-options span', function(){
165
+ if ( ! jQuery(this).hasClass('dslca-action-disabled') ) {
166
+ var moduleJQ = jQuery(this).closest('.dslc-module-front');
167
+ var oldSize = moduleJQ.data('dslc-module-size');
168
+ var newSize = jQuery(this).data('size');
169
+
170
+ // Start expensive function only if the value changed.
171
+ if ( Number(oldSize) !== Number(newSize) ) {
172
+ dslc_module_width_set( moduleJQ, newSize );
173
+ }
174
+ }
175
 
 
176
  });
177
 
178
  /**
287
  }
288
  });
289
 
290
+ // Editable Contents
291
  LiveComposer.Builder.PreviewAreaDocument.on('blur', '.dslca-editable-content', function() {
292
 
293
  if ( ! jQuery('body').hasClass( 'dslca-composer-hidden' ) && jQuery(this).data('type') == 'simple' ) {
448
  // Add new column class and change size "data"
449
  module
450
  .removeClass('dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col')
451
+ .addClass(newClass)
452
+ .data('dslc-module-size', new_width);
453
  //.addClass('dslca-module-being-edited'); – Deprecated
454
 
455
  // Change module size in element attribute
517
  // Hide the publish button
518
  dslc_hide_publish_button();
519
 
520
+ // LiveComposer.Builder.UI.initInlineEditors();
521
 
522
  // Set up backup
523
  var moduleBackup = jQuery('.dslca-module-options-front', dslcModule).children().clone();
js/builder/builder.modulearea.functions.js CHANGED
@@ -117,24 +117,30 @@
117
  * Hook - Set Width of the Module Area
118
  */
119
  LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-modules-area-options span', function(){
120
-
121
  // Check if action can be fired
122
  if ( !actionAvail() ) return false;
123
 
124
  if ( ! jQuery(this).hasClass('dslca-action-disabled') ) {
125
- dslc_modules_area_width_set( jQuery(this).closest('.dslc-modules-area'), jQuery(this).data('size') );
 
 
 
 
 
 
 
126
  }
127
  });
128
 
129
  /**
130
- * Action - Show/Hide Width Options for the Module Area
131
  */
132
- LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-modules-area-hook', function(e){
133
 
134
  e.preventDefault();
135
 
136
  // Check if action can be fired
137
- if ( !actionAvail() ) return false;
138
 
139
  if ( ! jQuery(this).hasClass('dslca-action-disabled') ) {
140
 
@@ -151,20 +157,19 @@
151
  jQuery('.dslca-change-width-modules-area-options', this).show();
152
  }
153
  }
154
- });
155
-
156
  LiveComposer.Builder.PreviewAreaDocument.on( 'mouseleave', '.dslca-change-width-modules-area-options', function(e){
157
 
158
  // Hide width seleciton panel.
159
  jQuery(this).hide();
160
  });
161
-
162
  /**
163
  * Hook - Add Modules Area
164
  * TODO: Where we use it? Delete maybe?
165
  */
166
  LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-add-modules-area-hook', function(e){
167
-
168
  e.preventDefault();
169
 
170
  // Check if action can be fired
@@ -393,7 +398,6 @@ function dslc_modules_area_width_set( area, newWidth ) {
393
  LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
394
 
395
  if ( LiveComposer.Builder.Flags.panelOpened ) {
396
-
397
  return false;
398
  }
399
 
117
  * Hook - Set Width of the Module Area
118
  */
119
  LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-modules-area-options span', function(){
 
120
  // Check if action can be fired
121
  if ( !actionAvail() ) return false;
122
 
123
  if ( ! jQuery(this).hasClass('dslca-action-disabled') ) {
124
+ var moduleAreaJQ = jQuery(this).closest('.dslc-modules-area');
125
+ var oldSize = moduleAreaJQ.data('size');
126
+ var newSize = jQuery(this).data('size');
127
+
128
+ // Start expensive function only if the value changed.
129
+ if ( Number(oldSize) !== Number(newSize) ) {
130
+ dslc_modules_area_width_set( moduleAreaJQ, newSize );
131
+ }
132
  }
133
  });
134
 
135
  /**
136
+ * Action - Show/Hide Width Options Popup for the Module Area
137
  */
138
+ /* LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-change-width-modules-area-hook', function(e){
139
 
140
  e.preventDefault();
141
 
142
  // Check if action can be fired
143
+ if ( ! actionAvail() ) return false;
144
 
145
  if ( ! jQuery(this).hasClass('dslca-action-disabled') ) {
146
 
157
  jQuery('.dslca-change-width-modules-area-options', this).show();
158
  }
159
  }
160
+ }); */
161
+ /*
162
  LiveComposer.Builder.PreviewAreaDocument.on( 'mouseleave', '.dslca-change-width-modules-area-options', function(e){
163
 
164
  // Hide width seleciton panel.
165
  jQuery(this).hide();
166
  });
167
+ */
168
  /**
169
  * Hook - Add Modules Area
170
  * TODO: Where we use it? Delete maybe?
171
  */
172
  LiveComposer.Builder.PreviewAreaDocument.on( 'click', '.dslca-add-modules-area-hook', function(e){
 
173
  e.preventDefault();
174
 
175
  // Check if action can be fired
398
  LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();
399
 
400
  if ( LiveComposer.Builder.Flags.panelOpened ) {
 
401
  return false;
402
  }
403
 
js/builder/builder.settings.panel.functions.js CHANGED
@@ -69,8 +69,11 @@ jQuery(document).ready(function($){
69
 
70
  /* Initiate all the slider controls on the module options panel. */
71
  jQuery('.dslca-container').on('mouseenter', '.dslca-module-edit-option-slider', function() {
72
-
73
- dslc_module_options_numeric( this );
 
 
 
74
  });
75
 
76
  /* Initiate all the slider controls on the row options panel. */
@@ -158,7 +161,7 @@ jQuery(document).ready(function($){
158
 
159
  dslc_module_options_confirm_changes(function(){
160
 
161
- LiveComposer.Builder.UI.initInlineEditors({withRemove:true});
162
  LiveComposer.Builder.UI.unloadOptionsDeps();
163
  LiveComposer.Builder.Flags.panelOpened = false;
164
 
@@ -181,7 +184,7 @@ jQuery(document).ready(function($){
181
 
182
  dslc_module_options_cancel_changes(function(){
183
 
184
- LiveComposer.Builder.UI.initInlineEditors({withRemove:true});
185
  LiveComposer.Builder.UI.unloadOptionsDeps();
186
  LiveComposer.Builder.Flags.panelOpened = false;
187
 
@@ -199,17 +202,13 @@ jQuery(document).ready(function($){
199
  (function() {
200
 
201
  var $ = jQuery;
202
-
203
  var self = LiveComposer.Builder;
204
-
205
  LiveComposer.Builder.Helpers.colorpickers = [];
206
-
207
  LiveComposer.Builder.UI.initInlineEditors = function(params){
208
-
209
  params = params || {};
210
 
211
  if ( params.withRemove == true ) {
212
-
213
  try {
214
  LiveComposer.Builder.PreviewAreaWindow.tinyMCE.remove();
215
  } catch(err) {
@@ -235,9 +234,9 @@ jQuery(document).ready(function($){
235
  {title: 'Header 6', format: 'h6'},
236
  ],
237
  toolbar: 'styleselect | bold italic blockquote | removeformat | bullist numlist '
238
- }); /* link unlink */
239
  }
240
-
241
  /* Destroy instanced of sliders, color pickers and other temporary elements */
242
  LiveComposer.Builder.UI.clearUtils = function() {
243
 
@@ -330,11 +329,37 @@ jQuery(document).ready(function($){
330
  checkedCheckbox = $(optElem).is(":checked");
331
  }
332
 
 
 
333
  if ( optElem.value == opt_val && checkedCheckbox ) {
334
 
335
- opt_wrap.show();
 
 
 
 
 
 
 
 
 
 
 
 
 
336
  } else {
337
 
 
 
 
 
 
 
 
 
 
 
 
338
  opt_wrap.hide();
339
  }
340
  });
@@ -556,7 +581,8 @@ function dslc_module_options_hideshow_tabs() {
556
  dslcElQuote = true,
557
  dslcElAuthorName = true,
558
  dslcElAuthorPos = true,
559
- dslcElImage = true;
 
560
 
561
 
562
  // Is heading selected?
@@ -691,6 +717,11 @@ function dslc_module_options_hideshow_tabs() {
691
  dslcElImage = false;
692
  }
693
 
 
 
 
 
 
694
 
695
  // Show/Hide Heading
696
  if ( dslcHeading )
@@ -844,6 +875,12 @@ function dslc_module_options_hideshow_tabs() {
844
  else
845
  jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide();
846
 
 
 
 
 
 
 
847
  }
848
 
849
  /**
@@ -894,6 +931,37 @@ function dslc_module_options_hideshow_tabs() {
894
  }
895
 
896
  jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css( 'visibility', 'visible' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
897
  }
898
 
899
  /**
69
 
70
  /* Initiate all the slider controls on the module options panel. */
71
  jQuery('.dslca-container').on('mouseenter', '.dslca-module-edit-option-slider', function() {
72
+
73
+ // Fixed: https://github.com/live-composer/live-composer-page-builder/issues/740
74
+ if ( ! jQuery(this).hasClass( 'dslca-module-edit-option-select' ) ) {
75
+ dslc_module_options_numeric( this );
76
+ }
77
  });
78
 
79
  /* Initiate all the slider controls on the row options panel. */
161
 
162
  dslc_module_options_confirm_changes(function(){
163
 
164
+ // LiveComposer.Builder.UI.initInlineEditors({withRemove:true});
165
  LiveComposer.Builder.UI.unloadOptionsDeps();
166
  LiveComposer.Builder.Flags.panelOpened = false;
167
 
184
 
185
  dslc_module_options_cancel_changes(function(){
186
 
187
+ // LiveComposer.Builder.UI.initInlineEditors({withRemove:true});
188
  LiveComposer.Builder.UI.unloadOptionsDeps();
189
  LiveComposer.Builder.Flags.panelOpened = false;
190
 
202
  (function() {
203
 
204
  var $ = jQuery;
 
205
  var self = LiveComposer.Builder;
 
206
  LiveComposer.Builder.Helpers.colorpickers = [];
207
+ /*
208
  LiveComposer.Builder.UI.initInlineEditors = function(params){
 
209
  params = params || {};
210
 
211
  if ( params.withRemove == true ) {
 
212
  try {
213
  LiveComposer.Builder.PreviewAreaWindow.tinyMCE.remove();
214
  } catch(err) {
234
  {title: 'Header 6', format: 'h6'},
235
  ],
236
  toolbar: 'styleselect | bold italic blockquote | removeformat | bullist numlist '
237
+ });
238
  }
239
+ */
240
  /* Destroy instanced of sliders, color pickers and other temporary elements */
241
  LiveComposer.Builder.UI.clearUtils = function() {
242
 
329
  checkedCheckbox = $(optElem).is(":checked");
330
  }
331
 
332
+ var section_tab = jQuery('.dslca-module-edit-options-tab-hook.dslca-active').data('id');
333
+
334
  if ( optElem.value == opt_val && checkedCheckbox ) {
335
 
336
+ if ( opt_wrap.not( ".dependent" ) ) {
337
+ opt_wrap.addClass('dependent');
338
+ }
339
+
340
+ if ( opt_wrap.hasClass('dep-hide') ) {
341
+ opt_wrap.removeClass('dep-hide');
342
+ opt_wrap.addClass('dep-show');
343
+ } else {
344
+ opt_wrap.addClass('dep-show');
345
+ }
346
+
347
+ if ( section_tab == opt_wrap.data('tab') ) {
348
+ opt_wrap.show();
349
+ }
350
  } else {
351
 
352
+ if ( opt_wrap.not( ".dependent" ) ) {
353
+ opt_wrap.addClass('dependent');
354
+ }
355
+
356
+ if ( opt_wrap.hasClass('dep-show') ) {
357
+ opt_wrap.removeClass('dep-show');
358
+ opt_wrap.addClass('dep-hide');
359
+ } else {
360
+ opt_wrap.addClass('dep-hide');
361
+ }
362
+
363
  opt_wrap.hide();
364
  }
365
  });
581
  dslcElQuote = true,
582
  dslcElAuthorName = true,
583
  dslcElAuthorPos = true,
584
+ dslcElImage = true,
585
+ dslcElLogo = true;
586
 
587
 
588
  // Is heading selected?
717
  dslcElImage = false;
718
  }
719
 
720
+ // Is logo enabled?
721
+ if ( ! jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(':checked') ) {
722
+ dslcElLogo = false;
723
+ }
724
+
725
 
726
  // Show/Hide Heading
727
  if ( dslcHeading )
875
  else
876
  jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide();
877
 
878
+ // Show/Hide Quote
879
+ if ( dslcElLogo )
880
+ jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show();
881
+ else
882
+ jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide();
883
+
884
  }
885
 
886
  /**
931
  }
932
 
933
  jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css( 'visibility', 'visible' );
934
+
935
+
936
+ if ( jQuery('.dslca-options-filter-hook').hasClass('dslca-active') ) {
937
+ var section_tab = jQuery('.dslca-options-filter-hook.dslca-active').data('section');
938
+
939
+ if ( jQuery('.dslca-module-edit-option[data-section="' + section_tab + '"]').hasClass('dep-show') ) {
940
+ jQuery('.dslca-module-edit-option.dep-show').show();
941
+ }
942
+
943
+ if ( jQuery('.dslca-module-edit-option[data-section="' + section_tab + '"]').hasClass('dep-hide') ) {
944
+ jQuery('.dslca-module-edit-option.dep-hide').hide();
945
+ }
946
+ }
947
+
948
+ if ( jQuery('.dslca-module-edit-options-tab-hook').hasClass('dslca-active') ) {
949
+ var data_tab = jQuery('.dslca-module-edit-options-tab-hook.dslca-active').data('id');
950
+
951
+ console.log(data_tab);
952
+
953
+ if ( jQuery('.dslca-module-edit-option[data-tab="' + data_tab + '"]').hasClass('dependent') ) {
954
+ jQuery('.dslca-module-edit-option.dependent').hide();
955
+ jQuery('.dslca-module-edit-option[data-tab="' + data_tab + '"].dep-show').show();
956
+ jQuery('.dslca-module-edit-option[data-tab="' + data_tab + '"].dep-hide').hide();
957
+
958
+ console.log('1');
959
+ } else {
960
+ jQuery('.dslca-module-edit-option.dependent').hide();
961
+
962
+ console.log('2');
963
+ }
964
+ }
965
  }
966
 
967
  /**
js/builder/builder.uigeneral.functions.js CHANGED
@@ -51,46 +51,41 @@ jQuery(document).ready(function($) {
51
  * Try to detect JS errors in preview area.
52
  */
53
  jQuery("#page-builder-frame")[0].contentWindow.onerror = function( error, file, line, char ) {
54
-
55
  dslca_generate_error_report ( error, file, line, char );
56
  }
57
 
58
  // Put JS error log data in a hidden textarea.
59
  dslca_update_report_log();
60
 
61
-
62
  jQuery('body').addClass('dslca-enabled dslca-drag-not-in-progress');
63
  jQuery('.dslca-invisible-overlay').hide();
64
  jQuery('.dslca-section').eq(0).show();
 
65
 
 
 
66
 
67
- /** Wait till tinyMCE loaded */
68
- window.previewAreaTinyMCELoaded = function(){
69
-
70
- var self = this;
71
- LiveComposer.Builder.PreviewAreaWindow = this;
72
- LiveComposer.Builder.PreviewAreaDocument = jQuery(this.document);
73
-
74
- // Disable WP admin bar in editing mode
75
- jQuery('#wpadminbar', LiveComposer.Builder.PreviewAreaDocument).remove();
76
 
77
- LiveComposer.Builder.UI.initInlineEditors();
78
- dslc_fix_contenteditable();
79
 
80
- var mainDraggable = LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];
81
- new LiveComposer.Builder.Elements.CSectionsContainer( mainDraggable );
82
 
83
- jQuery(document).trigger('editorFrameLoaded');
 
84
 
85
- dslc_drag_and_drop();
 
 
86
 
87
- dslc_generate_code();
88
-
89
- // Catch keypress events (from both parent and iframe) to add keyboard support
90
- dslc_keypress_events();
91
- LiveComposer.Builder.UI.initPreviewAreaScroller();
92
- };
93
- });
94
 
95
  /**
96
  * Action - "Currently Editing" scroll on click
@@ -200,8 +195,8 @@ jQuery(document).on( 'click', '.dslca-close-composer-hook', function(e){
200
 
201
  var redirect_url = jQuery(this).attr('href');
202
 
203
- if ( ! jQuery('body').hasClass('dslca-saving-in-progress') ) {
204
-
205
  LiveComposer.Builder.UI.CModalWindow({
206
 
207
  title: DSLCString.str_exit_title,
@@ -210,9 +205,8 @@ jQuery(document).on( 'click', '.dslca-close-composer-hook', function(e){
210
  window.location = redirect_url;
211
  }
212
  });
213
-
214
- /*dslc_js_confirm( 'disable_lc', '<span class="dslca-prompt-modal-title">' +
215
- DSLCString.str_exit_title + '</span><span class="dslca-prompt-modal-descr">' + DSLCString.str_exit_descr + '</span>', jQuery(this).attr('href') );*/
216
  }
217
  });
218
 
@@ -557,8 +551,8 @@ function dslc_drag_and_drop() {
557
  jQuery('body').removeClass('dslca-module-drop-in-progress');
558
  }, 700 );
559
 
560
- // "Show" no content text
561
- jQuery('.dslca-no-content-primary', modulesArea ).css({ opacity : 1 });
562
 
563
  // "Show" modules area management
564
  jQuery('.dslca-modules-area-manage', modulesArea).css ({ visibility : 'visible' });
@@ -572,7 +566,7 @@ function dslc_drag_and_drop() {
572
  // Show publish
573
  dslc_show_publish_button();
574
 
575
- LiveComposer.Builder.UI.initInlineEditors();
576
  });
577
 
578
  // Loading animation
@@ -584,8 +578,8 @@ function dslc_drag_and_drop() {
584
  jQuery(itemEl).find('.dslca-icon').attr('class', '').attr('class', 'dslca-icon dslc-icon-refresh dslc-icon-spin');
585
 
586
 
587
- // Hide no content text
588
- jQuery('.dslca-no-content-primary', modulesArea).css({ opacity : 0 });
589
 
590
  // Hide modules area management
591
  jQuery('.dslca-modules-area-manage', modulesArea).css ({ visibility : 'hidden' });
51
  * Try to detect JS errors in preview area.
52
  */
53
  jQuery("#page-builder-frame")[0].contentWindow.onerror = function( error, file, line, char ) {
 
54
  dslca_generate_error_report ( error, file, line, char );
55
  }
56
 
57
  // Put JS error log data in a hidden textarea.
58
  dslca_update_report_log();
59
 
 
60
  jQuery('body').addClass('dslca-enabled dslca-drag-not-in-progress');
61
  jQuery('.dslca-invisible-overlay').hide();
62
  jQuery('.dslca-section').eq(0).show();
63
+ });
64
 
65
+ /** Wait till tinyMCE loaded */
66
+ window.previewAreaTinyMCELoaded = function(){
67
 
68
+ var self = this;
69
+ LiveComposer.Builder.PreviewAreaWindow = this;
70
+ LiveComposer.Builder.PreviewAreaDocument = jQuery(this.document);
 
 
 
 
 
 
71
 
72
+ // Disable WP admin bar in editing mode
73
+ jQuery('#wpadminbar', LiveComposer.Builder.PreviewAreaDocument).remove();
74
 
75
+ // LiveComposer.Builder.UI.initInlineEditors();
76
+ dslc_fix_contenteditable();
77
 
78
+ var mainDraggable = LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];
79
+ new LiveComposer.Builder.Elements.CSectionsContainer( mainDraggable );
80
 
81
+ jQuery(document).trigger('editorFrameLoaded');
82
+ dslc_drag_and_drop();
83
+ dslc_generate_code();
84
 
85
+ // Catch keypress events (from both parent and iframe) to add keyboard support
86
+ dslc_keypress_events();
87
+ LiveComposer.Builder.UI.initPreviewAreaScroller();
88
+ };
 
 
 
89
 
90
  /**
91
  * Action - "Currently Editing" scroll on click
195
 
196
  var redirect_url = jQuery(this).attr('href');
197
 
198
+ if ( ! jQuery('body').hasClass('dslca-saving-in-progress') && jQuery('.dslca-save-composer').is(':visible') ) {
199
+ // Show warning if changes weren't saved.
200
  LiveComposer.Builder.UI.CModalWindow({
201
 
202
  title: DSLCString.str_exit_title,
205
  window.location = redirect_url;
206
  }
207
  });
208
+ } else {
209
+ window.location = redirect_url;
 
210
  }
211
  });
212
 
551
  jQuery('body').removeClass('dslca-module-drop-in-progress');
552
  }, 700 );
553
 
554
+ // "Show" no content text // Not used anymore?
555
+ // jQuery('.dslca-no-content-primary', modulesArea ).css({ opacity : 1 });
556
 
557
  // "Show" modules area management
558
  jQuery('.dslca-modules-area-manage', modulesArea).css ({ visibility : 'visible' });
566
  // Show publish
567
  dslc_show_publish_button();
568
 
569
+ // LiveComposer.Builder.UI.initInlineEditors();
570
  });
571
 
572
  // Loading animation
578
  jQuery(itemEl).find('.dslca-icon').attr('class', '').attr('class', 'dslca-icon dslc-icon-refresh dslc-icon-spin');
579
 
580
 
581
+ // Hide no content text // Not used anymore?
582
+ // jQuery('.dslca-no-content-primary', modulesArea).css({ opacity : 0 });
583
 
584
  // Hide modules area management
585
  jQuery('.dslca-modules-area-manage', modulesArea).css ({ visibility : 'hidden' });
lang/live-composer-page-builder.pot CHANGED
@@ -7684,6 +7684,11 @@ msgstr ""
7684
  msgid "Reply to %s."
7685
  msgstr ""
7686
 
 
 
 
 
 
7687
  #: ../modules/tp-content/module.php:13
7688
  msgid "The Content"
7689
  msgstr ""
7684
  msgid "Reply to %s."
7685
  msgstr ""
7686
 
7687
+ #: ../modules/tp-comments-form/module.php:1366
7688
+ #, php-format
7689
+ msgid "cancel"
7690
+ msgstr ""
7691
+
7692
  #: ../modules/tp-content/module.php:13
7693
  msgid "The Content"
7694
  msgstr ""
modules/accordion/module.php CHANGED
@@ -8,11 +8,11 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Accordion extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
- var $handle_like;
16
 
17
  function __construct() {
18
 
@@ -1255,7 +1255,7 @@ class DSLC_Accordion extends DSLC_Module {
1255
  <div class="dslca-editable-content"<?php if ( $dslc_is_admin ) { echo ' data-exportable-content';} ?>>
1256
  <?php
1257
  $accordion_content_output = stripslashes( $accordion_content );
1258
- echo apply_filters( 'dslc_before_render', $accordion_content_output );
1259
  ?>
1260
  </div>
1261
  <?php if ( $dslc_is_admin ) : ?>
8
 
9
  class DSLC_Accordion extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
+ public $handle_like;
16
 
17
  function __construct() {
18
 
1255
  <div class="dslca-editable-content"<?php if ( $dslc_is_admin ) { echo ' data-exportable-content';} ?>>
1256
  <?php
1257
  $accordion_content_output = stripslashes( $accordion_content );
1258
+ echo apply_filters( 'dslc_text_block_render', $accordion_content_output );
1259
  ?>
1260
  </div>
1261
  <?php if ( $dslc_is_admin ) : ?>
modules/blog/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Blog extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -1203,6 +1203,35 @@ class DSLC_Blog extends DSLC_Module {
1203
  'section' => 'styling',
1204
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1205
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1206
  array(
1207
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
1208
  'id' => 'css_meta_border_color',
@@ -1356,7 +1385,7 @@ class DSLC_Blog extends DSLC_Module {
1356
  'ext' => 'px',
1357
  ),
1358
  array(
1359
- 'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1360
  'id' => 'css_meta_margin_bottom',
1361
  'std' => '16',
1362
  'type' => 'slider',
@@ -1367,6 +1396,18 @@ class DSLC_Blog extends DSLC_Module {
1367
  'ext' => 'px',
1368
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1369
  ),
 
 
 
 
 
 
 
 
 
 
 
 
1370
  array(
1371
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1372
  'id' => 'css_meta_padding_vertical',
@@ -1841,6 +1882,29 @@ class DSLC_Blog extends DSLC_Module {
1841
  'ext' => 'px',
1842
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1843
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1844
  array(
1845
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1846
  'id' => 'button_icon_id',
@@ -1849,14 +1913,36 @@ class DSLC_Blog extends DSLC_Module {
1849
  'section' => 'styling',
1850
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1851
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1852
  array(
1853
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1854
  'id' => 'css_button_icon_color',
1855
  'std' => '',
1856
  'type' => 'color',
1857
  'refresh_on_change' => false,
1858
- 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon',
1859
- 'affect_on_change_rule' => 'color',
1860
  'section' => 'styling',
1861
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1862
  ),
@@ -1866,8 +1952,8 @@ class DSLC_Blog extends DSLC_Module {
1866
  'std' => '',
1867
  'type' => 'color',
1868
  'refresh_on_change' => false,
1869
- 'affect_on_change_el' => '.dslc-blog-post-read-more a:hover .dslc-icon',
1870
- 'affect_on_change_rule' => 'color',
1871
  'section' => 'styling',
1872
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1873
  ),
@@ -1877,7 +1963,7 @@ class DSLC_Blog extends DSLC_Module {
1877
  'std' => '5',
1878
  'type' => 'slider',
1879
  'refresh_on_change' => false,
1880
- 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon',
1881
  'affect_on_change_rule' => 'margin-right',
1882
  'section' => 'styling',
1883
  'ext' => 'px',
@@ -2510,13 +2596,25 @@ class DSLC_Blog extends DSLC_Module {
2510
  'ext' => 'px',
2511
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2512
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2513
  array(
2514
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2515
  'id' => 'css_res_t_button_icon_margin',
2516
  'std' => '5',
2517
  'type' => 'slider',
2518
  'refresh_on_change' => false,
2519
- 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon',
2520
  'affect_on_change_rule' => 'margin-right',
2521
  'section' => 'responsive',
2522
  'ext' => 'px',
@@ -2845,13 +2943,25 @@ class DSLC_Blog extends DSLC_Module {
2845
  'ext' => 'px',
2846
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2847
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2848
  array(
2849
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2850
  'id' => 'css_res_p_button_icon_margin',
2851
  'std' => '5',
2852
  'type' => 'slider',
2853
  'refresh_on_change' => false,
2854
- 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon',
2855
  'affect_on_change_rule' => 'margin-right',
2856
  'section' => 'responsive',
2857
  'ext' => 'px',
@@ -2870,7 +2980,7 @@ class DSLC_Blog extends DSLC_Module {
2870
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
2871
 
2872
  // Cache calculated array in WP Object Cache.
2873
- wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options ,'dslc_modules' );
2874
 
2875
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2876
 
@@ -3100,6 +3210,10 @@ function dslc_module_blog_output( $atts, $content = null ) {
3100
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
3101
  $show_header = true;
3102
  }
 
 
 
 
3103
 
3104
  /**
3105
  * Carousel Items
@@ -3196,7 +3310,7 @@ function dslc_module_blog_output( $atts, $content = null ) {
3196
 
3197
  <!-- Carousel -->
3198
 
3199
- <?php if ( $show_carousel_arrows ) : ?>
3200
  <span class="dslc-carousel-nav fr">
3201
  <span class="dslc-carousel-nav-inner">
3202
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -3216,9 +3330,13 @@ function dslc_module_blog_output( $atts, $content = null ) {
3216
 
3217
  if ( $dslc_query->have_posts() ) {
3218
 
3219
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
3220
 
3221
- ?><div class="dslc-posts-inner"><?php
3222
 
3223
  if ( $options['type'] == 'carousel' ) :
3224
 
@@ -3337,13 +3455,13 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
3337
  <div class="dslc-blog-post-meta">
3338
 
3339
  <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3340
- <div class="dslc-blog-post-meta-author">
3341
  <?php _e( 'By', 'live-composer-page-builder' ); ?> <?php the_author_posts_link(); ?>
3342
  </div><!-- .dslc-blog-post-meta-author -->
3343
  <?php endif; ?>
3344
 
3345
  <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3346
- <div class="dslc-blog-post-meta-date">
3347
  <?php the_time( get_option( 'date_format' ) ); ?>
3348
  </div><!-- .dslc-blog-post-meta-date -->
3349
  <?php endif; ?>
@@ -3386,8 +3504,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
3386
 
3387
  <div class="dslc-blog-post-read-more">
3388
  <a href="<?php the_permalink(); ?>">
3389
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
3390
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
3391
  <?php endif; ?>
3392
  <?php echo $options['button_text']; ?>
3393
  </a>
@@ -3432,7 +3552,7 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
3432
  <div class="dslc-blog-post-meta">
3433
 
3434
  <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3435
- <div class="dslc-blog-post-meta-author">
3436
  <span class="dslc-blog-post-meta-avatar">
3437
  <?php echo get_avatar( get_the_author_meta( 'ID' ), 100 ); ?>
3438
  </span>
@@ -3441,7 +3561,7 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
3441
  <?php endif; ?>
3442
 
3443
  <?php if ( in_array( 'date', $meta_elements ) ) : ?>
3444
- <div class="dslc-blog-post-meta-date">
3445
  <?php the_time( get_option( 'date_format' ) ); ?>
3446
  </div><!-- .dslc-blog-post-meta-date -->
3447
  <?php endif; ?>
@@ -3484,8 +3604,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
3484
 
3485
  <div class="dslc-blog-post-read-more">
3486
  <a href="<?php the_permalink(); ?>">
3487
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
3488
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
3489
  <?php endif; ?>
3490
  <?php echo $options['button_text']; ?>
3491
  </a>
@@ -3548,9 +3670,13 @@ if ( $options['type'] == 'carousel' ) :
3548
 
3549
  endif;
3550
 
3551
- ?></div><!-- .dslc-posts-inner --><?php
 
 
 
 
3552
 
3553
- ?></div><!-- .dslc-blog-posts --><?php
3554
 
3555
  } else {
3556
 
8
 
9
  class DSLC_Blog extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
1203
  'section' => 'styling',
1204
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1205
  ),
1206
+ array(
1207
+ 'label' => __( 'Position', 'live-composer-page-builder' ),
1208
+ 'id' => 'meta_position',
1209
+ 'std' => 'default',
1210
+ 'type' => 'select',
1211
+ 'choices' => array(
1212
+ array(
1213
+ 'label' => __( 'Default', 'live-composer-page-builder' ),
1214
+ 'value' => 'default',
1215
+ ),
1216
+ array(
1217
+ 'label' => __( 'Above', 'live-composer-page-builder' ),
1218
+ 'value' => 'above',
1219
+ ),
1220
+ ),
1221
+ 'section' => 'styling',
1222
+ 'tab' => __( 'Meta', 'live-composer-page-builder' ),
1223
+ ),
1224
+ array(
1225
+ 'label' => __( 'Text Align', 'live-composer-page-builder' ),
1226
+ 'id' => 'css_meta_text_align',
1227
+ 'std' => 'center',
1228
+ 'type' => 'text_align',
1229
+ 'refresh_on_change' => false,
1230
+ 'affect_on_change_el' => '.dslc-blog-post-meta',
1231
+ 'affect_on_change_rule' => 'text-align',
1232
+ 'section' => 'styling',
1233
+ 'tab' => __( 'Meta', 'live-composer-page-builder' ),
1234
+ ),
1235
  array(
1236
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
1237
  'id' => 'css_meta_border_color',
1385
  'ext' => 'px',
1386
  ),
1387
  array(
1388
+ 'label' => __( 'Margin Bottom ( Wrapper )', 'live-composer-page-builder' ),
1389
  'id' => 'css_meta_margin_bottom',
1390
  'std' => '16',
1391
  'type' => 'slider',
1396
  'ext' => 'px',
1397
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1398
  ),
1399
+ array(
1400
+ 'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1401
+ 'id' => 'css_meta_item_margin_bottom',
1402
+ 'std' => '0',
1403
+ 'type' => 'slider',
1404
+ 'refresh_on_change' => false,
1405
+ 'affect_on_change_el' => '.dslc-cpt-post-meta-author, .dslc-cpt-post-meta-date',
1406
+ 'affect_on_change_rule' => 'margin-bottom',
1407
+ 'section' => 'styling',
1408
+ 'ext' => 'px',
1409
+ 'tab' => __( 'Meta', 'live-composer-page-builder' ),
1410
+ ),
1411
  array(
1412
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1413
  'id' => 'css_meta_padding_vertical',
1882
  'ext' => 'px',
1883
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1884
  ),
1885
+ array(
1886
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
1887
+ 'id' => 'show_icon',
1888
+ 'std' => 'font',
1889
+ 'type' => 'select',
1890
+ 'choices' => array(
1891
+ array(
1892
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
1893
+ 'value' => 'font',
1894
+ ),
1895
+ array(
1896
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
1897
+ 'value' => 'svg',
1898
+ ),
1899
+ ),
1900
+ 'dependent_controls' => array(
1901
+ 'font' => 'button_icon_id',
1902
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
1903
+ ),
1904
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
1905
+ 'section' => 'styling',
1906
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1907
+ ),
1908
  array(
1909
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1910
  'id' => 'button_icon_id',
1913
  'section' => 'styling',
1914
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1915
  ),
1916
+ array(
1917
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
1918
+ 'id' => 'button_inline_svg',
1919
+ 'std' => '',
1920
+ 'type' => 'textarea',
1921
+ 'section' => 'functionality',
1922
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
1923
+ 'section' => 'styling',
1924
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1925
+ ),
1926
+ array(
1927
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
1928
+ 'id' => 'css_button_icon_size_svg',
1929
+ 'std' => '11',
1930
+ 'type' => 'slider',
1931
+ 'refresh_on_change' => false,
1932
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a svg',
1933
+ 'affect_on_change_rule' => 'width, height',
1934
+ 'section' => 'styling',
1935
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1936
+ 'ext' => 'px',
1937
+ ),
1938
  array(
1939
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1940
  'id' => 'css_button_icon_color',
1941
  'std' => '',
1942
  'type' => 'color',
1943
  'refresh_on_change' => false,
1944
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon, .dslc-blog-post-read-more a svg',
1945
+ 'affect_on_change_rule' => 'color, fill',
1946
  'section' => 'styling',
1947
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1948
  ),
1952
  'std' => '',
1953
  'type' => 'color',
1954
  'refresh_on_change' => false,
1955
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a:hover .dslc-icon, .dslc-blog-post-read-more a:hover svg',
1956
+ 'affect_on_change_rule' => 'color, fill',
1957
  'section' => 'styling',
1958
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1959
  ),
1963
  'std' => '5',
1964
  'type' => 'slider',
1965
  'refresh_on_change' => false,
1966
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon, .dslc-blog-post-read-more a svg',
1967
  'affect_on_change_rule' => 'margin-right',
1968
  'section' => 'styling',
1969
  'ext' => 'px',
2596
  'ext' => 'px',
2597
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2598
  ),
2599
+ array(
2600
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2601
+ 'id' => 'css_res_t_button_icon_size_svg',
2602
+ 'std' => '11',
2603
+ 'type' => 'slider',
2604
+ 'refresh_on_change' => false,
2605
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a svg',
2606
+ 'affect_on_change_rule' => 'width, height',
2607
+ 'section' => 'responsive',
2608
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2609
+ 'ext' => 'px',
2610
+ ),
2611
  array(
2612
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2613
  'id' => 'css_res_t_button_icon_margin',
2614
  'std' => '5',
2615
  'type' => 'slider',
2616
  'refresh_on_change' => false,
2617
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon, .dslc-blog-post-read-more a svg',
2618
  'affect_on_change_rule' => 'margin-right',
2619
  'section' => 'responsive',
2620
  'ext' => 'px',
2943
  'ext' => 'px',
2944
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2945
  ),
2946
+ array(
2947
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2948
+ 'id' => 'css_res_p_button_icon_size_svg',
2949
+ 'std' => '11',
2950
+ 'type' => 'slider',
2951
+ 'refresh_on_change' => false,
2952
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a svg',
2953
+ 'affect_on_change_rule' => 'width, height',
2954
+ 'section' => 'responsive',
2955
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2956
+ 'ext' => 'px',
2957
+ ),
2958
  array(
2959
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2960
  'id' => 'css_res_p_button_icon_margin',
2961
  'std' => '5',
2962
  'type' => 'slider',
2963
  'refresh_on_change' => false,
2964
+ 'affect_on_change_el' => '.dslc-blog-post-read-more a .dslc-icon, .dslc-blog-post-read-more a svg',
2965
  'affect_on_change_rule' => 'margin-right',
2966
  'section' => 'responsive',
2967
  'ext' => 'px',
2980
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
2981
 
2982
  // Cache calculated array in WP Object Cache.
2983
+ wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options, 'dslc_modules' );
2984
 
2985
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2986
 
3210
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
3211
  $show_header = true;
3212
  }
3213
+
3214
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
3215
+ $container_class .= 'dslc-carousel-arrow-aside ';
3216
+ }
3217
 
3218
  /**
3219
  * Carousel Items
3310
 
3311
  <!-- Carousel -->
3312
 
3313
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
3314
  <span class="dslc-carousel-nav fr">
3315
  <span class="dslc-carousel-nav-inner">
3316
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
3330
 
3331
  if ( $dslc_query->have_posts() ) {
3332
 
3333
+ ?><div class="<?php echo $container_class; ?>">
3334
+
3335
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3336
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
3337
+ <?php endif; ?>
3338
 
3339
+ <div class="dslc-posts-inner"><?php
3340
 
3341
  if ( $options['type'] == 'carousel' ) :
3342
 
3455
  <div class="dslc-blog-post-meta">
3456
 
3457
  <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3458
+ <div class="dslc-blog-post-meta-author <?php if ( $options['meta_position'] == 'above' ) { echo 'above'; } ?>">
3459
  <?php _e( 'By', 'live-composer-page-builder' ); ?> <?php the_author_posts_link(); ?>
3460
  </div><!-- .dslc-blog-post-meta-author -->
3461
  <?php endif; ?>
3462
 
3463
  <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3464
+ <div class="dslc-blog-post-meta-date <?php if ( $options['meta_position'] == 'above' ) { echo 'above'; } ?>">
3465
  <?php the_time( get_option( 'date_format' ) ); ?>
3466
  </div><!-- .dslc-blog-post-meta-date -->
3467
  <?php endif; ?>
3504
 
3505
  <div class="dslc-blog-post-read-more">
3506
  <a href="<?php the_permalink(); ?>">
3507
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3508
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3509
+ <?php else : ?>
3510
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3511
  <?php endif; ?>
3512
  <?php echo $options['button_text']; ?>
3513
  </a>
3552
  <div class="dslc-blog-post-meta">
3553
 
3554
  <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3555
+ <div class="dslc-blog-post-meta-author <?php if ( $options['meta_position'] == 'above' ) { echo 'above'; } ?>">
3556
  <span class="dslc-blog-post-meta-avatar">
3557
  <?php echo get_avatar( get_the_author_meta( 'ID' ), 100 ); ?>
3558
  </span>
3561
  <?php endif; ?>
3562
 
3563
  <?php if ( in_array( 'date', $meta_elements ) ) : ?>
3564
+ <div class="dslc-blog-post-meta-date <?php if ( $options['meta_position'] == 'above' ) { echo 'above'; } ?>">
3565
  <?php the_time( get_option( 'date_format' ) ); ?>
3566
  </div><!-- .dslc-blog-post-meta-date -->
3567
  <?php endif; ?>
3604
 
3605
  <div class="dslc-blog-post-read-more">
3606
  <a href="<?php the_permalink(); ?>">
3607
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3608
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3609
+ <?php else : ?>
3610
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3611
  <?php endif; ?>
3612
  <?php echo $options['button_text']; ?>
3613
  </a>
3670
 
3671
  endif;
3672
 
3673
+ ?></div><!-- .dslc-posts-inner -->
3674
+
3675
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3676
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
3677
+ <?php endif; ?>
3678
 
3679
+ </div><!-- .dslc-blog-posts --><?php
3680
 
3681
  } else {
3682
 
modules/button/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Button extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -345,7 +345,7 @@ class DSLC_Button extends DSLC_Module {
345
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
346
  'id' => 'css_padding_vertical',
347
  'onlypositive' => true, // Value can't be negative.
348
- 'max' => 600,
349
  'std' => '12',
350
  'type' => 'slider',
351
  'refresh_on_change' => false,
@@ -359,6 +359,7 @@ class DSLC_Button extends DSLC_Module {
359
  'id' => 'css_padding_horizontal',
360
  'onlypositive' => true, // Value can't be negative.
361
  'std' => '12',
 
362
  'type' => 'slider',
363
  'refresh_on_change' => false,
364
  'affect_on_change_el' => '.dslc-button a',
@@ -437,6 +438,7 @@ class DSLC_Button extends DSLC_Module {
437
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
438
  'id' => 'css_button_font_size',
439
  'onlypositive' => true, // Value can't be negative.
 
440
  'std' => '11',
441
  'type' => 'slider',
442
  'refresh_on_change' => false,
@@ -528,6 +530,35 @@ class DSLC_Button extends DSLC_Module {
528
  'section' => 'styling',
529
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
530
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
531
  array(
532
  'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
533
  'id' => 'css_button_letter_spacing',
@@ -566,7 +597,7 @@ class DSLC_Button extends DSLC_Module {
566
  'section' => 'styling',
567
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
568
  'dependent_controls' => array(
569
- 'enabled' => 'icon_pos, button_icon_id, css_icon_color, css_icon_color_hover, css_icon_margin, css_icon_margin_left',
570
  ),
571
  ),
572
  array(
@@ -587,6 +618,25 @@ class DSLC_Button extends DSLC_Module {
587
  'section' => 'styling',
588
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
589
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
590
  array(
591
  'label' => __( 'Icon', 'live-composer-page-builder' ),
592
  'id' => 'button_icon_id',
@@ -595,25 +645,46 @@ class DSLC_Button extends DSLC_Module {
595
  'section' => 'styling',
596
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
597
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
598
  array(
599
  'label' => __( 'Color', 'live-composer-page-builder' ),
600
  'id' => 'css_icon_color',
601
- 'std' => '',
602
  'type' => 'color',
603
  'refresh_on_change' => false,
604
- 'affect_on_change_el' => '.dslc-button a .dslc-icon',
605
- 'affect_on_change_rule' => 'color',
606
  'section' => 'styling',
607
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
608
  ),
609
  array(
610
  'label' => __( 'Color - Hover', 'live-composer-page-builder' ),
611
  'id' => 'css_icon_color_hover',
612
- 'std' => '',
613
  'type' => 'color',
614
  'refresh_on_change' => false,
615
- 'affect_on_change_el' => '.dslc-button a:hover .dslc-icon',
616
- 'affect_on_change_rule' => 'color',
617
  'section' => 'styling',
618
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
619
  ),
@@ -623,7 +694,7 @@ class DSLC_Button extends DSLC_Module {
623
  'std' => '5',
624
  'type' => 'slider',
625
  'refresh_on_change' => false,
626
- 'affect_on_change_el' => '.dslc-button a .dslc-icon',
627
  'affect_on_change_rule' => 'margin-right',
628
  'section' => 'styling',
629
  'ext' => 'px',
@@ -635,7 +706,7 @@ class DSLC_Button extends DSLC_Module {
635
  'std' => '0',
636
  'type' => 'slider',
637
  'refresh_on_change' => false,
638
- 'affect_on_change_el' => '.dslc-button a .dslc-icon',
639
  'affect_on_change_rule' => 'margin-left',
640
  'section' => 'styling',
641
  'ext' => 'px',
@@ -874,6 +945,17 @@ class DSLC_Button extends DSLC_Module {
874
  'ext' => 'px',
875
  'tab' => __( 'Wrapper', 'live-composer-page-builder' ),
876
  ),
 
 
 
 
 
 
 
 
 
 
 
877
 
878
  /**
879
  * Responsive Tablet
@@ -949,13 +1031,25 @@ class DSLC_Button extends DSLC_Module {
949
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
950
  'ext' => 'px',
951
  ),
 
 
 
 
 
 
 
 
 
 
 
 
952
  array(
953
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
954
  'id' => 'css_res_t_icon_margin',
955
  'std' => '5',
956
  'type' => 'slider',
957
  'refresh_on_change' => false,
958
- 'affect_on_change_el' => '.dslc-button a .dslc-icon',
959
  'affect_on_change_rule' => 'margin-right',
960
  'section' => 'responsive',
961
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -1047,13 +1141,25 @@ class DSLC_Button extends DSLC_Module {
1047
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1048
  'ext' => 'px',
1049
  ),
 
 
 
 
 
 
 
 
 
 
 
 
1050
  array(
1051
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
1052
  'id' => 'css_res_p_icon_margin',
1053
  'std' => '5',
1054
  'type' => 'slider',
1055
  'refresh_on_change' => false,
1056
- 'affect_on_change_el' => '.dslc-button a .dslc-icon',
1057
  'affect_on_change_rule' => 'margin-right',
1058
  'section' => 'responsive',
1059
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -1113,7 +1219,11 @@ class DSLC_Button extends DSLC_Module {
1113
  <a href="<?php echo $options['button_url']; ?>" <?php echo $anchor_append;
1114
  if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="dslc-lightbox-image <?php echo trim( esc_attr( $classes ) ); ?>">
1115
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'left' ) : ?>
1116
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
 
 
1117
  <?php endif; ?>
1118
  <?php if ( $dslc_is_admin ) : ?>
1119
  <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable="true"><?php echo stripslashes( $options['button_text'] ); ?></span>
@@ -1121,14 +1231,22 @@ class DSLC_Button extends DSLC_Module {
1121
  <?php echo stripslashes( $options['button_text'] ); ?>
1122
  <?php endif; ?>
1123
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'right' ) : ?>
1124
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
 
 
1125
  <?php endif; ?>
1126
  </a>
1127
  <?php else : ?>
1128
  <a href="<?php echo $options['button_url']; ?>" target="<?php echo $options['button_target']; ?>" <?php echo $anchor_append;
1129
  if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="<?php echo trim( esc_attr( $classes ) ); ?>">
1130
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'left' ) : ?>
1131
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
 
 
1132
  <?php endif; ?>
1133
  <?php if ( $dslc_is_admin ) : ?>
1134
  <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable="true"><?php echo stripslashes( $options['button_text'] ); ?></span>
@@ -1136,7 +1254,11 @@ class DSLC_Button extends DSLC_Module {
1136
  <?php echo stripslashes( $options['button_text'] ); ?>
1137
  <?php endif; ?>
1138
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'right' ) : ?>
1139
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
 
 
1140
  <?php endif; ?>
1141
  </a>
1142
  <?php endif; ?>
8
 
9
  class DSLC_Button extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
345
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
346
  'id' => 'css_padding_vertical',
347
  'onlypositive' => true, // Value can't be negative.
348
+ 'max' => 50,
349
  'std' => '12',
350
  'type' => 'slider',
351
  'refresh_on_change' => false,
359
  'id' => 'css_padding_horizontal',
360
  'onlypositive' => true, // Value can't be negative.
361
  'std' => '12',
362
+ 'max' => 50,
363
  'type' => 'slider',
364
  'refresh_on_change' => false,
365
  'affect_on_change_el' => '.dslc-button a',
438
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
439
  'id' => 'css_button_font_size',
440
  'onlypositive' => true, // Value can't be negative.
441
+ 'max' => 50,
442
  'std' => '11',
443
  'type' => 'slider',
444
  'refresh_on_change' => false,
530
  'section' => 'styling',
531
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
532
  ),
533
+ array(
534
+ 'label' => __( 'Text Transform', 'live-composer-page-builder' ),
535
+ 'id' => 'css_button_text_transform',
536
+ 'std' => 'none',
537
+ 'type' => 'select',
538
+ 'choices' => array(
539
+ array(
540
+ 'label' => __( 'None', 'live-composer-page-builder' ),
541
+ 'value' => 'none',
542
+ ),
543
+ array(
544
+ 'label' => __( 'Capitalize', 'live-composer-page-builder' ),
545
+ 'value' => 'capitalize',
546
+ ),
547
+ array(
548
+ 'label' => __( 'Uppercase', 'live-composer-page-builder' ),
549
+ 'value' => 'uppercase',
550
+ ),
551
+ array(
552
+ 'label' => __( 'Lowercase', 'live-composer-page-builder' ),
553
+ 'value' => 'lowercase',
554
+ ),
555
+ ),
556
+ 'refresh_on_change' => false,
557
+ 'affect_on_change_el' => '.dslc-button a',
558
+ 'affect_on_change_rule' => 'text-transform',
559
+ 'section' => 'styling',
560
+ 'tab' => __( 'Typography', 'live-composer-page-builder' ),
561
+ ),
562
  array(
563
  'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
564
  'id' => 'css_button_letter_spacing',
597
  'section' => 'styling',
598
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
599
  'dependent_controls' => array(
600
+ 'enabled' => 'icon_pos, button_icon_id, css_icon_color, css_icon_color_hover, css_icon_margin, css_icon_margin_left, show_icon, button_inline_svg, css_button_icon_size_svg',
601
  ),
602
  ),
603
  array(
618
  'section' => 'styling',
619
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
620
  ),
621
+ array(
622
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
623
+ 'id' => 'show_icon',
624
+ 'std' => 'font',
625
+ 'type' => 'select',
626
+ 'choices' => array(
627
+ array(
628
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
629
+ 'value' => 'font',
630
+ ),
631
+ array(
632
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
633
+ 'value' => 'svg',
634
+ ),
635
+ ),
636
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
637
+ 'section' => 'styling',
638
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
639
+ ),
640
  array(
641
  'label' => __( 'Icon', 'live-composer-page-builder' ),
642
  'id' => 'button_icon_id',
645
  'section' => 'styling',
646
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
647
  ),
648
+ array(
649
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
650
+ 'id' => 'button_inline_svg',
651
+ 'std' => '',
652
+ 'type' => 'textarea',
653
+ 'section' => 'styling',
654
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
655
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
656
+ ),
657
+ array(
658
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
659
+ 'id' => 'css_button_icon_size_svg',
660
+ 'std' => '11',
661
+ 'type' => 'slider',
662
+ 'refresh_on_change' => false,
663
+ 'affect_on_change_el' => '.dslc-button a svg',
664
+ 'affect_on_change_rule' => 'width, height',
665
+ 'section' => 'styling',
666
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
667
+ 'ext' => 'px',
668
+ ),
669
  array(
670
  'label' => __( 'Color', 'live-composer-page-builder' ),
671
  'id' => 'css_icon_color',
672
+ 'std' => '#ffffff',
673
  'type' => 'color',
674
  'refresh_on_change' => false,
675
+ 'affect_on_change_el' => '.dslc-button a .dslc-icon, .dslc-button a svg',
676
+ 'affect_on_change_rule' => 'color, fill',
677
  'section' => 'styling',
678
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
679
  ),
680
  array(
681
  'label' => __( 'Color - Hover', 'live-composer-page-builder' ),
682
  'id' => 'css_icon_color_hover',
683
+ 'std' => '#ffffff',
684
  'type' => 'color',
685
  'refresh_on_change' => false,
686
+ 'affect_on_change_el' => '.dslc-button a:hover .dslc-icon, .dslc-button:hover a svg',
687
+ 'affect_on_change_rule' => 'color, fill',
688
  'section' => 'styling',
689
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
690
  ),
694
  'std' => '5',
695
  'type' => 'slider',
696
  'refresh_on_change' => false,
697
+ 'affect_on_change_el' => '.dslc-button a .dslc-icon, .dslc-button a svg',
698
  'affect_on_change_rule' => 'margin-right',
699
  'section' => 'styling',
700
  'ext' => 'px',
706
  'std' => '0',
707
  'type' => 'slider',
708
  'refresh_on_change' => false,
709
+ 'affect_on_change_el' => '.dslc-button a .dslc-icon, .dslc-button a svg',
710
  'affect_on_change_rule' => 'margin-left',
711
  'section' => 'styling',
712
  'ext' => 'px',
945
  'ext' => 'px',
946
  'tab' => __( 'Wrapper', 'live-composer-page-builder' ),
947
  ),
948
+ array(
949
+ 'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
950
+ 'id' => 'css_wrapper_box_shadow',
951
+ 'std' => '',
952
+ 'type' => 'box_shadow',
953
+ 'refresh_on_change' => false,
954
+ 'affect_on_change_el' => '.dslc-button',
955
+ 'affect_on_change_rule' => 'box-shadow',
956
+ 'section' => 'styling',
957
+ 'tab' => __( 'Wrapper', 'live-composer-page-builder' ),
958
+ ),
959
 
960
  /**
961
  * Responsive Tablet
1031
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1032
  'ext' => 'px',
1033
  ),
1034
+ array(
1035
+ 'label' => __( 'Icon Size ( SVG )', 'live-composer-page-builder' ),
1036
+ 'id' => 'css_res_t_button_icon_size_svg',
1037
+ 'std' => '11',
1038
+ 'type' => 'slider',
1039
+ 'refresh_on_change' => false,
1040
+ 'affect_on_change_el' => '.dslc-button a svg',
1041
+ 'affect_on_change_rule' => 'width, height',
1042
+ 'section' => 'responsive',
1043
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1044
+ 'ext' => 'px',
1045
+ ),
1046
  array(
1047
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
1048
  'id' => 'css_res_t_icon_margin',
1049
  'std' => '5',
1050
  'type' => 'slider',
1051
  'refresh_on_change' => false,
1052
+ 'affect_on_change_el' => '.dslc-button a .dslc-icon, .dslc-button a svg',
1053
  'affect_on_change_rule' => 'margin-right',
1054
  'section' => 'responsive',
1055
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1141
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1142
  'ext' => 'px',
1143
  ),
1144
+ array(
1145
+ 'label' => __( 'Icon Size ( SVG )', 'live-composer-page-builder' ),
1146
+ 'id' => 'css_res_p_button_icon_size_svg',
1147
+ 'std' => '11',
1148
+ 'type' => 'slider',
1149
+ 'refresh_on_change' => false,
1150
+ 'affect_on_change_el' => '.dslc-button a svg',
1151
+ 'affect_on_change_rule' => 'width, height',
1152
+ 'section' => 'responsive',
1153
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
1154
+ 'ext' => 'px',
1155
+ ),
1156
  array(
1157
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
1158
  'id' => 'css_res_p_icon_margin',
1159
  'std' => '5',
1160
  'type' => 'slider',
1161
  'refresh_on_change' => false,
1162
+ 'affect_on_change_el' => '.dslc-button a .dslc-icon, .dslc-button a svg',
1163
  'affect_on_change_rule' => 'margin-right',
1164
  'section' => 'responsive',
1165
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1219
  <a href="<?php echo $options['button_url']; ?>" <?php echo $anchor_append;
1220
  if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="dslc-lightbox-image <?php echo trim( esc_attr( $classes ) ); ?>">
1221
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'left' ) : ?>
1222
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
1223
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
1224
+ <?php else : ?>
1225
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1226
+ <?php endif; ?>
1227
  <?php endif; ?>
1228
  <?php if ( $dslc_is_admin ) : ?>
1229
  <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable="true"><?php echo stripslashes( $options['button_text'] ); ?></span>
1231
  <?php echo stripslashes( $options['button_text'] ); ?>
1232
  <?php endif; ?>
1233
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'right' ) : ?>
1234
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
1235
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
1236
+ <?php else : ?>
1237
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1238
+ <?php endif; ?>
1239
  <?php endif; ?>
1240
  </a>
1241
  <?php else : ?>
1242
  <a href="<?php echo $options['button_url']; ?>" target="<?php echo $options['button_target']; ?>" <?php echo $anchor_append;
1243
  if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="<?php echo trim( esc_attr( $classes ) ); ?>">
1244
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'left' ) : ?>
1245
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
1246
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
1247
+ <?php else : ?>
1248
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1249
+ <?php endif; ?>
1250
  <?php endif; ?>
1251
  <?php if ( $dslc_is_admin ) : ?>
1252
  <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable="true"><?php echo stripslashes( $options['button_text'] ); ?></span>
1254
  <?php echo stripslashes( $options['button_text'] ); ?>
1255
  <?php endif; ?>
1256
  <?php if ( $options['button_state'] == 'enabled' && $options['icon_pos'] == 'right' ) : ?>
1257
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
1258
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
1259
+ <?php else : ?>
1260
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1261
+ <?php endif; ?>
1262
  <?php endif; ?>
1263
  </a>
1264
  <?php endif; ?>
modules/downloads/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Downloads' ) ) {
12
 
13
  class DSLC_Downloads extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
@@ -1612,6 +1612,29 @@ class DSLC_Downloads extends DSLC_Module {
1612
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1613
  'ext' => 'px',
1614
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1615
  array(
1616
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1617
  'id' => 'button_icon_id',
@@ -1620,14 +1643,36 @@ class DSLC_Downloads extends DSLC_Module {
1620
  'section' => 'styling',
1621
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1622
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1623
  array(
1624
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1625
  'id' => 'css_button_icon_color',
1626
  'std' => '#9fbeeb',
1627
  'type' => 'color',
1628
  'refresh_on_change' => false,
1629
- 'affect_on_change_el' => '.dslc-download-download a .dslc-icon',
1630
- 'affect_on_change_rule' => 'color',
1631
  'section' => 'styling',
1632
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1633
  ),
@@ -1637,7 +1682,7 @@ class DSLC_Downloads extends DSLC_Module {
1637
  'std' => '10',
1638
  'type' => 'slider',
1639
  'refresh_on_change' => false,
1640
- 'affect_on_change_el' => '.dslc-download-download a .dslc-icon',
1641
  'affect_on_change_rule' => 'margin-right',
1642
  'section' => 'styling',
1643
  'ext' => 'px',
@@ -1990,6 +2035,18 @@ class DSLC_Downloads extends DSLC_Module {
1990
  'section' => 'responsive',
1991
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1992
  'ext' => 'px',
 
 
 
 
 
 
 
 
 
 
 
 
1993
  ),
1994
  array(
1995
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
@@ -1997,7 +2054,7 @@ class DSLC_Downloads extends DSLC_Module {
1997
  'std' => '10',
1998
  'type' => 'slider',
1999
  'refresh_on_change' => false,
2000
- 'affect_on_change_el' => '.dslc-download-download a .dslc-icon',
2001
  'affect_on_change_rule' => 'margin-right',
2002
  'section' => 'responsive',
2003
  'ext' => 'px',
@@ -2274,13 +2331,25 @@ class DSLC_Downloads extends DSLC_Module {
2274
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2275
  'ext' => 'px',
2276
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2277
  array(
2278
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2279
  'id' => 'css_res_p_button_icon_margin',
2280
  'std' => '10',
2281
  'type' => 'slider',
2282
  'refresh_on_change' => false,
2283
- 'affect_on_change_el' => '.dslc-download-download a .dslc-icon',
2284
  'affect_on_change_rule' => 'margin-right',
2285
  'section' => 'responsive',
2286
  'ext' => 'px',
@@ -2524,6 +2593,10 @@ function dslc_module_downloads_output( $atts, $content = null ) {
2524
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2525
  $show_header = true;
2526
  }
 
 
 
 
2527
 
2528
  /**
2529
  * Carousel Items
@@ -2620,7 +2693,7 @@ function dslc_module_downloads_output( $atts, $content = null ) {
2620
 
2621
  <!-- Carousel -->
2622
 
2623
- <?php if ( $show_carousel_arrows ) : ?>
2624
  <span class="dslc-carousel-nav fr">
2625
  <span class="dslc-carousel-nav-inner">
2626
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -2640,9 +2713,13 @@ function dslc_module_downloads_output( $atts, $content = null ) {
2640
 
2641
  if ( $dslc_query->have_posts() ) :
2642
 
2643
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
2644
 
2645
- ?><div class="dslc-posts-inner"><?php
2646
 
2647
  if ( $options['type'] == 'carousel' ) :
2648
 
@@ -2694,8 +2771,8 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2694
  }
2695
 
2696
  /**
2697
- * Link or not
2698
- */
2699
 
2700
  $link_to_single = true;
2701
 
@@ -2828,8 +2905,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2828
 
2829
  <div class="dslc-download-download">
2830
  <a target="_blank" class="dslc-download-count-hook" data-post-id="<?php echo get_the_ID(); ?>" href="<?php echo $download_link; ?>" download>
2831
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2832
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2833
  <?php endif; ?>
2834
  <?php echo $options['button_text']; ?>
2835
  </a>
@@ -2927,8 +3006,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2927
 
2928
  <div class="dslc-download-download">
2929
  <a target="_blank" class="dslc-download-count-hook" data-post-id="<?php echo get_the_ID(); ?>" href="<?php echo $download_link; ?>" download>
2930
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2931
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2932
  <?php endif; ?>
2933
  <?php echo $options['button_text']; ?>
2934
  </a>
@@ -2965,9 +3046,13 @@ if ( $options['type'] == 'carousel' ) :
2965
 
2966
  endif;
2967
 
2968
- ?></div><!-- .dslc-posts-inner --><?php
 
 
 
 
2969
 
2970
- ?></div><?php
2971
 
2972
  else :
2973
 
12
 
13
  class DSLC_Downloads extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
1612
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1613
  'ext' => 'px',
1614
  ),
1615
+ array(
1616
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
1617
+ 'id' => 'show_icon',
1618
+ 'std' => 'font',
1619
+ 'type' => 'select',
1620
+ 'choices' => array(
1621
+ array(
1622
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
1623
+ 'value' => 'font',
1624
+ ),
1625
+ array(
1626
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
1627
+ 'value' => 'svg',
1628
+ ),
1629
+ ),
1630
+ 'dependent_controls' => array(
1631
+ 'font' => 'button_icon_id',
1632
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
1633
+ ),
1634
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
1635
+ 'section' => 'styling',
1636
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1637
+ ),
1638
  array(
1639
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1640
  'id' => 'button_icon_id',
1643
  'section' => 'styling',
1644
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1645
  ),
1646
+ array(
1647
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
1648
+ 'id' => 'button_inline_svg',
1649
+ 'std' => '',
1650
+ 'type' => 'textarea',
1651
+ 'section' => 'functionality',
1652
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
1653
+ 'section' => 'styling',
1654
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1655
+ ),
1656
+ array(
1657
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
1658
+ 'id' => 'css_button_icon_size_svg',
1659
+ 'std' => '11',
1660
+ 'type' => 'slider',
1661
+ 'refresh_on_change' => false,
1662
+ 'affect_on_change_el' => '.dslc-download-download a svg',
1663
+ 'affect_on_change_rule' => 'width, height',
1664
+ 'section' => 'styling',
1665
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1666
+ 'ext' => 'px',
1667
+ ),
1668
  array(
1669
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1670
  'id' => 'css_button_icon_color',
1671
  'std' => '#9fbeeb',
1672
  'type' => 'color',
1673
  'refresh_on_change' => false,
1674
+ 'affect_on_change_el' => '.dslc-download-download a .dslc-icon, .dslc-download-download a svg',
1675
+ 'affect_on_change_rule' => 'color, fill',
1676
  'section' => 'styling',
1677
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1678
  ),
1682
  'std' => '10',
1683
  'type' => 'slider',
1684
  'refresh_on_change' => false,
1685
+ 'affect_on_change_el' => '.dslc-download-download a .dslc-icon, .dslc-download-download a svg',
1686
  'affect_on_change_rule' => 'margin-right',
1687
  'section' => 'styling',
1688
  'ext' => 'px',
2035
  'section' => 'responsive',
2036
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2037
  'ext' => 'px',
2038
+ ),
2039
+ array(
2040
+ 'label' => __( 'Button Icon - Size ( SVG )', 'live-composer-page-builder' ),
2041
+ 'id' => 'css_res_t_button_icon_size_svg',
2042
+ 'std' => '11',
2043
+ 'type' => 'slider',
2044
+ 'refresh_on_change' => false,
2045
+ 'affect_on_change_el' => '.dslc-download-download a svg',
2046
+ 'affect_on_change_rule' => 'width, height',
2047
+ 'section' => 'responsive',
2048
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2049
+ 'ext' => 'px',
2050
  ),
2051
  array(
2052
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2054
  'std' => '10',
2055
  'type' => 'slider',
2056
  'refresh_on_change' => false,
2057
+ 'affect_on_change_el' => '.dslc-download-download a .dslc-icon, .dslc-download-download a svg',
2058
  'affect_on_change_rule' => 'margin-right',
2059
  'section' => 'responsive',
2060
  'ext' => 'px',
2331
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2332
  'ext' => 'px',
2333
  ),
2334
+ array(
2335
+ 'label' => __( 'Button Icon - Size ( SVG )', 'live-composer-page-builder' ),
2336
+ 'id' => 'css_res_p_button_icon_size_svg',
2337
+ 'std' => '11',
2338
+ 'type' => 'slider',
2339
+ 'refresh_on_change' => false,
2340
+ 'affect_on_change_el' => '.dslc-download-download a svg',
2341
+ 'affect_on_change_rule' => 'width, height',
2342
+ 'section' => 'responsive',
2343
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2344
+ 'ext' => 'px',
2345
+ ),
2346
  array(
2347
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2348
  'id' => 'css_res_p_button_icon_margin',
2349
  'std' => '10',
2350
  'type' => 'slider',
2351
  'refresh_on_change' => false,
2352
+ 'affect_on_change_el' => '.dslc-download-download a .dslc-icon, .dslc-download-download a svg',
2353
  'affect_on_change_rule' => 'margin-right',
2354
  'section' => 'responsive',
2355
  'ext' => 'px',
2593
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2594
  $show_header = true;
2595
  }
2596
+
2597
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
2598
+ $container_class .= 'dslc-carousel-arrow-aside ';
2599
+ }
2600
 
2601
  /**
2602
  * Carousel Items
2693
 
2694
  <!-- Carousel -->
2695
 
2696
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
2697
  <span class="dslc-carousel-nav fr">
2698
  <span class="dslc-carousel-nav-inner">
2699
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2713
 
2714
  if ( $dslc_query->have_posts() ) :
2715
 
2716
+ ?><div class="<?php echo $container_class; ?>">
2717
+
2718
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2719
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
2720
+ <?php endif; ?>
2721
 
2722
+ <div class="dslc-posts-inner"><?php
2723
 
2724
  if ( $options['type'] == 'carousel' ) :
2725
 
2771
  }
2772
 
2773
  /**
2774
+ * Link or not
2775
+ */
2776
 
2777
  $link_to_single = true;
2778
 
2905
 
2906
  <div class="dslc-download-download">
2907
  <a target="_blank" class="dslc-download-count-hook" data-post-id="<?php echo get_the_ID(); ?>" href="<?php echo $download_link; ?>" download>
2908
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
2909
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
2910
+ <?php else : ?>
2911
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2912
  <?php endif; ?>
2913
  <?php echo $options['button_text']; ?>
2914
  </a>
3006
 
3007
  <div class="dslc-download-download">
3008
  <a target="_blank" class="dslc-download-count-hook" data-post-id="<?php echo get_the_ID(); ?>" href="<?php echo $download_link; ?>" download>
3009
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3010
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3011
+ <?php else : ?>
3012
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3013
  <?php endif; ?>
3014
  <?php echo $options['button_text']; ?>
3015
  </a>
3046
 
3047
  endif;
3048
 
3049
+ ?></div><!-- .dslc-posts-inner -->
3050
+
3051
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3052
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
3053
+ <?php endif; ?>
3054
 
3055
+ </div><?php
3056
 
3057
  else :
3058
 
modules/galleries/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Galleries' ) ) {
12
 
13
  class DSLC_Galleries extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
@@ -1827,6 +1827,29 @@ class DSLC_Galleries extends DSLC_Module {
1827
  'ext' => 'px',
1828
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1829
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1830
  array(
1831
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1832
  'id' => 'button_icon_id',
@@ -1835,14 +1858,36 @@ class DSLC_Galleries extends DSLC_Module {
1835
  'section' => 'styling',
1836
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1837
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1838
  array(
1839
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1840
  'id' => 'css_button_icon_color',
1841
  'std' => '',
1842
  'type' => 'color',
1843
  'refresh_on_change' => false,
1844
- 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon',
1845
- 'affect_on_change_rule' => 'color',
1846
  'section' => 'styling',
1847
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1848
  ),
@@ -1852,8 +1897,8 @@ class DSLC_Galleries extends DSLC_Module {
1852
  'std' => '',
1853
  'type' => 'color',
1854
  'refresh_on_change' => false,
1855
- 'affect_on_change_el' => '.dslc-gallery-read-more a:hover .dslc-icon',
1856
- 'affect_on_change_rule' => 'color',
1857
  'section' => 'styling',
1858
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1859
  ),
@@ -1863,7 +1908,7 @@ class DSLC_Galleries extends DSLC_Module {
1863
  'std' => '5',
1864
  'type' => 'slider',
1865
  'refresh_on_change' => false,
1866
- 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon',
1867
  'affect_on_change_rule' => 'margin-right',
1868
  'section' => 'styling',
1869
  'ext' => 'px',
@@ -2123,6 +2168,70 @@ class DSLC_Galleries extends DSLC_Module {
2123
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2124
  'ext' => 'px',
2125
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2126
 
2127
  /**
2128
  * Responsive Phone
@@ -2376,6 +2485,70 @@ class DSLC_Galleries extends DSLC_Module {
2376
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2377
  'ext' => 'px',
2378
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2379
 
2380
  );
2381
 
@@ -2611,6 +2784,10 @@ function dslc_module_galleries_output( $atts, $content = null ) {
2611
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2612
  $show_header = true;
2613
  }
 
 
 
 
2614
 
2615
  /**
2616
  * Carousel Items
@@ -2707,7 +2884,7 @@ function dslc_module_galleries_output( $atts, $content = null ) {
2707
 
2708
  <!-- Carousel -->
2709
 
2710
- <?php if ( $show_carousel_arrows ) : ?>
2711
  <span class="dslc-carousel-nav fr">
2712
  <span class="dslc-carousel-nav-inner">
2713
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -2727,9 +2904,13 @@ function dslc_module_galleries_output( $atts, $content = null ) {
2727
 
2728
  if ( $dslc_query->have_posts() ) :
2729
 
2730
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
2731
 
2732
- ?><div class="dslc-posts-inner"><?php
2733
 
2734
  if ( $options['type'] == 'carousel' ) :
2735
 
@@ -2903,8 +3084,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2903
 
2904
  <div class="dslc-gallery-read-more">
2905
  <a href="<?php the_permalink(); ?>">
2906
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2907
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2908
  <?php endif; ?>
2909
  <?php echo $options['button_text']; ?>
2910
  </a>
@@ -2976,8 +3159,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2976
 
2977
  <div class="dslc-gallery-read-more">
2978
  <a href="<?php the_permalink(); ?>">
2979
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2980
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2981
  <?php endif; ?>
2982
  <?php echo $options['button_text']; ?>
2983
  </a>
@@ -3029,9 +3214,13 @@ if ( $options['type'] == 'carousel' ) :
3029
 
3030
  endif;
3031
 
3032
- ?></div><!-- .dslc-posts-inner --><?php
 
 
 
 
3033
 
3034
- ?></div><?php
3035
 
3036
  else :
3037
 
12
 
13
  class DSLC_Galleries extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
1827
  'ext' => 'px',
1828
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1829
  ),
1830
+ array(
1831
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
1832
+ 'id' => 'show_icon',
1833
+ 'std' => 'font',
1834
+ 'type' => 'select',
1835
+ 'choices' => array(
1836
+ array(
1837
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
1838
+ 'value' => 'font',
1839
+ ),
1840
+ array(
1841
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
1842
+ 'value' => 'svg',
1843
+ ),
1844
+ ),
1845
+ 'dependent_controls' => array(
1846
+ 'font' => 'button_icon_id',
1847
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
1848
+ ),
1849
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
1850
+ 'section' => 'styling',
1851
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1852
+ ),
1853
  array(
1854
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1855
  'id' => 'button_icon_id',
1858
  'section' => 'styling',
1859
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1860
  ),
1861
+ array(
1862
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
1863
+ 'id' => 'button_inline_svg',
1864
+ 'std' => '',
1865
+ 'type' => 'textarea',
1866
+ 'section' => 'functionality',
1867
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
1868
+ 'section' => 'styling',
1869
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1870
+ ),
1871
+ array(
1872
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
1873
+ 'id' => 'css_button_icon_size_svg',
1874
+ 'std' => '11',
1875
+ 'type' => 'slider',
1876
+ 'refresh_on_change' => false,
1877
+ 'affect_on_change_el' => '.dslc-gallery-read-more a svg',
1878
+ 'affect_on_change_rule' => 'width, height',
1879
+ 'section' => 'styling',
1880
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1881
+ 'ext' => 'px',
1882
+ ),
1883
  array(
1884
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1885
  'id' => 'css_button_icon_color',
1886
  'std' => '',
1887
  'type' => 'color',
1888
  'refresh_on_change' => false,
1889
+ 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon, .dslc-gallery-read-more a svg',
1890
+ 'affect_on_change_rule' => 'color, fill',
1891
  'section' => 'styling',
1892
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1893
  ),
1897
  'std' => '',
1898
  'type' => 'color',
1899
  'refresh_on_change' => false,
1900
+ 'affect_on_change_el' => '.dslc-gallery-read-more a:hover .dslc-icon, .dslc-gallery-read-more a:hover svg',
1901
+ 'affect_on_change_rule' => 'color, fill',
1902
  'section' => 'styling',
1903
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1904
  ),
1908
  'std' => '5',
1909
  'type' => 'slider',
1910
  'refresh_on_change' => false,
1911
+ 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon, .dslc-gallery-read-more a svg',
1912
  'affect_on_change_rule' => 'margin-right',
1913
  'section' => 'styling',
1914
  'ext' => 'px',
2168
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2169
  'ext' => 'px',
2170
  ),
2171
+ array(
2172
+ 'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2173
+ 'id' => 'css_res_t_button_font_size',
2174
+ 'onlypositive' => true, // Value can't be negative.
2175
+ 'std' => '11',
2176
+ 'type' => 'slider',
2177
+ 'refresh_on_change' => false,
2178
+ 'affect_on_change_el' => '.dslc-gallery-read-more a',
2179
+ 'affect_on_change_rule' => 'font-size',
2180
+ 'section' => 'responsive',
2181
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2182
+ 'ext' => 'px',
2183
+ ),
2184
+ array(
2185
+ 'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2186
+ 'id' => 'css_res_t_button_padding_vertical',
2187
+ 'onlypositive' => true, // Value can't be negative.
2188
+ 'max' => 600,
2189
+ 'std' => '12',
2190
+ 'type' => 'slider',
2191
+ 'refresh_on_change' => false,
2192
+ 'affect_on_change_el' => '.dslc-gallery-read-more a',
2193
+ 'affect_on_change_rule' => 'padding-top,padding-bottom',
2194
+ 'section' => 'responsive',
2195
+ 'ext' => 'px',
2196
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2197
+ ),
2198
+ array(
2199
+ 'label' => __( 'Button - Padding Horizontal', 'live-composer-page-builder' ),
2200
+ 'id' => 'css_res_t_button_padding_horizontal',
2201
+ 'onlypositive' => true, // Value can't be negative.
2202
+ 'std' => '12',
2203
+ 'type' => 'slider',
2204
+ 'refresh_on_change' => false,
2205
+ 'affect_on_change_el' => '.dslc-gallery-read-more a',
2206
+ 'affect_on_change_rule' => 'padding-left,padding-right',
2207
+ 'section' => 'responsive',
2208
+ 'ext' => 'px',
2209
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2210
+ ),
2211
+ array(
2212
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2213
+ 'id' => 'css_res_t_button_icon_size_svg',
2214
+ 'std' => '11',
2215
+ 'type' => 'slider',
2216
+ 'refresh_on_change' => false,
2217
+ 'affect_on_change_el' => '.dslc-gallery-read-more a svg',
2218
+ 'affect_on_change_rule' => 'width, height',
2219
+ 'section' => 'responsive',
2220
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2221
+ 'ext' => 'px',
2222
+ ),
2223
+ array(
2224
+ 'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2225
+ 'id' => 'css_res_t_button_icon_margin',
2226
+ 'std' => '5',
2227
+ 'type' => 'slider',
2228
+ 'refresh_on_change' => false,
2229
+ 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon, .dslc-gallery-read-more a svg',
2230
+ 'affect_on_change_rule' => 'margin-right',
2231
+ 'section' => 'responsive',
2232
+ 'ext' => 'px',
2233
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2234
+ ),
2235
 
2236
  /**
2237
  * Responsive Phone
2485
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2486
  'ext' => 'px',
2487
  ),
2488
+ array(
2489
+ 'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2490
+ 'id' => 'css_res_p_button_font_size',
2491
+ 'onlypositive' => true, // Value can't be negative.
2492
+ 'std' => '11',
2493
+ 'type' => 'slider',
2494
+ 'refresh_on_change' => false,
2495
+ 'affect_on_change_el' => '.dslc-gallery-read-more a',
2496
+ 'affect_on_change_rule' => 'font-size',
2497
+ 'section' => 'responsive',
2498
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2499
+ 'ext' => 'px',
2500
+ ),
2501
+ array(
2502
+ 'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2503
+ 'id' => 'css_res_p_button_padding_vertical',
2504
+ 'onlypositive' => true, // Value can't be negative.
2505
+ 'max' => 600,
2506
+ 'std' => '12',
2507
+ 'type' => 'slider',
2508
+ 'refresh_on_change' => false,
2509
+ 'affect_on_change_el' => '.dslc-gallery-read-more a',
2510
+ 'affect_on_change_rule' => 'padding-top,padding-bottom',
2511
+ 'section' => 'responsive',
2512
+ 'ext' => 'px',
2513
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2514
+ ),
2515
+ array(
2516
+ 'label' => __( 'Button - Padding Horizontal', 'live-composer-page-builder' ),
2517
+ 'id' => 'css_res_p_button_padding_horizontal',
2518
+ 'onlypositive' => true, // Value can't be negative.
2519
+ 'std' => '12',
2520
+ 'type' => 'slider',
2521
+ 'refresh_on_change' => false,
2522
+ 'affect_on_change_el' => '.dslc-gallery-read-more a',
2523
+ 'affect_on_change_rule' => 'padding-left,padding-right',
2524
+ 'section' => 'responsive',
2525
+ 'ext' => 'px',
2526
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2527
+ ),
2528
+ array(
2529
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2530
+ 'id' => 'css_res_p_button_icon_size_svg',
2531
+ 'std' => '11',
2532
+ 'type' => 'slider',
2533
+ 'refresh_on_change' => false,
2534
+ 'affect_on_change_el' => '.dslc-gallery-read-more a svg',
2535
+ 'affect_on_change_rule' => 'width, height',
2536
+ 'section' => 'responsive',
2537
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2538
+ 'ext' => 'px',
2539
+ ),
2540
+ array(
2541
+ 'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2542
+ 'id' => 'css_res_p_button_icon_margin',
2543
+ 'std' => '5',
2544
+ 'type' => 'slider',
2545
+ 'refresh_on_change' => false,
2546
+ 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon, .dslc-gallery-read-more a svg',
2547
+ 'affect_on_change_rule' => 'margin-right',
2548
+ 'section' => 'responsive',
2549
+ 'ext' => 'px',
2550
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2551
+ ),
2552
 
2553
  );
2554
 
2784
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2785
  $show_header = true;
2786
  }
2787
+
2788
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
2789
+ $container_class .= 'dslc-carousel-arrow-aside ';
2790
+ }
2791
 
2792
  /**
2793
  * Carousel Items
2884
 
2885
  <!-- Carousel -->
2886
 
2887
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
2888
  <span class="dslc-carousel-nav fr">
2889
  <span class="dslc-carousel-nav-inner">
2890
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2904
 
2905
  if ( $dslc_query->have_posts() ) :
2906
 
2907
+ ?><div class="<?php echo $container_class; ?>">
2908
+
2909
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2910
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
2911
+ <?php endif; ?>
2912
 
2913
+ <div class="dslc-posts-inner"><?php
2914
 
2915
  if ( $options['type'] == 'carousel' ) :
2916
 
3084
 
3085
  <div class="dslc-gallery-read-more">
3086
  <a href="<?php the_permalink(); ?>">
3087
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3088
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3089
+ <?php else : ?>
3090
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3091
  <?php endif; ?>
3092
  <?php echo $options['button_text']; ?>
3093
  </a>
3159
 
3160
  <div class="dslc-gallery-read-more">
3161
  <a href="<?php the_permalink(); ?>">
3162
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3163
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3164
+ <?php else : ?>
3165
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3166
  <?php endif; ?>
3167
  <?php echo $options['button_text']; ?>
3168
  </a>
3214
 
3215
  endif;
3216
 
3217
+ ?></div><!-- .dslc-posts-inner -->
3218
+
3219
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3220
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
3221
+ <?php endif; ?>
3222
 
3223
+ </div><?php
3224
 
3225
  else :
3226
 
modules/html/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Html extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -197,17 +197,6 @@ class DSLC_Html extends DSLC_Module {
197
  'section' => 'styling',
198
  'ext' => 'px',
199
  ),
200
- array(
201
- 'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
202
- 'id' => 'css_margin_bottom',
203
- 'std' => '0',
204
- 'type' => 'slider',
205
- 'refresh_on_change' => false,
206
- 'affect_on_change_el' => '.dslc-html-module-content',
207
- 'affect_on_change_rule' => 'margin-bottom',
208
- 'section' => 'styling',
209
- 'ext' => 'px',
210
- ),
211
  array(
212
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
213
  'id' => 'css_min_height',
@@ -246,6 +235,63 @@ class DSLC_Html extends DSLC_Module {
246
  'section' => 'styling',
247
  'ext' => 'px',
248
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  array(
250
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
251
  'id' => 'css_main_box_shadow',
@@ -380,6 +426,69 @@ class DSLC_Html extends DSLC_Module {
380
  'tab' => __( 'Content', 'live-composer-page-builder' ),
381
  'ext' => 'px',
382
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  array(
384
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
385
  'id' => 'css_main_margin_bottom',
@@ -1895,6 +2004,17 @@ class DSLC_Html extends DSLC_Module {
1895
  'section' => 'styling',
1896
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
1897
  ),
 
 
 
 
 
 
 
 
 
 
 
1898
  array(
1899
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
1900
  'id' => 'css_inputs_border_color',
@@ -1906,6 +2026,17 @@ class DSLC_Html extends DSLC_Module {
1906
  'section' => 'styling',
1907
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
1908
  ),
 
 
 
 
 
 
 
 
 
 
 
1909
  array(
1910
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1911
  'id' => 'css_inputs_border_width',
@@ -1973,6 +2104,28 @@ class DSLC_Html extends DSLC_Module {
1973
  'section' => 'styling',
1974
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
1975
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1976
  array(
1977
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
1978
  'id' => 'css_inputs_font_size',
@@ -2099,20 +2252,43 @@ class DSLC_Html extends DSLC_Module {
2099
  'section' => 'styling',
2100
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2101
  ),
2102
-
2103
  array(
2104
- 'label' => __( 'Width', 'live-composer-page-builder' ),
2105
- 'id' => 'css_inputs_width',
2106
- 'std' => '100',
2107
- 'type' => 'slider',
2108
- 'refresh_on_change' => false,
2109
- 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
2110
- 'affect_on_change_rule' => 'width',
2111
- 'section' => 'styling',
2112
- 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2113
- 'ext' => '%',
2114
- ),
2115
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2116
  array(
2117
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2118
  'id' => 'css_inputs_padding_vertical',
@@ -2758,6 +2934,50 @@ class DSLC_Html extends DSLC_Module {
2758
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2759
  'ext' => 'px',
2760
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2761
  array(
2762
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2763
  'id' => 'css_button_padding_vertical',
@@ -2906,7 +3126,69 @@ class DSLC_Html extends DSLC_Module {
2906
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2907
  'ext' => 'px',
2908
  ),
2909
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2910
  array(
2911
  'label' => __( 'H1 - Font Size', 'live-composer-page-builder' ),
2912
  'id' => 'css_res_t_h1_font_size',
@@ -3136,6 +3418,151 @@ class DSLC_Html extends DSLC_Module {
3136
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3137
  'ext' => 'px',
3138
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3139
 
3140
  /**
3141
  * Responsive Phone
@@ -3224,6 +3651,69 @@ class DSLC_Html extends DSLC_Module {
3224
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3225
  'ext' => 'px',
3226
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3227
  array(
3228
  'label' => __( 'H1 - Font Size', 'live-composer-page-builder' ),
3229
  'id' => 'css_res_ph_h1_font_size',
@@ -3453,6 +3943,151 @@ class DSLC_Html extends DSLC_Module {
3453
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3454
  'ext' => 'px',
3455
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3456
 
3457
  );
3458
 
@@ -3511,7 +4146,7 @@ if ( $render_code ) {
3511
  $output_content = '<div class="dslc-notification dslc-green">' . __( 'Save and refresh the page to display the module safely.', 'live-composer-page-builder' ) . '</div>';
3512
  }
3513
 
3514
- echo apply_filters( 'dslc_before_render', $output_content );
3515
 
3516
  ?></div><?php
3517
 
8
 
9
  class DSLC_Html extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
197
  'section' => 'styling',
198
  'ext' => 'px',
199
  ),
 
 
 
 
 
 
 
 
 
 
 
200
  array(
201
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
202
  'id' => 'css_min_height',
235
  'section' => 'styling',
236
  'ext' => 'px',
237
  ),
238
+ array(
239
+ 'label' => __( 'Margin', 'live-composer-page-builder' ),
240
+ 'id' => 'css_margin_group',
241
+ 'type' => 'group',
242
+ 'action' => 'open',
243
+ 'section' => 'styling',
244
+ ),
245
+ array(
246
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
247
+ 'id' => 'css_margin_top',
248
+ 'std' => '0',
249
+ 'type' => 'slider',
250
+ 'refresh_on_change' => false,
251
+ 'affect_on_change_el' => '.dslc-html-module-content',
252
+ 'affect_on_change_rule' => 'margin-top',
253
+ 'section' => 'styling',
254
+ 'ext' => 'px',
255
+ ),
256
+ array(
257
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
258
+ 'id' => 'css_margin_right',
259
+ 'std' => '0',
260
+ 'type' => 'slider',
261
+ 'refresh_on_change' => false,
262
+ 'affect_on_change_el' => '.dslc-html-module-content',
263
+ 'affect_on_change_rule' => 'margin-right',
264
+ 'section' => 'styling',
265
+ 'ext' => 'px',
266
+ ),
267
+ array(
268
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
269
+ 'id' => 'css_margin_bottom',
270
+ 'std' => '0',
271
+ 'type' => 'slider',
272
+ 'refresh_on_change' => false,
273
+ 'affect_on_change_el' => '.dslc-html-module-content',
274
+ 'affect_on_change_rule' => 'margin-bottom',
275
+ 'section' => 'styling',
276
+ 'ext' => 'px',
277
+ ),
278
+ array(
279
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
280
+ 'id' => 'css_margin_left',
281
+ 'std' => '0',
282
+ 'type' => 'slider',
283
+ 'refresh_on_change' => false,
284
+ 'affect_on_change_el' => '.dslc-html-module-content',
285
+ 'affect_on_change_rule' => 'margin-left',
286
+ 'section' => 'styling',
287
+ 'ext' => 'px',
288
+ ),
289
+ array(
290
+ 'id' => 'css_margin_group',
291
+ 'type' => 'group',
292
+ 'action' => 'close',
293
+ 'section' => 'styling',
294
+ ),
295
  array(
296
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
297
  'id' => 'css_main_box_shadow',
426
  'tab' => __( 'Content', 'live-composer-page-builder' ),
427
  'ext' => 'px',
428
  ),
429
+ array(
430
+ 'label' => __( 'Padding ( paragraph )', 'live-composer-page-builder' ),
431
+ 'id' => 'css_main_padding_group',
432
+ 'type' => 'group',
433
+ 'action' => 'open',
434
+ 'section' => 'styling',
435
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
436
+ ),
437
+ array(
438
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
439
+ 'id' => 'css_main_padding_top',
440
+ 'std' => '0',
441
+ 'type' => 'slider',
442
+ 'refresh_on_change' => false,
443
+ 'affect_on_change_el' => '.dslc-text-module-content p',
444
+ 'affect_on_change_rule' => 'padding-top',
445
+ 'section' => 'styling',
446
+ 'ext' => 'px',
447
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
448
+ ),
449
+ array(
450
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
451
+ 'id' => 'css_main_padding_right',
452
+ 'std' => '0',
453
+ 'type' => 'slider',
454
+ 'refresh_on_change' => false,
455
+ 'affect_on_change_el' => '.dslc-text-module-content p',
456
+ 'affect_on_change_rule' => 'padding-right',
457
+ 'section' => 'styling',
458
+ 'ext' => 'px',
459
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
460
+ ),
461
+ array(
462
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
463
+ 'id' => 'css_main_padding_bottom',
464
+ 'std' => '0',
465
+ 'type' => 'slider',
466
+ 'refresh_on_change' => false,
467
+ 'affect_on_change_el' => '.dslc-text-module-content p',
468
+ 'affect_on_change_rule' => 'padding-bottom',
469
+ 'section' => 'styling',
470
+ 'ext' => 'px',
471
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
472
+ ),
473
+ array(
474
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
475
+ 'id' => 'css_main_padding_left',
476
+ 'std' => '0',
477
+ 'type' => 'slider',
478
+ 'refresh_on_change' => false,
479
+ 'affect_on_change_el' => '.dslc-text-module-content p',
480
+ 'affect_on_change_rule' => 'padding-left',
481
+ 'section' => 'styling',
482
+ 'ext' => 'px',
483
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
484
+ ),
485
+ array(
486
+ 'id' => 'css_main_padding_group',
487
+ 'type' => 'group',
488
+ 'action' => 'close',
489
+ 'section' => 'styling',
490
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
491
+ ),
492
  array(
493
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
494
  'id' => 'css_main_margin_bottom',
2004
  'section' => 'styling',
2005
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2006
  ),
2007
+ array(
2008
+ 'label' => __( 'BG Color: Hover', 'live-composer-page-builder' ),
2009
+ 'id' => 'css_inputs_bg_color_hover',
2010
+ 'std' => '',
2011
+ 'type' => 'color',
2012
+ 'refresh_on_change' => false,
2013
+ 'affect_on_change_el' => 'input[type=text]:hover, input[type=password]:hober, input[type=number]:hover, input[type=email]:hover, input[type=tel]:hover, textarea:hover, select:hover',
2014
+ 'affect_on_change_rule' => 'background-color',
2015
+ 'section' => 'styling',
2016
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2017
+ ),
2018
  array(
2019
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
2020
  'id' => 'css_inputs_border_color',
2026
  'section' => 'styling',
2027
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2028
  ),
2029
+ array(
2030
+ 'label' => __( 'Border Color: Hover', 'live-composer-page-builder' ),
2031
+ 'id' => 'css_inputs_border_color_hover',
2032
+ 'std' => '',
2033
+ 'type' => 'color',
2034
+ 'refresh_on_change' => false,
2035
+ 'affect_on_change_el' => 'input:hover, textarea:hover, select:hover',
2036
+ 'affect_on_change_rule' => 'border-color',
2037
+ 'section' => 'styling',
2038
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2039
+ ),
2040
  array(
2041
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2042
  'id' => 'css_inputs_border_width',
2104
  'section' => 'styling',
2105
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2106
  ),
2107
+ array(
2108
+ 'label' => __( 'Color: Placeholder', 'live-composer-page-builder' ),
2109
+ 'id' => 'css_inputs_color_placeholder',
2110
+ 'std' => '#fffff',
2111
+ 'type' => 'color',
2112
+ 'refresh_on_change' => false,
2113
+ 'affect_on_change_el' => 'input[type=text]::placeholder,input[type=password]::placeholder,input[type=number]::placeholder,input[type=email]::placeholder,input[type=tel]::placeholder,textarea::placeholder,select::placeholder',
2114
+ 'affect_on_change_rule' => 'color',
2115
+ 'section' => 'styling',
2116
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2117
+ ),
2118
+ array(
2119
+ 'label' => __( 'Color: Focus Placeholder', 'live-composer-page-builder' ),
2120
+ 'id' => 'css_inputs_color_focus_placeholder',
2121
+ 'std' => '#fffff',
2122
+ 'type' => 'color',
2123
+ 'refresh_on_change' => false,
2124
+ 'affect_on_change_el' => 'input[type=text]:focus::placeholder,input[type=password]:focus::placeholder,input[type=number]:focus::placeholder,input[type=email]:focus::placeholder,input[type=tel]:focus::placeholder,textarea:focus::placeholder,select:focus::placeholder',
2125
+ 'affect_on_change_rule' => 'color',
2126
+ 'section' => 'styling',
2127
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2128
+ ),
2129
  array(
2130
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
2131
  'id' => 'css_inputs_font_size',
2252
  'section' => 'styling',
2253
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2254
  ),
 
2255
  array(
2256
+ 'label' => __( 'Input: Width', 'live-composer-page-builder' ),
2257
+ 'id' => 'css_inputs_width',
2258
+ 'std' => '100',
2259
+ 'type' => 'slider',
2260
+ 'refresh_on_change' => false,
2261
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],select',
2262
+ 'affect_on_change_rule' => 'width',
2263
+ 'section' => 'styling',
2264
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2265
+ 'ext' => '%',
2266
+ ),
2267
+ array(
2268
+ 'label' => __( 'Textarea: Width', 'live-composer-page-builder' ),
2269
+ 'id' => 'css_inputs_width_textarea',
2270
+ 'std' => '100',
2271
+ 'type' => 'slider',
2272
+ 'refresh_on_change' => false,
2273
+ 'affect_on_change_el' => 'textarea',
2274
+ 'affect_on_change_rule' => 'width',
2275
+ 'section' => 'styling',
2276
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2277
+ 'ext' => '%',
2278
+ ),
2279
+ array(
2280
+ 'label' => __( 'Textarea: Height', 'live-composer-page-builder' ),
2281
+ 'id' => 'css_inputs_heigth_textarea',
2282
+ 'std' => '150',
2283
+ 'max' => 600,
2284
+ 'type' => 'slider',
2285
+ 'refresh_on_change' => false,
2286
+ 'affect_on_change_el' => 'textarea',
2287
+ 'affect_on_change_rule' => 'height',
2288
+ 'section' => 'styling',
2289
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2290
+ 'ext' => 'px',
2291
+ ),
2292
  array(
2293
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2294
  'id' => 'css_inputs_padding_vertical',
2934
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2935
  'ext' => 'px',
2936
  ),
2937
+ array(
2938
+ 'label' => __( 'Text Transform', 'live-composer-page-builder' ),
2939
+ 'id' => 'css_button_text_transform',
2940
+ 'std' => 'none',
2941
+ 'type' => 'select',
2942
+ 'choices' => array(
2943
+ array(
2944
+ 'label' => __( 'None', 'live-composer-page-builder' ),
2945
+ 'value' => 'none',
2946
+ ),
2947
+ array(
2948
+ 'label' => __( 'Capitalize', 'live-composer-page-builder' ),
2949
+ 'value' => 'capitalize',
2950
+ ),
2951
+ array(
2952
+ 'label' => __( 'Uppercase', 'live-composer-page-builder' ),
2953
+ 'value' => 'uppercase',
2954
+ ),
2955
+ array(
2956
+ 'label' => __( 'Lowercase', 'live-composer-page-builder' ),
2957
+ 'value' => 'lowercase',
2958
+ ),
2959
+ ),
2960
+ 'refresh_on_change' => false,
2961
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
2962
+ 'affect_on_change_rule' => 'text-transform',
2963
+ 'section' => 'styling',
2964
+ 'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2965
+ ),
2966
+ array(
2967
+ 'label' => __( 'Width', 'live-composer-page-builder' ),
2968
+ 'id' => 'css_button_width',
2969
+ 'onlypositive' => true, // Value can't be negative.
2970
+ 'std' => '100',
2971
+ 'type' => 'slider',
2972
+ 'refresh_on_change' => false,
2973
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
2974
+ 'affect_on_change_rule' => 'width',
2975
+ 'section' => 'styling',
2976
+ 'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2977
+ 'min' => 1,
2978
+ 'max' => 100,
2979
+ 'ext' => '%',
2980
+ ),
2981
  array(
2982
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2983
  'id' => 'css_button_padding_vertical',
3126
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3127
  'ext' => 'px',
3128
  ),
3129
+ array(
3130
+ 'label' => __( 'Padding ( paragraph )', 'live-composer-page-builder' ),
3131
+ 'id' => 'css_res_t_main_p_padding_group',
3132
+ 'type' => 'group',
3133
+ 'action' => 'open',
3134
+ 'section' => 'responsive',
3135
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3136
+ ),
3137
+ array(
3138
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
3139
+ 'id' => 'css_res_t_main_p_padding_top',
3140
+ 'std' => '0',
3141
+ 'type' => 'slider',
3142
+ 'refresh_on_change' => false,
3143
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3144
+ 'affect_on_change_rule' => 'padding-top',
3145
+ 'section' => 'responsive',
3146
+ 'ext' => 'px',
3147
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3148
+ ),
3149
+ array(
3150
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
3151
+ 'id' => 'css_res_t_main_p_padding_right',
3152
+ 'std' => '0',
3153
+ 'type' => 'slider',
3154
+ 'refresh_on_change' => false,
3155
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3156
+ 'affect_on_change_rule' => 'padding-right',
3157
+ 'section' => 'responsive',
3158
+ 'ext' => 'px',
3159
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3160
+ ),
3161
+ array(
3162
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
3163
+ 'id' => 'css_res_t_main_p_padding_bottom',
3164
+ 'std' => '0',
3165
+ 'type' => 'slider',
3166
+ 'refresh_on_change' => false,
3167
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3168
+ 'affect_on_change_rule' => 'padding-bottom',
3169
+ 'section' => 'responsive',
3170
+ 'ext' => 'px',
3171
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3172
+ ),
3173
+ array(
3174
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
3175
+ 'id' => 'css_res_t_main_p_padding_left',
3176
+ 'std' => '0',
3177
+ 'type' => 'slider',
3178
+ 'refresh_on_change' => false,
3179
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3180
+ 'affect_on_change_rule' => 'padding-left',
3181
+ 'section' => 'responsive',
3182
+ 'ext' => 'px',
3183
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3184
+ ),
3185
+ array(
3186
+ 'id' => 'css_res_t_main_p_padding_group',
3187
+ 'type' => 'group',
3188
+ 'action' => 'close',
3189
+ 'section' => 'responsive',
3190
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3191
+ ),
3192
  array(
3193
  'label' => __( 'H1 - Font Size', 'live-composer-page-builder' ),
3194
  'id' => 'css_res_t_h1_font_size',
3418
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3419
  'ext' => 'px',
3420
  ),
3421
+ array(
3422
+ 'label' => __( 'Inputs - Font Size', 'live-composer-page-builder' ),
3423
+ 'id' => 'css_res_t_inputs_font_size',
3424
+ 'onlypositive' => true, // Value can't be negative.
3425
+ 'std' => '13',
3426
+ 'type' => 'slider',
3427
+ 'refresh_on_change' => false,
3428
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3429
+ 'affect_on_change_rule' => 'font-size',
3430
+ 'section' => 'responsive',
3431
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3432
+ 'ext' => 'px',
3433
+ ),
3434
+ array(
3435
+ 'label' => __( 'Inputs - Line Height', 'live-composer-page-builder' ),
3436
+ 'id' => 'css_res_t_inputs_line_height',
3437
+ 'onlypositive' => true, // Value can't be negative.
3438
+ 'std' => '23',
3439
+ 'type' => 'slider',
3440
+ 'refresh_on_change' => false,
3441
+ 'affect_on_change_el' => 'textarea',
3442
+ 'affect_on_change_rule' => 'line-height',
3443
+ 'section' => 'responsive',
3444
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3445
+ 'ext' => 'px',
3446
+ ),
3447
+ array(
3448
+ 'label' => __( 'Inputs - Width', 'live-composer-page-builder' ),
3449
+ 'id' => 'css_res_t_inputs_width',
3450
+ 'std' => '100',
3451
+ 'type' => 'slider',
3452
+ 'refresh_on_change' => false,
3453
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3454
+ 'affect_on_change_rule' => 'width',
3455
+ 'section' => 'responsive',
3456
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3457
+ 'ext' => '%',
3458
+ ),
3459
+ array(
3460
+ 'label' => __( 'Inputs - Margin Bottom', 'live-composer-page-builder' ),
3461
+ 'id' => 'css_res_t_inputs_margin_bottom',
3462
+ 'std' => '0',
3463
+ 'type' => 'slider',
3464
+ 'refresh_on_change' => false,
3465
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3466
+ 'affect_on_change_rule' => 'margin-bottom',
3467
+ 'section' => 'responsive',
3468
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3469
+ 'ext' => 'px',
3470
+ ),
3471
+ array(
3472
+ 'label' => __( 'Inputs - Padding Vertical', 'live-composer-page-builder' ),
3473
+ 'id' => 'css_res_t_inputs_padding_vertical',
3474
+ 'onlypositive' => true, // Value can't be negative.
3475
+ 'max' => 600,
3476
+ 'std' => '10',
3477
+ 'type' => 'slider',
3478
+ 'refresh_on_change' => false,
3479
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3480
+ 'affect_on_change_rule' => 'padding-top,padding-bottom',
3481
+ 'section' => 'responsive',
3482
+ 'ext' => 'px',
3483
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3484
+ ),
3485
+ array(
3486
+ 'label' => __( 'Inputs - Padding Horizontal', 'live-composer-page-builder' ),
3487
+ 'id' => 'css_res_t_inputs_padding_horizontal',
3488
+ 'onlypositive' => true, // Value can't be negative.
3489
+ 'std' => '15',
3490
+ 'type' => 'slider',
3491
+ 'refresh_on_change' => false,
3492
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3493
+ 'affect_on_change_rule' => 'padding-left,padding-right',
3494
+ 'section' => 'responsive',
3495
+ 'ext' => 'px',
3496
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3497
+ ),
3498
+ array(
3499
+ 'label' => __( 'Buttons - Font Size', 'live-composer-page-builder' ),
3500
+ 'id' => 'css_res_t_button_font_size',
3501
+ 'onlypositive' => true, // Value can't be negative.
3502
+ 'std' => '13',
3503
+ 'type' => 'slider',
3504
+ 'refresh_on_change' => false,
3505
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
3506
+ 'affect_on_change_rule' => 'font-size',
3507
+ 'section' => 'responsive',
3508
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3509
+ 'ext' => 'px',
3510
+ ),
3511
+ array(
3512
+ 'label' => __( 'Buttons - Line Height', 'live-composer-page-builder' ),
3513
+ 'id' => 'css_res_t_button_line_height',
3514
+ 'onlypositive' => true, // Value can't be negative.
3515
+ 'std' => '13',
3516
+ 'type' => 'slider',
3517
+ 'refresh_on_change' => false,
3518
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
3519
+ 'affect_on_change_rule' => 'line-height',
3520
+ 'section' => 'responsive',
3521
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3522
+ 'ext' => 'px',
3523
+ ),
3524
+ array(
3525
+ 'label' => __( 'Buttons - Width', 'live-composer-page-builder' ),
3526
+ 'id' => 'css_res_t_button_width',
3527
+ 'onlypositive' => true, // Value can't be negative.
3528
+ 'std' => '100',
3529
+ 'type' => 'slider',
3530
+ 'refresh_on_change' => false,
3531
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
3532
+ 'affect_on_change_rule' => 'width',
3533
+ 'section' => 'responsive',
3534
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3535
+ 'min' => 1,
3536
+ 'max' => 100,
3537
+ 'ext' => '%',
3538
+ ),
3539
+ array(
3540
+ 'label' => __( 'Buttons - Padding Vertical', 'live-composer-page-builder' ),
3541
+ 'id' => 'css_res_t_button_padding_vertical',
3542
+ 'onlypositive' => true, // Value can't be negative.
3543
+ 'max' => 600,
3544
+ 'std' => '10',
3545
+ 'type' => 'slider',
3546
+ 'refresh_on_change' => false,
3547
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
3548
+ 'affect_on_change_rule' => 'padding-top,padding-bottom',
3549
+ 'section' => 'responsive',
3550
+ 'ext' => 'px',
3551
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3552
+ ),
3553
+ array(
3554
+ 'label' => __( 'Buttons - Padding Horizontal', 'live-composer-page-builder' ),
3555
+ 'id' => 'css_res_t_button_padding_horizontal',
3556
+ 'onlypositive' => true, // Value can't be negative.
3557
+ 'std' => '15',
3558
+ 'type' => 'slider',
3559
+ 'refresh_on_change' => false,
3560
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
3561
+ 'affect_on_change_rule' => 'padding-left,padding-right',
3562
+ 'section' => 'responsive',
3563
+ 'ext' => 'px',
3564
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3565
+ ),
3566
 
3567
  /**
3568
  * Responsive Phone
3651
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3652
  'ext' => 'px',
3653
  ),
3654
+ array(
3655
+ 'label' => __( 'Padding ( paragraph )', 'live-composer-page-builder' ),
3656
+ 'id' => 'css_res_p_main_padding_group',
3657
+ 'type' => 'group',
3658
+ 'action' => 'open',
3659
+ 'section' => 'responsive',
3660
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3661
+ ),
3662
+ array(
3663
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
3664
+ 'id' => 'css_res_p_main_padding_top',
3665
+ 'std' => '0',
3666
+ 'type' => 'slider',
3667
+ 'refresh_on_change' => false,
3668
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3669
+ 'affect_on_change_rule' => 'padding-top',
3670
+ 'section' => 'responsive',
3671
+ 'ext' => 'px',
3672
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3673
+ ),
3674
+ array(
3675
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
3676
+ 'id' => 'css_res_p_main_padding_right',
3677
+ 'std' => '0',
3678
+ 'type' => 'slider',
3679
+ 'refresh_on_change' => false,
3680
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3681
+ 'affect_on_change_rule' => 'padding-right',
3682
+ 'section' => 'responsive',
3683
+ 'ext' => 'px',
3684
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3685
+ ),
3686
+ array(
3687
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
3688
+ 'id' => 'css_res_p_main_padding_bottom',
3689
+ 'std' => '0',
3690
+ 'type' => 'slider',
3691
+ 'refresh_on_change' => false,
3692
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3693
+ 'affect_on_change_rule' => 'padding-bottom',
3694
+ 'section' => 'responsive',
3695
+ 'ext' => 'px',
3696
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3697
+ ),
3698
+ array(
3699
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
3700
+ 'id' => 'css_res_p_main_padding_left',
3701
+ 'std' => '0',
3702
+ 'type' => 'slider',
3703
+ 'refresh_on_change' => false,
3704
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3705
+ 'affect_on_change_rule' => 'padding-left',
3706
+ 'section' => 'responsive',
3707
+ 'ext' => 'px',
3708
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3709
+ ),
3710
+ array(
3711
+ 'id' => 'css_res_p_main_padding_group',
3712
+ 'type' => 'group',
3713
+ 'action' => 'close',
3714
+ 'section' => 'responsive',
3715
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3716
+ ),
3717
  array(
3718
  'label' => __( 'H1 - Font Size', 'live-composer-page-builder' ),
3719
  'id' => 'css_res_ph_h1_font_size',
3943
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3944
  'ext' => 'px',
3945
  ),
3946
+ array(
3947
+ 'label' => __( 'Inputs - Font Size', 'live-composer-page-builder' ),
3948
+ 'id' => 'css_res_p_inputs_font_size',
3949
+ 'onlypositive' => true, // Value can't be negative.
3950
+ 'std' => '13',
3951
+ 'type' => 'slider',
3952
+ 'refresh_on_change' => false,
3953
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3954
+ 'affect_on_change_rule' => 'font-size',
3955
+ 'section' => 'responsive',
3956
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3957
+ 'ext' => 'px',
3958
+ ),
3959
+ array(
3960
+ 'label' => __( 'Inputs - Line Height', 'live-composer-page-builder' ),
3961
+ 'id' => 'css_res_p_inputs_line_height',
3962
+ 'onlypositive' => true, // Value can't be negative.
3963
+ 'std' => '23',
3964
+ 'type' => 'slider',
3965
+ 'refresh_on_change' => false,
3966
+ 'affect_on_change_el' => 'textarea',
3967
+ 'affect_on_change_rule' => 'line-height',
3968
+ 'section' => 'responsive',
3969
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3970
+ 'ext' => 'px',
3971
+ ),
3972
+ array(
3973
+ 'label' => __( 'Inputs - Width', 'live-composer-page-builder' ),
3974
+ 'id' => 'css_res_p_inputs_width',
3975
+ 'std' => '100',
3976
+ 'type' => 'slider',
3977
+ 'refresh_on_change' => false,
3978
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3979
+ 'affect_on_change_rule' => 'width',
3980
+ 'section' => 'responsive',
3981
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3982
+ 'ext' => '%',
3983
+ ),
3984
+ array(
3985
+ 'label' => __( 'Inputs - Margin Bottom', 'live-composer-page-builder' ),
3986
+ 'id' => 'css_res_t_inputs_margin_bottom',
3987
+ 'std' => '0',
3988
+ 'type' => 'slider',
3989
+ 'refresh_on_change' => false,
3990
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
3991
+ 'affect_on_change_rule' => 'margin-bottom',
3992
+ 'section' => 'responsive',
3993
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3994
+ 'ext' => 'px',
3995
+ ),
3996
+ array(
3997
+ 'label' => __( 'Inputs - Padding Vertical', 'live-composer-page-builder' ),
3998
+ 'id' => 'css_res_p_inputs_padding_vertical',
3999
+ 'onlypositive' => true, // Value can't be negative.
4000
+ 'max' => 600,
4001
+ 'std' => '10',
4002
+ 'type' => 'slider',
4003
+ 'refresh_on_change' => false,
4004
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
4005
+ 'affect_on_change_rule' => 'padding-top,padding-bottom',
4006
+ 'section' => 'responsive',
4007
+ 'ext' => 'px',
4008
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4009
+ ),
4010
+ array(
4011
+ 'label' => __( 'Inputs - Padding Horizontal', 'live-composer-page-builder' ),
4012
+ 'id' => 'css_res_p_inputs_padding_horizontal',
4013
+ 'onlypositive' => true, // Value can't be negative.
4014
+ 'std' => '15',
4015
+ 'type' => 'slider',
4016
+ 'refresh_on_change' => false,
4017
+ 'affect_on_change_el' => 'input[type=text],input[type=password],input[type=number],input[type=email],input[type=tel],textarea,select',
4018
+ 'affect_on_change_rule' => 'padding-left,padding-right',
4019
+ 'section' => 'responsive',
4020
+ 'ext' => 'px',
4021
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4022
+ ),
4023
+ array(
4024
+ 'label' => __( 'Buttons - Font Size', 'live-composer-page-builder' ),
4025
+ 'id' => 'css_res_p_button_font_size',
4026
+ 'onlypositive' => true, // Value can't be negative.
4027
+ 'std' => '13',
4028
+ 'type' => 'slider',
4029
+ 'refresh_on_change' => false,
4030
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
4031
+ 'affect_on_change_rule' => 'font-size',
4032
+ 'section' => 'responsive',
4033
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4034
+ 'ext' => 'px',
4035
+ ),
4036
+ array(
4037
+ 'label' => __( 'Buttons - Line Height', 'live-composer-page-builder' ),
4038
+ 'id' => 'css_res_p_button_line_height',
4039
+ 'onlypositive' => true, // Value can't be negative.
4040
+ 'std' => '13',
4041
+ 'type' => 'slider',
4042
+ 'refresh_on_change' => false,
4043
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
4044
+ 'affect_on_change_rule' => 'line-height',
4045
+ 'section' => 'responsive',
4046
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4047
+ 'ext' => 'px',
4048
+ ),
4049
+ array(
4050
+ 'label' => __( 'Buttons - Width', 'live-composer-page-builder' ),
4051
+ 'id' => 'css_res_p_button_width',
4052
+ 'onlypositive' => true, // Value can't be negative.
4053
+ 'std' => '100',
4054
+ 'type' => 'slider',
4055
+ 'refresh_on_change' => false,
4056
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
4057
+ 'affect_on_change_rule' => 'width',
4058
+ 'section' => 'responsive',
4059
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4060
+ 'min' => 1,
4061
+ 'max' => 100,
4062
+ 'ext' => '%',
4063
+ ),
4064
+ array(
4065
+ 'label' => __( 'Buttons - Padding Vertical', 'live-composer-page-builder' ),
4066
+ 'id' => 'css_res_p_button_padding_vertical',
4067
+ 'onlypositive' => true, // Value can't be negative.
4068
+ 'max' => 600,
4069
+ 'std' => '10',
4070
+ 'type' => 'slider',
4071
+ 'refresh_on_change' => false,
4072
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
4073
+ 'affect_on_change_rule' => 'padding-top,padding-bottom',
4074
+ 'section' => 'responsive',
4075
+ 'ext' => 'px',
4076
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4077
+ ),
4078
+ array(
4079
+ 'label' => __( 'Buttons - Padding Horizontal', 'live-composer-page-builder' ),
4080
+ 'id' => 'css_res_p_button_padding_horizontal',
4081
+ 'onlypositive' => true, // Value can't be negative.
4082
+ 'std' => '15',
4083
+ 'type' => 'slider',
4084
+ 'refresh_on_change' => false,
4085
+ 'affect_on_change_el' => 'input[type=submit], input[type=button], button',
4086
+ 'affect_on_change_rule' => 'padding-left,padding-right',
4087
+ 'section' => 'responsive',
4088
+ 'ext' => 'px',
4089
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4090
+ ),
4091
 
4092
  );
4093
 
4146
  $output_content = '<div class="dslc-notification dslc-green">' . __( 'Save and refresh the page to display the module safely.', 'live-composer-page-builder' ) . '</div>';
4147
  }
4148
 
4149
+ echo apply_filters( 'dslc_text_block_render', $output_content );
4150
 
4151
  ?></div><?php
4152
 
modules/icon/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Icon extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -68,12 +68,41 @@ class DSLC_Icon extends DSLC_Module {
68
  ),
69
  ),
70
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  array(
72
  'label' => __( 'Icon', 'live-composer-page-builder' ),
73
  'id' => 'icon_id',
74
  'std' => 'heart',
75
  'type' => 'icon',
76
  ),
 
 
 
 
 
 
 
 
77
 
78
  /**
79
  * General
@@ -241,8 +270,8 @@ class DSLC_Icon extends DSLC_Module {
241
  'std' => '#000',
242
  'type' => 'color',
243
  'refresh_on_change' => false,
244
- 'affect_on_change_el' => '.dslc-icon',
245
- 'affect_on_change_rule' => 'color',
246
  'section' => 'styling',
247
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
248
  ),
@@ -252,8 +281,8 @@ class DSLC_Icon extends DSLC_Module {
252
  'std' => '#000',
253
  'type' => 'color',
254
  'refresh_on_change' => false,
255
- 'affect_on_change_el' => '.dslc-micon-module:hover .dslc-icon',
256
- 'affect_on_change_rule' => 'color',
257
  'section' => 'styling',
258
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
259
  ),
@@ -263,14 +292,14 @@ class DSLC_Icon extends DSLC_Module {
263
  'std' => '31',
264
  'type' => 'slider',
265
  'refresh_on_change' => false,
266
- 'affect_on_change_el' => '.dslc-icon',
267
- 'affect_on_change_rule' => 'font-size',
268
  'section' => 'styling',
269
  'ext' => 'px',
270
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
271
  ),
272
  array(
273
- 'label' => __( 'Icon Shadow', 'live-composer-page-builder' ),
274
  'id' => 'css_icon_text_shadow',
275
  'std' => '',
276
  'type' => 'text_shadow',
@@ -303,6 +332,17 @@ class DSLC_Icon extends DSLC_Module {
303
  'section' => 'responsive',
304
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
305
  ),
 
 
 
 
 
 
 
 
 
 
 
306
  array(
307
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
308
  'id' => 'css_res_t_padding_vertical',
@@ -316,7 +356,6 @@ class DSLC_Icon extends DSLC_Module {
316
  'section' => 'responsive',
317
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
318
  'max' => 500,
319
-
320
  'ext' => 'px',
321
  ),
322
  array(
@@ -333,13 +372,13 @@ class DSLC_Icon extends DSLC_Module {
333
  'ext' => 'px',
334
  ),
335
  array(
336
- 'label' => __( 'Size', 'live-composer-page-builder' ),
337
  'id' => 'css_res_t_icon_size',
338
  'std' => '31',
339
  'type' => 'slider',
340
  'refresh_on_change' => false,
341
- 'affect_on_change_el' => '.dslc-icon',
342
- 'affect_on_change_rule' => 'font-size',
343
  'section' => 'responsive',
344
  'ext' => 'px',
345
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -367,6 +406,17 @@ class DSLC_Icon extends DSLC_Module {
367
  'section' => 'responsive',
368
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
369
  ),
 
 
 
 
 
 
 
 
 
 
 
370
  array(
371
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
372
  'id' => 'css_res_p_padding_vertical',
@@ -380,7 +430,6 @@ class DSLC_Icon extends DSLC_Module {
380
  'section' => 'responsive',
381
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
382
  'max' => 500,
383
-
384
  'ext' => 'px',
385
  ),
386
  array(
@@ -397,13 +446,13 @@ class DSLC_Icon extends DSLC_Module {
397
  'ext' => 'px',
398
  ),
399
  array(
400
- 'label' => __( 'Size', 'live-composer-page-builder' ),
401
  'id' => 'css_res_p_icon_size',
402
  'std' => '31',
403
  'type' => 'slider',
404
  'refresh_on_change' => false,
405
- 'affect_on_change_el' => '.dslc-icon',
406
- 'affect_on_change_rule' => 'font-size',
407
  'section' => 'responsive',
408
  'ext' => 'px',
409
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -440,9 +489,13 @@ class DSLC_Icon extends DSLC_Module {
440
  /* Module output stars here */
441
 
442
  ?>
443
-
444
  <div class="dslc-micon-module">
445
- <span class="dslc-icon dslc-icon-<?php echo $options['icon_id']; ?>"></span>
 
 
 
 
446
  </div><!-- .dslc-micon-module -->
447
 
448
  <?php
8
 
9
  class DSLC_Icon extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
68
  ),
69
  ),
70
  ),
71
+ array(
72
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
73
+ 'id' => 'show_icon',
74
+ 'std' => 'font',
75
+ 'type' => 'select',
76
+ 'choices' => array(
77
+ array(
78
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
79
+ 'value' => 'font',
80
+ ),
81
+ array(
82
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
83
+ 'value' => 'svg',
84
+ ),
85
+ ),
86
+ 'dependent_controls' => array(
87
+ 'font' => 'icon_id',
88
+ 'svg' => 'inline_svg',
89
+ ),
90
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
91
+ ),
92
  array(
93
  'label' => __( 'Icon', 'live-composer-page-builder' ),
94
  'id' => 'icon_id',
95
  'std' => 'heart',
96
  'type' => 'icon',
97
  ),
98
+ array(
99
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
100
+ 'id' => 'inline_svg',
101
+ 'std' => '',
102
+ 'type' => 'textarea',
103
+ 'section' => 'functionality',
104
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
105
+ ),
106
 
107
  /**
108
  * General
270
  'std' => '#000',
271
  'type' => 'color',
272
  'refresh_on_change' => false,
273
+ 'affect_on_change_el' => '.dslc-icon, .dslc-micon-module svg',
274
+ 'affect_on_change_rule' => 'color, fill',
275
  'section' => 'styling',
276
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
277
  ),
281
  'std' => '#000',
282
  'type' => 'color',
283
  'refresh_on_change' => false,
284
+ 'affect_on_change_el' => '.dslc-micon-module:hover .dslc-icon, .dslc-micon-module:hover svg',
285
+ 'affect_on_change_rule' => 'color, fill',
286
  'section' => 'styling',
287
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
288
  ),
292
  'std' => '31',
293
  'type' => 'slider',
294
  'refresh_on_change' => false,
295
+ 'affect_on_change_el' => '.dslc-icon, .dslc-micon-module svg',
296
+ 'affect_on_change_rule' => 'font-size, height, width',
297
  'section' => 'styling',
298
  'ext' => 'px',
299
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
300
  ),
301
  array(
302
+ 'label' => __( 'Icon Shadow ( Font )', 'live-composer-page-builder' ),
303
  'id' => 'css_icon_text_shadow',
304
  'std' => '',
305
  'type' => 'text_shadow',
332
  'section' => 'responsive',
333
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
334
  ),
335
+ array(
336
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
337
+ 'id' => 'css_res_t_text_align',
338
+ 'std' => 'left',
339
+ 'type' => 'text_align',
340
+ 'refresh_on_change' => false,
341
+ 'affect_on_change_el' => '.dslc-micon-module',
342
+ 'affect_on_change_rule' => 'text-align',
343
+ 'section' => 'responsive',
344
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
345
+ ),
346
  array(
347
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
348
  'id' => 'css_res_t_padding_vertical',
356
  'section' => 'responsive',
357
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
358
  'max' => 500,
 
359
  'ext' => 'px',
360
  ),
361
  array(
372
  'ext' => 'px',
373
  ),
374
  array(
375
+ 'label' => __( 'Size ( Font )', 'live-composer-page-builder' ),
376
  'id' => 'css_res_t_icon_size',
377
  'std' => '31',
378
  'type' => 'slider',
379
  'refresh_on_change' => false,
380
+ 'affect_on_change_el' => '.dslc-icon, .dslc-micon-module svg',
381
+ 'affect_on_change_rule' => 'font-size, height, width',
382
  'section' => 'responsive',
383
  'ext' => 'px',
384
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
406
  'section' => 'responsive',
407
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
408
  ),
409
+ array(
410
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
411
+ 'id' => 'css_res_p_text_align',
412
+ 'std' => 'left',
413
+ 'type' => 'text_align',
414
+ 'refresh_on_change' => false,
415
+ 'affect_on_change_el' => '.dslc-micon-module',
416
+ 'affect_on_change_rule' => 'text-align',
417
+ 'section' => 'responsive',
418
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
419
+ ),
420
  array(
421
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
422
  'id' => 'css_res_p_padding_vertical',
430
  'section' => 'responsive',
431
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
432
  'max' => 500,
 
433
  'ext' => 'px',
434
  ),
435
  array(
446
  'ext' => 'px',
447
  ),
448
  array(
449
+ 'label' => __( 'Size ( Font )', 'live-composer-page-builder' ),
450
  'id' => 'css_res_p_icon_size',
451
  'std' => '31',
452
  'type' => 'slider',
453
  'refresh_on_change' => false,
454
+ 'affect_on_change_el' => '.dslc-icon, .dslc-micon-module svg',
455
+ 'affect_on_change_rule' => 'font-size, height, width',
456
  'section' => 'responsive',
457
  'ext' => 'px',
458
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
489
  /* Module output stars here */
490
 
491
  ?>
492
+
493
  <div class="dslc-micon-module">
494
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
495
+ <?php echo stripslashes( $options['inline_svg'] ); ?>
496
+ <?php else : ?>
497
+ <span class="dslc-icon dslc-icon-<?php echo $options['icon_id']; ?>"></span>
498
+ <?php endif; ?>
499
  </div><!-- .dslc-micon-module -->
500
 
501
  <?php
modules/image/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Image extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -894,13 +894,13 @@ class DSLC_Image extends DSLC_Module {
894
  <div class="dslca-editable-content" data-id="custom_text" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?>>
895
  <?php
896
  $output_content = stripslashes( $options['custom_text'] );
897
- echo apply_filters( 'dslc_before_render', $output_content );
898
  ?>
899
  </div>
900
  <?php else : ?>
901
  <?php
902
  $output_content = stripslashes( $options['custom_text'] );
903
- echo apply_filters( 'dslc_before_render', $output_content );
904
  ?>
905
  <?php endif; ?>
906
 
8
 
9
  class DSLC_Image extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
894
  <div class="dslca-editable-content" data-id="custom_text" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?>>
895
  <?php
896
  $output_content = stripslashes( $options['custom_text'] );
897
+ echo apply_filters( 'dslc_text_block_render', $output_content );
898
  ?>
899
  </div>
900
  <?php else : ?>
901
  <?php
902
  $output_content = stripslashes( $options['custom_text'] );
903
+ echo apply_filters( 'dslc_text_block_render', $output_content );
904
  ?>
905
  <?php endif; ?>
906
 
modules/infobox/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Info_Box extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -697,94 +697,65 @@ class DSLC_Info_Box extends DSLC_Module {
697
  /**
698
  * Icon
699
  */
700
-
701
- array(
702
- 'label' => __( 'Align', 'live-composer-page-builder' ),
703
- 'id' => 'css_icon_text_align',
704
- 'std' => 'inherit',
705
- 'type' => 'text_align',
706
- 'refresh_on_change' => false,
707
- 'affect_on_change_el' => '.dslc-info-box-image',
708
- 'affect_on_change_rule' => 'text-align',
709
- 'section' => 'styling',
710
- 'tab' => __( 'Icon', 'live-composer-page-builder' ),
711
- ),
712
- array(
713
- 'label' => __( 'BG Color', 'live-composer-page-builder' ),
714
- 'id' => 'css_icon_bg_color',
715
- 'std' => '#5890e5',
716
- 'type' => 'color',
717
- 'refresh_on_change' => false,
718
- 'affect_on_change_el' => '.dslc-info-box-image-inner',
719
- 'affect_on_change_rule' => 'background-color',
720
- 'section' => 'styling',
721
- 'tab' => __( 'Icon', 'live-composer-page-builder' ),
722
- ),
723
- array(
724
- 'label' => __( 'Border Color', 'live-composer-page-builder' ),
725
- 'id' => 'css_icon_border_color',
726
- 'std' => '',
727
- 'type' => 'color',
728
- 'refresh_on_change' => false,
729
- 'affect_on_change_el' => '.dslc-info-box-image-inner',
730
- 'affect_on_change_rule' => 'border-color',
731
- 'section' => 'styling',
732
- 'tab' => __( 'Icon', 'live-composer-page-builder' ),
733
- ),
734
- array(
735
- 'label' => __( 'Border Width', 'live-composer-page-builder' ),
736
- 'id' => 'css_icon_border_width',
737
- 'onlypositive' => true, // Value can't be negative.
738
- 'std' => '0',
739
- 'type' => 'slider',
740
- 'refresh_on_change' => false,
741
- 'affect_on_change_el' => '.dslc-info-box-image-inner',
742
- 'affect_on_change_rule' => 'border-width',
743
- 'section' => 'styling',
744
- 'ext' => 'px',
745
- 'tab' => __( 'Icon', 'live-composer-page-builder' ),
746
- ),
747
  array(
748
- 'label' => __( 'Borders', 'live-composer-page-builder' ),
749
- 'id' => 'css_icon_border_trbl',
750
- 'std' => 'top right bottom left',
751
- 'type' => 'checkbox',
752
  'choices' => array(
753
  array(
754
- 'label' => __( 'Top', 'live-composer-page-builder' ),
755
- 'value' => 'top',
756
  ),
757
  array(
758
- 'label' => __( 'Right', 'live-composer-page-builder' ),
759
- 'value' => 'right',
760
  ),
 
 
 
 
 
 
 
 
 
 
761
  array(
762
- 'label' => __( 'Bottom', 'live-composer-page-builder' ),
763
- 'value' => 'bottom',
764
  ),
765
  array(
766
- 'label' => __( 'Left', 'live-composer-page-builder' ),
767
- 'value' => 'left',
768
  ),
769
  ),
770
- 'refresh_on_change' => false,
771
- 'affect_on_change_el' => '.dslc-info-box-image-inner',
772
- 'affect_on_change_rule' => 'border-style',
 
 
773
  'section' => 'styling',
774
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
775
  ),
776
  array(
777
- 'label' => __( 'Border Radius', 'live-composer-page-builder' ),
778
- 'id' => 'css_icon_border_radius',
779
- 'onlypositive' => true, // Value can't be negative.
780
- 'std' => '100',
781
- 'type' => 'slider',
782
- 'refresh_on_change' => false,
783
- 'affect_on_change_el' => '.dslc-info-box-image-inner',
784
- 'affect_on_change_rule' => 'border-radius',
785
  'section' => 'styling',
786
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
787
- 'ext' => 'px',
 
 
 
 
 
 
 
 
 
788
  ),
789
  array(
790
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -792,100 +763,205 @@ class DSLC_Info_Box extends DSLC_Module {
792
  'std' => '#ffffff',
793
  'type' => 'color',
794
  'refresh_on_change' => false,
795
- 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon',
796
- 'affect_on_change_rule' => 'color',
797
  'section' => 'styling',
798
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
799
  ),
800
  array(
801
- 'label' => __( 'Icon', 'live-composer-page-builder' ),
802
- 'id' => 'icon_id',
803
- 'std' => 'comments',
804
- 'type' => 'icon',
 
 
 
805
  'section' => 'styling',
806
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
807
- 'include_in_preset' => false,
808
  ),
809
  array(
810
- 'label' => __( 'Margin Top', 'live-composer-page-builder' ),
811
- 'id' => 'css_icon_margin_top',
812
- 'std' => '0',
813
  'type' => 'slider',
814
  'refresh_on_change' => false,
815
- 'affect_on_change_el' => '.dslc-info-box-image',
816
- 'affect_on_change_rule' => 'margin-top',
817
  'section' => 'styling',
818
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
819
  'ext' => 'px',
820
- 'min' => -100,
821
- 'max' => 50,
822
  ),
823
  array(
824
- 'label' => __( 'Margin Right', 'live-composer-page-builder' ),
825
- 'id' => 'css_icon_margin_right',
826
- 'std' => '0',
827
- 'type' => 'slider',
828
  'refresh_on_change' => false,
829
- 'affect_on_change_el' => '.dslc-info-box-image, .dslc-info-box-icon-pos-aside .dslc-info-box-image',
830
- 'affect_on_change_rule' => 'margin-right',
831
  'section' => 'styling',
832
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
833
- 'ext' => 'px',
834
  ),
835
  array(
836
- 'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
837
- 'id' => 'css_icon_margin_bottom',
838
- 'std' => '25',
839
- 'type' => 'slider',
840
  'refresh_on_change' => false,
841
- 'affect_on_change_el' => '.dslc-info-box-image',
842
- 'affect_on_change_rule' => 'margin-bottom',
843
  'section' => 'styling',
844
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
845
- 'ext' => 'px',
846
  ),
847
  array(
848
- 'label' => __( 'Position', 'live-composer-page-builder' ),
849
- 'id' => 'icon_position',
850
- 'std' => 'above',
851
- 'type' => 'select',
852
- 'choices' => array(
853
- array(
854
- 'label' => __( 'Above', 'live-composer-page-builder' ),
855
- 'value' => 'above',
856
- ),
857
- array(
858
- 'label' => __( 'Aside', 'live-composer-page-builder' ),
859
- 'value' => 'aside',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
860
  ),
 
 
 
 
 
861
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
862
  'section' => 'styling',
863
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
864
  ),
865
  array(
866
- 'label' => __( 'Size ( Wrapper )', 'live-composer-page-builder' ),
867
- 'id' => 'css_icon_wrapper_width',
868
- 'std' => '84',
869
- 'type' => 'slider',
870
- 'refresh_on_change' => false,
871
- 'affect_on_change_el' => '.dslc-info-box-image-inner',
872
- 'affect_on_change_rule' => 'width,height',
873
  'section' => 'styling',
874
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
875
- 'ext' => 'px',
876
- 'max' => 300,
877
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
878
  array(
879
- 'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
880
- 'id' => 'css_icon_width',
881
- 'std' => '31',
882
- 'type' => 'slider',
883
- 'refresh_on_change' => false,
884
- 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon',
885
- 'affect_on_change_rule' => 'font-size',
886
  'section' => 'styling',
887
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
888
- 'ext' => 'px',
889
  ),
890
  array(
891
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
@@ -900,8 +976,8 @@ class DSLC_Info_Box extends DSLC_Module {
900
  ),
901
 
902
  /**
903
- * Image
904
- */
905
 
906
  array(
907
  'label' => __( 'Image - File', 'live-composer-page-builder' ),
@@ -1058,7 +1134,7 @@ class DSLC_Info_Box extends DSLC_Module {
1058
  ),
1059
  array(
1060
  'label' => __( 'Max Width', 'live-composer-page-builder' ),
1061
- 'id' => 'css_content_width',
1062
  'std' => '',
1063
  'type' => 'slider',
1064
  'refresh_on_change' => false,
@@ -1625,6 +1701,7 @@ class DSLC_Info_Box extends DSLC_Module {
1625
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
1626
  'id' => 'css_button_font_size',
1627
  'onlypositive' => true, // Value can't be negative.
 
1628
  'std' => '11',
1629
  'type' => 'slider',
1630
  'refresh_on_change' => false,
@@ -1695,6 +1772,35 @@ class DSLC_Info_Box extends DSLC_Module {
1695
  'section' => 'styling',
1696
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1697
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1698
  array(
1699
  'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
1700
  'id' => 'css_button_letter_spacing',
@@ -1779,6 +1885,29 @@ class DSLC_Info_Box extends DSLC_Module {
1779
  'ext' => 'px',
1780
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1781
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1782
  array(
1783
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1784
  'id' => 'button_icon_id',
@@ -1787,14 +1916,35 @@ class DSLC_Info_Box extends DSLC_Module {
1787
  'section' => 'styling',
1788
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1789
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1790
  array(
1791
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1792
  'id' => 'css_button_icon_color',
1793
  'std' => '#b0c8eb',
1794
  'type' => 'color',
1795
  'refresh_on_change' => false,
1796
- 'affect_on_change_el' => '.dslc-info-box-button a .dslc-icon',
1797
- 'affect_on_change_rule' => 'color',
1798
  'section' => 'styling',
1799
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1800
  ),
@@ -1804,8 +1954,8 @@ class DSLC_Info_Box extends DSLC_Module {
1804
  'std' => '',
1805
  'type' => 'color',
1806
  'refresh_on_change' => false,
1807
- 'affect_on_change_el' => '.dslc-info-box-button a:hover .dslc-icon',
1808
- 'affect_on_change_rule' => 'color',
1809
  'section' => 'styling',
1810
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1811
  ),
@@ -1815,7 +1965,7 @@ class DSLC_Info_Box extends DSLC_Module {
1815
  'std' => '5',
1816
  'type' => 'slider',
1817
  'refresh_on_change' => false,
1818
- 'affect_on_change_el' => '.dslc-info-box-button a .dslc-icon',
1819
  'affect_on_change_rule' => 'margin-right',
1820
  'section' => 'styling',
1821
  'ext' => 'px',
@@ -1973,6 +2123,7 @@ class DSLC_Info_Box extends DSLC_Module {
1973
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
1974
  'id' => 'css_button_2_font_size',
1975
  'onlypositive' => true, // Value can't be negative.
 
1976
  'std' => '11',
1977
  'type' => 'slider',
1978
  'refresh_on_change' => false,
@@ -2043,6 +2194,35 @@ class DSLC_Info_Box extends DSLC_Module {
2043
  'section' => 'styling',
2044
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2045
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2046
  array(
2047
  'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
2048
  'id' => 'css_button_2_letter_spacing',
@@ -2109,6 +2289,29 @@ class DSLC_Info_Box extends DSLC_Module {
2109
  'ext' => 'px',
2110
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2111
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2112
  array(
2113
  'label' => __( 'Icon', 'live-composer-page-builder' ),
2114
  'id' => 'button_2_icon_id',
@@ -2117,14 +2320,35 @@ class DSLC_Info_Box extends DSLC_Module {
2117
  'section' => 'styling',
2118
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2119
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2120
  array(
2121
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
2122
  'id' => 'css_button_2_icon_color',
2123
  'std' => '#b0c8eb',
2124
  'type' => 'color',
2125
  'refresh_on_change' => false,
2126
- 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary .dslc-icon',
2127
- 'affect_on_change_rule' => 'color',
2128
  'section' => 'styling',
2129
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2130
  ),
@@ -2134,8 +2358,8 @@ class DSLC_Info_Box extends DSLC_Module {
2134
  'std' => '',
2135
  'type' => 'color',
2136
  'refresh_on_change' => false,
2137
- 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary:hover .dslc-icon',
2138
- 'affect_on_change_rule' => 'color',
2139
  'section' => 'styling',
2140
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2141
  ),
@@ -2145,7 +2369,7 @@ class DSLC_Info_Box extends DSLC_Module {
2145
  'std' => '5',
2146
  'type' => 'slider',
2147
  'refresh_on_change' => false,
2148
- 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary .dslc-icon',
2149
  'affect_on_change_rule' => 'margin-right',
2150
  'section' => 'styling',
2151
  'ext' => 'px',
@@ -2369,12 +2593,23 @@ class DSLC_Info_Box extends DSLC_Module {
2369
  'std' => '31',
2370
  'type' => 'slider',
2371
  'refresh_on_change' => false,
2372
- 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon',
2373
- 'affect_on_change_rule' => 'font-size',
2374
  'section' => 'responsive',
2375
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2376
  'ext' => 'px',
2377
  ),
 
 
 
 
 
 
 
 
 
 
 
2378
  array(
2379
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
2380
  'id' => 'css_res_t_title_font_size',
@@ -2413,6 +2648,17 @@ class DSLC_Info_Box extends DSLC_Module {
2413
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2414
  'ext' => 'px',
2415
  ),
 
 
 
 
 
 
 
 
 
 
 
2416
  array(
2417
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
2418
  'id' => 'css_res_t_content_font_size',
@@ -2451,6 +2697,17 @@ class DSLC_Info_Box extends DSLC_Module {
2451
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2452
  'ext' => 'px',
2453
  ),
 
 
 
 
 
 
 
 
 
 
 
2454
  array(
2455
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2456
  'id' => 'css_res_t_button_font_size',
@@ -2515,13 +2772,25 @@ class DSLC_Info_Box extends DSLC_Module {
2515
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2516
  'ext' => 'px',
2517
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2518
  array(
2519
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2520
  'id' => 'css_res_t_button_icon_margin',
2521
  'std' => '5',
2522
  'type' => 'slider',
2523
  'refresh_on_change' => false,
2524
- 'affect_on_change_el' => '.dslc-info-box-button a .dslc-icon',
2525
  'affect_on_change_rule' => 'margin-right',
2526
  'section' => 'responsive',
2527
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -2711,12 +2980,23 @@ class DSLC_Info_Box extends DSLC_Module {
2711
  'std' => '31',
2712
  'type' => 'slider',
2713
  'refresh_on_change' => false,
2714
- 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon',
2715
- 'affect_on_change_rule' => 'font-size',
2716
  'section' => 'responsive',
2717
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2718
  'ext' => 'px',
2719
  ),
 
 
 
 
 
 
 
 
 
 
 
2720
  array(
2721
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
2722
  'id' => 'css_res_p_title_font_size',
@@ -2755,6 +3035,17 @@ class DSLC_Info_Box extends DSLC_Module {
2755
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2756
  'ext' => 'px',
2757
  ),
 
 
 
 
 
 
 
 
 
 
 
2758
  array(
2759
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
2760
  'id' => 'css_res_p_content_font_size',
@@ -2793,6 +3084,17 @@ class DSLC_Info_Box extends DSLC_Module {
2793
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2794
  'ext' => 'px',
2795
  ),
 
 
 
 
 
 
 
 
 
 
 
2796
  array(
2797
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2798
  'id' => 'css_res_p_button_font_size',
@@ -2857,13 +3159,25 @@ class DSLC_Info_Box extends DSLC_Module {
2857
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2858
  'ext' => 'px',
2859
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2860
  array(
2861
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2862
  'id' => 'css_res_p_button_icon_margin',
2863
  'std' => '5',
2864
  'type' => 'slider',
2865
  'refresh_on_change' => false,
2866
- 'affect_on_change_el' => '.dslc-info-box-button a .dslc-icon',
2867
  'affect_on_change_rule' => 'margin-right',
2868
  'section' => 'responsive',
2869
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -2947,8 +3261,10 @@ class DSLC_Info_Box extends DSLC_Module {
2947
  <div class="dslc-info-box-button dslc-info-box-button-aside">
2948
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
2949
  <a href="<?php echo $options['button_link']; ?>" target="<?php echo $options['button_target']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="dslc-primary">
2950
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2951
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2952
  <?php endif; ?>
2953
  <?php if ( $dslc_is_admin ) : ?>
2954
  <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable="true"><?php echo $options['button_title']; ?></span>
@@ -2958,8 +3274,10 @@ endif; ?>
2958
  <?php endif; ?>
2959
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
2960
  <a href="<?php echo $options['button_2_link']; ?>" target="<?php echo $options['button_2_target']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="dslc-secondary">
2961
- <?php if ( isset( $options['button_2_icon_id'] ) && $options['button_2_icon_id'] != '' ) : ?>
2962
- <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
 
 
2963
  <?php endif; ?>
2964
  <?php if ( $dslc_is_admin ) : ?>
2965
  <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable="true"><?php echo $options['button_2_title']; ?></span>
@@ -2975,7 +3293,11 @@ endif; ?>
2975
  <?php if ( in_array( 'icon', $elements ) ) : ?>
2976
  <div class="dslc-info-box-image">
2977
  <div class="dslc-info-box-image-inner">
2978
- <span class="dslc-icon dslc-icon-<?php echo $options['icon_id'];?>"></span>
 
 
 
 
2979
  <?php if ( ! empty( $options['icon_link'] ) ) : ?>
2980
  <a class="dslc-info-box-image-link" href="<?php echo $options['icon_link']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> target="<?php echo $options['icon_link_target']; ?>"></a>
2981
  <?php endif; ?>
@@ -3017,14 +3339,14 @@ endif; ?>
3017
  <div class="dslca-editable-content inline-editor" data-type="simple" data-id="content">
3018
  <?php
3019
  $output_content = stripslashes( $options['content'] );
3020
- echo apply_filters( 'dslc_before_render', $output_content );
3021
  ?>
3022
  </div><!-- .dslca-editable-content -->
3023
  <div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook"><?php _e( 'Open in WP Editor', 'live-composer-page-builder' ); ?></span></div>
3024
  <?php else : ?>
3025
  <?php
3026
  $output_content = stripslashes( $options['content'] );
3027
- echo apply_filters( 'dslc_before_render', $output_content );
3028
  ?>
3029
  <?php endif; ?>
3030
  </div><!-- .dslc-info-box-content -->
@@ -3034,8 +3356,10 @@ endif; ?>
3034
  <div class="dslc-info-box-button">
3035
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
3036
  <a href="<?php echo $options['button_link']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> target="<?php echo $options['button_target']; ?>" class="dslc-primary">
3037
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
3038
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
3039
  <?php endif; ?>
3040
  <?php if ( $dslc_is_admin ) : ?>
3041
  <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable="true"><?php echo $options['button_title']; ?></span>
@@ -3045,8 +3369,10 @@ endif; ?>
3045
  <?php endif; ?>
3046
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
3047
  <a href="<?php echo $options['button_2_link']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> target="<?php echo $options['button_2_target']; ?>" class="dslc-secondary">
3048
- <?php if ( isset( $options['button_2_icon_id'] ) && $options['button_2_icon_id'] != '' ) : ?>
3049
- <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
 
 
3050
  <?php endif; ?>
3051
  <?php if ( $dslc_is_admin ) : ?>
3052
  <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable="true"><?php echo $options['button_2_title']; ?></span>
8
 
9
  class DSLC_Info_Box extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
697
  /**
698
  * Icon
699
  */
700
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701
  array(
702
+ 'label' => __( 'Position', 'live-composer-page-builder' ),
703
+ 'id' => 'icon_position',
704
+ 'std' => 'above',
705
+ 'type' => 'select',
706
  'choices' => array(
707
  array(
708
+ 'label' => __( 'Above', 'live-composer-page-builder' ),
709
+ 'value' => 'above',
710
  ),
711
  array(
712
+ 'label' => __( 'Aside', 'live-composer-page-builder' ),
713
+ 'value' => 'aside',
714
  ),
715
+ ),
716
+ 'section' => 'styling',
717
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
718
+ ),
719
+ array(
720
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
721
+ 'id' => 'show_icon',
722
+ 'std' => 'font',
723
+ 'type' => 'select',
724
+ 'choices' => array(
725
  array(
726
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
727
+ 'value' => 'font',
728
  ),
729
  array(
730
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
731
+ 'value' => 'svg',
732
  ),
733
  ),
734
+ 'dependent_controls' => array(
735
+ 'font' => 'icon_id',
736
+ 'svg' => 'inline_svg',
737
+ ),
738
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
739
  'section' => 'styling',
740
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
741
  ),
742
  array(
743
+ 'label' => __( 'Icon', 'live-composer-page-builder' ),
744
+ 'id' => 'icon_id',
745
+ 'std' => 'comments',
746
+ 'type' => 'icon',
 
 
 
 
747
  'section' => 'styling',
748
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
749
+ 'include_in_preset' => false,
750
+ ),
751
+ array(
752
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
753
+ 'id' => 'inline_svg',
754
+ 'std' => '',
755
+ 'type' => 'textarea',
756
+ 'section' => 'styling',
757
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
758
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
759
  ),
760
  array(
761
  'label' => __( 'Color', 'live-composer-page-builder' ),
763
  'std' => '#ffffff',
764
  'type' => 'color',
765
  'refresh_on_change' => false,
766
+ 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon, .dslc-info-box-image-inner svg',
767
+ 'affect_on_change_rule' => 'color, fill',
768
  'section' => 'styling',
769
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
770
  ),
771
  array(
772
+ 'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
773
+ 'id' => 'css_icon_width',
774
+ 'std' => '31',
775
+ 'type' => 'slider',
776
+ 'refresh_on_change' => false,
777
+ 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon, .dslc-info-box-image-inner svg',
778
+ 'affect_on_change_rule' => 'font-size, width, height',
779
  'section' => 'styling',
780
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
781
+ 'ext' => 'px',
782
  ),
783
  array(
784
+ 'label' => __( 'Size ( Wrapper )', 'live-composer-page-builder' ),
785
+ 'id' => 'css_icon_wrapper_width',
786
+ 'std' => '84',
787
  'type' => 'slider',
788
  'refresh_on_change' => false,
789
+ 'affect_on_change_el' => '.dslc-info-box-image-inner',
790
+ 'affect_on_change_rule' => 'width,height',
791
  'section' => 'styling',
792
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
793
  'ext' => 'px',
794
+ 'max' => 300,
 
795
  ),
796
  array(
797
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
798
+ 'id' => 'css_icon_text_align',
799
+ 'std' => 'inherit',
800
+ 'type' => 'text_align',
801
  'refresh_on_change' => false,
802
+ 'affect_on_change_el' => '.dslc-info-box-image',
803
+ 'affect_on_change_rule' => 'text-align',
804
  'section' => 'styling',
805
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
 
806
  ),
807
  array(
808
+ 'label' => __( 'BG Color', 'live-composer-page-builder' ),
809
+ 'id' => 'css_icon_bg_color',
810
+ 'std' => '#5890e5',
811
+ 'type' => 'color',
812
  'refresh_on_change' => false,
813
+ 'affect_on_change_el' => '.dslc-info-box-image-inner',
814
+ 'affect_on_change_rule' => 'background-color',
815
  'section' => 'styling',
816
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
 
817
  ),
818
  array(
819
+ 'label' => __( 'Border', 'live-composer-page-builder' ),
820
+ 'id' => 'css_icon_border_group',
821
+ 'type' => 'group',
822
+ 'action' => 'open',
823
+ 'section' => 'styling',
824
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
825
+ ),
826
+ array(
827
+ 'label' => __( 'Border Color', 'live-composer-page-builder' ),
828
+ 'id' => 'css_icon_border_color',
829
+ 'std' => '',
830
+ 'type' => 'color',
831
+ 'refresh_on_change' => false,
832
+ 'affect_on_change_el' => '.dslc-info-box-image-inner',
833
+ 'affect_on_change_rule' => 'border-color',
834
+ 'section' => 'styling',
835
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
836
+ ),
837
+ array(
838
+ 'label' => __( 'Border Width', 'live-composer-page-builder' ),
839
+ 'id' => 'css_icon_border_width',
840
+ 'onlypositive' => true, // Value can't be negative.
841
+ 'std' => '0',
842
+ 'type' => 'slider',
843
+ 'refresh_on_change' => false,
844
+ 'affect_on_change_el' => '.dslc-info-box-image-inner',
845
+ 'affect_on_change_rule' => 'border-width',
846
+ 'section' => 'styling',
847
+ 'ext' => 'px',
848
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
849
+ ),
850
+ array(
851
+ 'label' => __( 'Borders', 'live-composer-page-builder' ),
852
+ 'id' => 'css_icon_border_trbl',
853
+ 'std' => 'top right bottom left',
854
+ 'type' => 'checkbox',
855
+ 'choices' => array(
856
+ array(
857
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
858
+ 'value' => 'top',
859
+ ),
860
+ array(
861
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
862
+ 'value' => 'right',
863
+ ),
864
+ array(
865
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
866
+ 'value' => 'bottom',
867
+ ),
868
+ array(
869
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
870
+ 'value' => 'left',
871
+ ),
872
  ),
873
+ 'refresh_on_change' => false,
874
+ 'affect_on_change_el' => '.dslc-info-box-image-inner',
875
+ 'affect_on_change_rule' => 'border-style',
876
+ 'section' => 'styling',
877
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
878
  ),
879
+ array(
880
+ 'label' => __( 'Border Radius', 'live-composer-page-builder' ),
881
+ 'id' => 'css_icon_border_radius',
882
+ 'onlypositive' => true, // Value can't be negative.
883
+ 'std' => '100',
884
+ 'type' => 'slider',
885
+ 'refresh_on_change' => false,
886
+ 'affect_on_change_el' => '.dslc-info-box-image-inner',
887
+ 'affect_on_change_rule' => 'border-radius',
888
+ 'section' => 'styling',
889
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
890
+ 'ext' => 'px',
891
+ ),
892
+ array(
893
+ 'label' => __( 'Border', 'live-composer-page-builder' ),
894
+ 'id' => 'css_icon_border_group',
895
+ 'type' => 'group',
896
+ 'action' => 'close',
897
  'section' => 'styling',
898
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
899
  ),
900
  array(
901
+ 'label' => __( 'Margin', 'live-composer-page-builder' ),
902
+ 'id' => 'css_icon_margin_group',
903
+ 'type' => 'group',
904
+ 'action' => 'open',
 
 
 
905
  'section' => 'styling',
906
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
 
 
907
  ),
908
+ array(
909
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
910
+ 'id' => 'css_icon_margin_top',
911
+ 'std' => '0',
912
+ 'type' => 'slider',
913
+ 'refresh_on_change' => false,
914
+ 'affect_on_change_el' => '.dslc-info-box-image',
915
+ 'affect_on_change_rule' => 'margin-top',
916
+ 'section' => 'styling',
917
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
918
+ 'ext' => 'px',
919
+ 'min' => -100,
920
+ 'max' => 50,
921
+ ),
922
+ array(
923
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
924
+ 'id' => 'css_icon_margin_right',
925
+ 'std' => '0',
926
+ 'type' => 'slider',
927
+ 'refresh_on_change' => false,
928
+ 'affect_on_change_el' => '.dslc-info-box-image, .dslc-info-box-icon-pos-aside .dslc-info-box-image',
929
+ 'affect_on_change_rule' => 'margin-right',
930
+ 'section' => 'styling',
931
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
932
+ 'ext' => 'px',
933
+ ),
934
+ array(
935
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
936
+ 'id' => 'css_icon_margin_bottom',
937
+ 'std' => '25',
938
+ 'type' => 'slider',
939
+ 'refresh_on_change' => false,
940
+ 'affect_on_change_el' => '.dslc-info-box-image',
941
+ 'affect_on_change_rule' => 'margin-bottom',
942
+ 'section' => 'styling',
943
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
944
+ 'ext' => 'px',
945
+ ),
946
+ array(
947
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
948
+ 'id' => 'css_icon_margin_left',
949
+ 'std' => '0',
950
+ 'type' => 'slider',
951
+ 'refresh_on_change' => false,
952
+ 'affect_on_change_el' => '.dslc-info-box-image, .dslc-info-box-icon-pos-aside .dslc-info-box-image',
953
+ 'affect_on_change_rule' => 'margin-left',
954
+ 'section' => 'styling',
955
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
956
+ 'ext' => 'px',
957
+ ),
958
  array(
959
+ 'label' => __( 'Margin', 'live-composer-page-builder' ),
960
+ 'id' => 'css_icon_margin_group',
961
+ 'type' => 'group',
962
+ 'action' => 'close',
 
 
 
963
  'section' => 'styling',
964
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
 
965
  ),
966
  array(
967
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
976
  ),
977
 
978
  /**
979
+ * Image
980
+ */
981
 
982
  array(
983
  'label' => __( 'Image - File', 'live-composer-page-builder' ),
1134
  ),
1135
  array(
1136
  'label' => __( 'Max Width', 'live-composer-page-builder' ),
1137
+ 'id' => 'css_image_alt_width',
1138
  'std' => '',
1139
  'type' => 'slider',
1140
  'refresh_on_change' => false,
1701
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
1702
  'id' => 'css_button_font_size',
1703
  'onlypositive' => true, // Value can't be negative.
1704
+ 'max' => 50,
1705
  'std' => '11',
1706
  'type' => 'slider',
1707
  'refresh_on_change' => false,
1772
  'section' => 'styling',
1773
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1774
  ),
1775
+ array(
1776
+ 'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1777
+ 'id' => 'css_button_text_transform',
1778
+ 'std' => 'none',
1779
+ 'type' => 'select',
1780
+ 'choices' => array(
1781
+ array(
1782
+ 'label' => __( 'None', 'live-composer-page-builder' ),
1783
+ 'value' => 'none',
1784
+ ),
1785
+ array(
1786
+ 'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1787
+ 'value' => 'capitalize',
1788
+ ),
1789
+ array(
1790
+ 'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1791
+ 'value' => 'uppercase',
1792
+ ),
1793
+ array(
1794
+ 'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1795
+ 'value' => 'lowercase',
1796
+ ),
1797
+ ),
1798
+ 'refresh_on_change' => false,
1799
+ 'affect_on_change_el' => '.dslc-info-box-button a',
1800
+ 'affect_on_change_rule' => 'text-transform',
1801
+ 'section' => 'styling',
1802
+ 'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1803
+ ),
1804
  array(
1805
  'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
1806
  'id' => 'css_button_letter_spacing',
1885
  'ext' => 'px',
1886
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1887
  ),
1888
+ array(
1889
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
1890
+ 'id' => 'button_show_icon',
1891
+ 'std' => 'font',
1892
+ 'type' => 'select',
1893
+ 'choices' => array(
1894
+ array(
1895
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
1896
+ 'value' => 'font',
1897
+ ),
1898
+ array(
1899
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
1900
+ 'value' => 'svg',
1901
+ ),
1902
+ ),
1903
+ 'dependent_controls' => array(
1904
+ 'font' => 'button_icon_id',
1905
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
1906
+ ),
1907
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
1908
+ 'section' => 'styling',
1909
+ 'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1910
+ ),
1911
  array(
1912
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1913
  'id' => 'button_icon_id',
1916
  'section' => 'styling',
1917
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1918
  ),
1919
+ array(
1920
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
1921
+ 'id' => 'button_inline_svg',
1922
+ 'std' => '',
1923
+ 'type' => 'textarea',
1924
+ 'section' => 'styling',
1925
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
1926
+ 'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1927
+ ),
1928
+ array(
1929
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
1930
+ 'id' => 'css_button_icon_size_svg',
1931
+ 'std' => '11',
1932
+ 'type' => 'slider',
1933
+ 'refresh_on_change' => false,
1934
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary svg',
1935
+ 'affect_on_change_rule' => 'width, height',
1936
+ 'section' => 'styling',
1937
+ 'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1938
+ 'ext' => 'px',
1939
+ ),
1940
  array(
1941
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1942
  'id' => 'css_button_icon_color',
1943
  'std' => '#b0c8eb',
1944
  'type' => 'color',
1945
  'refresh_on_change' => false,
1946
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary .dslc-icon, .dslc-info-box-button a.dslc-primary svg',
1947
+ 'affect_on_change_rule' => 'color, fill',
1948
  'section' => 'styling',
1949
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1950
  ),
1954
  'std' => '',
1955
  'type' => 'color',
1956
  'refresh_on_change' => false,
1957
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary:hover .dslc-icon, .dslc-info-box-button a.dslc-primary:hover svg',
1958
+ 'affect_on_change_rule' => 'color, fill',
1959
  'section' => 'styling',
1960
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1961
  ),
1965
  'std' => '5',
1966
  'type' => 'slider',
1967
  'refresh_on_change' => false,
1968
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary .dslc-icon, .dslc-info-box-button a.dslc-primary svg',
1969
  'affect_on_change_rule' => 'margin-right',
1970
  'section' => 'styling',
1971
  'ext' => 'px',
2123
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
2124
  'id' => 'css_button_2_font_size',
2125
  'onlypositive' => true, // Value can't be negative.
2126
+ 'max' => 50,
2127
  'std' => '11',
2128
  'type' => 'slider',
2129
  'refresh_on_change' => false,
2194
  'section' => 'styling',
2195
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2196
  ),
2197
+ array(
2198
+ 'label' => __( 'Text Transform', 'live-composer-page-builder' ),
2199
+ 'id' => 'css_button_2_text_transform',
2200
+ 'std' => 'none',
2201
+ 'type' => 'select',
2202
+ 'choices' => array(
2203
+ array(
2204
+ 'label' => __( 'None', 'live-composer-page-builder' ),
2205
+ 'value' => 'none',
2206
+ ),
2207
+ array(
2208
+ 'label' => __( 'Capitalize', 'live-composer-page-builder' ),
2209
+ 'value' => 'capitalize',
2210
+ ),
2211
+ array(
2212
+ 'label' => __( 'Uppercase', 'live-composer-page-builder' ),
2213
+ 'value' => 'uppercase',
2214
+ ),
2215
+ array(
2216
+ 'label' => __( 'Lowercase', 'live-composer-page-builder' ),
2217
+ 'value' => 'lowercase',
2218
+ ),
2219
+ ),
2220
+ 'refresh_on_change' => false,
2221
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary',
2222
+ 'affect_on_change_rule' => 'text-transform',
2223
+ 'section' => 'styling',
2224
+ 'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2225
+ ),
2226
  array(
2227
  'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
2228
  'id' => 'css_button_2_letter_spacing',
2289
  'ext' => 'px',
2290
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2291
  ),
2292
+ array(
2293
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
2294
+ 'id' => 'button_2_show_icon',
2295
+ 'std' => 'font',
2296
+ 'type' => 'select',
2297
+ 'choices' => array(
2298
+ array(
2299
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
2300
+ 'value' => 'font',
2301
+ ),
2302
+ array(
2303
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
2304
+ 'value' => 'svg',
2305
+ ),
2306
+ ),
2307
+ 'dependent_controls' => array(
2308
+ 'font' => 'button_2_icon_id',
2309
+ 'svg' => 'button_2_inline_svg, css_button_2_icon_size_svg',
2310
+ ),
2311
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
2312
+ 'section' => 'styling',
2313
+ 'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2314
+ ),
2315
  array(
2316
  'label' => __( 'Icon', 'live-composer-page-builder' ),
2317
  'id' => 'button_2_icon_id',
2320
  'section' => 'styling',
2321
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2322
  ),
2323
+ array(
2324
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
2325
+ 'id' => 'button_2_inline_svg',
2326
+ 'std' => '',
2327
+ 'type' => 'textarea',
2328
+ 'section' => 'styling',
2329
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
2330
+ 'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2331
+ ),
2332
+ array(
2333
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
2334
+ 'id' => 'css_button_2_icon_size_svg',
2335
+ 'std' => '11',
2336
+ 'type' => 'slider',
2337
+ 'refresh_on_change' => false,
2338
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary svg',
2339
+ 'affect_on_change_rule' => 'width, height',
2340
+ 'section' => 'styling',
2341
+ 'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2342
+ 'ext' => 'px',
2343
+ ),
2344
  array(
2345
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
2346
  'id' => 'css_button_2_icon_color',
2347
  'std' => '#b0c8eb',
2348
  'type' => 'color',
2349
  'refresh_on_change' => false,
2350
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary .dslc-icon, .dslc-info-box-button a.dslc-secondary svg',
2351
+ 'affect_on_change_rule' => 'color, fill',
2352
  'section' => 'styling',
2353
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2354
  ),
2358
  'std' => '',
2359
  'type' => 'color',
2360
  'refresh_on_change' => false,
2361
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary:hover .dslc-icon, .dslc-info-box-button a.dslc-secondary:hover svg',
2362
+ 'affect_on_change_rule' => 'color, fill',
2363
  'section' => 'styling',
2364
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
2365
  ),
2369
  'std' => '5',
2370
  'type' => 'slider',
2371
  'refresh_on_change' => false,
2372
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-secondary .dslc-icon, .dslc-info-box-button a.dslc-secondary svg',
2373
  'affect_on_change_rule' => 'margin-right',
2374
  'section' => 'styling',
2375
  'ext' => 'px',
2593
  'std' => '31',
2594
  'type' => 'slider',
2595
  'refresh_on_change' => false,
2596
+ 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon, .dslc-info-box-image-inner svg',
2597
+ 'affect_on_change_rule' => 'font-size, height, width',
2598
  'section' => 'responsive',
2599
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2600
  'ext' => 'px',
2601
  ),
2602
+ array(
2603
+ 'label' => __( 'Icon - Align', 'live-composer-page-builder' ),
2604
+ 'id' => 'css_res_t_icon_text_align',
2605
+ 'std' => 'inherit',
2606
+ 'type' => 'text_align',
2607
+ 'refresh_on_change' => false,
2608
+ 'affect_on_change_el' => '.dslc-info-box-image',
2609
+ 'affect_on_change_rule' => 'text-align',
2610
+ 'section' => 'responsive',
2611
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2612
+ ),
2613
  array(
2614
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
2615
  'id' => 'css_res_t_title_font_size',
2648
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2649
  'ext' => 'px',
2650
  ),
2651
+ array(
2652
+ 'label' => __( 'Title - Align', 'live-composer-page-builder' ),
2653
+ 'id' => 'css_res_t_title_text_align',
2654
+ 'std' => 'inherit',
2655
+ 'type' => 'text_align',
2656
+ 'refresh_on_change' => false,
2657
+ 'affect_on_change_el' => '.dslc-info-box-title',
2658
+ 'affect_on_change_rule' => 'text-align',
2659
+ 'section' => 'responsive',
2660
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2661
+ ),
2662
  array(
2663
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
2664
  'id' => 'css_res_t_content_font_size',
2697
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2698
  'ext' => 'px',
2699
  ),
2700
+ array(
2701
+ 'label' => __( 'Content - Align', 'live-composer-page-builder' ),
2702
+ 'id' => 'css_res_t_content_text_align',
2703
+ 'std' => 'inherit',
2704
+ 'type' => 'text_align',
2705
+ 'refresh_on_change' => false,
2706
+ 'affect_on_change_el' => '.dslc-info-box-content',
2707
+ 'affect_on_change_rule' => 'text-align',
2708
+ 'section' => 'responsive',
2709
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2710
+ ),
2711
  array(
2712
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2713
  'id' => 'css_res_t_button_font_size',
2772
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2773
  'ext' => 'px',
2774
  ),
2775
+ array(
2776
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2777
+ 'id' => 'css_res_t_button_icon_size_svg',
2778
+ 'std' => '11',
2779
+ 'type' => 'slider',
2780
+ 'refresh_on_change' => false,
2781
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary svg, .dslc-info-box-button a.dslc-secondary svg',
2782
+ 'affect_on_change_rule' => 'width, height',
2783
+ 'section' => 'responsive',
2784
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2785
+ 'ext' => 'px',
2786
+ ),
2787
  array(
2788
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2789
  'id' => 'css_res_t_button_icon_margin',
2790
  'std' => '5',
2791
  'type' => 'slider',
2792
  'refresh_on_change' => false,
2793
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary .dslc-icon, .dslc-info-box-button a.dslc-secondary .dslc-icon, .dslc-info-box-button a.dslc-primary svg, .dslc-info-box-button a.dslc-secondary svg',
2794
  'affect_on_change_rule' => 'margin-right',
2795
  'section' => 'responsive',
2796
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2980
  'std' => '31',
2981
  'type' => 'slider',
2982
  'refresh_on_change' => false,
2983
+ 'affect_on_change_el' => '.dslc-info-box-image-inner .dslc-icon, .dslc-info-box-image-inner svg',
2984
+ 'affect_on_change_rule' => 'font-size, height, width',
2985
  'section' => 'responsive',
2986
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2987
  'ext' => 'px',
2988
  ),
2989
+ array(
2990
+ 'label' => __( 'Icon - Align', 'live-composer-page-builder' ),
2991
+ 'id' => 'css_res_p_icon_text_align',
2992
+ 'std' => 'inherit',
2993
+ 'type' => 'text_align',
2994
+ 'refresh_on_change' => false,
2995
+ 'affect_on_change_el' => '.dslc-info-box-image',
2996
+ 'affect_on_change_rule' => 'text-align',
2997
+ 'section' => 'responsive',
2998
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2999
+ ),
3000
  array(
3001
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
3002
  'id' => 'css_res_p_title_font_size',
3035
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3036
  'ext' => 'px',
3037
  ),
3038
+ array(
3039
+ 'label' => __( 'Title - Align', 'live-composer-page-builder' ),
3040
+ 'id' => 'css_res_p_title_text_align',
3041
+ 'std' => 'inherit',
3042
+ 'type' => 'text_align',
3043
+ 'refresh_on_change' => false,
3044
+ 'affect_on_change_el' => '.dslc-info-box-title',
3045
+ 'affect_on_change_rule' => 'text-align',
3046
+ 'section' => 'responsive',
3047
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3048
+ ),
3049
  array(
3050
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
3051
  'id' => 'css_res_p_content_font_size',
3084
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3085
  'ext' => 'px',
3086
  ),
3087
+ array(
3088
+ 'label' => __( 'Content - Align', 'live-composer-page-builder' ),
3089
+ 'id' => 'css_res_p_content_text_align',
3090
+ 'std' => 'inherit',
3091
+ 'type' => 'text_align',
3092
+ 'refresh_on_change' => false,
3093
+ 'affect_on_change_el' => '.dslc-info-box-content',
3094
+ 'affect_on_change_rule' => 'text-align',
3095
+ 'section' => 'responsive',
3096
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3097
+ ),
3098
  array(
3099
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
3100
  'id' => 'css_res_p_button_font_size',
3159
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3160
  'ext' => 'px',
3161
  ),
3162
+ array(
3163
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
3164
+ 'id' => 'css_res_p_button_icon_size_svg',
3165
+ 'std' => '11',
3166
+ 'type' => 'slider',
3167
+ 'refresh_on_change' => false,
3168
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary svg, .dslc-info-box-button a.dslc-secondary svg',
3169
+ 'affect_on_change_rule' => 'width, height',
3170
+ 'section' => 'responsive',
3171
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
3172
+ 'ext' => 'px',
3173
+ ),
3174
  array(
3175
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
3176
  'id' => 'css_res_p_button_icon_margin',
3177
  'std' => '5',
3178
  'type' => 'slider',
3179
  'refresh_on_change' => false,
3180
+ 'affect_on_change_el' => '.dslc-info-box-button a.dslc-primary .dslc-icon, .dslc-info-box-button a.dslc-secondary .dslc-icon, .dslc-info-box-button a.dslc-primary svg, .dslc-info-box-button a.dslc-secondary svg',
3181
  'affect_on_change_rule' => 'margin-right',
3182
  'section' => 'responsive',
3183
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3261
  <div class="dslc-info-box-button dslc-info-box-button-aside">
3262
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
3263
  <a href="<?php echo $options['button_link']; ?>" target="<?php echo $options['button_target']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="dslc-primary">
3264
+ <?php if ( 'svg' == $options['button_show_icon'] ) : ?>
3265
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3266
+ <?php else : ?>
3267
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3268
  <?php endif; ?>
3269
  <?php if ( $dslc_is_admin ) : ?>
3270
  <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable="true"><?php echo $options['button_title']; ?></span>
3274
  <?php endif; ?>
3275
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
3276
  <a href="<?php echo $options['button_2_link']; ?>" target="<?php echo $options['button_2_target']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> class="dslc-secondary">
3277
+ <?php if ( 'svg' == $options['button_2_show_icon'] ) : ?>
3278
+ <?php echo stripslashes( $options['button_2_inline_svg'] ); ?>
3279
+ <?php else : ?>
3280
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
3281
  <?php endif; ?>
3282
  <?php if ( $dslc_is_admin ) : ?>
3283
  <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable="true"><?php echo $options['button_2_title']; ?></span>
3293
  <?php if ( in_array( 'icon', $elements ) ) : ?>
3294
  <div class="dslc-info-box-image">
3295
  <div class="dslc-info-box-image-inner">
3296
+ <?php if ( 'svg' == $options['show_icon']) : ?>
3297
+ <?php echo stripslashes( $options['inline_svg'] ); ?>
3298
+ <?php else : ?>
3299
+ <span class="dslc-icon dslc-icon-<?php echo $options['icon_id']; ?>"></span>
3300
+ <?php endif; ?>
3301
  <?php if ( ! empty( $options['icon_link'] ) ) : ?>
3302
  <a class="dslc-info-box-image-link" href="<?php echo $options['icon_link']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> target="<?php echo $options['icon_link_target']; ?>"></a>
3303
  <?php endif; ?>
3339
  <div class="dslca-editable-content inline-editor" data-type="simple" data-id="content">
3340
  <?php
3341
  $output_content = stripslashes( $options['content'] );
3342
+ echo apply_filters( 'dslc_text_block_render', $output_content );
3343
  ?>
3344
  </div><!-- .dslca-editable-content -->
3345
  <div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook"><?php _e( 'Open in WP Editor', 'live-composer-page-builder' ); ?></span></div>
3346
  <?php else : ?>
3347
  <?php
3348
  $output_content = stripslashes( $options['content'] );
3349
+ echo apply_filters( 'dslc_text_block_render', $output_content );
3350
  ?>
3351
  <?php endif; ?>
3352
  </div><!-- .dslc-info-box-content -->
3356
  <div class="dslc-info-box-button">
3357
  <?php if ( isset( $options['button_link'] ) && ! empty( $options['button_link'] ) ) : ?>
3358
  <a href="<?php echo $options['button_link']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> target="<?php echo $options['button_target']; ?>" class="dslc-primary">
3359
+ <?php if ( 'svg' == $options['button_show_icon'] ) : ?>
3360
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3361
+ <?php else : ?>
3362
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3363
  <?php endif; ?>
3364
  <?php if ( $dslc_is_admin ) : ?>
3365
  <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable="true"><?php echo $options['button_title']; ?></span>
3369
  <?php endif; ?>
3370
  <?php if ( isset( $options['button_2_link'] ) && ! empty( $options['button_2_link'] ) ) : ?>
3371
  <a href="<?php echo $options['button_2_link']; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?> target="<?php echo $options['button_2_target']; ?>" class="dslc-secondary">
3372
+ <?php if ( 'svg' == $options['button_2_show_icon'] ) : ?>
3373
+ <?php echo stripslashes( $options['button_2_inline_svg'] ); ?>
3374
+ <?php else : ?>
3375
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
3376
  <?php endif; ?>
3377
  <?php if ( $dslc_is_admin ) : ?>
3378
  <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable="true"><?php echo $options['button_2_title']; ?></span>
modules/logo/module.php CHANGED
@@ -24,21 +24,21 @@ class DSLC_Logo extends DSLC_Module {
24
  *
25
  * @var string
26
  */
27
- var $module_id;
28
 
29
  /**
30
  * Module label to show in the page builder
31
  *
32
  * @var string
33
  */
34
- var $module_title;
35
 
36
  /**
37
  * Module icon name (FontAwesome)
38
  *
39
  * @var string
40
  */
41
- var $module_icon;
42
 
43
  /**
44
  * Section in the modules panel that includes this module
@@ -46,7 +46,7 @@ class DSLC_Logo extends DSLC_Module {
46
  *
47
  * @var string
48
  */
49
- var $module_category;
50
 
51
  /**
52
  * Construct
24
  *
25
  * @var string
26
  */
27
+ public $module_id;
28
 
29
  /**
30
  * Module label to show in the page builder
31
  *
32
  * @var string
33
  */
34
+ public $module_title;
35
 
36
  /**
37
  * Module icon name (FontAwesome)
38
  *
39
  * @var string
40
  */
41
+ public $module_icon;
42
 
43
  /**
44
  * Section in the modules panel that includes this module
46
  *
47
  * @var string
48
  */
49
+ public $module_category;
50
 
51
  /**
52
  * Construct
modules/navigation/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Navigation' ) ) {
12
 
13
  class DSLC_Navigation extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
12
 
13
  class DSLC_Navigation extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
modules/notification/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Notification extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -765,7 +765,7 @@ class DSLC_Notification extends DSLC_Module {
765
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
766
 
767
  // Cache calculated array in WP Object Cache.
768
- wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options ,'dslc_modules' );
769
 
770
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
771
 
8
 
9
  class DSLC_Notification extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
765
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
766
 
767
  // Cache calculated array in WP Object Cache.
768
+ wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options, 'dslc_modules' );
769
 
770
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
771
 
modules/partners/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Partners' ) ) {
12
 
13
  class DSLC_Partners extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
@@ -1234,6 +1234,20 @@ class DSLC_Partners extends DSLC_Module {
1234
  'ext' => 'px',
1235
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1236
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1237
  array(
1238
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1239
  'id' => 'css_res_t_main_padding_vertical',
@@ -1389,6 +1403,20 @@ class DSLC_Partners extends DSLC_Module {
1389
  'ext' => 'px',
1390
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1391
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1392
  array(
1393
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1394
  'id' => 'css_res_p_main_padding_vertical',
@@ -1695,6 +1723,10 @@ function dslc_module_partners_output( $atts, $content = null ) {
1695
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
1696
  $show_header = true;
1697
  }
 
 
 
 
1698
 
1699
  /**
1700
  * Carousel Items
@@ -1791,7 +1823,7 @@ function dslc_module_partners_output( $atts, $content = null ) {
1791
 
1792
  <!-- Carousel -->
1793
 
1794
- <?php if ( $show_carousel_arrows ) : ?>
1795
  <span class="dslc-carousel-nav fr">
1796
  <span class="dslc-carousel-nav-inner">
1797
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -1811,9 +1843,13 @@ function dslc_module_partners_output( $atts, $content = null ) {
1811
 
1812
  if ( $dslc_query->have_posts() ) :
1813
 
1814
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
1815
 
1816
- ?><div class="dslc-posts-inner"><?php
1817
 
1818
  if ( $options['type'] == 'carousel' ) :
1819
 
@@ -1849,8 +1885,8 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
1849
  }
1850
 
1851
  /**
1852
- * Link or not
1853
- */
1854
 
1855
  $link_to_single = true;
1856
 
@@ -2062,6 +2098,10 @@ if ( $options['type'] == 'carousel' ) :
2062
  ?>
2063
 
2064
  </div><!-- .dslc-posts-inner -->
 
 
 
 
2065
 
2066
  </div><!-- .dslc-partners -->
2067
 
12
 
13
  class DSLC_Partners extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
1234
  'ext' => 'px',
1235
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1236
  ),
1237
+ array(
1238
+ 'label' => __( 'Thumbnail - Padding Horizontal', 'live-composer-page-builder' ),
1239
+ 'id' => 'css_res_t_thumbnail_padding_horizontal',
1240
+ 'onlypositive' => true, // Value can't be negative.
1241
+ 'max' => 600,
1242
+ 'std' => '0',
1243
+ 'type' => 'slider',
1244
+ 'refresh_on_change' => false,
1245
+ 'affect_on_change_el' => '.dslc-partner-thumb',
1246
+ 'affect_on_change_rule' => 'padding-left,padding-right',
1247
+ 'section' => 'responsive',
1248
+ 'ext' => 'px',
1249
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1250
+ ),
1251
  array(
1252
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1253
  'id' => 'css_res_t_main_padding_vertical',
1403
  'ext' => 'px',
1404
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1405
  ),
1406
+ array(
1407
+ 'label' => __( 'Thumbnail - Padding Horizontal', 'live-composer-page-builder' ),
1408
+ 'id' => 'css_res_p_thumbnail_padding_horizontal',
1409
+ 'onlypositive' => true, // Value can't be negative.
1410
+ 'max' => 600,
1411
+ 'std' => '0',
1412
+ 'type' => 'slider',
1413
+ 'refresh_on_change' => false,
1414
+ 'affect_on_change_el' => '.dslc-partner-thumb',
1415
+ 'affect_on_change_rule' => 'padding-left,padding-right',
1416
+ 'section' => 'responsive',
1417
+ 'ext' => 'px',
1418
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
1419
+ ),
1420
  array(
1421
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1422
  'id' => 'css_res_p_main_padding_vertical',
1723
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
1724
  $show_header = true;
1725
  }
1726
+
1727
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
1728
+ $container_class .= 'dslc-carousel-arrow-aside ';
1729
+ }
1730
 
1731
  /**
1732
  * Carousel Items
1823
 
1824
  <!-- Carousel -->
1825
 
1826
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
1827
  <span class="dslc-carousel-nav fr">
1828
  <span class="dslc-carousel-nav-inner">
1829
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
1843
 
1844
  if ( $dslc_query->have_posts() ) :
1845
 
1846
+ ?><div class="<?php echo $container_class; ?>">
1847
+
1848
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
1849
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
1850
+ <?php endif; ?>
1851
 
1852
+ <div class="dslc-posts-inner"><?php
1853
 
1854
  if ( $options['type'] == 'carousel' ) :
1855
 
1885
  }
1886
 
1887
  /**
1888
+ * Link or not
1889
+ */
1890
 
1891
  $link_to_single = true;
1892
 
2098
  ?>
2099
 
2100
  </div><!-- .dslc-posts-inner -->
2101
+
2102
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2103
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
2104
+ <?php endif; ?>
2105
 
2106
  </div><!-- .dslc-partners -->
2107
 
modules/posts/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Posts extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -1779,6 +1779,29 @@ class DSLC_Posts extends DSLC_Module {
1779
  'ext' => 'px',
1780
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1781
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1782
  array(
1783
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1784
  'id' => 'button_icon_id',
@@ -1787,14 +1810,36 @@ class DSLC_Posts extends DSLC_Module {
1787
  'section' => 'styling',
1788
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1789
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1790
  array(
1791
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1792
  'id' => 'css_button_icon_color',
1793
  'std' => '',
1794
  'type' => 'color',
1795
  'refresh_on_change' => false,
1796
- 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon',
1797
- 'affect_on_change_rule' => 'color',
1798
  'section' => 'styling',
1799
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1800
  ),
@@ -1804,8 +1849,8 @@ class DSLC_Posts extends DSLC_Module {
1804
  'std' => '',
1805
  'type' => 'color',
1806
  'refresh_on_change' => false,
1807
- 'affect_on_change_el' => '.dslc-cpt-post-read-more a:hover .dslc-icon',
1808
- 'affect_on_change_rule' => 'color',
1809
  'section' => 'styling',
1810
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1811
  ),
@@ -1815,7 +1860,7 @@ class DSLC_Posts extends DSLC_Module {
1815
  'std' => '5',
1816
  'type' => 'slider',
1817
  'refresh_on_change' => false,
1818
- 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon',
1819
  'affect_on_change_rule' => 'margin-right',
1820
  'section' => 'styling',
1821
  'ext' => 'px',
@@ -2117,13 +2162,25 @@ class DSLC_Posts extends DSLC_Module {
2117
  'ext' => 'px',
2118
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2119
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2120
  array(
2121
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2122
  'id' => 'css_res_t_button_icon_margin',
2123
  'std' => '5',
2124
  'type' => 'slider',
2125
  'refresh_on_change' => false,
2126
- 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon',
2127
  'affect_on_change_rule' => 'margin-right',
2128
  'section' => 'responsive',
2129
  'ext' => 'px',
@@ -2425,13 +2482,25 @@ class DSLC_Posts extends DSLC_Module {
2425
  'ext' => 'px',
2426
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2427
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2428
  array(
2429
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2430
  'id' => 'css_res_p_button_icon_margin',
2431
  'std' => '5',
2432
  'type' => 'slider',
2433
  'refresh_on_change' => false,
2434
- 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon',
2435
  'affect_on_change_rule' => 'margin-right',
2436
  'section' => 'responsive',
2437
  'ext' => 'px',
@@ -2455,6 +2524,7 @@ class DSLC_Posts extends DSLC_Module {
2455
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2456
 
2457
  }
 
2458
  /**
2459
  * Module HTML output.
2460
  *
@@ -2468,9 +2538,7 @@ class DSLC_Posts extends DSLC_Module {
2468
  // if ( 'disabled' === $options['pagination_type'] )
2469
  // # code...
2470
  // }
2471
- ?>
2472
- [dslc_module_posts_output]<?php echo serialize( $options ); ?>[/dslc_module_posts_output]
2473
- <?php
2474
  }
2475
  }
2476
 
@@ -2522,33 +2590,38 @@ function dslc_module_posts_output( $atts, $content = null ) {
2522
  }
2523
  }
2524
 
2525
- /**
2526
- * Query
2527
- */
2528
 
2529
- // Fix for pagination.
2530
- if ( is_front_page() ) { $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1;
2531
- } else { $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; }
 
 
 
2532
 
2533
- // Fix for pagination from other modules affecting this one when pag disabled.
2534
- if ( 'disabled' === $options['pagination_type'] ) { $paged = 1;
 
2535
  }
2536
 
2537
- // Fix for offset braking pagination.
2538
- $query_offset = $options['offset'];
2539
- if ( $query_offset > 0 && $paged > 1 ) { $query_offset = ( $paged - 1 ) * $options['amount'] + $options['offset'];
 
2540
  }
2541
 
2542
- // General args.
2543
- $args = array(
2544
- 'paged' => $paged,
2545
- 'post_type' => $post_type,
2546
- 'posts_per_page' => $options['amount'],
2547
- 'order' => $options['order'],
2548
- 'orderby' => $options['orderby'],
2549
- );
2550
 
2551
- // Add offset.
2552
  if ( $query_offset > 0 ) {
2553
  $args['offset'] = $query_offset;
2554
  }
@@ -2557,58 +2630,58 @@ function dslc_module_posts_output( $atts, $content = null ) {
2557
  $args['post_status'] = array( 'publish', 'private' );
2558
  }
2559
 
2560
- // Category args.
2561
  if ( isset( $options['categories'] ) && '' !== $options['categories'] ) {
2562
  $cats_array = explode( ' ', $options['categories'] );
2563
  $args['category__in'] = $cats_array;
2564
  }
2565
 
2566
- // Exlcude and Include arrays.
2567
- $exclude = array();
2568
- $include = array();
2569
 
2570
- // Exclude current post.
2571
  if ( is_singular( get_post_type() ) ) {
2572
  $exclude[] = get_the_ID();
2573
  }
2574
 
2575
- // Exclude posts ( option ).
2576
  if ( $options['query_post_not_in'] ) {
2577
  $exclude = array_merge( $exclude, explode( ' ', $options['query_post_not_in'] ) );
2578
  }
2579
 
2580
- // Include posts ( option ).
2581
  if ( $options['query_post_in'] ) {
2582
  $include = array_merge( $include, explode( ' ', $options['query_post_in'] ) );
2583
  }
2584
 
2585
- // Include query parameter.
2586
  if ( ! empty( $include ) ) {
2587
  $args['post__in'] = $include;
2588
  }
2589
 
2590
- // Exclude query parameter.
2591
  if ( ! empty( $exclude ) ) {
2592
  $args['post__not_in'] = $exclude;
2593
  }
2594
 
2595
- // Author archive page.
2596
  if ( is_author() && 'enabled' === $options['query_alter'] ) {
2597
  global $authordata;
2598
  $args['author__in'] = array( $authordata->data->ID );
2599
  }
2600
 
2601
- // No paging.
2602
  if ( 'disabled' === $options['pagination_type'] ) {
2603
  $args['no_found_rows'] = true;
2604
  }
2605
 
2606
- // Sticky Posts.
2607
  if ( 'disabled' === $options['sticky_posts'] ) {
2608
  $args['ignore_sticky_posts'] = true;
2609
  }
2610
 
2611
- // Do the query.
2612
  if ( ( is_category() || is_tag() || is_tax() || is_search() || is_date() ) && 'enabled' === $options['query_alter'] ) {
2613
  global $wp_query;
2614
  $dslc_query = $wp_query;
@@ -2621,70 +2694,73 @@ function dslc_module_posts_output( $atts, $content = null ) {
2621
  $dslc_query = new WP_Query( $args );
2622
  }
2623
 
2624
- /**
2625
- * Unnamed
2626
- */
2627
 
2628
- $columns_class = 'dslc-col dslc-' . $options['columns'] . '-col ';
2629
- $count = 0;
2630
- $real_count = 0;
2631
- $increment = $options['columns'];
2632
- $max_count = 12;
2633
 
2634
- /**
2635
- * Elements to show
2636
- */
2637
 
2638
- // Main Elements
2639
- $elements = $options['elements'];
2640
  if ( ! empty( $elements ) ) {
2641
  $elements = explode( ' ', trim( $elements ) );
2642
- } else { $elements = array();
 
2643
  }
2644
 
2645
- // Post Elements
2646
- $post_elements = $options['post_elements'];
2647
  if ( ! empty( $post_elements ) ) {
2648
  $post_elements = explode( ' ', trim( $post_elements ) );
2649
- } else { $post_elements = 'all';
 
2650
  }
2651
 
2652
- // Carousel Elements
2653
- $carousel_elements = $options['carousel_elements'];
2654
  if ( ! empty( $carousel_elements ) ) {
2655
  $carousel_elements = explode( ' ', trim( $carousel_elements ) );
2656
- } else { $carousel_elements = array();
 
2657
  }
2658
 
2659
- /**
2660
- * Classes generation
2661
- */
2662
 
2663
- // Posts container
2664
- $container_class = 'dslc-posts dslc-cpt-posts dslc-clearfix dslc-cpt-posts-type-' . $options['type'] . ' dslc-posts-orientation-' . $options['orientation'] . ' ';
2665
  if ( $options['type'] == 'masonry' ) {
2666
  $container_class .= 'dslc-init-masonry ';
2667
  } elseif ( $options['type'] == 'grid' ) {
2668
  $container_class .= 'dslc-init-grid ';
2669
  }
2670
 
2671
- // Post
2672
- $element_class = 'dslc-post dslc-cpt-post ';
2673
  if ( $options['type'] == 'masonry' ) {
2674
  $element_class .= 'dslc-masonry-item ';
2675
  } elseif ( $options['type'] == 'carousel' ) {
2676
  $element_class .= 'dslc-carousel-item ';
2677
  }
2678
 
2679
- /**
2680
- * What is shown
2681
- */
2682
 
2683
- $show_header = false;
2684
- $show_heading = false;
2685
- $show_filters = false;
2686
- $show_carousel_arrows = false;
2687
- $show_view_all_link = false;
2688
 
2689
  if ( in_array( 'main_heading', $elements, true ) ) {
2690
  $show_heading = true;
@@ -2701,10 +2777,14 @@ function dslc_module_posts_output( $atts, $content = null ) {
2701
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2702
  $show_header = true;
2703
  }
 
 
 
 
2704
 
2705
- /**
2706
- * Carousel Items
2707
- */
2708
 
2709
  switch ( $options['columns'] ) {
2710
  case 12 :
@@ -2727,91 +2807,76 @@ function dslc_module_posts_output( $atts, $content = null ) {
2727
  break;
2728
  }
2729
 
2730
- /**
2731
- * Heading ( output )
2732
- */
2733
-
2734
- if ( $show_header ) :
2735
- ?>
2736
- <div class="dslc-module-heading">
2737
-
2738
- <!-- Heading -->
2739
-
2740
- <?php if ( $show_heading ) : ?>
2741
-
2742
- <div class="dslc-post-heading">
2743
-
2744
- <h2 class="dslca-editable-content" data-id="main_heading_title" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?> ><?php echo stripslashes( $options['main_heading_title'] ); ?></h2>
2745
-
2746
- <!-- View all -->
2747
-
2748
- <?php if ( isset( $options['view_all_link'] ) && $options['view_all_link'] !== '' ) : ?>
2749
-
2750
- <span class="dslc-module-heading-view-all"><a href="<?php echo $options['view_all_link']; ?>" class="dslca-editable-content" data-id="main_heading_link_title" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?> ><?php echo $options['main_heading_link_title']; ?></a></span>
2751
-
2752
- <?php endif; ?>
2753
-
2754
- </div>
2755
 
2756
- <?php endif; ?>
 
2757
 
2758
- <!-- Filters -->
 
 
2759
 
2760
- <?php
2761
 
2762
- $taxonomy_name = '';
2763
- if ( $show_filters ) {
2764
 
2765
- $cats_array = array();
2766
 
2767
- $cats_count = 0;
2768
 
2769
- if ( $dslc_query->have_posts() ) {
2770
 
2771
- while ( $dslc_query->have_posts() ) {
 
2772
 
2773
- $dslc_query->the_post();
 
 
 
2774
 
2775
- $cats_count++;
 
2776
 
2777
- if ( $cats_count == 1 ) {
 
 
 
2778
 
2779
- $post_type_taxonomies = get_object_taxonomies( get_post_type(), 'objects' );
2780
- foreach ( $post_type_taxonomies as $taxonomy ) {
2781
- if ( $taxonomy->hierarchical == true ) {
2782
- $taxonomy_name = $taxonomy->name;
 
 
2783
  }
2784
  }
2785
- }
2786
 
2787
- $post_cats = get_the_terms( get_the_ID(), $taxonomy_name );
2788
- if ( ! empty( $post_cats ) ) {
2789
- foreach ( $post_cats as $post_cat ) {
2790
- $cats_array[ $post_cat->slug ] = $post_cat->name;
 
2791
  }
2792
  }
2793
  }
2794
- }
2795
-
2796
  ?>
2797
-
2798
  <div class="dslc-post-filters">
2799
  <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ) { echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
2800
 
2801
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2802
- <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2803
- <?php endforeach; ?>
2804
-
2805
- </div><!-- .dslc-post-filters -->
2806
 
2807
- <?php
2808
- }// End if().
2809
 
2810
  ?>
2811
 
2812
  <!-- Carousel -->
2813
 
2814
- <?php if ( $show_carousel_arrows ) : ?>
2815
  <span class="dslc-carousel-nav fr">
2816
  <span class="dslc-carousel-nav-inner">
2817
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -2825,314 +2890,339 @@ function dslc_module_posts_output( $atts, $content = null ) {
2825
 
2826
  endif;
2827
 
2828
- /**
2829
- * Posts ( output )
2830
- */
2831
-
2832
- if ( $dslc_query->have_posts() ) {
2833
-
2834
- ?><div class="<?php echo $container_class; ?>"><?php
2835
-
2836
- ?><div class="dslc-posts-inner"><?php
2837
 
2838
- if ( $options['type'] == 'carousel' ) :
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2839
 
2840
- ?><div class="dslc-loader"></div><div class="dslc-carousel" data-stop-on-hover="<?php echo $options['carousel_autoplay_hover']; ?>" data-autoplay="<?php echo $options['carousel_autoplay']; ?>" data-columns="<?php echo $carousel_items; ?>" data-pagination="<?php if ( in_array( 'circles', $carousel_elements ) ) { echo 'true';
2841
- } else { echo 'false';
2842
- } ?>" data-slide-speed="<?php echo $options['arrows_slide_speed']; ?>" data-pagination-speed="<?php echo $options['circles_slide_speed']; ?>"><?php
2843
 
2844
- endif;
 
 
 
 
 
 
 
 
2845
 
2846
- while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2847
- $count += $increment;
2848
- $real_count++;
 
 
 
2849
 
2850
- if ( $count == $max_count ) {
2851
- $count = 0;
2852
- $extra_class = ' dslc-last-col';
2853
- } elseif ( $count == $increment ) {
2854
- $extra_class = ' dslc-first-col';
2855
- } else {
2856
- $extra_class = '';
2857
- }
2858
 
2859
- if ( ! has_post_thumbnail() ) {
2860
- $extra_class .= ' dslc-post-no-thumb';
2861
- }
2862
 
2863
- $post_cats_data = '';
2864
- if ( isset( $taxonomy_name ) ) {
2865
- $post_cats = get_the_terms( get_the_ID(), $taxonomy_name );
2866
- if ( ! empty( $post_cats ) ) {
2867
- foreach ( $post_cats as $post_cat ) {
2868
- $post_cats_data .= $post_cat->slug . ' ';
2869
- }
2870
- }
2871
- }
2872
 
2873
- ?>
 
 
 
2874
 
2875
- <div class="<?php echo $element_class . $columns_class . $extra_class; ?>" data-cats="<?php echo $post_cats_data; ?>">
 
2876
 
2877
- <?php if ( $post_elements == 'all' || in_array( 'thumbnail', $post_elements ) ) : ?>
 
 
2878
 
2879
- <?php
2880
- /**
2881
- * Manual Resize
2882
- */
 
 
2883
 
2884
- $manual_resize = false;
2885
- if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) || isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2886
 
2887
- $manual_resize = true;
2888
- $thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
2889
- $thumb_url = $thumb_url[0];
 
 
 
 
 
2890
 
2891
- $thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
2892
- if ( ! $thumb_alt ) { $thumb_alt = '';
2893
- }
2894
 
2895
- $resize_width = false;
2896
- $resize_height = false;
2897
 
2898
- if ( isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2899
- $resize_width = $options['thumb_resize_width_manual'];
2900
- }
2901
 
2902
- if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) ) {
2903
- $resize_height = $options['thumb_resize_height'];
2904
- }
2905
- }
2906
- ?>
2907
 
2908
- <?php if ( has_post_thumbnail() ) : ?>
 
 
2909
 
2910
- <div class="dslc-post-thumb dslc-cpt-post-thumb dslc-on-hover-anim">
2911
-
2912
- <div class="dslc-cpt-post-thumb-inner dslca-post-thumb">
2913
- <?php if ( $manual_resize ) : ?>
2914
- <a href="<?php the_permalink(); ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
2915
- echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
2916
- <?php else : ?>
2917
- <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'full' ); ?></a>
2918
  <?php endif; ?>
2919
- </div><!-- .dslc-cpt-post-thumb-inner -->
2920
-
2921
- <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
2922
 
2923
- <div class="dslc-post-main dslc-cpt-post-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) { echo 'dslc-cpt-post-main-visible';} ?> dslc-on-hover-anim-target dslc-anim-<?php echo $options['css_anim_hover']; ?>" data-dslc-anim="<?php echo $options['css_anim_hover'] ?>" data-dslc-anim-speed="<?php echo $options['css_anim_speed']; ?>">
2924
 
2925
- <div class="dslc-cpt-post-main-inner dslc-init-target">
 
 
 
 
2926
 
2927
- <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2928
 
2929
- <div class="dslc-cpt-post-title">
2930
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
2931
- </div><!-- .dslc-cpt-post-title -->
 
 
2932
 
 
 
 
 
2933
  <?php endif; ?>
2934
 
2935
- <?php if ( $post_elements == 'all' || in_array( 'meta', $post_elements ) ) : ?>
2936
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2937
  <?php
2938
- // Meta Elements
2939
- $meta_elements = $options['meta_elements'];
2940
- $meta_elements = explode( ' ', trim( $meta_elements ) );
 
 
 
 
 
 
 
 
2941
  ?>
2942
-
2943
- <div class="dslc-cpt-post-meta">
2944
-
2945
- <?php if ( in_array( 'author', $meta_elements ) ) : ?>
2946
- <div class="dslc-cpt-post-meta-author">
2947
- <?php _e( 'By', 'live-composer-page-builder' ); ?> <?php the_author_posts_link(); ?>
2948
- </div><!-- .dslc-cpt-post-meta-author -->
2949
- <?php endif; ?>
2950
-
2951
- <?php if ( in_array( 'date', $meta_elements ) ) : ?>
2952
- <div class="dslc-cpt-post-meta-date">
2953
- <?php the_time( get_option( 'date_format' ) ); ?>
2954
- </div><!-- .dslc-cpt-post-meta-date -->
2955
- <?php endif; ?>
2956
-
2957
- </div><!-- .dslc-cpt-post-meta -->
2958
-
2959
- <?php endif; ?>
2960
-
2961
- <?php if ( $post_elements == 'all' || in_array( 'excerpt', $post_elements ) ) : ?>
2962
-
2963
- <div class="dslc-cpt-post-excerpt">
2964
- <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
2965
- <?php
2966
- if ( $options['excerpt_length'] > 0 ) {
2967
- echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
2968
- } else {
2969
- echo get_the_content();
2970
- }
2971
- ?>
2972
- <?php else : ?>
2973
- <?php
2974
- if ( $options['excerpt_length'] > 0 ) {
2975
- if ( has_excerpt() ) {
2976
- echo wp_trim_words( get_the_excerpt(), $options['excerpt_length'] );
2977
- } else { echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
2978
- }
2979
- } else {
2980
- if ( has_excerpt() ) {
2981
- echo get_the_excerpt();
2982
- } else { echo get_the_content();
2983
- }
2984
- }
2985
- ?>
2986
- <?php endif; ?>
2987
- </div><!-- .dslc-cpt-post-excerpt -->
2988
-
2989
  <?php endif; ?>
 
2990
 
2991
- <?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
2992
-
2993
- <div class="dslc-cpt-post-read-more">
2994
- <a href="<?php the_permalink(); ?>">
2995
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2996
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2997
- <?php endif; ?>
2998
- <?php echo $options['button_text']; ?>
2999
- </a>
3000
- </div><!-- .dslc-cpt-post-read-more -->
3001
 
3002
- <?php endif; ?>
3003
 
3004
- </div><!-- .dslc-cpt-post-main-inner -->
 
 
 
 
 
 
 
 
 
3005
 
3006
- <a href="<?php the_permalink(); ?>" class="dslc-post-main-inner-link-cover"></a>
3007
 
3008
- </div><!-- .dslc-cpt-post-main -->
3009
 
3010
- <?php endif; ?>
3011
 
3012
- </div><!-- .dslc-cpt-post-thumb -->
3013
 
3014
  <?php endif; ?>
3015
 
3016
- <?php endif; ?>
3017
-
3018
- <?php if ( $options['main_location'] == 'bellow' && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
3019
 
3020
- <div class="dslc-post-main dslc-cpt-post-main">
 
3021
 
3022
- <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
3023
 
3024
- <div class="dslc-cpt-post-title">
3025
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
3026
- </div><!-- .dslc-cpt-post-title -->
3027
 
3028
- <?php endif; ?>
3029
 
3030
- <?php if ( $post_elements == 'all' || in_array( 'meta', $post_elements ) ) : ?>
 
 
3031
 
3032
- <?php
3033
- // Meta Elements
3034
- $meta_elements = $options['meta_elements'];
3035
- $meta_elements = explode( ' ', trim( $meta_elements ) );
3036
- ?>
3037
 
3038
- <div class="dslc-cpt-post-meta">
3039
 
3040
- <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3041
- <div class="dslc-cpt-post-meta-author">
3042
- <?php _e( 'By', 'live-composer-page-builder' ); ?> <?php the_author_posts_link(); ?>
3043
- </div><!-- .dslc-cpt-post-meta-author -->
3044
- <?php endif; ?>
3045
-
3046
- <?php if ( in_array( 'date', $meta_elements ) ) : ?>
3047
- <div class="dslc-cpt-post-meta-date">
3048
- <?php the_time( get_option( 'date_format' ) ); ?>
3049
- </div><!-- .dslc-cpt-post-meta-date -->
3050
- <?php endif; ?>
3051
 
3052
- </div><!-- .dslc-cpt-post-meta -->
3053
 
 
 
 
 
3054
  <?php endif; ?>
3055
 
3056
- <?php if ( $post_elements == 'all' || in_array( 'excerpt', $post_elements ) ) : ?>
3057
-
3058
- <div class="dslc-cpt-post-excerpt">
3059
- <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3060
- <?php
3061
- if ( $options['excerpt_length'] > 0 ) {
3062
- echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
3063
- } else {
3064
- echo get_the_content();
3065
- }
3066
- ?>
3067
-
3068
- <?php else : ?>
3069
- <?php
3070
- if ( $options['excerpt_length'] > 0 ) {
3071
- if ( has_excerpt() ) {
3072
- echo wp_trim_words( get_the_excerpt(), $options['excerpt_length'] );
3073
- } else { echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
3074
- }
3075
- } else {
3076
- if ( has_excerpt() ) {
3077
- echo get_the_excerpt();
3078
- } else { echo get_the_content();
3079
- }
3080
- }
3081
- ?>
3082
- <?php endif; ?>
3083
- </div><!-- .dslc-cpt-post-excerpt -->
3084
-
3085
  <?php endif; ?>
3086
 
3087
- <?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
3088
 
 
 
 
 
 
 
 
 
 
 
 
 
3089
  <div class="dslc-cpt-post-read-more">
3090
  <a href="<?php the_permalink(); ?>">
3091
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
3092
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
3093
  <?php endif; ?>
3094
  <?php echo $options['button_text']; ?>
3095
  </a>
3096
  </div><!-- .dslc-cpt-post-read-more -->
3097
-
 
 
 
 
 
 
 
 
 
 
 
 
 
3098
  <?php endif; ?>
3099
-
3100
- </div><!-- .dslc-cpt-post-main -->
3101
 
3102
  <?php endif; ?>
3103
 
3104
- </div><!-- .dslc-cpt-post -->
3105
-
3106
- <?php
3107
-
3108
- // Row Separator
3109
- if ( $options['type'] == 'grid' && $count == 0 && $real_count != $dslc_query->found_posts && $real_count != $options['amount'] && $options['separator_enabled'] == 'enabled' ) {
3110
- echo '<div class="dslc-post-separator"></div>';
3111
- }
3112
 
3113
- endwhile;
 
 
 
 
 
 
 
 
 
3114
 
3115
- if ( $options['type'] == 'carousel' ) :
3116
 
3117
- ?></div><?php
3118
 
3119
- endif;
3120
 
3121
- ?></div><!--.dslc-posts-inner --><?php
3122
 
3123
- ?></div><!-- .dslc-cpt-posts --><?php
 
 
 
3124
 
 
 
 
 
 
 
 
 
 
 
 
 
3125
  } else {
 
 
 
 
3126
 
3127
- if ( $dslc_is_admin ) :
3128
- ?><div class="dslc-notification dslc-red"><?php _e( 'You do not have any posts of that post type at the moment.', 'live-composer-page-builder' ); ?> <span class="dslca-refresh-module-hook dslc-icon dslc-icon-refresh"></span></span></div><?php
3129
- endif;
3130
-
3131
- }// End if().
3132
-
3133
- /**
3134
- * Pagination
3135
- */
3136
 
3137
  if ( isset( $options['pagination_type'] ) && $options['pagination_type'] != 'disabled' ) {
3138
  $num_pages = $dslc_query->max_num_pages;
8
 
9
  class DSLC_Posts extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
1779
  'ext' => 'px',
1780
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1781
  ),
1782
+ array(
1783
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
1784
+ 'id' => 'show_icon',
1785
+ 'std' => 'font',
1786
+ 'type' => 'select',
1787
+ 'choices' => array(
1788
+ array(
1789
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
1790
+ 'value' => 'font',
1791
+ ),
1792
+ array(
1793
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
1794
+ 'value' => 'svg',
1795
+ ),
1796
+ ),
1797
+ 'dependent_controls' => array(
1798
+ 'font' => 'button_icon_id',
1799
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
1800
+ ),
1801
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
1802
+ 'section' => 'styling',
1803
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1804
+ ),
1805
  array(
1806
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1807
  'id' => 'button_icon_id',
1810
  'section' => 'styling',
1811
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1812
  ),
1813
+ array(
1814
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
1815
+ 'id' => 'button_inline_svg',
1816
+ 'std' => '',
1817
+ 'type' => 'textarea',
1818
+ 'section' => 'functionality',
1819
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
1820
+ 'section' => 'styling',
1821
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1822
+ ),
1823
+ array(
1824
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
1825
+ 'id' => 'css_button_icon_size_svg',
1826
+ 'std' => '11',
1827
+ 'type' => 'slider',
1828
+ 'refresh_on_change' => false,
1829
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a svg',
1830
+ 'affect_on_change_rule' => 'width, height',
1831
+ 'section' => 'styling',
1832
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1833
+ 'ext' => 'px',
1834
+ ),
1835
  array(
1836
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1837
  'id' => 'css_button_icon_color',
1838
  'std' => '',
1839
  'type' => 'color',
1840
  'refresh_on_change' => false,
1841
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon, .dslc-cpt-post-read-more a svg',
1842
+ 'affect_on_change_rule' => 'color, fill',
1843
  'section' => 'styling',
1844
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1845
  ),
1849
  'std' => '',
1850
  'type' => 'color',
1851
  'refresh_on_change' => false,
1852
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a:hover .dslc-icon, .dslc-cpt-post-read-more a:hover svg',
1853
+ 'affect_on_change_rule' => 'color, fill',
1854
  'section' => 'styling',
1855
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1856
  ),
1860
  'std' => '5',
1861
  'type' => 'slider',
1862
  'refresh_on_change' => false,
1863
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon, .dslc-cpt-post-read-more a svg',
1864
  'affect_on_change_rule' => 'margin-right',
1865
  'section' => 'styling',
1866
  'ext' => 'px',
2162
  'ext' => 'px',
2163
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2164
  ),
2165
+ array(
2166
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2167
+ 'id' => 'css_res_t_button_icon_size_svg',
2168
+ 'std' => '11',
2169
+ 'type' => 'slider',
2170
+ 'refresh_on_change' => false,
2171
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a svg',
2172
+ 'affect_on_change_rule' => 'width, height',
2173
+ 'section' => 'responsive',
2174
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2175
+ 'ext' => 'px',
2176
+ ),
2177
  array(
2178
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2179
  'id' => 'css_res_t_button_icon_margin',
2180
  'std' => '5',
2181
  'type' => 'slider',
2182
  'refresh_on_change' => false,
2183
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon, .dslc-cpt-post-read-more a svg',
2184
  'affect_on_change_rule' => 'margin-right',
2185
  'section' => 'responsive',
2186
  'ext' => 'px',
2482
  'ext' => 'px',
2483
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2484
  ),
2485
+ array(
2486
+ 'label' => __( 'Button - Icon - Size ( SVG )', 'live-composer-page-builder' ),
2487
+ 'id' => 'css_res_p_button_icon_size_svg',
2488
+ 'std' => '11',
2489
+ 'type' => 'slider',
2490
+ 'refresh_on_change' => false,
2491
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a svg',
2492
+ 'affect_on_change_rule' => 'width, height',
2493
+ 'section' => 'responsive',
2494
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2495
+ 'ext' => 'px',
2496
+ ),
2497
  array(
2498
  'label' => __( 'Button - Icon - Margin Right', 'live-composer-page-builder' ),
2499
  'id' => 'css_res_p_button_icon_margin',
2500
  'std' => '5',
2501
  'type' => 'slider',
2502
  'refresh_on_change' => false,
2503
+ 'affect_on_change_el' => '.dslc-cpt-post-read-more a .dslc-icon, .dslc-cpt-post-read-more a svg',
2504
  'affect_on_change_rule' => 'margin-right',
2505
  'section' => 'responsive',
2506
  'ext' => 'px',
2524
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2525
 
2526
  }
2527
+
2528
  /**
2529
  * Module HTML output.
2530
  *
2538
  // if ( 'disabled' === $options['pagination_type'] )
2539
  // # code...
2540
  // }
2541
+ echo '[dslc_module_posts_output]' . serialize( $options ) . '[/dslc_module_posts_output]';
 
 
2542
  }
2543
  }
2544
 
2590
  }
2591
  }
2592
 
2593
+ /**
2594
+ * Query
2595
+ */
2596
 
2597
+ // Fix for pagination.
2598
+ if ( is_front_page() ) {
2599
+ $paged = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1;
2600
+ } else {
2601
+ $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
2602
+ }
2603
 
2604
+ // Fix for pagination from other modules affecting this one when pag disabled.
2605
+ if ( 'disabled' === $options['pagination_type'] ) {
2606
+ $paged = 1;
2607
  }
2608
 
2609
+ // Fix for offset braking pagination.
2610
+ $query_offset = $options['offset'];
2611
+ if ( $query_offset > 0 && $paged > 1 ) {
2612
+ $query_offset = ( $paged - 1 ) * $options['amount'] + $options['offset'];
2613
  }
2614
 
2615
+ // General args.
2616
+ $args = array(
2617
+ 'paged' => $paged,
2618
+ 'post_type' => $post_type,
2619
+ 'posts_per_page' => $options['amount'],
2620
+ 'order' => $options['order'],
2621
+ 'orderby' => $options['orderby'],
2622
+ );
2623
 
2624
+ // Add offset.
2625
  if ( $query_offset > 0 ) {
2626
  $args['offset'] = $query_offset;
2627
  }
2630
  $args['post_status'] = array( 'publish', 'private' );
2631
  }
2632
 
2633
+ // Category args.
2634
  if ( isset( $options['categories'] ) && '' !== $options['categories'] ) {
2635
  $cats_array = explode( ' ', $options['categories'] );
2636
  $args['category__in'] = $cats_array;
2637
  }
2638
 
2639
+ // Exlcude and Include arrays.
2640
+ $exclude = array();
2641
+ $include = array();
2642
 
2643
+ // Exclude current post.
2644
  if ( is_singular( get_post_type() ) ) {
2645
  $exclude[] = get_the_ID();
2646
  }
2647
 
2648
+ // Exclude posts ( option ).
2649
  if ( $options['query_post_not_in'] ) {
2650
  $exclude = array_merge( $exclude, explode( ' ', $options['query_post_not_in'] ) );
2651
  }
2652
 
2653
+ // Include posts ( option ).
2654
  if ( $options['query_post_in'] ) {
2655
  $include = array_merge( $include, explode( ' ', $options['query_post_in'] ) );
2656
  }
2657
 
2658
+ // Include query parameter.
2659
  if ( ! empty( $include ) ) {
2660
  $args['post__in'] = $include;
2661
  }
2662
 
2663
+ // Exclude query parameter.
2664
  if ( ! empty( $exclude ) ) {
2665
  $args['post__not_in'] = $exclude;
2666
  }
2667
 
2668
+ // Author archive page.
2669
  if ( is_author() && 'enabled' === $options['query_alter'] ) {
2670
  global $authordata;
2671
  $args['author__in'] = array( $authordata->data->ID );
2672
  }
2673
 
2674
+ // No paging.
2675
  if ( 'disabled' === $options['pagination_type'] ) {
2676
  $args['no_found_rows'] = true;
2677
  }
2678
 
2679
+ // Sticky Posts.
2680
  if ( 'disabled' === $options['sticky_posts'] ) {
2681
  $args['ignore_sticky_posts'] = true;
2682
  }
2683
 
2684
+ // Do the query.
2685
  if ( ( is_category() || is_tag() || is_tax() || is_search() || is_date() ) && 'enabled' === $options['query_alter'] ) {
2686
  global $wp_query;
2687
  $dslc_query = $wp_query;
2694
  $dslc_query = new WP_Query( $args );
2695
  }
2696
 
2697
+ /**
2698
+ * Unnamed
2699
+ */
2700
 
2701
+ $columns_class = 'dslc-col dslc-' . $options['columns'] . '-col ';
2702
+ $count = 0;
2703
+ $real_count = 0;
2704
+ $increment = $options['columns'];
2705
+ $max_count = 12;
2706
 
2707
+ /**
2708
+ * Elements to show
2709
+ */
2710
 
2711
+ // Main Elements
2712
+ $elements = $options['elements'];
2713
  if ( ! empty( $elements ) ) {
2714
  $elements = explode( ' ', trim( $elements ) );
2715
+ } else {
2716
+ $elements = array();
2717
  }
2718
 
2719
+ // Post Elements
2720
+ $post_elements = $options['post_elements'];
2721
  if ( ! empty( $post_elements ) ) {
2722
  $post_elements = explode( ' ', trim( $post_elements ) );
2723
+ } else {
2724
+ $post_elements = 'all';
2725
  }
2726
 
2727
+ // Carousel Elements
2728
+ $carousel_elements = $options['carousel_elements'];
2729
  if ( ! empty( $carousel_elements ) ) {
2730
  $carousel_elements = explode( ' ', trim( $carousel_elements ) );
2731
+ } else {
2732
+ $carousel_elements = array();
2733
  }
2734
 
2735
+ /**
2736
+ * Classes generation
2737
+ */
2738
 
2739
+ // Posts container.
2740
+ $container_class = 'dslc-posts dslc-cpt-posts dslc-clearfix dslc-cpt-posts-type-' . $options['type'] . ' dslc-posts-orientation-' . $options['orientation'] . ' ';
2741
  if ( $options['type'] == 'masonry' ) {
2742
  $container_class .= 'dslc-init-masonry ';
2743
  } elseif ( $options['type'] == 'grid' ) {
2744
  $container_class .= 'dslc-init-grid ';
2745
  }
2746
 
2747
+ // Post
2748
+ $element_class = 'dslc-post dslc-cpt-post ';
2749
  if ( $options['type'] == 'masonry' ) {
2750
  $element_class .= 'dslc-masonry-item ';
2751
  } elseif ( $options['type'] == 'carousel' ) {
2752
  $element_class .= 'dslc-carousel-item ';
2753
  }
2754
 
2755
+ /**
2756
+ * What is shown
2757
+ */
2758
 
2759
+ $show_header = false;
2760
+ $show_heading = false;
2761
+ $show_filters = false;
2762
+ $show_carousel_arrows = false;
2763
+ $show_view_all_link = false;
2764
 
2765
  if ( in_array( 'main_heading', $elements, true ) ) {
2766
  $show_heading = true;
2777
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2778
  $show_header = true;
2779
  }
2780
+
2781
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
2782
+ $container_class .= 'dslc-carousel-arrow-aside ';
2783
+ }
2784
 
2785
+ /**
2786
+ * Carousel Items
2787
+ */
2788
 
2789
  switch ( $options['columns'] ) {
2790
  case 12 :
2807
  break;
2808
  }
2809
 
2810
+ /**
2811
+ * Heading ( output )
2812
+ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2813
 
2814
+ if ( $show_header ) : ?>
2815
+ <div class="dslc-module-heading">
2816
 
2817
+ <!-- Heading -->
2818
+ <?php if ( $show_heading ) : ?>
2819
+ <div class="dslc-post-heading">
2820
 
2821
+ <h2 class="dslca-editable-content" data-id="main_heading_title" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?> ><?php echo stripslashes( $options['main_heading_title'] ); ?></h2>
2822
 
2823
+ <!-- View all -->
 
2824
 
2825
+ <?php if ( isset( $options['view_all_link'] ) && $options['view_all_link'] !== '' ) : ?>
2826
 
2827
+ <span class="dslc-module-heading-view-all"><a href="<?php echo $options['view_all_link']; ?>" class="dslca-editable-content" data-id="main_heading_link_title" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?> ><?php echo $options['main_heading_link_title']; ?></a></span>
2828
 
2829
+ <?php endif; ?>
2830
 
2831
+ </div>
2832
+ <?php endif; ?>
2833
 
2834
+ <!-- Filters -->
2835
+ <?php
2836
+ $taxonomy_name = '';
2837
+ if ( $show_filters ) {
2838
 
2839
+ $cats_array = array();
2840
+ $cats_count = 0;
2841
 
2842
+ if ( $dslc_query->have_posts() ) {
2843
+ while ( $dslc_query->have_posts() ) {
2844
+ $dslc_query->the_post();
2845
+ $cats_count++;
2846
 
2847
+ if ( $cats_count == 1 ) {
2848
+ $post_type_taxonomies = get_object_taxonomies( get_post_type(), 'objects' );
2849
+ foreach ( $post_type_taxonomies as $taxonomy ) {
2850
+ if ( $taxonomy->hierarchical == true ) {
2851
+ $taxonomy_name = $taxonomy->name;
2852
+ }
2853
  }
2854
  }
 
2855
 
2856
+ $post_cats = get_the_terms( get_the_ID(), $taxonomy_name );
2857
+ if ( ! empty( $post_cats ) ) {
2858
+ foreach ( $post_cats as $post_cat ) {
2859
+ $cats_array[ $post_cat->slug ] = $post_cat->name;
2860
+ }
2861
  }
2862
  }
2863
  }
 
 
2864
  ?>
 
2865
  <div class="dslc-post-filters">
2866
  <span class="dslc-post-filter dslc-active dslca-editable-content" data-filter-id="show-all" <?php if ( $dslc_is_admin ) { echo 'data-id="main_filter_title_all" data-type="simple" contenteditable '; } ?>><?php echo $options['main_filter_title_all']; ?></span>
2867
 
2868
  <?php foreach ( $cats_array as $cat_slug => $cat_name ) : ?>
2869
+ <span class="dslc-post-filter dslc-inactive" data-filter-id="<?php echo $cat_slug; ?>"><?php echo $cat_name; ?></span>
2870
+ <?php endforeach; ?>
 
 
2871
 
2872
+ </div><!-- .dslc-post-filters --><?php
2873
+ } // End if( $show_filters ).
2874
 
2875
  ?>
2876
 
2877
  <!-- Carousel -->
2878
 
2879
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
2880
  <span class="dslc-carousel-nav fr">
2881
  <span class="dslc-carousel-nav-inner">
2882
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2890
 
2891
  endif;
2892
 
2893
+ /**
2894
+ * Posts ( output )
2895
+ */
 
 
 
 
 
 
2896
 
2897
+ if ( $dslc_query->have_posts() ) { ?>
2898
+ <div class="<?php echo $container_class; ?>">
2899
+
2900
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2901
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
2902
+ <?php endif; ?>
2903
+
2904
+ <div class="dslc-posts-inner"><?php
2905
+
2906
+ if ( $options['type'] == 'carousel' ) : ?>
2907
+ <div class="dslc-loader"></div>
2908
+ <div class="dslc-carousel"
2909
+ data-stop-on-hover="<?php echo $options['carousel_autoplay_hover']; ?>"
2910
+ data-autoplay="<?php echo $options['carousel_autoplay']; ?>"
2911
+ data-columns="<?php echo $carousel_items; ?>"
2912
+ data-pagination="<?php
2913
+ if ( in_array( 'circles', $carousel_elements ) ) {
2914
+ echo 'true';
2915
+ } else {
2916
+ echo 'false';
2917
+ } ?>"
2918
+ data-slide-speed="<?php echo $options['arrows_slide_speed']; ?>"
2919
+ data-pagination-speed="<?php echo $options['circles_slide_speed']; ?>"><?php
2920
+ endif; // End if carousel.
2921
+
2922
+ while ( $dslc_query->have_posts() ) :
2923
+ $dslc_query->the_post();
2924
+ $count += $increment;
2925
+ $real_count++;
2926
+
2927
+ if ( $count == $max_count ) {
2928
+ $count = 0;
2929
+ $extra_class = ' dslc-last-col';
2930
+ } elseif ( $count == $increment ) {
2931
+ $extra_class = ' dslc-first-col';
2932
+ } else {
2933
+ $extra_class = '';
2934
+ }
2935
 
2936
+ if ( ! has_post_thumbnail() ) {
2937
+ $extra_class .= ' dslc-post-no-thumb';
2938
+ }
2939
 
2940
+ $post_cats_data = '';
2941
+ if ( isset( $taxonomy_name ) ) {
2942
+ $post_cats = get_the_terms( get_the_ID(), $taxonomy_name );
2943
+ if ( ! empty( $post_cats ) ) {
2944
+ foreach ( $post_cats as $post_cat ) {
2945
+ $post_cats_data .= $post_cat->slug . ' ';
2946
+ }
2947
+ }
2948
+ } ?>
2949
 
2950
+ <div class="<?php echo $element_class . $columns_class . $extra_class; ?>" data-cats="<?php echo $post_cats_data; ?>">
2951
+ <?php if ( $post_elements == 'all' || in_array( 'thumbnail', $post_elements ) ) : ?>
2952
+ <?php
2953
+ /**
2954
+ * Manual Resize
2955
+ */
2956
 
2957
+ $manual_resize = false;
 
 
 
 
 
 
 
2958
 
2959
+ if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) || isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
 
 
2960
 
2961
+ $manual_resize = true;
2962
+ $thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' );
2963
+ $thumb_url = $thumb_url[0];
 
 
 
 
 
 
2964
 
2965
+ $thumb_alt = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
2966
+ if ( ! $thumb_alt ) {
2967
+ $thumb_alt = '';
2968
+ }
2969
 
2970
+ $resize_width = false;
2971
+ $resize_height = false;
2972
 
2973
+ if ( isset( $options['thumb_resize_width_manual'] ) && ! empty( $options['thumb_resize_width_manual'] ) ) {
2974
+ $resize_width = $options['thumb_resize_width_manual'];
2975
+ }
2976
 
2977
+ if ( isset( $options['thumb_resize_height'] ) && ! empty( $options['thumb_resize_height'] ) ) {
2978
+ $resize_height = $options['thumb_resize_height'];
2979
+ }
2980
+ }
2981
+ ?>
2982
+ <?php if ( has_post_thumbnail() ) : ?>
2983
 
2984
+ <div class="dslc-post-thumb dslc-cpt-post-thumb dslc-on-hover-anim">
 
2985
 
2986
+ <div class="dslc-cpt-post-thumb-inner dslca-post-thumb">
2987
+ <?php if ( $manual_resize ) : ?>
2988
+ <a href="<?php the_permalink(); ?>"><img src="<?php $res_img = dslc_aq_resize( $thumb_url, $resize_width, $resize_height, true );
2989
+ echo $res_img; ?>" alt="<?php echo $thumb_alt; ?>" /></a>
2990
+ <?php else : ?>
2991
+ <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'full' ); ?></a>
2992
+ <?php endif; ?>
2993
+ </div><!-- .dslc-cpt-post-thumb-inner -->
2994
 
2995
+ <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
 
 
2996
 
2997
+ <div class="dslc-post-main dslc-cpt-post-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) { echo 'dslc-cpt-post-main-visible';} ?> dslc-on-hover-anim-target dslc-anim-<?php echo $options['css_anim_hover']; ?>" data-dslc-anim="<?php echo $options['css_anim_hover'] ?>" data-dslc-anim-speed="<?php echo $options['css_anim_speed']; ?>">
 
2998
 
2999
+ <div class="dslc-cpt-post-main-inner dslc-init-target">
 
 
3000
 
3001
+ <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
 
 
 
 
3002
 
3003
+ <div class="dslc-cpt-post-title">
3004
+ <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
3005
+ </div><!-- .dslc-cpt-post-title -->
3006
 
 
 
 
 
 
 
 
 
3007
  <?php endif; ?>
 
 
 
3008
 
3009
+ <?php if ( $post_elements == 'all' || in_array( 'meta', $post_elements ) ) : ?>
3010
 
3011
+ <?php
3012
+ // Meta Elements
3013
+ $meta_elements = $options['meta_elements'];
3014
+ $meta_elements = explode( ' ', trim( $meta_elements ) );
3015
+ ?>
3016
 
3017
+ <div class="dslc-cpt-post-meta">
3018
 
3019
+ <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3020
+ <div class="dslc-cpt-post-meta-author">
3021
+ <?php _e( 'By', 'live-composer-page-builder' ); ?> <?php the_author_posts_link(); ?>
3022
+ </div><!-- .dslc-cpt-post-meta-author -->
3023
+ <?php endif; ?>
3024
 
3025
+ <?php if ( in_array( 'date', $meta_elements ) ) : ?>
3026
+ <div class="dslc-cpt-post-meta-date">
3027
+ <?php the_time( get_option( 'date_format' ) ); ?>
3028
+ </div><!-- .dslc-cpt-post-meta-date -->
3029
  <?php endif; ?>
3030
 
3031
+ </div><!-- .dslc-cpt-post-meta -->
3032
 
3033
+ <?php endif; ?>
3034
+
3035
+ <?php if ( $post_elements == 'all' || in_array( 'excerpt', $post_elements ) ) : ?>
3036
+ <div class="dslc-cpt-post-read-more">
3037
+ <a href="<?php the_permalink(); ?>">
3038
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3039
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3040
+ <?php else : ?>
3041
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3042
+ <?php endif; ?>
3043
+ <?php echo $options['button_text']; ?>
3044
+ </a>
3045
+ </div><!-- .dslc-cpt-post-read-more -->
3046
+ <div class="dslc-cpt-post-excerpt">
3047
+ <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3048
+ <?php
3049
+ if ( $options['excerpt_length'] > 0 ) {
3050
+ echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
3051
+ } else {
3052
+ echo get_the_content();
3053
+ }
3054
+ ?>
3055
+ <?php else : ?>
3056
  <?php
3057
+ if ( $options['excerpt_length'] > 0 ) {
3058
+ if ( has_excerpt() ) {
3059
+ echo wp_trim_words( get_the_excerpt(), $options['excerpt_length'] );
3060
+ } else { echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
3061
+ }
3062
+ } else {
3063
+ if ( has_excerpt() ) {
3064
+ echo get_the_excerpt();
3065
+ } else { echo get_the_content();
3066
+ }
3067
+ }
3068
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3069
  <?php endif; ?>
3070
+ </div><!-- .dslc-cpt-post-excerpt -->
3071
 
3072
+ <?php endif; ?>
 
 
 
 
 
 
 
 
 
3073
 
3074
+ <?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
3075
 
3076
+ <div class="dslc-cpt-post-read-more">
3077
+ <a href="<?php the_permalink(); ?>">
3078
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3079
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3080
+ <?php else : ?>
3081
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3082
+ <?php endif; ?>
3083
+ <?php echo $options['button_text']; ?>
3084
+ </a>
3085
+ </div><!-- .dslc-cpt-post-read-more -->
3086
 
3087
+ <?php endif; ?>
3088
 
3089
+ </div><!-- .dslc-cpt-post-main-inner -->
3090
 
3091
+ <a href="<?php the_permalink(); ?>" class="dslc-post-main-inner-link-cover"></a>
3092
 
3093
+ </div><!-- .dslc-cpt-post-main -->
3094
 
3095
  <?php endif; ?>
3096
 
3097
+ </div><!-- .dslc-cpt-post-thumb -->
 
 
3098
 
3099
+ <?php endif; ?>
3100
+ <?php endif; ?>
3101
 
3102
+ <?php if ( $options['main_location'] == 'bellow' && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'meta', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
3103
 
3104
+ <div class="dslc-post-main dslc-cpt-post-main">
 
 
3105
 
3106
+ <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
3107
 
3108
+ <div class="dslc-cpt-post-title">
3109
+ <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
3110
+ </div><!-- .dslc-cpt-post-title -->
3111
 
3112
+ <?php endif; ?>
 
 
 
 
3113
 
3114
+ <?php if ( $post_elements == 'all' || in_array( 'meta', $post_elements ) ) : ?>
3115
 
3116
+ <?php
3117
+ // Meta Elements
3118
+ $meta_elements = $options['meta_elements'];
3119
+ $meta_elements = explode( ' ', trim( $meta_elements ) );
3120
+ ?>
 
 
 
 
 
 
3121
 
3122
+ <div class="dslc-cpt-post-meta">
3123
 
3124
+ <?php if ( in_array( 'author', $meta_elements ) ) : ?>
3125
+ <div class="dslc-cpt-post-meta-author">
3126
+ <?php _e( 'By', 'live-composer-page-builder' ); ?> <?php the_author_posts_link(); ?>
3127
+ </div><!-- .dslc-cpt-post-meta-author -->
3128
  <?php endif; ?>
3129
 
3130
+ <?php if ( in_array( 'date', $meta_elements ) ) : ?>
3131
+ <div class="dslc-cpt-post-meta-date">
3132
+ <?php the_time( get_option( 'date_format' ) ); ?>
3133
+ </div><!-- .dslc-cpt-post-meta-date -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3134
  <?php endif; ?>
3135
 
3136
+ </div><!-- .dslc-cpt-post-meta -->
3137
 
3138
+ <?php endif; ?>
3139
+
3140
+ <?php if ( $post_elements == 'all' || in_array( 'excerpt', $post_elements ) ) : ?>
3141
+ <div class="dslc-cpt-post-excerpt">
3142
+ <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3143
+ <?php
3144
+ if ( $options['excerpt_length'] > 0 ) {
3145
+ echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
3146
+ } else {
3147
+ echo get_the_content();
3148
+ }
3149
+ ?>
3150
  <div class="dslc-cpt-post-read-more">
3151
  <a href="<?php the_permalink(); ?>">
3152
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3153
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3154
+ <?php else : ?>
3155
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3156
  <?php endif; ?>
3157
  <?php echo $options['button_text']; ?>
3158
  </a>
3159
  </div><!-- .dslc-cpt-post-read-more -->
3160
+ <?php else : ?>
3161
+ <?php
3162
+ if ( $options['excerpt_length'] > 0 ) {
3163
+ if ( has_excerpt() ) {
3164
+ echo wp_trim_words( get_the_excerpt(), $options['excerpt_length'] );
3165
+ } else { echo wp_trim_words( get_the_content(), $options['excerpt_length'] );
3166
+ }
3167
+ } else {
3168
+ if ( has_excerpt() ) {
3169
+ echo get_the_excerpt();
3170
+ } else { echo get_the_content();
3171
+ }
3172
+ }
3173
+ ?>
3174
  <?php endif; ?>
3175
+ </div><!-- .dslc-cpt-post-excerpt -->
 
3176
 
3177
  <?php endif; ?>
3178
 
3179
+ <?php if ( $post_elements == 'all' || in_array( 'button', $post_elements ) ) : ?>
 
 
 
 
 
 
 
3180
 
3181
+ <div class="dslc-cpt-post-read-more">
3182
+ <a href="<?php the_permalink(); ?>">
3183
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
3184
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
3185
+ <?php else : ?>
3186
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
3187
+ <?php endif; ?>
3188
+ <?php echo $options['button_text']; ?>
3189
+ </a>
3190
+ </div><!-- .dslc-cpt-post-read-more -->
3191
 
3192
+ <?php endif; ?>
3193
 
3194
+ </div><!-- .dslc-cpt-post-main -->
3195
 
3196
+ <?php endif; ?>
3197
 
3198
+ </div><!-- .dslc-cpt-post --><?php
3199
 
3200
+ // Row Separator
3201
+ if ( $options['type'] == 'grid' && $count == 0 && $real_count != $dslc_query->found_posts && $real_count != $options['amount'] && $options['separator_enabled'] == 'enabled' ) {
3202
+ echo '<div class="dslc-post-separator"></div>';
3203
+ }
3204
 
3205
+ endwhile; // End while have_posts.
3206
+
3207
+ if ( $options['type'] == 'carousel' ) : ?>
3208
+ </div><!-- dslc-carousel --><?php
3209
+ endif; ?>
3210
+ </div><!--.dslc-posts-inner -->
3211
+
3212
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3213
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
3214
+ <?php endif; ?>
3215
+
3216
+ </div><!-- .dslc-cpt-posts --><?php
3217
  } else {
3218
+ if ( $dslc_is_admin ) : ?>
3219
+ <div class="dslc-notification dslc-red"><?php _e( 'You do not have any posts of that post type at the moment.', 'live-composer-page-builder' ); ?> <span class="dslca-refresh-module-hook dslc-icon dslc-icon-refresh"></span></span></div><?php
3220
+ endif;
3221
+ } // End if().
3222
 
3223
+ /**
3224
+ * Pagination
3225
+ */
 
 
 
 
 
 
3226
 
3227
  if ( isset( $options['pagination_type'] ) && $options['pagination_type'] != 'disabled' ) {
3228
  $num_pages = $dslc_query->max_num_pages;
modules/progress-bars/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Progress_Bars extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_Progress_Bars extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/projects/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Projects' ) ) {
12
 
13
  class DSLC_Projects extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
@@ -1025,6 +1025,21 @@ class DSLC_Projects extends DSLC_Module {
1025
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1026
  'ext' => 'px',
1027
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1028
  array(
1029
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1030
  'id' => 'css_title_margin_bottom',
@@ -1610,6 +1625,29 @@ class DSLC_Projects extends DSLC_Module {
1610
  'ext' => 'px',
1611
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1612
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1613
  array(
1614
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1615
  'id' => 'button_icon_id',
@@ -1618,14 +1656,36 @@ class DSLC_Projects extends DSLC_Module {
1618
  'section' => 'styling',
1619
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1620
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1621
  array(
1622
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1623
  'id' => 'css_button_icon_color',
1624
  'std' => '',
1625
  'type' => 'color',
1626
  'refresh_on_change' => false,
1627
- 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon',
1628
- 'affect_on_change_rule' => 'color',
1629
  'section' => 'styling',
1630
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1631
  ),
@@ -1635,7 +1695,7 @@ class DSLC_Projects extends DSLC_Module {
1635
  'std' => '5',
1636
  'type' => 'slider',
1637
  'refresh_on_change' => false,
1638
- 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon',
1639
  'affect_on_change_rule' => 'margin-right',
1640
  'section' => 'styling',
1641
  'ext' => 'px',
@@ -1911,13 +1971,25 @@ class DSLC_Projects extends DSLC_Module {
1911
  'ext' => 'px',
1912
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1913
  ),
 
 
 
 
 
 
 
 
 
 
 
 
1914
  array(
1915
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
1916
  'id' => 'css_res_t_button_icon_margin',
1917
  'std' => '5',
1918
  'type' => 'slider',
1919
  'refresh_on_change' => false,
1920
- 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon',
1921
  'affect_on_change_rule' => 'margin-right',
1922
  'section' => 'responsive',
1923
  'ext' => 'px',
@@ -2193,13 +2265,25 @@ class DSLC_Projects extends DSLC_Module {
2193
  'ext' => 'px',
2194
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2195
  ),
 
 
 
 
 
 
 
 
 
 
 
 
2196
  array(
2197
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2198
  'id' => 'css_res_p_button_icon_margin',
2199
  'std' => '5',
2200
  'type' => 'slider',
2201
  'refresh_on_change' => false,
2202
- 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon',
2203
  'affect_on_change_rule' => 'margin-right',
2204
  'section' => 'responsive',
2205
  'ext' => 'px',
@@ -2217,7 +2301,7 @@ class DSLC_Projects extends DSLC_Module {
2217
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
2218
 
2219
  // Cache calculated array in WP Object Cache.
2220
- wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options ,'dslc_modules' );
2221
 
2222
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2223
 
@@ -2436,6 +2520,10 @@ function dslc_module_projects_output( $atts, $content = null ) {
2436
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2437
  $show_header = true;
2438
  }
 
 
 
 
2439
 
2440
  /**
2441
  * Carousel Items
@@ -2532,7 +2620,7 @@ function dslc_module_projects_output( $atts, $content = null ) {
2532
 
2533
  <!-- Carousel -->
2534
 
2535
- <?php if ( $show_carousel_arrows ) : ?>
2536
  <span class="dslc-carousel-nav fr">
2537
  <span class="dslc-carousel-nav-inner">
2538
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -2552,9 +2640,13 @@ function dslc_module_projects_output( $atts, $content = null ) {
2552
 
2553
  if ( $dslc_query->have_posts() ) :
2554
 
2555
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
2556
 
2557
- ?><div class="dslc-posts-inner"><?php
2558
 
2559
  if ( $options['type'] == 'carousel' ) :
2560
 
@@ -2714,8 +2806,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2714
 
2715
  <div class="dslc-project-read-more">
2716
  <a href="<?php echo $the_project_url; ?>" target="<?php echo $the_project_url_target; ?>">
2717
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2718
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2719
  <?php endif; ?>
2720
  <?php echo $options['button_text']; ?>
2721
  </a>
@@ -2799,8 +2893,10 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2799
 
2800
  <div class="dslc-project-read-more">
2801
  <a href="<?php echo $the_project_url; ?>" target="<?php echo $the_project_url_target; ?>">
2802
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
2803
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
2804
  <?php endif; ?>
2805
  <?php echo $options['button_text']; ?>
2806
  </a>
@@ -2832,6 +2928,10 @@ if ( $options['type'] == 'carousel' ) :
2832
  ?>
2833
 
2834
  </div><!-- .dslc-posts-inner -->
 
 
 
 
2835
 
2836
  </div><!-- .dslc-projects -->
2837
 
12
 
13
  class DSLC_Projects extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
1025
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1026
  'ext' => 'px',
1027
  ),
1028
+ array(
1029
+ 'label' => __( 'Letter Spacing', 'live-composer-page-builder' ),
1030
+ 'id' => 'css_title_letter_spacing',
1031
+ 'max' => 30,
1032
+ 'std' => '0',
1033
+ 'type' => 'slider',
1034
+ 'refresh_on_change' => false,
1035
+ 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a',
1036
+ 'affect_on_change_rule' => 'letter-spacing',
1037
+ 'section' => 'styling',
1038
+ 'tab' => __( 'Title', 'live-composer-page-builder' ),
1039
+ 'ext' => 'px',
1040
+ 'min' => -50,
1041
+ 'max' => 50,
1042
+ ),
1043
  array(
1044
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1045
  'id' => 'css_title_margin_bottom',
1625
  'ext' => 'px',
1626
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1627
  ),
1628
+ array(
1629
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
1630
+ 'id' => 'show_icon',
1631
+ 'std' => 'font',
1632
+ 'type' => 'select',
1633
+ 'choices' => array(
1634
+ array(
1635
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
1636
+ 'value' => 'font',
1637
+ ),
1638
+ array(
1639
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
1640
+ 'value' => 'svg',
1641
+ ),
1642
+ ),
1643
+ 'dependent_controls' => array(
1644
+ 'font' => 'button_icon_id',
1645
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
1646
+ ),
1647
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
1648
+ 'section' => 'styling',
1649
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1650
+ ),
1651
  array(
1652
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1653
  'id' => 'button_icon_id',
1656
  'section' => 'styling',
1657
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1658
  ),
1659
+ array(
1660
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
1661
+ 'id' => 'button_inline_svg',
1662
+ 'std' => '',
1663
+ 'type' => 'textarea',
1664
+ 'section' => 'functionality',
1665
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
1666
+ 'section' => 'styling',
1667
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1668
+ ),
1669
+ array(
1670
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
1671
+ 'id' => 'css_button_icon_size_svg',
1672
+ 'std' => '11',
1673
+ 'type' => 'slider',
1674
+ 'refresh_on_change' => false,
1675
+ 'affect_on_change_el' => '.dslc-project-read-more a svg',
1676
+ 'affect_on_change_rule' => 'width, height',
1677
+ 'section' => 'styling',
1678
+ 'tab' => __( 'Button', 'live-composer-page-builder' ),
1679
+ 'ext' => 'px',
1680
+ ),
1681
  array(
1682
  'label' => __( 'Icon - Color', 'live-composer-page-builder' ),
1683
  'id' => 'css_button_icon_color',
1684
  'std' => '',
1685
  'type' => 'color',
1686
  'refresh_on_change' => false,
1687
+ 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon, .dslc-project-read-more a svg',
1688
+ 'affect_on_change_rule' => 'color, fill',
1689
  'section' => 'styling',
1690
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1691
  ),
1695
  'std' => '5',
1696
  'type' => 'slider',
1697
  'refresh_on_change' => false,
1698
+ 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon, .dslc-project-read-more a svg',
1699
  'affect_on_change_rule' => 'margin-right',
1700
  'section' => 'styling',
1701
  'ext' => 'px',
1971
  'ext' => 'px',
1972
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1973
  ),
1974
+ array(
1975
+ 'label' => __( 'Button Icon - Size ( SVG )', 'live-composer-page-builder' ),
1976
+ 'id' => 'css_res_t_button_icon_size_svg',
1977
+ 'std' => '11',
1978
+ 'type' => 'slider',
1979
+ 'refresh_on_change' => false,
1980
+ 'affect_on_change_el' => '.dslc-project-read-more a svg',
1981
+ 'affect_on_change_rule' => 'width, height',
1982
+ 'section' => 'responsive',
1983
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1984
+ 'ext' => 'px',
1985
+ ),
1986
  array(
1987
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
1988
  'id' => 'css_res_t_button_icon_margin',
1989
  'std' => '5',
1990
  'type' => 'slider',
1991
  'refresh_on_change' => false,
1992
+ 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon, .dslc-project-read-more a svg',
1993
  'affect_on_change_rule' => 'margin-right',
1994
  'section' => 'responsive',
1995
  'ext' => 'px',
2265
  'ext' => 'px',
2266
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2267
  ),
2268
+ array(
2269
+ 'label' => __( 'Button Icon - Size ( SVG )', 'live-composer-page-builder' ),
2270
+ 'id' => 'css_res_p_button_icon_size_svg',
2271
+ 'std' => '11',
2272
+ 'type' => 'slider',
2273
+ 'refresh_on_change' => false,
2274
+ 'affect_on_change_el' => '.dslc-project-read-more a svg',
2275
+ 'affect_on_change_rule' => 'width, height',
2276
+ 'section' => 'responsive',
2277
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2278
+ 'ext' => 'px',
2279
+ ),
2280
  array(
2281
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2282
  'id' => 'css_res_p_button_icon_margin',
2283
  'std' => '5',
2284
  'type' => 'slider',
2285
  'refresh_on_change' => false,
2286
+ 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon, .dslc-project-read-more a svg',
2287
  'affect_on_change_rule' => 'margin-right',
2288
  'section' => 'responsive',
2289
  'ext' => 'px',
2301
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
2302
 
2303
  // Cache calculated array in WP Object Cache.
2304
+ wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options, 'dslc_modules' );
2305
 
2306
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2307
 
2520
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2521
  $show_header = true;
2522
  }
2523
+
2524
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
2525
+ $container_class .= 'dslc-carousel-arrow-aside ';
2526
+ }
2527
 
2528
  /**
2529
  * Carousel Items
2620
 
2621
  <!-- Carousel -->
2622
 
2623
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
2624
  <span class="dslc-carousel-nav fr">
2625
  <span class="dslc-carousel-nav-inner">
2626
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2640
 
2641
  if ( $dslc_query->have_posts() ) :
2642
 
2643
+ ?><div class="<?php echo $container_class; ?>">
2644
+
2645
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2646
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
2647
+ <?php endif; ?>
2648
 
2649
+ <div class="dslc-posts-inner"><?php
2650
 
2651
  if ( $options['type'] == 'carousel' ) :
2652
 
2806
 
2807
  <div class="dslc-project-read-more">
2808
  <a href="<?php echo $the_project_url; ?>" target="<?php echo $the_project_url_target; ?>">
2809
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
2810
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
2811
+ <?php else : ?>
2812
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2813
  <?php endif; ?>
2814
  <?php echo $options['button_text']; ?>
2815
  </a>
2893
 
2894
  <div class="dslc-project-read-more">
2895
  <a href="<?php echo $the_project_url; ?>" target="<?php echo $the_project_url_target; ?>">
2896
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
2897
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
2898
+ <?php else : ?>
2899
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2900
  <?php endif; ?>
2901
  <?php echo $options['button_text']; ?>
2902
  </a>
2928
  ?>
2929
 
2930
  </div><!-- .dslc-posts-inner -->
2931
+
2932
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2933
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
2934
+ <?php endif; ?>
2935
 
2936
  </div><!-- .dslc-projects -->
2937
 
modules/separator/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Separator extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -424,7 +424,8 @@ class DSLC_Separator extends DSLC_Module {
424
  <?php if ( $options['style'] == 'invisible' && $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
425
  <div class="dslca-separator-empty"><span><?php _e( 'TRANSPARENT SEPARATOR', 'live-composer-page-builder' ); ?></span></div>
426
  <?php endif; ?>
427
- </div><div></div>
 
428
  </div><!-- .dslc-separator-wrapper -->
429
  <?php
430
 
8
 
9
  class DSLC_Separator extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
424
  <?php if ( $options['style'] == 'invisible' && $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) : ?>
425
  <div class="dslca-separator-empty"><span><?php _e( 'TRANSPARENT SEPARATOR', 'live-composer-page-builder' ); ?></span></div>
426
  <?php endif; ?>
427
+ </div>
428
+ <div></div>
429
  </div><!-- .dslc-separator-wrapper -->
430
  <?php
431
 
modules/shortcode/module.php CHANGED
@@ -21,21 +21,21 @@ class DSLC_Shortcode extends DSLC_Module {
21
  *
22
  * @var string
23
  */
24
- var $module_id;
25
 
26
  /**
27
  * Module label to show in the page builder
28
  *
29
  * @var string
30
  */
31
- var $module_title;
32
 
33
  /**
34
  * Module icon name (FontAwesome)
35
  *
36
  * @var string
37
  */
38
- var $module_icon;
39
 
40
  /**
41
  * Section in the modules panel that includes this module
@@ -43,7 +43,7 @@ class DSLC_Shortcode extends DSLC_Module {
43
  *
44
  * @var string
45
  */
46
- var $module_category;
47
 
48
  /**
49
  * Construct
@@ -2913,7 +2913,7 @@ class DSLC_Shortcode extends DSLC_Module {
2913
  $output_content = '<div class="dslc-notification dslc-green">' . __( 'Save and refresh the page to display the module safely.', 'live-composer-page-builder' ) . '</div>';
2914
  }
2915
 
2916
- echo apply_filters( 'dslc_before_render', $output_content );
2917
 
2918
  ?>
2919
 
21
  *
22
  * @var string
23
  */
24
+ public $module_id;
25
 
26
  /**
27
  * Module label to show in the page builder
28
  *
29
  * @var string
30
  */
31
+ public $module_title;
32
 
33
  /**
34
  * Module icon name (FontAwesome)
35
  *
36
  * @var string
37
  */
38
+ public $module_icon;
39
 
40
  /**
41
  * Section in the modules panel that includes this module
43
  *
44
  * @var string
45
  */
46
+ public $module_category;
47
 
48
  /**
49
  * Construct
2913
  $output_content = '<div class="dslc-notification dslc-green">' . __( 'Save and refresh the page to display the module safely.', 'live-composer-page-builder' ) . '</div>';
2914
  }
2915
 
2916
+ echo apply_filters( 'dslc_text_block_render', $output_content );
2917
 
2918
  ?>
2919
 
modules/sliders/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Sliders extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_Sliders extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/social/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Social extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -656,6 +656,17 @@ class DSLC_Social extends DSLC_Module {
656
  'section' => 'responsive',
657
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
658
  ),
 
 
 
 
 
 
 
 
 
 
 
659
  array(
660
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
661
  'id' => 'css_res_t_margin_bottom',
@@ -728,6 +739,17 @@ class DSLC_Social extends DSLC_Module {
728
  'section' => 'responsive',
729
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
730
  ),
 
 
 
 
 
 
 
 
 
 
 
731
  array(
732
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
733
  'id' => 'css_res_p_margin_bottom',
8
 
9
  class DSLC_Social extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
656
  'section' => 'responsive',
657
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
658
  ),
659
+ array(
660
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
661
+ 'id' => 'css_res_t_text_align',
662
+ 'std' => 'left',
663
+ 'type' => 'text_align',
664
+ 'refresh_on_change' => false,
665
+ 'affect_on_change_el' => 'ul.dslc-social',
666
+ 'affect_on_change_rule' => 'text-align',
667
+ 'section' => 'responsive',
668
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
669
+ ),
670
  array(
671
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
672
  'id' => 'css_res_t_margin_bottom',
739
  'section' => 'responsive',
740
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
741
  ),
742
+ array(
743
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
744
+ 'id' => 'css_res_p_text_align',
745
+ 'std' => 'left',
746
+ 'type' => 'text_align',
747
+ 'refresh_on_change' => false,
748
+ 'affect_on_change_el' => 'ul.dslc-social',
749
+ 'affect_on_change_rule' => 'text-align',
750
+ 'section' => 'responsive',
751
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
752
+ ),
753
  array(
754
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
755
  'id' => 'css_res_p_margin_bottom',
modules/staff/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Staff' ) ) {
12
 
13
  class DSLC_Staff extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
@@ -2254,6 +2254,10 @@ function dslc_module_staff_output( $atts, $content = null ) {
2254
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2255
  $show_header = true;
2256
  }
 
 
 
 
2257
 
2258
  /**
2259
  * Link or not
@@ -2359,7 +2363,7 @@ function dslc_module_staff_output( $atts, $content = null ) {
2359
 
2360
  <!-- Carousel -->
2361
 
2362
- <?php if ( $show_carousel_arrows ) : ?>
2363
  <span class="dslc-carousel-nav fr">
2364
  <span class="dslc-carousel-nav-inner">
2365
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -2379,9 +2383,13 @@ function dslc_module_staff_output( $atts, $content = null ) {
2379
 
2380
  if ( $dslc_query->have_posts() ) :
2381
 
2382
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
2383
 
2384
- ?><div class="dslc-posts-inner"><?php
2385
 
2386
  if ( $options['type'] == 'carousel' ) :
2387
 
@@ -2664,9 +2672,13 @@ if ( 'carousel' === $options['type'] ) :
2664
 
2665
  endif;
2666
 
2667
- ?></div><!-- .dslc-posts-inner --><?php
 
 
 
 
2668
 
2669
- ?></div><?php
2670
 
2671
  else :
2672
 
12
 
13
  class DSLC_Staff extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
2254
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2255
  $show_header = true;
2256
  }
2257
+
2258
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
2259
+ $container_class .= 'dslc-carousel-arrow-aside ';
2260
+ }
2261
 
2262
  /**
2263
  * Link or not
2363
 
2364
  <!-- Carousel -->
2365
 
2366
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
2367
  <span class="dslc-carousel-nav fr">
2368
  <span class="dslc-carousel-nav-inner">
2369
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2383
 
2384
  if ( $dslc_query->have_posts() ) :
2385
 
2386
+ ?><div class="<?php echo $container_class; ?>">
2387
+
2388
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2389
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
2390
+ <?php endif; ?>
2391
 
2392
+ <div class="dslc-posts-inner"><?php
2393
 
2394
  if ( $options['type'] == 'carousel' ) :
2395
 
2672
 
2673
  endif;
2674
 
2675
+ ?></div><!-- .dslc-posts-inner -->
2676
+
2677
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2678
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
2679
+ <?php endif; ?>
2680
 
2681
+ </div><?php
2682
 
2683
  else :
2684
 
modules/tabs/module.php CHANGED
@@ -8,11 +8,11 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Tabs extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
- var $handle_like;
16
 
17
  function __construct() {
18
 
@@ -3587,7 +3587,7 @@ class DSLC_Tabs extends DSLC_Module {
3587
  <div class="dslca-editable-content"<?php if ( $dslc_is_admin ) { echo ' data-exportable-content';} ?>>
3588
  <?php
3589
  $tab_content_output = stripslashes( $tab_content );
3590
- echo apply_filters( 'dslc_before_render', $tab_content_output );
3591
  ?>
3592
  </div>
3593
  <?php if ( $dslc_is_admin ) : ?>
8
 
9
  class DSLC_Tabs extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
+ public $handle_like;
16
 
17
  function __construct() {
18
 
3587
  <div class="dslca-editable-content"<?php if ( $dslc_is_admin ) { echo ' data-exportable-content';} ?>>
3588
  <?php
3589
  $tab_content_output = stripslashes( $tab_content );
3590
+ echo apply_filters( 'dslc_text_block_render', $tab_content_output );
3591
  ?>
3592
  </div>
3593
  <?php if ( $dslc_is_admin ) : ?>
modules/testimonials/functions.php CHANGED
@@ -18,6 +18,12 @@ $dslc_var_post_options['dslc-testimonials-post-options'] = array(
18
  'id' => 'dslc_testimonial_author_pos',
19
  'type' => 'text',
20
  ),
 
 
 
 
 
 
21
  ),
22
  );
23
 
@@ -133,5 +139,4 @@ function dslc_testimonials_module_cpt() {
133
  // Register taxonomy
134
  register_taxonomy( 'dslc_testimonials_cats', 'dslc_testimonials', $cats_args );
135
 
136
- } add_action( 'init', 'dslc_testimonials_module_cpt' );
137
-
18
  'id' => 'dslc_testimonial_author_pos',
19
  'type' => 'text',
20
  ),
21
+ array(
22
+ 'label' => 'Logo',
23
+ 'std' => '',
24
+ 'id' => 'dslc_testimonial_logo',
25
+ 'type' => 'file',
26
+ ),
27
  ),
28
  );
29
 
139
  // Register taxonomy
140
  register_taxonomy( 'dslc_testimonials_cats', 'dslc_testimonials', $cats_args );
141
 
142
+ } add_action( 'init', 'dslc_testimonials_module_cpt' );
 
modules/testimonials/module.php CHANGED
@@ -12,10 +12,10 @@ if ( dslc_is_module_active( 'DSLC_Testimonials' ) ) {
12
 
13
  class DSLC_Testimonials extends DSLC_Module {
14
 
15
- var $module_id;
16
- var $module_title;
17
- var $module_icon;
18
- var $module_category;
19
 
20
  function __construct() {
21
 
@@ -254,6 +254,14 @@ class DSLC_Testimonials extends DSLC_Module {
254
  'std' => 'quote avatar name position',
255
  'type' => 'checkbox',
256
  'choices' => array(
 
 
 
 
 
 
 
 
257
  array(
258
  'label' => __( 'Quote', 'live-composer-page-builder' ),
259
  'value' => 'quote',
@@ -632,6 +640,470 @@ class DSLC_Testimonials extends DSLC_Module {
632
  'tab' => __( 'Main', 'live-composer-page-builder' ),
633
  ),
634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
  /**
636
  * Quote
637
  */
@@ -788,6 +1260,27 @@ class DSLC_Testimonials extends DSLC_Module {
788
  'tab' => __( 'Quote', 'live-composer-page-builder' ),
789
  'ext' => 'px',
790
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  array(
792
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
793
  'id' => 'css_quote_margin',
@@ -931,6 +1424,17 @@ class DSLC_Testimonials extends DSLC_Module {
931
  * Avatar
932
  */
933
 
 
 
 
 
 
 
 
 
 
 
 
934
  array(
935
  'label' => __( 'BG Color', 'live-composer-page-builder' ),
936
  'id' => 'css_avatar_bg_color',
@@ -1008,6 +1512,24 @@ class DSLC_Testimonials extends DSLC_Module {
1008
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1009
  'ext' => 'px',
1010
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1011
  array(
1012
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
1013
  'id' => 'css_avatar_margin_right',
@@ -1051,6 +1573,17 @@ class DSLC_Testimonials extends DSLC_Module {
1051
  * Title
1052
  */
1053
 
 
 
 
 
 
 
 
 
 
 
 
1054
  array(
1055
  'label' => __( 'Color', 'live-composer-page-builder' ),
1056
  'id' => 'css_name_color',
@@ -1136,6 +1669,35 @@ class DSLC_Testimonials extends DSLC_Module {
1136
  'section' => 'styling',
1137
  'tab' => __( 'Name', 'live-composer-page-builder' ),
1138
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1139
  array(
1140
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1141
  'id' => 'css_name_margin_bottom',
@@ -1165,6 +1727,17 @@ class DSLC_Testimonials extends DSLC_Module {
1165
  * Position
1166
  */
1167
 
 
 
 
 
 
 
 
 
 
 
 
1168
  array(
1169
  'label' => __( 'Color', 'live-composer-page-builder' ),
1170
  'id' => 'css_position_color',
@@ -1263,6 +1836,27 @@ class DSLC_Testimonials extends DSLC_Module {
1263
  'increment' => '0.05',
1264
  'max' => 3,
1265
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1266
 
1267
  /**
1268
  * Responsive Tablet
@@ -1340,6 +1934,221 @@ class DSLC_Testimonials extends DSLC_Module {
1340
  'ext' => 'px',
1341
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1342
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1343
  array(
1344
  'label' => __( 'Quote - Font Size', 'live-composer-page-builder' ),
1345
  'id' => 'css_res_t_quote_font_size',
@@ -1619,6 +2428,221 @@ class DSLC_Testimonials extends DSLC_Module {
1619
  'ext' => 'px',
1620
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1621
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1622
  array(
1623
  'label' => __( 'Quote - Font Size', 'live-composer-page-builder' ),
1624
  'id' => 'css_res_p_quote_font_size',
@@ -2033,6 +3057,10 @@ function dslc_module_testimonials_output( $atts, $content = null ) {
2033
  $show_header = true;
2034
  }
2035
 
 
 
 
 
2036
  /**
2037
  * Carousel Items
2038
  */
@@ -2128,15 +3156,14 @@ function dslc_module_testimonials_output( $atts, $content = null ) {
2128
 
2129
  <!-- Carousel -->
2130
 
2131
- <?php if ( $show_carousel_arrows ) : ?>
2132
- <span class="dslc-carousel-nav fr">
2133
- <span class="dslc-carousel-nav-inner">
2134
- <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2135
- <a href="#" class="dslc-carousel-nav-next"><span class="dslc-icon-chevron-right"></span></a>
2136
- </span>
2137
- </span><!-- .carousel-nav -->
2138
- <?php endif; ?>
2139
-
2140
  </div><!-- .dslc-module-heading -->
2141
  <?php
2142
 
@@ -2148,9 +3175,13 @@ function dslc_module_testimonials_output( $atts, $content = null ) {
2148
 
2149
  if ( $dslc_query->have_posts() ) :
2150
 
2151
- ?><div class="<?php echo $container_class; ?>"><?php
2152
-
2153
- ?><div class="dslc-posts-inner"><?php
 
 
 
 
2154
 
2155
  if ( $options['type'] == 'carousel' ) :
2156
 
@@ -2187,7 +3218,7 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2187
 
2188
  <?php ob_start(); ?>
2189
 
2190
- <div class="dslc-testimonial-author dslc-testimonial-author-pos-<?php echo str_replace( ' ', '-', $options['author_pos'] ); ?> dslc-clearfix">
2191
 
2192
  <?php if ( $post_elements == 'all' || in_array( 'avatar', $post_elements ) ) : ?>
2193
 
@@ -2232,13 +3263,38 @@ while ( $dslc_query->have_posts() ) : $dslc_query->the_post();
2232
 
2233
  <?php if ( $options['author_pos'] == 'inside top' ) { echo $author_output;} ?>
2234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2235
  <?php if ( $post_elements == 'all' || in_array( 'quote', $post_elements ) ) : ?>
2236
 
2237
- <div class="dslc-testimonial-quote">
2238
- <?php echo get_the_content(); ?>
2239
- </div><!-- .dslc-testimonial-quote -->
2240
 
2241
- <?php endif; ?>
2242
 
2243
  <?php if ( $options['author_pos'] == 'inside bottom' ) { echo $author_output;} ?>
2244
 
@@ -2269,6 +3325,10 @@ if ( $options['type'] == 'carousel' ) :
2269
 
2270
  </div><!-- .dslc-posts-inner -->
2271
 
 
 
 
 
2272
  </div><!-- .dslc-testimonials -->
2273
 
2274
  <?php else :
12
 
13
  class DSLC_Testimonials extends DSLC_Module {
14
 
15
+ public $module_id;
16
+ public $module_title;
17
+ public $module_icon;
18
+ public $module_category;
19
 
20
  function __construct() {
21
 
254
  'std' => 'quote avatar name position',
255
  'type' => 'checkbox',
256
  'choices' => array(
257
+ array(
258
+ 'label' => __( 'Icon', 'live-composer-page-builder' ),
259
+ 'value' => 'icon',
260
+ ),
261
+ array(
262
+ 'label' => __( 'Logo', 'live-composer-page-builder' ),
263
+ 'value' => 'logo',
264
+ ),
265
  array(
266
  'label' => __( 'Quote', 'live-composer-page-builder' ),
267
  'value' => 'quote',
640
  'tab' => __( 'Main', 'live-composer-page-builder' ),
641
  ),
642
 
643
+ /**
644
+ * Logo
645
+ */
646
+
647
+ array(
648
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
649
+ 'id' => 'css_logo_align',
650
+ 'std' => 'left',
651
+ 'type' => 'text_align',
652
+ 'refresh_on_change' => false,
653
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
654
+ 'affect_on_change_rule' => 'text-align',
655
+ 'section' => 'styling',
656
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
657
+ ),
658
+ array(
659
+ 'label' => __( 'BG Color', 'live-composer-page-builder' ),
660
+ 'id' => 'css_logo_bg_color',
661
+ 'std' => '',
662
+ 'type' => 'color',
663
+ 'refresh_on_change' => false,
664
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
665
+ 'affect_on_change_rule' => 'background-color',
666
+ 'section' => 'styling',
667
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
668
+ ),
669
+ array(
670
+ 'label' => __( 'Border', 'live-composer-page-builder' ),
671
+ 'id' => 'css_logo_border_group',
672
+ 'type' => 'group',
673
+ 'action' => 'open',
674
+ 'section' => 'styling',
675
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
676
+ ),
677
+ array(
678
+ 'label' => __( 'Border Color', 'live-composer-page-builder' ),
679
+ 'id' => 'css_logo_border_color',
680
+ 'std' => '',
681
+ 'type' => 'color',
682
+ 'refresh_on_change' => false,
683
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
684
+ 'affect_on_change_rule' => 'border-color',
685
+ 'section' => 'styling',
686
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
687
+ ),
688
+ array(
689
+ 'label' => __( 'Border Width', 'live-composer-page-builder' ),
690
+ 'id' => 'css_logo_border_width',
691
+ 'onlypositive' => true, // Value can't be negative.
692
+ 'std' => '0',
693
+ 'type' => 'slider',
694
+ 'refresh_on_change' => false,
695
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
696
+ 'affect_on_change_rule' => 'border-width',
697
+ 'section' => 'styling',
698
+ 'ext' => 'px',
699
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
700
+ ),
701
+ array(
702
+ 'label' => __( 'Borders', 'live-composer-page-builder' ),
703
+ 'id' => 'css_logo_border_trbl',
704
+ 'std' => 'top right bottom left',
705
+ 'type' => 'checkbox',
706
+ 'choices' => array(
707
+ array(
708
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
709
+ 'value' => 'top',
710
+ ),
711
+ array(
712
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
713
+ 'value' => 'right',
714
+ ),
715
+ array(
716
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
717
+ 'value' => 'bottom',
718
+ ),
719
+ array(
720
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
721
+ 'value' => 'left',
722
+ ),
723
+ ),
724
+ 'refresh_on_change' => false,
725
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
726
+ 'affect_on_change_rule' => 'border-style',
727
+ 'section' => 'styling',
728
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
729
+ ),
730
+ array(
731
+ 'label' => __( 'Border Radius', 'live-composer-page-builder' ),
732
+ 'id' => 'css_logo_border_radius',
733
+ 'onlypositive' => true, // Value can't be negative.
734
+ 'std' => '',
735
+ 'type' => 'slider',
736
+ 'refresh_on_change' => false,
737
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
738
+ 'affect_on_change_rule' => 'border-radius',
739
+ 'section' => 'styling',
740
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
741
+ 'ext' => 'px',
742
+ ),
743
+ array(
744
+ 'label' => __( 'Border', 'live-composer-page-builder' ),
745
+ 'id' => 'css_logo_border_group',
746
+ 'type' => 'group',
747
+ 'action' => 'close',
748
+ 'section' => 'styling',
749
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
750
+ ),
751
+ array(
752
+ 'label' => __( 'Border Radius ( Image )', 'live-composer-page-builder' ),
753
+ 'id' => 'css_logo_border_radius_image',
754
+ 'onlypositive' => true, // Value can't be negative.
755
+ 'std' => '',
756
+ 'type' => 'slider',
757
+ 'refresh_on_change' => false,
758
+ 'affect_on_change_el' => '.dslc-testimonial-logo img',
759
+ 'affect_on_change_rule' => 'border-radius',
760
+ 'section' => 'styling',
761
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
762
+ 'ext' => 'px',
763
+ ),
764
+ array(
765
+ 'label' => __( 'Size', 'live-composer-page-builder' ),
766
+ 'id' => 'css_logo_size',
767
+ 'std' => '',
768
+ 'type' => 'slider',
769
+ 'refresh_on_change' => false,
770
+ 'affect_on_change_el' => '.dslc-testimonial-logo img',
771
+ 'affect_on_change_rule' => 'width',
772
+ 'section' => 'styling',
773
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
774
+ 'min' => 1,
775
+ 'max' => 100,
776
+ 'ext' => 'px',
777
+ ),
778
+ array(
779
+ 'label' => __( 'Padding', 'live-composer-page-builder' ),
780
+ 'id' => 'css_logo_padding_group',
781
+ 'type' => 'group',
782
+ 'action' => 'open',
783
+ 'section' => 'styling',
784
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
785
+ ),
786
+ array(
787
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
788
+ 'id' => 'css_logo_padding_top',
789
+ 'std' => '0',
790
+ 'type' => 'slider',
791
+ 'refresh_on_change' => false,
792
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
793
+ 'affect_on_change_rule' => 'padding-top',
794
+ 'section' => 'styling',
795
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
796
+ 'ext' => 'px',
797
+ ),
798
+ array(
799
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
800
+ 'id' => 'css_logo_padding_right',
801
+ 'std' => '0',
802
+ 'type' => 'slider',
803
+ 'refresh_on_change' => false,
804
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
805
+ 'affect_on_change_rule' => 'padding-right',
806
+ 'section' => 'styling',
807
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
808
+ 'ext' => 'px',
809
+ ),
810
+ array(
811
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
812
+ 'id' => 'css_logo_padding_bottom',
813
+ 'std' => '0',
814
+ 'type' => 'slider',
815
+ 'refresh_on_change' => false,
816
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
817
+ 'affect_on_change_rule' => 'padding-bottom',
818
+ 'section' => 'styling',
819
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
820
+ 'ext' => 'px',
821
+ ),
822
+ array(
823
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
824
+ 'id' => 'css_logo_padding_left',
825
+ 'std' => '0',
826
+ 'type' => 'slider',
827
+ 'refresh_on_change' => false,
828
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
829
+ 'affect_on_change_rule' => 'padding-left',
830
+ 'section' => 'styling',
831
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
832
+ 'ext' => 'px',
833
+ ),
834
+ array(
835
+ 'id' => 'css_logo_padding_group',
836
+ 'type' => 'group',
837
+ 'action' => 'close',
838
+ 'section' => 'styling',
839
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
840
+ ),
841
+ array(
842
+ 'label' => __( 'Margin', 'live-composer-page-builder' ),
843
+ 'id' => 'css_logo_margin_group',
844
+ 'type' => 'group',
845
+ 'action' => 'open',
846
+ 'section' => 'styling',
847
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
848
+ ),
849
+ array(
850
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
851
+ 'id' => 'css_logo_margin_top',
852
+ 'std' => '0',
853
+ 'type' => 'slider',
854
+ 'refresh_on_change' => false,
855
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
856
+ 'affect_on_change_rule' => 'margin-top',
857
+ 'section' => 'styling',
858
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
859
+ 'ext' => 'px',
860
+ ),
861
+ array(
862
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
863
+ 'id' => 'css_logo_margin_right',
864
+ 'std' => '0',
865
+ 'type' => 'slider',
866
+ 'refresh_on_change' => false,
867
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
868
+ 'affect_on_change_rule' => 'margin-right',
869
+ 'section' => 'styling',
870
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
871
+ 'ext' => 'px',
872
+ ),
873
+ array(
874
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
875
+ 'id' => 'css_logo_margin_bottom',
876
+ 'std' => '0',
877
+ 'type' => 'slider',
878
+ 'refresh_on_change' => false,
879
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
880
+ 'affect_on_change_rule' => 'margin-bottom',
881
+ 'section' => 'styling',
882
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
883
+ 'ext' => 'px',
884
+ ),
885
+ array(
886
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
887
+ 'id' => 'css_logo_margin_left',
888
+ 'std' => '0',
889
+ 'type' => 'slider',
890
+ 'refresh_on_change' => false,
891
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
892
+ 'affect_on_change_rule' => 'margin-left',
893
+ 'section' => 'styling',
894
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
895
+ 'ext' => 'px',
896
+ ),
897
+ array(
898
+ 'id' => 'css_logo_margin_group',
899
+ 'type' => 'group',
900
+ 'action' => 'close',
901
+ 'section' => 'styling',
902
+ 'tab' => __( 'Logo', 'live-composer-page-builder' ),
903
+ ),
904
+
905
+ /**
906
+ * Icon
907
+ */
908
+
909
+ array(
910
+ 'label' => __( 'Icon', 'live-composer-page-builder' ),
911
+ 'id' => 'icon_id',
912
+ 'std' => 'quote-right',
913
+ 'type' => 'icon',
914
+ 'section' => 'styling',
915
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
916
+ ),
917
+ array(
918
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
919
+ 'id' => 'css_icon_align',
920
+ 'std' => 'left',
921
+ 'type' => 'text_align',
922
+ 'refresh_on_change' => false,
923
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
924
+ 'affect_on_change_rule' => 'text-align',
925
+ 'section' => 'styling',
926
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
927
+ ),
928
+ array(
929
+ 'label' => __( 'Color', 'live-composer-page-builder' ),
930
+ 'id' => 'css_icon_color',
931
+ 'std' => '#000',
932
+ 'type' => 'color',
933
+ 'refresh_on_change' => false,
934
+ 'affect_on_change_el' => '.dslc-icon',
935
+ 'affect_on_change_rule' => 'color',
936
+ 'section' => 'styling',
937
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
938
+ ),
939
+ array(
940
+ 'label' => __( 'Size', 'live-composer-page-builder' ),
941
+ 'id' => 'css_icon_size',
942
+ 'std' => '31',
943
+ 'type' => 'slider',
944
+ 'refresh_on_change' => false,
945
+ 'affect_on_change_el' => '.dslc-icon',
946
+ 'affect_on_change_rule' => 'font-size',
947
+ 'section' => 'styling',
948
+ 'ext' => 'px',
949
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
950
+ ),
951
+ array(
952
+ 'label' => __( 'BG Color', 'live-composer-page-builder' ),
953
+ 'id' => 'css_icon_bg_color',
954
+ 'std' => '',
955
+ 'type' => 'color',
956
+ 'refresh_on_change' => false,
957
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
958
+ 'affect_on_change_rule' => 'background-color',
959
+ 'section' => 'styling',
960
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
961
+ ),
962
+ array(
963
+ 'label' => __( 'Border', 'live-composer-page-builder' ),
964
+ 'id' => 'css_icon_border_group',
965
+ 'type' => 'group',
966
+ 'action' => 'open',
967
+ 'section' => 'styling',
968
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
969
+ ),
970
+ array(
971
+ 'label' => __( 'Border Color', 'live-composer-page-builder' ),
972
+ 'id' => 'css_icon_border_color',
973
+ 'std' => '',
974
+ 'type' => 'color',
975
+ 'refresh_on_change' => false,
976
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
977
+ 'affect_on_change_rule' => 'border-color',
978
+ 'section' => 'styling',
979
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
980
+ ),
981
+ array(
982
+ 'label' => __( 'Border Width', 'live-composer-page-builder' ),
983
+ 'id' => 'css_icon_border_width',
984
+ 'onlypositive' => true, // Value can't be negative.
985
+ 'std' => '0',
986
+ 'type' => 'slider',
987
+ 'refresh_on_change' => false,
988
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
989
+ 'affect_on_change_rule' => 'border-width',
990
+ 'section' => 'styling',
991
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
992
+ 'ext' => 'px',
993
+ ),
994
+ array(
995
+ 'label' => __( 'Borders', 'live-composer-page-builder' ),
996
+ 'id' => 'css_icon_border_trbl',
997
+ 'std' => 'top right bottom left',
998
+ 'type' => 'checkbox',
999
+ 'choices' => array(
1000
+ array(
1001
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
1002
+ 'value' => 'top',
1003
+ ),
1004
+ array(
1005
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
1006
+ 'value' => 'right',
1007
+ ),
1008
+ array(
1009
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
1010
+ 'value' => 'bottom',
1011
+ ),
1012
+ array(
1013
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
1014
+ 'value' => 'left',
1015
+ ),
1016
+ ),
1017
+ 'refresh_on_change' => false,
1018
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
1019
+ 'affect_on_change_rule' => 'border-style',
1020
+ 'section' => 'styling',
1021
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1022
+ ),
1023
+ array(
1024
+ 'label' => __( 'Border Radius', 'live-composer-page-builder' ),
1025
+ 'id' => 'css_icon_border_radius',
1026
+ 'onlypositive' => true, // Value can't be negative.
1027
+ 'std' => '0',
1028
+ 'type' => 'slider',
1029
+ 'refresh_on_change' => false,
1030
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
1031
+ 'affect_on_change_rule' => 'border-radius',
1032
+ 'section' => 'styling',
1033
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1034
+ 'ext' => 'px',
1035
+ ),
1036
+ array(
1037
+ 'id' => 'css_icon_border_group',
1038
+ 'type' => 'group',
1039
+ 'action' => 'close',
1040
+ 'section' => 'styling',
1041
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1042
+ ),
1043
+ array(
1044
+ 'label' => __( 'Margin', 'live-composer-page-builder' ),
1045
+ 'id' => 'css_icon_margin_group',
1046
+ 'type' => 'group',
1047
+ 'action' => 'open',
1048
+ 'section' => 'styling',
1049
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1050
+ ),
1051
+ array(
1052
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
1053
+ 'id' => 'css_icon_margin_top',
1054
+ 'std' => '0',
1055
+ 'type' => 'slider',
1056
+ 'refresh_on_change' => false,
1057
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
1058
+ 'affect_on_change_rule' => 'margin-top',
1059
+ 'section' => 'styling',
1060
+ 'ext' => 'px',
1061
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1062
+ ),
1063
+ array(
1064
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
1065
+ 'id' => 'css_icon_margin_right',
1066
+ 'std' => '0',
1067
+ 'type' => 'slider',
1068
+ 'refresh_on_change' => false,
1069
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
1070
+ 'affect_on_change_rule' => 'margin-right',
1071
+ 'section' => 'styling',
1072
+ 'ext' => 'px',
1073
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1074
+ ),
1075
+ array(
1076
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
1077
+ 'id' => 'css_icon_margin_bottom',
1078
+ 'std' => '20',
1079
+ 'type' => 'slider',
1080
+ 'refresh_on_change' => false,
1081
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
1082
+ 'affect_on_change_rule' => 'margin-bottom',
1083
+ 'section' => 'styling',
1084
+ 'ext' => 'px',
1085
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1086
+ ),
1087
+ array(
1088
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
1089
+ 'id' => 'css_icon_margin_left',
1090
+ 'std' => '0',
1091
+ 'type' => 'slider',
1092
+ 'refresh_on_change' => false,
1093
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
1094
+ 'affect_on_change_rule' => 'margin-left',
1095
+ 'section' => 'styling',
1096
+ 'ext' => 'px',
1097
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1098
+ ),
1099
+ array(
1100
+ 'id' => 'css_icon_margin_group',
1101
+ 'type' => 'group',
1102
+ 'action' => 'close',
1103
+ 'section' => 'styling',
1104
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
1105
+ ),
1106
+
1107
  /**
1108
  * Quote
1109
  */
1260
  'tab' => __( 'Quote', 'live-composer-page-builder' ),
1261
  'ext' => 'px',
1262
  ),
1263
+ array(
1264
+ 'label' => __( 'Font Style', 'live-composer-page-builder' ),
1265
+ 'id' => 'css_quote_font_style',
1266
+ 'std' => 'normal',
1267
+ 'type' => 'select',
1268
+ 'refresh_on_change' => false,
1269
+ 'affect_on_change_el' => '.dslc-testimonial-quote',
1270
+ 'affect_on_change_rule' => 'font-style',
1271
+ 'section' => 'styling',
1272
+ 'tab' => __( 'Quote', 'live-composer-page-builder' ),
1273
+ 'choices' => array(
1274
+ array(
1275
+ 'label' => __( 'Normal', 'live-composer-page-builder' ),
1276
+ 'value' => 'normal',
1277
+ ),
1278
+ array(
1279
+ 'label' => __( 'Italic', 'live-composer-page-builder' ),
1280
+ 'value' => 'italic',
1281
+ ),
1282
+ ),
1283
+ ),
1284
  array(
1285
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1286
  'id' => 'css_quote_margin',
1424
  * Avatar
1425
  */
1426
 
1427
+ array(
1428
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
1429
+ 'id' => 'css_avatar_align',
1430
+ 'std' => 'left',
1431
+ 'type' => 'text_align',
1432
+ 'refresh_on_change' => false,
1433
+ 'affect_on_change_el' => '.dslc-testimonial-author-avatar',
1434
+ 'affect_on_change_rule' => 'text-align',
1435
+ 'section' => 'styling',
1436
+ 'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1437
+ ),
1438
  array(
1439
  'label' => __( 'BG Color', 'live-composer-page-builder' ),
1440
  'id' => 'css_avatar_bg_color',
1512
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1513
  'ext' => 'px',
1514
  ),
1515
+ array(
1516
+ 'label' => __( 'Position', 'live-composer-page-builder' ),
1517
+ 'id' => 'avatar_position',
1518
+ 'std' => 'aside',
1519
+ 'type' => 'select',
1520
+ 'choices' => array(
1521
+ array(
1522
+ 'label' => __( 'Above', 'live-composer-page-builder' ),
1523
+ 'value' => 'above',
1524
+ ),
1525
+ array(
1526
+ 'label' => __( 'Aside', 'live-composer-page-builder' ),
1527
+ 'value' => 'aside',
1528
+ ),
1529
+ ),
1530
+ 'section' => 'styling',
1531
+ 'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1532
+ ),
1533
  array(
1534
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
1535
  'id' => 'css_avatar_margin_right',
1573
  * Title
1574
  */
1575
 
1576
+ array(
1577
+ 'label' => __( 'Text Align', 'live-composer-page-builder' ),
1578
+ 'id' => 'css_name_text_align',
1579
+ 'std' => 'left',
1580
+ 'type' => 'text_align',
1581
+ 'refresh_on_change' => false,
1582
+ 'affect_on_change_el' => '.dslc-testimonial-author-name',
1583
+ 'affect_on_change_rule' => 'text-align',
1584
+ 'section' => 'styling',
1585
+ 'tab' => __( 'Name', 'live-composer-page-builder' ),
1586
+ ),
1587
  array(
1588
  'label' => __( 'Color', 'live-composer-page-builder' ),
1589
  'id' => 'css_name_color',
1669
  'section' => 'styling',
1670
  'tab' => __( 'Name', 'live-composer-page-builder' ),
1671
  ),
1672
+ array(
1673
+ 'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1674
+ 'id' => 'css_name_text_transform',
1675
+ 'std' => 'none',
1676
+ 'type' => 'select',
1677
+ 'choices' => array(
1678
+ array(
1679
+ 'label' => __( 'None', 'live-composer-page-builder' ),
1680
+ 'value' => 'none',
1681
+ ),
1682
+ array(
1683
+ 'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1684
+ 'value' => 'capitalize',
1685
+ ),
1686
+ array(
1687
+ 'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1688
+ 'value' => 'uppercase',
1689
+ ),
1690
+ array(
1691
+ 'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1692
+ 'value' => 'lowercase',
1693
+ ),
1694
+ ),
1695
+ 'refresh_on_change' => false,
1696
+ 'affect_on_change_el' => '.dslc-testimonial-author-name',
1697
+ 'affect_on_change_rule' => 'text-transform',
1698
+ 'section' => 'styling',
1699
+ 'tab' => __( 'Name', 'live-composer-page-builder' ),
1700
+ ),
1701
  array(
1702
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1703
  'id' => 'css_name_margin_bottom',
1727
  * Position
1728
  */
1729
 
1730
+ array(
1731
+ 'label' => __( 'Text Align', 'live-composer-page-builder' ),
1732
+ 'id' => 'css_position_text_align',
1733
+ 'std' => 'left',
1734
+ 'type' => 'text_align',
1735
+ 'refresh_on_change' => false,
1736
+ 'affect_on_change_el' => '.dslc-testimonial-author-position',
1737
+ 'affect_on_change_rule' => 'text-align',
1738
+ 'section' => 'styling',
1739
+ 'tab' => __( 'Position', 'live-composer-page-builder' ),
1740
+ ),
1741
  array(
1742
  'label' => __( 'Color', 'live-composer-page-builder' ),
1743
  'id' => 'css_position_color',
1836
  'increment' => '0.05',
1837
  'max' => 3,
1838
  ),
1839
+ array(
1840
+ 'label' => __( 'Font Style', 'live-composer-page-builder' ),
1841
+ 'id' => 'css_position_font_style',
1842
+ 'std' => 'normal',
1843
+ 'type' => 'select',
1844
+ 'refresh_on_change' => false,
1845
+ 'affect_on_change_el' => '.dslc-testimonial-author-position',
1846
+ 'affect_on_change_rule' => 'font-style',
1847
+ 'section' => 'styling',
1848
+ 'tab' => __( 'Position', 'live-composer-page-builder' ),
1849
+ 'choices' => array(
1850
+ array(
1851
+ 'label' => __( 'Normal', 'live-composer-page-builder' ),
1852
+ 'value' => 'normal',
1853
+ ),
1854
+ array(
1855
+ 'label' => __( 'Italic', 'live-composer-page-builder' ),
1856
+ 'value' => 'italic',
1857
+ ),
1858
+ ),
1859
+ ),
1860
 
1861
  /**
1862
  * Responsive Tablet
1934
  'ext' => 'px',
1935
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1936
  ),
1937
+ array(
1938
+ 'label' => __( 'Logo - Size', 'live-composer-page-builder' ),
1939
+ 'id' => 'css_res_t_logo_size',
1940
+ 'std' => '',
1941
+ 'type' => 'slider',
1942
+ 'refresh_on_change' => false,
1943
+ 'affect_on_change_el' => '.dslc-testimonial-logo img',
1944
+ 'affect_on_change_rule' => 'width',
1945
+ 'section' => 'responsive',
1946
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1947
+ 'min' => 1,
1948
+ 'max' => 100,
1949
+ 'ext' => 'px',
1950
+ ),
1951
+ array(
1952
+ 'label' => __( 'Logo - Padding', 'live-composer-page-builder' ),
1953
+ 'id' => 'css_res_t_logo_padding_group',
1954
+ 'type' => 'group',
1955
+ 'action' => 'open',
1956
+ 'section' => 'responsive',
1957
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1958
+ ),
1959
+ array(
1960
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
1961
+ 'id' => 'css_res_t_logo_padding_top',
1962
+ 'std' => '0',
1963
+ 'type' => 'slider',
1964
+ 'refresh_on_change' => false,
1965
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
1966
+ 'affect_on_change_rule' => 'padding-top',
1967
+ 'section' => 'responsive',
1968
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1969
+ 'ext' => 'px',
1970
+ ),
1971
+ array(
1972
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
1973
+ 'id' => 'css_res_t_logo_padding_right',
1974
+ 'std' => '0',
1975
+ 'type' => 'slider',
1976
+ 'refresh_on_change' => false,
1977
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
1978
+ 'affect_on_change_rule' => 'padding-right',
1979
+ 'section' => 'responsive',
1980
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1981
+ 'ext' => 'px',
1982
+ ),
1983
+ array(
1984
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
1985
+ 'id' => 'css_res_t_logo_padding_bottom',
1986
+ 'std' => '0',
1987
+ 'type' => 'slider',
1988
+ 'refresh_on_change' => false,
1989
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
1990
+ 'affect_on_change_rule' => 'padding-bottom',
1991
+ 'section' => 'responsive',
1992
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1993
+ 'ext' => 'px',
1994
+ ),
1995
+ array(
1996
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
1997
+ 'id' => 'css_res_t_logo_padding_left',
1998
+ 'std' => '0',
1999
+ 'type' => 'slider',
2000
+ 'refresh_on_change' => false,
2001
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2002
+ 'affect_on_change_rule' => 'padding-left',
2003
+ 'section' => 'responsive',
2004
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2005
+ 'ext' => 'px',
2006
+ ),
2007
+ array(
2008
+ 'id' => 'css_res_t_logo_padding_group',
2009
+ 'type' => 'group',
2010
+ 'action' => 'close',
2011
+ 'section' => 'responsive',
2012
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2013
+ ),
2014
+ array(
2015
+ 'label' => __( 'Logo - Margin', 'live-composer-page-builder' ),
2016
+ 'id' => 'css_res_t_logo_margin_group',
2017
+ 'type' => 'group',
2018
+ 'action' => 'open',
2019
+ 'section' => 'responsive',
2020
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2021
+ ),
2022
+ array(
2023
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2024
+ 'id' => 'css_res_t_logo_margin_top',
2025
+ 'std' => '0',
2026
+ 'type' => 'slider',
2027
+ 'refresh_on_change' => false,
2028
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2029
+ 'affect_on_change_rule' => 'margin-top',
2030
+ 'section' => 'responsive',
2031
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2032
+ 'ext' => 'px',
2033
+ ),
2034
+ array(
2035
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2036
+ 'id' => 'css_res_t_logo_margin_right',
2037
+ 'std' => '0',
2038
+ 'type' => 'slider',
2039
+ 'refresh_on_change' => false,
2040
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2041
+ 'affect_on_change_rule' => 'margin-right',
2042
+ 'section' => 'responsive',
2043
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2044
+ 'ext' => 'px',
2045
+ ),
2046
+ array(
2047
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2048
+ 'id' => 'css_res_t_logo_margin_bottom',
2049
+ 'std' => '0',
2050
+ 'type' => 'slider',
2051
+ 'refresh_on_change' => false,
2052
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2053
+ 'affect_on_change_rule' => 'margin-bottom',
2054
+ 'section' => 'responsive',
2055
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2056
+ 'ext' => 'px',
2057
+ ),
2058
+ array(
2059
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2060
+ 'id' => 'css_res_t_logo_margin_left',
2061
+ 'std' => '0',
2062
+ 'type' => 'slider',
2063
+ 'refresh_on_change' => false,
2064
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2065
+ 'affect_on_change_rule' => 'margin-left',
2066
+ 'section' => 'responsive',
2067
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2068
+ 'ext' => 'px',
2069
+ ),
2070
+ array(
2071
+ 'id' => 'css_res_t_logo_margin_group',
2072
+ 'type' => 'group',
2073
+ 'action' => 'close',
2074
+ 'section' => 'responsive',
2075
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2076
+ ),
2077
+ array(
2078
+ 'label' => __( 'Icon - Size', 'live-composer-page-builder' ),
2079
+ 'id' => 'css_res_t_icon_size',
2080
+ 'std' => '31',
2081
+ 'type' => 'slider',
2082
+ 'refresh_on_change' => false,
2083
+ 'affect_on_change_el' => '.dslc-icon',
2084
+ 'affect_on_change_rule' => 'font-size',
2085
+ 'section' => 'responsive',
2086
+ 'ext' => 'px',
2087
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2088
+ ),
2089
+ array(
2090
+ 'label' => __( 'Icon - Margin', 'live-composer-page-builder' ),
2091
+ 'id' => 'css_res_t_icon_margin_group',
2092
+ 'type' => 'group',
2093
+ 'action' => 'open',
2094
+ 'section' => 'responsive',
2095
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2096
+ ),
2097
+ array(
2098
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2099
+ 'id' => 'css_res_t_icon_margin_top',
2100
+ 'std' => '0',
2101
+ 'type' => 'slider',
2102
+ 'refresh_on_change' => false,
2103
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2104
+ 'affect_on_change_rule' => 'margin-top',
2105
+ 'section' => 'responsive',
2106
+ 'ext' => 'px',
2107
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2108
+ ),
2109
+ array(
2110
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2111
+ 'id' => 'css_res_t_icon_margin_right',
2112
+ 'std' => '0',
2113
+ 'type' => 'slider',
2114
+ 'refresh_on_change' => false,
2115
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2116
+ 'affect_on_change_rule' => 'margin-right',
2117
+ 'section' => 'responsive',
2118
+ 'ext' => 'px',
2119
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2120
+ ),
2121
+ array(
2122
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2123
+ 'id' => 'css_res_t_icon_margin_bottom',
2124
+ 'std' => '20',
2125
+ 'type' => 'slider',
2126
+ 'refresh_on_change' => false,
2127
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2128
+ 'affect_on_change_rule' => 'margin-bottom',
2129
+ 'section' => 'responsive',
2130
+ 'ext' => 'px',
2131
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2132
+ ),
2133
+ array(
2134
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2135
+ 'id' => 'css_res_t_icon_margin_left',
2136
+ 'std' => '0',
2137
+ 'type' => 'slider',
2138
+ 'refresh_on_change' => false,
2139
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2140
+ 'affect_on_change_rule' => 'margin-left',
2141
+ 'section' => 'responsive',
2142
+ 'ext' => 'px',
2143
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2144
+ ),
2145
+ array(
2146
+ 'id' => 'css_res_t_icon_margin_group',
2147
+ 'type' => 'group',
2148
+ 'action' => 'close',
2149
+ 'section' => 'responsive',
2150
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2151
+ ),
2152
  array(
2153
  'label' => __( 'Quote - Font Size', 'live-composer-page-builder' ),
2154
  'id' => 'css_res_t_quote_font_size',
2428
  'ext' => 'px',
2429
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2430
  ),
2431
+ array(
2432
+ 'label' => __( 'Logo - Size', 'live-composer-page-builder' ),
2433
+ 'id' => 'css_res_p_logo_size',
2434
+ 'std' => '',
2435
+ 'type' => 'slider',
2436
+ 'refresh_on_change' => false,
2437
+ 'affect_on_change_el' => '.dslc-testimonial-logo img',
2438
+ 'affect_on_change_rule' => 'width',
2439
+ 'section' => 'responsive',
2440
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2441
+ 'min' => 1,
2442
+ 'max' => 100,
2443
+ 'ext' => 'px',
2444
+ ),
2445
+ array(
2446
+ 'label' => __( 'Logo - Padding', 'live-composer-page-builder' ),
2447
+ 'id' => 'css_res_p_logo_padding_group',
2448
+ 'type' => 'group',
2449
+ 'action' => 'open',
2450
+ 'section' => 'responsive',
2451
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2452
+ ),
2453
+ array(
2454
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2455
+ 'id' => 'css_res_p_logo_padding_top',
2456
+ 'std' => '0',
2457
+ 'type' => 'slider',
2458
+ 'refresh_on_change' => false,
2459
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2460
+ 'affect_on_change_rule' => 'padding-top',
2461
+ 'section' => 'responsive',
2462
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2463
+ 'ext' => 'px',
2464
+ ),
2465
+ array(
2466
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2467
+ 'id' => 'css_res_p_logo_padding_right',
2468
+ 'std' => '0',
2469
+ 'type' => 'slider',
2470
+ 'refresh_on_change' => false,
2471
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2472
+ 'affect_on_change_rule' => 'padding-right',
2473
+ 'section' => 'responsive',
2474
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2475
+ 'ext' => 'px',
2476
+ ),
2477
+ array(
2478
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2479
+ 'id' => 'css_res_p_logo_padding_bottom',
2480
+ 'std' => '0',
2481
+ 'type' => 'slider',
2482
+ 'refresh_on_change' => false,
2483
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2484
+ 'affect_on_change_rule' => 'padding-bottom',
2485
+ 'section' => 'responsive',
2486
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2487
+ 'ext' => 'px',
2488
+ ),
2489
+ array(
2490
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2491
+ 'id' => 'css_res_p_logo_padding_left',
2492
+ 'std' => '0',
2493
+ 'type' => 'slider',
2494
+ 'refresh_on_change' => false,
2495
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2496
+ 'affect_on_change_rule' => 'padding-left',
2497
+ 'section' => 'responsive',
2498
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2499
+ 'ext' => 'px',
2500
+ ),
2501
+ array(
2502
+ 'id' => 'css_res_p_logo_padding_group',
2503
+ 'type' => 'group',
2504
+ 'action' => 'close',
2505
+ 'section' => 'responsive',
2506
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2507
+ ),
2508
+ array(
2509
+ 'label' => __( 'Logo - Margin', 'live-composer-page-builder' ),
2510
+ 'id' => 'css_res_p_logo_margin_group',
2511
+ 'type' => 'group',
2512
+ 'action' => 'open',
2513
+ 'section' => 'responsive',
2514
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2515
+ ),
2516
+ array(
2517
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2518
+ 'id' => 'css_res_p_logo_margin_top',
2519
+ 'std' => '0',
2520
+ 'type' => 'slider',
2521
+ 'refresh_on_change' => false,
2522
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2523
+ 'affect_on_change_rule' => 'margin-top',
2524
+ 'section' => 'responsive',
2525
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2526
+ 'ext' => 'px',
2527
+ ),
2528
+ array(
2529
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2530
+ 'id' => 'css_res_p_logo_margin_right',
2531
+ 'std' => '0',
2532
+ 'type' => 'slider',
2533
+ 'refresh_on_change' => false,
2534
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2535
+ 'affect_on_change_rule' => 'margin-right',
2536
+ 'section' => 'responsive',
2537
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2538
+ 'ext' => 'px',
2539
+ ),
2540
+ array(
2541
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2542
+ 'id' => 'css_res_p_logo_margin_bottom',
2543
+ 'std' => '0',
2544
+ 'type' => 'slider',
2545
+ 'refresh_on_change' => false,
2546
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2547
+ 'affect_on_change_rule' => 'margin-bottom',
2548
+ 'section' => 'responsive',
2549
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2550
+ 'ext' => 'px',
2551
+ ),
2552
+ array(
2553
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2554
+ 'id' => 'css_res_p_logo_margin_left',
2555
+ 'std' => '0',
2556
+ 'type' => 'slider',
2557
+ 'refresh_on_change' => false,
2558
+ 'affect_on_change_el' => '.dslc-testimonial-logo',
2559
+ 'affect_on_change_rule' => 'margin-left',
2560
+ 'section' => 'responsive',
2561
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2562
+ 'ext' => 'px',
2563
+ ),
2564
+ array(
2565
+ 'id' => 'css_res_p_logo_margin_group',
2566
+ 'type' => 'group',
2567
+ 'action' => 'close',
2568
+ 'section' => 'responsive',
2569
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2570
+ ),
2571
+ array(
2572
+ 'label' => __( 'Icon - Size', 'live-composer-page-builder' ),
2573
+ 'id' => 'css_res_p_icon_size',
2574
+ 'std' => '31',
2575
+ 'type' => 'slider',
2576
+ 'refresh_on_change' => false,
2577
+ 'affect_on_change_el' => '.dslc-icon',
2578
+ 'affect_on_change_rule' => 'font-size',
2579
+ 'section' => 'responsive',
2580
+ 'ext' => 'px',
2581
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2582
+ ),
2583
+ array(
2584
+ 'label' => __( 'Icon - Margin', 'live-composer-page-builder' ),
2585
+ 'id' => 'css_res_p_icon_margin_group',
2586
+ 'type' => 'group',
2587
+ 'action' => 'open',
2588
+ 'section' => 'responsive',
2589
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2590
+ ),
2591
+ array(
2592
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
2593
+ 'id' => 'css_res_p_icon_margin_top',
2594
+ 'std' => '0',
2595
+ 'type' => 'slider',
2596
+ 'refresh_on_change' => false,
2597
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2598
+ 'affect_on_change_rule' => 'margin-top',
2599
+ 'section' => 'responsive',
2600
+ 'ext' => 'px',
2601
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2602
+ ),
2603
+ array(
2604
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
2605
+ 'id' => 'css_res_p_icon_margin_right',
2606
+ 'std' => '0',
2607
+ 'type' => 'slider',
2608
+ 'refresh_on_change' => false,
2609
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2610
+ 'affect_on_change_rule' => 'margin-right',
2611
+ 'section' => 'responsive',
2612
+ 'ext' => 'px',
2613
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2614
+ ),
2615
+ array(
2616
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
2617
+ 'id' => 'css_res_p_icon_margin_bottom',
2618
+ 'std' => '20',
2619
+ 'type' => 'slider',
2620
+ 'refresh_on_change' => false,
2621
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2622
+ 'affect_on_change_rule' => 'margin-bottom',
2623
+ 'section' => 'responsive',
2624
+ 'ext' => 'px',
2625
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2626
+ ),
2627
+ array(
2628
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
2629
+ 'id' => 'css_res_p_icon_margin_left',
2630
+ 'std' => '0',
2631
+ 'type' => 'slider',
2632
+ 'refresh_on_change' => false,
2633
+ 'affect_on_change_el' => '.dslc-testimonial-icon',
2634
+ 'affect_on_change_rule' => 'margin-left',
2635
+ 'section' => 'responsive',
2636
+ 'ext' => 'px',
2637
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2638
+ ),
2639
+ array(
2640
+ 'id' => 'css_res_p_icon_margin_group',
2641
+ 'type' => 'group',
2642
+ 'action' => 'close',
2643
+ 'section' => 'responsive',
2644
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
2645
+ ),
2646
  array(
2647
  'label' => __( 'Quote - Font Size', 'live-composer-page-builder' ),
2648
  'id' => 'css_res_p_quote_font_size',
3057
  $show_header = true;
3058
  }
3059
 
3060
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
3061
+ $container_class .= 'dslc-carousel-arrow-aside ';
3062
+ }
3063
+
3064
  /**
3065
  * Carousel Items
3066
  */
3156
 
3157
  <!-- Carousel -->
3158
 
3159
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
3160
+ <span class="dslc-carousel-nav fr">
3161
+ <span class="dslc-carousel-nav-inner">
3162
+ <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
3163
+ <a href="#" class="dslc-carousel-nav-next"><span class="dslc-icon-chevron-right"></span></a>
3164
+ </span>
3165
+ </span><!-- .carousel-nav -->
3166
+ <?php endif; ?>
 
3167
  </div><!-- .dslc-module-heading -->
3168
  <?php
3169
 
3175
 
3176
  if ( $dslc_query->have_posts() ) :
3177
 
3178
+ ?><div class="<?php echo $container_class; ?>">
3179
+
3180
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3181
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
3182
+ <?php endif; ?>
3183
+
3184
+ <div class="dslc-posts-inner"><?php
3185
 
3186
  if ( $options['type'] == 'carousel' ) :
3187
 
3218
 
3219
  <?php ob_start(); ?>
3220
 
3221
+ <div class="dslc-testimonial-author dslc-testimonial-author-pos-<?php echo str_replace( ' ', '-', $options['author_pos'] ); ?> dslc-testimonial-avatar-<?php echo $options['avatar_position']; ?> dslc-clearfix">
3222
 
3223
  <?php if ( $post_elements == 'all' || in_array( 'avatar', $post_elements ) ) : ?>
3224
 
3263
 
3264
  <?php if ( $options['author_pos'] == 'inside top' ) { echo $author_output;} ?>
3265
 
3266
+ <?php if ( $post_elements == 'all' || in_array( 'icon', $post_elements ) ) : ?>
3267
+
3268
+ <div class="dslc-testimonial-icon">
3269
+ <span class="dslc-icon dslc-icon-<?php echo $options['icon_id']; ?>"></span>
3270
+ </div><!-- .dslc-testimonial-icon -->
3271
+
3272
+ <?php endif; ?>
3273
+
3274
+ <?php if ( $post_elements == 'all' || in_array( 'logo', $post_elements ) ) : ?>
3275
+
3276
+ <?php
3277
+ $dslc_testimonial_logo = get_post_meta( get_the_ID(), 'dslc_testimonial_logo', true );
3278
+
3279
+ if ( ! empty( $dslc_testimonial_logo ) ) {
3280
+ $dslc_testimonial_image_src = wp_get_attachment_image_src( $dslc_testimonial_logo, 'full' );
3281
+ ?>
3282
+ <div class="dslc-testimonial-logo">
3283
+ <img src="<?php echo $dslc_testimonial_image_src[0]; ?>">
3284
+ </div>
3285
+ <?php
3286
+ }
3287
+ ?>
3288
+
3289
+ <?php endif; ?>
3290
+
3291
  <?php if ( $post_elements == 'all' || in_array( 'quote', $post_elements ) ) : ?>
3292
 
3293
+ <div class="dslc-testimonial-quote">
3294
+ <?php echo get_the_content(); ?>
3295
+ </div><!-- .dslc-testimonial-quote -->
3296
 
3297
+ <?php endif; ?>
3298
 
3299
  <?php if ( $options['author_pos'] == 'inside bottom' ) { echo $author_output;} ?>
3300
 
3325
 
3326
  </div><!-- .dslc-posts-inner -->
3327
 
3328
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3329
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
3330
+ <?php endif; ?>
3331
+
3332
  </div><!-- .dslc-testimonials -->
3333
 
3334
  <?php else :
modules/text-simple/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_Text_Simple extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -603,6 +603,69 @@ class DSLC_Text_Simple extends DSLC_Module {
603
  'tab' => __( 'Content', 'live-composer-page-builder' ),
604
  'ext' => 'px',
605
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
606
  array(
607
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
608
  'id' => 'css_main_margin_bottom',
@@ -2926,6 +2989,17 @@ class DSLC_Text_Simple extends DSLC_Module {
2926
  'section' => 'styling',
2927
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2928
  ),
 
 
 
 
 
 
 
 
 
 
 
2929
  array(
2930
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
2931
  'id' => 'css_inputs_font_size',
@@ -3901,16 +3975,67 @@ class DSLC_Text_Simple extends DSLC_Module {
3901
  'ext' => 'px',
3902
  ),
3903
  array(
3904
- 'label' => __( 'Paragraph - Margin Bottom', 'live-composer-page-builder' ),
3905
- 'id' => 'css_res_t_main_paragraph_margin_bottom',
3906
- 'std' => '20',
3907
- 'type' => 'slider',
3908
- 'refresh_on_change' => false,
3909
- 'affect_on_change_el' => '.dslc-text-module-content p',
3910
- 'affect_on_change_rule' => 'margin-bottom',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3911
  'section' => 'responsive',
3912
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3913
- 'ext' => 'px',
3914
  ),
3915
  array(
3916
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -4483,16 +4608,67 @@ class DSLC_Text_Simple extends DSLC_Module {
4483
  'ext' => 'px',
4484
  ),
4485
  array(
4486
- 'label' => __( 'Paragraph - Margin Bottom', 'live-composer-page-builder' ),
4487
- 'id' => 'css_res_p_main_paragraph_margin_bottom',
4488
- 'std' => '20',
4489
- 'type' => 'slider',
4490
- 'refresh_on_change' => false,
4491
- 'affect_on_change_el' => '.dslc-text-module-content p',
4492
- 'affect_on_change_rule' => 'margin-bottom',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4493
  'section' => 'responsive',
4494
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4495
- 'ext' => 'px',
4496
  ),
4497
  array(
4498
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -4983,7 +5159,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4983
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
4984
 
4985
  // Cache calculated array in WP Object Cache.
4986
- wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options ,'dslc_modules' );
4987
 
4988
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
4989
 
@@ -5015,7 +5191,7 @@ if ( $dslc_active ) {
5015
  }
5016
 
5017
  $output_content = stripslashes( $options['content'] );
5018
- echo apply_filters( 'dslc_before_render', $output_content );
5019
 
5020
  if ( $dslc_active ) {
5021
  ?></div><!-- .dslca-editable-content --><?php
8
 
9
  class DSLC_Text_Simple extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
603
  'tab' => __( 'Content', 'live-composer-page-builder' ),
604
  'ext' => 'px',
605
  ),
606
+ array(
607
+ 'label' => __( 'Padding ( paragraph )', 'live-composer-page-builder' ),
608
+ 'id' => 'css_main_padding_group',
609
+ 'type' => 'group',
610
+ 'action' => 'open',
611
+ 'section' => 'styling',
612
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
613
+ ),
614
+ array(
615
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
616
+ 'id' => 'css_main_padding_top',
617
+ 'std' => '0',
618
+ 'type' => 'slider',
619
+ 'refresh_on_change' => false,
620
+ 'affect_on_change_el' => '.dslc-text-module-content p',
621
+ 'affect_on_change_rule' => 'padding-top',
622
+ 'section' => 'styling',
623
+ 'ext' => 'px',
624
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
625
+ ),
626
+ array(
627
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
628
+ 'id' => 'css_main_padding_right',
629
+ 'std' => '0',
630
+ 'type' => 'slider',
631
+ 'refresh_on_change' => false,
632
+ 'affect_on_change_el' => '.dslc-text-module-content p',
633
+ 'affect_on_change_rule' => 'padding-right',
634
+ 'section' => 'styling',
635
+ 'ext' => 'px',
636
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
637
+ ),
638
+ array(
639
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
640
+ 'id' => 'css_main_padding_bottom',
641
+ 'std' => '0',
642
+ 'type' => 'slider',
643
+ 'refresh_on_change' => false,
644
+ 'affect_on_change_el' => '.dslc-text-module-content p',
645
+ 'affect_on_change_rule' => 'padding-bottom',
646
+ 'section' => 'styling',
647
+ 'ext' => 'px',
648
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
649
+ ),
650
+ array(
651
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
652
+ 'id' => 'css_main_padding_left',
653
+ 'std' => '0',
654
+ 'type' => 'slider',
655
+ 'refresh_on_change' => false,
656
+ 'affect_on_change_el' => '.dslc-text-module-content p',
657
+ 'affect_on_change_rule' => 'padding-left',
658
+ 'section' => 'styling',
659
+ 'ext' => 'px',
660
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
661
+ ),
662
+ array(
663
+ 'id' => 'css_main_padding_group',
664
+ 'type' => 'group',
665
+ 'action' => 'close',
666
+ 'section' => 'styling',
667
+ 'tab' => __( 'Content', 'live-composer-page-builder' ),
668
+ ),
669
  array(
670
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
671
  'id' => 'css_main_margin_bottom',
2989
  'section' => 'styling',
2990
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2991
  ),
2992
+ array(
2993
+ 'label' => __( 'Color: Placeholder', 'live-composer-page-builder' ),
2994
+ 'id' => 'css_inputs_color',
2995
+ 'std' => '#fffff',
2996
+ 'type' => 'color',
2997
+ 'refresh_on_change' => false,
2998
+ 'affect_on_change_el' => 'input[type=text]::placeholder,input[type=password]::placeholder,input[type=number]::placeholder,input[type=email]::placeholder,input[type=tel]::placeholder,textarea::placeholder,select::placeholder',
2999
+ 'affect_on_change_rule' => 'color',
3000
+ 'section' => 'styling',
3001
+ 'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3002
+ ),
3003
  array(
3004
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
3005
  'id' => 'css_inputs_font_size',
3975
  'ext' => 'px',
3976
  ),
3977
  array(
3978
+ 'label' => __( 'Padding ( paragraph )', 'live-composer-page-builder' ),
3979
+ 'id' => 'css_res_t_main_p_padding_group',
3980
+ 'type' => 'group',
3981
+ 'action' => 'open',
3982
+ 'section' => 'responsive',
3983
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3984
+ ),
3985
+ array(
3986
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
3987
+ 'id' => 'css_res_t_main_p_padding_top',
3988
+ 'std' => '0',
3989
+ 'type' => 'slider',
3990
+ 'refresh_on_change' => false,
3991
+ 'affect_on_change_el' => '.dslc-text-module-content p',
3992
+ 'affect_on_change_rule' => 'padding-top',
3993
+ 'section' => 'responsive',
3994
+ 'ext' => 'px',
3995
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3996
+ ),
3997
+ array(
3998
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
3999
+ 'id' => 'css_res_t_main_p_padding_right',
4000
+ 'std' => '0',
4001
+ 'type' => 'slider',
4002
+ 'refresh_on_change' => false,
4003
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4004
+ 'affect_on_change_rule' => 'padding-right',
4005
+ 'section' => 'responsive',
4006
+ 'ext' => 'px',
4007
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4008
+ ),
4009
+ array(
4010
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
4011
+ 'id' => 'css_res_t_main_p_padding_bottom',
4012
+ 'std' => '0',
4013
+ 'type' => 'slider',
4014
+ 'refresh_on_change' => false,
4015
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4016
+ 'affect_on_change_rule' => 'padding-bottom',
4017
+ 'section' => 'responsive',
4018
+ 'ext' => 'px',
4019
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4020
+ ),
4021
+ array(
4022
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
4023
+ 'id' => 'css_res_t_main_p_padding_left',
4024
+ 'std' => '0',
4025
+ 'type' => 'slider',
4026
+ 'refresh_on_change' => false,
4027
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4028
+ 'affect_on_change_rule' => 'padding-left',
4029
+ 'section' => 'responsive',
4030
+ 'ext' => 'px',
4031
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4032
+ ),
4033
+ array(
4034
+ 'id' => 'css_res_t_main_p_padding_group',
4035
+ 'type' => 'group',
4036
+ 'action' => 'close',
4037
  'section' => 'responsive',
4038
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
 
4039
  ),
4040
  array(
4041
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
4608
  'ext' => 'px',
4609
  ),
4610
  array(
4611
+ 'label' => __( 'Padding ( paragraph )', 'live-composer-page-builder' ),
4612
+ 'id' => 'css_res_p_main_p_padding_group',
4613
+ 'type' => 'group',
4614
+ 'action' => 'open',
4615
+ 'section' => 'responsive',
4616
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4617
+ ),
4618
+ array(
4619
+ 'label' => __( 'Top', 'live-composer-page-builder' ),
4620
+ 'id' => 'css_res_p_main_p_padding_top',
4621
+ 'std' => '0',
4622
+ 'type' => 'slider',
4623
+ 'refresh_on_change' => false,
4624
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4625
+ 'affect_on_change_rule' => 'padding-top',
4626
+ 'section' => 'responsive',
4627
+ 'ext' => 'px',
4628
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4629
+ ),
4630
+ array(
4631
+ 'label' => __( 'Right', 'live-composer-page-builder' ),
4632
+ 'id' => 'css_res_p_main_p_padding_right',
4633
+ 'std' => '0',
4634
+ 'type' => 'slider',
4635
+ 'refresh_on_change' => false,
4636
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4637
+ 'affect_on_change_rule' => 'padding-right',
4638
+ 'section' => 'responsive',
4639
+ 'ext' => 'px',
4640
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4641
+ ),
4642
+ array(
4643
+ 'label' => __( 'Bottom', 'live-composer-page-builder' ),
4644
+ 'id' => 'css_res_p_main_p_padding_bottom',
4645
+ 'std' => '0',
4646
+ 'type' => 'slider',
4647
+ 'refresh_on_change' => false,
4648
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4649
+ 'affect_on_change_rule' => 'padding-bottom',
4650
+ 'section' => 'responsive',
4651
+ 'ext' => 'px',
4652
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4653
+ ),
4654
+ array(
4655
+ 'label' => __( 'Left', 'live-composer-page-builder' ),
4656
+ 'id' => 'css_res_p_main_p_padding_left',
4657
+ 'std' => '0',
4658
+ 'type' => 'slider',
4659
+ 'refresh_on_change' => false,
4660
+ 'affect_on_change_el' => '.dslc-text-module-content p',
4661
+ 'affect_on_change_rule' => 'padding-left',
4662
+ 'section' => 'responsive',
4663
+ 'ext' => 'px',
4664
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
4665
+ ),
4666
+ array(
4667
+ 'id' => 'css_res_p_main_p_padding_group',
4668
+ 'type' => 'group',
4669
+ 'action' => 'close',
4670
  'section' => 'responsive',
4671
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
 
4672
  ),
4673
  array(
4674
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
5159
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
5160
 
5161
  // Cache calculated array in WP Object Cache.
5162
+ wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options, 'dslc_modules' );
5163
 
5164
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
5165
 
5191
  }
5192
 
5193
  $output_content = stripslashes( $options['content'] );
5194
+ echo apply_filters( 'dslc_text_block_render', $output_content );
5195
 
5196
  if ( $dslc_active ) {
5197
  ?></div><!-- .dslca-editable-content --><?php
modules/tp-comments-form/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Comments_Form extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -1363,7 +1363,7 @@ function dslc_module_comments_form_output( $atts, $content = null ) {
1363
  global $commenter;
1364
  comment_form( array(
1365
  'label_submit' => $txt_submit_comment,
1366
- 'cancel_reply_link' => 'cancel',
1367
  'comment_notes_before' => '',
1368
  'comment_notes_after' => '',
1369
  'title_reply' => $txt_leave_comment,
8
 
9
  class DSLC_TP_Comments_Form extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
1363
  global $commenter;
1364
  comment_form( array(
1365
  'label_submit' => $txt_submit_comment,
1366
+ 'cancel_reply_link' => __( 'cancel', 'live-composer-page-builder' ),
1367
  'comment_notes_before' => '',
1368
  'comment_notes_after' => '',
1369
  'title_reply' => $txt_leave_comment,
modules/tp-comments/module.php CHANGED
@@ -10,10 +10,10 @@ include DS_LIVE_COMPOSER_ABS . '/modules/tp-comments/functions.php';
10
 
11
  class DSLC_TP_Comments extends DSLC_Module {
12
 
13
- var $module_id;
14
- var $module_title;
15
- var $module_icon;
16
- var $module_category;
17
 
18
  function __construct() {
19
 
@@ -1641,7 +1641,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1641
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
1642
 
1643
  // Cache calculated array in WP Object Cache.
1644
- wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options ,'dslc_modules' );
1645
 
1646
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1647
 
10
 
11
  class DSLC_TP_Comments extends DSLC_Module {
12
 
13
+ public $module_id;
14
+ public $module_title;
15
+ public $module_icon;
16
+ public $module_category;
17
 
18
  function __construct() {
19
 
1641
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
1642
 
1643
  // Cache calculated array in WP Object Cache.
1644
+ wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options, 'dslc_modules' );
1645
 
1646
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1647
 
modules/tp-content/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Content extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Content extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-downloads-button/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Downloads_Button extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -74,7 +74,6 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
74
  'std' => __( 'DOWNLOAD', 'live-composer-page-builder' ),
75
  'type' => 'text',
76
  'section' => 'styling',
77
- 'tab' => __( 'Button', 'live-composer-page-builder' ),
78
  ),
79
  array(
80
  'label' => __( 'BG Color', 'live-composer-page-builder' ),
@@ -310,7 +309,30 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
310
  /**
311
  * Icon
312
  */
313
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  array(
315
  'label' => __( 'Icon', 'live-composer-page-builder' ),
316
  'id' => 'button_icon_id',
@@ -319,14 +341,36 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
319
  'section' => 'styling',
320
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
321
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  array(
323
  'label' => __( 'Color', 'live-composer-page-builder' ),
324
  'id' => 'css_button_icon_color',
325
  'std' => '#9fbeeb',
326
  'type' => 'color',
327
  'refresh_on_change' => false,
328
- 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon',
329
- 'affect_on_change_rule' => 'color',
330
  'section' => 'styling',
331
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
332
  ),
@@ -336,7 +380,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
336
  'std' => '10',
337
  'type' => 'slider',
338
  'refresh_on_change' => false,
339
- 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon',
340
  'affect_on_change_rule' => 'margin-right',
341
  'section' => 'styling',
342
  'ext' => 'px',
@@ -404,13 +448,25 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
404
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
405
  'ext' => 'px',
406
  ),
 
 
 
 
 
 
 
 
 
 
 
 
407
  array(
408
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
409
  'id' => 'css_res_t_button_icon_margin',
410
  'std' => '10',
411
  'type' => 'slider',
412
  'refresh_on_change' => false,
413
- 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon',
414
  'affect_on_change_rule' => 'margin-right',
415
  'section' => 'responsive',
416
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
@@ -478,13 +534,25 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
478
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
479
  'ext' => 'px',
480
  ),
 
 
 
 
 
 
 
 
 
 
 
 
481
  array(
482
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
483
  'id' => 'css_res_p_button_icon_margin',
484
  'std' => '10',
485
  'type' => 'slider',
486
  'refresh_on_change' => false,
487
- 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon',
488
  'affect_on_change_rule' => 'margin-right',
489
  'section' => 'responsive',
490
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
@@ -546,8 +614,10 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
546
  <?php else : ?>
547
  <a target="_blank" class="dslc-download-count-hook" data-post-id="<?php echo $post_id; ?>" href="<?php echo $download_link; ?>" download>
548
  <?php endif; ?>
549
- <?php if ( isset( $options['button_icon_id'] ) && $options['button_icon_id'] != '' ) : ?>
550
- <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
 
 
551
  <?php endif; ?>
552
  <?php if ( $dslc_is_admin ) : ?>
553
  <span class="dslca-editable-content" data-id="button_text" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?>><?php echo $options['button_text']; ?></span>
8
 
9
  class DSLC_TP_Downloads_Button extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
74
  'std' => __( 'DOWNLOAD', 'live-composer-page-builder' ),
75
  'type' => 'text',
76
  'section' => 'styling',
 
77
  ),
78
  array(
79
  'label' => __( 'BG Color', 'live-composer-page-builder' ),
309
  /**
310
  * Icon
311
  */
312
+
313
+ array(
314
+ 'label' => __( 'Show Icon', 'live-composer-page-builder' ),
315
+ 'id' => 'show_icon',
316
+ 'std' => 'font',
317
+ 'type' => 'select',
318
+ 'choices' => array(
319
+ array(
320
+ 'label' => __( 'Font', 'live-composer-page-builder' ),
321
+ 'value' => 'font',
322
+ ),
323
+ array(
324
+ 'label' => __( 'SVG', 'live-composer-page-builder' ),
325
+ 'value' => 'svg',
326
+ ),
327
+ ),
328
+ 'dependent_controls' => array(
329
+ 'font' => 'button_icon_id',
330
+ 'svg' => 'button_inline_svg, css_button_icon_size_svg',
331
+ ),
332
+ 'help' => __( 'Select type of icon.', 'live-composer-page-builder' ),
333
+ 'section' => 'styling',
334
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
335
+ ),
336
  array(
337
  'label' => __( 'Icon', 'live-composer-page-builder' ),
338
  'id' => 'button_icon_id',
341
  'section' => 'styling',
342
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
343
  ),
344
+ array(
345
+ 'label' => __( 'Inline SVG', 'live-composer-page-builder' ),
346
+ 'id' => 'button_inline_svg',
347
+ 'std' => '',
348
+ 'type' => 'textarea',
349
+ 'section' => 'functionality',
350
+ 'help' => __( 'Paste your SVG code.', 'live-composer-page-builder' ),
351
+ 'section' => 'styling',
352
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
353
+ ),
354
+ array(
355
+ 'label' => __( 'Size ( SVG )', 'live-composer-page-builder' ),
356
+ 'id' => 'css_button_icon_size_svg',
357
+ 'std' => '11',
358
+ 'type' => 'slider',
359
+ 'refresh_on_change' => false,
360
+ 'affect_on_change_el' => '.dslc-tp-download-button a svg',
361
+ 'affect_on_change_rule' => 'width, height',
362
+ 'section' => 'styling',
363
+ 'tab' => __( 'Icon', 'live-composer-page-builder' ),
364
+ 'ext' => 'px',
365
+ ),
366
  array(
367
  'label' => __( 'Color', 'live-composer-page-builder' ),
368
  'id' => 'css_button_icon_color',
369
  'std' => '#9fbeeb',
370
  'type' => 'color',
371
  'refresh_on_change' => false,
372
+ 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon, .dslc-tp-download-button a svg',
373
+ 'affect_on_change_rule' => 'color, fill',
374
  'section' => 'styling',
375
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
376
  ),
380
  'std' => '10',
381
  'type' => 'slider',
382
  'refresh_on_change' => false,
383
+ 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon, .dslc-tp-download-button a svg',
384
  'affect_on_change_rule' => 'margin-right',
385
  'section' => 'styling',
386
  'ext' => 'px',
448
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
449
  'ext' => 'px',
450
  ),
451
+ array(
452
+ 'label' => __( 'Icon - Size ( SVG )', 'live-composer-page-builder' ),
453
+ 'id' => 'css_res_t_button_icon_size_svg',
454
+ 'std' => '11',
455
+ 'type' => 'slider',
456
+ 'refresh_on_change' => false,
457
+ 'affect_on_change_el' => '.dslc-tp-download-button a svg',
458
+ 'affect_on_change_rule' => 'width, height',
459
+ 'section' => 'responsive',
460
+ 'tab' => __( 'Tablet', 'live-composer-page-builder' ),
461
+ 'ext' => 'px',
462
+ ),
463
  array(
464
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
465
  'id' => 'css_res_t_button_icon_margin',
466
  'std' => '10',
467
  'type' => 'slider',
468
  'refresh_on_change' => false,
469
+ 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon, .dslc-tp-download-button a svg',
470
  'affect_on_change_rule' => 'margin-right',
471
  'section' => 'responsive',
472
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
534
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
535
  'ext' => 'px',
536
  ),
537
+ array(
538
+ 'label' => __( 'Icon - Size ( SVG )', 'live-composer-page-builder' ),
539
+ 'id' => 'css_res_p_button_icon_size_svg',
540
+ 'std' => '11',
541
+ 'type' => 'slider',
542
+ 'refresh_on_change' => false,
543
+ 'affect_on_change_el' => '.dslc-tp-download-button a svg',
544
+ 'affect_on_change_rule' => 'width, height',
545
+ 'section' => 'responsive',
546
+ 'tab' => __( 'Phone', 'live-composer-page-builder' ),
547
+ 'ext' => 'px',
548
+ ),
549
  array(
550
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
551
  'id' => 'css_res_p_button_icon_margin',
552
  'std' => '10',
553
  'type' => 'slider',
554
  'refresh_on_change' => false,
555
+ 'affect_on_change_el' => '.dslc-tp-download-button a .dslc-icon, .dslc-tp-download-button a svg',
556
  'affect_on_change_rule' => 'margin-right',
557
  'section' => 'responsive',
558
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
614
  <?php else : ?>
615
  <a target="_blank" class="dslc-download-count-hook" data-post-id="<?php echo $post_id; ?>" href="<?php echo $download_link; ?>" download>
616
  <?php endif; ?>
617
+ <?php if ( 'svg' == $options['show_icon'] ) : ?>
618
+ <?php echo stripslashes( $options['button_inline_svg'] ); ?>
619
+ <?php else : ?>
620
+ <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
621
  <?php endif; ?>
622
  <?php if ( $dslc_is_admin ) : ?>
623
  <span class="dslca-editable-content" data-id="button_text" data-type="simple" <?php if ( $dslc_is_admin ) { echo 'contenteditable';} ?>><?php echo $options['button_text']; ?></span>
modules/tp-excerpt/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Excerpt extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Excerpt extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-gallery-slider/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Gallery_Slider extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Gallery_Slider extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-meta/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Meta extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Meta extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-project-slider/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Project_Slider extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Project_Slider extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-staff-social/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Staff_Social extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Staff_Social extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-thumbnail/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Thumbnail extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Thumbnail extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/tp-title/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_TP_Title extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
8
 
9
  class DSLC_TP_Title extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
modules/widgets/module.php CHANGED
@@ -26,28 +26,28 @@ class DSLC_Widgets extends DSLC_Module {
26
  *
27
  * @var integer
28
  */
29
- var $module_id;
30
 
31
  /**
32
  * Module Title
33
  *
34
  * @var string
35
  */
36
- var $module_title;
37
 
38
  /**
39
  * Module Icon
40
  *
41
  * @var string
42
  */
43
- var $module_icon;
44
 
45
  /**
46
  * Module Section in LC UI
47
  *
48
  * @var string
49
  */
50
- var $module_category;
51
 
52
  /**
53
  * Class constructor
@@ -1540,7 +1540,7 @@ class DSLC_Widgets extends DSLC_Module {
1540
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
1541
 
1542
  // Cache calculated array in WP Object Cache.
1543
- wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options ,'dslc_modules' );
1544
 
1545
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1546
 
26
  *
27
  * @var integer
28
  */
29
+ public $module_id;
30
 
31
  /**
32
  * Module Title
33
  *
34
  * @var string
35
  */
36
+ public $module_title;
37
 
38
  /**
39
  * Module Icon
40
  *
41
  * @var string
42
  */
43
+ public $module_icon;
44
 
45
  /**
46
  * Module Section in LC UI
47
  *
48
  * @var string
49
  */
50
+ public $module_category;
51
 
52
  /**
53
  * Class constructor
1540
  $dslc_options = array_merge( $dslc_options, $this->presets_options() );
1541
 
1542
  // Cache calculated array in WP Object Cache.
1543
+ wp_cache_add( 'dslc_options_' . $this->module_id, $dslc_options, 'dslc_modules' );
1544
 
1545
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1546
 
modules/woocommerce/module.php CHANGED
@@ -8,10 +8,10 @@ if ( ! defined( 'ABSPATH' ) ) {
8
 
9
  class DSLC_WooCommerce_Products extends DSLC_Module {
10
 
11
- var $module_id;
12
- var $module_title;
13
- var $module_icon;
14
- var $module_category;
15
 
16
  function __construct() {
17
 
@@ -2679,6 +2679,10 @@ function dslc_module_woocommerce_output( $atts, $content = null ) {
2679
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2680
  $show_header = true;
2681
  }
 
 
 
 
2682
 
2683
  /**
2684
  * Carousel Items
@@ -2775,7 +2779,7 @@ function dslc_module_woocommerce_output( $atts, $content = null ) {
2775
 
2776
  <!-- Carousel -->
2777
 
2778
- <?php if ( $show_carousel_arrows ) : ?>
2779
  <span class="dslc-carousel-nav fr">
2780
  <span class="dslc-carousel-nav-inner">
2781
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
@@ -2795,9 +2799,13 @@ function dslc_module_woocommerce_output( $atts, $content = null ) {
2795
 
2796
  if ( $dslc_query->have_posts() ) :
2797
 
2798
- ?><div class="<?php echo $container_class; ?>"><?php
 
 
 
 
2799
 
2800
- ?><div class="dslc-posts-inner"><?php
2801
 
2802
  if ( 'carousel' === $options['type'] ) :
2803
 
@@ -3059,9 +3067,13 @@ if ( $options['type'] == 'carousel' ) :
3059
 
3060
  endif;
3061
 
3062
- ?></div><!-- .dslc-posts-inner --><?php
 
 
 
 
3063
 
3064
- ?></div><?php
3065
 
3066
  else :
3067
 
8
 
9
  class DSLC_WooCommerce_Products extends DSLC_Module {
10
 
11
+ public $module_id;
12
+ public $module_title;
13
+ public $module_icon;
14
+ public $module_category;
15
 
16
  function __construct() {
17
 
2679
  if ( $show_heading || $show_filters || $show_carousel_arrows ) {
2680
  $show_header = true;
2681
  }
2682
+
2683
+ if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) {
2684
+ $container_class .= 'dslc-carousel-arrow-aside ';
2685
+ }
2686
 
2687
  /**
2688
  * Carousel Items
2779
 
2780
  <!-- Carousel -->
2781
 
2782
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'above' ) ) : ?>
2783
  <span class="dslc-carousel-nav fr">
2784
  <span class="dslc-carousel-nav-inner">
2785
  <a href="#" class="dslc-carousel-nav-prev"><span class="dslc-icon-chevron-left"></span></a>
2799
 
2800
  if ( $dslc_query->have_posts() ) :
2801
 
2802
+ ?><div class="<?php echo $container_class; ?>">
2803
+
2804
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
2805
+ <a href="#" class="dslc-carousel-nav-prev position-aside"><span class="dslc-icon-chevron-left"></span></a>
2806
+ <?php endif; ?>
2807
 
2808
+ <div class="dslc-posts-inner"><?php
2809
 
2810
  if ( 'carousel' === $options['type'] ) :
2811
 
3067
 
3068
  endif;
3069
 
3070
+ ?></div><!-- .dslc-posts-inner -->
3071
+
3072
+ <?php if ( $show_carousel_arrows && ( $options['arrows_position'] == 'aside' ) ) : ?>
3073
+ <a href="#" class="dslc-carousel-nav-next position-aside"><span class="dslc-icon-chevron-right"></span></a>
3074
+ <?php endif; ?>
3075
 
3076
+ </div><?php
3077
 
3078
  else :
3079
 
readme.txt CHANGED
@@ -3,86 +3,114 @@ Contributors: LiveComposer
3
  Tags: page builder, visual composer, visual editor, visual builder, drag and drop builder, landing page builder, frontend editor, frontend builder, landing pages, landing page, website builder, theme builder, site-builder, layout builder, drag-and-drop, builder, editor, responsive, mobile, layout, front end, frontend, Page Layout, squeeze page, page builder plugin, drag-n-drop page builder
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
- Stable tag: 1.3.9
7
  License: GPLv3
8
 
9
  Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
10
 
11
  == Description ==
12
 
13
- = Create Stunning Websites Visually =
14
 
15
- [Live Composer](https://livecomposerplugin.com/) is the most innovative website builder for WordPress. Create stunning custom page designs in real-time right on your page. Drag & drop front-end editing is a perfectly intuitive way to create and customize great looking websites.
16
 
17
- Do it yourself with easy content editing in real-time. Save your money on expensive coding and customization services. No tech skills needed. Live Composer is a great tool for web designers, digital marketing specialists, WordPress theme developers and freelance consultants. Create an exceptional landing page, portfolio or fully featured pro website for your client.
18
 
19
- = Over 50,000 Site Owners Chose Live Composer =
20
 
21
- You can trust our page builder. It's a proven solution for your business. 100% open source and backed by the experienced team of web developers. We are on the market for more than 2 years. All the major bugs already fixed and new updates released regularly. Every day our developers work on code improvement and new features. Our support is exceptional but still free.
22
 
23
- = Get Started Without Reading Any Documentation =
24
 
25
- Site design customization or page layout changes shouldn't be difficult or expensive. Our page builder is easy to use without reading any documentation. You'll be building beautiful custom WordPress site designs in no time. Create multi-media rich pages with very little effort: add new sections, rearrange columns, and add media from the same screen. It's a perfect solution for ALL users. No technical skills required.
26
 
27
- = Create Custom Page Layouts in Minutes =
28
 
29
- Live Composer is a simple but very powerful [WordPress site builder](https://livecomposerplugin.com/). Customize every little detail on your website or build stunning custom pages from scratch.
30
 
31
- = Well Integrated With WordPress =
32
 
33
  Our page builder works with works with any standard compliant WordPress theme. It's fully compatible with other plugins like Yoast WP SEO or contact form builders. We also have a [marketplace with free and premium themes](https://livecomposerplugin.com/themes/) created especially for Live Composer.
34
 
35
- = No Code Left Behind When the Plugin Deactivated =
36
 
37
- Unlike other page builders, Live Composer doesn't leave behind horrible amount of shortcodes when the plugin deactivated. It's not a commitment to a single plugin. We don't lock you. It's easy to start using any other page builder without a need to remove all the custom shortcodes before implementing a new solution.
38
 
39
- = 100% Open Source =
40
 
41
- Previously a premium plugin, Live Composer page builder is now free fully functional plugin. Actively developed by [professional web developers](https://livecomposerplugin.com/) it has a bright future for years to come.
42
 
43
- = No Coding Skills Required =
44
 
45
  Anyone can build pro website with Live Composer page builder. No coding or technical skills required. Our site builder will generate all the code for you.
46
 
47
- = Export/Import Sections, Layouts or while Pages =
48
 
49
  Export any page section or the whole page. Reuse layout or page design you created.
50
 
51
- = Mobile Responsive =
52
 
53
- It's easy to create responsive websites in our page builder. You can customize responsive presentation of any page element to make it looks perfect on all mobile devices, ensuring your site is mobile-ready.
54
 
55
 
56
  == Installation ==
57
 
58
- Install and Activate as you would any other plugin
59
 
60
  == Frequently Asked Questions ==
61
 
62
  = How to I activate the page builder on a page? =
63
 
64
- When you visit a page you'll see a green "activate editor" button in the bottom right corner, click that and the page will reload in LC mode ( LCPB ).
65
 
66
  = Why is the "activate editor" button missing from the homepage =
67
 
68
- In most of the cases, this is because the homepage is not a real WordPress page, it's custom content generated by the theme's index.php. Publish a new page and set it as the homepage ( WP Admin > Settings > Reading > Front Page ). Now you can use LC on the homepage.
69
 
70
  == Screenshots ==
71
 
72
- 1. Editor activated on a page
73
 
74
  == Changelog ==
75
 
76
- = Merry Christmas & Happy New Year =
77
-
78
  [Peace](https://livecomposerplugin.com/peace) · [Pace](https://livecomposerplugin.com/peace) · [Paix](https://livecomposerplugin.com/peace) · [Paz](https://livecomposerplugin.com/peace) · [Pokój](https://livecomposerplugin.com/peace) · [Мир](https://livecomposerplugin.com/peace) · [Mír](https://livecomposerplugin.com/peace) · [Mier](https://livecomposerplugin.com/peace) · [Frieden](https://livecomposerplugin.com/peace) · [Fred](https://livecomposerplugin.com/peace) · [Vrede](https://livecomposerplugin.com/peace) · [Barış](https://livecomposerplugin.com/peace) · [Béke](https://livecomposerplugin.com/peace) · [Kedamaian](https://livecomposerplugin.com/peace) · [Hasîtî](https://livecomposerplugin.com/peace) · [Ειρήνη](https://livecomposerplugin.com/peace) · [和平](https://livecomposerplugin.com/peace) · [平和](https://livecomposerplugin.com/peace) · [שָׁלוֹם](https://livecomposerplugin.com/peace) · [سلام](https://livecomposerplugin.com/peace) · [สันติภาพ](https://livecomposerplugin.com/peace) · [शान्ति](https://livecomposerplugin.com/peace)
79
 
80
- - - - - - - - - - - - - - - - - - -
81
-
82
  * 🐛 [Please, report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
83
  * ⌛ [You can download any previous version here](https://github.com/live-composer/live-composer-page-builder/releases)
84
 
85
- - - - - - - - - - - - - - - - - - -
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
  = 1.3.9 - November 27th 2017 =
88
 
3
  Tags: page builder, visual composer, visual editor, visual builder, drag and drop builder, landing page builder, frontend editor, frontend builder, landing pages, landing page, website builder, theme builder, site-builder, layout builder, drag-and-drop, builder, editor, responsive, mobile, layout, front end, frontend, Page Layout, squeeze page, page builder plugin, drag-n-drop page builder
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
+ Stable tag: 1.3.11
7
  License: GPLv3
8
 
9
  Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
10
 
11
  == Description ==
12
 
13
+ = 👓 Create Stunning Websites Visually =
14
 
15
+ [Live Composer page builder](https://livecomposerplugin.com/) is complete and feature-reach website builder for WordPress. In our page builder, you get most of the features for free paying only for [Woo-Commerce support](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration) and [advanced integrations](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) (ACF, CPT, Mega Menus). Create stunning custom page designs in real-time. Drag & drop front-end editing is a perfectly intuitive way to create and customize great looking websites.
16
 
17
+ Do it yourself with easy content editing in real-time. Save your money on expensive coding and customization services. No tech skills needed to create professional websites in our page builder. Live Composer is a great tool for web designers, digital marketing specialists, WordPress theme developers and freelance consultants. Learn our page builder once and cut your website building time with every next project. Create an exceptional landing page, portfolio or fully featured pro website for your client.
18
 
19
+ = 🏆 Over 50,000 Site Owners Chose Live Composer page builder =
20
 
21
+ You can trust our plugin. 100% open source page builder backed by the experienced team of web developers. Our page builder on the market for more than 2 years. All the major bugs already fixed and new updates released regularly. Every day our developers work on code improvements and new features. With a purchase of any [premium extension](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) you also getting access to our exceptional one-to-one support.
22
 
23
+ = 📙 Our Page Builder comes with an [extensive documentation](https://livecomposer.help/), but you don't need it =
24
 
25
+ Site design customization or page layout changes shouldn't be difficult or expensive. Our page builder is easy to use without reading [any documentation](https://livecomposer.help/). You'll be building beautiful custom WordPress site designs in no time. Create multi-media rich pages with very little effort: add new sections, rearrange columns, and add media from the same screen. It's a perfect solution for ALL users. No technical skills required.
26
 
27
+ = Create Custom Page Layouts in Minutes =
28
 
29
+ Live Composer page builder is a simple but very powerful [WordPress site builder](https://livecomposerplugin.com/). Customize every little detail on your website or build stunning custom pages from scratch.
30
 
31
+ = 🎯 Well Integrated With WordPress =
32
 
33
  Our page builder works with works with any standard compliant WordPress theme. It's fully compatible with other plugins like Yoast WP SEO or contact form builders. We also have a [marketplace with free and premium themes](https://livecomposerplugin.com/themes/) created especially for Live Composer.
34
 
35
+ = No Code Left Behind When the Plugin Deactivated =
36
 
37
+ Unlike other page builders, Live Composer doesn't leave behind the horrible amount of shortcodes when the plugin deactivated. It's not a commitment to a single plugin. We don't lock you. It's easy to start using any other page builder without a need to remove all the custom shortcodes before implementing a new solution.
38
 
39
+ = 100% Open Source Page Builder =
40
 
41
+ Previously a premium plugin, Live Composer page builder is now a free fully functional plugin. Actively developed by [professional web developers](https://livecomposerplugin.com/) it has a bright future for years to come.
42
 
43
+ = 🙈 No Coding Skills Required =
44
 
45
  Anyone can build pro website with Live Composer page builder. No coding or technical skills required. Our site builder will generate all the code for you.
46
 
47
+ = 🌀 Export/Import Sections, Layouts or while Pages =
48
 
49
  Export any page section or the whole page. Reuse layout or page design you created.
50
 
51
+ = 📱 Mobile Responsive Page Builder =
52
 
53
+ It's easy to create responsive websites in our page builder. You can customize the responsive presentation of any page element to make it looks perfect on all mobile devices, ensuring your site is mobile-ready.
54
 
55
 
56
  == Installation ==
57
 
58
+ Install and Activate our page builder from your WordPress admin as any other plugin
59
 
60
  == Frequently Asked Questions ==
61
 
62
  = How to I activate the page builder on a page? =
63
 
64
+ When you visit a page you'll see a green "activate editor" button in the bottom right corner, click that and the page will reload with page builder ready to use.
65
 
66
  = Why is the "activate editor" button missing from the homepage =
67
 
68
+ In most of the cases, this is because the homepage is not a real WordPress page, it's custom content generated by the theme's index.php. Publish a new page and set it as the homepage ( WP Admin > Settings > Reading > Front Page ). Now you can use page builder on the homepage too.
69
 
70
  == Screenshots ==
71
 
72
+ 1. Page builder in editing mode
73
 
74
  == Changelog ==
75
 
 
 
76
  [Peace](https://livecomposerplugin.com/peace) · [Pace](https://livecomposerplugin.com/peace) · [Paix](https://livecomposerplugin.com/peace) · [Paz](https://livecomposerplugin.com/peace) · [Pokój](https://livecomposerplugin.com/peace) · [Мир](https://livecomposerplugin.com/peace) · [Mír](https://livecomposerplugin.com/peace) · [Mier](https://livecomposerplugin.com/peace) · [Frieden](https://livecomposerplugin.com/peace) · [Fred](https://livecomposerplugin.com/peace) · [Vrede](https://livecomposerplugin.com/peace) · [Barış](https://livecomposerplugin.com/peace) · [Béke](https://livecomposerplugin.com/peace) · [Kedamaian](https://livecomposerplugin.com/peace) · [Hasîtî](https://livecomposerplugin.com/peace) · [Ειρήνη](https://livecomposerplugin.com/peace) · [和平](https://livecomposerplugin.com/peace) · [平和](https://livecomposerplugin.com/peace) · [שָׁלוֹם](https://livecomposerplugin.com/peace) · [سلام](https://livecomposerplugin.com/peace) · [สันติภาพ](https://livecomposerplugin.com/peace) · [शान्ति](https://livecomposerplugin.com/peace)
77
 
78
+ = FOUND A BUG? =
 
79
  * 🐛 [Please, report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
80
  * ⌛ [You can download any previous version here](https://github.com/live-composer/live-composer-page-builder/releases)
81
 
82
+ = 1.3.11 - February 9th 2018 =
83
+
84
+ = FOR OUR PRO USERS: =
85
+ * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
86
+ * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
87
+
88
+ In this update we improve compatibility with Yoast SEO plugin and our premium [WooCommerce Integration](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration). Added a possibility to create your custom SVG icons, and improved design controls for many default modules. Default caching engine works better as well.
89
+
90
+ = Bug Fixes: =
91
+ * Issue [#877](https://github.com/live-composer/live-composer-page-builder/issues/877): The category archive listing issue with the very first post ( Custom Post Type )
92
+ * Issue [#873](https://github.com/live-composer/live-composer-page-builder/issues/873): Show/Hide Dependency
93
+ * Issue [#860](https://github.com/live-composer/live-composer-page-builder/issues/860): A string from the Comment module cannot be translated
94
+ * Issue [#852](https://github.com/live-composer/live-composer-page-builder/issues/852): Module Testimonials: Option 'Row Separator' don't work
95
+ * Issue [#740](https://github.com/live-composer/live-composer-page-builder/issues/740): Broken select control in SLIDER module
96
+ * Issue [#850](https://github.com/live-composer/live-composer-page-builder/issues/850): Broken shortcodes in the posts preview.
97
+ * Issue [#847](https://github.com/live-composer/live-composer-page-builder/issues/847): Yoast Open Graph tags do not show on the posts powered by custom templates.
98
+ * Issue [#846](https://github.com/live-composer/live-composer-page-builder/issues/846): Missing color transparency control for the text shadow block in the Text module.
99
+ * Issue [#844](https://github.com/live-composer/live-composer-page-builder/issues/844): Broken cache engine when premium extensions enabled.
100
+ * Issue [#840](https://github.com/live-composer/live-composer-page-builder/issues/840): Improve compatibility with our premium [WooCommerce Integration](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration).
101
+
102
+ = Improved: =
103
+ * Issue [#868](https://github.com/live-composer/live-composer-page-builder/issues/868): Module Testimonials: Add Logo and Icon
104
+ * Issue [#867](https://github.com/live-composer/live-composer-page-builder/issues/867): Add arrows on the sides for modules ( post based )
105
+ * Some editing iterface elements polished also removed unwated Google font calls.
106
+ * Issue [#839](https://github.com/live-composer/live-composer-page-builder/issues/839): Add filter for display module options (useful for 3-rd party developers).
107
+ * Issue [#838](https://github.com/live-composer/live-composer-page-builder/issues/838): Add action hooks for css-generation.php (useful for 3-rd party developers).
108
+ * Issue [#799](https://github.com/live-composer/live-composer-page-builder/issues/799): Removed direct access to the footer/header templates.
109
+
110
+ = New: =
111
+ * Issue [#871](https://github.com/live-composer/live-composer-page-builder/issues/871): Add the ability to add icon SVG
112
+ * Issue [#859](https://github.com/live-composer/live-composer-page-builder/issues/859): New options for modules
113
+
114
 
115
  = 1.3.9 - November 27th 2017 =
116