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

Version Description

  • August 19th 2016 =

  • Report any bugs on GitHub

  • Here you can download any previous verison

  • See latest changes in details with animated gifs and videos

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.1.3
Comparing to
See all releases

Code changes from version 1.1.2 to 1.1.3

Files changed (68) hide show
  1. css/builder.min.css +1 -1
  2. css/builder/builder.main.css +34 -12
  3. css/frontend.min.css +1 -1
  4. css/frontend/main.css +55 -12
  5. ds-live-composer.php +2 -2
  6. includes/ajax.php +2 -0
  7. includes/archive-templates.php +0 -1
  8. includes/class.module.php +2 -2
  9. includes/display-functions.php +16 -28
  10. includes/functions.php +38 -2
  11. includes/header-footer.php +18 -2
  12. includes/plugin-options-framework/inc/access-control.php +0 -1
  13. includes/plugin-options-framework/inc/display-options.php +2 -2
  14. includes/plugin-options-framework/inc/options.php +0 -19
  15. includes/plugin-options-framework/inc/performance.php +0 -1
  16. includes/plugin-options-framework/js/main.js +1 -1
  17. includes/plugin-options-framework/js/main.min.js +1 -1
  18. includes/post-options-framework/post-options-framework.php +18 -4
  19. includes/single-templates-framework/inc/filters.php +4 -3
  20. js/builder.all.min.js +4 -4
  21. js/builder/builder.animations.functions.js +2 -2
  22. js/builder/builder.module.functions.js +1 -1
  23. js/builder/builder.modulearea.class.js +9 -4
  24. js/builder/builder.presets.functions.js +1 -1
  25. js/builder/builder.row.class.js +6 -4
  26. js/builder/builder.scroller.functions.js +62 -45
  27. js/builder/builder.sectionscontainer.class.js +7 -4
  28. js/builder/builder.settings.panel.functions.js +0 -2
  29. js/builder/builder.uigeneral.functions.js +4 -1
  30. js/builder/builder.util.functions.js +21 -4
  31. js/frontend.all.min.js +1 -1
  32. js/frontend/main.js +5 -1
  33. modules/accordion/module.php +33 -13
  34. modules/blog/module.php +74 -58
  35. modules/button/module.php +27 -7
  36. modules/downloads/module.php +70 -52
  37. modules/galleries/module.php +67 -49
  38. modules/html/module.php +95 -75
  39. modules/icon/module.php +26 -7
  40. modules/image/module.php +32 -12
  41. modules/infobox/module.php +127 -112
  42. modules/navigation/module.php +131 -102
  43. modules/notification/module.php +34 -15
  44. modules/partners/module.php +24 -5
  45. modules/posts/module.php +62 -42
  46. modules/progress-bars/module.php +31 -13
  47. modules/projects/module.php +59 -41
  48. modules/separator/module.php +22 -3
  49. modules/sliders/module.php +21 -1
  50. modules/social/module.php +35 -16
  51. modules/staff/module.php +58 -40
  52. modules/tabs/module.php +71 -59
  53. modules/testimonials/module.php +47 -29
  54. modules/text-simple/module.php +117 -97
  55. modules/tp-comments-form/module.php +43 -23
  56. modules/tp-comments/module.php +41 -24
  57. modules/tp-content/module.php +119 -109
  58. modules/tp-downloads-button/module.php +32 -13
  59. modules/tp-excerpt/module.php +30 -11
  60. modules/tp-gallery-slider/module.php +35 -18
  61. modules/tp-meta/module.php +28 -9
  62. modules/tp-project-slider/module.php +35 -18
  63. modules/tp-staff-social/module.php +31 -12
  64. modules/tp-thumbnail/module.php +17 -2
  65. modules/tp-title/module.php +30 -11
  66. modules/widgets/module.php +21 -10
  67. modules/woocommerce/module.php +73 -55
  68. readme.txt +47 -4
css/builder.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after,.sp-cf:after{clear:both}html{top:-32px;position:relative}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}.inline-editor,.inline-editor *{-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{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.dslca-module-edit-option-select .dslca-icon,.dslca-modules-section-edit-option-select .dslca-icon{position:absolute;right:40px;top:64px;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-header{position:absolute;z-index:100;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-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-subsection{display:none}.dslca-module{color:#fff;display:inline-block;font-family:'Roboto Condensed',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_Staff],.dslca-module[data-id=DSLC_Separator],.dslca-module[data-id=DSLC_Notification],.dslca-module[data-id=DSLC_Sliders]{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{overflow:hidden;position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;overflow-x:auto;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option{display:table-cell;padding-bottom:20px;padding-right:30px;padding-top:30px;min-width:180px;position:relative}.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:#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-field-icon-switch-set{position:absolute;margin-top:8px;font-size:10px;line-height:13px;cursor:pointer}.dslca-module-edit-field-icon-switch-set .dslca-icon{color:rgba(255,255,255,.7);margin-right:4px}.dslca-module-edit-field-icon-switch-sets{background:#fff;color:#8a8a8a;font-family:'Open Sans',sans-serif;font-size:13px;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-switch-sets span{display:block;padding:5px 10px;cursor:pointer;border-radius:3px}.dslca-module-edit-field-icon-switch-sets span:hover{background:rgba(0,0,0,.1)}.dslca-module-edit-field-icon-switch-sets span.dslca-active{background:#5890e5;color:#fff}.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 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!important;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.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}.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-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{overflow:hidden;position:relative}.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:#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-templates{position:relative}.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:25px;min-height:120px;box-shadow:0 0 0 2px rgba(173,175,179,.4);text-align:center;vertical-align:middle}.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}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){opacity:.5;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{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #5890e5}.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 120px}.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 #eabba9}.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:-13px;padding-right:0;position:absolute;z-index:99998;width:100%;text-align:center}.dslca-modules-section-manage:hover{z-index:99999}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible!important}.dslca-module-manage-inner,.dslca-modules-section-manage-inner{background:#e5855f;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 .dslca-manage-action:hover{background:#da7348}.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:auto;right:100%;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:-10px;left:22px;z-index:99999;width:120px}.dslca-change-width-module-options{top:30px}.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:-2px;text-align:center;z-index:99999;overflow:hidden;line-height:1}.dslca-module-manage.dslca-module-manage-change-width-active{z-index:100000}.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.js-error-text{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{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-size:12px;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;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}#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;top:-50px;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-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:relative;height:5px;margin-top:20px}.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}.dslca-container .dslca-module-edit-field-slider-tooltip,.dslca-container .dslca-modules-section-edit-field-slider-tooltip{display:none;position:absolute;background:#fff;border-radius:3px;bottom:20px;line-height:1;padding:10px;color:#838383;margin-left:-15px;font-size:14px}.dslca-container .dslca-module-edit-field-slider-tooltip:after,.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#fff transparent transparent;border-width:6px;left:50%;margin-left:-6px}.dslca-module-edit-option-slider input,.dslca-modules-section-edit-option-slider input{cursor:ew-resize}.dslca-module-edit-option-slider:hover:after,.dslca-modules-section-edit-option-slider:hover:after{content:"click and drag";display:block;font-size:11px;margin-top:5px;opacity:.4;position:absolute}.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{cursor:pointer;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-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;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{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,.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslc-hf-block-overlay-button{text-align:center;position:absolute;left:0;right:0;top:45%;display:inline-block;color:#fff;font-size:20px;font-family:'Open Sans',sans-serif;text-decoration:none;font-weight:700}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{outline:0!important;border:none!important}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,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}.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}.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}.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 0 20px}.dslca-module-edit-options-inner,.dslca-modules-section-edit-options-inner{overflow-x:scroll}.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-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-module-front .dslca-module-manage{overflow:hidden}.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage.dslca-module-manage-change-width-active{overflow:visible}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-wysiwyg-actions-edit-hook{top:0;opacity:0;-webkit-transition:opacity .1s ease-in-out;-moz-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.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-hook{top:0;opacity:1}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.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-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-family:'Open Sans',sans-serif;font-size:12px;line-height:1.25;padding:5px 8px 12px}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}.sp-container.sp-flat,.sp-top{position:relative}.sp-clear-enabled .sp-hue,.sp-hue{height:100%;top:0}.sp-container{top:0;left:0;display:inline-block;overflow:hidden}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{width:100%;display:inline-block}.sp-alpha-handle,.sp-color,.sp-dragger,.sp-hue,.sp-sat,.sp-slider,.sp-top-inner,.sp-val{position:absolute}.sp-top-inner{top:0;left:0;bottom:0;right:0}.sp-color{top:0;left:0;bottom:0;right:20%}.sp-hue{right:0;bottom:0;left:84%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha,.sp-clear,.sp-container.sp-buttons-disabled .sp-button-container,.sp-container.sp-input-disabled .sp-input-container,.sp-initial-disabled .sp-initial,.sp-palette-disabled .sp-palette-container,.sp-palette-only .sp-picker-container{display:none}.sp-alpha-handle{top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid #000;background:#fff;opacity:.8}.sp-alpha{bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:1px solid #333}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:none;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-alpha,.sp-alpha-handle,.sp-clear,.sp-container,.sp-container button,.sp-container.sp-dragging .sp-input,.sp-dragger,.sp-preview,.sp-replacer,.sp-slider{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-ms-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-o-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(.17,#ff0),color-stop(.33,#0f0),color-stop(.5,#0ff),color-stop(.67,#00f),color-stop(.83,#f0f),to(red));background:-webkit-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:after,.sp-cf:before{content:"";display:table}@media (max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;top:0;left:0}.sp-slider{top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:#fff;opacity:.8}.sp-container{border-radius:0;padding:0}.sp-clear,.sp-color,.sp-container,.sp-container button,.sp-container input,.sp-hue{font:400 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-clear,.sp-color,.sp-hue{border:1px solid #666}.sp-input-container{float:right;width:100px}.sp-initial-disabled .sp-input-container,.sp-input{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;background:0 0;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-palette-container,.sp-picker-container{float:left;position:relative;padding:10px 10px 300px;margin-bottom:-290px}.sp-picker-container{width:172px}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;cursor:pointer}.sp-palette .sp-thumb-el.sp-thumb-active,.sp-palette .sp-thumb-el:hover{border-color:orange}.sp-initial{float:left;border:1px solid #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;border:1px solid #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer.sp-active,.sp-replacer:hover{border-color:#F0C49B;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{width:25px;height:20px;border:1px solid #222;margin-right:5px;float:left;z-index:0}.sp-palette{max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:1px solid #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0 5px 0 0;padding:2px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span.sp-thumb-active,.sp-palette span:hover{border-color:#000}.sp-alpha,.sp-preview,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-alpha-inner,.sp-preview-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}.sp-container{position:fixed;z-index:99999999!important;background:#313131;border:0}.sp-picker-container{border:0}.sp-clear,.sp-color,.sp-hue{border-color:#000}.sp-button-container{float:none;text-align:right;clear:both;margin-top:10px}.dslca-container .sp-dd{display:none}.dslca-container .sp-preview{width:100%;height:15px;border:1px solid #3565ad;border-radius:4px;overflow:hidden}.dslca-sp-revert,.sp-cancel.dslc-icon,.sp-choose.dslc-icon{padding:0;margin:0;background:#e55f5f;display:inline-block;width:24px;height:24px;line-height:24px;font-size:12px;color:#fff!important;border-radius:3px;text-align:center;text-decoration:none!important;cursor:pointer;vertical-align:baseline}.sp-choose.dslc-icon{background:#78ca4f;margin-left:5px}.dslca-sp-revert{background:#06b2ac;float:left}.sp-input-container{margin-top:5px;margin-bottom:10px}body input[type=text].sp-input{background:#444!important;padding:5px;border:0;border-radius:0;color:#fff}.dslca-container .sp-replacer{opacity:0;visibility:hidden;display:inline-block!important;width:1px;vertical-align:middle;position:absolute;left:0;top:50px}.dslca-module-edit-option-box-shadow-single .sp-replacer{top:0}
1
+ .dslc-clear,.dslc-clearfix:after,.dslc-module-heading:after,.sp-cf:after{clear:both}html{top:-32px;position:relative}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{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.dslca-module-edit-option-select .dslca-icon,.dslca-modules-section-edit-option-select .dslca-icon{position:absolute;right:40px;top:64px;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-header{position:absolute;z-index:100;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-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-subsection{display:none}.dslca-module{color:#fff;display:inline-block;font-family:'Roboto Condensed',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_Sliders],.dslca-module[data-id=DSLC_Staff],.dslca-module[data-id=DSLC_Separator],.dslca-module[data-id=DSLC_Notification]{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{overflow:hidden;position:relative}.dslca-module-edit-options,.dslca-modules-section-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px;overflow-x:auto;min-height:58px;transform:translate(0,0)}.dslca-module-edit-option,.dslca-modules-section-edit-option,.dslca-pseudo-module-edit-option{display:table-cell;padding-bottom:20px;padding-right:30px;padding-top:30px;min-width:180px;position:relative}.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:#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-field-icon-switch-set{position:absolute;margin-top:8px;font-size:10px;line-height:13px;cursor:pointer}.dslca-module-edit-field-icon-switch-set .dslca-icon{color:rgba(255,255,255,.7);margin-right:4px}.dslca-module-edit-field-icon-switch-sets{background:#fff;color:#8a8a8a;font-family:'Open Sans',sans-serif;font-size:13px;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-switch-sets span{display:block;padding:5px 10px;cursor:pointer;border-radius:3px}.dslca-module-edit-field-icon-switch-sets span:hover{background:rgba(0,0,0,.1)}.dslca-module-edit-field-icon-switch-sets span.dslca-active{background:#5890e5;color:#fff}.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 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!important;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.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}.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-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{overflow:hidden;position:relative}.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:#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-templates{position:relative}.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:25px;min-height:120px;box-shadow:0 0 0 2px rgba(173,175,179,.4);text-align:center;vertical-align:middle}.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}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){opacity:.5;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{box-shadow:0 0 0 2px rgba(173,175,179,.4)}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #5890e5}.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 120px}.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 #eabba9}.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:-13px;padding-right:0;position:absolute;z-index:99998;width:100%;text-align:center}.dslca-modules-section-manage:hover{z-index:99999}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible!important}.dslca-module-manage-inner,.dslca-modules-section-manage-inner{background:#e5855f;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 .dslca-manage-action:hover{background:#da7348}.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:auto;right:100%;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:-10px;left:22px;z-index:99999;width:120px}.dslca-change-width-module-options{top:30px}.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:-2px;text-align:center;z-index:99999;overflow:hidden;line-height:1}.dslca-module-manage.dslca-module-manage-change-width-active{z-index:100000}.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.js-error-text{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{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-size:12px;font-family:'Open Sans',sans-serif;font-weight:700;cursor:pointer;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}#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;top:-50px;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-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:relative;height:5px;margin-top:20px}.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}.dslca-container .dslca-module-edit-field-slider-tooltip,.dslca-container .dslca-modules-section-edit-field-slider-tooltip{display:none;position:absolute;background:#fff;border-radius:3px;bottom:20px;line-height:1;padding:10px;color:#838383;margin-left:-15px;font-size:14px}.dslca-container .dslca-module-edit-field-slider-tooltip:after,.dslca-container .dslca-modules-section-edit-field-slider-tooltip:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:#fff transparent transparent;border-width:6px;left:50%;margin-left:-6px}.dslca-module-edit-option-slider input,.dslca-modules-section-edit-option-slider input{cursor:ew-resize}.dslca-module-edit-option-slider:hover:after,.dslca-modules-section-edit-option-slider:hover:after{content:"click and drag";display:block;font-size:11px;margin-top:5px;opacity:.4;position:absolute}.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{cursor:pointer;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-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;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}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}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}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,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}.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}.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}.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 0 20px}.dslca-module-edit-options-inner,.dslca-modules-section-edit-options-inner{overflow-x:scroll}.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-module-front .dslca-module-manage{overflow:hidden}.dslca-drag-not-in-progress .dslc-module-front:hover .dslca-module-manage.dslca-module-manage-change-width-active{overflow:visible}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-wysiwyg-actions-edit-hook{top:0;opacity:0;-webkit-transition:opacity .1s ease-in-out;-moz-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.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-hook{top:0;opacity:1}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.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-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-family:'Open Sans',sans-serif;font-size:12px;line-height:1.25;padding:5px 8px 12px}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}.sp-container.sp-flat,.sp-top{position:relative}.sp-clear-enabled .sp-hue,.sp-hue{height:100%;top:0}.sp-container{top:0;left:0;display:inline-block;overflow:hidden}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{width:100%;display:inline-block}.sp-alpha-handle,.sp-color,.sp-dragger,.sp-hue,.sp-sat,.sp-slider,.sp-top-inner,.sp-val{position:absolute}.sp-top-inner{top:0;left:0;bottom:0;right:0}.sp-color{top:0;left:0;bottom:0;right:20%}.sp-hue{right:0;bottom:0;left:84%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:18px}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha,.sp-clear,.sp-container.sp-buttons-disabled .sp-button-container,.sp-container.sp-input-disabled .sp-input-container,.sp-initial-disabled .sp-initial,.sp-palette-disabled .sp-palette-container,.sp-palette-only .sp-picker-container{display:none}.sp-alpha-handle{top:-4px;bottom:-4px;width:6px;left:50%;cursor:pointer;border:1px solid #000;background:#fff;opacity:.8}.sp-alpha{bottom:-14px;right:0;left:0;height:8px}.sp-alpha-inner{border:1px solid #333}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:none;position:absolute;top:0;right:0;bottom:0;left:84%;height:28px}.sp-alpha,.sp-alpha-handle,.sp-clear,.sp-container,.sp-container button,.sp-container.sp-dragging .sp-input,.sp-dragger,.sp-preview,.sp-replacer,.sp-slider{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#FFF),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#FFF,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81')}.sp-val{background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0));-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000')}.sp-hue{background:-moz-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-ms-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-o-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(.17,#ff0),color-stop(.33,#0f0),color-stop(.5,#0ff),color-stop(.67,#00f),color-stop(.83,#f0f),to(red));background:-webkit-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.sp-1{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00')}.sp-2{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00')}.sp-3{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff')}.sp-4{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff')}.sp-5{height:16%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff')}.sp-6{height:17%;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000')}.sp-hidden{display:none!important}.sp-cf:after,.sp-cf:before{content:"";display:table}@media (max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:5px;width:5px;border:1px solid #fff;background:#000;cursor:pointer;top:0;left:0}.sp-slider{top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:#fff;opacity:.8}.sp-container{border-radius:0;padding:0}.sp-clear,.sp-color,.sp-container,.sp-container button,.sp-container input,.sp-hue{font:400 12px "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:3px}.sp-clear,.sp-color,.sp-hue{border:1px solid #666}.sp-input-container{float:right;width:100px}.sp-initial-disabled .sp-input-container,.sp-input{width:100%}.sp-input{font-size:12px!important;border:1px inset;padding:4px 5px;margin:0;background:0 0;border-radius:3px;color:#222}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-palette-container,.sp-picker-container{float:left;position:relative;padding:10px 10px 300px;margin-bottom:-290px}.sp-picker-container{width:172px}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;cursor:pointer}.sp-palette .sp-thumb-el.sp-thumb-active,.sp-palette .sp-thumb-el:hover{border-color:orange}.sp-initial{float:left;border:1px solid #333}.sp-initial span{width:30px;height:25px;border:0;display:block;float:left;margin:0}.sp-initial .sp-clear-display{background-position:center}.sp-replacer{margin:0;overflow:hidden;cursor:pointer;padding:4px;display:inline-block;border:1px solid #91765d;background:#eee;color:#333;vertical-align:middle}.sp-replacer.sp-active,.sp-replacer:hover{border-color:#F0C49B;color:#111}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{padding:2px 0;height:16px;line-height:16px;float:left;font-size:10px}.sp-preview{width:25px;height:20px;border:1px solid #222;margin-right:5px;float:left;z-index:0}.sp-palette{max-width:220px}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:2px 1px;border:1px solid #d0d0d0}.sp-container{padding-bottom:0}.sp-container button{background-color:#eee;background-image:-webkit-linear-gradient(top,#eee,#ccc);background-image:-moz-linear-gradient(top,#eee,#ccc);background-image:-ms-linear-gradient(top,#eee,#ccc);background-image:-o-linear-gradient(top,#eee,#ccc);background-image:linear-gradient(to bottom,#eee,#ccc);border:1px solid #ccc;border-bottom:1px solid #bbb;border-radius:3px;color:#333;font-size:14px;line-height:1;padding:5px 4px;text-align:center;text-shadow:0 1px 0 #eee;vertical-align:middle}.sp-container button:hover{background-color:#ddd;background-image:-webkit-linear-gradient(top,#ddd,#bbb);background-image:-moz-linear-gradient(top,#ddd,#bbb);background-image:-ms-linear-gradient(top,#ddd,#bbb);background-image:-o-linear-gradient(top,#ddd,#bbb);background-image:linear-gradient(to bottom,#ddd,#bbb);border:1px solid #bbb;border-bottom:1px solid #999;cursor:pointer;text-shadow:0 1px 0 #ddd}.sp-container button:active{border:1px solid #aaa;border-bottom:1px solid #888;-webkit-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-moz-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-ms-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;-o-box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee;box-shadow:inset 0 0 5px 2px #aaa,0 1px 0 0 #eee}.sp-cancel{font-size:11px;color:#d93f3f!important;margin:0 5px 0 0;padding:2px;vertical-align:middle;text-decoration:none}.sp-cancel:hover{color:#d93f3f!important;text-decoration:underline}.sp-palette span.sp-thumb-active,.sp-palette span:hover{border-color:#000}.sp-alpha,.sp-preview,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.sp-alpha-inner,.sp-preview-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=)}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=)}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==)}.sp-container{position:fixed;z-index:99999999!important;background:#313131;border:0}.sp-picker-container{border:0}.sp-clear,.sp-color,.sp-hue{border-color:#000}.sp-button-container{float:none;text-align:right;clear:both;margin-top:10px}.dslca-container .sp-dd{display:none}.dslca-container .sp-preview{width:100%;height:15px;border:1px solid #3565ad;border-radius:4px;overflow:hidden}.dslca-sp-revert,.sp-cancel.dslc-icon,.sp-choose.dslc-icon{padding:0;margin:0;background:#e55f5f;display:inline-block;width:24px;height:24px;line-height:24px;font-size:12px;color:#fff!important;border-radius:3px;text-align:center;text-decoration:none!important;cursor:pointer;vertical-align:baseline}.sp-choose.dslc-icon{background:#78ca4f;margin-left:5px}.dslca-sp-revert{background:#06b2ac;float:left}.sp-input-container{margin-top:5px;margin-bottom:10px}body input[type=text].sp-input{background:#444!important;padding:5px;border:0;border-radius:0;color:#fff}.dslca-container .sp-replacer{opacity:0;visibility:hidden;display:inline-block!important;width:1px;vertical-align:middle;position:absolute;left:0;top:50px}.dslca-module-edit-option-box-shadow-single .sp-replacer{top:0}
css/builder/builder.main.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * builder.main.css gets loaded in the editing preview iframe
3
  * ONLY when the Live Compose is in active editing mode.
4
  */
5
 
@@ -23,10 +23,26 @@ body.toplevel_page_livecomposer_editor {
23
  background: #464646;
24
  }
25
 
 
 
 
 
 
26
  /* Re-enable text selection for text-based modules */
27
 
28
  .inline-editor,
29
- .inline-editor * {
 
 
 
 
 
 
 
 
 
 
 
30
  -webkit-touch-callout: text;
31
  -webkit-user-select: text;
32
  -khtml-user-select: text;
@@ -3387,6 +3403,11 @@ span.dslca-manage-action:hover * {
3387
  }
3388
 
3389
  .dslc-hf-block-overlay {
 
 
 
 
 
3390
  position: absolute;
3391
  top: 0;
3392
  left: 0;
@@ -3405,21 +3426,22 @@ span.dslca-manage-action:hover * {
3405
  opacity: 1;
3406
  }
3407
 
3408
- .dslc-hf-block-overlay-button {
3409
- text-align: center;
3410
- position: absolute;
3411
- left: 0;
3412
- right: 0;
3413
- top: 45%;
3414
  display: inline-block;
3415
  color: #fff;
3416
  font-size: 20px;
3417
- font-family: 'Open Sans', sans-serif;
3418
  text-decoration: none;
3419
- font-weight: bold;
3420
- /* text-transform: uppercase; */
3421
  }
3422
 
 
 
 
 
 
 
 
3423
  /**
3424
  * Composer Hidden
3425
  */
@@ -3427,7 +3449,7 @@ span.dslca-manage-action:hover * {
3427
  body.dslca-composer-hidden .dslc-module-front,
3428
  body.dslca-composer-hidden .dslc-modules-area,
3429
  body.dslca-composer-hidden .dslc-modules-section {
3430
- outline: none !important;
3431
  border: none !important;
3432
  }
3433
 
1
  /**
2
+ * builder.main.css gets loaded for both WP Admin and Preview Iframe Area
3
  * ONLY when the Live Compose is in active editing mode.
4
  */
5
 
23
  background: #464646;
24
  }
25
 
26
+ /* Temporary and dirty fix for bug with wrong position for TinyMCE link inline popup */
27
+ body div.mce-inline-toolbar-grp.mce-arrow-up {
28
+ margin-top: 48px;
29
+ }
30
+
31
  /* Re-enable text selection for text-based modules */
32
 
33
  .inline-editor,
34
+ .inline-editor *,
35
+ .dslca-editable-content,
36
+ .dslca-editable-content *,
37
+ div[contenteditable="true"],
38
+ span[contenteditable="true"],
39
+ a[contenteditable="true"],
40
+ h1[contenteditable="true"],
41
+ h2[contenteditable="true"],
42
+ h3[contenteditable="true"],
43
+ h4[contenteditable="true"],
44
+ h5[contenteditable="true"],
45
+ h6[contenteditable="true"] {
46
  -webkit-touch-callout: text;
47
  -webkit-user-select: text;
48
  -khtml-user-select: text;
3403
  }
3404
 
3405
  .dslc-hf-block-overlay {
3406
+ display: flex;
3407
+ justify-content: center;
3408
+ align-items: center;
3409
+ flex-direction: column;
3410
+
3411
  position: absolute;
3412
  top: 0;
3413
  left: 0;
3426
  opacity: 1;
3427
  }
3428
 
3429
+ .dslc-hf-block-overlay-button,
3430
+ .dslc-hf-block-overlay-text {
 
 
 
 
3431
  display: inline-block;
3432
  color: #fff;
3433
  font-size: 20px;
3434
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3435
  text-decoration: none;
 
 
3436
  }
3437
 
3438
+ .dslc-hf-block-overlay-text {
3439
+ font-size: 13px;
3440
+ opacity: .5;
3441
+ margin-top: 5px;
3442
+ }
3443
+
3444
+
3445
  /**
3446
  * Composer Hidden
3447
  */
3449
  body.dslca-composer-hidden .dslc-module-front,
3450
  body.dslca-composer-hidden .dslc-modules-area,
3451
  body.dslca-composer-hidden .dslc-modules-section {
3452
+ box-shadow: none !important;
3453
  border: none !important;
3454
  }
3455
 
css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}.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:999999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:999999}body.admin-bar #dslc-header.dslc-header-pos-absolute,body.admin-bar #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer{position:relative}#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-posts{overflow:hidden}.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}.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-init-topleft,.dslc-init-topright{position:absolute!important;top:0!important;bottom:auto!important}#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-topleft{left:0!important;right:auto!important}.dslc-init-topright{right:0!important;left:auto!important}.dslc-init-bottomleft,.dslc-init-bottomright{position:absolute!important;bottom:0!important;top:auto!important}.dslc-init-bottomleft{left:0!important;right:auto!important}.dslc-init-bottomright{right:0!important;left:auto!important}.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}}@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-header.dslca-header-low-z-index,.dslca-drag-in-progress #dslc-header{z-index:0}#dslc-content{position:relative}@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}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}body.dslca-enabled.dslc-res-phone{padding-bottom:200px}.dslc-col,.dslc-no-columns-spacing .dslc-col{width:100%;margin:0;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-cpt-post-main{border:0 solid transparent}#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{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author{float:left}#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:1px solid #e5e5e5;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 a{display:inline-block;max-width:100%}#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-images-count{background:0 0;border:0 solid transparent;border-radius:50%;position:absolute;top:40%;left:35%;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-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-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}#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-title{margin-bottom:25px}#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}#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-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-content{background:#fff;border:1px solid #e8e8e8;border-radius:0 3px 3px}#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-widget-wrap,#dslc-content .dslc-widgets-wrap,.dslc-text-module-content{border:0 solid transparent}#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}#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;border-bottom:1px solid #e5e5e5;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-widget li{border-style:solid}#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 a{display:inline-block;max-width:100%}#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{background:0 0;color:#fff;display:block;font-weight:400;font-size:25px;left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#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}#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-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-content .dslc-notification-box{background:#f65757;padding:15px;border:1px solid #e43737;border-radius:3px;color:#fff}.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{overflow:hidden}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1}.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;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}#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}#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:99998;position:relative;text-align:right;font-size:0}#dslc-content .dslc-navigation-inner{display:inline-block}#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;z-index:99998}#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{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}#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;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:-10px;top:-1px}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul{display:block}#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}}.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;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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:999999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:999999}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}#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-posts{overflow:hidden}.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}.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-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}.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{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}}@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;min-width:0}.dslc-module-front.dslc-col{margin-bottom:0}.dslc-hide-on-phone{display:none!important}}.dslc-module-front a{text-decoration:none}#dslc-content .dslc-cpt-post-main{border:0 solid transparent}#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{border:1px solid #e5e5e5;border-left:0;border-right:0;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:1px solid #e5e5e5;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 a{display:inline-block;max-width:100%}#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-images-count{background:0 0;border:0 solid transparent;border-radius:50%;position:absolute;top:40%;left:35%;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-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-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}#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-title{margin-bottom:25px}#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}#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-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-content{background:#fff;border:1px solid #e8e8e8;border-radius:0 3px 3px}#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-widget-wrap,#dslc-content .dslc-widgets-wrap,.dslc-text-module-content{border:0 solid transparent}#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}#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;border-bottom:1px solid #e5e5e5;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-widget li{border-style:solid}#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 a{display:inline-block;max-width:100%}#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{background:0 0;color:#fff;display:block;font-weight:400;font-size:25px;left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#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}#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-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-content .dslc-notification-box{background:#f65757;padding:15px;border:1px solid #e43737;border-radius:3px;color:#fff}.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{overflow:hidden}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1}.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-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}#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:99998;position:relative;text-align:right;font-size:0}#dslc-content .dslc-navigation-inner{display:inline-block}#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;z-index:99998}#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{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}#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;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:-10px;top:-1px}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul{display:block}#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}}.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
@@ -20,11 +20,19 @@
20
  z-index: 999999;
21
  }
22
 
23
- body.admin-bar #dslc-header.dslc-header-pos-fixed,
24
- body.admin-bar #dslc-header.dslc-header-pos-absolute {
25
- top: 32px;
26
  }
27
 
 
 
 
 
 
 
 
 
28
  #dslc-footer {
29
  position: relative;
30
  }
@@ -591,7 +599,14 @@ body.rtl .dslc-last-col {
591
  display: none;
592
  }
593
 
594
- .dslc-init-topleft {
 
 
 
 
 
 
 
595
  position: absolute !important;
596
  top: 0 !important;
597
  left: 0 !important;
@@ -599,7 +614,7 @@ body.rtl .dslc-last-col {
599
  right: auto !important;
600
  }
601
 
602
- .dslc-init-topright {
603
  position: absolute !important;
604
  top: 0 !important;
605
  right: 0 !important;
@@ -607,7 +622,7 @@ body.rtl .dslc-last-col {
607
  left: auto !important
608
  }
609
 
610
- .dslc-init-bottomleft {
611
  position: absolute !important;
612
  bottom: 0 !important;
613
  left: 0 !important;
@@ -615,7 +630,7 @@ body.rtl .dslc-last-col {
615
  right: auto !important;
616
  }
617
 
618
- .dslc-init-bottomright {
619
  position: absolute !important;
620
  bottom: 0 !important;
621
  right: 0 !important;
@@ -1041,15 +1056,43 @@ body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-o
1041
  }
1042
 
1043
 
1044
- #dslc-header.dslca-header-low-z-index,
1045
- .dslca-drag-in-progress #dslc-header {
1046
- z-index: 0;
1047
- }
1048
-
1049
  #dslc-content {
1050
  position: relative;
1051
  }
1052
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1053
 
1054
  /**
1055
  * ----------------------------------------------------------------------
20
  z-index: 999999;
21
  }
22
 
23
+ /*body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-absolute, */
24
+ body.admin-bar:not(.dslca-enabled) #dslc-header.dslc-header-pos-fixed {
25
+ top: 32px;
26
  }
27
 
28
+
29
+ /* Disable fixed and absolute header in editing mode */
30
+ body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-fixed,
31
+ body.dslca-enabled:not(.dslca-composer-hidden) #dslc-header.dslc-header-pos-absolute {
32
+ position: relative;
33
+ }
34
+
35
+
36
  #dslc-footer {
37
  position: relative;
38
  }
599
  display: none;
600
  }
601
 
602
+
603
+ .dslc-init-center {
604
+ display: flex;
605
+ align-items: center;
606
+ justify-content: center;
607
+ }
608
+
609
+ .dslc-init-topleft .dslc-init-target {
610
  position: absolute !important;
611
  top: 0 !important;
612
  left: 0 !important;
614
  right: auto !important;
615
  }
616
 
617
+ .dslc-init-topright .dslc-init-target {
618
  position: absolute !important;
619
  top: 0 !important;
620
  right: 0 !important;
622
  left: auto !important
623
  }
624
 
625
+ .dslc-init-bottomleft .dslc-init-target {
626
  position: absolute !important;
627
  bottom: 0 !important;
628
  left: 0 !important;
630
  right: auto !important;
631
  }
632
 
633
+ .dslc-init-bottomright .dslc-init-target {
634
  position: absolute !important;
635
  bottom: 0 !important;
636
  right: 0 !important;
1056
  }
1057
 
1058
 
 
 
 
 
 
1059
  #dslc-content {
1060
  position: relative;
1061
  }
1062
 
1063
+ /**
1064
+ * WordPress Classes
1065
+ */
1066
+
1067
+ .alignnone { margin: 5px 20px 20px 0; }
1068
+ .aligncenter, div.aligncenter { display:block; margin: 5px auto 5px auto; }
1069
+ .alignright { float:right; margin: 5px 0 20px 20px; }
1070
+ .alignleft { float:left; margin: 5px 20px 20px 0; }
1071
+ .aligncenter { display: block; margin: 5px auto 5px auto; }
1072
+
1073
+ a img.alignright { float:right; margin: 5px 0 20px 20px; }
1074
+ a img.alignnone { margin: 5px 20px 20px 0; }
1075
+ a img.alignleft { float:left; margin: 5px 20px 20px 0; }
1076
+ a img.aligncenter { display: block; margin-left: auto; margin-right: auto }
1077
+
1078
+ .wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; /* Image does not overflow the content area */ padding: 5px 3px 10px; text-align: center; }
1079
+ .wp-caption.alignnone { margin: 5px 20px 20px 0; }
1080
+ .wp-caption.alignleft { margin: 5px 20px 20px 0; }
1081
+ .wp-caption.alignright { margin: 5px 0 20px 20px; }
1082
+ .wp-caption img { border: 0 none; height: auto; margin:0; max-width: 98.5%; padding:0; width: auto; }
1083
+ .wp-caption p.wp-caption-text { font-size:11px; line-height:17px; margin:0; padding:0 4px 5px; }
1084
+ .gallery-caption { font-weight: bold; }
1085
+
1086
+
1087
+ .dslc-content strong,
1088
+ .dslc-content b {
1089
+ font-weight: bolder;
1090
+ }
1091
+
1092
+ .dslc-content i,
1093
+ .dslc-content em {
1094
+ font-style: italic;
1095
+ }
1096
 
1097
  /**
1098
  * ----------------------------------------------------------------------
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.1.2
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL2
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -42,7 +42,7 @@ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) ):
42
  * Constants
43
  */
44
 
45
- define( 'DS_LIVE_COMPOSER_VER', '1.1.2' );
46
 
47
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
48
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
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.1.3
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL2
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
42
  * Constants
43
  */
44
 
45
+ define( 'DS_LIVE_COMPOSER_VER', '1.1.3' );
46
 
47
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
48
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
includes/ajax.php CHANGED
@@ -430,6 +430,8 @@ function dslc_ajax_display_module_options( $atts ) {
430
  'css_res_t',
431
  'css_res_p',
432
  'image',
 
 
433
  'elements',
434
  'post_elements',
435
  'carousel_elements',
430
  'css_res_t',
431
  'css_res_p',
432
  'image',
433
+ 'image_alt',
434
+ 'image_alt_link_url',
435
  'elements',
436
  'post_elements',
437
  'carousel_elements',
includes/archive-templates.php CHANGED
@@ -145,7 +145,6 @@ function dslc_404_template_redirect( $not_found_template ) {
145
  function dslc_archive_template_init() {
146
 
147
  global $dslc_plugin_options;
148
- global $dslc_var_modules;
149
  global $dslc_post_types;
150
 
151
  $opts = array();
145
  function dslc_archive_template_init() {
146
 
147
  global $dslc_plugin_options;
 
148
  global $dslc_post_types;
149
 
150
  $opts = array();
includes/class.module.php CHANGED
@@ -956,7 +956,7 @@ class DSLC_Module {
956
  'tab' => 'Heading',
957
  'ext' => 'px',
958
  'min' => -50,
959
- 'max' => 50
960
  ),
961
  array(
962
  'label' => 'Link - Padding Vertical',
@@ -2380,7 +2380,7 @@ class DSLC_Module {
2380
  'section' => 'styling',
2381
  'tab' => 'Presets',
2382
  'refresh_on_change' => false,
2383
- 'help' => __( 'Type in the name of the preset and hit enter,<br>it will automatically be added to the presets on the left.', 'live-composer-page-builder' ),
2384
  ),
2385
  );
2386
 
956
  'tab' => 'Heading',
957
  'ext' => 'px',
958
  'min' => -50,
959
+ 'max' => 50,
960
  ),
961
  array(
962
  'label' => 'Link - Padding Vertical',
2380
  'section' => 'styling',
2381
  'tab' => 'Presets',
2382
  'refresh_on_change' => false,
2383
+ 'help' => __( 'Type in the name of the preset and hit enter, it will automatically be added to the presets on the left.', 'live-composer-page-builder' ),
2384
  ),
2385
  );
2386
 
includes/display-functions.php CHANGED
@@ -4,7 +4,6 @@
4
  *
5
  * - dslc_display_composer ( Displays the composer code in the front-end )
6
  * - dslc_get_modules ( Returns an array of active modules )
7
- * - dslc_sort_alphabetically ( Sorts an array alphabetically )
8
  * - dslc_display_modules ( Displays a list of active modules )
9
  * - dslc_display_templates ( Displays a list of active templates )
10
  * - dslc_filter_content ( Filters the_content() to show composer output )
@@ -421,18 +420,8 @@ function dslc_get_modules() {
421
  }
422
 
423
  /**
424
- * Sorting Function
425
- *
426
- * @since 1.0
427
- * @param array $a array to sort.
428
- * @param array $b array to sort.
429
- */
430
- function dslc_sort_alphabetically( $a, $b ) {
431
- return strcmp( $a['title'], $b['title'] );
432
- }
433
-
434
- /**
435
- * Displays a list of modules (for drag&drop)
436
  *
437
  * @since 1.0
438
  */
@@ -440,17 +429,6 @@ function dslc_display_modules() {
440
 
441
  $dslc_modules = dslc_get_modules();
442
 
443
- // Get value of module listing order option.
444
- $module_listing_order = dslc_get_option( 'lc_module_listing_order', 'dslc_plugin_options_other' );
445
- if ( empty( $module_listing_order ) ) {
446
- $module_listing_order = 'original';
447
- }
448
-
449
- // Order alphabetically if needed.
450
- if ( 'alphabetic' === $module_listing_order ) {
451
- usort( $dslc_modules, 'dslc_sort_alphabetically' );
452
- }
453
-
454
  if ( $dslc_modules ) {
455
 
456
  ?>
@@ -480,7 +458,7 @@ function dslc_display_modules() {
480
  }
481
  } else {
482
 
483
- echo 'No Modules Found.';
484
 
485
  }
486
 
@@ -1296,7 +1274,13 @@ function dslc_custom_css( $dslc_code = '' ) {
1296
 
1297
  // If archive, load template?
1298
  if ( is_archive() && ! is_author() && ! is_search() ) {
1299
- $template_id = dslc_get_option( get_post_type(), 'dslc_plugin_options_archives' );
 
 
 
 
 
 
1300
  }
1301
 
1302
  if ( is_author() ) {
@@ -1427,13 +1411,18 @@ function dslc_custom_css( $dslc_code = '' ) {
1427
 
1428
  }
1429
 
 
 
 
 
 
1430
  function dslc_dynamic_css_hook() {
1431
 
1432
  $dynamic_css_location = dslc_get_option( 'lc_css_position', 'dslc_plugin_options' );
1433
  if ( ! $dynamic_css_location ) {
1434
  $dynamic_css_location = 'head';
1435
  }
1436
- if ( $dynamic_css_location == 'head' ) {
1437
  add_action( 'wp_head', 'dslc_custom_css' );
1438
  } else {
1439
  add_action( 'wp_footer', 'dslc_custom_css' );
@@ -1444,7 +1433,6 @@ function dslc_dynamic_css_hook() {
1444
  /**
1445
  * Generate CSS - Modules Section
1446
  */
1447
-
1448
  function dslc_modules_section_gen_css( $atts, $content = null ) {
1449
 
1450
  return do_shortcode( $content );
4
  *
5
  * - dslc_display_composer ( Displays the composer code in the front-end )
6
  * - dslc_get_modules ( Returns an array of active modules )
 
7
  * - dslc_display_modules ( Displays a list of active modules )
8
  * - dslc_display_templates ( Displays a list of active templates )
9
  * - dslc_filter_content ( Filters the_content() to show composer output )
420
  }
421
 
422
  /**
423
+ * Displays list of all modules in modules panel (for drag & drop)
424
+ * – Modules order defined in dslc_register_modules() function.
 
 
 
 
 
 
 
 
 
 
425
  *
426
  * @since 1.0
427
  */
429
 
430
  $dslc_modules = dslc_get_modules();
431
 
 
 
 
 
 
 
 
 
 
 
 
432
  if ( $dslc_modules ) {
433
 
434
  ?>
458
  }
459
  } else {
460
 
461
+ esc_html_e( 'No Modules Found.', 'live-composer-page-builder' );
462
 
463
  }
464
 
1274
 
1275
  // If archive, load template?
1276
  if ( is_archive() && ! is_author() && ! is_search() ) {
1277
+ $post_type = get_post_type();
1278
+
1279
+ if ( $post_type && 'post' === $post_type ) {
1280
+ $post_type = 'post_archive';
1281
+ }
1282
+
1283
+ $template_id = dslc_get_option( $post_type, 'dslc_plugin_options_archives' );
1284
  }
1285
 
1286
  if ( is_author() ) {
1411
 
1412
  }
1413
 
1414
+ /**
1415
+ * Indicates were to output generated CSS for this page content.
1416
+ *
1417
+ * @return void
1418
+ */
1419
  function dslc_dynamic_css_hook() {
1420
 
1421
  $dynamic_css_location = dslc_get_option( 'lc_css_position', 'dslc_plugin_options' );
1422
  if ( ! $dynamic_css_location ) {
1423
  $dynamic_css_location = 'head';
1424
  }
1425
+ if ( 'head' === $dynamic_css_location ) {
1426
  add_action( 'wp_head', 'dslc_custom_css' );
1427
  } else {
1428
  add_action( 'wp_footer', 'dslc_custom_css' );
1433
  /**
1434
  * Generate CSS - Modules Section
1435
  */
 
1436
  function dslc_modules_section_gen_css( $atts, $content = null ) {
1437
 
1438
  return do_shortcode( $content );
includes/functions.php CHANGED
@@ -93,9 +93,40 @@ function dslc_register_modules() {
93
  do_action( 'dslc_hook_register_modules' );
94
  do_action( 'dslc_hook_unregister_modules' );
95
 
 
 
 
 
 
 
96
  } add_action( 'init', 'dslc_register_modules', 1 );
97
 
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  /**
100
  * Register module
101
  *
@@ -129,9 +160,7 @@ function dslc_register_module( $module_id ) {
129
  'icon' => $module_instance->module_icon,
130
  'origin' => $module_instance->module_category,
131
  );
132
-
133
  }
134
-
135
  }
136
 
137
  /**
@@ -430,6 +459,13 @@ function dslc_body_class( $classes ) {
430
  $classes[] = 'dslc-page-has-hf';
431
  }
432
 
 
 
 
 
 
 
 
433
  // If responsive disabled append class.
434
  if ( defined( 'DS_LIVE_COMPOSER_RESPONSIVE' ) && ! DS_LIVE_COMPOSER_RESPONSIVE ) {
435
  $classes[] = 'dslc-res-disabled';
93
  do_action( 'dslc_hook_register_modules' );
94
  do_action( 'dslc_hook_unregister_modules' );
95
 
96
+ // Array that holds all active modules.
97
+ global $dslc_var_modules;
98
+
99
+ // Developers can filter list of available modules.
100
+ $dslc_var_modules = apply_filters( 'dslc_filter_modules', $dslc_var_modules );
101
+
102
  } add_action( 'init', 'dslc_register_modules', 1 );
103
 
104
 
105
+ /**
106
+ * Remove non-active modules form the list of all modules.
107
+ *
108
+ * @param array $dslc_var_modules Original list of active modules.
109
+ * @return array Modified list of active modules.
110
+ * @since 1.1.3
111
+ */
112
+ function dslc_filter_disabled_modules( $dslc_var_modules ) {
113
+
114
+ foreach ( $dslc_var_modules as $key => $dslc_module ) {
115
+
116
+ // The ID of the module.
117
+ $module_id = $dslc_module['id'];
118
+
119
+ // Check if active?
120
+ if ( ! dslc_is_module_active( $module_id ) ) {
121
+ unset( $dslc_var_modules[ $key ] );
122
+ }
123
+ }
124
+
125
+ return $dslc_var_modules;
126
+
127
+ } add_filter( 'dslc_filter_modules', 'dslc_filter_disabled_modules', 10 );
128
+
129
+
130
  /**
131
  * Register module
132
  *
160
  'icon' => $module_instance->module_icon,
161
  'origin' => $module_instance->module_category,
162
  );
 
163
  }
 
164
  }
165
 
166
  /**
459
  $classes[] = 'dslc-page-has-hf';
460
  }
461
 
462
+ global $dslc_active;
463
+
464
+ if ( $dslc_active && dslc_current_user_can( 'save' ) ) {
465
+ $classes[] = 'dslca-enabled';
466
+ $classes[] = 'dslca-drag-not-in-progress';
467
+ }
468
+
469
  // If responsive disabled append class.
470
  if ( defined( 'DS_LIVE_COMPOSER_RESPONSIVE' ) && ! DS_LIVE_COMPOSER_RESPONSIVE ) {
471
  $classes[] = 'dslc-res-disabled';
includes/header-footer.php CHANGED
@@ -591,7 +591,15 @@ function dslc_hf_get_header( $post_ID = false ) {
591
  $header_link = DSLC_EditorInterface::get_editor_link( $header_footer['header'] );
592
 
593
  // Set the HTML for the edit overlay.
594
- $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $header_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Header','live-composer-page-builder' ) . '</a></div>';
 
 
 
 
 
 
 
 
595
 
596
  }
597
 
@@ -659,7 +667,15 @@ function dslc_hf_get_footer( $post_ID = false ) {
659
  $footer_link = DSLC_EditorInterface::get_editor_link( $header_footer['footer'] );
660
 
661
  // Set the HTML for the edit overlay.
662
- $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $footer_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Footer','live-composer-page-builder' ) . '</a></div>';
 
 
 
 
 
 
 
 
663
 
664
  }
665
 
591
  $header_link = DSLC_EditorInterface::get_editor_link( $header_footer['header'] );
592
 
593
  // Set the HTML for the edit overlay.
594
+ $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $header_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Header','live-composer-page-builder' ) . '</a>';
595
+
596
+ if ( 'fixed' === $header_position ) {
597
+ $append .= ' <span class="dslc-hf-block-overlay-text">' . __( 'To preview FIXED positioning click on "Hide Editor" button.','live-composer-page-builder' ) . '</span>';
598
+ } elseif ( 'absolute' === $header_position ) {
599
+ $append .= ' <span class="dslc-hf-block-overlay-text">' . __( 'To preview ABSOLUTE positioning click on "Hide Editor" button.','live-composer-page-builder' ) . '</span>';
600
+ }
601
+
602
+ $append .= '</div>';
603
 
604
  }
605
 
667
  $footer_link = DSLC_EditorInterface::get_editor_link( $header_footer['footer'] );
668
 
669
  // Set the HTML for the edit overlay.
670
+ $append = '<div class="dslc-hf-block-overlay"><a target="_blank" href="' . $footer_link . '" class="dslc-hf-block-overlay-button dslca-link">' . __( 'Edit Footer','live-composer-page-builder' ) . '</a>';
671
+
672
+ if ( 'fixed' === $footer_position ) {
673
+ $append .= ' <span class="dslc-hf-block-overlay-text">' . __( 'To preview FIXED positioning click on "Hide Editor" button.','live-composer-page-builder' ) . '</span>';
674
+ } elseif ( 'absolute' === $footer_position ) {
675
+ $append .= ' <span class="dslc-hf-block-overlay-text">' . __( 'To preview ABSOLUTE positioning click on "Hide Editor" button.','live-composer-page-builder' ) . '</span>';
676
+ }
677
+
678
+ $append .= '</div>';
679
 
680
  }
681
 
includes/plugin-options-framework/inc/access-control.php CHANGED
@@ -21,7 +21,6 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  function dslc_access_control_init() {
22
 
23
  global $dslc_plugin_options;
24
- global $dslc_var_modules;
25
 
26
  $capability_opts = array(
27
  array(
21
  function dslc_access_control_init() {
22
 
23
  global $dslc_plugin_options;
 
24
 
25
  $capability_opts = array(
26
  array(
includes/plugin-options-framework/inc/display-options.php CHANGED
@@ -197,7 +197,7 @@ function dslc_plugin_option_display_list( $option ) {
197
  <div class="dslca-plugin-opts-list">
198
  <?php foreach ( $sidebars_array as $sidebar ) : ?>
199
  <div class="dslca-plugin-opts-list-item">
200
- <span class="dslca-plugin-opts-list-title" contenteditable>
201
  <?php echo esc_html( $sidebar ); ?>
202
  </span>
203
  <a href="#" class="dslca-plugin-opts-list-delete-hook">
@@ -254,7 +254,7 @@ function dslc_plugin_option_display_styling_presets( $option ) {
254
  <div class="dslca-plugin-opts-list">
255
  <?php foreach ( $presets as $preset ) : ?>
256
  <div class="dslca-plugin-opts-list-item">
257
- <span class="dslca-plugin-opts-list-title" contenteditable>
258
  <?php echo esc_html( $preset['title'] ); ?>
259
  </span>
260
  <a href="#" class="dslca-plugin-opts-list-delete-hook">
197
  <div class="dslca-plugin-opts-list">
198
  <?php foreach ( $sidebars_array as $sidebar ) : ?>
199
  <div class="dslca-plugin-opts-list-item">
200
+ <span class="dslca-plugin-opts-list-title" contenteditable="true">
201
  <?php echo esc_html( $sidebar ); ?>
202
  </span>
203
  <a href="#" class="dslca-plugin-opts-list-delete-hook">
254
  <div class="dslca-plugin-opts-list">
255
  <?php foreach ( $presets as $preset ) : ?>
256
  <div class="dslca-plugin-opts-list-item">
257
+ <span class="dslca-plugin-opts-list-title" contenteditable="true">
258
  <?php echo esc_html( $preset['title'] ); ?>
259
  </span>
260
  <a href="#" class="dslca-plugin-opts-list-delete-hook">
includes/plugin-options-framework/inc/options.php CHANGED
@@ -308,25 +308,6 @@ function dslc_plugin_opts_other() {
308
  ),
309
  ),
310
 
311
- 'lc_module_listing_order' => array(
312
-
313
- 'section' => 'dslc_plugin_options_other',
314
- 'label' => __( 'Modules Listing Order', 'live-composer-page-builder' ),
315
- 'std' => 'original',
316
- 'type' => 'select',
317
- 'descr' => __( 'Choose how the modules should be ordered in the listing ( when in builder mode ).', 'live-composer-page-builder' ),
318
- 'choices' => array(
319
- array(
320
- 'label' => 'Original',
321
- 'value' => 'original',
322
- ),
323
- array(
324
- 'label' => 'Alphabetic',
325
- 'value' => 'alphabetic',
326
- ),
327
- ),
328
- ),
329
-
330
  'lc_module_activate_button_pos' => array(
331
 
332
  'section' => 'dslc_plugin_options_other',
308
  ),
309
  ),
310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  'lc_module_activate_button_pos' => array(
312
 
313
  'section' => 'dslc_plugin_options_other',
includes/plugin-options-framework/inc/performance.php CHANGED
@@ -14,7 +14,6 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  function dslc_perf_settings_init() {
15
 
16
  global $dslc_plugin_options;
17
- global $dslc_var_modules;
18
 
19
  $dslc_plugin_options['dslc_plugin_options_performance'] = array(
20
  'title' => __( 'Performance', 'live-composer-page-builder' ),
14
  function dslc_perf_settings_init() {
15
 
16
  global $dslc_plugin_options;
 
17
 
18
  $dslc_plugin_options['dslc_plugin_options_performance'] = array(
19
  'title' => __( 'Performance', 'live-composer-page-builder' ),
includes/plugin-options-framework/js/main.js CHANGED
@@ -47,7 +47,7 @@ jQuery(document).ready(function(){
47
  var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
48
  var dslcTarget = dslcWrapper.find('.dslca-plugin-opts-list');
49
 
50
- jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable>Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo( dslcTarget );
51
 
52
  dslc_plugin_opts_generate_list_code( dslcWrapper );
53
 
47
  var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
48
  var dslcTarget = dslcWrapper.find('.dslca-plugin-opts-list');
49
 
50
+ 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( dslcTarget );
51
 
52
  dslc_plugin_opts_generate_list_code( dslcWrapper );
53
 
includes/plugin-options-framework/js/main.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(){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>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")})()}});
1
+ jQuery(document).ready(function(){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")})()}});
includes/post-options-framework/post-options-framework.php CHANGED
@@ -460,6 +460,14 @@ function dslc_page_add_row_action( $actions, $page_object ) {
460
  }
461
  add_filter( 'page_row_actions', 'dslc_page_add_row_action', 10, 2 );
462
 
 
 
 
 
 
 
 
 
463
  function dslc_post_add_row_action( $actions, $post ) {
464
 
465
  global $dslc_var_templates_pt;
@@ -468,24 +476,30 @@ function dslc_post_add_row_action( $actions, $post ) {
468
  $post_type = $post->post_type;
469
  $dslc_admin_interface_on = apply_filters( 'dslc_admin_interface_on_listing', true );
470
 
471
- if ( true === $dslc_admin_interface_on && $post_status != 'trash' ) {
472
 
473
  if ( array_key_exists( $post_type, $dslc_var_templates_pt ) ) {
474
 
475
  $template_id = dslc_st_get_template_id( $post->ID );
476
  $url = DSLC_EditorInterface::get_editor_link( $template_id, $post->ID );
477
 
478
- $actions = array('edit-in-live-composer' => '<a href="'. $url . '">'. __( 'Edit Template', 'live-composer-page-builder' ) .'</a>') + $actions;
 
 
 
 
 
479
  } else {
480
 
481
  $url = DSLC_EditorInterface::get_editor_link( $post->ID );
482
 
483
- $actions = array('edit-in-live-composer' => '<a href="'. $url . '">'. __( 'Edit in Live Composer', 'live-composer-page-builder' ) .'</a>') + $actions;
484
  }
485
  }
486
 
487
- return $actions;
488
  }
 
489
  add_filter( 'post_row_actions', 'dslc_post_add_row_action', 10, 2 );
490
 
491
  /**
460
  }
461
  add_filter( 'page_row_actions', 'dslc_page_add_row_action', 10, 2 );
462
 
463
+ /**
464
+ * Adds 'Open in Live Composer', 'Edit Template' actions
465
+ * next to each page in WP Admin posts listing table.
466
+ *
467
+ * @param array $actions An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore, 'Trash', 'Delete Permanently', 'Preview', and 'View'.
468
+ * @param WP_Post $post The post object.
469
+ * @return array Filter the array of row action links on the Posts list table.
470
+ */
471
  function dslc_post_add_row_action( $actions, $post ) {
472
 
473
  global $dslc_var_templates_pt;
476
  $post_type = $post->post_type;
477
  $dslc_admin_interface_on = apply_filters( 'dslc_admin_interface_on_listing', true );
478
 
479
+ if ( true === $dslc_admin_interface_on && 'trash' !== $post_status ) {
480
 
481
  if ( array_key_exists( $post_type, $dslc_var_templates_pt ) ) {
482
 
483
  $template_id = dslc_st_get_template_id( $post->ID );
484
  $url = DSLC_EditorInterface::get_editor_link( $template_id, $post->ID );
485
 
486
+ // If default template for current CPT exists.
487
+ if ( $template_id ) {
488
+ $actions = array( 'edit-in-live-composer' => '<a href="'. $url . '">'. __( 'Edit Template', 'live-composer-page-builder' ) .'</a>' ) + $actions;
489
+ } else {
490
+ $actions = array( 'edit-in-live-composer' => '<a href="'. admin_url( 'post-new.php?post_type=dslc_templates' ) . '">'. __( 'Create Template', 'live-composer-page-builder' ) .'</a>' ) + $actions;
491
+ }
492
  } else {
493
 
494
  $url = DSLC_EditorInterface::get_editor_link( $post->ID );
495
 
496
+ $actions = array( 'edit-in-live-composer' => '<a href="'. $url . '">'. __( 'Edit in Live Composer', 'live-composer-page-builder' ) .'</a>' ) + $actions;
497
  }
498
  }
499
 
500
+ return $actions;
501
  }
502
+
503
  add_filter( 'post_row_actions', 'dslc_post_add_row_action', 10, 2 );
504
 
505
  /**
includes/single-templates-framework/inc/filters.php CHANGED
@@ -11,16 +11,17 @@ function dslc_st_template_switch() {
11
  global $post;
12
  global $dslc_post_types;
13
 
14
- // If there's no post, stop execution
15
  if ( ! isset( $post ) )
16
  return;
17
 
18
- // If the post is not supporting templates or it's not a template itself, stop execution
 
19
  if ( is_singular( $dslc_post_types ) || is_singular( 'dslc_templates' ) ) { } else {
20
  return;
21
  }
22
 
23
- // If the currently shown page is the template CPT
24
  if ( $post->post_type == 'dslc_templates' ) {
25
 
26
  // Get template base
11
  global $post;
12
  global $dslc_post_types;
13
 
14
+ // If there's no post, stop execution.
15
  if ( ! isset( $post ) )
16
  return;
17
 
18
+ // If the post is not supporting templates or it's not a template itself, stop execution.
19
+ // @todo: Rewrite this condition.
20
  if ( is_singular( $dslc_post_types ) || is_singular( 'dslc_templates' ) ) { } else {
21
  return;
22
  }
23
 
24
+ // If the currently shown page is the template CPT.
25
  if ( $post->post_type == 'dslc_templates' ) {
26
 
27
  // Get template base
js/builder.all.min.js CHANGED
@@ -1,4 +1,4 @@
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(this).find(".dslca-change-width-module-options").hide()}jQuery(this).find(".dslca-module-manage").removeClass("dslca-module-manage-change-width-active")});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")){jQuery("#dslc-header").addClass("dslca-header-low-z-index");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("#dslc-header").removeClass("dslca-header-low-z-index")}})}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:1e4}).done(function(a){if(a.status=="success"){jQuery(".dslca-save-composer").fadeOut(250);jQuery(".dslca-save-draft-composer").fadeOut(250)}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 10 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=12,e=12,f=0,g=0,h,i,j,k,l,m="";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(){if(jQuery(".dslc-modules-area",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")}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");g=0;l=jQuery(this);m="";jQuery(".dslca-modules-section-settings input",l).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});c=c+"[dslc_modules_section "+m+"] ";jQuery(".dslc-modules-area",l).each(function(){f=0;i=jQuery(this);h=parseInt(i.data("size"));j="no";k="no";g+=h;if(g==e){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");g=0;j="yes"}else if(g>e){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");g=h;k="yes"}if(g==h){k="yes"}c=c+'[dslc_modules_area last="'+j+'" first="'+k+'" size="'+h+'"] ';jQuery(".dslc-module-front",i).each(function(){var e=jQuery(this);b=parseInt(e[0].getAttribute("data-dslc-module-size"));var g="no";var h="no";f+=b;if(f==d){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");f=0;g="yes";h="yes"}else if(f>d){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");f=b;h="yes"}try{a=e[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+e[0].getAttribute("id"))}if(""!==a){c=c+'[dslc_module last="'+g+'"]'+a+"[/dslc_module] "}a=""});c=c+"[/dslc_modules_area] "});c=c+"[/dslc_modules_section] "});jQuery("#dslca-code").val(c);jQuery("#dslca-export-code").val(c)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b,c,d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="";h=0;var m=a;jQuery(".dslca-modules-section-settings input",m).each(function(){n=n+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});d=d+"[dslc_modules_section "+n+"] ";jQuery(".dslc-modules-area",m).each(function(){j=jQuery(this);i=parseInt(j.data("size"));k="no";l="no";h+=i;if(h==f){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");h=0;k="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=i;l="yes"}if(h==i){l="yes"}d=d+'[dslc_modules_area last="'+k+'" first="'+l+'" size="'+i+'"] ';jQuery(".dslc-module-front",j).each(function(){c=parseInt(jQuery(this).data("dslc-module-size"));g+=c;if(g==i){jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col");g=0}b=jQuery(this).find(".dslca-module-code").val();d=d+"[dslc_module]"+b+"[/dslc_module] "});d=d+"[/dslc_modules_area] "});d=d+"[/dslc_modules_section] ";return d}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()}}"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)});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(dslcDebug)console.log("dslc_show_modal");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}).show();jQuery(".dslca-prompt-modal-custom").insertAfter(b);jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn();b.addClass("dslca-modal-open");b.css({}).fadeIn(600)}function dslc_hide_modal(a,b){if(dslcDebug)console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();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(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(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","")})});"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")){a(".dslca-change-width-module-options",this).toggle();a(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-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-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(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",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(jQuery(this))},1)}}).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);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();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);jQuery(".dslca-header .dslca-options-filter-hook").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()},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){LiveComposer.Builder.UI.clearUtils();var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-module-being-edited img",LiveComposer.Builder.PreviewAreaDocument).load(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument))});LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();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(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-module-being-edited img",LiveComposer.Builder.PreviewAreaDocument).load(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument))});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();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.option("disabled",true)});jQuery(document).on("LC.sortableOn",function(){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().then(function(b){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({
2
- 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("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(b!=="none"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]').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(){b.sortable.sortable("option","disabled",true)});jQuery(document).on("LC.sortableOn",function(){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();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(c){var d=jQuery(c.output);d.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(d);new LiveComposer.Builder.Elements.CModuleArea(d.find(".dslc-modules-area").eq(0)[0]);if(a){a()}d.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");b.resolve(d[0])});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()})}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(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).find(".dslc-modules-section:last-child"));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=.75;var c=500;var d=jQuery(".dslca-section-scroller");var e=jQuery(".dslca-section-scroller-inner",this)[0];jQuery(".dslca-section-scroller").on("wheel",function(a){f(a.originalEvent.deltaY||a.originalEvent.deltaX);return false});function f(a){a=a*b;var c=parseInt(d.find(".dslca-section-scroller-content").width()||0);if(c<=window.innerWidth-260)return false;var f=c-window.innerWidth+240;a=parseInt(e.style.left||0)-a;a=a>=0?0:a;a=a<=-f?-f:a;e.style.left=a+"px"}jQuery(document).on("click",".dslca-section-scroller-prev",function(a){a.preventDefault();f(-c)});jQuery(document).on("click",".dslca-section-scroller-next",function(a){a.preventDefault();f(c)});jQuery(window).load(function(){jQuery(window).resize(function(){f(0)})})});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",".lc-scroll-bottom-area",function(c){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){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}});"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(){b.sortable.sortable("option","disabled",true)});jQuery(document).on("LC.sortableOn",function(){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);jQuery(this).next().click()});jQuery(".dslca-container").on("hover",".dslca-module-edit-option-slider .dslca-module-edit-field-numeric",function(){dslc_module_options_numeric(this)});jQuery(".dslca-container").on("hover",".dslca-modules-section-edit-option-slider .dslca-modules-section-edit-field",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();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();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-field-icon-switch-set",function(){var a=jQuery(".dslca-module-edit-field-icon-switch-sets");var b=jQuery(this);jQuery(".dslca-module-edit-field-icon-switch-set.dslca-active").removeClass("dslca-active");b.addClass("dslca-active");if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-switch-sets").hide()}else{var c=b.find(".dslca-module-edit-field-icon-curr-set").text();jQuery(".dslca-module-edit-field-icon-switch-sets span.dslca-active").removeClass("dslca-active");jQuery('.dslca-module-edit-field-icon-switch-sets span[data-set="'+c+'"]').addClass("dslca-active");var d=b.offset(),e=a.outerHeight(),f=a.outerWidth(),g=d.left-f/2+6,h="50%";if(g<0){h=f/2+g+"px";g=0}jQuery(".dslca-module-edit-field-icon-switch-sets").show().css({top:d.top-e-20,left:g});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-switch-sets:after, .dslca-module-edit-field-icon-switch-sets:before { left: "+h+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-switch-sets span",function(){var b=a(this).data("set");dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b);a(this).addClass("dslca-active").siblings(".dslca-active").removeClass("dslca-active");a(".dslca-module-edit-field-icon-switch-set.dslca-active .dslca-module-edit-field-icon-curr-set").text(b);a(".dslca-module-edit-field-icon-switch-set.dslca-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field-icon-next").trigger("click");
3
- a(".dslca-module-edit-field-icon-switch-sets").hide()});jQuery(document).on("mouseenter",".dslca-module-edit-option-icon",function(){var b=a(this).find(".dslca-module-edit-field-icon-curr-set").text();dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b)})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.initInlineEditors=function(){LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({selector:".inline-editor.dslca-editable-content",editor_deselector:"mce-content-body",menubar:false,inline:true,plugins:"link",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"},{title:"Pre",format:"preformatted"}],toolbar:"styleselect | bold italic blockquote | removeformat | link unlink | bullist numlist "})};LiveComposer.Builder.UI.clearUtils=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){a.spectrum("destroy")});b.Helpers.colorpickers=[]}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".sp-container").remove()};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var c=this;var d=true;try{var e=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(f){d=false}if(d){var g=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&e[b.value]==undefined){return false}if(b.type=="checkbox"&&e[b.value]!=undefined){c[b.value]=e[b.value]}else{c=e}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")+'"]',g);b.Helpers.depsHandlers.push(g)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){b.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});b.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;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(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(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"){var B=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),C=B.find("select").val();if(C=="enabled"){jQuery('.dslca-module-edit-option[data-section="styling"]').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-edit-options-tabs").hide();B.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")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').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")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').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");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");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);LiveComposer.Builder.moduleBackup=false;dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");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_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=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 e=c.offset();var f=a.outerHeight();var g=a.outerWidth();var h=e.left-g/2+6;var i="50%";if(h<0){i=g/2+h+"px";h=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:e.top-f-20,left:h});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+i+" }</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;i[0]=[];i[1]=[];i[2]=[];i[3]=[];if(localStorage["dslcColorpickerPalleteStorage"]==undefined){}else{j=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);for(k=0;k<j.length;k++){var l=Math.floor(k/3);if(l<4){i[l].push(j[k])}}}var m=a;jQuery(m).each(function(){h=jQuery(this).val();jQuery(this).spectrum({color:h,showInput:true,allowEmpty:true,showAlpha:true,clickoutFiresChange:true,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:true,palette:i,move:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}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")},change:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}b.val(e).trigger("change");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");if(localStorage["dslcColorpickerPalleteStorage"]==undefined){var h=[e];localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}else{var h=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);if(h.indexOf(e)==-1){h.unshift(e)}localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))});jQuery(".dslca-sp-revert").click(function(){var a=jQuery(".sp-replacer.sp-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("default");jQuery(this).closest(".sp-container").find(".sp-input").val(a).trigger("change")})}function dslc_module_options_numeric(a){var b=jQuery;if(dslcDebug)console.log("dslc_module_options_numeric");var c=a||".dslca-module-edit-option-slider .dslca-module-edit-field-numeric";jQuery(c).each(function(){if(this.classList.contains("slider-initiated"))return;var a=false;var c=false;var d=0;var e=this;var f=0;var g=parseFloat(jQuery(this).data("max"))>0?parseFloat(b(this).data("max")):2e3;var h=parseFloat(jQuery(this).data("min"))>-2e3?parseFloat(b(this).data("min")):0;var i=parseFloat(jQuery(this).data("increment"))>0?parseFloat(b(this).data("increment")):1;var j,k,l,m,n,o,p,q,r,s,t,u,v;e.classList.add("slider-initiated");jQuery(e).keyup(function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;jQuery(this).trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;jQuery(this).trigger("change")}}if(a.keyCode==8||a.keyCode==45){jQuery(this).trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){jQuery(this).trigger("change")}if(!a.key.match(/\d/)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});jQuery(e).unbind("change");jQuery(e).change(function(a){if(this.value>g){this.value=g}if(this.value<h){this.value=h}s=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);s.addClass("dslca-module-change-made")});jQuery(document).mouseup(function(){a=false});jQuery(e).mousedown(function(b){a=parseFloat(b.pageX);d=parseFloat(e.value&&e.value!=""?e.value:0);f=0});jQuery(".dslca-section").mousemove(function(b){if(a!==false){b=b||window.event;var c=b.clientX;var d=c-f;if(0<d){e.value=Math.round((parseFloat(e.value)+i)*100)/100}else{e.value=Math.round((parseFloat(e.value)-i)*100)/100}f=c;jQuery(e).trigger("change")}});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"));
4
- });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("#page-builder-frame").on("load",function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this.contentWindow;LiveComposer.Builder.PreviewAreaDocument=jQuery(this).contents();jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-enabled dslca-drag-not-in-progress");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("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show()});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(".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(".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})}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).hide();jQuery('.dslca-origin[data-origin="'+a+'"]',b).show();if(a==""){jQuery(".dslca-origin",b).show()}}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(c);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(b){b.preventDefault();var c=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(c)});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(a(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)})}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 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")}}"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)},encode:function(a){a=dslc_serialize(a);a=LiveComposer.Utils.utf8_to_b64(a);return a},decode:function(a){a=LiveComposer.Utils.b64_to_utf8(a);a=dslc_unserialize(a);return a},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=LiveComposer.Utils.decode(f);f[b]=c;f=LiveComposer.Utils.encode(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery.event.trigger({type:a,message:{details: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)}jQuery(document).ready(function(a){a(document).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)});a(document).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")})})});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")}}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")})}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")){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})})}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(p||d.val());LiveComposer.Utils.publish("moduleChanged",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}});a(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){return false;var b="",c=a(this),d=c.data("id"),e=c.closest(".dslca-module-edit-option"),f=a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),g=f.data("dslc-module-id"),h=jQuery(".dslca-module-options-front textarea",f),i=c.data("affect-on-change-el"),j=c.data("affect-on-change-rule"),k=c.val(),l=k+c.data("ext"),m;f.addClass("dslca-module-change-made");if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")!="active"){m=j.replace(/ /g,"").split(",");jQuery('.dslca-module-option-front[data-id="'+d+'"]',f).val(k)}})});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);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");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(this).find(".dslca-change-width-module-options").hide()}jQuery(this).find(".dslca-module-manage").removeClass("dslca-module-manage-change-width-active")});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:1e4}).done(function(a){if(a.status=="success"){jQuery(".dslca-save-composer").fadeOut(250);jQuery(".dslca-save-draft-composer").fadeOut(250)}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 10 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=12,e=12,f=0,g=0,h,i,j,k,l,m="";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(){if(jQuery(".dslc-modules-area",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")}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");g=0;l=jQuery(this);m="";jQuery(".dslca-modules-section-settings input",l).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});c=c+"[dslc_modules_section "+m+"] ";jQuery(".dslc-modules-area",l).each(function(){f=0;i=jQuery(this);h=parseInt(i.data("size"));j="no";k="no";g+=h;if(g==e){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");g=0;j="yes"}else if(g>e){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");g=h;k="yes"}if(g==h){k="yes"}c=c+'[dslc_modules_area last="'+j+'" first="'+k+'" size="'+h+'"] ';jQuery(".dslc-module-front",i).each(function(){var e=jQuery(this);b=parseInt(e[0].getAttribute("data-dslc-module-size"));var g="no";var h="no";f+=b;if(f==d){jQuery(this).addClass("dslc-last-col");jQuery(this).next(".dslc-module-front").addClass("dslc-first-col");f=0;g="yes";h="yes"}else if(f>d){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");f=b;h="yes"}try{a=e[0].querySelector(".dslca-module-code").value}catch(i){console.info("No DSLC code found in module: "+e[0].getAttribute("id"))}if(""!==a){c=c+'[dslc_module last="'+g+'"]'+a+"[/dslc_module] "}a=""});c=c+"[/dslc_modules_area] "});c=c+"[/dslc_modules_section] "});jQuery("#dslca-code").val(c);jQuery("#dslca-export-code").val(c)}function dslc_generate_section_code(a){if(dslcDebug)console.log("dslc_generate_section_code");var b,c,d="",e=12,f=12,g=0,h=0,i,j,k,l,m,n="";h=0;var m=a;jQuery(".dslca-modules-section-settings input",m).each(function(){n=n+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '});d=d+"[dslc_modules_section "+n+"] ";jQuery(".dslc-modules-area",m).each(function(){j=jQuery(this);i=parseInt(j.data("size"));k="no";l="no";h+=i;if(h==f){jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col");h=0;k="yes"}else if(h>f){jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col");h=i;l="yes"}if(h==i){l="yes"}d=d+'[dslc_modules_area last="'+k+'" first="'+l+'" size="'+i+'"] ';jQuery(".dslc-module-front",j).each(function(){c=parseInt(jQuery(this).data("dslc-module-size"));g+=c;if(g==i){jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col");g=0}b=jQuery(this).find(".dslca-module-code").val();d=d+"[dslc_module]"+b+"[/dslc_module] "});d=d+"[/dslc_modules_area] "});d=d+"[/dslc_modules_section] ";return d}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()}}"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)});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(dslcDebug)console.log("dslc_show_modal");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}).show();jQuery(".dslca-prompt-modal-custom").insertAfter(b);jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn();b.addClass("dslca-modal-open");b.css({}).fadeIn(600)}function dslc_hide_modal(a,b){if(dslcDebug)console.log("dslc_hide_modal");var b=jQuery(b);b.outerHide("destroy");b.hide();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(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(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","")})});"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")){a(".dslca-change-width-module-options",this).toggle();a(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-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-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(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",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(jQuery(this))},1)}}).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);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();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);jQuery(".dslca-header .dslca-options-filter-hook").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()},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){LiveComposer.Builder.UI.clearUtils();var d=LiveComposer.Builder.Helpers.insertModule(c.output,b);d.addClass("dslca-module-being-edited");dslc_generate_code();LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-module-being-edited img",LiveComposer.Builder.PreviewAreaDocument).load(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument))});LiveComposer.Builder.PreviewAreaWindow.dslc_tabs();LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();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(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-module-being-edited img",LiveComposer.Builder.PreviewAreaDocument).load(function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument))});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();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")};"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().then(function(b){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);
2
+ }}});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("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(b!=="none"){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){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();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(c){var d=jQuery(c.output);d.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main"));dslc_drag_and_drop();dslc_generate_code();dslc_show_publish_button();new LiveComposer.Builder.Elements.CRow(d);new LiveComposer.Builder.Elements.CModuleArea(d.find(".dslc-modules-area").eq(0)[0]);if(a){a()}d.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col");b.resolve(d[0])});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()})}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(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).find(".dslc-modules-section:last-child"));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",".lc-scroll-bottom-area",function(c){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){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}});"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);jQuery(this).next().click()});jQuery(".dslca-container").on("hover",".dslca-module-edit-option-slider .dslca-module-edit-field-numeric",function(){dslc_module_options_numeric(this)});jQuery(".dslca-container").on("hover",".dslca-modules-section-edit-option-slider .dslca-modules-section-edit-field",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();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();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-field-icon-switch-set",function(){var a=jQuery(".dslca-module-edit-field-icon-switch-sets");var b=jQuery(this);jQuery(".dslca-module-edit-field-icon-switch-set.dslca-active").removeClass("dslca-active");b.addClass("dslca-active");if(a.is(":visible")){jQuery(".dslca-module-edit-field-icon-switch-sets").hide()}else{var c=b.find(".dslca-module-edit-field-icon-curr-set").text();jQuery(".dslca-module-edit-field-icon-switch-sets span.dslca-active").removeClass("dslca-active");jQuery('.dslca-module-edit-field-icon-switch-sets span[data-set="'+c+'"]').addClass("dslca-active");var d=b.offset(),e=a.outerHeight(),f=a.outerWidth(),g=d.left-f/2+6,h="50%";if(g<0){h=f/2+g+"px";g=0}jQuery(".dslca-module-edit-field-icon-switch-sets").show().css({top:d.top-e-20,left:g});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-switch-sets:after, .dslca-module-edit-field-icon-switch-sets:before { left: "+h+" }</style>"))}});jQuery(document).on("click",".dslca-module-edit-field-icon-switch-sets span",function(){var b=a(this).data("set");dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b);a(this).addClass("dslca-active").siblings(".dslca-active").removeClass("dslca-active");a(".dslca-module-edit-field-icon-switch-set.dslca-active .dslca-module-edit-field-icon-curr-set").text(b);a(".dslca-module-edit-field-icon-switch-set.dslca-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field-icon-next").trigger("click");
3
+ a(".dslca-module-edit-field-icon-switch-sets").hide()});jQuery(document).on("mouseenter",".dslca-module-edit-option-icon",function(){var b=a(this).find(".dslca-module-edit-field-icon-curr-set").text();dslcIconsCurrentSet=DSLCIcons[b];a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b)})});(function(){var a=jQuery;var b=LiveComposer.Builder;LiveComposer.Builder.Helpers.colorpickers=[];LiveComposer.Builder.UI.initInlineEditors=function(){LiveComposer.Builder.PreviewAreaWindow.tinyMCE.init({selector:".inline-editor.dslca-editable-content",editor_deselector:"mce-content-body",menubar:false,inline:true,plugins:"link",style_formats:[{title:"Paragraph",format:"p"},{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 | link unlink | bullist numlist "})};LiveComposer.Builder.UI.clearUtils=function(){if(Array.isArray(b.Helpers.colorpickers)){b.Helpers.colorpickers.forEach(function(a){a.spectrum("destroy")});b.Helpers.colorpickers=[]}jQuery(".temp-styles-for-module",LiveComposer.Builder.PreviewAreaDocument).remove();jQuery(".sp-container").remove()};LiveComposer.Builder.Helpers.depsHandlers=[];LiveComposer.Builder.UI.loadOptionsDeps=function(){var b=this;a(".dslca-module-edit-option").each(function(){var c=this;var d=true;try{var e=JSON.parse(LiveComposer.Utils.b64_to_utf8(a(this).data("dep")))}catch(f){d=false}if(d){var g=function(){var b=this;var c={};if((b.type=="radio"||b.type=="checkbox")&&e[b.value]==undefined){return false}if(b.type=="checkbox"&&e[b.value]!=undefined){c[b.value]=e[b.value]}else{c=e}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")+'"]',g);b.Helpers.depsHandlers.push(g)}});a(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")};LiveComposer.Builder.UI.unloadOptionsDeps=function(){b.Helpers.depsHandlers.forEach(function(b){a(document).unbind("change",b);a(document).unbind("dslc-init-deps",b)});b.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;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(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(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"){var B=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),C=B.find("select").val();if(C=="enabled"){jQuery('.dslca-module-edit-option[data-section="styling"]').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-edit-options-tabs").hide();B.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")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').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")}else{jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').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");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");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);LiveComposer.Builder.moduleBackup=false;dslc_module_output_altered(function(){dslc_generate_code();jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited");if(!jQuery("body").hasClass("rtl")){jQuery(".dslca-module-edit-options-inner").html("")}else{jQuery(".dslca-module-edit-options-inner").html("")}jQuery(".dslca-module-edit-options-tabs").html("");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_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=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 e=c.offset();var f=a.outerHeight();var g=a.outerWidth();var h=e.left-g/2+6;var i="50%";if(h<0){i=g/2+h+"px";h=0}jQuery(".dslca-module-edit-field-ttip").show().css({top:e.top-f-20,left:h});jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+i+" }</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;i[0]=[];i[1]=[];i[2]=[];i[3]=[];if(localStorage["dslcColorpickerPalleteStorage"]==undefined){}else{j=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);for(k=0;k<j.length;k++){var l=Math.floor(k/3);if(l<4){i[l].push(j[k])}}}var m=a;jQuery(m).each(function(){h=jQuery(this).val();jQuery(this).spectrum({color:h,showInput:true,allowEmpty:true,showAlpha:true,clickoutFiresChange:true,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:true,palette:i,move:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}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")},change:function(a){b=jQuery(this);if(a==null){e=""}else{e=a.toRgbString().replace(/ /g,"")}b.val(e).trigger("change");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");if(localStorage["dslcColorpickerPalleteStorage"]==undefined){var h=[e];localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}else{var h=JSON.parse(localStorage["dslcColorpickerPalleteStorage"]);if(h.indexOf(e)==-1){h.unshift(e)}localStorage["dslcColorpickerPalleteStorage"]=JSON.stringify(h)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}});LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))});jQuery(".dslca-sp-revert").click(function(){var a=jQuery(".sp-replacer.sp-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("default");jQuery(this).closest(".sp-container").find(".sp-input").val(a).trigger("change")})}function dslc_module_options_numeric(a){var b=jQuery;if(dslcDebug)console.log("dslc_module_options_numeric");var c=a||".dslca-module-edit-option-slider .dslca-module-edit-field-numeric";jQuery(c).each(function(){if(this.classList.contains("slider-initiated"))return;var a=false;var c=false;var d=0;var e=this;var f=0;var g=parseFloat(jQuery(this).data("max"))>0?parseFloat(b(this).data("max")):2e3;var h=parseFloat(jQuery(this).data("min"))>-2e3?parseFloat(b(this).data("min")):0;var i=parseFloat(jQuery(this).data("increment"))>0?parseFloat(b(this).data("increment")):1;var j,k,l,m,n,o,p,q,r,s,t,u,v;e.classList.add("slider-initiated");jQuery(e).keyup(function(a){if(undefined===a){return false}if(a.shiftKey){if(a.keyCode==38){this.value=(parseInt(this.value)||0)+9;jQuery(this).trigger("change")}if(a.keyCode==40){this.value=parseInt(this.value)+0-9;jQuery(this).trigger("change")}}if(a.keyCode==8||a.keyCode==45){jQuery(this).trigger("change")}if(a.keyCode>=48&&a.keyCode<=57||a.keyCode>=96&&a.keyCode<=105){jQuery(this).trigger("change")}if(!a.key.match(/\d/)&&a.keyCode!=8&&a.keyCode!=39&&a.keyCode!=37&&a.keyCode!=46){return false}});jQuery(e).unbind("change");jQuery(e).change(function(a){if(this.value>g){this.value=g}if(this.value<h){this.value=h}s=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);s.addClass("dslca-module-change-made")});jQuery(document).mouseup(function(){a=false});jQuery(e).mousedown(function(b){a=parseFloat(b.pageX);d=parseFloat(e.value&&e.value!=""?e.value:0);f=0});jQuery(".dslca-section").mousemove(function(b){if(a!==false){b=b||window.event;var c=b.clientX;var d=c-f;if(0<d){e.value=Math.round((parseFloat(e.value)+i)*100)/100}else{e.value=Math.round((parseFloat(e.value)-i)*100)/100}f=c;jQuery(e).trigger("change")}});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();
4
+ 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("#page-builder-frame").on("load",function(){var a=this;LiveComposer.Builder.PreviewAreaWindow=this.contentWindow;LiveComposer.Builder.PreviewAreaDocument=jQuery(this).contents();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("body").addClass("dslca-enabled dslca-drag-not-in-progress");jQuery(".dslca-invisible-overlay").hide();jQuery(".dslca-section").eq(0).show()});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})}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).hide();jQuery('.dslca-origin[data-origin="'+a+'"]',b).show();if(a==""){jQuery(".dslca-origin",b).show()}}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(c);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(b){b.preventDefault();var c=a(b.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id");dslc_toogle_control(c)});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(a(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)})}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 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")}}"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)},encode:function(a){a=dslc_serialize(a);a=LiveComposer.Utils.utf8_to_b64(a);return a},decode:function(a){a=LiveComposer.Utils.b64_to_utf8(a);a=dslc_unserialize(a);return a},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=LiveComposer.Utils.decode(f);f[b]=c;f=LiveComposer.Utils.encode(f);d.value=f;d.innerHTML=f;e.value=c;e.innerHTML=c},publish:function(a,b){b=b?b:{};this.checkParams([[a,"string"],[b,"object"]]);jQuery.event.trigger({type:a,message:{details: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)}jQuery(document).ready(function(a){a(document).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)});a(document).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")})})});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")}}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")})}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")){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("moduleChanged",{moduleId:g[0].id,optionID:e,optionVal:p||d.val()})}});a(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){return false;var b="",c=a(this),d=c.data("id"),e=c.closest(".dslca-module-edit-option"),f=a(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),g=f.data("dslc-module-id"),h=jQuery(".dslca-module-options-front textarea",f),i=c.data("affect-on-change-el"),j=c.data("affect-on-change-rule"),k=c.val(),l=k+c.data("ext"),m;f.addClass("dslca-module-change-made");if(jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")!="active"){m=j.replace(/ /g,"").split(",");jQuery('.dslca-module-option-front[data-id="'+d+'"]',f).val(k)}})});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);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");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/builder.animations.functions.js CHANGED
@@ -64,7 +64,7 @@
64
 
65
  if ( ! jQuery('body').hasClass('dslca-composer-hidden' ) ) {
66
 
67
- jQuery('#dslc-header').addClass('dslca-header-low-z-index');
68
 
69
  if ( jQuery(this).height() < 130 )
70
  jQuery('.dslca-modules-area-manage', this).addClass('dslca-horizontal');
@@ -79,7 +79,7 @@
79
 
80
  if ( ! jQuery('body').hasClass('dslca-composer-hidden' ) ) {
81
 
82
- jQuery('#dslc-header').removeClass('dslca-header-low-z-index');
83
 
84
  }
85
 
64
 
65
  if ( ! jQuery('body').hasClass('dslca-composer-hidden' ) ) {
66
 
67
+ // jQuery('#dslc-header').addClass('dslca-header-low-z-index');
68
 
69
  if ( jQuery(this).height() < 130 )
70
  jQuery('.dslca-modules-area-manage', this).addClass('dslca-horizontal');
79
 
80
  if ( ! jQuery('body').hasClass('dslca-composer-hidden' ) ) {
81
 
82
+ // jQuery('#dslc-header').removeClass('dslca-header-low-z-index');
83
 
84
  }
85
 
js/builder/builder.module.functions.js CHANGED
@@ -585,7 +585,7 @@ function dslc_module_output_altered( callback ) {
585
 
586
  // TODO: Add new postponed action to run after all done
587
 
588
- // dslc_generate_code();
589
  // dslc_show_publish_button();
590
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
591
  LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument) );
585
 
586
  // TODO: Add new postponed action to run after all done
587
 
588
+ dslc_generate_code(); // Do not delete. It refresh classes on "option preview refresh -> true"
589
  // dslc_show_publish_button();
590
  LiveComposer.Builder.PreviewAreaWindow.dslc_carousel();
591
  LiveComposer.Builder.PreviewAreaWindow.dslc_masonry( jQuery('.dslca-module-being-edited', LiveComposer.Builder.PreviewAreaDocument) );
js/builder/builder.modulearea.class.js CHANGED
@@ -146,13 +146,18 @@ LiveComposer.Builder.Elements.CModuleArea = function(elem) {
146
  jQuery( elem ).attr('data-jsinit', 'initialized');
147
 
148
  /** Sort option setter */
149
- jQuery(document).on('LC.sortableOff', function(){
150
 
151
- self.sortable.option('disabled', true);
 
 
 
152
  });
153
 
154
  jQuery(document).on('LC.sortableOn', function(){
155
-
156
- self.sortable.option('disabled', false);
 
157
  });
 
158
  }
146
  jQuery( elem ).attr('data-jsinit', 'initialized');
147
 
148
  /** Sort option setter */
149
+ /* why it's here? Sortable by pybaxa doesn't have .sortable option
150
 
151
+ jQuery(document).on('LC.sortableOff', function(){
152
+ if ( undefined !== self.sortable.sortable( "instance" ) ) {
153
+ self.sortable.sortable('option','disabled', true);
154
+ }
155
  });
156
 
157
  jQuery(document).on('LC.sortableOn', function(){
158
+ if ( undefined !== self.sortable.sortable( "instance" ) ) {
159
+ self.sortable.sortable('option','disabled', false);
160
+ }
161
  });
162
+ */
163
  }
js/builder/builder.presets.functions.js CHANGED
@@ -38,7 +38,7 @@ function dslc_update_preset() {
38
 
39
  // Reload all modules with the same preset
40
  jQuery('.dslc-module-front:not(#' + module.attr('id') + ')[data-dslc-module-id="' + module.data('dslc-module-id') +
41
- '"][data-dslc-preset="' + module.data('dslc-preset') + '"]').each(function(){
42
  dslc_module_output_reload( jQuery(this) );
43
  });
44
  }
38
 
39
  // Reload all modules with the same preset
40
  jQuery('.dslc-module-front:not(#' + module.attr('id') + ')[data-dslc-module-id="' + module.data('dslc-module-id') +
41
+ '"][data-dslc-preset="' + module.data('dslc-preset') + '"]', LiveComposer.Builder.PreviewAreaDocument ).each(function(){
42
  dslc_module_output_reload( jQuery(this) );
43
  });
44
  }
js/builder/builder.row.class.js CHANGED
@@ -97,12 +97,14 @@ LiveComposer.Builder.Elements.CRow = function(elem) {
97
 
98
  /** Sort option setter */
99
  jQuery(document).on('LC.sortableOff', function(){
100
-
101
- self.sortable.sortable('option','disabled', true);
 
102
  });
103
 
104
  jQuery(document).on('LC.sortableOn', function(){
105
-
106
- self.sortable.sortable('option','disabled', false);
 
107
  });
108
  }
97
 
98
  /** Sort option setter */
99
  jQuery(document).on('LC.sortableOff', function(){
100
+ if ( undefined !== self.sortable.sortable( "instance" ) ) {
101
+ self.sortable.sortable('option','disabled', true);
102
+ }
103
  });
104
 
105
  jQuery(document).on('LC.sortableOn', function(){
106
+ if ( undefined !== self.sortable.sortable( "instance" ) ) {
107
+ self.sortable.sortable('option','disabled', false);
108
+ }
109
  });
110
  }
js/builder/builder.scroller.functions.js CHANGED
@@ -10,68 +10,85 @@
10
  */
11
  jQuery(document).ready(function($){
12
 
13
- /**
14
- * Scroll list of modules with a mouse wheel.
15
- */
16
- var deltaKoef = .75;
17
- var increment = 500;
18
- var scroller = jQuery('.dslca-section-scroller');
19
- var scrollInner = jQuery('.dslca-section-scroller-inner', this)[0];
20
 
21
- jQuery('.dslca-section-scroller').on( 'wheel', function(event) {
 
 
 
 
 
 
 
22
 
23
- scroll_to( event.originalEvent.deltaY || event.originalEvent.deltaX );
24
 
25
- return false;
26
- });
27
 
28
- /**
29
- * Scroll to delta
30
- *
31
- * @param {int} delta
32
- */
33
- function scroll_to(delta) {
34
 
35
- delta = delta * deltaKoef;
 
 
 
 
 
36
 
37
- var lisdtWidth = parseInt(scroller.find('.dslca-section-scroller-content').width() || 0);
38
 
39
- if ( lisdtWidth <= window.innerWidth - 260 ) return false;
 
40
 
41
- var scrollMax = lisdtWidth - window.innerWidth + 240;
42
- delta = parseInt(scrollInner.style.left || 0) - delta;
43
- delta = delta >= 0 ? 0 : delta;
44
- delta = delta <= -scrollMax ? -scrollMax : delta;
45
 
46
- scrollInner.style.left = delta + 'px';
47
- }
48
 
49
- /**
50
- * Hook - Scroller Prev
51
- */
52
- jQuery(document).on( 'click', '.dslca-section-scroller-prev', function(e){
53
 
54
- e.preventDefault();
55
- scroll_to( -increment );
56
- });
57
 
58
- /**
59
- * Hook - Scroller Next
60
- */
61
- jQuery(document).on( 'click', '.dslca-section-scroller-next', function(e){
62
 
63
- e.preventDefault();
64
- scroll_to( increment );
65
- });
66
 
67
- jQuery(window).load(function(){
 
68
 
69
- // Initiate scroller on window resize
70
- jQuery(window).resize(function(){
 
 
71
 
72
- scroll_to( 0 );
 
73
  });
74
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  });
76
 
77
  /** Window Y-scroller */
10
  */
11
  jQuery(document).ready(function($){
12
 
13
+ var scrollerPlugin = function(container){
 
 
 
 
 
 
14
 
15
+ /**
16
+ * Scroll list of modules with a mouse wheel.
17
+ */
18
+ var deltaKoef = .75;
19
+ var increment = 500;
20
+ var scrollinc = 100;
21
+ var scroller = jQuery('.dslca-section-scroller', container);
22
+ var scrollInner = jQuery('.dslca-section-scroller-inner', container)[0];
23
 
24
+ scroller.on( 'wheel', function(event) {
25
 
26
+ scroll_to( event.originalEvent.deltaY || event.originalEvent.deltaX );
 
27
 
28
+ return false;
29
+ });
 
 
 
 
30
 
31
+ /**
32
+ * Scroll to delta
33
+ *
34
+ * @param {int} delta
35
+ */
36
+ function scroll_to(delta) {
37
 
38
+ if (delta < 0 ) {
39
 
40
+ delta = -scrollinc;
41
+ } else {
42
 
43
+ delta = scrollinc;
44
+ }
 
 
45
 
46
+ delta = delta * deltaKoef;
 
47
 
48
+ var listWidth = scroller.find('.dslca-section-scroller-content').width();
49
+ var contentWidth = scroller.width();
 
 
50
 
51
+ if ( listWidth <= contentWidth ) return false;
 
 
52
 
53
+ var scrollMax = listWidth - contentWidth + 10;
 
 
 
54
 
55
+ delta = parseInt(scrollInner.style.left || 0) - delta;
56
+ delta = delta >= 0 ? 0 : delta;
57
+ delta = delta <= -scrollMax ? -scrollMax : delta;
58
 
59
+ scrollInner.style.left = delta + 'px';
60
+ }
61
 
62
+ /**
63
+ * Hook - Scroller Prev
64
+ */
65
+ jQuery('.dslca-section-scroller-prev', container).click(function(e){
66
 
67
+ e.preventDefault();
68
+ scroll_to( -increment );
69
  });
70
+
71
+ /**
72
+ * Hook - Scroller Next
73
+ */
74
+ jQuery('.dslca-section-scroller-next', container).click(function(e){
75
+
76
+ e.preventDefault();
77
+ scroll_to( increment );
78
+ });
79
+
80
+ jQuery(window).load(function(){
81
+
82
+ // Initiate scroller on window resize
83
+ jQuery(window).resize(function(){
84
+
85
+ scroll_to( 0 );
86
+ });
87
+ });
88
+ }
89
+
90
+ scrollerPlugin(jQuery('.dslca-section.dslca-modules'));
91
+ scrollerPlugin(jQuery('.dslca-section.dslca-templates-load'));
92
  });
93
 
94
  /** Window Y-scroller */
js/builder/builder.sectionscontainer.class.js CHANGED
@@ -47,12 +47,15 @@ LiveComposer.Builder.Elements.CSectionsContainer = function(elem) {
47
 
48
  /** Sort option setter */
49
  jQuery(document).on('LC.sortableOff', function(){
50
-
51
- self.sortable.sortable('option','disabled', true);
 
52
  });
53
 
54
  jQuery(document).on('LC.sortableOn', function(){
55
-
56
- self.sortable.sortable('option', 'disabled', false);
 
57
  });
 
58
  }
47
 
48
  /** Sort option setter */
49
  jQuery(document).on('LC.sortableOff', function(){
50
+ if ( undefined !== self.sortable.sortable( "instance" ) ) {
51
+ self.sortable.sortable('option','disabled', true);
52
+ }
53
  });
54
 
55
  jQuery(document).on('LC.sortableOn', function(){
56
+ if ( undefined !== self.sortable.sortable( "instance" ) ) {
57
+ self.sortable.sortable('option','disabled', false);
58
+ }
59
  });
60
+
61
  }
js/builder/builder.settings.panel.functions.js CHANGED
@@ -265,13 +265,11 @@ jQuery(document).ready(function($){
265
  plugins: 'link',
266
  style_formats: [
267
  {title: 'Paragraph', format: 'p'},
268
- {title: 'Header 1', format: 'h1'},
269
  {title: 'Header 2', format: 'h2'},
270
  {title: 'Header 3', format: 'h3'},
271
  {title: 'Header 4', format: 'h4'},
272
  {title: 'Header 5', format: 'h5'},
273
  {title: 'Header 6', format: 'h6'},
274
- {title: 'Pre', format: 'preformatted'},
275
  ],
276
  toolbar: 'styleselect | bold italic blockquote | removeformat | link unlink | bullist numlist '
277
  });
265
  plugins: 'link',
266
  style_formats: [
267
  {title: 'Paragraph', format: 'p'},
 
268
  {title: 'Header 2', format: 'h2'},
269
  {title: 'Header 3', format: 'h3'},
270
  {title: 'Header 4', format: 'h4'},
271
  {title: 'Header 5', format: 'h5'},
272
  {title: 'Header 6', format: 'h6'},
 
273
  ],
274
  toolbar: 'styleselect | bold italic blockquote | removeformat | link unlink | bullist numlist '
275
  });
js/builder/builder.uigeneral.functions.js CHANGED
@@ -67,7 +67,6 @@ jQuery(document).ready(function($) {
67
 
68
  // Disable WP admin bar in editing mode
69
  jQuery('#wpadminbar', LiveComposer.Builder.PreviewAreaDocument).remove();
70
- jQuery('body', LiveComposer.Builder.PreviewAreaDocument).addClass('dslca-enabled dslca-drag-not-in-progress');
71
 
72
  LiveComposer.Builder.UI.initInlineEditors();
73
  dslc_fix_contenteditable();
@@ -284,6 +283,8 @@ function dslc_hide_composer() {
284
 
285
  // Add class to know it's hidden
286
  jQuery('body').addClass('dslca-composer-hidden');
 
 
287
 
288
  // Hide ( animation ) the main composer area ( at the bottom )
289
  jQuery('.dslca-container').css({ bottom : jQuery('.dslca-container').outerHeight() * -1 });
@@ -307,6 +308,8 @@ function dslc_show_composer() {
307
 
308
  // Remove the class from the body so we know it's not hidden
309
  jQuery('body').removeClass('dslca-composer-hidden');
 
 
310
 
311
  // Show ( animate ) the main composer area ( at the bottom )
312
  jQuery('.dslca-container').css({ bottom : 0 });
67
 
68
  // Disable WP admin bar in editing mode
69
  jQuery('#wpadminbar', LiveComposer.Builder.PreviewAreaDocument).remove();
 
70
 
71
  LiveComposer.Builder.UI.initInlineEditors();
72
  dslc_fix_contenteditable();
283
 
284
  // Add class to know it's hidden
285
  jQuery('body').addClass('dslca-composer-hidden');
286
+ jQuery('body', LiveComposer.Builder.PreviewAreaDocument).addClass('dslca-composer-hidden');
287
+
288
 
289
  // Hide ( animation ) the main composer area ( at the bottom )
290
  jQuery('.dslca-container').css({ bottom : jQuery('.dslca-container').outerHeight() * -1 });
308
 
309
  // Remove the class from the body so we know it's not hidden
310
  jQuery('body').removeClass('dslca-composer-hidden');
311
+ jQuery('body', LiveComposer.Builder.PreviewAreaDocument).removeClass('dslca-composer-hidden');
312
+
313
 
314
  // Show ( animate ) the main composer area ( at the bottom )
315
  jQuery('.dslca-container').css({ bottom : 0 });
js/builder/builder.util.functions.js CHANGED
@@ -512,7 +512,7 @@ jQuery(document).ready(function($) {
512
  }
513
 
514
  var elems = dslcAffectOnChangeEl.split(',');
515
- var styleContent = "#" + module[0].id + " " + elems.join(", #" + module[0].id) + "{" + dslcAffectOnChangeRule + ": " + dslcAffectOnChangeVal + "}";
516
 
517
  LiveComposer.Builder.Helpers.processInlineStyleTag({
518
 
@@ -548,7 +548,7 @@ jQuery(document).ready(function($) {
548
  }
549
 
550
  var elems = dslcAffectOnChangeEl.split(',');
551
- var styleContent = "#" + module[0].id + " " + elems.join(", #" + module[0].id) + "{" + dslcAffectOnChangeRule + ": " + dslcAffectOnChangeVal + "}";
552
 
553
  LiveComposer.Builder.Helpers.processInlineStyleTag({
554
 
@@ -569,6 +569,10 @@ jQuery(document).ready(function($) {
569
 
570
  dslcOptionChoices.each(function(){
571
 
 
 
 
 
572
  if ( jQuery(this).prop('checked') ) {
573
 
574
  dslcOptionValue = dslcOptionValue + 'solid ';
@@ -578,6 +582,8 @@ jQuery(document).ready(function($) {
578
  dslcOptionValue = dslcOptionValue + 'none ';
579
  }
580
  });
 
 
581
  }
582
 
583
  /**
@@ -617,7 +623,7 @@ jQuery(document).ready(function($) {
617
  var module = jQuery(".dslca-module-being-edited", LiveComposer.Builder.PreviewAreaDocument);
618
 
619
  var elems = dslcAffectOnChangeEl.split(',');
620
- var styleContent = "#" + module[0].id + " " + elems.join(", #" + module[0].id) + "{" + rule + ": " + dslcAffectOnChangeVal + dslcExt + "}";
621
 
622
  LiveComposer.Builder.Helpers.processInlineStyleTag({
623
 
@@ -633,7 +639,18 @@ jQuery(document).ready(function($) {
633
  * Update option
634
  */
635
 
636
- jQuery( '.dslca-module-option-front[data-id="' + dslcOptionID + '"]', dslcModule ).val( dslcAffectOnChangeValOrig || dslcOption.val() );
 
 
 
 
 
 
 
 
 
 
 
637
 
638
  LiveComposer.Utils.publish( 'moduleChanged', {
639
 
512
  }
513
 
514
  var elems = dslcAffectOnChangeEl.split(',');
515
+ var styleContent = "#" + module[0].id + " " + elems.join(", #" + module[0].id + " ") + " {" + dslcAffectOnChangeRule + ": " + dslcAffectOnChangeVal + "}";
516
 
517
  LiveComposer.Builder.Helpers.processInlineStyleTag({
518
 
548
  }
549
 
550
  var elems = dslcAffectOnChangeEl.split(',');
551
+ var styleContent = "#" + module[0].id + " " + elems.join(", #" + module[0].id + " ") + " {" + dslcAffectOnChangeRule + ": " + dslcAffectOnChangeVal + "}";
552
 
553
  LiveComposer.Builder.Helpers.processInlineStyleTag({
554
 
569
 
570
  dslcOptionChoices.each(function(){
571
 
572
+ /*
573
+ @todo This function is specific to borders. Needs review.
574
+ */
575
+
576
  if ( jQuery(this).prop('checked') ) {
577
 
578
  dslcOptionValue = dslcOptionValue + 'solid ';
582
  dslcOptionValue = dslcOptionValue + 'none ';
583
  }
584
  });
585
+
586
+ // Here dslcOptionValue will look like: none none none solid.
587
  }
588
 
589
  /**
623
  var module = jQuery(".dslca-module-being-edited", LiveComposer.Builder.PreviewAreaDocument);
624
 
625
  var elems = dslcAffectOnChangeEl.split(',');
626
+ var styleContent = "#" + module[0].id + " " + elems.join(", #" + module[0].id + " ") + " {" + rule + ": " + dslcAffectOnChangeVal + dslcExt + "}";
627
 
628
  LiveComposer.Builder.Helpers.processInlineStyleTag({
629
 
639
  * Update option
640
  */
641
 
642
+ var dslcOptionToApply = '';
643
+
644
+ // Do we work with CSS control or module property?
645
+ if ( dslcOptionID.indexOf('css_') !== -1 ) {
646
+ // Apply CSS property.
647
+ dslcOptionToApply = dslcAffectOnChangeValOrig;
648
+ } else {
649
+ // Apply module property.
650
+ dslcOptionToApply = dslcOption.val();
651
+ }
652
+
653
+ jQuery( '.dslca-module-option-front[data-id="' + dslcOptionID + '"]', dslcModule ).val( dslcOptionToApply );
654
 
655
  LiveComposer.Utils.publish( 'moduleChanged', {
656
 
js/frontend.all.min.js CHANGED
@@ -1,3 +1,3 @@
1
- function dslc_responsive_classes(a){if(a===undefined)a=false;var b=jQuery(window).width();var c=jQuery("body");if(a==true||!c.hasClass("dslc-res-disabled")&&!jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length){c.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big");if(b>=1024&&b<1280){c.addClass("dslc-res-smaller-monitor")}else if(b>=768&&b<1024){c.addClass("dslc-res-tablet")}else if(b<768){c.addClass("dslc-res-phone")}else{c.addClass("dslc-res-big")}}dslc_masonry()}function dslc_init_accordion(){jQuery(".dslc-accordion").each(function(){var a=jQuery(this),b=a.data("open")-1,c=jQuery(".dslc-accordion-item:eq("+b+")",a),d=c.siblings(".dslc-accordion-item"),e=jQuery(".dslc-accordion-item",a);if(b>=0){c.addClass("dslc-active");d.addClass("dslc-inactive");jQuery(".dslc-accordion-content",d).hide()}else{e.addClass("dslc-inactive");jQuery(".dslc-accordion-content",e).hide()}})}function dslc_init_lightbox(){var a;jQuery(".dslc-lightbox-image").each(function(){a="image";if(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0){a="iframe"}jQuery(this).magnificPopup({type:a})});jQuery(".dslc-lightbox-gallery").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:true}})})}function dslc_carousel(){jQuery(".dslc-carousel, .dslc-slider").each(function(){var a,b,c,d,e;a=jQuery(this);b=a.closest(".dslc-module-front");if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var f=0}else{var f=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":f,"margin-right":f});a.css({"margin-left":f*-1,width:a.width()+f*2})}c={items:4,pagination:true,singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,lazyLoad:false,lazyFollow:true,autoHeight:false,mouseDrag:true,touchDrag:true,addClassActive:true,transitionStyle:"fade",scrollPerPage:true};d={items:a.data("columns"),pagination:a.data("pagination"),itemsScaleUp:a.data("scale-up"),slideSpeed:a.data("slide-speed"),paginationSpeed:a.data("pagination-speed"),rewindSpeed:a.data("rewind-speed"),autoPlay:a.data("autoplay"),stopOnHover:a.data("stop-on-hover"),lazyLoad:a.data("lazy-load"),lazyFollow:a.data("lazy-follow"),autoHeight:a.data("flexible-height"),mouseDrag:a.data("mouse-drag"),touchDrag:a.data("touch-drag"),addClassActive:a.data("active-class"),transitionStyle:a.data("animation"),scrollPerPage:a.data("scroll-per-page")};e=jQuery.extend({},c,d);if(a.hasClass("dslc-slider")||e.items==1){e.singleItem=true}if(e.autoPlay==0){e.autoPlay=false}a.owlCarousel({items:e.items,pagination:e.pagination,singleItem:e.singleItem,itemsScaleUp:e.itemsScaleUp,slideSpeed:e.slideSpeed,paginationSpeed:e.paginationSpeed,rewindSpeed:e.rewindSpeed,autoPlay:e.autoPlay,stopOnHover:e.stopOnHover,lazyLoad:e.lazyLoad,lazyFollow:e.lazyFollow,mouseDrag:e.mouseDrag,touchDrag:e.touchDrag,scrollPerPage:e.scrollPerPage,transitionStyle:e.transitionStyle,autoHeight:e.autoHeight,itemsDesktop:false,itemsDesktopSmall:false,itemsTablet:false,itemsMobile:[766,1],afterInit:function(){a.prev(".dslc-loader").remove();a.css({opacity:1,maxHeight:"none"})},afterAction:function(){var b=this.owl.visibleItems;a.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible");a.find(".owl-item").filter(function(a){return b.indexOf(a)>-1}).addClass("dslc-carousel-item-visible")}});jQuery(".dslc-carousel-nav-next",b).click(function(b){b.preventDefault();a.data("owlCarousel").next()});jQuery(".dslc-carousel-nav-prev",b).click(function(b){b.preventDefault();a.data("owlCarousel").prev()})})}function dslc_carousel_responsive(){jQuery(".dslc-carousel").each(function(){var a,b;a=jQuery(this);b=a.closest(".dslc-module-front");a.css({"margin-left":0,width:"auto"});if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var c=0}else{var c=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":c,"margin-right":c});a.css({"margin-left":c*-1,width:a.width()+c*2})}})}function dslc_bg_video(){jQuery(".dslc-bg-video").each(function(){if(!jQuery(this).find("video").length){jQuery(this).css({opacity:1})}});jQuery(".dslc-bg-video video").mediaelementplayer({loop:true,pauseOtherPlayers:false,success:function(a,b){a.addEventListener("loadeddata",function(a){jQuery(b).closest(".dslc-bg-video").animate({opacity:1},400)});a.play()}})}function dslc_parallax(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})});window.onscroll=function(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})})}}function dslc_masonry(a,b){a=typeof a!=="undefined"?a:jQuery("body");b=typeof b!=="undefined"?b:false;jQuery(".dslc-init-masonry",a).each(function(){var a,c,d,e,f,g;if(jQuery(this).find(".dslc-posts-inner").length){a=jQuery(this).find(".dslc-posts-inner")}else{a=jQuery(this)}c=".dslc-masonry-item";e=jQuery(c,a).width();f=jQuery(a).width();if(jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){g=0}else{g=f/100*2.05}if(a.data("masonry")){jQuery(a).imagesLoaded(function(){jQuery(a).masonry("destroy").masonry({gutter:g,itemSelector:c});jQuery(a).find(".dslc-post:not(.dslc-masonry-item)").hide();if(b){jQuery(c,a).css({scale:"0.2"}).animate({scale:"1"},500)}})}else{jQuery(c).css({marginRight:0});jQuery(a).imagesLoaded(function(){jQuery(a).masonry({gutter:g,itemSelector:c})})}})}function dslc_tabs_generate_code(a){var b=a.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",a);dslcTabsContent=jQuery(".dslc-tabs-content",a);dslcTabContent=jQuery(".dslc-tabs-tab-content",a);var c="";var d="";var e=0;var f=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each(function(){e++;if(e>1){c+=" (dslc_sep) "}c+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()});dslcTabContent.each(function(){f++;if(f>1){d+=" (dslc_sep) "}d+=jQuery(this).find(".dslca-tab-plain-content").val()});d=d.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="tabs_nav"]',b).val(c);jQuery('.dslca-module-option-front[data-id="tabs_content"]',b).val(d);parent.dslc_option_changed()}function dslc_accordion_generate_code(a){var b=a.closest(".dslc-module-front"),c=0,d="",e="";jQuery(".dslc-accordion-item",a).each(function(){c++;if(c>1){d+=" (dslc_sep) ";e+=" (dslc_sep) "}d+=jQuery(this).find(".dslc-accordion-title").text();e+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()});e=e.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="accordion_nav"]',b).val(d);jQuery('.dslca-module-option-front[data-id="accordion_content"]',b).val(e);parent.dslc_option_changed()}function dslc_tabs(){var a,b,c,d;jQuery(".dslc-tabs").each(function(){a=jQuery(this);b=jQuery(".dslc-tabs-nav",a);c=jQuery(".dslc-tabs-content",a);d=jQuery(".dslc-tabs-tab-content",a);d.eq(0).addClass("dslc-active");jQuery(".dslc-tabs-nav-hook",b).eq(0).addClass("dslc-active")})}function dslc_download_count_increment(a){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:a},function(a){})}function dslc_check_viewport(){var a=false||!!document.documentMode;if(!a){jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each(function(){var a=jQuery(this);var b=a.data("dslc-anim");var c=parseInt(a.data("dslc-anim-duration"))/1e3;var d=c+"s";if(jQuery(window).width()<768){d="0s"}var e=parseInt(a.data("dslc-anim-delay"));var f=a.data("dslc-anim-easing");var g=b+" "+d+" "+f+" forwards";jQuery(this).addClass("dslc-in-viewport");if(e>0){setTimeout(function(){a.css({"-webkit-animation":g,"-moz-animation":g,animation:g})},e)}else{jQuery(this).css({"-webkit-animation":g,"-moz-animation":g,animation:g})}})}else{jQuery(".dslc-in-viewport-check").css("opacity",1)}}function dslc_el_anim_hover(){jQuery(".dslc-on-hover-anim-target").each(function(){var a=parseInt(jQuery(this).data("dslc-anim-speed"))/1e3;var b="all "+a+"s ease-out";jQuery(this).css({"-webkit-transition":b,"-moz-transition":b,transition:b})})}function dslc_check_progress_bar_viewport(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each(function(){var a=jQuery(this),b=a.find(".dslc-progress-bar-loader-inner"),c=b.data("amount")+"%",d=b.data("speed");a.addClass("dslc-progress-bar-in-viewport");b.css({width:0,opacity:1}).animate({width:c},d)})}function dslc_validate_comment_form(a){var b=a.find("#author"),c=a.find("#email"),d=a.find("#url"),e=a.find("#comment"),f=true;if(b.length&&b.val().length==0){b.css({borderColor:"#e55f5f"});f=false}else{b.attr("style","")}if(c.length&&(c.val().length==0||c.val().indexOf("@")===-1)){c.css({borderColor:"#e55f5f"});f=false}else{c.attr("style","")}if(e.val().length==0){e.css({borderColor:"#e55f5f"});f=false}else{e.attr("style","")}return f}function dslc_social_share(a,b,c){var d,e,f,g;d=window.screen.width/2-(a/2+10);e=window.screen.height/2-(b/2+50);var h="status=no,height="+b+",width="+a+",resizable=yes,left="+d+",top="+e+",screenX="+d+",screenY="+e+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";f=location.href;g=document.title;window.open(c,"sharer",h);return false}jQuery(document).ready(function(a){dslc_el_anim_hover();dslc_bg_video();dslc_tabs();a(document).on("click",".dslc-pagination-load-more a",function(b){b.preventDefault();if(a(this).parent().hasClass("dslc-active")){var c=a(this),d=a(this).closest(".dslc-module-front"),e=d.find(".dslc-pagination"),f=d.find(".dslc-posts-inner"),g=d.attr("id"),h=c.attr("href"),i=d.find(".dslc-load-more-temp");c.find(".dslc-icon").addClass("dslc-icon-spin");i.load(h+" #"+g,function(){f.append('<div class="dslc-post-separator"></div>');f.append(i.find(".dslc-posts-inner").html());d.find(".dslc-pagination").html(i.find(".dslc-pagination").html());e.replaceWith(i.find(".dslc-pagination"));i.html("");f.imagesLoaded(function(){if(d.find(".dslc-init-masonry").length){d.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}})})}});a(".dslc-tp-comment-form form").submit(function(a){if(!dslc_validate_comment_form(jQuery(this))){a.preventDefault()}});jQuery(".dslc-mobile-navigation select").change(function(){window.location=a(this).val()});jQuery(document).on("click",".dslca-add-new-tab-hook",function(){var a=jQuery(this).closest(".dslc-tabs"),b=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",a),c=jQuery(".dslc-tabs-content",a),d=jQuery(".dslc-tabs-tab-content:last",a);b.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable>Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');d.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');jQuery(".dslc-tabs-nav-hook:last",a).click();dslc_tabs_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-tab-hook",function(a){var b=jQuery(this).closest(".dslc-tabs");var c=jQuery(this).closest(".dslc-tabs-nav-hook");var d=c.index();var e=jQuery(".dslc-tabs-tab-content",b).eq(d);if(jQuery(".dslc-tabs-nav-hook",b).length>1){c.remove();e.remove();if(!jQuery(".dslc-tabs-tab-content.dslc-active",b).length){jQuery(".dslc-tabs-nav-hook:first",b).trigger("click")}dslc_tabs_generate_code(b)}else{alert("You can not delete the last remaining tab")}a.stopPropagation()});jQuery(document).on("click",".dslc-tabs-nav-hook",function(a){if(!jQuery(this).hasClass("dslc-active")){dslcTabs=jQuery(this).closest(".dslc-tabs");dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs);dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs);dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs);dslcTabIndex=jQuery(this).index();jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active");jQuery(this).addClass("dslc-active");if(jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length){jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,function(){jQuery(this).removeClass("dslc-active");dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})}else{dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}}});jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-notification-close",function(b){a(this).closest(".dslc-notification").slideUp(200,function(){a(this).remove()})});a(document).on("click",".dslc-post-filter",function(){var b=a(this).data("id");var c=a(this).closest(".dslc-module-front").find(".dslc-post");var d=a(this).closest(".dslc-module-front").find('.dslc-post[data-cats*="'+b+'"]');var e=a(this).closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+b+'"])');var f=c.closest(".dslc-posts");var g=a(this).closest(".dslc-module-front");a(this).removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive");if(f.hasClass("dslc-init-grid")){d.stop().animate({opacity:1},300);e.stop().animate({opacity:.3},300)}else{e.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"});d.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show();dslc_masonry(g,true)}});a(document).on("click",".dslc-download-count-hook",function(b){dslc_download_count_increment(a(this).data("post-id"))});a(".dslc-notification-box-has-timeout").each(function(){var b=a(this);nTimeout="none",moduleID=b.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID;if(b.data("notification-timeout")){if(Cookies.get(cookieID)==undefined){b.show()}}});a(document).on("click",".dslc-notification-box-close",function(){var b=a(this).closest(".dslc-notification-box"),c="none",d=b.closest(".dslc-module-front").data("module-id"),e="nBox"+d;if(b.data("notification-timeout")){c=b.data("notification-timeout")}if(c!=="none"){Cookies.set(e,"closed",{expires:c})}b.animate({opacity:0},400,function(){a(this).remove()})});dslc_init_lightbox();dslc_init_accordion();a(document).on("click",".dslc-accordion-hook",function(){var b=a(this).closest(".dslc-accordion-item"),c=b.siblings(".dslc-accordion-item");if(b.hasClass("dslc-active")){c=b}else{b.removeClass("dslc-inactive").addClass("dslc-active")}c.removeClass("dslc-active").addClass("dslc-inactive");a(".dslc-accordion-content",b).slideDown(300);a(".dslc-accordion-content",c).slideUp(300)});jQuery(document).on("click",".dslca-add-accordion-hook",function(){var a=jQuery(this).closest(".dslc-accordion"),b=jQuery(".dslc-accordion-item:last",a),c=b.clone().insertAfter(b);jQuery(".dslc-accordion-title",c).html("CLICK TO EDIT");jQuery(".dslc-accordion-content",c).html('<div class="dslca-editable-content">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Edit Content</span></div>');jQuery(".dslc-accordion-hook",c).click();dslc_accordion_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(".dslc-accordion-item",b).length>1){c.remove();if(!jQuery(".dslc-accordion-item.dslc-active",b).length){jQuery(".dslc-accordion-hook:first",b).trigger("click")}dslc_accordion_generate_code(b)}else{alert("You can not delete the last remaining accordion item.")}a.stopPropagation()});jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item"),d=c.next(".dslc-accordion-item"),e=c.prev(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(this).hasClass("dslca-move-down-accordion-hook")){c.insertAfter(d);dslc_accordion_generate_code(b)}else{c.insertBefore(e);dslc_accordion_generate_code(b)}a.stopPropagation()});jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))}).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-trigger-lightbox-gallery",function(a){a.preventDefault();if(jQuery(this).closest(".dslc-post").length){jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click")}else if(jQuery(this).closest(".dslc-col")){var b=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+b+")").trigger("click")}else{jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")}});a(".dslc-navigation li").mouseenter(function(){var b=a(this).children("ul");if(b.length){if(a(this).closest(".dslc-navigation").hasClass("dslc-navigation-sub-position-center")){var c=a(this).closest("li").width(),d=b.outerWidth(),e=parseInt(c)/2-parseInt(d)/2+"px";b.css({left:e})}b.css({display:"block"});var f=b.offset().left;var g=b.outerWidth();var h=a("body").width();if(h<f+g){b.addClass("dslc-navigation-invert-subnav")}a(this).children("ul").stop().animate({opacity:1},300)}}).mouseleave(function(){a(this).children("ul").stop().animate({opacity:0},300,function(){a(this).css({display:"none"}).children("ul").removeClass("dslc-navigation-invert-subnav")})});dslc_check_viewport();dslc_check_progress_bar_viewport();a(document).on("scroll",function(){dslc_check_viewport();dslc_check_progress_bar_viewport()})});jQuery(window).load(function(){dslc_responsive_classes();dslc_carousel();dslc_parallax();dslc_init_lightbox()});jQuery(window).resize(function(){dslc_responsive_classes();dslc_carousel_responsive()});"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data({"owl-originalStyles":a.$elem.attr("style"),"owl-originalClasses":a.$elem.attr("class")}),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;return 0===a.$elem.children().length?!1:(a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),void a.onStartup())},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),a.options.transitionStyle!==!1&&a.transitionTypes(a.options.transitionStyle),a.options.autoPlay===!0&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;a.options.lazyLoad===!0&&a.lazyLoad(),a.options.autoHeight===!0&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;return a.$elem.is(":visible")!==!1?!1:(a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),void(a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)))},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(d.options.responsive===!1)return!1;if(d.options.singleItem===!0)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),d.options.itemsCustom!==!1)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c<d.options.itemsCustom.length;c+=1)d.options.itemsCustom[c][0]<=b&&(d.options.items=d.options.itemsCustom[c][1]);else b<=d.options.itemsDesktop[0]&&d.options.itemsDesktop!==!1&&(d.options.items=d.options.itemsDesktop[1]),b<=d.options.itemsDesktopSmall[0]&&d.options.itemsDesktopSmall!==!1&&(d.options.items=d.options.itemsDesktopSmall[1]),b<=d.options.itemsTablet[0]&&d.options.itemsTablet!==!1&&(d.options.items=d.options.itemsTablet[1]),b<=d.options.itemsTabletSmall[0]&&d.options.itemsTabletSmall!==!1&&(d.options.items=d.options.itemsTabletSmall[1]),b<=d.options.itemsMobile[0]&&d.options.itemsMobile!==!1&&(d.options.items=d.options.itemsMobile[1]);d.options.items>d.itemsAmount&&d.options.itemsScaleUp===!0&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;return e.options.responsive!==!0?!1:(d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(e.options.autoPlay!==!1&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},void a(b).resize(e.resizer))},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),a.options.autoPlay!==!1&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),(e%b.options.items===0||e===d)&&(e>d||(c+=1)),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b<e.itemsAmount;b+=1)g+=e.itemWidth,e.positionsInArray.push(-g),e.options.scrollPerPage===!0&&(c=a(e.$owlItems[b]),d=c.data("owl-roundPages"),d!==f&&(e.pagesInArray[f]=e.positionsInArray[b],f=d))},buildControls:function(){var b=this;(b.options.navigation===!0||b.options.pagination===!0)&&(b.owlControls=a('<div class="owl-controls"/>').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),b.options.pagination===!0&&b.buildPagination(),b.options.navigation===!0&&b.buildButtons()},buildButtons:function(){var b=this,c=a('<div class="owl-buttons"/>');b.owlControls.append(c),b.buttonPrev=a("<div/>",{"class":"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("<div/>",{"class":"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a('<div class="owl-pagination"/>'),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(h.options.pagination===!1)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e<h.itemsAmount;e+=1)e%h.options.items===0&&(b+=1,c===e&&(d=h.itemsAmount-h.options.items),f=a("<div/>",{"class":"owl-page"}),g=a("<span></span>",{text:h.options.paginationNumbers===!0?b:"","class":h.options.paginationNumbers===!0?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;return b.options.pagination===!1?!1:void b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;return a.options.navigation===!1?!1:void(a.options.rewindNav===!1&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled"))))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem>b.maximumItem+(b.options.scrollPerPage===!0?b.options.items-1:0)){if(b.options.rewindNav!==!0)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(b.options.scrollPerPage===!0&&b.currentItem>0&&b.currentItem<b.options.items?b.currentItem=0:b.currentItem-=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem<0){if(b.options.rewindNav!==!0)return b.currentItem=0,!1;b.currentItem=b.maximumItem,a="rewind"}b.goTo(b.currentItem,a)},goTo:function(a,c,d){var e,f=this;return f.isTransition?!1:("function"==typeof f.options.beforeMove&&f.options.beforeMove.apply(this,[f.$elem]),a>=f.maximumItem?a=f.maximumItem:0>=a&&(a=0),f.currentItem=f.owl.currentItem=a,f.options.transitionStyle!==!1&&"drag"!==d&&1===f.options.items&&f.browser.support3d===!0?(f.swapSpeed(0),f.browser.support3d===!0?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],f.browser.support3d===!0?(f.isCss3Finish=!1,c===!0?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):c===!0?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:0>=a&&(a=0),b.swapSpeed(0),b.browser.support3d===!0?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),a.options.autoPlay!==!1&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;return a.apStatus="play",a.options.autoPlay===!1?!1:(b.clearInterval(a.autoPlayInterval),void(a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)))},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a));
2
  },addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;(a.options.mouseDrag!==!1||a.options.touchDrag!==!1)&&(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},a.options.mouseDrag===!0&&a.options.touchDrag===!0?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:a.options.mouseDrag===!1&&a.options.touchDrag===!0?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:a.options.mouseDrag===!0&&a.options.touchDrag===!1&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(i.isCssFinish===!1&&!i.options.dragBeforeAnimFinish)return!1;if(i.isCss3Finish===!1&&!i.options.dragBeforeAnimFinish)return!1;i.options.autoPlay!==!1&&b.clearInterval(i.autoPlayInterval),i.browser.isTouch===!0||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&j.dragging!==!0&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===!0&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&j.sliding===!1&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),i.browser.support3d===!0?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,i.browser.isTouch!==!0&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&i.browser.isTouch!==!0&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=b.options.scrollPerPage===!0?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20<g&&"left"===b.moveDirection()?(e=g,b.options.scrollPerPage===!0?b.currentItem=a.inArray(e,b.positionsInArray):b.currentItem=f):d+b.itemWidth/20<g&&d+b.itemWidth/20>(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(b.options.scrollPerPage===!0?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;a.options.stopOnHover===!0&&a.browser.isTouch!==!0&&a.options.autoPlay!==!1&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f,g=this;if(g.options.lazyLoad===!1)return!1;for(b=0;b<g.itemsAmount;b+=1)c=a(g.$owlItems[b]),"loaded"!==c.data("owl-loaded")&&(d=c.data("owl-item"),e=c.find(".lazyOwl"),"string"==typeof e.data("src")?(void 0===c.data("owl-loaded")&&(e.hide(),c.addClass("loading").data("owl-loaded","checked")),f=g.options.lazyFollow===!0?d>=g.currentItem:!0,f&&d<g.currentItem+g.options.items&&e.length&&e.each(function(){g.lazyPreload(c,a(this))})):c.data("owl-loaded","loaded"))},lazyPreload:function(a,c){function d(){a.data("owl-loaded","loaded").removeClass("loading"),c.removeAttr("data-src"),"fade"===g.options.lazyEffect?c.fadeIn(400):c.show(),"function"==typeof g.options.afterLazyLoad&&g.options.afterLazyLoad.apply(this,[g.$elem])}function e(){h+=1,g.completeImg(c.get(0))||f===!0?d():100>=h?b.setTimeout(e,100):d()}var f,g=this,h=0;"DIV"===c.prop("tagName")?(c.css("background-image","url("+c.data("src")+")"),f=!0):c[0].src=c.data("src"),e()},autoHeight:function(){function c(){var c=a(f.$owlItems[f.currentItem]).height();f.wrapperOuter.css("height",c+"px"),f.wrapperOuter.hasClass("autoHeight")||b.setTimeout(function(){f.wrapperOuter.addClass("autoHeight")},0)}function d(){e+=1,f.completeImg(g.get(0))?c():100>=e?b.setTimeout(d,100):f.wrapperOuter.css("height","")}var e,f=this,g=a(f.$owlItems[f.currentItem]).find("img");void 0!==g.get(0)?(e=0,d()):c()},completeImg:function(a){var b;return a.complete?(b=typeof a.naturalWidth,"undefined"!==b&&0===a.naturalWidth?!1:!0):!1},onVisibleItems:function(){var b,c=this;for(c.options.addClassActive===!0&&c.$owlItems.removeClass("active"),c.visibleItems=[],b=c.currentItem;b<c.currentItem+c.options.items;b+=1)c.visibleItems.push(b),c.options.addClassActive===!0&&a(c.$owlItems[b]).addClass("active");c.owl.visibleItems=c.visibleItems},transitionTypes:function(a){var b=this;b.outClass="owl-"+a+"-out",b.inClass="owl-"+a+"-in"},singleItemTransition:function(){function a(a){return{position:"relative",left:a+"px"}}var b=this,c=b.outClass,d=b.inClass,e=b.$owlItems.eq(b.currentItem),f=b.$owlItems.eq(b.prevItem),g=Math.abs(b.positionsInArray[b.currentItem])+b.positionsInArray[b.prevItem],h=Math.abs(b.positionsInArray[b.currentItem])+b.itemWidth/2,i="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";b.isTransition=!0,b.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":h+"px","-moz-perspective-origin":h+"px","perspective-origin":h+"px"}),f.css(a(g,10)).addClass(c).on(i,function(){b.endPrev=!0,f.off(i),b.clearTransStyle(f,c)}),e.addClass(d).on(i,function(){b.endCurrent=!0,e.off(i),b.clearTransStyle(e,d)})},clearTransStyle:function(a,b){var c=this;a.css({position:"",left:""}).removeClass(b),c.endPrev&&c.endCurrent&&(c.$owlWrapper.removeClass("owl-origin"),c.endPrev=!1,c.endCurrent=!1,c.isTransition=!1)},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var d=this;d.$elem.off(".owl owl mousedown.disableTextSelect"),a(c).off(".owl owl"),a(b).off("resize",d.resizer)},unWrap:function(){var a=this;0!==a.$elem.children().length&&(a.$owlWrapper.unwrap(),a.$userItems.unwrap().unwrap(),a.owlControls&&a.owlControls.remove()),a.clearEvents(),a.$elem.attr({style:a.$elem.data("owl-originalStyles")||"","class":a.$elem.data("owl-originalClasses")})},destroy:function(){var a=this;a.stop(),b.clearInterval(a.checkVisible),a.unWrap(),a.$elem.removeData()},reinit:function(b){var c=this,d=a.extend({},c.userOptions,b);c.unWrap(),c.init(d,c.$elem)},addItem:function(a,b){var c,d=this;return a?0===d.$elem.children().length?(d.$elem.append(a),d.setVars(),!1):(d.unWrap(),c=void 0===b||-1===b?-1:b,c>=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()):!1},removeItem:function(a){var b,c=this;return 0===c.$elem.children().length?!1:(b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),void c.setVars())}};a.fn.owlCarousel=function(b){return this.each(function(){if(a(this).data("owl-init")===!0)return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});(function(a){a.belowthefold=function(b,c){var d=a(window).height()+a(window).scrollTop();return d<=a(b).offset().top-c.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(b,c){var d=a(window).width()+a(window).scrollLeft();return d<=a(b).offset().left-c.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};a.inviewport=function(b,c){return!a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b,c,d){
3
  return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b,c,d){return a.inviewport(b,{threshold:0})}})})(jQuery);!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a<arguments.length;a++){var c=arguments[a];for(var d in c)b[d]=c[d]}return b}function b(c){function d(b,e,f){var g;if(arguments.length>1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l<j.length;l++){var m=j[l].split("="),n=m[0].replace(k,decodeURIComponent),o=m.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{if(o=c.read?c.read(o,n):c(o,n)||o.replace(k,decodeURIComponent),this.json)try{o=JSON.parse(o)}catch(i){}if(b===n){g=o;break}b||(g[n]=o)}catch(i){}}return g}return d.get=d.set=d,d.getJSON=function(){return d.apply({json:!0},[].slice.call(arguments))},d.defaults={},d.remove=function(b,c){d(b,"",a(c,{expires:-1}))},d.withConverter=b,d}return b(function(){})});
1
+ function dslc_responsive_classes(a){if(a===undefined)a=false;var b=jQuery(window).width();var c=jQuery("body");if(a==true||!c.hasClass("dslc-res-disabled")&&!jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length){c.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big");if(b>=1024&&b<1280){c.addClass("dslc-res-smaller-monitor")}else if(b>=768&&b<1024){c.addClass("dslc-res-tablet")}else if(b<768){c.addClass("dslc-res-phone")}else{c.addClass("dslc-res-big")}}dslc_masonry()}function dslc_init_accordion(){jQuery(".dslc-accordion").each(function(){var a=jQuery(this),b=a.data("open")-1,c=jQuery(".dslc-accordion-item:eq("+b+")",a),d=c.siblings(".dslc-accordion-item"),e=jQuery(".dslc-accordion-item",a);if(b>=0){c.addClass("dslc-active");d.addClass("dslc-inactive");jQuery(".dslc-accordion-content",d).hide()}else{e.addClass("dslc-inactive");jQuery(".dslc-accordion-content",e).hide()}})}function dslc_init_lightbox(){var a;jQuery(".dslc-lightbox-image").each(function(){a="image";if(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0){a="iframe"}jQuery(this).magnificPopup({type:a})});jQuery(".dslc-lightbox-gallery").each(function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:true}})})}function dslc_carousel(){jQuery(".dslc-carousel, .dslc-slider").each(function(){var a,b,c,d,e;a=jQuery(this);b=a.closest(".dslc-module-front");if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var f=0}else{var f=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":f,"margin-right":f});a.css({"margin-left":f*-1,width:a.width()+f*2})}c={items:4,pagination:true,singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:false,stopOnHover:false,lazyLoad:false,lazyFollow:true,autoHeight:false,mouseDrag:true,touchDrag:true,addClassActive:true,transitionStyle:"fade",scrollPerPage:true};d={items:a.data("columns"),pagination:a.data("pagination"),itemsScaleUp:a.data("scale-up"),slideSpeed:a.data("slide-speed"),paginationSpeed:a.data("pagination-speed"),rewindSpeed:a.data("rewind-speed"),autoPlay:a.data("autoplay"),stopOnHover:a.data("stop-on-hover"),lazyLoad:a.data("lazy-load"),lazyFollow:a.data("lazy-follow"),autoHeight:a.data("flexible-height"),mouseDrag:a.data("mouse-drag"),touchDrag:a.data("touch-drag"),addClassActive:a.data("active-class"),transitionStyle:a.data("animation"),scrollPerPage:a.data("scroll-per-page")};e=jQuery.extend({},c,d);if(a.hasClass("dslc-slider")||e.items==1){e.singleItem=true}if(e.autoPlay==0){e.autoPlay=false}a.owlCarousel({items:e.items,pagination:e.pagination,singleItem:e.singleItem,itemsScaleUp:e.itemsScaleUp,slideSpeed:e.slideSpeed,paginationSpeed:e.paginationSpeed,rewindSpeed:e.rewindSpeed,autoPlay:e.autoPlay,stopOnHover:e.stopOnHover,lazyLoad:e.lazyLoad,lazyFollow:e.lazyFollow,mouseDrag:e.mouseDrag,touchDrag:e.touchDrag,scrollPerPage:e.scrollPerPage,transitionStyle:e.transitionStyle,autoHeight:e.autoHeight,itemsDesktop:false,itemsDesktopSmall:false,itemsTablet:false,itemsMobile:[766,1],afterInit:function(){a.prev(".dslc-loader").remove();a.css({opacity:1,maxHeight:"none"})},afterAction:function(){var b=this.owl.visibleItems;a.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible");a.find(".owl-item").filter(function(a){return b.indexOf(a)>-1}).addClass("dslc-carousel-item-visible")}});jQuery(".dslc-carousel-nav-next",b).click(function(b){b.preventDefault();a.data("owlCarousel").next()});jQuery(".dslc-carousel-nav-prev",b).click(function(b){b.preventDefault();a.data("owlCarousel").prev()})})}function dslc_carousel_responsive(){jQuery(".dslc-carousel").each(function(){var a,b;a=jQuery(this);b=a.closest(".dslc-module-front");a.css({"margin-left":0,width:"auto"});if(b.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){var c=0}else{var c=b.width()/100*2.12766/2}if(a.hasClass("dslc-carousel")){a.find(".dslc-col").css({"margin-left":c,"margin-right":c});a.css({"margin-left":c*-1,width:a.width()+c*2})}})}function dslc_bg_video(){jQuery(".dslc-bg-video").each(function(){if(!jQuery(this).find("video").length){jQuery(this).css({opacity:1})}});jQuery(".dslc-bg-video video").mediaelementplayer({loop:true,pauseOtherPlayers:false,success:function(a,b){a.addEventListener("loadeddata",function(a){jQuery(b).closest(".dslc-bg-video").animate({opacity:1},400)});a.play()}})}function dslc_parallax(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})});window.onscroll=function(){jQuery(".dslc-init-parallax").each(function(){var a=4,b=jQuery(this).css("background-position").split(" "),c=b[0],d=c+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/a+"px";jQuery(this).css({backgroundPosition:d})})}}function dslc_masonry(a,b){a=typeof a!=="undefined"?a:jQuery("body");b=typeof b!=="undefined"?b:false;jQuery(".dslc-init-masonry",a).each(function(){var a,c,d,e,f,g;if(jQuery(this).find(".dslc-posts-inner").length){a=jQuery(this).find(".dslc-posts-inner")}else{a=jQuery(this)}c=".dslc-masonry-item";e=jQuery(c,a).width();f=jQuery(a).width();if(jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")){g=0}else{g=f/100*2.05}if(a.data("masonry")){jQuery(a).imagesLoaded(function(){jQuery(a).masonry("destroy").masonry({gutter:g,itemSelector:c});jQuery(a).find(".dslc-post:not(.dslc-masonry-item)").hide();if(b){jQuery(c,a).css({scale:"0.2"}).animate({scale:"1"},500)}})}else{jQuery(c).css({marginRight:0});jQuery(a).imagesLoaded(function(){jQuery(a).masonry({gutter:g,itemSelector:c})})}})}function dslc_tabs_generate_code(a){var b=a.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",a);dslcTabsContent=jQuery(".dslc-tabs-content",a);dslcTabContent=jQuery(".dslc-tabs-tab-content",a);var c="";var d="";var e=0;var f=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each(function(){e++;if(e>1){c+=" (dslc_sep) "}c+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()});dslcTabContent.each(function(){f++;if(f>1){d+=" (dslc_sep) "}d+=jQuery(this).find(".dslca-tab-plain-content").val()});d=d.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="tabs_nav"]',b).val(c);jQuery('.dslca-module-option-front[data-id="tabs_content"]',b).val(d);parent.dslc_option_changed()}function dslc_accordion_generate_code(a){var b=a.closest(".dslc-module-front"),c=0,d="",e="";jQuery(".dslc-accordion-item",a).each(function(){c++;if(c>1){d+=" (dslc_sep) ";e+=" (dslc_sep) "}d+=jQuery(this).find(".dslc-accordion-title").text();e+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()});e=e.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea");jQuery('.dslca-module-option-front[data-id="accordion_nav"]',b).val(d);jQuery('.dslca-module-option-front[data-id="accordion_content"]',b).val(e);parent.dslc_option_changed()}function dslc_tabs(){var a,b,c,d;jQuery(".dslc-tabs").each(function(){a=jQuery(this);b=jQuery(".dslc-tabs-nav",a);c=jQuery(".dslc-tabs-content",a);d=jQuery(".dslc-tabs-tab-content",a);d.eq(0).addClass("dslc-active");jQuery(".dslc-tabs-nav-hook",b).eq(0).addClass("dslc-active")})}function dslc_download_count_increment(a){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:a},function(a){})}function dslc_check_viewport(){var a=false||!!document.documentMode;if(!a){jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each(function(){var a=jQuery(this);var b=a.data("dslc-anim");var c=parseInt(a.data("dslc-anim-duration"))/1e3;var d=c+"s";if(jQuery(window).width()<768){d="0s"}var e=parseInt(a.data("dslc-anim-delay"));var f=a.data("dslc-anim-easing");var g=b+" "+d+" "+f+" forwards";jQuery(this).addClass("dslc-in-viewport");if(e>0){setTimeout(function(){a.css({"-webkit-animation":g,"-moz-animation":g,animation:g})},e)}else{jQuery(this).css({"-webkit-animation":g,"-moz-animation":g,animation:g})}})}else{jQuery(".dslc-in-viewport-check").css("opacity",1)}}function dslc_el_anim_hover(){jQuery(".dslc-on-hover-anim-target").each(function(){var a=parseInt(jQuery(this).data("dslc-anim-speed"))/1e3;var b="all "+a+"s ease-out";jQuery(this).css({"-webkit-transition":b,"-moz-transition":b,transition:b})})}function dslc_check_progress_bar_viewport(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each(function(){var a=jQuery(this),b=a.find(".dslc-progress-bar-loader-inner"),c=b.data("amount")+"%",d=b.data("speed");a.addClass("dslc-progress-bar-in-viewport");b.css({width:0,opacity:1}).animate({width:c},d)})}function dslc_validate_comment_form(a){var b=a.find("#author"),c=a.find("#email"),d=a.find("#url"),e=a.find("#comment"),f=true;if(b.length&&b.val().length==0){b.css({borderColor:"#e55f5f"});f=false}else{b.attr("style","")}if(c.length&&(c.val().length==0||c.val().indexOf("@")===-1)){c.css({borderColor:"#e55f5f"});f=false}else{c.attr("style","")}if(e.val().length==0){e.css({borderColor:"#e55f5f"});f=false}else{e.attr("style","")}return f}function dslc_social_share(a,b,c){var d,e,f,g;d=window.screen.width/2-(a/2+10);e=window.screen.height/2-(b/2+50);var h="status=no,height="+b+",width="+a+",resizable=yes,left="+d+",top="+e+",screenX="+d+",screenY="+e+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";f=location.href;g=document.title;window.open(c,"sharer",h);return false}jQuery(document).ready(function(a){dslc_el_anim_hover();dslc_bg_video();dslc_tabs();a(document).on("click",".dslc-pagination-load-more a",function(b){b.preventDefault();if(a(this).parent().hasClass("dslc-active")){var c=a(this),d=a(this).closest(".dslc-module-front"),e=d.find(".dslc-pagination"),f=d.find(".dslc-posts-inner"),g=d.attr("id"),h=c.attr("href"),i=d.find(".dslc-load-more-temp");c.find(".dslc-icon").addClass("dslc-icon-spin");i.load(h+" #"+g,function(){f.append('<div class="dslc-post-separator"></div>');f.append(i.find(".dslc-posts-inner").html());d.find(".dslc-pagination").html(i.find(".dslc-pagination").html());e.replaceWith(i.find(".dslc-pagination"));i.html("");f.imagesLoaded(function(){if(d.find(".dslc-init-masonry").length){d.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}})})}});a(".dslc-tp-comment-form form").submit(function(a){if(!dslc_validate_comment_form(jQuery(this))){a.preventDefault()}});jQuery(".dslc-mobile-navigation select").change(function(){window.location=a(this).val()});jQuery(document).on("click",".dslca-add-new-tab-hook",function(){var a=jQuery(this).closest(".dslc-tabs"),b=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",a),c=jQuery(".dslc-tabs-content",a),d=jQuery(".dslc-tabs-tab-content:last",a);b.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');d.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');jQuery(".dslc-tabs-nav-hook:last",a).click();dslc_tabs_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-tab-hook",function(a){var b=jQuery(this).closest(".dslc-tabs");var c=jQuery(this).closest(".dslc-tabs-nav-hook");var d=c.index();var e=jQuery(".dslc-tabs-tab-content",b).eq(d);if(jQuery(".dslc-tabs-nav-hook",b).length>1){c.remove();e.remove();if(!jQuery(".dslc-tabs-tab-content.dslc-active",b).length){jQuery(".dslc-tabs-nav-hook:first",b).trigger("click")}dslc_tabs_generate_code(b)}else{alert("You can not delete the last remaining tab")}a.stopPropagation()});jQuery(document).on("click",".dslc-tabs-nav-hook",function(a){if(!jQuery(this).hasClass("dslc-active")){dslcTabs=jQuery(this).closest(".dslc-tabs");dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs);dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs);dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs);dslcTabIndex=jQuery(this).index();jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active");jQuery(this).addClass("dslc-active");if(jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length){jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,function(){jQuery(this).removeClass("dslc-active");dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})}else{dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}}});jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))}).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-notification-close",function(b){a(this).closest(".dslc-notification").slideUp(200,function(){a(this).remove()})});a(document).on("click",".dslc-post-filter",function(){var b=a(this).data("id");var c=a(this).closest(".dslc-module-front").find(".dslc-post");var d=a(this).closest(".dslc-module-front").find('.dslc-post[data-cats*="'+b+'"]');var e=a(this).closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+b+'"])');var f=c.closest(".dslc-posts");var g=a(this).closest(".dslc-module-front");a(this).removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive");if(f.hasClass("dslc-init-grid")){d.stop().animate({opacity:1},300);e.stop().animate({opacity:.3},300)}else{e.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"});d.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show();dslc_masonry(g,true)}});a(document).on("click",".dslc-download-count-hook",function(b){dslc_download_count_increment(a(this).data("post-id"))});a(".dslc-notification-box-has-timeout").each(function(){var b=a(this);nTimeout="none",moduleID=b.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID;if(b.data("notification-timeout")){if(Cookies.get(cookieID)==undefined){b.show()}}});a(document).on("click",".dslc-notification-box-close",function(){var b=a(this).closest(".dslc-notification-box"),c="none",d=b.closest(".dslc-module-front").data("module-id"),e="nBox"+d;if(b.data("notification-timeout")){c=b.data("notification-timeout")}if(c!=="none"){Cookies.set(e,"closed",{expires:c})}b.animate({opacity:0},400,function(){a(this).remove()})});dslc_init_lightbox();dslc_init_accordion();a(document).on("click",".dslc-accordion-hook",function(){var b=a(this).closest(".dslc-accordion-item"),c=b.siblings(".dslc-accordion-item");if(b.hasClass("dslc-active")){c=b}else{b.removeClass("dslc-inactive").addClass("dslc-active")}c.removeClass("dslc-active").addClass("dslc-inactive");a(".dslc-accordion-content",b).slideDown(300);a(".dslc-accordion-content",c).slideUp(300)});jQuery(document).on("click",".dslca-add-accordion-hook",function(){var a=jQuery(this).closest(".dslc-accordion"),b=jQuery(".dslc-accordion-item:last",a),c=b.clone().insertAfter(b);jQuery(".dslc-accordion-title",c).html("CLICK TO EDIT");jQuery(".dslc-accordion-content",c).html('<div class="dslca-editable-content">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Edit Content</span></div>');jQuery(".dslc-accordion-hook",c).click();dslc_accordion_generate_code(a);if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});jQuery(document).on("click",".dslca-delete-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(".dslc-accordion-item",b).length>1){c.remove();if(!jQuery(".dslc-accordion-item.dslc-active",b).length){jQuery(".dslc-accordion-hook:first",b).trigger("click")}dslc_accordion_generate_code(b)}else{alert("You can not delete the last remaining accordion item.")}a.stopPropagation()});jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",function(a){var b=jQuery(this).closest(".dslc-accordion"),c=jQuery(this).closest(".dslc-accordion-item"),d=c.next(".dslc-accordion-item"),e=c.prev(".dslc-accordion-item");if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}if(jQuery(this).hasClass("dslca-move-down-accordion-hook")){c.insertAfter(d);dslc_accordion_generate_code(b)}else{c.insertBefore(e);dslc_accordion_generate_code(b)}a.stopPropagation()});jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))}).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",function(){if(!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")){jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}});a(document).on("click",".dslc-trigger-lightbox-gallery",function(a){a.preventDefault();if(jQuery(this).closest(".dslc-post").length){jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click")}else if(jQuery(this).closest(".dslc-col")){var b=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+b+")").trigger("click")}else{jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")}});a(".dslc-navigation li").mouseenter(function(){var b=a(this).children("ul");if(b.length){if(a(this).closest(".dslc-navigation").hasClass("dslc-navigation-sub-position-center")){var c=a(this).closest("li").width(),d=b.outerWidth(),e=parseInt(c)/2-parseInt(d)/2+"px";b.css({left:e})}b.css({display:"block"});var f=b.offset().left;var g=b.outerWidth();var h=a("body").width();if(h<f+g){b.addClass("dslc-navigation-invert-subnav")}a(this).children("ul").stop().animate({opacity:1},300)}}).mouseleave(function(){a(this).children("ul").stop().animate({opacity:0},300,function(){a(this).css({display:"none"}).children("ul").removeClass("dslc-navigation-invert-subnav")})});dslc_check_viewport();dslc_check_progress_bar_viewport();a(document).on("scroll",function(){dslc_check_viewport();dslc_check_progress_bar_viewport()})});jQuery(window).load(function(){dslc_responsive_classes();dslc_carousel();dslc_parallax();dslc_init_lightbox()});jQuery(window).resize(function(){dslc_responsive_classes();dslc_carousel_responsive()});"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c){var d={init:function(b,c){var d=this;d.$elem=a(c),d.options=a.extend({},a.fn.owlCarousel.options,d.$elem.data(),b),d.userOptions=b,d.loadContent()},loadContent:function(){function b(a){var b,c="";if("function"==typeof d.options.jsonSuccess)d.options.jsonSuccess.apply(this,[a]);else{for(b in a.owl)a.owl.hasOwnProperty(b)&&(c+=a.owl[b].item);d.$elem.html(c)}d.logIn()}var c,d=this;"function"==typeof d.options.beforeInit&&d.options.beforeInit.apply(this,[d.$elem]),"string"==typeof d.options.jsonPath?(c=d.options.jsonPath,a.getJSON(c,b)):d.logIn()},logIn:function(){var a=this;a.$elem.data({"owl-originalStyles":a.$elem.attr("style"),"owl-originalClasses":a.$elem.attr("class")}),a.$elem.css({opacity:0}),a.orignalItems=a.options.items,a.checkBrowser(),a.wrapperWidth=0,a.checkVisible=null,a.setVars()},setVars:function(){var a=this;return 0===a.$elem.children().length?!1:(a.baseClass(),a.eventTypes(),a.$userItems=a.$elem.children(),a.itemsAmount=a.$userItems.length,a.wrapItems(),a.$owlItems=a.$elem.find(".owl-item"),a.$owlWrapper=a.$elem.find(".owl-wrapper"),a.playDirection="next",a.prevItem=0,a.prevArr=[0],a.currentItem=0,a.customEvents(),void a.onStartup())},onStartup:function(){var a=this;a.updateItems(),a.calculateAll(),a.buildControls(),a.updateControls(),a.response(),a.moveEvents(),a.stopOnHover(),a.owlStatus(),a.options.transitionStyle!==!1&&a.transitionTypes(a.options.transitionStyle),a.options.autoPlay===!0&&(a.options.autoPlay=5e3),a.play(),a.$elem.find(".owl-wrapper").css("display","block"),a.$elem.is(":visible")?a.$elem.css("opacity",1):a.watchVisibility(),a.onstartup=!1,a.eachMoveUpdate(),"function"==typeof a.options.afterInit&&a.options.afterInit.apply(this,[a.$elem])},eachMoveUpdate:function(){var a=this;a.options.lazyLoad===!0&&a.lazyLoad(),a.options.autoHeight===!0&&a.autoHeight(),a.onVisibleItems(),"function"==typeof a.options.afterAction&&a.options.afterAction.apply(this,[a.$elem])},updateVars:function(){var a=this;"function"==typeof a.options.beforeUpdate&&a.options.beforeUpdate.apply(this,[a.$elem]),a.watchVisibility(),a.updateItems(),a.calculateAll(),a.updatePosition(),a.updateControls(),a.eachMoveUpdate(),"function"==typeof a.options.afterUpdate&&a.options.afterUpdate.apply(this,[a.$elem])},reload:function(){var a=this;b.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;return a.$elem.is(":visible")!==!1?!1:(a.$elem.css({opacity:0}),b.clearInterval(a.autoPlayInterval),b.clearInterval(a.checkVisible),void(a.checkVisible=b.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),b.clearInterval(a.checkVisible))},500)))},wrapItems:function(){var a=this;a.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),a.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),a.wrapperOuter=a.$elem.find(".owl-wrapper-outer"),a.$elem.css("display","block")},baseClass:function(){var a=this,b=a.$elem.hasClass(a.options.baseClass),c=a.$elem.hasClass(a.options.theme);b||a.$elem.addClass(a.options.baseClass),c||a.$elem.addClass(a.options.theme)},updateItems:function(){var b,c,d=this;if(d.options.responsive===!1)return!1;if(d.options.singleItem===!0)return d.options.items=d.orignalItems=1,d.options.itemsCustom=!1,d.options.itemsDesktop=!1,d.options.itemsDesktopSmall=!1,d.options.itemsTablet=!1,d.options.itemsTabletSmall=!1,d.options.itemsMobile=!1,!1;if(b=a(d.options.responsiveBaseWidth).width(),b>(d.options.itemsDesktop[0]||d.orignalItems)&&(d.options.items=d.orignalItems),d.options.itemsCustom!==!1)for(d.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),c=0;c<d.options.itemsCustom.length;c+=1)d.options.itemsCustom[c][0]<=b&&(d.options.items=d.options.itemsCustom[c][1]);else b<=d.options.itemsDesktop[0]&&d.options.itemsDesktop!==!1&&(d.options.items=d.options.itemsDesktop[1]),b<=d.options.itemsDesktopSmall[0]&&d.options.itemsDesktopSmall!==!1&&(d.options.items=d.options.itemsDesktopSmall[1]),b<=d.options.itemsTablet[0]&&d.options.itemsTablet!==!1&&(d.options.items=d.options.itemsTablet[1]),b<=d.options.itemsTabletSmall[0]&&d.options.itemsTabletSmall!==!1&&(d.options.items=d.options.itemsTabletSmall[1]),b<=d.options.itemsMobile[0]&&d.options.itemsMobile!==!1&&(d.options.items=d.options.itemsMobile[1]);d.options.items>d.itemsAmount&&d.options.itemsScaleUp===!0&&(d.options.items=d.itemsAmount)},response:function(){var c,d,e=this;return e.options.responsive!==!0?!1:(d=a(b).width(),e.resizer=function(){a(b).width()!==d&&(e.options.autoPlay!==!1&&b.clearInterval(e.autoPlayInterval),b.clearTimeout(c),c=b.setTimeout(function(){d=a(b).width(),e.updateVars()},e.options.responsiveRefreshRate))},void a(b).resize(e.resizer))},updatePosition:function(){var a=this;a.jumpTo(a.currentItem),a.options.autoPlay!==!1&&a.checkAp()},appendItemsSizes:function(){var b=this,c=0,d=b.itemsAmount-b.options.items;b.$owlItems.each(function(e){var f=a(this);f.css({width:b.itemWidth}).data("owl-item",Number(e)),(e%b.options.items===0||e===d)&&(e>d||(c+=1)),f.data("owl-roundPages",c)})},appendWrapperSizes:function(){var a=this,b=a.$owlItems.length*a.itemWidth;a.$owlWrapper.css({width:2*b,left:0}),a.appendItemsSizes()},calculateAll:function(){var a=this;a.calculateWidth(),a.appendWrapperSizes(),a.loops(),a.max()},calculateWidth:function(){var a=this;a.itemWidth=Math.round(a.$elem.width()/a.options.items)},max:function(){var a=this,b=-1*(a.itemsAmount*a.itemWidth-a.options.items*a.itemWidth);return a.options.items>a.itemsAmount?(a.maximumItem=0,b=0,a.maximumPixels=0):(a.maximumItem=a.itemsAmount-a.options.items,a.maximumPixels=b),b},min:function(){return 0},loops:function(){var b,c,d,e=this,f=0,g=0;for(e.positionsInArray=[0],e.pagesInArray=[],b=0;b<e.itemsAmount;b+=1)g+=e.itemWidth,e.positionsInArray.push(-g),e.options.scrollPerPage===!0&&(c=a(e.$owlItems[b]),d=c.data("owl-roundPages"),d!==f&&(e.pagesInArray[f]=e.positionsInArray[b],f=d))},buildControls:function(){var b=this;(b.options.navigation===!0||b.options.pagination===!0)&&(b.owlControls=a('<div class="owl-controls"/>').toggleClass("clickable",!b.browser.isTouch).appendTo(b.$elem)),b.options.pagination===!0&&b.buildPagination(),b.options.navigation===!0&&b.buildButtons()},buildButtons:function(){var b=this,c=a('<div class="owl-buttons"/>');b.owlControls.append(c),b.buttonPrev=a("<div/>",{"class":"owl-prev",html:b.options.navigationText[0]||""}),b.buttonNext=a("<div/>",{"class":"owl-next",html:b.options.navigationText[1]||""}),c.append(b.buttonPrev).append(b.buttonNext),c.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()}),c.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(c){c.preventDefault(),a(this).hasClass("owl-next")?b.next():b.prev()})},buildPagination:function(){var b=this;b.paginationWrapper=a('<div class="owl-pagination"/>'),b.owlControls.append(b.paginationWrapper),b.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(c){c.preventDefault(),Number(a(this).data("owl-page"))!==b.currentItem&&b.goTo(Number(a(this).data("owl-page")),!0)})},updatePagination:function(){var b,c,d,e,f,g,h=this;if(h.options.pagination===!1)return!1;for(h.paginationWrapper.html(""),b=0,c=h.itemsAmount-h.itemsAmount%h.options.items,e=0;e<h.itemsAmount;e+=1)e%h.options.items===0&&(b+=1,c===e&&(d=h.itemsAmount-h.options.items),f=a("<div/>",{"class":"owl-page"}),g=a("<span></span>",{text:h.options.paginationNumbers===!0?b:"","class":h.options.paginationNumbers===!0?"owl-numbers":""}),f.append(g),f.data("owl-page",c===e?d:e),f.data("owl-roundPages",b),h.paginationWrapper.append(f));h.checkPagination()},checkPagination:function(){var b=this;return b.options.pagination===!1?!1:void b.paginationWrapper.find(".owl-page").each(function(){a(this).data("owl-roundPages")===a(b.$owlItems[b.currentItem]).data("owl-roundPages")&&(b.paginationWrapper.find(".owl-page").removeClass("active"),a(this).addClass("active"))})},checkNavigation:function(){var a=this;return a.options.navigation===!1?!1:void(a.options.rewindNav===!1&&(0===a.currentItem&&0===a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.addClass("disabled")):0===a.currentItem&&0!==a.maximumItem?(a.buttonPrev.addClass("disabled"),a.buttonNext.removeClass("disabled")):a.currentItem===a.maximumItem?(a.buttonPrev.removeClass("disabled"),a.buttonNext.addClass("disabled")):0!==a.currentItem&&a.currentItem!==a.maximumItem&&(a.buttonPrev.removeClass("disabled"),a.buttonNext.removeClass("disabled"))))},updateControls:function(){var a=this;a.updatePagination(),a.checkNavigation(),a.owlControls&&(a.options.items>=a.itemsAmount?a.owlControls.hide():a.owlControls.show())},destroyControls:function(){var a=this;a.owlControls&&a.owlControls.remove()},next:function(a){var b=this;if(b.isTransition)return!1;if(b.currentItem+=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem>b.maximumItem+(b.options.scrollPerPage===!0?b.options.items-1:0)){if(b.options.rewindNav!==!0)return b.currentItem=b.maximumItem,!1;b.currentItem=0,a="rewind"}b.goTo(b.currentItem,a)},prev:function(a){var b=this;if(b.isTransition)return!1;if(b.options.scrollPerPage===!0&&b.currentItem>0&&b.currentItem<b.options.items?b.currentItem=0:b.currentItem-=b.options.scrollPerPage===!0?b.options.items:1,b.currentItem<0){if(b.options.rewindNav!==!0)return b.currentItem=0,!1;b.currentItem=b.maximumItem,a="rewind"}b.goTo(b.currentItem,a)},goTo:function(a,c,d){var e,f=this;return f.isTransition?!1:("function"==typeof f.options.beforeMove&&f.options.beforeMove.apply(this,[f.$elem]),a>=f.maximumItem?a=f.maximumItem:0>=a&&(a=0),f.currentItem=f.owl.currentItem=a,f.options.transitionStyle!==!1&&"drag"!==d&&1===f.options.items&&f.browser.support3d===!0?(f.swapSpeed(0),f.browser.support3d===!0?f.transition3d(f.positionsInArray[a]):f.css2slide(f.positionsInArray[a],1),f.afterGo(),f.singleItemTransition(),!1):(e=f.positionsInArray[a],f.browser.support3d===!0?(f.isCss3Finish=!1,c===!0?(f.swapSpeed("paginationSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.paginationSpeed)):"rewind"===c?(f.swapSpeed(f.options.rewindSpeed),b.setTimeout(function(){f.isCss3Finish=!0},f.options.rewindSpeed)):(f.swapSpeed("slideSpeed"),b.setTimeout(function(){f.isCss3Finish=!0},f.options.slideSpeed)),f.transition3d(e)):c===!0?f.css2slide(e,f.options.paginationSpeed):"rewind"===c?f.css2slide(e,f.options.rewindSpeed):f.css2slide(e,f.options.slideSpeed),void f.afterGo()))},jumpTo:function(a){var b=this;"function"==typeof b.options.beforeMove&&b.options.beforeMove.apply(this,[b.$elem]),a>=b.maximumItem||-1===a?a=b.maximumItem:0>=a&&(a=0),b.swapSpeed(0),b.browser.support3d===!0?b.transition3d(b.positionsInArray[a]):b.css2slide(b.positionsInArray[a],1),b.currentItem=b.owl.currentItem=a,b.afterGo()},afterGo:function(){var a=this;a.prevArr.push(a.currentItem),a.prevItem=a.owl.prevItem=a.prevArr[a.prevArr.length-2],a.prevArr.shift(0),a.prevItem!==a.currentItem&&(a.checkPagination(),a.checkNavigation(),a.eachMoveUpdate(),a.options.autoPlay!==!1&&a.checkAp()),"function"==typeof a.options.afterMove&&a.prevItem!==a.currentItem&&a.options.afterMove.apply(this,[a.$elem])},stop:function(){var a=this;a.apStatus="stop",b.clearInterval(a.autoPlayInterval)},checkAp:function(){var a=this;"stop"!==a.apStatus&&a.play()},play:function(){var a=this;return a.apStatus="play",a.options.autoPlay===!1?!1:(b.clearInterval(a.autoPlayInterval),void(a.autoPlayInterval=b.setInterval(function(){a.next(!0)},a.options.autoPlay)))},swapSpeed:function(a){var b=this;"slideSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.slideSpeed)):"paginationSpeed"===a?b.$owlWrapper.css(b.addCssSpeed(b.options.paginationSpeed)):"string"!=typeof a&&b.$owlWrapper.css(b.addCssSpeed(a));
2
  },addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){var b=this;b.$owlWrapper.css(b.doTranslate(a))},css2move:function(a){var b=this;b.$owlWrapper.css({left:a})},css2slide:function(a,b){var c=this;c.isCssFinish=!1,c.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||c.options.slideSpeed,complete:function(){c.isCssFinish=!0}})},checkBrowser:function(){var a,d,e,f,g=this,h="translate3d(0px, 0px, 0px)",i=c.createElement("div");i.style.cssText=" -moz-transform:"+h+"; -ms-transform:"+h+"; -o-transform:"+h+"; -webkit-transform:"+h+"; transform:"+h,a=/translate3d\(0px, 0px, 0px\)/g,d=i.style.cssText.match(a),e=null!==d&&1===d.length,f="ontouchstart"in b||b.navigator.msMaxTouchPoints,g.browser={support3d:e,isTouch:f}},moveEvents:function(){var a=this;(a.options.mouseDrag!==!1||a.options.touchDrag!==!1)&&(a.gestures(),a.disabledEvents())},eventTypes:function(){var a=this,b=["s","e","x"];a.ev_types={},a.options.mouseDrag===!0&&a.options.touchDrag===!0?b=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:a.options.mouseDrag===!1&&a.options.touchDrag===!0?b=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:a.options.mouseDrag===!0&&a.options.touchDrag===!1&&(b=["mousedown.owl","mousemove.owl","mouseup.owl"]),a.ev_types.start=b[0],a.ev_types.move=b[1],a.ev_types.end=b[2]},disabledEvents:function(){var b=this;b.$elem.on("dragstart.owl",function(a){a.preventDefault()}),b.$elem.on("mousedown.disableTextSelect",function(b){return a(b.target).is("input, textarea, select, option")})},gestures:function(){function d(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function e(b){"on"===b?(a(c).on(i.ev_types.move,g),a(c).on(i.ev_types.end,h)):"off"===b&&(a(c).off(i.ev_types.move),a(c).off(i.ev_types.end))}function f(c){var f,g=c.originalEvent||c||b.event;if(3===g.which)return!1;if(!(i.itemsAmount<=i.options.items)){if(i.isCssFinish===!1&&!i.options.dragBeforeAnimFinish)return!1;if(i.isCss3Finish===!1&&!i.options.dragBeforeAnimFinish)return!1;i.options.autoPlay!==!1&&b.clearInterval(i.autoPlayInterval),i.browser.isTouch===!0||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,a(this).css(i.removeTransition()),f=a(this).position(),j.relativePos=f.left,j.offsetX=d(g).x-f.left,j.offsetY=d(g).y-f.top,e("on"),j.sliding=!1,j.targetElement=g.target||g.srcElement}}function g(e){var f,g,h=e.originalEvent||e||b.event;i.newPosX=d(h).x-j.offsetX,i.newPosY=d(h).y-j.offsetY,i.newRelativeX=i.newPosX-j.relativePos,"function"==typeof i.options.startDragging&&j.dragging!==!0&&0!==i.newRelativeX&&(j.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(i.newRelativeX>8||i.newRelativeX<-8)&&i.browser.isTouch===!0&&(void 0!==h.preventDefault?h.preventDefault():h.returnValue=!1,j.sliding=!0),(i.newPosY>10||i.newPosY<-10)&&j.sliding===!1&&a(c).off("touchmove.owl"),f=function(){return i.newRelativeX/5},g=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,f()),g()),i.browser.support3d===!0?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function h(c){var d,f,g,h=c.originalEvent||c||b.event;h.target=h.target||h.srcElement,j.dragging=!1,i.browser.isTouch!==!0&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(d=i.getNewPosition(),i.goTo(d,!1,"drag"),j.targetElement===h.target&&i.browser.isTouch!==!0&&(a(h.target).on("click.disable",function(b){b.stopImmediatePropagation(),b.stopPropagation(),b.preventDefault(),a(b.target).off("click.disable")}),f=a._data(h.target,"events").click,g=f.pop(),f.splice(0,0,g))),e("off")}var i=this,j={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",f)},getNewPosition:function(){var a=this,b=a.closestItem();return b>a.maximumItem?(a.currentItem=a.maximumItem,b=a.maximumItem):a.newPosX>=0&&(b=0,a.currentItem=0),b},closestItem:function(){var b=this,c=b.options.scrollPerPage===!0?b.pagesInArray:b.positionsInArray,d=b.newPosX,e=null;return a.each(c,function(f,g){d-b.itemWidth/20>c[f+1]&&d-b.itemWidth/20<g&&"left"===b.moveDirection()?(e=g,b.options.scrollPerPage===!0?b.currentItem=a.inArray(e,b.positionsInArray):b.currentItem=f):d+b.itemWidth/20<g&&d+b.itemWidth/20>(c[f+1]||c[f]-b.itemWidth)&&"right"===b.moveDirection()&&(b.options.scrollPerPage===!0?(e=c[f+1]||c[c.length-1],b.currentItem=a.inArray(e,b.positionsInArray)):(e=c[f+1],b.currentItem=f+1))}),b.currentItem},moveDirection:function(){var a,b=this;return b.newRelativeX<0?(a="right",b.playDirection="next"):(a="left",b.playDirection="prev"),a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()}),a.$elem.on("owl.prev",function(){a.prev()}),a.$elem.on("owl.play",function(b,c){a.options.autoPlay=c,a.play(),a.hoverStatus="play"}),a.$elem.on("owl.stop",function(){a.stop(),a.hoverStatus="stop"}),a.$elem.on("owl.goTo",function(b,c){a.goTo(c)}),a.$elem.on("owl.jumpTo",function(b,c){a.jumpTo(c)})},stopOnHover:function(){var a=this;a.options.stopOnHover===!0&&a.browser.isTouch!==!0&&a.options.autoPlay!==!1&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var b,c,d,e,f,g=this;if(g.options.lazyLoad===!1)return!1;for(b=0;b<g.itemsAmount;b+=1)c=a(g.$owlItems[b]),"loaded"!==c.data("owl-loaded")&&(d=c.data("owl-item"),e=c.find(".lazyOwl"),"string"==typeof e.data("src")?(void 0===c.data("owl-loaded")&&(e.hide(),c.addClass("loading").data("owl-loaded","checked")),f=g.options.lazyFollow===!0?d>=g.currentItem:!0,f&&d<g.currentItem+g.options.items&&e.length&&e.each(function(){g.lazyPreload(c,a(this))})):c.data("owl-loaded","loaded"))},lazyPreload:function(a,c){function d(){a.data("owl-loaded","loaded").removeClass("loading"),c.removeAttr("data-src"),"fade"===g.options.lazyEffect?c.fadeIn(400):c.show(),"function"==typeof g.options.afterLazyLoad&&g.options.afterLazyLoad.apply(this,[g.$elem])}function e(){h+=1,g.completeImg(c.get(0))||f===!0?d():100>=h?b.setTimeout(e,100):d()}var f,g=this,h=0;"DIV"===c.prop("tagName")?(c.css("background-image","url("+c.data("src")+")"),f=!0):c[0].src=c.data("src"),e()},autoHeight:function(){function c(){var c=a(f.$owlItems[f.currentItem]).height();f.wrapperOuter.css("height",c+"px"),f.wrapperOuter.hasClass("autoHeight")||b.setTimeout(function(){f.wrapperOuter.addClass("autoHeight")},0)}function d(){e+=1,f.completeImg(g.get(0))?c():100>=e?b.setTimeout(d,100):f.wrapperOuter.css("height","")}var e,f=this,g=a(f.$owlItems[f.currentItem]).find("img");void 0!==g.get(0)?(e=0,d()):c()},completeImg:function(a){var b;return a.complete?(b=typeof a.naturalWidth,"undefined"!==b&&0===a.naturalWidth?!1:!0):!1},onVisibleItems:function(){var b,c=this;for(c.options.addClassActive===!0&&c.$owlItems.removeClass("active"),c.visibleItems=[],b=c.currentItem;b<c.currentItem+c.options.items;b+=1)c.visibleItems.push(b),c.options.addClassActive===!0&&a(c.$owlItems[b]).addClass("active");c.owl.visibleItems=c.visibleItems},transitionTypes:function(a){var b=this;b.outClass="owl-"+a+"-out",b.inClass="owl-"+a+"-in"},singleItemTransition:function(){function a(a){return{position:"relative",left:a+"px"}}var b=this,c=b.outClass,d=b.inClass,e=b.$owlItems.eq(b.currentItem),f=b.$owlItems.eq(b.prevItem),g=Math.abs(b.positionsInArray[b.currentItem])+b.positionsInArray[b.prevItem],h=Math.abs(b.positionsInArray[b.currentItem])+b.itemWidth/2,i="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";b.isTransition=!0,b.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":h+"px","-moz-perspective-origin":h+"px","perspective-origin":h+"px"}),f.css(a(g,10)).addClass(c).on(i,function(){b.endPrev=!0,f.off(i),b.clearTransStyle(f,c)}),e.addClass(d).on(i,function(){b.endCurrent=!0,e.off(i),b.clearTransStyle(e,d)})},clearTransStyle:function(a,b){var c=this;a.css({position:"",left:""}).removeClass(b),c.endPrev&&c.endCurrent&&(c.$owlWrapper.removeClass("owl-origin"),c.endPrev=!1,c.endCurrent=!1,c.isTransition=!1)},owlStatus:function(){var a=this;a.owl={userOptions:a.userOptions,baseElement:a.$elem,userItems:a.$userItems,owlItems:a.$owlItems,currentItem:a.currentItem,prevItem:a.prevItem,visibleItems:a.visibleItems,isTouch:a.browser.isTouch,browser:a.browser,dragDirection:a.dragDirection}},clearEvents:function(){var d=this;d.$elem.off(".owl owl mousedown.disableTextSelect"),a(c).off(".owl owl"),a(b).off("resize",d.resizer)},unWrap:function(){var a=this;0!==a.$elem.children().length&&(a.$owlWrapper.unwrap(),a.$userItems.unwrap().unwrap(),a.owlControls&&a.owlControls.remove()),a.clearEvents(),a.$elem.attr({style:a.$elem.data("owl-originalStyles")||"","class":a.$elem.data("owl-originalClasses")})},destroy:function(){var a=this;a.stop(),b.clearInterval(a.checkVisible),a.unWrap(),a.$elem.removeData()},reinit:function(b){var c=this,d=a.extend({},c.userOptions,b);c.unWrap(),c.init(d,c.$elem)},addItem:function(a,b){var c,d=this;return a?0===d.$elem.children().length?(d.$elem.append(a),d.setVars(),!1):(d.unWrap(),c=void 0===b||-1===b?-1:b,c>=d.$userItems.length||-1===c?d.$userItems.eq(-1).after(a):d.$userItems.eq(c).before(a),void d.setVars()):!1},removeItem:function(a){var b,c=this;return 0===c.$elem.children().length?!1:(b=void 0===a||-1===a?-1:a,c.unWrap(),c.$userItems.eq(b).remove(),void c.setVars())}};a.fn.owlCarousel=function(b){return this.each(function(){if(a(this).data("owl-init")===!0)return!1;a(this).data("owl-init",!0);var c=Object.create(d);c.init(b,this),a.data(this,"owlCarousel",c)})},a.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:b,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document);!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});(function(a){a.belowthefold=function(b,c){var d=a(window).height()+a(window).scrollTop();return d<=a(b).offset().top-c.threshold};a.abovethetop=function(b,c){var d=a(window).scrollTop();return d>=a(b).offset().top+a(b).height()-c.threshold};a.rightofscreen=function(b,c){var d=a(window).width()+a(window).scrollLeft();return d<=a(b).offset().left-c.threshold};a.leftofscreen=function(b,c){var d=a(window).scrollLeft();return d>=a(b).offset().left+a(b).width()-c.threshold};a.inviewport=function(b,c){return!a.rightofscreen(b,c)&&!a.leftofscreen(b,c)&&!a.belowthefold(b,c)&&!a.abovethetop(b,c)};a.extend(a.expr[":"],{"below-the-fold":function(b,c,d){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b,c,d){
3
  return a.abovethetop(b,{threshold:0})},"left-of-screen":function(b,c,d){return a.leftofscreen(b,{threshold:0})},"right-of-screen":function(b,c,d){return a.rightofscreen(b,{threshold:0})},"in-viewport":function(b,c,d){return a.inviewport(b,{threshold:0})}})})(jQuery);!function(a){if("function"==typeof define&&define.amd)define(a);else if("object"==typeof exports)module.exports=a();else{var b=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=b,c}}}(function(){function a(){for(var a=0,b={};a<arguments.length;a++){var c=arguments[a];for(var d in c)b[d]=c[d]}return b}function b(c){function d(b,e,f){var g;if(arguments.length>1){if(f=a({path:"/"},d.defaults,f),"number"==typeof f.expires){var h=new Date;h.setMilliseconds(h.getMilliseconds()+864e5*f.expires),f.expires=h}try{g=JSON.stringify(e),/^[\{\[]/.test(g)&&(e=g)}catch(i){}return e=c.write?c.write(e,b):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=encodeURIComponent(String(b)),b=b.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),b=b.replace(/[\(\)]/g,escape),document.cookie=[b,"=",e,f.expires&&"; expires="+f.expires.toUTCString(),f.path&&"; path="+f.path,f.domain&&"; domain="+f.domain,f.secure?"; secure":""].join("")}b||(g={});for(var j=document.cookie?document.cookie.split("; "):[],k=/(%[0-9A-Z]{2})+/g,l=0;l<j.length;l++){var m=j[l].split("="),n=m[0].replace(k,decodeURIComponent),o=m.slice(1).join("=");'"'===o.charAt(0)&&(o=o.slice(1,-1));try{if(o=c.read?c.read(o,n):c(o,n)||o.replace(k,decodeURIComponent),this.json)try{o=JSON.parse(o)}catch(i){}if(b===n){g=o;break}b||(g[n]=o)}catch(i){}}return g}return d.get=d.set=d,d.getJSON=function(){return d.apply({json:!0},[].slice.call(arguments))},d.defaults={},d.remove=function(b,c){d(b,"",a(c,{expires:-1}))},d.withConverter=b,d}return b(function(){})});
js/frontend/main.js CHANGED
@@ -734,7 +734,7 @@ jQuery(document).ready(function($){
734
  dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs),
735
  dslcTabContentLast = jQuery('.dslc-tabs-tab-content:last', dslcTabs);
736
 
737
- dslcTabsNavLast.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable>Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');
738
  dslcTabContentLast.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');
739
 
740
  jQuery('.dslc-tabs-nav-hook:last', dslcTabs).click();
@@ -1045,6 +1045,10 @@ jQuery(document).ready(function($){
1045
  });
1046
 
1047
 
 
 
 
 
1048
  $( '.dslc-navigation li' ).mouseenter(function(){
1049
 
1050
  var subnav = $(this).children('ul');
734
  dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs),
735
  dslcTabContentLast = jQuery('.dslc-tabs-tab-content:last', dslcTabs);
736
 
737
+ dslcTabsNavLast.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');
738
  dslcTabContentLast.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content">This is just placeholder text.</div><textarea class="dslca-tab-plain-content">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook">Open in WP Editor</span></div></div>');
739
 
740
  jQuery('.dslc-tabs-nav-hook:last', dslcTabs).click();
1045
  });
1046
 
1047
 
1048
+ /**
1049
+ * Navigation Module
1050
+ */
1051
+
1052
  $( '.dslc-navigation li' ).mouseenter(function(){
1053
 
1054
  var subnav = $(this).children('ul');
modules/accordion/module.php CHANGED
@@ -24,6 +24,21 @@ class DSLC_Accordion extends DSLC_Module {
24
 
25
  }
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  function options() {
28
 
29
  $dslc_options = array(
@@ -420,7 +435,7 @@ class DSLC_Accordion extends DSLC_Module {
420
  'affect_on_change_rule' => 'font-size',
421
  'section' => 'styling',
422
  'tab' => __( 'Title', 'live-composer-page-builder' ),
423
- 'ext' => 'px'
424
  ),
425
  array(
426
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -493,7 +508,7 @@ class DSLC_Accordion extends DSLC_Module {
493
  'affect_on_change_rule' => 'line-height',
494
  'section' => 'styling',
495
  'tab' => __( 'Title', 'live-composer-page-builder' ),
496
- 'ext' => 'px'
497
  ),
498
  array(
499
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -632,7 +647,7 @@ class DSLC_Accordion extends DSLC_Module {
632
  'affect_on_change_rule' => 'font-size',
633
  'section' => 'styling',
634
  'tab' => __( 'Content', 'live-composer-page-builder' ),
635
- 'ext' => 'px'
636
  ),
637
  array(
638
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -708,7 +723,7 @@ class DSLC_Accordion extends DSLC_Module {
708
  'affect_on_change_rule' => 'line-height',
709
  'section' => 'styling',
710
  'tab' => __( 'Content', 'live-composer-page-builder' ),
711
- 'ext' => 'px'
712
  ),
713
  array(
714
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -877,7 +892,7 @@ class DSLC_Accordion extends DSLC_Module {
877
  'affect_on_change_rule' => 'font-size',
878
  'section' => 'responsive',
879
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
880
- 'ext' => 'px'
881
  ),
882
  array(
883
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -889,7 +904,7 @@ class DSLC_Accordion extends DSLC_Module {
889
  'affect_on_change_rule' => 'line-height',
890
  'section' => 'responsive',
891
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
892
- 'ext' => 'px'
893
  ),
894
  array(
895
  'label' => __( 'Title - Padding Vertical', 'live-composer-page-builder' ),
@@ -934,7 +949,7 @@ class DSLC_Accordion extends DSLC_Module {
934
  'affect_on_change_rule' => 'font-size',
935
  'section' => 'responsive',
936
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
937
- 'ext' => 'px'
938
  ),
939
  array(
940
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
@@ -949,7 +964,7 @@ class DSLC_Accordion extends DSLC_Module {
949
  'affect_on_change_rule' => 'line-height',
950
  'section' => 'responsive',
951
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
952
- 'ext' => 'px'
953
  ),
954
  array(
955
  'label' => __( 'Content - Padding Vertical', 'live-composer-page-builder' ),
@@ -1107,7 +1122,7 @@ class DSLC_Accordion extends DSLC_Module {
1107
  'affect_on_change_rule' => 'font-size',
1108
  'section' => 'responsive',
1109
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1110
- 'ext' => 'px'
1111
  ),
1112
  array(
1113
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -1119,7 +1134,7 @@ class DSLC_Accordion extends DSLC_Module {
1119
  'affect_on_change_rule' => 'line-height',
1120
  'section' => 'responsive',
1121
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1122
- 'ext' => 'px'
1123
  ),
1124
  array(
1125
  'label' => __( 'Title - Padding Vertical', 'live-composer-page-builder' ),
@@ -1164,7 +1179,7 @@ class DSLC_Accordion extends DSLC_Module {
1164
  'affect_on_change_rule' => 'font-size',
1165
  'section' => 'responsive',
1166
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1167
- 'ext' => 'px'
1168
  ),
1169
  array(
1170
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
@@ -1179,7 +1194,7 @@ class DSLC_Accordion extends DSLC_Module {
1179
  'affect_on_change_rule' => 'line-height',
1180
  'section' => 'responsive',
1181
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1182
- 'ext' => 'px'
1183
  ),
1184
  array(
1185
  'label' => __( 'Content - Padding Vertical', 'live-composer-page-builder' ),
@@ -1220,7 +1235,12 @@ class DSLC_Accordion extends DSLC_Module {
1220
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1221
 
1222
  }
1223
-
 
 
 
 
 
1224
  function output( $options ) {
1225
 
1226
  global $dslc_active;
24
 
25
  }
26
 
27
+ /**
28
+ * Module options.
29
+ * Function build array with all the module functionality and styling options.
30
+ * Based on this array Live Composer builds module settings panel.
31
+ * – Every array inside $dslc_options means one option = one control.
32
+ * – Every option should have unique (for this module) id.
33
+ * – Options divides on "Functionality" and "Styling".
34
+ * – Styling options start with css_XXXXXXX
35
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
36
+ * – Options can be hidden.
37
+ * – Options can have a default value.
38
+ * – Options can request refresh from server on change or do live refresh via CSS.
39
+ *
40
+ * @return array All the module options in array.
41
+ */
42
  function options() {
43
 
44
  $dslc_options = array(
435
  'affect_on_change_rule' => 'font-size',
436
  'section' => 'styling',
437
  'tab' => __( 'Title', 'live-composer-page-builder' ),
438
+ 'ext' => 'px',
439
  ),
440
  array(
441
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
508
  'affect_on_change_rule' => 'line-height',
509
  'section' => 'styling',
510
  'tab' => __( 'Title', 'live-composer-page-builder' ),
511
+ 'ext' => 'px',
512
  ),
513
  array(
514
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
647
  'affect_on_change_rule' => 'font-size',
648
  'section' => 'styling',
649
  'tab' => __( 'Content', 'live-composer-page-builder' ),
650
+ 'ext' => 'px',
651
  ),
652
  array(
653
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
723
  'affect_on_change_rule' => 'line-height',
724
  'section' => 'styling',
725
  'tab' => __( 'Content', 'live-composer-page-builder' ),
726
+ 'ext' => 'px',
727
  ),
728
  array(
729
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
892
  'affect_on_change_rule' => 'font-size',
893
  'section' => 'responsive',
894
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
895
+ 'ext' => 'px',
896
  ),
897
  array(
898
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
904
  'affect_on_change_rule' => 'line-height',
905
  'section' => 'responsive',
906
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
907
+ 'ext' => 'px',
908
  ),
909
  array(
910
  'label' => __( 'Title - Padding Vertical', 'live-composer-page-builder' ),
949
  'affect_on_change_rule' => 'font-size',
950
  'section' => 'responsive',
951
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
952
+ 'ext' => 'px',
953
  ),
954
  array(
955
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
964
  'affect_on_change_rule' => 'line-height',
965
  'section' => 'responsive',
966
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
967
+ 'ext' => 'px',
968
  ),
969
  array(
970
  'label' => __( 'Content - Padding Vertical', 'live-composer-page-builder' ),
1122
  'affect_on_change_rule' => 'font-size',
1123
  'section' => 'responsive',
1124
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1125
+ 'ext' => 'px',
1126
  ),
1127
  array(
1128
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
1134
  'affect_on_change_rule' => 'line-height',
1135
  'section' => 'responsive',
1136
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1137
+ 'ext' => 'px',
1138
  ),
1139
  array(
1140
  'label' => __( 'Title - Padding Vertical', 'live-composer-page-builder' ),
1179
  'affect_on_change_rule' => 'font-size',
1180
  'section' => 'responsive',
1181
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1182
+ 'ext' => 'px',
1183
  ),
1184
  array(
1185
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
1194
  'affect_on_change_rule' => 'line-height',
1195
  'section' => 'responsive',
1196
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1197
+ 'ext' => 'px',
1198
  ),
1199
  array(
1200
  'label' => __( 'Content - Padding Vertical', 'live-composer-page-builder' ),
1235
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1236
 
1237
  }
1238
+ /**
1239
+ * Module HTML output.
1240
+ *
1241
+ * @param array $options Module options to fill the module template.
1242
+ * @return void
1243
+ */
1244
  function output( $options ) {
1245
 
1246
  global $dslc_active;
modules/blog/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Blog extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  // Get categories
@@ -276,7 +291,7 @@ class DSLC_Blog extends DSLC_Module {
276
  'value' => 'filters'
277
  ),
278
  ),
279
- 'section' => 'styling'
280
  ),
281
 
282
  array(
@@ -310,7 +325,7 @@ class DSLC_Blog extends DSLC_Module {
310
  'value' => 'social',
311
  ),
312
  ),
313
- 'section' => 'styling'
314
  ),
315
 
316
  array(
@@ -328,7 +343,7 @@ class DSLC_Blog extends DSLC_Module {
328
  'value' => 'circles'
329
  ),
330
  ),
331
- 'section' => 'styling'
332
  ),
333
 
334
  /**
@@ -359,9 +374,8 @@ class DSLC_Blog extends DSLC_Module {
359
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
360
  'id' => 'css_wrapper_border_width',
361
  'min' => 0,
362
- 'max' => 10,
363
  'increment' => 1,
364
-
365
  'std' => '0',
366
  'type' => 'slider',
367
  'refresh_on_change' => false,
@@ -413,7 +427,7 @@ class DSLC_Blog extends DSLC_Module {
413
  'max' => 100,
414
  'increment' => 1,
415
  'section' => 'styling',
416
- 'ext' => 'px'
417
  ),
418
  array(
419
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -430,7 +444,7 @@ class DSLC_Blog extends DSLC_Module {
430
  'max' => 100,
431
  'increment' => 1,
432
  'section' => 'styling',
433
- 'ext' => 'px'
434
  ),
435
  array(
436
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -621,9 +635,8 @@ class DSLC_Blog extends DSLC_Module {
621
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
622
  'id' => 'css_thumb_border_width',
623
  'min' => 0,
624
- 'max' => 10,
625
  'increment' => 1,
626
-
627
  'std' => '0',
628
  'type' => 'slider',
629
  'refresh_on_change' => false,
@@ -678,7 +691,7 @@ class DSLC_Blog extends DSLC_Module {
678
  'increment' => 1,
679
  'section' => 'styling',
680
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
681
- 'ext' => 'px'
682
  ),
683
  array(
684
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -696,7 +709,7 @@ class DSLC_Blog extends DSLC_Module {
696
  'increment' => 1,
697
  'section' => 'styling',
698
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
699
- 'ext' => 'px'
700
  ),
701
  array(
702
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -711,7 +724,7 @@ class DSLC_Blog extends DSLC_Module {
711
  'affect_on_change_rule' => 'margin-bottom',
712
  'section' => 'styling',
713
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
714
- 'ext' => 'px'
715
  ),
716
  array(
717
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
@@ -723,7 +736,7 @@ class DSLC_Blog extends DSLC_Module {
723
  'affect_on_change_rule' => 'margin-right',
724
  'section' => 'styling',
725
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
726
- 'ext' => 'px'
727
  ),
728
  array(
729
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -792,7 +805,7 @@ class DSLC_Blog extends DSLC_Module {
792
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
793
  'min' => 1,
794
  'max' => 100,
795
- 'ext' => '%'
796
  ),
797
 
798
  /**
@@ -904,7 +917,7 @@ class DSLC_Blog extends DSLC_Module {
904
  'increment' => 1,
905
  'section' => 'styling',
906
  'tab' => __( 'Main', 'live-composer-page-builder' ),
907
- 'ext' => 'px'
908
  ),
909
  array(
910
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -922,7 +935,7 @@ class DSLC_Blog extends DSLC_Module {
922
  'increment' => 1,
923
  'section' => 'styling',
924
  'tab' => __( 'Main', 'live-composer-page-builder' ),
925
- 'ext' => 'px'
926
  ),
927
  array(
928
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1079,7 +1092,7 @@ class DSLC_Blog extends DSLC_Module {
1079
  'affect_on_change_rule' => 'font-size',
1080
  'section' => 'styling',
1081
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1082
- 'ext' => 'px'
1083
  ),
1084
  array(
1085
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1155,7 +1168,7 @@ class DSLC_Blog extends DSLC_Module {
1155
  'affect_on_change_rule' => 'line-height',
1156
  'section' => 'styling',
1157
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1158
- 'ext' => 'px'
1159
  ),
1160
  array(
1161
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1170,7 +1183,7 @@ class DSLC_Blog extends DSLC_Module {
1170
  'affect_on_change_rule' => 'margin-bottom',
1171
  'section' => 'styling',
1172
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1173
- 'ext' => 'px'
1174
  ),
1175
  array(
1176
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1304,7 +1317,7 @@ class DSLC_Blog extends DSLC_Module {
1304
  'affect_on_change_rule' => 'font-size',
1305
  'section' => 'styling',
1306
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1307
- 'ext' => 'px'
1308
  ),
1309
  array(
1310
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
@@ -1380,7 +1393,7 @@ class DSLC_Blog extends DSLC_Module {
1380
  'affect_on_change_rule' => 'line-height',
1381
  'section' => 'styling',
1382
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1383
- 'ext' => 'px'
1384
  ),
1385
  array(
1386
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1539,7 +1552,7 @@ class DSLC_Blog extends DSLC_Module {
1539
  'affect_on_change_rule' => 'font-size',
1540
  'section' => 'styling',
1541
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1542
- 'ext' => 'px'
1543
  ),
1544
  array(
1545
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1615,7 +1628,7 @@ class DSLC_Blog extends DSLC_Module {
1615
  'affect_on_change_rule' => 'line-height',
1616
  'section' => 'styling',
1617
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1618
- 'ext' => 'px'
1619
  ),
1620
  array(
1621
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1690,9 +1703,8 @@ class DSLC_Blog extends DSLC_Module {
1690
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1691
  'id' => 'css_button_border_width',
1692
  'min' => 0,
1693
- 'max' => 10,
1694
  'increment' => 1,
1695
-
1696
  'std' => '0',
1697
  'type' => 'slider',
1698
  'refresh_on_change' => false,
@@ -1700,7 +1712,7 @@ class DSLC_Blog extends DSLC_Module {
1700
  'affect_on_change_rule' => 'border-width',
1701
  'section' => 'styling',
1702
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1703
- 'ext' => 'px'
1704
  ),
1705
  array(
1706
  'label' => __( 'Borders', 'live-composer-page-builder' ),
@@ -1769,7 +1781,7 @@ class DSLC_Blog extends DSLC_Module {
1769
  'increment' => 1,
1770
  'section' => 'styling',
1771
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1772
- 'ext' => 'px'
1773
  ),
1774
  array(
1775
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1806,7 +1818,7 @@ class DSLC_Blog extends DSLC_Module {
1806
  'affect_on_change_rule' => 'font-size',
1807
  'section' => 'styling',
1808
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1809
- 'ext' => 'px'
1810
  ),
1811
  array(
1812
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2008,9 +2020,8 @@ class DSLC_Blog extends DSLC_Module {
2008
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2009
  'id' => 'css_social_border_width',
2010
  'min' => 0,
2011
- 'max' => 10,
2012
  'increment' => 1,
2013
-
2014
  'std' => '0',
2015
  'type' => 'slider',
2016
  'refresh_on_change' => false,
@@ -2065,7 +2076,7 @@ class DSLC_Blog extends DSLC_Module {
2065
  'increment' => 1,
2066
  'section' => 'styling',
2067
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2068
- 'ext' => 'px'
2069
  ),
2070
  array(
2071
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -2083,7 +2094,7 @@ class DSLC_Blog extends DSLC_Module {
2083
  'increment' => 1,
2084
  'section' => 'styling',
2085
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2086
- 'ext' => 'px'
2087
  ),
2088
  array(
2089
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
@@ -2154,7 +2165,7 @@ class DSLC_Blog extends DSLC_Module {
2154
  'affect_on_change_rule' => 'font-size',
2155
  'section' => 'styling',
2156
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2157
- 'ext' => 'px'
2158
  ),
2159
  array(
2160
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
@@ -2166,7 +2177,7 @@ class DSLC_Blog extends DSLC_Module {
2166
  'affect_on_change_rule' => 'margin-right',
2167
  'section' => 'styling',
2168
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2169
- 'ext' => 'px'
2170
  ),
2171
  array(
2172
  'label' => __( 'Count - Border Color', 'live-composer-page-builder' ),
@@ -2211,7 +2222,7 @@ class DSLC_Blog extends DSLC_Module {
2211
  'increment' => 1,
2212
  'section' => 'styling',
2213
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2214
- 'ext' => 'px'
2215
  ),
2216
  array(
2217
  'label' => __( 'Count - Color', 'live-composer-page-builder' ),
@@ -2237,7 +2248,7 @@ class DSLC_Blog extends DSLC_Module {
2237
  'affect_on_change_rule' => 'font-size',
2238
  'section' => 'styling',
2239
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2240
- 'ext' => 'px'
2241
  ),
2242
  array(
2243
  'label' => __( 'Count - Margin Right', 'live-composer-page-builder' ),
@@ -2249,7 +2260,7 @@ class DSLC_Blog extends DSLC_Module {
2249
  'affect_on_change_rule' => 'margin-right',
2250
  'section' => 'styling',
2251
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2252
- 'ext' => 'px'
2253
  ),
2254
  array(
2255
  'label' => __( 'Count - Padding Vertical', 'live-composer-page-builder' ),
@@ -2376,7 +2387,7 @@ class DSLC_Blog extends DSLC_Module {
2376
  'affect_on_change_rule' => 'margin-bottom',
2377
  'section' => 'responsive',
2378
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2379
- 'ext' => 'px'
2380
  ),
2381
  array(
2382
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
@@ -2388,7 +2399,7 @@ class DSLC_Blog extends DSLC_Module {
2388
  'affect_on_change_rule' => 'margin-right',
2389
  'section' => 'responsive',
2390
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2391
- 'ext' => 'px'
2392
  ),
2393
  array(
2394
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
@@ -2463,7 +2474,7 @@ class DSLC_Blog extends DSLC_Module {
2463
  'affect_on_change_rule' => 'font-size',
2464
  'section' => 'responsive',
2465
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2466
- 'ext' => 'px'
2467
  ),
2468
  array(
2469
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2478,7 +2489,7 @@ class DSLC_Blog extends DSLC_Module {
2478
  'affect_on_change_rule' => 'line-height',
2479
  'section' => 'responsive',
2480
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2481
- 'ext' => 'px'
2482
  ),
2483
  array(
2484
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2493,7 +2504,7 @@ class DSLC_Blog extends DSLC_Module {
2493
  'affect_on_change_rule' => 'margin-bottom',
2494
  'section' => 'responsive',
2495
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2496
- 'ext' => 'px'
2497
  ),
2498
  array(
2499
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
@@ -2508,7 +2519,7 @@ class DSLC_Blog extends DSLC_Module {
2508
  'affect_on_change_rule' => 'font-size',
2509
  'section' => 'responsive',
2510
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2511
- 'ext' => 'px'
2512
  ),
2513
  array(
2514
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
@@ -2568,7 +2579,7 @@ class DSLC_Blog extends DSLC_Module {
2568
  'affect_on_change_rule' => 'font-size',
2569
  'section' => 'responsive',
2570
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2571
- 'ext' => 'px'
2572
  ),
2573
  array(
2574
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2583,7 +2594,7 @@ class DSLC_Blog extends DSLC_Module {
2583
  'affect_on_change_rule' => 'line-height',
2584
  'section' => 'responsive',
2585
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2586
- 'ext' => 'px'
2587
  ),
2588
  array(
2589
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2613,7 +2624,7 @@ class DSLC_Blog extends DSLC_Module {
2613
  'affect_on_change_rule' => 'font-size',
2614
  'section' => 'responsive',
2615
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2616
- 'ext' => 'px'
2617
  ),
2618
  array(
2619
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2755,7 +2766,7 @@ class DSLC_Blog extends DSLC_Module {
2755
  'affect_on_change_rule' => 'margin-bottom',
2756
  'section' => 'responsive',
2757
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2758
- 'ext' => 'px'
2759
  ),
2760
  array(
2761
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
@@ -2767,7 +2778,7 @@ class DSLC_Blog extends DSLC_Module {
2767
  'affect_on_change_rule' => 'margin-right',
2768
  'section' => 'responsive',
2769
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2770
- 'ext' => 'px'
2771
  ),
2772
  array(
2773
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
@@ -2842,7 +2853,7 @@ class DSLC_Blog extends DSLC_Module {
2842
  'affect_on_change_rule' => 'font-size',
2843
  'section' => 'responsive',
2844
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2845
- 'ext' => 'px'
2846
  ),
2847
  array(
2848
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2857,7 +2868,7 @@ class DSLC_Blog extends DSLC_Module {
2857
  'affect_on_change_rule' => 'line-height',
2858
  'section' => 'responsive',
2859
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2860
- 'ext' => 'px'
2861
  ),
2862
  array(
2863
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2872,7 +2883,7 @@ class DSLC_Blog extends DSLC_Module {
2872
  'affect_on_change_rule' => 'margin-bottom',
2873
  'section' => 'responsive',
2874
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2875
- 'ext' => 'px'
2876
  ),
2877
  array(
2878
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
@@ -2887,7 +2898,7 @@ class DSLC_Blog extends DSLC_Module {
2887
  'affect_on_change_rule' => 'font-size',
2888
  'section' => 'responsive',
2889
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2890
- 'ext' => 'px'
2891
  ),
2892
  array(
2893
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
@@ -2947,7 +2958,7 @@ class DSLC_Blog extends DSLC_Module {
2947
  'affect_on_change_rule' => 'font-size',
2948
  'section' => 'responsive',
2949
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2950
- 'ext' => 'px'
2951
  ),
2952
  array(
2953
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2962,7 +2973,7 @@ class DSLC_Blog extends DSLC_Module {
2962
  'affect_on_change_rule' => 'line-height',
2963
  'section' => 'responsive',
2964
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2965
- 'ext' => 'px'
2966
  ),
2967
  array(
2968
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2992,7 +3003,7 @@ class DSLC_Blog extends DSLC_Module {
2992
  'affect_on_change_rule' => 'font-size',
2993
  'section' => 'responsive',
2994
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2995
- 'ext' => 'px'
2996
  ),
2997
  array(
2998
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -3054,7 +3065,12 @@ class DSLC_Blog extends DSLC_Module {
3054
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
3055
 
3056
  }
3057
-
 
 
 
 
 
3058
  function output( $options ) {
3059
 
3060
  if ( is_feed() ) {
@@ -3455,9 +3471,9 @@ class DSLC_Blog extends DSLC_Module {
3455
 
3456
  <?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 ) ) ) : ?>
3457
 
3458
- <div class="dslc-post-main dslc-blog-post-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-blog-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']; ?>">
3459
 
3460
- <div class="dslc-blog-post-main-inner dslc-init-<?php echo $options['main_position']; ?>">
3461
 
3462
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
3463
 
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  // Get categories
291
  'value' => 'filters'
292
  ),
293
  ),
294
+ 'section' => 'styling',
295
  ),
296
 
297
  array(
325
  'value' => 'social',
326
  ),
327
  ),
328
+ 'section' => 'styling',
329
  ),
330
 
331
  array(
343
  'value' => 'circles'
344
  ),
345
  ),
346
+ 'section' => 'styling',
347
  ),
348
 
349
  /**
374
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
375
  'id' => 'css_wrapper_border_width',
376
  'min' => 0,
377
+ 'max' => 1000,
378
  'increment' => 1,
 
379
  'std' => '0',
380
  'type' => 'slider',
381
  'refresh_on_change' => false,
427
  'max' => 100,
428
  'increment' => 1,
429
  'section' => 'styling',
430
+ 'ext' => 'px',
431
  ),
432
  array(
433
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
444
  'max' => 100,
445
  'increment' => 1,
446
  'section' => 'styling',
447
+ 'ext' => 'px',
448
  ),
449
  array(
450
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
635
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
636
  'id' => 'css_thumb_border_width',
637
  'min' => 0,
638
+ 'max' => 1000,
639
  'increment' => 1,
 
640
  'std' => '0',
641
  'type' => 'slider',
642
  'refresh_on_change' => false,
691
  'increment' => 1,
692
  'section' => 'styling',
693
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
694
+ 'ext' => 'px',
695
  ),
696
  array(
697
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
709
  'increment' => 1,
710
  'section' => 'styling',
711
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
712
+ 'ext' => 'px',
713
  ),
714
  array(
715
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
724
  'affect_on_change_rule' => 'margin-bottom',
725
  'section' => 'styling',
726
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
727
+ 'ext' => 'px',
728
  ),
729
  array(
730
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
736
  'affect_on_change_rule' => 'margin-right',
737
  'section' => 'styling',
738
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
739
+ 'ext' => 'px',
740
  ),
741
  array(
742
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
805
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
806
  'min' => 1,
807
  'max' => 100,
808
+ 'ext' => '%',
809
  ),
810
 
811
  /**
917
  'increment' => 1,
918
  'section' => 'styling',
919
  'tab' => __( 'Main', 'live-composer-page-builder' ),
920
+ 'ext' => 'px',
921
  ),
922
  array(
923
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
935
  'increment' => 1,
936
  'section' => 'styling',
937
  'tab' => __( 'Main', 'live-composer-page-builder' ),
938
+ 'ext' => 'px',
939
  ),
940
  array(
941
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1092
  'affect_on_change_rule' => 'font-size',
1093
  'section' => 'styling',
1094
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1095
+ 'ext' => 'px',
1096
  ),
1097
  array(
1098
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1168
  'affect_on_change_rule' => 'line-height',
1169
  'section' => 'styling',
1170
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1171
+ 'ext' => 'px',
1172
  ),
1173
  array(
1174
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1183
  'affect_on_change_rule' => 'margin-bottom',
1184
  'section' => 'styling',
1185
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1186
+ 'ext' => 'px',
1187
  ),
1188
  array(
1189
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1317
  'affect_on_change_rule' => 'font-size',
1318
  'section' => 'styling',
1319
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1320
+ 'ext' => 'px',
1321
  ),
1322
  array(
1323
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1393
  'affect_on_change_rule' => 'line-height',
1394
  'section' => 'styling',
1395
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1396
+ 'ext' => 'px',
1397
  ),
1398
  array(
1399
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1552
  'affect_on_change_rule' => 'font-size',
1553
  'section' => 'styling',
1554
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1555
+ 'ext' => 'px',
1556
  ),
1557
  array(
1558
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1628
  'affect_on_change_rule' => 'line-height',
1629
  'section' => 'styling',
1630
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1631
+ 'ext' => 'px',
1632
  ),
1633
  array(
1634
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1703
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1704
  'id' => 'css_button_border_width',
1705
  'min' => 0,
1706
+ 'max' => 1000,
1707
  'increment' => 1,
 
1708
  'std' => '0',
1709
  'type' => 'slider',
1710
  'refresh_on_change' => false,
1712
  'affect_on_change_rule' => 'border-width',
1713
  'section' => 'styling',
1714
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1715
+ 'ext' => 'px',
1716
  ),
1717
  array(
1718
  'label' => __( 'Borders', 'live-composer-page-builder' ),
1781
  'increment' => 1,
1782
  'section' => 'styling',
1783
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1784
+ 'ext' => 'px',
1785
  ),
1786
  array(
1787
  'label' => __( 'Color', 'live-composer-page-builder' ),
1818
  'affect_on_change_rule' => 'font-size',
1819
  'section' => 'styling',
1820
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1821
+ 'ext' => 'px',
1822
  ),
1823
  array(
1824
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2020
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2021
  'id' => 'css_social_border_width',
2022
  'min' => 0,
2023
+ 'max' => 1000,
2024
  'increment' => 1,
 
2025
  'std' => '0',
2026
  'type' => 'slider',
2027
  'refresh_on_change' => false,
2076
  'increment' => 1,
2077
  'section' => 'styling',
2078
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2079
+ 'ext' => 'px',
2080
  ),
2081
  array(
2082
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
2094
  'increment' => 1,
2095
  'section' => 'styling',
2096
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2097
+ 'ext' => 'px',
2098
  ),
2099
  array(
2100
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
2165
  'affect_on_change_rule' => 'font-size',
2166
  'section' => 'styling',
2167
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2168
+ 'ext' => 'px',
2169
  ),
2170
  array(
2171
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
2177
  'affect_on_change_rule' => 'margin-right',
2178
  'section' => 'styling',
2179
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2180
+ 'ext' => 'px',
2181
  ),
2182
  array(
2183
  'label' => __( 'Count - Border Color', 'live-composer-page-builder' ),
2222
  'increment' => 1,
2223
  'section' => 'styling',
2224
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2225
+ 'ext' => 'px',
2226
  ),
2227
  array(
2228
  'label' => __( 'Count - Color', 'live-composer-page-builder' ),
2248
  'affect_on_change_rule' => 'font-size',
2249
  'section' => 'styling',
2250
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2251
+ 'ext' => 'px',
2252
  ),
2253
  array(
2254
  'label' => __( 'Count - Margin Right', 'live-composer-page-builder' ),
2260
  'affect_on_change_rule' => 'margin-right',
2261
  'section' => 'styling',
2262
  'tab' => __( 'Social', 'live-composer-page-builder' ),
2263
+ 'ext' => 'px',
2264
  ),
2265
  array(
2266
  'label' => __( 'Count - Padding Vertical', 'live-composer-page-builder' ),
2387
  'affect_on_change_rule' => 'margin-bottom',
2388
  'section' => 'responsive',
2389
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2390
+ 'ext' => 'px',
2391
  ),
2392
  array(
2393
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
2399
  'affect_on_change_rule' => 'margin-right',
2400
  'section' => 'responsive',
2401
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2402
+ 'ext' => 'px',
2403
  ),
2404
  array(
2405
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
2474
  'affect_on_change_rule' => 'font-size',
2475
  'section' => 'responsive',
2476
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2477
+ 'ext' => 'px',
2478
  ),
2479
  array(
2480
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2489
  'affect_on_change_rule' => 'line-height',
2490
  'section' => 'responsive',
2491
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2492
+ 'ext' => 'px',
2493
  ),
2494
  array(
2495
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2504
  'affect_on_change_rule' => 'margin-bottom',
2505
  'section' => 'responsive',
2506
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2507
+ 'ext' => 'px',
2508
  ),
2509
  array(
2510
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
2519
  'affect_on_change_rule' => 'font-size',
2520
  'section' => 'responsive',
2521
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2522
+ 'ext' => 'px',
2523
  ),
2524
  array(
2525
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
2579
  'affect_on_change_rule' => 'font-size',
2580
  'section' => 'responsive',
2581
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2582
+ 'ext' => 'px',
2583
  ),
2584
  array(
2585
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2594
  'affect_on_change_rule' => 'line-height',
2595
  'section' => 'responsive',
2596
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2597
+ 'ext' => 'px',
2598
  ),
2599
  array(
2600
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2624
  'affect_on_change_rule' => 'font-size',
2625
  'section' => 'responsive',
2626
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2627
+ 'ext' => 'px',
2628
  ),
2629
  array(
2630
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2766
  'affect_on_change_rule' => 'margin-bottom',
2767
  'section' => 'responsive',
2768
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2769
+ 'ext' => 'px',
2770
  ),
2771
  array(
2772
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
2778
  'affect_on_change_rule' => 'margin-right',
2779
  'section' => 'responsive',
2780
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2781
+ 'ext' => 'px',
2782
  ),
2783
  array(
2784
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
2853
  'affect_on_change_rule' => 'font-size',
2854
  'section' => 'responsive',
2855
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2856
+ 'ext' => 'px',
2857
  ),
2858
  array(
2859
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2868
  'affect_on_change_rule' => 'line-height',
2869
  'section' => 'responsive',
2870
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2871
+ 'ext' => 'px',
2872
  ),
2873
  array(
2874
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2883
  'affect_on_change_rule' => 'margin-bottom',
2884
  'section' => 'responsive',
2885
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2886
+ 'ext' => 'px',
2887
  ),
2888
  array(
2889
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
2898
  'affect_on_change_rule' => 'font-size',
2899
  'section' => 'responsive',
2900
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2901
+ 'ext' => 'px',
2902
  ),
2903
  array(
2904
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
2958
  'affect_on_change_rule' => 'font-size',
2959
  'section' => 'responsive',
2960
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2961
+ 'ext' => 'px',
2962
  ),
2963
  array(
2964
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2973
  'affect_on_change_rule' => 'line-height',
2974
  'section' => 'responsive',
2975
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2976
+ 'ext' => 'px',
2977
  ),
2978
  array(
2979
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
3003
  'affect_on_change_rule' => 'font-size',
3004
  'section' => 'responsive',
3005
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3006
+ 'ext' => 'px',
3007
  ),
3008
  array(
3009
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
3065
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
3066
 
3067
  }
3068
+ /**
3069
+ * Module HTML output.
3070
+ *
3071
+ * @param array $options Module options to fill the module template.
3072
+ * @return void
3073
+ */
3074
  function output( $options ) {
3075
 
3076
  if ( is_feed() ) {
3471
 
3472
  <?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 ) ) ) : ?>
3473
 
3474
+ <div class="dslc-post-main dslc-blog-post-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-blog-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']; ?>">
3475
 
3476
+ <div class="dslc-blog-post-main-inner dslc-init-target">
3477
 
3478
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
3479
 
modules/button/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Button extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  // Custom classes fix
@@ -146,7 +161,7 @@ class DSLC_Button extends DSLC_Module {
146
  'refresh_on_change' => false,
147
  'affect_on_change_el' => '.dslc-button a:hover',
148
  'affect_on_change_rule' => 'background-color',
149
- 'section' => 'styling'
150
  ),
151
  array(
152
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
@@ -364,7 +379,7 @@ class DSLC_Button extends DSLC_Module {
364
  'affect_on_change_rule' => 'font-size',
365
  'section' => 'styling',
366
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
367
- 'ext' => 'px'
368
  ),
369
  array(
370
  'label' => __( 'Font Style', 'live-composer-page-builder' ),
@@ -862,7 +877,7 @@ class DSLC_Button extends DSLC_Module {
862
  'affect_on_change_rule' => 'padding-top,padding-bottom',
863
  'section' => 'responsive',
864
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
865
- 'ext' => 'px'
866
  ),
867
  array(
868
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -877,7 +892,7 @@ class DSLC_Button extends DSLC_Module {
877
  'affect_on_change_rule' => 'padding-left,padding-right',
878
  'section' => 'responsive',
879
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
880
- 'ext' => 'px'
881
  ),
882
  array(
883
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
@@ -1036,7 +1051,12 @@ class DSLC_Button extends DSLC_Module {
1036
 
1037
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1038
  }
1039
-
 
 
 
 
 
1040
  function output( $options ) {
1041
 
1042
  global $dslc_active;
@@ -1069,7 +1089,7 @@ class DSLC_Button extends DSLC_Module {
1069
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1070
  <?php endif; ?>
1071
  <?php if ( $dslc_is_admin ) : ?>
1072
- <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable><?php echo stripslashes( $options['button_text'] ); ?></span>
1073
  <?php else : ?>
1074
  <?php echo stripslashes( $options['button_text'] ); ?>
1075
  <?php endif; ?>
@@ -1083,7 +1103,7 @@ class DSLC_Button extends DSLC_Module {
1083
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1084
  <?php endif; ?>
1085
  <?php if ( $dslc_is_admin ) : ?>
1086
- <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable><?php echo stripslashes( $options['button_text'] ); ?></span>
1087
  <?php else : ?>
1088
  <?php echo stripslashes( $options['button_text'] ); ?>
1089
  <?php endif; ?>
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  // Custom classes fix
161
  'refresh_on_change' => false,
162
  'affect_on_change_el' => '.dslc-button a:hover',
163
  'affect_on_change_rule' => 'background-color',
164
+ 'section' => 'styling',
165
  ),
166
  array(
167
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
379
  'affect_on_change_rule' => 'font-size',
380
  'section' => 'styling',
381
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
382
+ 'ext' => 'px',
383
  ),
384
  array(
385
  'label' => __( 'Font Style', 'live-composer-page-builder' ),
877
  'affect_on_change_rule' => 'padding-top,padding-bottom',
878
  'section' => 'responsive',
879
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
880
+ 'ext' => 'px',
881
  ),
882
  array(
883
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
892
  'affect_on_change_rule' => 'padding-left,padding-right',
893
  'section' => 'responsive',
894
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
895
+ 'ext' => 'px',
896
  ),
897
  array(
898
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
1051
 
1052
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1053
  }
1054
+ /**
1055
+ * Module HTML output.
1056
+ *
1057
+ * @param array $options Module options to fill the module template.
1058
+ * @return void
1059
+ */
1060
  function output( $options ) {
1061
 
1062
  global $dslc_active;
1089
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1090
  <?php endif; ?>
1091
  <?php if ( $dslc_is_admin ) : ?>
1092
+ <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable="true"><?php echo stripslashes( $options['button_text'] ); ?></span>
1093
  <?php else : ?>
1094
  <?php echo stripslashes( $options['button_text'] ); ?>
1095
  <?php endif; ?>
1103
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
1104
  <?php endif; ?>
1105
  <?php if ( $dslc_is_admin ) : ?>
1106
+ <span class="dslca-editable-content" data-id="button_text" data-type="simple" contenteditable="true"><?php echo stripslashes( $options['button_text'] ); ?></span>
1107
  <?php else : ?>
1108
  <?php echo stripslashes( $options['button_text'] ); ?>
1109
  <?php endif; ?>
modules/downloads/module.php CHANGED
@@ -25,6 +25,21 @@ class DSLC_Downloads extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $cats = get_terms( 'dslc_downloads_cats' );
@@ -277,7 +292,7 @@ class DSLC_Downloads extends DSLC_Module {
277
  'value' => 'filters'
278
  ),
279
  ),
280
- 'section' => 'styling'
281
  ),
282
 
283
  array(
@@ -311,7 +326,7 @@ class DSLC_Downloads extends DSLC_Module {
311
  'value' => 'count',
312
  ),
313
  ),
314
- 'section' => 'styling'
315
  ),
316
 
317
  array(
@@ -329,7 +344,7 @@ class DSLC_Downloads extends DSLC_Module {
329
  'value' => 'circles'
330
  ),
331
  ),
332
- 'section' => 'styling'
333
  ),
334
  array(
335
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -492,9 +507,8 @@ class DSLC_Downloads extends DSLC_Module {
492
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
493
  'id' => 'css_thumb_border_width',
494
  'min' => 0,
495
- 'max' => 10,
496
  'increment' => 1,
497
-
498
  'std' => '0',
499
  'type' => 'slider',
500
  'refresh_on_change' => false,
@@ -549,7 +563,7 @@ class DSLC_Downloads extends DSLC_Module {
549
  'increment' => 1,
550
  'section' => 'styling',
551
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
552
- 'ext' => 'px'
553
  ),
554
  array(
555
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -567,7 +581,7 @@ class DSLC_Downloads extends DSLC_Module {
567
  'increment' => 1,
568
  'section' => 'styling',
569
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
570
- 'ext' => 'px'
571
  ),
572
  array(
573
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -651,7 +665,7 @@ class DSLC_Downloads extends DSLC_Module {
651
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
652
  'min' => 1,
653
  'max' => 100,
654
- 'ext' => '%'
655
  ),
656
 
657
  /**
@@ -763,7 +777,7 @@ class DSLC_Downloads extends DSLC_Module {
763
  'increment' => 1,
764
  'section' => 'styling',
765
  'tab' => __( 'Main', 'live-composer-page-builder' ),
766
- 'ext' => 'px'
767
  ),
768
  array(
769
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -781,7 +795,7 @@ class DSLC_Downloads extends DSLC_Module {
781
  'increment' => 1,
782
  'section' => 'styling',
783
  'tab' => __( 'Main', 'live-composer-page-builder' ),
784
- 'ext' => 'px'
785
  ),
786
  array(
787
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
@@ -940,7 +954,7 @@ class DSLC_Downloads extends DSLC_Module {
940
  'affect_on_change_rule' => 'font-size',
941
  'section' => 'styling',
942
  'tab' => __( 'Title', 'live-composer-page-builder' ),
943
- 'ext' => 'px'
944
  ),
945
  array(
946
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1016,7 +1030,7 @@ class DSLC_Downloads extends DSLC_Module {
1016
  'affect_on_change_rule' => 'line-height',
1017
  'section' => 'styling',
1018
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1019
- 'ext' => 'px'
1020
  ),
1021
  array(
1022
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1031,7 +1045,7 @@ class DSLC_Downloads extends DSLC_Module {
1031
  'affect_on_change_rule' => 'margin-bottom',
1032
  'section' => 'styling',
1033
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1034
- 'ext' => 'px'
1035
  ),
1036
  array(
1037
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1113,7 +1127,7 @@ class DSLC_Downloads extends DSLC_Module {
1113
  'affect_on_change_rule' => 'font-size',
1114
  'section' => 'styling',
1115
  'tab' => __( 'Tags', 'live-composer-page-builder' ),
1116
- 'ext' => 'px'
1117
  ),
1118
  array(
1119
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1178,7 +1192,7 @@ class DSLC_Downloads extends DSLC_Module {
1178
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1179
  'section' => 'styling',
1180
  'tab' => __( 'Tags', 'live-composer-page-builder' ),
1181
- 'ext' => 'px'
1182
  ),
1183
  array(
1184
  'label' => __( 'Link - Color', 'live-composer-page-builder' ),
@@ -1299,7 +1313,7 @@ class DSLC_Downloads extends DSLC_Module {
1299
  'affect_on_change_rule' => 'font-size',
1300
  'section' => 'styling',
1301
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1302
- 'ext' => 'px'
1303
  ),
1304
  array(
1305
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1375,7 +1389,7 @@ class DSLC_Downloads extends DSLC_Module {
1375
  'affect_on_change_rule' => 'line-height',
1376
  'section' => 'styling',
1377
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1378
- 'ext' => 'px'
1379
  ),
1380
  array(
1381
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1390,7 +1404,7 @@ class DSLC_Downloads extends DSLC_Module {
1390
  'affect_on_change_rule' => 'margin-bottom',
1391
  'section' => 'styling',
1392
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1393
- 'ext' => 'px'
1394
  ),
1395
  array(
1396
  'label' => __( 'Max Length ( amount of words )', 'live-composer-page-builder' ),
@@ -1461,9 +1475,8 @@ class DSLC_Downloads extends DSLC_Module {
1461
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1462
  'id' => 'css_button_border_width',
1463
  'min' => 0,
1464
- 'max' => 10,
1465
  'increment' => 1,
1466
-
1467
  'std' => '0',
1468
  'type' => 'slider',
1469
  'refresh_on_change' => false,
@@ -1518,7 +1531,7 @@ class DSLC_Downloads extends DSLC_Module {
1518
  'increment' => 1,
1519
  'section' => 'styling',
1520
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1521
- 'ext' => 'px'
1522
  ),
1523
  array(
1524
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1555,7 +1568,7 @@ class DSLC_Downloads extends DSLC_Module {
1555
  'affect_on_change_rule' => 'font-size',
1556
  'section' => 'styling',
1557
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1558
- 'ext' => 'px'
1559
  ),
1560
  array(
1561
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1631,7 +1644,7 @@ class DSLC_Downloads extends DSLC_Module {
1631
  'affect_on_change_rule' => 'margin-bottom',
1632
  'section' => 'styling',
1633
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1634
- 'ext' => 'px'
1635
  ),
1636
  array(
1637
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1646,7 +1659,7 @@ class DSLC_Downloads extends DSLC_Module {
1646
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1647
  'section' => 'styling',
1648
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1649
- 'ext' => 'px'
1650
  ),
1651
  array(
1652
  'label' => __( 'Icon', 'live-composer-page-builder' ),
@@ -1711,7 +1724,7 @@ class DSLC_Downloads extends DSLC_Module {
1711
  'affect_on_change_rule' => 'font-size',
1712
  'section' => 'styling',
1713
  'tab' => __( 'Count', 'live-composer-page-builder' ),
1714
- 'ext' => 'px'
1715
  ),
1716
  array(
1717
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1914,7 +1927,7 @@ class DSLC_Downloads extends DSLC_Module {
1914
  'affect_on_change_rule' => 'font-size',
1915
  'section' => 'responsive',
1916
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1917
- 'ext' => 'px'
1918
  ),
1919
  array(
1920
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -1929,7 +1942,7 @@ class DSLC_Downloads extends DSLC_Module {
1929
  'affect_on_change_rule' => 'line-height',
1930
  'section' => 'responsive',
1931
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1932
- 'ext' => 'px'
1933
  ),
1934
  array(
1935
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -1944,7 +1957,7 @@ class DSLC_Downloads extends DSLC_Module {
1944
  'affect_on_change_rule' => 'margin-bottom',
1945
  'section' => 'responsive',
1946
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1947
- 'ext' => 'px'
1948
  ),
1949
  array(
1950
  'label' => __( 'Tags - Font Size', 'live-composer-page-builder' ),
@@ -1959,7 +1972,7 @@ class DSLC_Downloads extends DSLC_Module {
1959
  'affect_on_change_rule' => 'font-size',
1960
  'section' => 'responsive',
1961
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1962
- 'ext' => 'px'
1963
  ),
1964
  array(
1965
  'label' => __( 'Tags - Padding Vertical', 'live-composer-page-builder' ),
@@ -1974,7 +1987,7 @@ class DSLC_Downloads extends DSLC_Module {
1974
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1975
  'section' => 'responsive',
1976
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1977
- 'ext' => 'px'
1978
  ),
1979
  array(
1980
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
@@ -1989,7 +2002,7 @@ class DSLC_Downloads extends DSLC_Module {
1989
  'affect_on_change_rule' => 'font-size',
1990
  'section' => 'responsive',
1991
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1992
- 'ext' => 'px'
1993
  ),
1994
  array(
1995
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2004,7 +2017,7 @@ class DSLC_Downloads extends DSLC_Module {
2004
  'affect_on_change_rule' => 'line-height',
2005
  'section' => 'responsive',
2006
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2007
- 'ext' => 'px'
2008
  ),
2009
  array(
2010
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2019,7 +2032,7 @@ class DSLC_Downloads extends DSLC_Module {
2019
  'affect_on_change_rule' => 'margin-bottom',
2020
  'section' => 'responsive',
2021
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2022
- 'ext' => 'px'
2023
  ),
2024
  array(
2025
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
@@ -2034,7 +2047,7 @@ class DSLC_Downloads extends DSLC_Module {
2034
  'affect_on_change_rule' => 'font-size',
2035
  'section' => 'responsive',
2036
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2037
- 'ext' => 'px'
2038
  ),
2039
  array(
2040
  'label' => __( 'Button - Margin Bottom', 'live-composer-page-builder' ),
@@ -2049,7 +2062,7 @@ class DSLC_Downloads extends DSLC_Module {
2049
  'affect_on_change_rule' => 'margin-bottom',
2050
  'section' => 'responsive',
2051
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2052
- 'ext' => 'px'
2053
  ),
2054
  array(
2055
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2064,7 +2077,7 @@ class DSLC_Downloads extends DSLC_Module {
2064
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2065
  'section' => 'responsive',
2066
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2067
- 'ext' => 'px'
2068
  ),
2069
  array(
2070
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
@@ -2094,7 +2107,7 @@ class DSLC_Downloads extends DSLC_Module {
2094
  'affect_on_change_rule' => 'font-size',
2095
  'section' => 'responsive',
2096
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2097
- 'ext' => 'px'
2098
  ),
2099
 
2100
  /**
@@ -2236,7 +2249,7 @@ class DSLC_Downloads extends DSLC_Module {
2236
  'affect_on_change_rule' => 'font-size',
2237
  'section' => 'responsive',
2238
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2239
- 'ext' => 'px'
2240
  ),
2241
  array(
2242
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2251,7 +2264,7 @@ class DSLC_Downloads extends DSLC_Module {
2251
  'affect_on_change_rule' => 'line-height',
2252
  'section' => 'responsive',
2253
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2254
- 'ext' => 'px'
2255
  ),
2256
  array(
2257
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2266,7 +2279,7 @@ class DSLC_Downloads extends DSLC_Module {
2266
  'affect_on_change_rule' => 'margin-bottom',
2267
  'section' => 'responsive',
2268
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2269
- 'ext' => 'px'
2270
  ),
2271
  array(
2272
  'label' => __( 'Tags - Font Size', 'live-composer-page-builder' ),
@@ -2281,7 +2294,7 @@ class DSLC_Downloads extends DSLC_Module {
2281
  'affect_on_change_rule' => 'font-size',
2282
  'section' => 'responsive',
2283
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2284
- 'ext' => 'px'
2285
  ),
2286
  array(
2287
  'label' => __( 'Tags - Padding Vertical', 'live-composer-page-builder' ),
@@ -2296,7 +2309,7 @@ class DSLC_Downloads extends DSLC_Module {
2296
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2297
  'section' => 'responsive',
2298
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2299
- 'ext' => 'px'
2300
  ),
2301
  array(
2302
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
@@ -2311,7 +2324,7 @@ class DSLC_Downloads extends DSLC_Module {
2311
  'affect_on_change_rule' => 'font-size',
2312
  'section' => 'responsive',
2313
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2314
- 'ext' => 'px'
2315
  ),
2316
  array(
2317
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2326,7 +2339,7 @@ class DSLC_Downloads extends DSLC_Module {
2326
  'affect_on_change_rule' => 'line-height',
2327
  'section' => 'responsive',
2328
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2329
- 'ext' => 'px'
2330
  ),
2331
  array(
2332
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2341,7 +2354,7 @@ class DSLC_Downloads extends DSLC_Module {
2341
  'affect_on_change_rule' => 'margin-bottom',
2342
  'section' => 'responsive',
2343
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2344
- 'ext' => 'px'
2345
  ),
2346
  array(
2347
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
@@ -2356,7 +2369,7 @@ class DSLC_Downloads extends DSLC_Module {
2356
  'affect_on_change_rule' => 'font-size',
2357
  'section' => 'responsive',
2358
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2359
- 'ext' => 'px'
2360
  ),
2361
  array(
2362
  'label' => __( 'Button - Margin Bottom', 'live-composer-page-builder' ),
@@ -2371,7 +2384,7 @@ class DSLC_Downloads extends DSLC_Module {
2371
  'affect_on_change_rule' => 'margin-bottom',
2372
  'section' => 'responsive',
2373
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2374
- 'ext' => 'px'
2375
  ),
2376
  array(
2377
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2386,7 +2399,7 @@ class DSLC_Downloads extends DSLC_Module {
2386
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2387
  'section' => 'responsive',
2388
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2389
- 'ext' => 'px'
2390
  ),
2391
  array(
2392
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
@@ -2416,7 +2429,7 @@ class DSLC_Downloads extends DSLC_Module {
2416
  'affect_on_change_rule' => 'font-size',
2417
  'section' => 'responsive',
2418
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2419
- 'ext' => 'px'
2420
  ),
2421
 
2422
  );
@@ -2433,7 +2446,12 @@ class DSLC_Downloads extends DSLC_Module {
2433
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2434
 
2435
  }
2436
-
 
 
 
 
 
2437
  function output( $options ) {
2438
 
2439
  if ( is_feed() ) {
@@ -2840,9 +2858,9 @@ class DSLC_Downloads extends DSLC_Module {
2840
 
2841
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'tags', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) || in_array( 'count', $post_elements ) ) ) : ?>
2842
 
2843
- <div class="dslc-post-main dslc-download-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-download-main-visible'; ?>">
2844
 
2845
- <div class="dslc-download-main-inner dslc-init-<?php echo $options['main_position']; ?> 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']; ?>">
2846
 
2847
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2848
 
25
 
26
  }
27
 
28
+ /**
29
+ * Module options.
30
+ * Function build array with all the module functionality and styling options.
31
+ * Based on this array Live Composer builds module settings panel.
32
+ * – Every array inside $dslc_options means one option = one control.
33
+ * – Every option should have unique (for this module) id.
34
+ * – Options divides on "Functionality" and "Styling".
35
+ * – Styling options start with css_XXXXXXX
36
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
37
+ * – Options can be hidden.
38
+ * – Options can have a default value.
39
+ * – Options can request refresh from server on change or do live refresh via CSS.
40
+ *
41
+ * @return array All the module options in array.
42
+ */
43
  function options() {
44
 
45
  $cats = get_terms( 'dslc_downloads_cats' );
292
  'value' => 'filters'
293
  ),
294
  ),
295
+ 'section' => 'styling',
296
  ),
297
 
298
  array(
326
  'value' => 'count',
327
  ),
328
  ),
329
+ 'section' => 'styling',
330
  ),
331
 
332
  array(
344
  'value' => 'circles'
345
  ),
346
  ),
347
+ 'section' => 'styling',
348
  ),
349
  array(
350
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
507
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
508
  'id' => 'css_thumb_border_width',
509
  'min' => 0,
510
+ 'max' => 1000,
511
  'increment' => 1,
 
512
  'std' => '0',
513
  'type' => 'slider',
514
  'refresh_on_change' => false,
563
  'increment' => 1,
564
  'section' => 'styling',
565
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
566
+ 'ext' => 'px',
567
  ),
568
  array(
569
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
581
  'increment' => 1,
582
  'section' => 'styling',
583
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
584
+ 'ext' => 'px',
585
  ),
586
  array(
587
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
665
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
666
  'min' => 1,
667
  'max' => 100,
668
+ 'ext' => '%',
669
  ),
670
 
671
  /**
777
  'increment' => 1,
778
  'section' => 'styling',
779
  'tab' => __( 'Main', 'live-composer-page-builder' ),
780
+ 'ext' => 'px',
781
  ),
782
  array(
783
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
795
  'increment' => 1,
796
  'section' => 'styling',
797
  'tab' => __( 'Main', 'live-composer-page-builder' ),
798
+ 'ext' => 'px',
799
  ),
800
  array(
801
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
954
  'affect_on_change_rule' => 'font-size',
955
  'section' => 'styling',
956
  'tab' => __( 'Title', 'live-composer-page-builder' ),
957
+ 'ext' => 'px',
958
  ),
959
  array(
960
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1030
  'affect_on_change_rule' => 'line-height',
1031
  'section' => 'styling',
1032
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1033
+ 'ext' => 'px',
1034
  ),
1035
  array(
1036
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1045
  'affect_on_change_rule' => 'margin-bottom',
1046
  'section' => 'styling',
1047
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1048
+ 'ext' => 'px',
1049
  ),
1050
  array(
1051
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1127
  'affect_on_change_rule' => 'font-size',
1128
  'section' => 'styling',
1129
  'tab' => __( 'Tags', 'live-composer-page-builder' ),
1130
+ 'ext' => 'px',
1131
  ),
1132
  array(
1133
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1192
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1193
  'section' => 'styling',
1194
  'tab' => __( 'Tags', 'live-composer-page-builder' ),
1195
+ 'ext' => 'px',
1196
  ),
1197
  array(
1198
  'label' => __( 'Link - Color', 'live-composer-page-builder' ),
1313
  'affect_on_change_rule' => 'font-size',
1314
  'section' => 'styling',
1315
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1316
+ 'ext' => 'px',
1317
  ),
1318
  array(
1319
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1389
  'affect_on_change_rule' => 'line-height',
1390
  'section' => 'styling',
1391
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1392
+ 'ext' => 'px',
1393
  ),
1394
  array(
1395
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1404
  'affect_on_change_rule' => 'margin-bottom',
1405
  'section' => 'styling',
1406
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1407
+ 'ext' => 'px',
1408
  ),
1409
  array(
1410
  'label' => __( 'Max Length ( amount of words )', 'live-composer-page-builder' ),
1475
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1476
  'id' => 'css_button_border_width',
1477
  'min' => 0,
1478
+ 'max' => 1000,
1479
  'increment' => 1,
 
1480
  'std' => '0',
1481
  'type' => 'slider',
1482
  'refresh_on_change' => false,
1531
  'increment' => 1,
1532
  'section' => 'styling',
1533
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1534
+ 'ext' => 'px',
1535
  ),
1536
  array(
1537
  'label' => __( 'Color', 'live-composer-page-builder' ),
1568
  'affect_on_change_rule' => 'font-size',
1569
  'section' => 'styling',
1570
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1571
+ 'ext' => 'px',
1572
  ),
1573
  array(
1574
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1644
  'affect_on_change_rule' => 'margin-bottom',
1645
  'section' => 'styling',
1646
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1647
+ 'ext' => 'px',
1648
  ),
1649
  array(
1650
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1659
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1660
  'section' => 'styling',
1661
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1662
+ 'ext' => 'px',
1663
  ),
1664
  array(
1665
  'label' => __( 'Icon', 'live-composer-page-builder' ),
1724
  'affect_on_change_rule' => 'font-size',
1725
  'section' => 'styling',
1726
  'tab' => __( 'Count', 'live-composer-page-builder' ),
1727
+ 'ext' => 'px',
1728
  ),
1729
  array(
1730
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1927
  'affect_on_change_rule' => 'font-size',
1928
  'section' => 'responsive',
1929
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1930
+ 'ext' => 'px',
1931
  ),
1932
  array(
1933
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
1942
  'affect_on_change_rule' => 'line-height',
1943
  'section' => 'responsive',
1944
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1945
+ 'ext' => 'px',
1946
  ),
1947
  array(
1948
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
1957
  'affect_on_change_rule' => 'margin-bottom',
1958
  'section' => 'responsive',
1959
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1960
+ 'ext' => 'px',
1961
  ),
1962
  array(
1963
  'label' => __( 'Tags - Font Size', 'live-composer-page-builder' ),
1972
  'affect_on_change_rule' => 'font-size',
1973
  'section' => 'responsive',
1974
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1975
+ 'ext' => 'px',
1976
  ),
1977
  array(
1978
  'label' => __( 'Tags - Padding Vertical', 'live-composer-page-builder' ),
1987
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1988
  'section' => 'responsive',
1989
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1990
+ 'ext' => 'px',
1991
  ),
1992
  array(
1993
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
2002
  'affect_on_change_rule' => 'font-size',
2003
  'section' => 'responsive',
2004
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2005
+ 'ext' => 'px',
2006
  ),
2007
  array(
2008
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2017
  'affect_on_change_rule' => 'line-height',
2018
  'section' => 'responsive',
2019
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2020
+ 'ext' => 'px',
2021
  ),
2022
  array(
2023
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2032
  'affect_on_change_rule' => 'margin-bottom',
2033
  'section' => 'responsive',
2034
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2035
+ 'ext' => 'px',
2036
  ),
2037
  array(
2038
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2047
  'affect_on_change_rule' => 'font-size',
2048
  'section' => 'responsive',
2049
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2050
+ 'ext' => 'px',
2051
  ),
2052
  array(
2053
  'label' => __( 'Button - Margin Bottom', 'live-composer-page-builder' ),
2062
  'affect_on_change_rule' => 'margin-bottom',
2063
  'section' => 'responsive',
2064
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2065
+ 'ext' => 'px',
2066
  ),
2067
  array(
2068
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2077
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2078
  'section' => 'responsive',
2079
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2080
+ 'ext' => 'px',
2081
  ),
2082
  array(
2083
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2107
  'affect_on_change_rule' => 'font-size',
2108
  'section' => 'responsive',
2109
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2110
+ 'ext' => 'px',
2111
  ),
2112
 
2113
  /**
2249
  'affect_on_change_rule' => 'font-size',
2250
  'section' => 'responsive',
2251
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2252
+ 'ext' => 'px',
2253
  ),
2254
  array(
2255
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2264
  'affect_on_change_rule' => 'line-height',
2265
  'section' => 'responsive',
2266
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2267
+ 'ext' => 'px',
2268
  ),
2269
  array(
2270
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2279
  'affect_on_change_rule' => 'margin-bottom',
2280
  'section' => 'responsive',
2281
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2282
+ 'ext' => 'px',
2283
  ),
2284
  array(
2285
  'label' => __( 'Tags - Font Size', 'live-composer-page-builder' ),
2294
  'affect_on_change_rule' => 'font-size',
2295
  'section' => 'responsive',
2296
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2297
+ 'ext' => 'px',
2298
  ),
2299
  array(
2300
  'label' => __( 'Tags - Padding Vertical', 'live-composer-page-builder' ),
2309
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2310
  'section' => 'responsive',
2311
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2312
+ 'ext' => 'px',
2313
  ),
2314
  array(
2315
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
2324
  'affect_on_change_rule' => 'font-size',
2325
  'section' => 'responsive',
2326
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2327
+ 'ext' => 'px',
2328
  ),
2329
  array(
2330
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2339
  'affect_on_change_rule' => 'line-height',
2340
  'section' => 'responsive',
2341
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2342
+ 'ext' => 'px',
2343
  ),
2344
  array(
2345
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2354
  'affect_on_change_rule' => 'margin-bottom',
2355
  'section' => 'responsive',
2356
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2357
+ 'ext' => 'px',
2358
  ),
2359
  array(
2360
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2369
  'affect_on_change_rule' => 'font-size',
2370
  'section' => 'responsive',
2371
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2372
+ 'ext' => 'px',
2373
  ),
2374
  array(
2375
  'label' => __( 'Button - Margin Bottom', 'live-composer-page-builder' ),
2384
  'affect_on_change_rule' => 'margin-bottom',
2385
  'section' => 'responsive',
2386
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2387
+ 'ext' => 'px',
2388
  ),
2389
  array(
2390
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2399
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2400
  'section' => 'responsive',
2401
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2402
+ 'ext' => 'px',
2403
  ),
2404
  array(
2405
  'label' => __( 'Button Icon - Margin Right', 'live-composer-page-builder' ),
2429
  'affect_on_change_rule' => 'font-size',
2430
  'section' => 'responsive',
2431
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2432
+ 'ext' => 'px',
2433
  ),
2434
 
2435
  );
2446
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2447
 
2448
  }
2449
+ /**
2450
+ * Module HTML output.
2451
+ *
2452
+ * @param array $options Module options to fill the module template.
2453
+ * @return void
2454
+ */
2455
  function output( $options ) {
2456
 
2457
  if ( is_feed() ) {
2858
 
2859
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'tags', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) || in_array( 'count', $post_elements ) ) ) : ?>
2860
 
2861
+ <div class="dslc-post-main dslc-download-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-download-main-visible'; ?>">
2862
 
2863
+ <div class="dslc-download-main-inner dslc-init-target 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']; ?>">
2864
 
2865
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2866
 
modules/galleries/module.php CHANGED
@@ -25,6 +25,21 @@ class DSLC_Galleries extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $cats = get_terms( 'dslc_galleries_cats' );
@@ -296,7 +311,7 @@ class DSLC_Galleries extends DSLC_Module {
296
  'value' => 'filters'
297
  ),
298
  ),
299
- 'section' => 'styling'
300
  ),
301
 
302
  array(
@@ -330,7 +345,7 @@ class DSLC_Galleries extends DSLC_Module {
330
  'value' => 'button'
331
  )
332
  ),
333
- 'section' => 'styling'
334
  ),
335
 
336
  array(
@@ -348,7 +363,7 @@ class DSLC_Galleries extends DSLC_Module {
348
  'value' => 'circles'
349
  ),
350
  ),
351
- 'section' => 'styling'
352
  ),
353
  array(
354
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -568,7 +583,7 @@ class DSLC_Galleries extends DSLC_Module {
568
  'increment' => 1,
569
  'section' => 'styling',
570
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
571
- 'ext' => 'px'
572
  ),
573
  array(
574
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -586,7 +601,7 @@ class DSLC_Galleries extends DSLC_Module {
586
  'increment' => 1,
587
  'section' => 'styling',
588
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
589
- 'ext' => 'px'
590
  ),
591
  array(
592
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -670,7 +685,7 @@ class DSLC_Galleries extends DSLC_Module {
670
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
671
  'min' => 1,
672
  'max' => 100,
673
- 'ext' => '%'
674
  ),
675
 
676
  /**
@@ -703,9 +718,8 @@ class DSLC_Galleries extends DSLC_Module {
703
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
704
  'id' => 'css_count_border_width',
705
  'min' => 0,
706
- 'max' => 10,
707
  'increment' => 1,
708
-
709
  'std' => '0',
710
  'type' => 'slider',
711
  'refresh_on_change' => false,
@@ -775,7 +789,7 @@ class DSLC_Galleries extends DSLC_Module {
775
  'affect_on_change_rule' => 'margin',
776
  'section' => 'styling',
777
  'tab' => __( 'Count', 'live-composer-page-builder' ),
778
- 'ext' => 'px'
779
  ),
780
  array(
781
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
@@ -857,7 +871,7 @@ class DSLC_Galleries extends DSLC_Module {
857
  'affect_on_change_rule' => 'font-size',
858
  'section' => 'styling',
859
  'tab' => __( 'Count', 'live-composer-page-builder' ),
860
- 'ext' => 'px'
861
  ),
862
  array(
863
  'label' => __( 'Count - Font Weight', 'live-composer-page-builder' ),
@@ -933,7 +947,7 @@ class DSLC_Galleries extends DSLC_Module {
933
  'affect_on_change_rule' => 'margin-bottom',
934
  'section' => 'styling',
935
  'tab' => __( 'Count', 'live-composer-page-builder' ),
936
- 'ext' => 'px'
937
  ),
938
  array(
939
  'label' => __( 'Text', 'live-composer-page-builder' ),
@@ -967,7 +981,7 @@ class DSLC_Galleries extends DSLC_Module {
967
  'affect_on_change_rule' => 'font-size',
968
  'section' => 'styling',
969
  'tab' => __( 'Count', 'live-composer-page-builder' ),
970
- 'ext' => 'px'
971
  ),
972
  array(
973
  'label' => __( 'Text - Font Weight', 'live-composer-page-builder' ),
@@ -1140,7 +1154,7 @@ class DSLC_Galleries extends DSLC_Module {
1140
  'increment' => 1,
1141
  'section' => 'styling',
1142
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1143
- 'ext' => 'px'
1144
  ),
1145
  array(
1146
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -1158,7 +1172,7 @@ class DSLC_Galleries extends DSLC_Module {
1158
  'increment' => 1,
1159
  'section' => 'styling',
1160
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1161
- 'ext' => 'px'
1162
  ),
1163
  array(
1164
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
@@ -1317,7 +1331,7 @@ class DSLC_Galleries extends DSLC_Module {
1317
  'affect_on_change_rule' => 'font-size',
1318
  'section' => 'styling',
1319
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1320
- 'ext' => 'px'
1321
  ),
1322
  array(
1323
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1393,7 +1407,7 @@ class DSLC_Galleries extends DSLC_Module {
1393
  'affect_on_change_rule' => 'line-height',
1394
  'section' => 'styling',
1395
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1396
- 'ext' => 'px'
1397
  ),
1398
  array(
1399
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1408,7 +1422,7 @@ class DSLC_Galleries extends DSLC_Module {
1408
  'affect_on_change_rule' => 'margin-bottom',
1409
  'section' => 'styling',
1410
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1411
- 'ext' => 'px'
1412
  ),
1413
  array(
1414
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1468,7 +1482,7 @@ class DSLC_Galleries extends DSLC_Module {
1468
  'affect_on_change_rule' => 'margin-bottom',
1469
  'section' => 'styling',
1470
  'tab' => __( 'Separator', 'live-composer-page-builder' ),
1471
- 'ext' => 'px'
1472
  ),
1473
 
1474
  /**
@@ -1517,7 +1531,7 @@ class DSLC_Galleries extends DSLC_Module {
1517
  'affect_on_change_rule' => 'font-size',
1518
  'section' => 'styling',
1519
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1520
- 'ext' => 'px'
1521
  ),
1522
  array(
1523
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1593,7 +1607,7 @@ class DSLC_Galleries extends DSLC_Module {
1593
  'affect_on_change_rule' => 'line-height',
1594
  'section' => 'styling',
1595
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1596
- 'ext' => 'px'
1597
  ),
1598
  array(
1599
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1605,7 +1619,7 @@ class DSLC_Galleries extends DSLC_Module {
1605
  'affect_on_change_rule' => 'margin-bottom',
1606
  'section' => 'styling',
1607
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1608
- 'ext' => 'px'
1609
  ),
1610
  array(
1611
  'label' => __( 'Max Length ( amount of words )', 'live-composer-page-builder' ),
@@ -1665,9 +1679,8 @@ class DSLC_Galleries extends DSLC_Module {
1665
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1666
  'id' => 'css_button_border_width',
1667
  'min' => 0,
1668
- 'max' => 10,
1669
  'increment' => 1,
1670
-
1671
  'std' => '0',
1672
  'type' => 'slider',
1673
  'refresh_on_change' => false,
@@ -1675,7 +1688,7 @@ class DSLC_Galleries extends DSLC_Module {
1675
  'affect_on_change_rule' => 'border-width',
1676
  'section' => 'styling',
1677
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1678
- 'ext' => 'px'
1679
  ),
1680
  array(
1681
  'label' => __( 'Borders', 'live-composer-page-builder' ),
@@ -1744,7 +1757,7 @@ class DSLC_Galleries extends DSLC_Module {
1744
  'increment' => 1,
1745
  'section' => 'styling',
1746
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1747
- 'ext' => 'px'
1748
  ),
1749
  array(
1750
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1781,7 +1794,7 @@ class DSLC_Galleries extends DSLC_Module {
1781
  'affect_on_change_rule' => 'font-size',
1782
  'section' => 'styling',
1783
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1784
- 'ext' => 'px'
1785
  ),
1786
  array(
1787
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2029,7 +2042,7 @@ class DSLC_Galleries extends DSLC_Module {
2029
  'affect_on_change_rule' => 'margin',
2030
  'section' => 'responsive',
2031
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2032
- 'ext' => 'px'
2033
  ),
2034
  array(
2035
  'label' => __( 'Count Padding', 'live-composer-page-builder' ),
@@ -2056,7 +2069,7 @@ class DSLC_Galleries extends DSLC_Module {
2056
  'affect_on_change_rule' => 'font-size',
2057
  'section' => 'responsive',
2058
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2059
- 'ext' => 'px'
2060
  ),
2061
  array(
2062
  'label' => __( 'Count Num - Margin Bottom', 'live-composer-page-builder' ),
@@ -2071,7 +2084,7 @@ class DSLC_Galleries extends DSLC_Module {
2071
  'affect_on_change_rule' => 'margin-bottom',
2072
  'section' => 'responsive',
2073
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2074
- 'ext' => 'px'
2075
  ),
2076
  array(
2077
  'label' => __( 'Count Text - Font Size', 'live-composer-page-builder' ),
@@ -2086,7 +2099,7 @@ class DSLC_Galleries extends DSLC_Module {
2086
  'affect_on_change_rule' => 'font-size',
2087
  'section' => 'responsive',
2088
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2089
- 'ext' => 'px'
2090
  ),
2091
  array(
2092
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -2131,7 +2144,7 @@ class DSLC_Galleries extends DSLC_Module {
2131
  'affect_on_change_rule' => 'font-size',
2132
  'section' => 'responsive',
2133
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2134
- 'ext' => 'px'
2135
  ),
2136
  array(
2137
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2146,7 +2159,7 @@ class DSLC_Galleries extends DSLC_Module {
2146
  'affect_on_change_rule' => 'line-height',
2147
  'section' => 'responsive',
2148
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2149
- 'ext' => 'px'
2150
  ),
2151
  array(
2152
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2161,7 +2174,7 @@ class DSLC_Galleries extends DSLC_Module {
2161
  'affect_on_change_rule' => 'margin-bottom',
2162
  'section' => 'responsive',
2163
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2164
- 'ext' => 'px'
2165
  ),
2166
  array(
2167
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
@@ -2176,7 +2189,7 @@ class DSLC_Galleries extends DSLC_Module {
2176
  'affect_on_change_rule' => 'margin-bottom',
2177
  'section' => 'responsive',
2178
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2179
- 'ext' => 'px'
2180
  ),
2181
  array(
2182
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
@@ -2191,7 +2204,7 @@ class DSLC_Galleries extends DSLC_Module {
2191
  'affect_on_change_rule' => 'font-size',
2192
  'section' => 'responsive',
2193
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2194
- 'ext' => 'px'
2195
  ),
2196
  array(
2197
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2206,7 +2219,7 @@ class DSLC_Galleries extends DSLC_Module {
2206
  'affect_on_change_rule' => 'line-height',
2207
  'section' => 'responsive',
2208
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2209
- 'ext' => 'px'
2210
  ),
2211
 
2212
  /**
@@ -2317,7 +2330,7 @@ class DSLC_Galleries extends DSLC_Module {
2317
  'affect_on_change_rule' => 'margin',
2318
  'section' => 'responsive',
2319
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2320
- 'ext' => 'px'
2321
  ),
2322
  array(
2323
  'label' => __( 'Count Padding', 'live-composer-page-builder' ),
@@ -2344,7 +2357,7 @@ class DSLC_Galleries extends DSLC_Module {
2344
  'affect_on_change_rule' => 'font-size',
2345
  'section' => 'responsive',
2346
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2347
- 'ext' => 'px'
2348
  ),
2349
  array(
2350
  'label' => __( 'Count Num - Margin Bottom', 'live-composer-page-builder' ),
@@ -2359,7 +2372,7 @@ class DSLC_Galleries extends DSLC_Module {
2359
  'affect_on_change_rule' => 'margin-bottom',
2360
  'section' => 'responsive',
2361
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2362
- 'ext' => 'px'
2363
  ),
2364
  array(
2365
  'label' => __( 'Count Text - Font Size', 'live-composer-page-builder' ),
@@ -2374,7 +2387,7 @@ class DSLC_Galleries extends DSLC_Module {
2374
  'affect_on_change_rule' => 'font-size',
2375
  'section' => 'responsive',
2376
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2377
- 'ext' => 'px'
2378
  ),
2379
  array(
2380
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -2419,7 +2432,7 @@ class DSLC_Galleries extends DSLC_Module {
2419
  'affect_on_change_rule' => 'font-size',
2420
  'section' => 'responsive',
2421
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2422
- 'ext' => 'px'
2423
  ),
2424
  array(
2425
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2434,7 +2447,7 @@ class DSLC_Galleries extends DSLC_Module {
2434
  'affect_on_change_rule' => 'line-height',
2435
  'section' => 'responsive',
2436
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2437
- 'ext' => 'px'
2438
  ),
2439
  array(
2440
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2449,7 +2462,7 @@ class DSLC_Galleries extends DSLC_Module {
2449
  'affect_on_change_rule' => 'margin-bottom',
2450
  'section' => 'responsive',
2451
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2452
- 'ext' => 'px'
2453
  ),
2454
  array(
2455
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
@@ -2464,7 +2477,7 @@ class DSLC_Galleries extends DSLC_Module {
2464
  'affect_on_change_rule' => 'margin-bottom',
2465
  'section' => 'responsive',
2466
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2467
- 'ext' => 'px'
2468
  ),
2469
  array(
2470
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
@@ -2479,7 +2492,7 @@ class DSLC_Galleries extends DSLC_Module {
2479
  'affect_on_change_rule' => 'font-size',
2480
  'section' => 'responsive',
2481
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2482
- 'ext' => 'px'
2483
  ),
2484
  array(
2485
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2494,7 +2507,7 @@ class DSLC_Galleries extends DSLC_Module {
2494
  'affect_on_change_rule' => 'line-height',
2495
  'section' => 'responsive',
2496
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2497
- 'ext' => 'px'
2498
  ),
2499
 
2500
  );
@@ -2511,7 +2524,12 @@ class DSLC_Galleries extends DSLC_Module {
2511
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2512
 
2513
  }
2514
-
 
 
 
 
 
2515
  function output( $options ) {
2516
 
2517
  if ( is_feed() ) {
@@ -2931,9 +2949,9 @@ class DSLC_Galleries extends DSLC_Module {
2931
 
2932
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'separator', $post_elements ) ) ) : ?>
2933
 
2934
- <div class="dslc-post-main dslc-gallery-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-gallery-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']; ?>">
2935
 
2936
- <div class="dslc-gallery-main-inner dslc-init-<?php echo $options['main_position']; ?>">
2937
 
2938
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2939
 
25
 
26
  }
27
 
28
+ /**
29
+ * Module options.
30
+ * Function build array with all the module functionality and styling options.
31
+ * Based on this array Live Composer builds module settings panel.
32
+ * – Every array inside $dslc_options means one option = one control.
33
+ * – Every option should have unique (for this module) id.
34
+ * – Options divides on "Functionality" and "Styling".
35
+ * – Styling options start with css_XXXXXXX
36
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
37
+ * – Options can be hidden.
38
+ * – Options can have a default value.
39
+ * – Options can request refresh from server on change or do live refresh via CSS.
40
+ *
41
+ * @return array All the module options in array.
42
+ */
43
  function options() {
44
 
45
  $cats = get_terms( 'dslc_galleries_cats' );
311
  'value' => 'filters'
312
  ),
313
  ),
314
+ 'section' => 'styling',
315
  ),
316
 
317
  array(
345
  'value' => 'button'
346
  )
347
  ),
348
+ 'section' => 'styling',
349
  ),
350
 
351
  array(
363
  'value' => 'circles'
364
  ),
365
  ),
366
+ 'section' => 'styling',
367
  ),
368
  array(
369
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
583
  'increment' => 1,
584
  'section' => 'styling',
585
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
586
+ 'ext' => 'px',
587
  ),
588
  array(
589
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
601
  'increment' => 1,
602
  'section' => 'styling',
603
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
604
+ 'ext' => 'px',
605
  ),
606
  array(
607
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
685
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
686
  'min' => 1,
687
  'max' => 100,
688
+ 'ext' => '%',
689
  ),
690
 
691
  /**
718
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
719
  'id' => 'css_count_border_width',
720
  'min' => 0,
721
+ 'max' => 1000,
722
  'increment' => 1,
 
723
  'std' => '0',
724
  'type' => 'slider',
725
  'refresh_on_change' => false,
789
  'affect_on_change_rule' => 'margin',
790
  'section' => 'styling',
791
  'tab' => __( 'Count', 'live-composer-page-builder' ),
792
+ 'ext' => 'px',
793
  ),
794
  array(
795
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
871
  'affect_on_change_rule' => 'font-size',
872
  'section' => 'styling',
873
  'tab' => __( 'Count', 'live-composer-page-builder' ),
874
+ 'ext' => 'px',
875
  ),
876
  array(
877
  'label' => __( 'Count - Font Weight', 'live-composer-page-builder' ),
947
  'affect_on_change_rule' => 'margin-bottom',
948
  'section' => 'styling',
949
  'tab' => __( 'Count', 'live-composer-page-builder' ),
950
+ 'ext' => 'px',
951
  ),
952
  array(
953
  'label' => __( 'Text', 'live-composer-page-builder' ),
981
  'affect_on_change_rule' => 'font-size',
982
  'section' => 'styling',
983
  'tab' => __( 'Count', 'live-composer-page-builder' ),
984
+ 'ext' => 'px',
985
  ),
986
  array(
987
  'label' => __( 'Text - Font Weight', 'live-composer-page-builder' ),
1154
  'increment' => 1,
1155
  'section' => 'styling',
1156
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1157
+ 'ext' => 'px',
1158
  ),
1159
  array(
1160
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
1172
  'increment' => 1,
1173
  'section' => 'styling',
1174
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1175
+ 'ext' => 'px',
1176
  ),
1177
  array(
1178
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
1331
  'affect_on_change_rule' => 'font-size',
1332
  'section' => 'styling',
1333
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1334
+ 'ext' => 'px',
1335
  ),
1336
  array(
1337
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1407
  'affect_on_change_rule' => 'line-height',
1408
  'section' => 'styling',
1409
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1410
+ 'ext' => 'px',
1411
  ),
1412
  array(
1413
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1422
  'affect_on_change_rule' => 'margin-bottom',
1423
  'section' => 'styling',
1424
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1425
+ 'ext' => 'px',
1426
  ),
1427
  array(
1428
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1482
  'affect_on_change_rule' => 'margin-bottom',
1483
  'section' => 'styling',
1484
  'tab' => __( 'Separator', 'live-composer-page-builder' ),
1485
+ 'ext' => 'px',
1486
  ),
1487
 
1488
  /**
1531
  'affect_on_change_rule' => 'font-size',
1532
  'section' => 'styling',
1533
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1534
+ 'ext' => 'px',
1535
  ),
1536
  array(
1537
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1607
  'affect_on_change_rule' => 'line-height',
1608
  'section' => 'styling',
1609
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1610
+ 'ext' => 'px',
1611
  ),
1612
  array(
1613
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1619
  'affect_on_change_rule' => 'margin-bottom',
1620
  'section' => 'styling',
1621
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1622
+ 'ext' => 'px',
1623
  ),
1624
  array(
1625
  'label' => __( 'Max Length ( amount of words )', 'live-composer-page-builder' ),
1679
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1680
  'id' => 'css_button_border_width',
1681
  'min' => 0,
1682
+ 'max' => 1000,
1683
  'increment' => 1,
 
1684
  'std' => '0',
1685
  'type' => 'slider',
1686
  'refresh_on_change' => false,
1688
  'affect_on_change_rule' => 'border-width',
1689
  'section' => 'styling',
1690
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1691
+ 'ext' => 'px',
1692
  ),
1693
  array(
1694
  'label' => __( 'Borders', 'live-composer-page-builder' ),
1757
  'increment' => 1,
1758
  'section' => 'styling',
1759
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1760
+ 'ext' => 'px',
1761
  ),
1762
  array(
1763
  'label' => __( 'Color', 'live-composer-page-builder' ),
1794
  'affect_on_change_rule' => 'font-size',
1795
  'section' => 'styling',
1796
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1797
+ 'ext' => 'px',
1798
  ),
1799
  array(
1800
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2042
  'affect_on_change_rule' => 'margin',
2043
  'section' => 'responsive',
2044
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2045
+ 'ext' => 'px',
2046
  ),
2047
  array(
2048
  'label' => __( 'Count Padding', 'live-composer-page-builder' ),
2069
  'affect_on_change_rule' => 'font-size',
2070
  'section' => 'responsive',
2071
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2072
+ 'ext' => 'px',
2073
  ),
2074
  array(
2075
  'label' => __( 'Count Num - Margin Bottom', 'live-composer-page-builder' ),
2084
  'affect_on_change_rule' => 'margin-bottom',
2085
  'section' => 'responsive',
2086
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2087
+ 'ext' => 'px',
2088
  ),
2089
  array(
2090
  'label' => __( 'Count Text - Font Size', 'live-composer-page-builder' ),
2099
  'affect_on_change_rule' => 'font-size',
2100
  'section' => 'responsive',
2101
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2102
+ 'ext' => 'px',
2103
  ),
2104
  array(
2105
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
2144
  'affect_on_change_rule' => 'font-size',
2145
  'section' => 'responsive',
2146
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2147
+ 'ext' => 'px',
2148
  ),
2149
  array(
2150
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2159
  'affect_on_change_rule' => 'line-height',
2160
  'section' => 'responsive',
2161
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2162
+ 'ext' => 'px',
2163
  ),
2164
  array(
2165
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2174
  'affect_on_change_rule' => 'margin-bottom',
2175
  'section' => 'responsive',
2176
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2177
+ 'ext' => 'px',
2178
  ),
2179
  array(
2180
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
2189
  'affect_on_change_rule' => 'margin-bottom',
2190
  'section' => 'responsive',
2191
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2192
+ 'ext' => 'px',
2193
  ),
2194
  array(
2195
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
2204
  'affect_on_change_rule' => 'font-size',
2205
  'section' => 'responsive',
2206
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2207
+ 'ext' => 'px',
2208
  ),
2209
  array(
2210
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2219
  'affect_on_change_rule' => 'line-height',
2220
  'section' => 'responsive',
2221
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2222
+ 'ext' => 'px',
2223
  ),
2224
 
2225
  /**
2330
  'affect_on_change_rule' => 'margin',
2331
  'section' => 'responsive',
2332
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2333
+ 'ext' => 'px',
2334
  ),
2335
  array(
2336
  'label' => __( 'Count Padding', 'live-composer-page-builder' ),
2357
  'affect_on_change_rule' => 'font-size',
2358
  'section' => 'responsive',
2359
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2360
+ 'ext' => 'px',
2361
  ),
2362
  array(
2363
  'label' => __( 'Count Num - Margin Bottom', 'live-composer-page-builder' ),
2372
  'affect_on_change_rule' => 'margin-bottom',
2373
  'section' => 'responsive',
2374
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2375
+ 'ext' => 'px',
2376
  ),
2377
  array(
2378
  'label' => __( 'Count Text - Font Size', 'live-composer-page-builder' ),
2387
  'affect_on_change_rule' => 'font-size',
2388
  'section' => 'responsive',
2389
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2390
+ 'ext' => 'px',
2391
  ),
2392
  array(
2393
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
2432
  'affect_on_change_rule' => 'font-size',
2433
  'section' => 'responsive',
2434
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2435
+ 'ext' => 'px',
2436
  ),
2437
  array(
2438
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2447
  'affect_on_change_rule' => 'line-height',
2448
  'section' => 'responsive',
2449
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2450
+ 'ext' => 'px',
2451
  ),
2452
  array(
2453
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2462
  'affect_on_change_rule' => 'margin-bottom',
2463
  'section' => 'responsive',
2464
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2465
+ 'ext' => 'px',
2466
  ),
2467
  array(
2468
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
2477
  'affect_on_change_rule' => 'margin-bottom',
2478
  'section' => 'responsive',
2479
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2480
+ 'ext' => 'px',
2481
  ),
2482
  array(
2483
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
2492
  'affect_on_change_rule' => 'font-size',
2493
  'section' => 'responsive',
2494
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2495
+ 'ext' => 'px',
2496
  ),
2497
  array(
2498
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2507
  'affect_on_change_rule' => 'line-height',
2508
  'section' => 'responsive',
2509
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2510
+ 'ext' => 'px',
2511
  ),
2512
 
2513
  );
2524
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2525
 
2526
  }
2527
+ /**
2528
+ * Module HTML output.
2529
+ *
2530
+ * @param array $options Module options to fill the module template.
2531
+ * @return void
2532
+ */
2533
  function output( $options ) {
2534
 
2535
  if ( is_feed() ) {
2949
 
2950
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'separator', $post_elements ) ) ) : ?>
2951
 
2952
+ <div class="dslc-post-main dslc-gallery-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-gallery-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']; ?>">
2953
 
2954
+ <div class="dslc-gallery-main-inner dslc-init-target">
2955
 
2956
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2957
 
modules/html/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Html extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -282,7 +297,7 @@ class DSLC_Html extends DSLC_Module {
282
  'affect_on_change_rule' => 'font-size',
283
  'section' => 'styling',
284
  'tab' => __( 'Content', 'live-composer-page-builder' ),
285
- 'ext' => 'px'
286
  ),
287
  array(
288
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -379,7 +394,7 @@ class DSLC_Html extends DSLC_Module {
379
  'affect_on_change_rule' => 'line-height',
380
  'section' => 'styling',
381
  'tab' => __( 'Content', 'live-composer-page-builder' ),
382
- 'ext' => 'px'
383
  ),
384
  array(
385
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
@@ -447,7 +462,7 @@ class DSLC_Html extends DSLC_Module {
447
  'affect_on_change_rule' => 'font-size',
448
  'section' => 'styling',
449
  'tab' => __( 'H1', 'live-composer-page-builder' ),
450
- 'ext' => 'px'
451
  ),
452
  array(
453
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -544,7 +559,7 @@ class DSLC_Html extends DSLC_Module {
544
  'affect_on_change_rule' => 'line-height',
545
  'section' => 'styling',
546
  'tab' => __( 'H1', 'live-composer-page-builder' ),
547
- 'ext' => 'px'
548
  ),
549
  array(
550
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -559,7 +574,7 @@ class DSLC_Html extends DSLC_Module {
559
  'affect_on_change_rule' => 'margin-bottom',
560
  'section' => 'styling',
561
  'tab' => __( 'H1', 'live-composer-page-builder' ),
562
- 'ext' => 'px'
563
  ),
564
  array(
565
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -612,7 +627,7 @@ class DSLC_Html extends DSLC_Module {
612
  'affect_on_change_rule' => 'font-size',
613
  'section' => 'styling',
614
  'tab' => __( 'H2', 'live-composer-page-builder' ),
615
- 'ext' => 'px'
616
  ),
617
  array(
618
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -709,7 +724,7 @@ class DSLC_Html extends DSLC_Module {
709
  'affect_on_change_rule' => 'line-height',
710
  'section' => 'styling',
711
  'tab' => __( 'H2', 'live-composer-page-builder' ),
712
- 'ext' => 'px'
713
  ),
714
  array(
715
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -724,7 +739,7 @@ class DSLC_Html extends DSLC_Module {
724
  'affect_on_change_rule' => 'margin-bottom',
725
  'section' => 'styling',
726
  'tab' => __( 'H2', 'live-composer-page-builder' ),
727
- 'ext' => 'px'
728
  ),
729
  array(
730
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -777,7 +792,7 @@ class DSLC_Html extends DSLC_Module {
777
  'affect_on_change_rule' => 'font-size',
778
  'section' => 'styling',
779
  'tab' => __( 'H3', 'live-composer-page-builder' ),
780
- 'ext' => 'px'
781
  ),
782
  array(
783
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -874,7 +889,7 @@ class DSLC_Html extends DSLC_Module {
874
  'affect_on_change_rule' => 'line-height',
875
  'section' => 'styling',
876
  'tab' => __( 'H3', 'live-composer-page-builder' ),
877
- 'ext' => 'px'
878
  ),
879
  array(
880
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -889,7 +904,7 @@ class DSLC_Html extends DSLC_Module {
889
  'affect_on_change_rule' => 'margin-bottom',
890
  'section' => 'styling',
891
  'tab' => __( 'H3', 'live-composer-page-builder' ),
892
- 'ext' => 'px'
893
  ),
894
  array(
895
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -942,7 +957,7 @@ class DSLC_Html extends DSLC_Module {
942
  'affect_on_change_rule' => 'font-size',
943
  'section' => 'styling',
944
  'tab' => __( 'H4', 'live-composer-page-builder' ),
945
- 'ext' => 'px'
946
  ),
947
  array(
948
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1039,7 +1054,7 @@ class DSLC_Html extends DSLC_Module {
1039
  'affect_on_change_rule' => 'line-height',
1040
  'section' => 'styling',
1041
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1042
- 'ext' => 'px'
1043
  ),
1044
  array(
1045
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1054,7 +1069,7 @@ class DSLC_Html extends DSLC_Module {
1054
  'affect_on_change_rule' => 'margin-bottom',
1055
  'section' => 'styling',
1056
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1057
- 'ext' => 'px'
1058
  ),
1059
  array(
1060
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -1107,7 +1122,7 @@ class DSLC_Html extends DSLC_Module {
1107
  'affect_on_change_rule' => 'font-size',
1108
  'section' => 'styling',
1109
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1110
- 'ext' => 'px'
1111
  ),
1112
  array(
1113
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1204,7 +1219,7 @@ class DSLC_Html extends DSLC_Module {
1204
  'affect_on_change_rule' => 'line-height',
1205
  'section' => 'styling',
1206
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1207
- 'ext' => 'px'
1208
  ),
1209
  array(
1210
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1219,7 +1234,7 @@ class DSLC_Html extends DSLC_Module {
1219
  'affect_on_change_rule' => 'margin-bottom',
1220
  'section' => 'styling',
1221
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1222
- 'ext' => 'px'
1223
  ),
1224
  array(
1225
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -1272,7 +1287,7 @@ class DSLC_Html extends DSLC_Module {
1272
  'affect_on_change_rule' => 'font-size',
1273
  'section' => 'styling',
1274
  'tab' => __( 'H6', 'live-composer-page-builder' ),
1275
- 'ext' => 'px'
1276
  ),
1277
  array(
1278
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1369,7 +1384,7 @@ class DSLC_Html extends DSLC_Module {
1369
  'affect_on_change_rule' => 'line-height',
1370
  'section' => 'styling',
1371
  'tab' => __( 'H6', 'live-composer-page-builder' ),
1372
- 'ext' => 'px'
1373
  ),
1374
  array(
1375
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1384,7 +1399,7 @@ class DSLC_Html extends DSLC_Module {
1384
  'affect_on_change_rule' => 'margin-bottom',
1385
  'section' => 'styling',
1386
  'tab' => __( 'H6', 'live-composer-page-builder' ),
1387
- 'ext' => 'px'
1388
  ),
1389
  array(
1390
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -1508,7 +1523,7 @@ class DSLC_Html extends DSLC_Module {
1508
  'affect_on_change_rule' => 'font-size',
1509
  'section' => 'styling',
1510
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1511
- 'ext' => 'px'
1512
  ),
1513
  array(
1514
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1584,7 +1599,7 @@ class DSLC_Html extends DSLC_Module {
1584
  'affect_on_change_rule' => 'line-height',
1585
  'section' => 'styling',
1586
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1587
- 'ext' => 'px'
1588
  ),
1589
  array(
1590
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1599,7 +1614,7 @@ class DSLC_Html extends DSLC_Module {
1599
  'affect_on_change_rule' => 'margin-bottom',
1600
  'section' => 'styling',
1601
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1602
- 'ext' => 'px'
1603
  ),
1604
  array(
1605
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
@@ -1611,7 +1626,7 @@ class DSLC_Html extends DSLC_Module {
1611
  'affect_on_change_rule' => 'margin-left',
1612
  'section' => 'styling',
1613
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1614
- 'ext' => 'px'
1615
  ),
1616
  array(
1617
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
@@ -1804,7 +1819,7 @@ class DSLC_Html extends DSLC_Module {
1804
  'affect_on_change_rule' => 'margin-bottom',
1805
  'section' => 'styling',
1806
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1807
- 'ext' => 'px'
1808
  ),
1809
  array(
1810
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
@@ -1922,7 +1937,7 @@ class DSLC_Html extends DSLC_Module {
1922
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1923
  'section' => 'styling',
1924
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1925
- 'ext' => 'px'
1926
  ),
1927
  array(
1928
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -2064,7 +2079,7 @@ class DSLC_Html extends DSLC_Module {
2064
  'affect_on_change_rule' => 'font-size',
2065
  'section' => 'styling',
2066
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2067
- 'ext' => 'px'
2068
  ),
2069
  array(
2070
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2140,7 +2155,7 @@ class DSLC_Html extends DSLC_Module {
2140
  'affect_on_change_rule' => 'line-height',
2141
  'section' => 'styling',
2142
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2143
- 'ext' => 'px'
2144
  ),
2145
  array(
2146
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2456,7 +2471,7 @@ class DSLC_Html extends DSLC_Module {
2456
  'affect_on_change_rule' => 'font-size',
2457
  'section' => 'styling',
2458
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
2459
- 'ext' => 'px'
2460
  ),
2461
  array(
2462
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2532,7 +2547,7 @@ class DSLC_Html extends DSLC_Module {
2532
  'affect_on_change_rule' => 'line-height',
2533
  'section' => 'styling',
2534
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
2535
- 'ext' => 'px'
2536
  ),
2537
  array(
2538
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2760,7 +2775,7 @@ class DSLC_Html extends DSLC_Module {
2760
  'affect_on_change_rule' => 'font-size',
2761
  'section' => 'styling',
2762
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2763
- 'ext' => 'px'
2764
  ),
2765
  array(
2766
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2836,7 +2851,7 @@ class DSLC_Html extends DSLC_Module {
2836
  'affect_on_change_rule' => 'line-height',
2837
  'section' => 'styling',
2838
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2839
- 'ext' => 'px'
2840
  ),
2841
  array(
2842
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2982,7 +2997,7 @@ class DSLC_Html extends DSLC_Module {
2982
  'affect_on_change_rule' => 'font-size',
2983
  'section' => 'responsive',
2984
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2985
- 'ext' => 'px'
2986
  ),
2987
  array(
2988
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -2993,11 +3008,11 @@ class DSLC_Html extends DSLC_Module {
2993
  'std' => '22',
2994
  'type' => 'slider',
2995
  'refresh_on_change' => false,
2996
- 'affect_on_change_el' => '.dslc-html-module-content',
2997
  'affect_on_change_rule' => 'line-height',
2998
  'section' => 'responsive',
2999
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3000
- 'ext' => 'px'
3001
  ),
3002
 
3003
  array(
@@ -3013,7 +3028,7 @@ class DSLC_Html extends DSLC_Module {
3013
  'affect_on_change_rule' => 'font-size',
3014
  'section' => 'responsive',
3015
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3016
- 'ext' => 'px'
3017
  ),
3018
  array(
3019
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
@@ -3028,7 +3043,7 @@ class DSLC_Html extends DSLC_Module {
3028
  'affect_on_change_rule' => 'line-height',
3029
  'section' => 'responsive',
3030
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3031
- 'ext' => 'px'
3032
  ),
3033
  array(
3034
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3043,7 +3058,7 @@ class DSLC_Html extends DSLC_Module {
3043
  'affect_on_change_rule' => 'margin-bottom',
3044
  'section' => 'responsive',
3045
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3046
- 'ext' => 'px'
3047
  ),
3048
 
3049
  array(
@@ -3059,7 +3074,7 @@ class DSLC_Html extends DSLC_Module {
3059
  'affect_on_change_rule' => 'font-size',
3060
  'section' => 'responsive',
3061
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3062
- 'ext' => 'px'
3063
  ),
3064
  array(
3065
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
@@ -3074,7 +3089,7 @@ class DSLC_Html extends DSLC_Module {
3074
  'affect_on_change_rule' => 'line-height',
3075
  'section' => 'responsive',
3076
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3077
- 'ext' => 'px'
3078
  ),
3079
  array(
3080
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3089,7 +3104,7 @@ class DSLC_Html extends DSLC_Module {
3089
  'affect_on_change_rule' => 'margin-bottom',
3090
  'section' => 'responsive',
3091
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3092
- 'ext' => 'px'
3093
  ),
3094
  array(
3095
  'label' => __( 'H3 - Font Size', 'live-composer-page-builder' ),
@@ -3104,7 +3119,7 @@ class DSLC_Html extends DSLC_Module {
3104
  'affect_on_change_rule' => 'font-size',
3105
  'section' => 'responsive',
3106
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3107
- 'ext' => 'px'
3108
  ),
3109
  array(
3110
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
@@ -3119,7 +3134,7 @@ class DSLC_Html extends DSLC_Module {
3119
  'affect_on_change_rule' => 'line-height',
3120
  'section' => 'responsive',
3121
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3122
- 'ext' => 'px'
3123
  ),
3124
  array(
3125
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3134,7 +3149,7 @@ class DSLC_Html extends DSLC_Module {
3134
  'affect_on_change_rule' => 'margin-bottom',
3135
  'section' => 'responsive',
3136
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3137
- 'ext' => 'px'
3138
  ),
3139
  array(
3140
  'label' => __( 'H4 - Font Size', 'live-composer-page-builder' ),
@@ -3149,7 +3164,7 @@ class DSLC_Html extends DSLC_Module {
3149
  'affect_on_change_rule' => 'font-size',
3150
  'section' => 'responsive',
3151
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3152
- 'ext' => 'px'
3153
  ),
3154
  array(
3155
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
@@ -3164,7 +3179,7 @@ class DSLC_Html extends DSLC_Module {
3164
  'affect_on_change_rule' => 'line-height',
3165
  'section' => 'responsive',
3166
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3167
- 'ext' => 'px'
3168
  ),
3169
  array(
3170
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3179,7 +3194,7 @@ class DSLC_Html extends DSLC_Module {
3179
  'affect_on_change_rule' => 'margin-bottom',
3180
  'section' => 'responsive',
3181
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3182
- 'ext' => 'px'
3183
  ),
3184
  array(
3185
  'label' => __( 'H5 - Font Size', 'live-composer-page-builder' ),
@@ -3194,7 +3209,7 @@ class DSLC_Html extends DSLC_Module {
3194
  'affect_on_change_rule' => 'font-size',
3195
  'section' => 'responsive',
3196
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3197
- 'ext' => 'px'
3198
  ),
3199
  array(
3200
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
@@ -3209,7 +3224,7 @@ class DSLC_Html extends DSLC_Module {
3209
  'affect_on_change_rule' => 'line-height',
3210
  'section' => 'responsive',
3211
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3212
- 'ext' => 'px'
3213
  ),
3214
  array(
3215
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3224,7 +3239,7 @@ class DSLC_Html extends DSLC_Module {
3224
  'affect_on_change_rule' => 'margin-bottom',
3225
  'section' => 'responsive',
3226
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3227
- 'ext' => 'px'
3228
  ),
3229
  array(
3230
  'label' => __( 'H6 - Font Size', 'live-composer-page-builder' ),
@@ -3239,7 +3254,7 @@ class DSLC_Html extends DSLC_Module {
3239
  'affect_on_change_rule' => 'font-size',
3240
  'section' => 'responsive',
3241
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3242
- 'ext' => 'px'
3243
  ),
3244
  array(
3245
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
@@ -3254,7 +3269,7 @@ class DSLC_Html extends DSLC_Module {
3254
  'affect_on_change_rule' => 'line-height',
3255
  'section' => 'responsive',
3256
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3257
- 'ext' => 'px'
3258
  ),
3259
  array(
3260
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3269,7 +3284,7 @@ class DSLC_Html extends DSLC_Module {
3269
  'affect_on_change_rule' => 'margin-bottom',
3270
  'section' => 'responsive',
3271
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3272
- 'ext' => 'px'
3273
  ),
3274
 
3275
 
@@ -3354,7 +3369,7 @@ class DSLC_Html extends DSLC_Module {
3354
  'affect_on_change_rule' => 'font-size',
3355
  'section' => 'responsive',
3356
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3357
- 'ext' => 'px'
3358
  ),
3359
  array(
3360
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -3365,11 +3380,11 @@ class DSLC_Html extends DSLC_Module {
3365
  'std' => '22',
3366
  'type' => 'slider',
3367
  'refresh_on_change' => false,
3368
- 'affect_on_change_el' => '.dslc-html-module-content',
3369
  'affect_on_change_rule' => 'line-height',
3370
  'section' => 'responsive',
3371
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3372
- 'ext' => 'px'
3373
  ),
3374
  array(
3375
  'label' => __( 'H1 - Font Size', 'live-composer-page-builder' ),
@@ -3384,7 +3399,7 @@ class DSLC_Html extends DSLC_Module {
3384
  'affect_on_change_rule' => 'font-size',
3385
  'section' => 'responsive',
3386
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3387
- 'ext' => 'px'
3388
  ),
3389
  array(
3390
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
@@ -3399,7 +3414,7 @@ class DSLC_Html extends DSLC_Module {
3399
  'affect_on_change_rule' => 'line-height',
3400
  'section' => 'responsive',
3401
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3402
- 'ext' => 'px'
3403
  ),
3404
  array(
3405
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3414,7 +3429,7 @@ class DSLC_Html extends DSLC_Module {
3414
  'affect_on_change_rule' => 'margin-bottom',
3415
  'section' => 'responsive',
3416
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3417
- 'ext' => 'px'
3418
  ),
3419
 
3420
  array(
@@ -3430,7 +3445,7 @@ class DSLC_Html extends DSLC_Module {
3430
  'affect_on_change_rule' => 'font-size',
3431
  'section' => 'responsive',
3432
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3433
- 'ext' => 'px'
3434
  ),
3435
  array(
3436
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
@@ -3445,7 +3460,7 @@ class DSLC_Html extends DSLC_Module {
3445
  'affect_on_change_rule' => 'line-height',
3446
  'section' => 'responsive',
3447
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3448
- 'ext' => 'px'
3449
  ),
3450
  array(
3451
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3460,7 +3475,7 @@ class DSLC_Html extends DSLC_Module {
3460
  'affect_on_change_rule' => 'margin-bottom',
3461
  'section' => 'responsive',
3462
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3463
- 'ext' => 'px'
3464
  ),
3465
  array(
3466
  'label' => __( 'H3 - Font Size', 'live-composer-page-builder' ),
@@ -3475,7 +3490,7 @@ class DSLC_Html extends DSLC_Module {
3475
  'affect_on_change_rule' => 'font-size',
3476
  'section' => 'responsive',
3477
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3478
- 'ext' => 'px'
3479
  ),
3480
  array(
3481
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
@@ -3490,7 +3505,7 @@ class DSLC_Html extends DSLC_Module {
3490
  'affect_on_change_rule' => 'line-height',
3491
  'section' => 'responsive',
3492
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3493
- 'ext' => 'px'
3494
  ),
3495
  array(
3496
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3505,7 +3520,7 @@ class DSLC_Html extends DSLC_Module {
3505
  'affect_on_change_rule' => 'margin-bottom',
3506
  'section' => 'responsive',
3507
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3508
- 'ext' => 'px'
3509
  ),
3510
  array(
3511
  'label' => __( 'H4 - Font Size', 'live-composer-page-builder' ),
@@ -3520,7 +3535,7 @@ class DSLC_Html extends DSLC_Module {
3520
  'affect_on_change_rule' => 'font-size',
3521
  'section' => 'responsive',
3522
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3523
- 'ext' => 'px'
3524
  ),
3525
  array(
3526
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
@@ -3535,7 +3550,7 @@ class DSLC_Html extends DSLC_Module {
3535
  'affect_on_change_rule' => 'line-height',
3536
  'section' => 'responsive',
3537
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3538
- 'ext' => 'px'
3539
  ),
3540
  array(
3541
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3550,7 +3565,7 @@ class DSLC_Html extends DSLC_Module {
3550
  'affect_on_change_rule' => 'margin-bottom',
3551
  'section' => 'responsive',
3552
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3553
- 'ext' => 'px'
3554
  ),
3555
  array(
3556
  'label' => __( 'H5 - Font Size', 'live-composer-page-builder' ),
@@ -3565,7 +3580,7 @@ class DSLC_Html extends DSLC_Module {
3565
  'affect_on_change_rule' => 'font-size',
3566
  'section' => 'responsive',
3567
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3568
- 'ext' => 'px'
3569
  ),
3570
  array(
3571
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
@@ -3580,7 +3595,7 @@ class DSLC_Html extends DSLC_Module {
3580
  'affect_on_change_rule' => 'line-height',
3581
  'section' => 'responsive',
3582
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3583
- 'ext' => 'px'
3584
  ),
3585
  array(
3586
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3595,7 +3610,7 @@ class DSLC_Html extends DSLC_Module {
3595
  'affect_on_change_rule' => 'margin-bottom',
3596
  'section' => 'responsive',
3597
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3598
- 'ext' => 'px'
3599
  ),
3600
  array(
3601
  'label' => __( 'H6 - Font Size', 'live-composer-page-builder' ),
@@ -3610,7 +3625,7 @@ class DSLC_Html extends DSLC_Module {
3610
  'affect_on_change_rule' => 'font-size',
3611
  'section' => 'responsive',
3612
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3613
- 'ext' => 'px'
3614
  ),
3615
  array(
3616
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
@@ -3625,7 +3640,7 @@ class DSLC_Html extends DSLC_Module {
3625
  'affect_on_change_rule' => 'line-height',
3626
  'section' => 'responsive',
3627
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3628
- 'ext' => 'px'
3629
  ),
3630
  array(
3631
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3640,7 +3655,7 @@ class DSLC_Html extends DSLC_Module {
3640
  'affect_on_change_rule' => 'margin-bottom',
3641
  'section' => 'responsive',
3642
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3643
- 'ext' => 'px'
3644
  ),
3645
 
3646
  );
@@ -3651,7 +3666,12 @@ class DSLC_Html extends DSLC_Module {
3651
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
3652
 
3653
  }
3654
-
 
 
 
 
 
3655
  function output( $options ) {
3656
 
3657
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
297
  'affect_on_change_rule' => 'font-size',
298
  'section' => 'styling',
299
  'tab' => __( 'Content', 'live-composer-page-builder' ),
300
+ 'ext' => 'px',
301
  ),
302
  array(
303
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
394
  'affect_on_change_rule' => 'line-height',
395
  'section' => 'styling',
396
  'tab' => __( 'Content', 'live-composer-page-builder' ),
397
+ 'ext' => 'px',
398
  ),
399
  array(
400
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
462
  'affect_on_change_rule' => 'font-size',
463
  'section' => 'styling',
464
  'tab' => __( 'H1', 'live-composer-page-builder' ),
465
+ 'ext' => 'px',
466
  ),
467
  array(
468
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
559
  'affect_on_change_rule' => 'line-height',
560
  'section' => 'styling',
561
  'tab' => __( 'H1', 'live-composer-page-builder' ),
562
+ 'ext' => 'px',
563
  ),
564
  array(
565
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
574
  'affect_on_change_rule' => 'margin-bottom',
575
  'section' => 'styling',
576
  'tab' => __( 'H1', 'live-composer-page-builder' ),
577
+ 'ext' => 'px',
578
  ),
579
  array(
580
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
627
  'affect_on_change_rule' => 'font-size',
628
  'section' => 'styling',
629
  'tab' => __( 'H2', 'live-composer-page-builder' ),
630
+ 'ext' => 'px',
631
  ),
632
  array(
633
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
724
  'affect_on_change_rule' => 'line-height',
725
  'section' => 'styling',
726
  'tab' => __( 'H2', 'live-composer-page-builder' ),
727
+ 'ext' => 'px',
728
  ),
729
  array(
730
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
739
  'affect_on_change_rule' => 'margin-bottom',
740
  'section' => 'styling',
741
  'tab' => __( 'H2', 'live-composer-page-builder' ),
742
+ 'ext' => 'px',
743
  ),
744
  array(
745
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
792
  'affect_on_change_rule' => 'font-size',
793
  'section' => 'styling',
794
  'tab' => __( 'H3', 'live-composer-page-builder' ),
795
+ 'ext' => 'px',
796
  ),
797
  array(
798
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
889
  'affect_on_change_rule' => 'line-height',
890
  'section' => 'styling',
891
  'tab' => __( 'H3', 'live-composer-page-builder' ),
892
+ 'ext' => 'px',
893
  ),
894
  array(
895
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
904
  'affect_on_change_rule' => 'margin-bottom',
905
  'section' => 'styling',
906
  'tab' => __( 'H3', 'live-composer-page-builder' ),
907
+ 'ext' => 'px',
908
  ),
909
  array(
910
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
957
  'affect_on_change_rule' => 'font-size',
958
  'section' => 'styling',
959
  'tab' => __( 'H4', 'live-composer-page-builder' ),
960
+ 'ext' => 'px',
961
  ),
962
  array(
963
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1054
  'affect_on_change_rule' => 'line-height',
1055
  'section' => 'styling',
1056
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1057
+ 'ext' => 'px',
1058
  ),
1059
  array(
1060
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1069
  'affect_on_change_rule' => 'margin-bottom',
1070
  'section' => 'styling',
1071
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1072
+ 'ext' => 'px',
1073
  ),
1074
  array(
1075
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
1122
  'affect_on_change_rule' => 'font-size',
1123
  'section' => 'styling',
1124
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1125
+ 'ext' => 'px',
1126
  ),
1127
  array(
1128
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1219
  'affect_on_change_rule' => 'line-height',
1220
  'section' => 'styling',
1221
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1222
+ 'ext' => 'px',
1223
  ),
1224
  array(
1225
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1234
  'affect_on_change_rule' => 'margin-bottom',
1235
  'section' => 'styling',
1236
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1237
+ 'ext' => 'px',
1238
  ),
1239
  array(
1240
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
1287
  'affect_on_change_rule' => 'font-size',
1288
  'section' => 'styling',
1289
  'tab' => __( 'H6', 'live-composer-page-builder' ),
1290
+ 'ext' => 'px',
1291
  ),
1292
  array(
1293
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1384
  'affect_on_change_rule' => 'line-height',
1385
  'section' => 'styling',
1386
  'tab' => __( 'H6', 'live-composer-page-builder' ),
1387
+ 'ext' => 'px',
1388
  ),
1389
  array(
1390
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1399
  'affect_on_change_rule' => 'margin-bottom',
1400
  'section' => 'styling',
1401
  'tab' => __( 'H6', 'live-composer-page-builder' ),
1402
+ 'ext' => 'px',
1403
  ),
1404
  array(
1405
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
1523
  'affect_on_change_rule' => 'font-size',
1524
  'section' => 'styling',
1525
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1526
+ 'ext' => 'px',
1527
  ),
1528
  array(
1529
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1599
  'affect_on_change_rule' => 'line-height',
1600
  'section' => 'styling',
1601
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1602
+ 'ext' => 'px',
1603
  ),
1604
  array(
1605
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1614
  'affect_on_change_rule' => 'margin-bottom',
1615
  'section' => 'styling',
1616
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1617
+ 'ext' => 'px',
1618
  ),
1619
  array(
1620
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
1626
  'affect_on_change_rule' => 'margin-left',
1627
  'section' => 'styling',
1628
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1629
+ 'ext' => 'px',
1630
  ),
1631
  array(
1632
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
1819
  'affect_on_change_rule' => 'margin-bottom',
1820
  'section' => 'styling',
1821
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1822
+ 'ext' => 'px',
1823
  ),
1824
  array(
1825
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
1937
  'affect_on_change_rule' => 'padding-top,padding-bottom',
1938
  'section' => 'styling',
1939
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
1940
+ 'ext' => 'px',
1941
  ),
1942
  array(
1943
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
2079
  'affect_on_change_rule' => 'font-size',
2080
  'section' => 'styling',
2081
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2082
+ 'ext' => 'px',
2083
  ),
2084
  array(
2085
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2155
  'affect_on_change_rule' => 'line-height',
2156
  'section' => 'styling',
2157
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2158
+ 'ext' => 'px',
2159
  ),
2160
  array(
2161
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2471
  'affect_on_change_rule' => 'font-size',
2472
  'section' => 'styling',
2473
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
2474
+ 'ext' => 'px',
2475
  ),
2476
  array(
2477
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2547
  'affect_on_change_rule' => 'line-height',
2548
  'section' => 'styling',
2549
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
2550
+ 'ext' => 'px',
2551
  ),
2552
  array(
2553
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2775
  'affect_on_change_rule' => 'font-size',
2776
  'section' => 'styling',
2777
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2778
+ 'ext' => 'px',
2779
  ),
2780
  array(
2781
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2851
  'affect_on_change_rule' => 'line-height',
2852
  'section' => 'styling',
2853
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
2854
+ 'ext' => 'px',
2855
  ),
2856
  array(
2857
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2997
  'affect_on_change_rule' => 'font-size',
2998
  'section' => 'responsive',
2999
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3000
+ 'ext' => 'px',
3001
  ),
3002
  array(
3003
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
3008
  'std' => '22',
3009
  'type' => 'slider',
3010
  'refresh_on_change' => false,
3011
+ 'affect_on_change_el' => '.dslc-html-module-content,.dslc-html-module-content p',
3012
  'affect_on_change_rule' => 'line-height',
3013
  'section' => 'responsive',
3014
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3015
+ 'ext' => 'px',
3016
  ),
3017
 
3018
  array(
3028
  'affect_on_change_rule' => 'font-size',
3029
  'section' => 'responsive',
3030
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3031
+ 'ext' => 'px',
3032
  ),
3033
  array(
3034
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
3043
  'affect_on_change_rule' => 'line-height',
3044
  'section' => 'responsive',
3045
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3046
+ 'ext' => 'px',
3047
  ),
3048
  array(
3049
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
3058
  'affect_on_change_rule' => 'margin-bottom',
3059
  'section' => 'responsive',
3060
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3061
+ 'ext' => 'px',
3062
  ),
3063
 
3064
  array(
3074
  'affect_on_change_rule' => 'font-size',
3075
  'section' => 'responsive',
3076
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3077
+ 'ext' => 'px',
3078
  ),
3079
  array(
3080
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
3089
  'affect_on_change_rule' => 'line-height',
3090
  'section' => 'responsive',
3091
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3092
+ 'ext' => 'px',
3093
  ),
3094
  array(
3095
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
3104
  'affect_on_change_rule' => 'margin-bottom',
3105
  'section' => 'responsive',
3106
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3107
+ 'ext' => 'px',
3108
  ),
3109
  array(
3110
  'label' => __( 'H3 - Font Size', 'live-composer-page-builder' ),
3119
  'affect_on_change_rule' => 'font-size',
3120
  'section' => 'responsive',
3121
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3122
+ 'ext' => 'px',
3123
  ),
3124
  array(
3125
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
3134
  'affect_on_change_rule' => 'line-height',
3135
  'section' => 'responsive',
3136
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3137
+ 'ext' => 'px',
3138
  ),
3139
  array(
3140
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
3149
  'affect_on_change_rule' => 'margin-bottom',
3150
  'section' => 'responsive',
3151
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3152
+ 'ext' => 'px',
3153
  ),
3154
  array(
3155
  'label' => __( 'H4 - Font Size', 'live-composer-page-builder' ),
3164
  'affect_on_change_rule' => 'font-size',
3165
  'section' => 'responsive',
3166
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3167
+ 'ext' => 'px',
3168
  ),
3169
  array(
3170
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
3179
  'affect_on_change_rule' => 'line-height',
3180
  'section' => 'responsive',
3181
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3182
+ 'ext' => 'px',
3183
  ),
3184
  array(
3185
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
3194
  'affect_on_change_rule' => 'margin-bottom',
3195
  'section' => 'responsive',
3196
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3197
+ 'ext' => 'px',
3198
  ),
3199
  array(
3200
  'label' => __( 'H5 - Font Size', 'live-composer-page-builder' ),
3209
  'affect_on_change_rule' => 'font-size',
3210
  'section' => 'responsive',
3211
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3212
+ 'ext' => 'px',
3213
  ),
3214
  array(
3215
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
3224
  'affect_on_change_rule' => 'line-height',
3225
  'section' => 'responsive',
3226
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3227
+ 'ext' => 'px',
3228
  ),
3229
  array(
3230
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
3239
  'affect_on_change_rule' => 'margin-bottom',
3240
  'section' => 'responsive',
3241
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3242
+ 'ext' => 'px',
3243
  ),
3244
  array(
3245
  'label' => __( 'H6 - Font Size', 'live-composer-page-builder' ),
3254
  'affect_on_change_rule' => 'font-size',
3255
  'section' => 'responsive',
3256
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3257
+ 'ext' => 'px',
3258
  ),
3259
  array(
3260
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
3269
  'affect_on_change_rule' => 'line-height',
3270
  'section' => 'responsive',
3271
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3272
+ 'ext' => 'px',
3273
  ),
3274
  array(
3275
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
3284
  'affect_on_change_rule' => 'margin-bottom',
3285
  'section' => 'responsive',
3286
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3287
+ 'ext' => 'px',
3288
  ),
3289
 
3290
 
3369
  'affect_on_change_rule' => 'font-size',
3370
  'section' => 'responsive',
3371
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3372
+ 'ext' => 'px',
3373
  ),
3374
  array(
3375
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
3380
  'std' => '22',
3381
  'type' => 'slider',
3382
  'refresh_on_change' => false,
3383
+ 'affect_on_change_el' => '.dslc-html-module-content,.dslc-html-module-content p',
3384
  'affect_on_change_rule' => 'line-height',
3385
  'section' => 'responsive',
3386
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3387
+ 'ext' => 'px',
3388
  ),
3389
  array(
3390
  'label' => __( 'H1 - Font Size', 'live-composer-page-builder' ),
3399
  'affect_on_change_rule' => 'font-size',
3400
  'section' => 'responsive',
3401
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3402
+ 'ext' => 'px',
3403
  ),
3404
  array(
3405
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
3414
  'affect_on_change_rule' => 'line-height',
3415
  'section' => 'responsive',
3416
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3417
+ 'ext' => 'px',
3418
  ),
3419
  array(
3420
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
3429
  'affect_on_change_rule' => 'margin-bottom',
3430
  'section' => 'responsive',
3431
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3432
+ 'ext' => 'px',
3433
  ),
3434
 
3435
  array(
3445
  'affect_on_change_rule' => 'font-size',
3446
  'section' => 'responsive',
3447
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3448
+ 'ext' => 'px',
3449
  ),
3450
  array(
3451
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
3460
  'affect_on_change_rule' => 'line-height',
3461
  'section' => 'responsive',
3462
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3463
+ 'ext' => 'px',
3464
  ),
3465
  array(
3466
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
3475
  'affect_on_change_rule' => 'margin-bottom',
3476
  'section' => 'responsive',
3477
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3478
+ 'ext' => 'px',
3479
  ),
3480
  array(
3481
  'label' => __( 'H3 - Font Size', 'live-composer-page-builder' ),
3490
  'affect_on_change_rule' => 'font-size',
3491
  'section' => 'responsive',
3492
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3493
+ 'ext' => 'px',
3494
  ),
3495
  array(
3496
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
3505
  'affect_on_change_rule' => 'line-height',
3506
  'section' => 'responsive',
3507
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3508
+ 'ext' => 'px',
3509
  ),
3510
  array(
3511
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
3520
  'affect_on_change_rule' => 'margin-bottom',
3521
  'section' => 'responsive',
3522
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3523
+ 'ext' => 'px',
3524
  ),
3525
  array(
3526
  'label' => __( 'H4 - Font Size', 'live-composer-page-builder' ),
3535
  'affect_on_change_rule' => 'font-size',
3536
  'section' => 'responsive',
3537
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3538
+ 'ext' => 'px',
3539
  ),
3540
  array(
3541
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
3550
  'affect_on_change_rule' => 'line-height',
3551
  'section' => 'responsive',
3552
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3553
+ 'ext' => 'px',
3554
  ),
3555
  array(
3556
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
3565
  'affect_on_change_rule' => 'margin-bottom',
3566
  'section' => 'responsive',
3567
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3568
+ 'ext' => 'px',
3569
  ),
3570
  array(
3571
  'label' => __( 'H5 - Font Size', 'live-composer-page-builder' ),
3580
  'affect_on_change_rule' => 'font-size',
3581
  'section' => 'responsive',
3582
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3583
+ 'ext' => 'px',
3584
  ),
3585
  array(
3586
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
3595
  'affect_on_change_rule' => 'line-height',
3596
  'section' => 'responsive',
3597
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3598
+ 'ext' => 'px',
3599
  ),
3600
  array(
3601
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
3610
  'affect_on_change_rule' => 'margin-bottom',
3611
  'section' => 'responsive',
3612
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3613
+ 'ext' => 'px',
3614
  ),
3615
  array(
3616
  'label' => __( 'H6 - Font Size', 'live-composer-page-builder' ),
3625
  'affect_on_change_rule' => 'font-size',
3626
  'section' => 'responsive',
3627
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3628
+ 'ext' => 'px',
3629
  ),
3630
  array(
3631
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
3640
  'affect_on_change_rule' => 'line-height',
3641
  'section' => 'responsive',
3642
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3643
+ 'ext' => 'px',
3644
  ),
3645
  array(
3646
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
3655
  'affect_on_change_rule' => 'margin-bottom',
3656
  'section' => 'responsive',
3657
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3658
+ 'ext' => 'px',
3659
  ),
3660
 
3661
  );
3666
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
3667
 
3668
  }
3669
+ /**
3670
+ * Module HTML output.
3671
+ *
3672
+ * @param array $options Module options to fill the module template.
3673
+ * @return void
3674
+ */
3675
  function output( $options ) {
3676
 
3677
  global $dslc_active;
modules/icon/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Icon extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -111,9 +126,8 @@ class DSLC_Icon extends DSLC_Module {
111
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
112
  'id' => 'css_border_width',
113
  'min' => 0,
114
- 'max' => 10,
115
  'increment' => 1,
116
-
117
  'std' => '0',
118
  'type' => 'slider',
119
  'refresh_on_change' => false,
@@ -311,7 +325,7 @@ class DSLC_Icon extends DSLC_Module {
311
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
312
  'max' => 500,
313
  'increment' => 1,
314
- 'ext' => 'px'
315
  ),
316
  array(
317
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -326,7 +340,7 @@ class DSLC_Icon extends DSLC_Module {
326
  'affect_on_change_rule' => 'padding-left,padding-right',
327
  'section' => 'responsive',
328
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
329
- 'ext' => 'px'
330
  ),
331
  array(
332
  'label' => __( 'Size', 'live-composer-page-builder' ),
@@ -378,7 +392,7 @@ class DSLC_Icon extends DSLC_Module {
378
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
379
  'max' => 500,
380
  'increment' => 1,
381
- 'ext' => 'px'
382
  ),
383
  array(
384
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -393,7 +407,7 @@ class DSLC_Icon extends DSLC_Module {
393
  'affect_on_change_rule' => 'padding-left,padding-right',
394
  'section' => 'responsive',
395
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
396
- 'ext' => 'px'
397
  ),
398
  array(
399
  'label' => __( 'Size', 'live-composer-page-builder' ),
@@ -416,7 +430,12 @@ class DSLC_Icon extends DSLC_Module {
416
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
417
 
418
  }
419
-
 
 
 
 
 
420
  function output( $options ) {
421
 
422
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
126
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
127
  'id' => 'css_border_width',
128
  'min' => 0,
129
+ 'max' => 1000,
130
  'increment' => 1,
 
131
  'std' => '0',
132
  'type' => 'slider',
133
  'refresh_on_change' => false,
325
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
326
  'max' => 500,
327
  'increment' => 1,
328
+ 'ext' => 'px',
329
  ),
330
  array(
331
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
340
  'affect_on_change_rule' => 'padding-left,padding-right',
341
  'section' => 'responsive',
342
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
343
+ 'ext' => 'px',
344
  ),
345
  array(
346
  'label' => __( 'Size', 'live-composer-page-builder' ),
392
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
393
  'max' => 500,
394
  'increment' => 1,
395
+ 'ext' => 'px',
396
  ),
397
  array(
398
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
407
  'affect_on_change_rule' => 'padding-left,padding-right',
408
  'section' => 'responsive',
409
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
410
+ 'ext' => 'px',
411
  ),
412
  array(
413
  'label' => __( 'Size', 'live-composer-page-builder' ),
430
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
431
 
432
  }
433
+ /**
434
+ * Module HTML output.
435
+ *
436
+ * @param array $options Module options to fill the module template.
437
+ * @return void
438
+ */
439
  function output( $options ) {
440
 
441
  global $dslc_active;
modules/image/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Image extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -321,7 +336,7 @@ class DSLC_Image extends DSLC_Module {
321
  'affect_on_change_el' => '.dslc-image',
322
  'affect_on_change_rule' => 'padding-top,padding-bottom',
323
  'section' => 'styling',
324
- 'ext' => 'px'
325
  ),
326
  array(
327
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -335,7 +350,7 @@ class DSLC_Image extends DSLC_Module {
335
  'affect_on_change_el' => '.dslc-image',
336
  'affect_on_change_rule' => 'padding-left,padding-right',
337
  'section' => 'styling',
338
- 'ext' => 'px'
339
  ),
340
  array(
341
  'label' => __( 'Force 100% Width', 'live-composer-page-builder' ),
@@ -484,7 +499,7 @@ class DSLC_Image extends DSLC_Module {
484
  'affect_on_change_rule' => 'line-height',
485
  'section' => 'styling',
486
  'tab' => __( 'Custom text', 'live-composer-page-builder' ),
487
- 'ext' => 'px'
488
  ),
489
  array(
490
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
@@ -581,7 +596,7 @@ class DSLC_Image extends DSLC_Module {
581
  'affect_on_change_rule' => 'padding-top,padding-bottom',
582
  'section' => 'responsive',
583
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
584
- 'ext' => 'px'
585
  ),
586
  array(
587
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -596,7 +611,7 @@ class DSLC_Image extends DSLC_Module {
596
  'affect_on_change_rule' => 'padding-left,padding-right',
597
  'section' => 'responsive',
598
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
599
- 'ext' => 'px'
600
  ),
601
  array(
602
  'label' => __( 'Text - Font Size', 'live-composer-page-builder' ),
@@ -611,7 +626,7 @@ class DSLC_Image extends DSLC_Module {
611
  'affect_on_change_rule' => 'font-size',
612
  'section' => 'responsive',
613
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
614
- 'ext' => 'px'
615
  ),
616
  array(
617
  'label' => __( 'Text - Line Height', 'live-composer-page-builder' ),
@@ -626,7 +641,7 @@ class DSLC_Image extends DSLC_Module {
626
  'affect_on_change_rule' => 'line-height',
627
  'section' => 'responsive',
628
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
629
- 'ext' => 'px'
630
  ),
631
  array(
632
  'label' => __( 'Text - Margin Top', 'live-composer-page-builder' ),
@@ -723,7 +738,7 @@ class DSLC_Image extends DSLC_Module {
723
  'affect_on_change_rule' => 'padding-top,padding-bottom',
724
  'section' => 'responsive',
725
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
726
- 'ext' => 'px'
727
  ),
728
  array(
729
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -738,7 +753,7 @@ class DSLC_Image extends DSLC_Module {
738
  'affect_on_change_rule' => 'padding-left,padding-right',
739
  'section' => 'responsive',
740
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
741
- 'ext' => 'px'
742
  ),
743
  array(
744
  'label' => __( 'Text - Font Size', 'live-composer-page-builder' ),
@@ -753,7 +768,7 @@ class DSLC_Image extends DSLC_Module {
753
  'affect_on_change_rule' => 'font-size',
754
  'section' => 'responsive',
755
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
756
- 'ext' => 'px'
757
  ),
758
  array(
759
  'label' => __( 'Text - Line Height', 'live-composer-page-builder' ),
@@ -768,7 +783,7 @@ class DSLC_Image extends DSLC_Module {
768
  'affect_on_change_rule' => 'line-height',
769
  'section' => 'responsive',
770
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
771
- 'ext' => 'px'
772
  ),
773
  array(
774
  'label' => __( 'Text - Margin Top', 'live-composer-page-builder' ),
@@ -795,7 +810,12 @@ class DSLC_Image extends DSLC_Module {
795
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
796
 
797
  }
798
-
 
 
 
 
 
799
  function output( $options ) {
800
 
801
  $this->module_start( $options );
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
336
  'affect_on_change_el' => '.dslc-image',
337
  'affect_on_change_rule' => 'padding-top,padding-bottom',
338
  'section' => 'styling',
339
+ 'ext' => 'px',
340
  ),
341
  array(
342
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
350
  'affect_on_change_el' => '.dslc-image',
351
  'affect_on_change_rule' => 'padding-left,padding-right',
352
  'section' => 'styling',
353
+ 'ext' => 'px',
354
  ),
355
  array(
356
  'label' => __( 'Force 100% Width', 'live-composer-page-builder' ),
499
  'affect_on_change_rule' => 'line-height',
500
  'section' => 'styling',
501
  'tab' => __( 'Custom text', 'live-composer-page-builder' ),
502
+ 'ext' => 'px',
503
  ),
504
  array(
505
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
596
  'affect_on_change_rule' => 'padding-top,padding-bottom',
597
  'section' => 'responsive',
598
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
599
+ 'ext' => 'px',
600
  ),
601
  array(
602
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
611
  'affect_on_change_rule' => 'padding-left,padding-right',
612
  'section' => 'responsive',
613
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
614
+ 'ext' => 'px',
615
  ),
616
  array(
617
  'label' => __( 'Text - Font Size', 'live-composer-page-builder' ),
626
  'affect_on_change_rule' => 'font-size',
627
  'section' => 'responsive',
628
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
629
+ 'ext' => 'px',
630
  ),
631
  array(
632
  'label' => __( 'Text - Line Height', 'live-composer-page-builder' ),
641
  'affect_on_change_rule' => 'line-height',
642
  'section' => 'responsive',
643
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
644
+ 'ext' => 'px',
645
  ),
646
  array(
647
  'label' => __( 'Text - Margin Top', 'live-composer-page-builder' ),
738
  'affect_on_change_rule' => 'padding-top,padding-bottom',
739
  'section' => 'responsive',
740
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
741
+ 'ext' => 'px',
742
  ),
743
  array(
744
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
753
  'affect_on_change_rule' => 'padding-left,padding-right',
754
  'section' => 'responsive',
755
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
756
+ 'ext' => 'px',
757
  ),
758
  array(
759
  'label' => __( 'Text - Font Size', 'live-composer-page-builder' ),
768
  'affect_on_change_rule' => 'font-size',
769
  'section' => 'responsive',
770
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
771
+ 'ext' => 'px',
772
  ),
773
  array(
774
  'label' => __( 'Text - Line Height', 'live-composer-page-builder' ),
783
  'affect_on_change_rule' => 'line-height',
784
  'section' => 'responsive',
785
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
786
+ 'ext' => 'px',
787
  ),
788
  array(
789
  'label' => __( 'Text - Margin Top', 'live-composer-page-builder' ),
810
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
811
 
812
  }
813
+ /**
814
+ * Module HTML output.
815
+ *
816
+ * @param array $options Module options to fill the module template.
817
+ * @return void
818
+ */
819
  function output( $options ) {
820
 
821
  $this->module_start( $options );
modules/infobox/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Info_Box extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -34,15 +49,15 @@ class DSLC_Info_Box extends DSLC_Module {
34
  'choices' => array(
35
  array(
36
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
37
- 'value' => 'desktop'
38
  ),
39
  array(
40
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
41
- 'value' => 'tablet'
42
  ),
43
  array(
44
  'label' => __( 'Phone', 'live-composer-page-builder' ),
45
- 'value' => 'phone'
46
  ),
47
  ),
48
  ),
@@ -321,9 +336,8 @@ class DSLC_Info_Box extends DSLC_Module {
321
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
322
  'id' => 'css_border_width',
323
  'min' => 0,
324
- 'max' => 10,
325
  'increment' => 1,
326
-
327
  'std' => '0',
328
  'type' => 'slider',
329
  'min' => 0,
@@ -342,19 +356,19 @@ class DSLC_Info_Box extends DSLC_Module {
342
  'choices' => array(
343
  array(
344
  'label' => __( 'Top', 'live-composer-page-builder' ),
345
- 'value' => 'top'
346
  ),
347
  array(
348
  'label' => __( 'Right', 'live-composer-page-builder' ),
349
- 'value' => 'right'
350
  ),
351
  array(
352
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
353
- 'value' => 'bottom'
354
  ),
355
  array(
356
  'label' => __( 'Left', 'live-composer-page-builder' ),
357
- 'value' => 'left'
358
  ),
359
  ),
360
  'refresh_on_change' => false,
@@ -377,7 +391,7 @@ class DSLC_Info_Box extends DSLC_Module {
377
  'max' => 100,
378
  'increment' => 1,
379
  'section' => 'styling',
380
- 'ext' => 'px'
381
  ),
382
  array(
383
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -421,7 +435,7 @@ class DSLC_Info_Box extends DSLC_Module {
421
  'section' => 'styling',
422
  'max' => 500,
423
  'increment' => 1,
424
- 'ext' => 'px'
425
  ),
426
  array(
427
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -435,7 +449,7 @@ class DSLC_Info_Box extends DSLC_Module {
435
  'affect_on_change_el' => '.dslc-info-box',
436
  'affect_on_change_rule' => 'padding-left,padding-right',
437
  'section' => 'styling',
438
- 'ext' => 'px'
439
  ),
440
  array(
441
  'label' => __( 'Width', 'live-composer-page-builder' ),
@@ -446,7 +460,7 @@ class DSLC_Info_Box extends DSLC_Module {
446
  'affect_on_change_el' => '.dslc-info-box-main-wrap',
447
  'affect_on_change_rule' => 'max-width',
448
  'section' => 'styling',
449
- 'ext' => '%'
450
  ),
451
  array(
452
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
@@ -610,9 +624,8 @@ class DSLC_Info_Box extends DSLC_Module {
610
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
611
  'id' => 'css_wrapper_border_width',
612
  'min' => 0,
613
- 'max' => 10,
614
  'increment' => 1,
615
-
616
  'std' => '0',
617
  'type' => 'slider',
618
  'refresh_on_change' => false,
@@ -630,19 +643,19 @@ class DSLC_Info_Box extends DSLC_Module {
630
  'choices' => array(
631
  array(
632
  'label' => __( 'Top', 'live-composer-page-builder' ),
633
- 'value' => 'top'
634
  ),
635
  array(
636
  'label' => __( 'Right', 'live-composer-page-builder' ),
637
- 'value' => 'right'
638
  ),
639
  array(
640
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
641
- 'value' => 'bottom'
642
  ),
643
  array(
644
  'label' => __( 'Left', 'live-composer-page-builder' ),
645
- 'value' => 'left'
646
  ),
647
  ),
648
  'refresh_on_change' => false,
@@ -743,9 +756,8 @@ class DSLC_Info_Box extends DSLC_Module {
743
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
744
  'id' => 'css_icon_border_width',
745
  'min' => 0,
746
- 'max' => 10,
747
  'increment' => 1,
748
-
749
  'std' => '0',
750
  'type' => 'slider',
751
  'refresh_on_change' => false,
@@ -763,19 +775,19 @@ class DSLC_Info_Box extends DSLC_Module {
763
  'choices' => array(
764
  array(
765
  'label' => __( 'Top', 'live-composer-page-builder' ),
766
- 'value' => 'top'
767
  ),
768
  array(
769
  'label' => __( 'Right', 'live-composer-page-builder' ),
770
- 'value' => 'right'
771
  ),
772
  array(
773
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
774
- 'value' => 'bottom'
775
  ),
776
  array(
777
  'label' => __( 'Left', 'live-composer-page-builder' ),
778
- 'value' => 'left'
779
  ),
780
  ),
781
  'refresh_on_change' => false,
@@ -820,7 +832,7 @@ class DSLC_Info_Box extends DSLC_Module {
820
  'type' => 'icon',
821
  'section' => 'styling',
822
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
823
- 'include_in_preset' => false
824
  ),
825
  array(
826
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
@@ -837,7 +849,7 @@ class DSLC_Info_Box extends DSLC_Module {
837
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
838
  'ext' => 'px',
839
  'min' => -100,
840
- 'max' => 50
841
  ),
842
  array(
843
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
@@ -851,7 +863,7 @@ class DSLC_Info_Box extends DSLC_Module {
851
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
852
  'ext' => 'px',
853
  'min' => 0,
854
- 'max' => 100
855
  ),
856
  array(
857
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -868,7 +880,7 @@ class DSLC_Info_Box extends DSLC_Module {
868
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
869
  'ext' => 'px',
870
  'min' => 0,
871
- 'max' => 100
872
  ),
873
  array(
874
  'label' => __( 'Position', 'live-composer-page-builder' ),
@@ -900,7 +912,7 @@ class DSLC_Info_Box extends DSLC_Module {
900
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
901
  'ext' => 'px',
902
  'min' => 0,
903
- 'max' => 300
904
  ),
905
  array(
906
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
@@ -912,7 +924,7 @@ class DSLC_Info_Box extends DSLC_Module {
912
  'affect_on_change_rule' => 'font-size',
913
  'section' => 'styling',
914
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
915
- 'ext' => 'px'
916
  ),
917
  array(
918
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
@@ -937,6 +949,7 @@ class DSLC_Info_Box extends DSLC_Module {
937
  'type' => 'image',
938
  'section' => 'styling',
939
  'tab' => __( 'Image', 'live-composer-page-builder' ),
 
940
  ),
941
  array(
942
  'label' => __( 'Image Link - URL', 'live-composer-page-builder' ),
@@ -945,6 +958,7 @@ class DSLC_Info_Box extends DSLC_Module {
945
  'type' => 'text',
946
  'section' => 'styling',
947
  'tab' => __( 'Image', 'live-composer-page-builder' ),
 
948
  ),
949
  array(
950
  'label' => __( 'Align', 'live-composer-page-builder' ),
@@ -972,9 +986,8 @@ class DSLC_Info_Box extends DSLC_Module {
972
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
973
  'id' => 'css_image_alt_border_width',
974
  'min' => 0,
975
- 'max' => 10,
976
  'increment' => 1,
977
-
978
  'std' => '0',
979
  'type' => 'slider',
980
  'refresh_on_change' => false,
@@ -992,19 +1005,19 @@ class DSLC_Info_Box extends DSLC_Module {
992
  'choices' => array(
993
  array(
994
  'label' => __( 'Top', 'live-composer-page-builder' ),
995
- 'value' => 'top'
996
  ),
997
  array(
998
  'label' => __( 'Right', 'live-composer-page-builder' ),
999
- 'value' => 'right'
1000
  ),
1001
  array(
1002
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1003
- 'value' => 'bottom'
1004
  ),
1005
  array(
1006
  'label' => __( 'Left', 'live-composer-page-builder' ),
1007
- 'value' => 'left'
1008
  ),
1009
  ),
1010
  'refresh_on_change' => false,
@@ -1108,7 +1121,7 @@ class DSLC_Info_Box extends DSLC_Module {
1108
  'affect_on_change_rule' => 'font-size',
1109
  'section' => 'styling',
1110
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1111
- 'ext' => 'px'
1112
  ),
1113
  array(
1114
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1186,7 +1199,7 @@ class DSLC_Info_Box extends DSLC_Module {
1186
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1187
  'ext' => 'px',
1188
  'min' => -50,
1189
- 'max' => 50
1190
  ),
1191
  array(
1192
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -1201,7 +1214,7 @@ class DSLC_Info_Box extends DSLC_Module {
1201
  'affect_on_change_rule' => 'line-height',
1202
  'section' => 'styling',
1203
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1204
- 'ext' => 'px'
1205
  ),
1206
  array(
1207
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1216,7 +1229,7 @@ class DSLC_Info_Box extends DSLC_Module {
1216
  'affect_on_change_rule' => 'margin-bottom',
1217
  'section' => 'styling',
1218
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1219
- 'ext' => 'px'
1220
  ),
1221
 
1222
 
@@ -1259,7 +1272,7 @@ class DSLC_Info_Box extends DSLC_Module {
1259
  'affect_on_change_rule' => 'font-size',
1260
  'section' => 'styling',
1261
  'tab' => __( 'Content', 'live-composer-page-builder' ),
1262
- 'ext' => 'px'
1263
  ),
1264
  array(
1265
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1335,7 +1348,7 @@ class DSLC_Info_Box extends DSLC_Module {
1335
  'affect_on_change_rule' => 'line-height',
1336
  'section' => 'styling',
1337
  'tab' => __( 'Content', 'live-composer-page-builder' ),
1338
- 'ext' => 'px'
1339
  ),
1340
  array(
1341
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1350,7 +1363,7 @@ class DSLC_Info_Box extends DSLC_Module {
1350
  'affect_on_change_rule' => 'margin-bottom',
1351
  'section' => 'styling',
1352
  'tab' => __( 'Content', 'live-composer-page-builder' ),
1353
- 'ext' => 'px'
1354
  ),
1355
 
1356
  /**
@@ -1383,9 +1396,8 @@ class DSLC_Info_Box extends DSLC_Module {
1383
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1384
  'id' => 'css_button_border_width',
1385
  'min' => 0,
1386
- 'max' => 10,
1387
  'increment' => 1,
1388
-
1389
  'std' => '0',
1390
  'type' => 'slider',
1391
  'refresh_on_change' => false,
@@ -1393,7 +1405,7 @@ class DSLC_Info_Box extends DSLC_Module {
1393
  'affect_on_change_rule' => 'border-width',
1394
  'section' => 'styling',
1395
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1396
- 'ext' => 'px'
1397
  ),
1398
  array(
1399
  'label' => __( 'Borders', 'live-composer-page-builder' ),
@@ -1403,19 +1415,19 @@ class DSLC_Info_Box extends DSLC_Module {
1403
  'choices' => array(
1404
  array(
1405
  'label' => __( 'Top', 'live-composer-page-builder' ),
1406
- 'value' => 'top'
1407
  ),
1408
  array(
1409
  'label' => __( 'Right', 'live-composer-page-builder' ),
1410
- 'value' => 'right'
1411
  ),
1412
  array(
1413
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1414
- 'value' => 'bottom'
1415
  ),
1416
  array(
1417
  'label' => __( 'Left', 'live-composer-page-builder' ),
1418
- 'value' => 'left'
1419
  ),
1420
  ),
1421
  'refresh_on_change' => false,
@@ -1462,7 +1474,7 @@ class DSLC_Info_Box extends DSLC_Module {
1462
  'increment' => 1,
1463
  'section' => 'styling',
1464
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1465
- 'ext' => 'px'
1466
  ),
1467
  array(
1468
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1499,7 +1511,7 @@ class DSLC_Info_Box extends DSLC_Module {
1499
  'affect_on_change_rule' => 'font-size',
1500
  'section' => 'styling',
1501
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1502
- 'ext' => 'px'
1503
  ),
1504
  array(
1505
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1577,7 +1589,7 @@ class DSLC_Info_Box extends DSLC_Module {
1577
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1578
  'ext' => 'px',
1579
  'min' => -50,
1580
- 'max' => 50
1581
  ),
1582
  array(
1583
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
@@ -1752,9 +1764,8 @@ class DSLC_Info_Box extends DSLC_Module {
1752
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1753
  'id' => 'css_button_2_border_width',
1754
  'min' => 0,
1755
- 'max' => 10,
1756
  'increment' => 1,
1757
-
1758
  'std' => '0',
1759
  'type' => 'slider',
1760
  'refresh_on_change' => false,
@@ -1762,7 +1773,7 @@ class DSLC_Info_Box extends DSLC_Module {
1762
  'affect_on_change_rule' => 'border-width',
1763
  'section' => 'styling',
1764
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1765
- 'ext' => 'px'
1766
  ),
1767
  array(
1768
  'label' => __( 'Borders', 'live-composer-page-builder' ),
@@ -1772,19 +1783,19 @@ class DSLC_Info_Box extends DSLC_Module {
1772
  'choices' => array(
1773
  array(
1774
  'label' => __( 'Top', 'live-composer-page-builder' ),
1775
- 'value' => 'top'
1776
  ),
1777
  array(
1778
  'label' => __( 'Right', 'live-composer-page-builder' ),
1779
- 'value' => 'right'
1780
  ),
1781
  array(
1782
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1783
- 'value' => 'bottom'
1784
  ),
1785
  array(
1786
  'label' => __( 'Left', 'live-composer-page-builder' ),
1787
- 'value' => 'left'
1788
  ),
1789
  ),
1790
  'refresh_on_change' => false,
@@ -1831,7 +1842,7 @@ class DSLC_Info_Box extends DSLC_Module {
1831
  'increment' => 1,
1832
  'section' => 'styling',
1833
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1834
- 'ext' => 'px'
1835
  ),
1836
  array(
1837
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1868,7 +1879,7 @@ class DSLC_Info_Box extends DSLC_Module {
1868
  'affect_on_change_rule' => 'font-size',
1869
  'section' => 'styling',
1870
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1871
- 'ext' => 'px'
1872
  ),
1873
  array(
1874
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1946,7 +1957,7 @@ class DSLC_Info_Box extends DSLC_Module {
1946
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1947
  'ext' => 'px',
1948
  'min' => -50,
1949
- 'max' => 50
1950
  ),
1951
  array(
1952
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
@@ -2080,7 +2091,7 @@ class DSLC_Info_Box extends DSLC_Module {
2080
  'std' => 'CLICK TO EDIT',
2081
  'type' => 'textarea',
2082
  'visibility' => 'hidden',
2083
- 'section' => 'styling'
2084
  ),
2085
  array(
2086
  'label' => __( 'Content', 'live-composer-page-builder' ),
@@ -2088,7 +2099,7 @@ class DSLC_Info_Box extends DSLC_Module {
2088
  'std' => 'This is just placeholder text. Hover over the module and click "Edit Content" to change it.',
2089
  'type' => 'textarea',
2090
  'visibility' => 'hidden',
2091
- 'section' => 'styling'
2092
  ),
2093
  array(
2094
  'label' => __( 'Button Title', 'live-composer-page-builder' ),
@@ -2096,7 +2107,7 @@ class DSLC_Info_Box extends DSLC_Module {
2096
  'std' => 'CLICK TO EDIT',
2097
  'type' => 'textarea',
2098
  'visibility' => 'hidden',
2099
- 'section' => 'styling'
2100
  ),
2101
  array(
2102
  'label' => __( 'Button Title', 'live-composer-page-builder' ),
@@ -2104,13 +2115,12 @@ class DSLC_Info_Box extends DSLC_Module {
2104
  'std' => 'CLICK TO EDIT',
2105
  'type' => 'textarea',
2106
  'visibility' => 'hidden',
2107
- 'section' => 'styling'
2108
  ),
2109
 
2110
  /**
2111
  * Responsive Tablet
2112
  */
2113
-
2114
  array(
2115
  'label' => __( 'Responsive Styling', 'live-composer-page-builder' ),
2116
  'id' => 'css_res_t',
@@ -2119,11 +2129,11 @@ class DSLC_Info_Box extends DSLC_Module {
2119
  'choices' => array(
2120
  array(
2121
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2122
- 'value' => 'disabled'
2123
  ),
2124
  array(
2125
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2126
- 'value' => 'enabled'
2127
  ),
2128
  ),
2129
  'section' => 'responsive',
@@ -2159,7 +2169,7 @@ class DSLC_Info_Box extends DSLC_Module {
2159
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2160
  'max' => 500,
2161
  'increment' => 1,
2162
- 'ext' => 'px'
2163
  ),
2164
  array(
2165
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -2174,7 +2184,7 @@ class DSLC_Info_Box extends DSLC_Module {
2174
  'affect_on_change_rule' => 'padding-left,padding-right',
2175
  'section' => 'responsive',
2176
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2177
- 'ext' => 'px'
2178
  ),
2179
  array(
2180
  'label' => __( 'Wrapper - Padding Vertical', 'live-composer-page-builder' ),
@@ -2191,7 +2201,7 @@ class DSLC_Info_Box extends DSLC_Module {
2191
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2192
  'max' => 500,
2193
  'increment' => 1,
2194
- 'ext' => 'px'
2195
  ),
2196
  array(
2197
  'label' => __( 'Wrapper - Padding Horizontal', 'live-composer-page-builder' ),
@@ -2206,7 +2216,7 @@ class DSLC_Info_Box extends DSLC_Module {
2206
  'affect_on_change_rule' => 'padding-left,padding-right',
2207
  'section' => 'responsive',
2208
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2209
- 'ext' => 'px'
2210
  ),
2211
  array(
2212
  'label' => __( 'Width', 'live-composer-page-builder' ),
@@ -2218,7 +2228,7 @@ class DSLC_Info_Box extends DSLC_Module {
2218
  'affect_on_change_rule' => 'max-width',
2219
  'section' => 'responsive',
2220
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2221
- 'ext' => '%'
2222
  ),
2223
  array(
2224
  'label' => __( 'Icon - Margin Top', 'live-composer-page-builder' ),
@@ -2235,7 +2245,7 @@ class DSLC_Info_Box extends DSLC_Module {
2235
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2236
  'ext' => 'px',
2237
  'min' => -100,
2238
- 'max' => 50
2239
  ),
2240
  array(
2241
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
@@ -2249,7 +2259,7 @@ class DSLC_Info_Box extends DSLC_Module {
2249
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2250
  'ext' => 'px',
2251
  'min' => 0,
2252
- 'max' => 100
2253
  ),
2254
  array(
2255
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
@@ -2263,7 +2273,7 @@ class DSLC_Info_Box extends DSLC_Module {
2263
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2264
  'ext' => 'px',
2265
  'min' => 0,
2266
- 'max' => 300
2267
  ),
2268
  array(
2269
  'label' => __( 'Icon - Size ( Icon )', 'live-composer-page-builder' ),
@@ -2275,7 +2285,7 @@ class DSLC_Info_Box extends DSLC_Module {
2275
  'affect_on_change_rule' => 'font-size',
2276
  'section' => 'responsive',
2277
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2278
- 'ext' => 'px'
2279
  ),
2280
  array(
2281
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
@@ -2290,7 +2300,7 @@ class DSLC_Info_Box extends DSLC_Module {
2290
  'affect_on_change_rule' => 'font-size',
2291
  'section' => 'responsive',
2292
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2293
- 'ext' => 'px'
2294
  ),
2295
  array(
2296
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2305,7 +2315,7 @@ class DSLC_Info_Box extends DSLC_Module {
2305
  'affect_on_change_rule' => 'line-height',
2306
  'section' => 'responsive',
2307
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2308
- 'ext' => 'px'
2309
  ),
2310
  array(
2311
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2320,7 +2330,7 @@ class DSLC_Info_Box extends DSLC_Module {
2320
  'affect_on_change_rule' => 'margin-bottom',
2321
  'section' => 'responsive',
2322
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2323
- 'ext' => 'px'
2324
  ),
2325
  array(
2326
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
@@ -2335,7 +2345,7 @@ class DSLC_Info_Box extends DSLC_Module {
2335
  'affect_on_change_rule' => 'font-size',
2336
  'section' => 'responsive',
2337
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2338
- 'ext' => 'px'
2339
  ),
2340
  array(
2341
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
@@ -2350,7 +2360,7 @@ class DSLC_Info_Box extends DSLC_Module {
2350
  'affect_on_change_rule' => 'line-height',
2351
  'section' => 'responsive',
2352
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2353
- 'ext' => 'px'
2354
  ),
2355
  array(
2356
  'label' => __( 'Content - Margin Bottom', 'live-composer-page-builder' ),
@@ -2365,7 +2375,7 @@ class DSLC_Info_Box extends DSLC_Module {
2365
  'affect_on_change_rule' => 'margin-bottom',
2366
  'section' => 'responsive',
2367
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2368
- 'ext' => 'px'
2369
  ),
2370
  array(
2371
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
@@ -2380,7 +2390,7 @@ class DSLC_Info_Box extends DSLC_Module {
2380
  'affect_on_change_rule' => 'font-size',
2381
  'section' => 'responsive',
2382
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2383
- 'ext' => 'px'
2384
  ),
2385
  array(
2386
  'label' => __( 'Button - Margin Top', 'live-composer-page-builder' ),
@@ -2491,11 +2501,11 @@ class DSLC_Info_Box extends DSLC_Module {
2491
  'choices' => array(
2492
  array(
2493
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2494
- 'value' => 'disabled'
2495
  ),
2496
  array(
2497
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2498
- 'value' => 'enabled'
2499
  ),
2500
  ),
2501
  'section' => 'responsive',
@@ -2531,7 +2541,7 @@ class DSLC_Info_Box extends DSLC_Module {
2531
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2532
  'max' => 500,
2533
  'increment' => 1,
2534
- 'ext' => 'px'
2535
  ),
2536
  array(
2537
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -2546,7 +2556,7 @@ class DSLC_Info_Box extends DSLC_Module {
2546
  'affect_on_change_rule' => 'padding-left,padding-right',
2547
  'section' => 'responsive',
2548
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2549
- 'ext' => 'px'
2550
  ),
2551
  array(
2552
  'label' => __( 'Wrapper - Padding Vertical', 'live-composer-page-builder' ),
@@ -2563,7 +2573,7 @@ class DSLC_Info_Box extends DSLC_Module {
2563
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2564
  'max' => 500,
2565
  'increment' => 1,
2566
- 'ext' => 'px'
2567
  ),
2568
  array(
2569
  'label' => __( 'Wrapper - Padding Horizontal', 'live-composer-page-builder' ),
@@ -2578,7 +2588,7 @@ class DSLC_Info_Box extends DSLC_Module {
2578
  'affect_on_change_rule' => 'padding-left,padding-right',
2579
  'section' => 'responsive',
2580
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2581
- 'ext' => 'px'
2582
  ),
2583
  array(
2584
  'label' => __( 'Width', 'live-composer-page-builder' ),
@@ -2590,7 +2600,7 @@ class DSLC_Info_Box extends DSLC_Module {
2590
  'affect_on_change_rule' => 'max-width',
2591
  'section' => 'responsive',
2592
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2593
- 'ext' => '%'
2594
  ),
2595
  array(
2596
  'label' => __( 'Icon - Margin Top', 'live-composer-page-builder' ),
@@ -2607,7 +2617,7 @@ class DSLC_Info_Box extends DSLC_Module {
2607
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2608
  'ext' => 'px',
2609
  'min' => -100,
2610
- 'max' => 50
2611
  ),
2612
  array(
2613
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
@@ -2621,7 +2631,7 @@ class DSLC_Info_Box extends DSLC_Module {
2621
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2622
  'ext' => 'px',
2623
  'min' => 0,
2624
- 'max' => 100
2625
  ),
2626
  array(
2627
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
@@ -2635,7 +2645,7 @@ class DSLC_Info_Box extends DSLC_Module {
2635
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2636
  'ext' => 'px',
2637
  'min' => 0,
2638
- 'max' => 300
2639
  ),
2640
  array(
2641
  'label' => __( 'Icon - Size ( Icon )', 'live-composer-page-builder' ),
@@ -2647,7 +2657,7 @@ class DSLC_Info_Box extends DSLC_Module {
2647
  'affect_on_change_rule' => 'font-size',
2648
  'section' => 'responsive',
2649
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2650
- 'ext' => 'px'
2651
  ),
2652
  array(
2653
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
@@ -2662,7 +2672,7 @@ class DSLC_Info_Box extends DSLC_Module {
2662
  'affect_on_change_rule' => 'font-size',
2663
  'section' => 'responsive',
2664
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2665
- 'ext' => 'px'
2666
  ),
2667
  array(
2668
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2677,7 +2687,7 @@ class DSLC_Info_Box extends DSLC_Module {
2677
  'affect_on_change_rule' => 'line-height',
2678
  'section' => 'responsive',
2679
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2680
- 'ext' => 'px'
2681
  ),
2682
  array(
2683
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2692,7 +2702,7 @@ class DSLC_Info_Box extends DSLC_Module {
2692
  'affect_on_change_rule' => 'margin-bottom',
2693
  'section' => 'responsive',
2694
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2695
- 'ext' => 'px'
2696
  ),
2697
  array(
2698
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
@@ -2707,7 +2717,7 @@ class DSLC_Info_Box extends DSLC_Module {
2707
  'affect_on_change_rule' => 'font-size',
2708
  'section' => 'responsive',
2709
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2710
- 'ext' => 'px'
2711
  ),
2712
  array(
2713
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
@@ -2722,7 +2732,7 @@ class DSLC_Info_Box extends DSLC_Module {
2722
  'affect_on_change_rule' => 'line-height',
2723
  'section' => 'responsive',
2724
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2725
- 'ext' => 'px'
2726
  ),
2727
  array(
2728
  'label' => __( 'Content - Margin Bottom', 'live-composer-page-builder' ),
@@ -2737,7 +2747,7 @@ class DSLC_Info_Box extends DSLC_Module {
2737
  'affect_on_change_rule' => 'margin-bottom',
2738
  'section' => 'responsive',
2739
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2740
- 'ext' => 'px'
2741
  ),
2742
  array(
2743
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
@@ -2752,7 +2762,7 @@ class DSLC_Info_Box extends DSLC_Module {
2752
  'affect_on_change_rule' => 'font-size',
2753
  'section' => 'responsive',
2754
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2755
- 'ext' => 'px'
2756
  ),
2757
  array(
2758
  'label' => __( 'Button - Margin Top', 'live-composer-page-builder' ),
@@ -2860,6 +2870,12 @@ class DSLC_Info_Box extends DSLC_Module {
2860
 
2861
  }
2862
 
 
 
 
 
 
 
2863
  function output( $options ) {
2864
 
2865
  global $dslc_active;
@@ -2874,7 +2890,7 @@ class DSLC_Info_Box extends DSLC_Module {
2874
 
2875
  /* Module output stars here */
2876
 
2877
- // Main Elements
2878
  $elements = $options['elements'];
2879
  if ( ! empty( $elements ) ) {
2880
  $elements = explode( ' ', trim( $elements ) );
@@ -2899,7 +2915,7 @@ class DSLC_Info_Box extends DSLC_Module {
2899
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2900
  <?php endif; ?>
2901
  <?php if ( $dslc_is_admin ) : ?>
2902
- <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable><?php echo $options['button_title']; ?></span>
2903
  <?php else : echo $options['button_title']; endif; ?>
2904
  </a>
2905
  <?php endif; ?>
@@ -2909,7 +2925,7 @@ class DSLC_Info_Box extends DSLC_Module {
2909
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
2910
  <?php endif; ?>
2911
  <?php if ( $dslc_is_admin ) : ?>
2912
- <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable><?php echo $options['button_2_title']; ?></span>
2913
  <?php else : echo $options['button_2_title']; endif; ?>
2914
  </a>
2915
  <?php endif; ?>
@@ -2978,7 +2994,7 @@ class DSLC_Info_Box extends DSLC_Module {
2978
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2979
  <?php endif; ?>
2980
  <?php if ( $dslc_is_admin ) : ?>
2981
- <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable><?php echo $options['button_title']; ?></span>
2982
  <?php else : echo $options['button_title']; endif; ?>
2983
  </a>
2984
  <?php endif; ?>
@@ -2988,7 +3004,7 @@ class DSLC_Info_Box extends DSLC_Module {
2988
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
2989
  <?php endif; ?>
2990
  <?php if ( $dslc_is_admin ) : ?>
2991
- <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable><?php echo $options['button_2_title']; ?></span>
2992
  <?php else : echo $options['button_2_title']; endif; ?>
2993
  </a>
2994
  <?php endif; ?>
@@ -3010,5 +3026,4 @@ class DSLC_Info_Box extends DSLC_Module {
3010
  $this->module_end( $options );
3011
 
3012
  }
3013
-
3014
- }
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
49
  'choices' => array(
50
  array(
51
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
52
+ 'value' => 'desktop',
53
  ),
54
  array(
55
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
56
+ 'value' => 'tablet',
57
  ),
58
  array(
59
  'label' => __( 'Phone', 'live-composer-page-builder' ),
60
+ 'value' => 'phone',
61
  ),
62
  ),
63
  ),
336
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
337
  'id' => 'css_border_width',
338
  'min' => 0,
339
+ 'max' => 1000,
340
  'increment' => 1,
 
341
  'std' => '0',
342
  'type' => 'slider',
343
  'min' => 0,
356
  'choices' => array(
357
  array(
358
  'label' => __( 'Top', 'live-composer-page-builder' ),
359
+ 'value' => 'top',
360
  ),
361
  array(
362
  'label' => __( 'Right', 'live-composer-page-builder' ),
363
+ 'value' => 'right',
364
  ),
365
  array(
366
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
367
+ 'value' => 'bottom',
368
  ),
369
  array(
370
  'label' => __( 'Left', 'live-composer-page-builder' ),
371
+ 'value' => 'left',
372
  ),
373
  ),
374
  'refresh_on_change' => false,
391
  'max' => 100,
392
  'increment' => 1,
393
  'section' => 'styling',
394
+ 'ext' => 'px',
395
  ),
396
  array(
397
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
435
  'section' => 'styling',
436
  'max' => 500,
437
  'increment' => 1,
438
+ 'ext' => 'px',
439
  ),
440
  array(
441
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
449
  'affect_on_change_el' => '.dslc-info-box',
450
  'affect_on_change_rule' => 'padding-left,padding-right',
451
  'section' => 'styling',
452
+ 'ext' => 'px',
453
  ),
454
  array(
455
  'label' => __( 'Width', 'live-composer-page-builder' ),
460
  'affect_on_change_el' => '.dslc-info-box-main-wrap',
461
  'affect_on_change_rule' => 'max-width',
462
  'section' => 'styling',
463
+ 'ext' => '%',
464
  ),
465
  array(
466
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
624
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
625
  'id' => 'css_wrapper_border_width',
626
  'min' => 0,
627
+ 'max' => 1000,
628
  'increment' => 1,
 
629
  'std' => '0',
630
  'type' => 'slider',
631
  'refresh_on_change' => false,
643
  'choices' => array(
644
  array(
645
  'label' => __( 'Top', 'live-composer-page-builder' ),
646
+ 'value' => 'top',
647
  ),
648
  array(
649
  'label' => __( 'Right', 'live-composer-page-builder' ),
650
+ 'value' => 'right',
651
  ),
652
  array(
653
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
654
+ 'value' => 'bottom',
655
  ),
656
  array(
657
  'label' => __( 'Left', 'live-composer-page-builder' ),
658
+ 'value' => 'left',
659
  ),
660
  ),
661
  'refresh_on_change' => false,
756
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
757
  'id' => 'css_icon_border_width',
758
  'min' => 0,
759
+ 'max' => 1000,
760
  'increment' => 1,
 
761
  'std' => '0',
762
  'type' => 'slider',
763
  'refresh_on_change' => false,
775
  'choices' => array(
776
  array(
777
  'label' => __( 'Top', 'live-composer-page-builder' ),
778
+ 'value' => 'top',
779
  ),
780
  array(
781
  'label' => __( 'Right', 'live-composer-page-builder' ),
782
+ 'value' => 'right',
783
  ),
784
  array(
785
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
786
+ 'value' => 'bottom',
787
  ),
788
  array(
789
  'label' => __( 'Left', 'live-composer-page-builder' ),
790
+ 'value' => 'left',
791
  ),
792
  ),
793
  'refresh_on_change' => false,
832
  'type' => 'icon',
833
  'section' => 'styling',
834
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
835
+ 'include_in_preset' => false,
836
  ),
837
  array(
838
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
849
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
850
  'ext' => 'px',
851
  'min' => -100,
852
+ 'max' => 50,
853
  ),
854
  array(
855
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
863
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
864
  'ext' => 'px',
865
  'min' => 0,
866
+ 'max' => 100,
867
  ),
868
  array(
869
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
880
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
881
  'ext' => 'px',
882
  'min' => 0,
883
+ 'max' => 100,
884
  ),
885
  array(
886
  'label' => __( 'Position', 'live-composer-page-builder' ),
912
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
913
  'ext' => 'px',
914
  'min' => 0,
915
+ 'max' => 300,
916
  ),
917
  array(
918
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
924
  'affect_on_change_rule' => 'font-size',
925
  'section' => 'styling',
926
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
927
+ 'ext' => 'px',
928
  ),
929
  array(
930
  'label' => __( 'Box Shadow', 'live-composer-page-builder' ),
949
  'type' => 'image',
950
  'section' => 'styling',
951
  'tab' => __( 'Image', 'live-composer-page-builder' ),
952
+ 'include_in_preset' => false,
953
  ),
954
  array(
955
  'label' => __( 'Image Link - URL', 'live-composer-page-builder' ),
958
  'type' => 'text',
959
  'section' => 'styling',
960
  'tab' => __( 'Image', 'live-composer-page-builder' ),
961
+ 'include_in_preset' => false,
962
  ),
963
  array(
964
  'label' => __( 'Align', 'live-composer-page-builder' ),
986
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
987
  'id' => 'css_image_alt_border_width',
988
  'min' => 0,
989
+ 'max' => 1000,
990
  'increment' => 1,
 
991
  'std' => '0',
992
  'type' => 'slider',
993
  'refresh_on_change' => false,
1005
  'choices' => array(
1006
  array(
1007
  'label' => __( 'Top', 'live-composer-page-builder' ),
1008
+ 'value' => 'top',
1009
  ),
1010
  array(
1011
  'label' => __( 'Right', 'live-composer-page-builder' ),
1012
+ 'value' => 'right',
1013
  ),
1014
  array(
1015
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1016
+ 'value' => 'bottom',
1017
  ),
1018
  array(
1019
  'label' => __( 'Left', 'live-composer-page-builder' ),
1020
+ 'value' => 'left',
1021
  ),
1022
  ),
1023
  'refresh_on_change' => false,
1121
  'affect_on_change_rule' => 'font-size',
1122
  'section' => 'styling',
1123
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1124
+ 'ext' => 'px',
1125
  ),
1126
  array(
1127
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1199
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1200
  'ext' => 'px',
1201
  'min' => -50,
1202
+ 'max' => 50,
1203
  ),
1204
  array(
1205
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
1214
  'affect_on_change_rule' => 'line-height',
1215
  'section' => 'styling',
1216
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1217
+ 'ext' => 'px',
1218
  ),
1219
  array(
1220
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1229
  'affect_on_change_rule' => 'margin-bottom',
1230
  'section' => 'styling',
1231
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1232
+ 'ext' => 'px',
1233
  ),
1234
 
1235
 
1272
  'affect_on_change_rule' => 'font-size',
1273
  'section' => 'styling',
1274
  'tab' => __( 'Content', 'live-composer-page-builder' ),
1275
+ 'ext' => 'px',
1276
  ),
1277
  array(
1278
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1348
  'affect_on_change_rule' => 'line-height',
1349
  'section' => 'styling',
1350
  'tab' => __( 'Content', 'live-composer-page-builder' ),
1351
+ 'ext' => 'px',
1352
  ),
1353
  array(
1354
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1363
  'affect_on_change_rule' => 'margin-bottom',
1364
  'section' => 'styling',
1365
  'tab' => __( 'Content', 'live-composer-page-builder' ),
1366
+ 'ext' => 'px',
1367
  ),
1368
 
1369
  /**
1396
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1397
  'id' => 'css_button_border_width',
1398
  'min' => 0,
1399
+ 'max' => 1000,
1400
  'increment' => 1,
 
1401
  'std' => '0',
1402
  'type' => 'slider',
1403
  'refresh_on_change' => false,
1405
  'affect_on_change_rule' => 'border-width',
1406
  'section' => 'styling',
1407
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1408
+ 'ext' => 'px',
1409
  ),
1410
  array(
1411
  'label' => __( 'Borders', 'live-composer-page-builder' ),
1415
  'choices' => array(
1416
  array(
1417
  'label' => __( 'Top', 'live-composer-page-builder' ),
1418
+ 'value' => 'top',
1419
  ),
1420
  array(
1421
  'label' => __( 'Right', 'live-composer-page-builder' ),
1422
+ 'value' => 'right',
1423
  ),
1424
  array(
1425
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1426
+ 'value' => 'bottom',
1427
  ),
1428
  array(
1429
  'label' => __( 'Left', 'live-composer-page-builder' ),
1430
+ 'value' => 'left',
1431
  ),
1432
  ),
1433
  'refresh_on_change' => false,
1474
  'increment' => 1,
1475
  'section' => 'styling',
1476
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1477
+ 'ext' => 'px',
1478
  ),
1479
  array(
1480
  'label' => __( 'Color', 'live-composer-page-builder' ),
1511
  'affect_on_change_rule' => 'font-size',
1512
  'section' => 'styling',
1513
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1514
+ 'ext' => 'px',
1515
  ),
1516
  array(
1517
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1589
  'tab' => __( 'Primary Button', 'live-composer-page-builder' ),
1590
  'ext' => 'px',
1591
  'min' => -50,
1592
+ 'max' => 50,
1593
  ),
1594
  array(
1595
  'label' => __( 'Margin Top', 'live-composer-page-builder' ),
1764
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1765
  'id' => 'css_button_2_border_width',
1766
  'min' => 0,
1767
+ 'max' => 1000,
1768
  'increment' => 1,
 
1769
  'std' => '0',
1770
  'type' => 'slider',
1771
  'refresh_on_change' => false,
1773
  'affect_on_change_rule' => 'border-width',
1774
  'section' => 'styling',
1775
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1776
+ 'ext' => 'px',
1777
  ),
1778
  array(
1779
  'label' => __( 'Borders', 'live-composer-page-builder' ),
1783
  'choices' => array(
1784
  array(
1785
  'label' => __( 'Top', 'live-composer-page-builder' ),
1786
+ 'value' => 'top',
1787
  ),
1788
  array(
1789
  'label' => __( 'Right', 'live-composer-page-builder' ),
1790
+ 'value' => 'right',
1791
  ),
1792
  array(
1793
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1794
+ 'value' => 'bottom',
1795
  ),
1796
  array(
1797
  'label' => __( 'Left', 'live-composer-page-builder' ),
1798
+ 'value' => 'left',
1799
  ),
1800
  ),
1801
  'refresh_on_change' => false,
1842
  'increment' => 1,
1843
  'section' => 'styling',
1844
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1845
+ 'ext' => 'px',
1846
  ),
1847
  array(
1848
  'label' => __( 'Color', 'live-composer-page-builder' ),
1879
  'affect_on_change_rule' => 'font-size',
1880
  'section' => 'styling',
1881
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1882
+ 'ext' => 'px',
1883
  ),
1884
  array(
1885
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1957
  'tab' => __( 'Secondary Button', 'live-composer-page-builder' ),
1958
  'ext' => 'px',
1959
  'min' => -50,
1960
+ 'max' => 50,
1961
  ),
1962
  array(
1963
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
2091
  'std' => 'CLICK TO EDIT',
2092
  'type' => 'textarea',
2093
  'visibility' => 'hidden',
2094
+ 'section' => 'styling',
2095
  ),
2096
  array(
2097
  'label' => __( 'Content', 'live-composer-page-builder' ),
2099
  'std' => 'This is just placeholder text. Hover over the module and click "Edit Content" to change it.',
2100
  'type' => 'textarea',
2101
  'visibility' => 'hidden',
2102
+ 'section' => 'styling',
2103
  ),
2104
  array(
2105
  'label' => __( 'Button Title', 'live-composer-page-builder' ),
2107
  'std' => 'CLICK TO EDIT',
2108
  'type' => 'textarea',
2109
  'visibility' => 'hidden',
2110
+ 'section' => 'styling',
2111
  ),
2112
  array(
2113
  'label' => __( 'Button Title', 'live-composer-page-builder' ),
2115
  'std' => 'CLICK TO EDIT',
2116
  'type' => 'textarea',
2117
  'visibility' => 'hidden',
2118
+ 'section' => 'styling',
2119
  ),
2120
 
2121
  /**
2122
  * Responsive Tablet
2123
  */
 
2124
  array(
2125
  'label' => __( 'Responsive Styling', 'live-composer-page-builder' ),
2126
  'id' => 'css_res_t',
2129
  'choices' => array(
2130
  array(
2131
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2132
+ 'value' => 'disabled',
2133
  ),
2134
  array(
2135
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2136
+ 'value' => 'enabled',
2137
  ),
2138
  ),
2139
  'section' => 'responsive',
2169
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2170
  'max' => 500,
2171
  'increment' => 1,
2172
+ 'ext' => 'px',
2173
  ),
2174
  array(
2175
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
2184
  'affect_on_change_rule' => 'padding-left,padding-right',
2185
  'section' => 'responsive',
2186
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2187
+ 'ext' => 'px',
2188
  ),
2189
  array(
2190
  'label' => __( 'Wrapper - Padding Vertical', 'live-composer-page-builder' ),
2201
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2202
  'max' => 500,
2203
  'increment' => 1,
2204
+ 'ext' => 'px',
2205
  ),
2206
  array(
2207
  'label' => __( 'Wrapper - Padding Horizontal', 'live-composer-page-builder' ),
2216
  'affect_on_change_rule' => 'padding-left,padding-right',
2217
  'section' => 'responsive',
2218
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2219
+ 'ext' => 'px',
2220
  ),
2221
  array(
2222
  'label' => __( 'Width', 'live-composer-page-builder' ),
2228
  'affect_on_change_rule' => 'max-width',
2229
  'section' => 'responsive',
2230
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2231
+ 'ext' => '%',
2232
  ),
2233
  array(
2234
  'label' => __( 'Icon - Margin Top', 'live-composer-page-builder' ),
2245
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2246
  'ext' => 'px',
2247
  'min' => -100,
2248
+ 'max' => 50,
2249
  ),
2250
  array(
2251
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
2259
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2260
  'ext' => 'px',
2261
  'min' => 0,
2262
+ 'max' => 100,
2263
  ),
2264
  array(
2265
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
2273
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2274
  'ext' => 'px',
2275
  'min' => 0,
2276
+ 'max' => 300,
2277
  ),
2278
  array(
2279
  'label' => __( 'Icon - Size ( Icon )', 'live-composer-page-builder' ),
2285
  'affect_on_change_rule' => 'font-size',
2286
  'section' => 'responsive',
2287
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2288
+ 'ext' => 'px',
2289
  ),
2290
  array(
2291
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
2300
  'affect_on_change_rule' => 'font-size',
2301
  'section' => 'responsive',
2302
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2303
+ 'ext' => 'px',
2304
  ),
2305
  array(
2306
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2315
  'affect_on_change_rule' => 'line-height',
2316
  'section' => 'responsive',
2317
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2318
+ 'ext' => 'px',
2319
  ),
2320
  array(
2321
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2330
  'affect_on_change_rule' => 'margin-bottom',
2331
  'section' => 'responsive',
2332
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2333
+ 'ext' => 'px',
2334
  ),
2335
  array(
2336
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
2345
  'affect_on_change_rule' => 'font-size',
2346
  'section' => 'responsive',
2347
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2348
+ 'ext' => 'px',
2349
  ),
2350
  array(
2351
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
2360
  'affect_on_change_rule' => 'line-height',
2361
  'section' => 'responsive',
2362
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2363
+ 'ext' => 'px',
2364
  ),
2365
  array(
2366
  'label' => __( 'Content - Margin Bottom', 'live-composer-page-builder' ),
2375
  'affect_on_change_rule' => 'margin-bottom',
2376
  'section' => 'responsive',
2377
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2378
+ 'ext' => 'px',
2379
  ),
2380
  array(
2381
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2390
  'affect_on_change_rule' => 'font-size',
2391
  'section' => 'responsive',
2392
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2393
+ 'ext' => 'px',
2394
  ),
2395
  array(
2396
  'label' => __( 'Button - Margin Top', 'live-composer-page-builder' ),
2501
  'choices' => array(
2502
  array(
2503
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
2504
+ 'value' => 'disabled',
2505
  ),
2506
  array(
2507
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
2508
+ 'value' => 'enabled',
2509
  ),
2510
  ),
2511
  'section' => 'responsive',
2541
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2542
  'max' => 500,
2543
  'increment' => 1,
2544
+ 'ext' => 'px',
2545
  ),
2546
  array(
2547
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
2556
  'affect_on_change_rule' => 'padding-left,padding-right',
2557
  'section' => 'responsive',
2558
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2559
+ 'ext' => 'px',
2560
  ),
2561
  array(
2562
  'label' => __( 'Wrapper - Padding Vertical', 'live-composer-page-builder' ),
2573
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2574
  'max' => 500,
2575
  'increment' => 1,
2576
+ 'ext' => 'px',
2577
  ),
2578
  array(
2579
  'label' => __( 'Wrapper - Padding Horizontal', 'live-composer-page-builder' ),
2588
  'affect_on_change_rule' => 'padding-left,padding-right',
2589
  'section' => 'responsive',
2590
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2591
+ 'ext' => 'px',
2592
  ),
2593
  array(
2594
  'label' => __( 'Width', 'live-composer-page-builder' ),
2600
  'affect_on_change_rule' => 'max-width',
2601
  'section' => 'responsive',
2602
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2603
+ 'ext' => '%',
2604
  ),
2605
  array(
2606
  'label' => __( 'Icon - Margin Top', 'live-composer-page-builder' ),
2617
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2618
  'ext' => 'px',
2619
  'min' => -100,
2620
+ 'max' => 50,
2621
  ),
2622
  array(
2623
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
2631
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2632
  'ext' => 'px',
2633
  'min' => 0,
2634
+ 'max' => 100,
2635
  ),
2636
  array(
2637
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
2645
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2646
  'ext' => 'px',
2647
  'min' => 0,
2648
+ 'max' => 300,
2649
  ),
2650
  array(
2651
  'label' => __( 'Icon - Size ( Icon )', 'live-composer-page-builder' ),
2657
  'affect_on_change_rule' => 'font-size',
2658
  'section' => 'responsive',
2659
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2660
+ 'ext' => 'px',
2661
  ),
2662
  array(
2663
  'label' => __( 'Title - Font Size', 'live-composer-page-builder' ),
2672
  'affect_on_change_rule' => 'font-size',
2673
  'section' => 'responsive',
2674
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2675
+ 'ext' => 'px',
2676
  ),
2677
  array(
2678
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2687
  'affect_on_change_rule' => 'line-height',
2688
  'section' => 'responsive',
2689
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2690
+ 'ext' => 'px',
2691
  ),
2692
  array(
2693
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2702
  'affect_on_change_rule' => 'margin-bottom',
2703
  'section' => 'responsive',
2704
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2705
+ 'ext' => 'px',
2706
  ),
2707
  array(
2708
  'label' => __( 'Content - Font Size', 'live-composer-page-builder' ),
2717
  'affect_on_change_rule' => 'font-size',
2718
  'section' => 'responsive',
2719
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2720
+ 'ext' => 'px',
2721
  ),
2722
  array(
2723
  'label' => __( 'Content - Line Height', 'live-composer-page-builder' ),
2732
  'affect_on_change_rule' => 'line-height',
2733
  'section' => 'responsive',
2734
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2735
+ 'ext' => 'px',
2736
  ),
2737
  array(
2738
  'label' => __( 'Content - Margin Bottom', 'live-composer-page-builder' ),
2747
  'affect_on_change_rule' => 'margin-bottom',
2748
  'section' => 'responsive',
2749
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2750
+ 'ext' => 'px',
2751
  ),
2752
  array(
2753
  'label' => __( 'Button - Font Size', 'live-composer-page-builder' ),
2762
  'affect_on_change_rule' => 'font-size',
2763
  'section' => 'responsive',
2764
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2765
+ 'ext' => 'px',
2766
  ),
2767
  array(
2768
  'label' => __( 'Button - Margin Top', 'live-composer-page-builder' ),
2870
 
2871
  }
2872
 
2873
+ /**
2874
+ * Module HTML output.
2875
+ *
2876
+ * @param array $options Module options to fill the module template.
2877
+ * @return void
2878
+ */
2879
  function output( $options ) {
2880
 
2881
  global $dslc_active;
2890
 
2891
  /* Module output stars here */
2892
 
2893
+ // Main Elements.
2894
  $elements = $options['elements'];
2895
  if ( ! empty( $elements ) ) {
2896
  $elements = explode( ' ', trim( $elements ) );
2915
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2916
  <?php endif; ?>
2917
  <?php if ( $dslc_is_admin ) : ?>
2918
+ <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable="true"><?php echo $options['button_title']; ?></span>
2919
  <?php else : echo $options['button_title']; endif; ?>
2920
  </a>
2921
  <?php endif; ?>
2925
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
2926
  <?php endif; ?>
2927
  <?php if ( $dslc_is_admin ) : ?>
2928
+ <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable="true"><?php echo $options['button_2_title']; ?></span>
2929
  <?php else : echo $options['button_2_title']; endif; ?>
2930
  </a>
2931
  <?php endif; ?>
2994
  <span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
2995
  <?php endif; ?>
2996
  <?php if ( $dslc_is_admin ) : ?>
2997
+ <span class="dslca-editable-content" data-id="button_title" data-type="simple" contenteditable="true"><?php echo $options['button_title']; ?></span>
2998
  <?php else : echo $options['button_title']; endif; ?>
2999
  </a>
3000
  <?php endif; ?>
3004
  <span class="dslc-icon dslc-icon-<?php echo $options['button_2_icon_id']; ?>"></span>
3005
  <?php endif; ?>
3006
  <?php if ( $dslc_is_admin ) : ?>
3007
+ <span class="dslca-editable-content" data-id="button_2_title" data-type="simple" contenteditable="true"><?php echo $options['button_2_title']; ?></span>
3008
  <?php else : echo $options['button_2_title']; endif; ?>
3009
  </a>
3010
  <?php endif; ?>
3026
  $this->module_end( $options );
3027
 
3028
  }
3029
+ }
 
modules/navigation/module.php CHANGED
@@ -6,8 +6,9 @@ if ( ! defined( 'ABSPATH' ) ) {
6
  exit;
7
  }
8
 
9
- if ( dslc_is_module_active( 'DSLC_Navigation' ) )
10
  include DS_LIVE_COMPOSER_ABS . '/modules/navigation/functions.php';
 
11
 
12
  class DSLC_Navigation extends DSLC_Module {
13
 
@@ -25,6 +26,21 @@ class DSLC_Navigation extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $locs = get_registered_nav_menus();
@@ -36,10 +52,10 @@ class DSLC_Navigation extends DSLC_Module {
36
  );
37
 
38
  if ( ! empty( $locs ) ) {
39
- foreach ( $locs as $loc_ID => $loc_label ) {
40
  $loc_choices[] = array(
41
  'label' => $loc_label,
42
- 'value' => $loc_ID,
43
  );
44
  }
45
  }
@@ -58,15 +74,15 @@ class DSLC_Navigation extends DSLC_Module {
58
  'choices' => array(
59
  array(
60
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
61
- 'value' => 'desktop'
62
  ),
63
  array(
64
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
65
- 'value' => 'tablet'
66
  ),
67
  array(
68
  'label' => __( 'Phone', 'live-composer-page-builder' ),
69
- 'value' => 'phone'
70
  ),
71
  ),
72
  ),
@@ -223,9 +239,8 @@ class DSLC_Navigation extends DSLC_Module {
223
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
224
  'id' => 'css_main_border_width',
225
  'min' => 0,
226
- 'max' => 10,
227
  'increment' => 1,
228
-
229
  'std' => '0',
230
  'type' => 'slider',
231
  'refresh_on_change' => false,
@@ -242,19 +257,19 @@ class DSLC_Navigation extends DSLC_Module {
242
  'choices' => array(
243
  array(
244
  'label' => __( 'Top', 'live-composer-page-builder' ),
245
- 'value' => 'top'
246
  ),
247
  array(
248
  'label' => __( 'Right', 'live-composer-page-builder' ),
249
- 'value' => 'right'
250
  ),
251
  array(
252
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
253
- 'value' => 'bottom'
254
  ),
255
  array(
256
  'label' => __( 'Left', 'live-composer-page-builder' ),
257
- 'value' => 'left'
258
  ),
259
  ),
260
  'refresh_on_change' => false,
@@ -322,7 +337,7 @@ class DSLC_Navigation extends DSLC_Module {
322
  'ext' => 'px',
323
  'min' => 0,
324
  'max' => 1000,
325
- 'increment' => 5
326
  ),
327
  array(
328
  'label' => __( 'Orientation', 'live-composer-page-builder' ),
@@ -444,9 +459,8 @@ class DSLC_Navigation extends DSLC_Module {
444
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
445
  'id' => 'css_item_border_width',
446
  'min' => 0,
447
- 'max' => 10,
448
  'increment' => 1,
449
-
450
  'std' => '0',
451
  'type' => 'slider',
452
  'refresh_on_change' => false,
@@ -464,19 +478,19 @@ class DSLC_Navigation extends DSLC_Module {
464
  'choices' => array(
465
  array(
466
  'label' => __( 'Top', 'live-composer-page-builder' ),
467
- 'value' => 'top'
468
  ),
469
  array(
470
  'label' => __( 'Right', 'live-composer-page-builder' ),
471
- 'value' => 'right'
472
  ),
473
  array(
474
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
475
- 'value' => 'bottom'
476
  ),
477
  array(
478
  'label' => __( 'Left', 'live-composer-page-builder' ),
479
- 'value' => 'left'
480
  ),
481
  ),
482
  'refresh_on_change' => false,
@@ -567,7 +581,7 @@ class DSLC_Navigation extends DSLC_Module {
567
  'affect_on_change_rule' => 'font-size',
568
  'section' => 'styling',
569
  'tab' => __( 'Item', 'live-composer-page-builder' ),
570
- 'ext' => 'px'
571
  ),
572
  array(
573
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -645,7 +659,7 @@ class DSLC_Navigation extends DSLC_Module {
645
  'tab' => __( 'Item', 'live-composer-page-builder' ),
646
  'ext' => 'px',
647
  'min' => -50,
648
- 'max' => 50
649
  ),
650
  array(
651
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -660,7 +674,7 @@ class DSLC_Navigation extends DSLC_Module {
660
  'affect_on_change_rule' => 'line-height',
661
  'section' => 'styling',
662
  'tab' => __( 'Item', 'live-composer-page-builder' ),
663
- 'ext' => 'px'
664
  ),
665
  array(
666
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -700,19 +714,19 @@ class DSLC_Navigation extends DSLC_Module {
700
  'choices' => array(
701
  array(
702
  'label' => __( 'None', 'live-composer-page-builder' ),
703
- 'value' => 'none'
704
  ),
705
  array(
706
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
707
- 'value' => 'capitalize'
708
  ),
709
  array(
710
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
711
- 'value' => 'uppercase'
712
  ),
713
  array(
714
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
715
- 'value' => 'lowercase'
716
  ),
717
  ),
718
  'refresh_on_change' => false,
@@ -753,7 +767,7 @@ class DSLC_Navigation extends DSLC_Module {
753
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
754
  'value' => 'none',
755
  ),
756
- )
757
  ),
758
  array(
759
  'label' => __( 'Chevron - Color', 'live-composer-page-builder' ),
@@ -776,7 +790,7 @@ class DSLC_Navigation extends DSLC_Module {
776
  'affect_on_change_rule' => 'font-size',
777
  'section' => 'styling',
778
  'tab' => __( 'Item', 'live-composer-page-builder' ),
779
- 'ext' => 'px'
780
  ),
781
  array(
782
  'label' => __( 'Chevron - Spacing', 'live-composer-page-builder' ),
@@ -788,7 +802,7 @@ class DSLC_Navigation extends DSLC_Module {
788
  'affect_on_change_rule' => 'margin-left',
789
  'section' => 'styling',
790
  'tab' => __( 'Item', 'live-composer-page-builder' ),
791
- 'ext' => 'px'
792
  ),
793
 
794
  /**
@@ -970,7 +984,6 @@ class DSLC_Navigation extends DSLC_Module {
970
  'min' => 0,
971
  'max' => 10,
972
  'increment' => 1,
973
-
974
  'std' => '1',
975
  'type' => 'slider',
976
  'refresh_on_change' => false,
@@ -988,19 +1001,19 @@ class DSLC_Navigation extends DSLC_Module {
988
  'choices' => array(
989
  array(
990
  'label' => __( 'Top', 'live-composer-page-builder' ),
991
- 'value' => 'top'
992
  ),
993
  array(
994
  'label' => __( 'Right', 'live-composer-page-builder' ),
995
- 'value' => 'right'
996
  ),
997
  array(
998
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
999
- 'value' => 'bottom'
1000
  ),
1001
  array(
1002
  'label' => __( 'Left', 'live-composer-page-builder' ),
1003
- 'value' => 'left'
1004
  ),
1005
  ),
1006
  'refresh_on_change' => false,
@@ -1152,7 +1165,6 @@ class DSLC_Navigation extends DSLC_Module {
1152
  'min' => 0,
1153
  'max' => 10,
1154
  'increment' => 1,
1155
-
1156
  'std' => '1',
1157
  'type' => 'slider',
1158
  'refresh_on_change' => false,
@@ -1170,19 +1182,19 @@ class DSLC_Navigation extends DSLC_Module {
1170
  'choices' => array(
1171
  array(
1172
  'label' => __( 'Top', 'live-composer-page-builder' ),
1173
- 'value' => 'top'
1174
  ),
1175
  array(
1176
  'label' => __( 'Right', 'live-composer-page-builder' ),
1177
- 'value' => 'right'
1178
  ),
1179
  array(
1180
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1181
- 'value' => 'bottom'
1182
  ),
1183
  array(
1184
  'label' => __( 'Left', 'live-composer-page-builder' ),
1185
- 'value' => 'left'
1186
  ),
1187
  ),
1188
  'refresh_on_change' => false,
@@ -1273,7 +1285,7 @@ class DSLC_Navigation extends DSLC_Module {
1273
  'affect_on_change_rule' => 'font-size',
1274
  'section' => 'styling',
1275
  'tab' => __( 'Subnav item', 'live-composer-page-builder' ),
1276
- 'ext' => 'px'
1277
  ),
1278
  array(
1279
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1351,7 +1363,7 @@ class DSLC_Navigation extends DSLC_Module {
1351
  'tab' => __( 'Subnav item', 'live-composer-page-builder' ),
1352
  'ext' => 'px',
1353
  'min' => -50,
1354
- 'max' => 50
1355
  ),
1356
  array(
1357
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -1366,7 +1378,7 @@ class DSLC_Navigation extends DSLC_Module {
1366
  'affect_on_change_rule' => 'line-height',
1367
  'section' => 'styling',
1368
  'tab' => __( 'Subnav item', 'live-composer-page-builder' ),
1369
- 'ext' => 'px'
1370
  ),
1371
  array(
1372
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1406,19 +1418,19 @@ class DSLC_Navigation extends DSLC_Module {
1406
  'choices' => array(
1407
  array(
1408
  'label' => __( 'None', 'live-composer-page-builder' ),
1409
- 'value' => 'none'
1410
  ),
1411
  array(
1412
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1413
- 'value' => 'capitalize'
1414
  ),
1415
  array(
1416
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1417
- 'value' => 'uppercase'
1418
  ),
1419
  array(
1420
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1421
- 'value' => 'lowercase'
1422
  ),
1423
  ),
1424
  'refresh_on_change' => false,
@@ -1440,11 +1452,11 @@ class DSLC_Navigation extends DSLC_Module {
1440
  'choices' => array(
1441
  array(
1442
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1443
- 'value' => 'disabled'
1444
  ),
1445
  array(
1446
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1447
- 'value' => 'enabled'
1448
  ),
1449
  ),
1450
  'section' => 'responsive',
@@ -1508,11 +1520,11 @@ class DSLC_Navigation extends DSLC_Module {
1508
  'choices' => array(
1509
  array(
1510
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1511
- 'value' => 'disabled'
1512
  ),
1513
  array(
1514
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1515
- 'value' => 'enabled'
1516
  ),
1517
  ),
1518
  'section' => 'responsive',
@@ -1575,78 +1587,95 @@ class DSLC_Navigation extends DSLC_Module {
1575
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1576
 
1577
  }
1578
-
 
 
 
 
 
1579
  function output( $options ) {
1580
 
1581
  $this->module_start( $options );
1582
 
1583
  /* Module output starts here */
1584
 
1585
- global $dslc_active;
1586
 
1587
- if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) )
1588
- $dslc_is_admin = true;
1589
- else
1590
- $dslc_is_admin = false;
 
1591
 
1592
- ?>
1593
 
1594
- <?php
1595
- if ( $options['location'] == 'not_set' ) {
1596
- if ( $dslc_is_admin ) {
1597
- ?><div class="dslc-notification dslc-red"><?php _e( 'Edit the module and choose which location to show.', 'live-composer-page-builder' ); ?> <span class="dslca-refresh-module-hook dslc-icon dslc-icon-refresh"></span></span></div><?php
1598
- }
1599
- } elseif ( ! has_nav_menu( $options['location'] ) ) {
1600
- if ( $dslc_is_admin ) {
1601
- ?><div class="dslc-notification dslc-red"><?php _e( 'The chosen location does not have a menu assigned.', 'live-composer-page-builder' ); ?> <span class="dslca-refresh-module-hook dslc-icon dslc-icon-refresh"></span></span></div><?php
1602
- }
1603
- } else {
1604
- ?>
1605
- <div class="dslc-navigation dslc-navigation-sub-position-<?php echo $options['css_subnav_position']; ?> dslc-navigation-res-t-<?php echo $options['css_res_t']; ?> dslc-navigation-res-p-<?php echo $options['css_res_p']; ?> dslc-navigation-orientation-<?php echo $options['nav_orientation']; ?>">
1606
- <div class="dslc-navigation-inner">
1607
- <?php wp_nav_menu( array('theme_location' => $options['location']) ); ?>
1608
- </div>
1609
- </div>
1610
- <div class="dslc-mobile-navigation dslc-navigation-res-t-<?php echo $options['css_res_t']; ?> dslc-navigation-res-p-<?php echo $options['css_res_p']; ?>">
1611
- <?php
1612
- if ( has_nav_menu( $options['location'] ) ) {
 
1613
 
1614
- $mobile_nav_output = '';
1615
- $mobile_nav_output .= '<select>';
1616
- $mobile_nav_output .= '<option>' . __( '- Select -', 'live-composer-page-builder' ) . '</option>';
1617
 
1618
- if ( has_nav_menu( $options['location'] ) ) {
1619
 
1620
- $locations = get_nav_menu_locations();
1621
- $menu = wp_get_nav_menu_object( $locations[$options['location']] );
1622
- $menu_items = wp_get_nav_menu_items( $menu->term_id );
1623
 
1624
- foreach ( $menu_items as $key => $menu_item ) {
1625
- $title = $menu_item->title;
1626
- $url = $menu_item->url;
1627
- $nav_selected = '';
1628
- if ( $menu_item->post_parent !== 0 ) {
1629
- $mobile_nav_output .= '<option value="' . $url . '" ' . $nav_selected . '> - ' . $title . '</option>';
1630
- } else {
1631
- $mobile_nav_output .= '<option value="' . $url . '" ' . $nav_selected . '>' . $title . '</option>';
1632
- }
1633
- }
1634
 
1635
- }
 
 
1636
 
1637
- $mobile_nav_output .= '</select>';
1638
- echo $mobile_nav_output;
 
 
1639
  }
1640
- ?>
1641
- <div class="dslc-mobile-navigation-hook"><span class="dslc-icon dslc-icon-reorder"></span></div>
1642
- </div><!-- .dslc-mobile-navigation -->
1643
- <?php
 
1644
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1645
 
1646
  /* Module output ends here */
1647
 
1648
  $this->module_end( $options );
1649
 
1650
  }
1651
-
1652
- }
6
  exit;
7
  }
8
 
9
+ if ( dslc_is_module_active( 'DSLC_Navigation' ) ) {
10
  include DS_LIVE_COMPOSER_ABS . '/modules/navigation/functions.php';
11
+ }
12
 
13
  class DSLC_Navigation extends DSLC_Module {
14
 
26
 
27
  }
28
 
29
+ /**
30
+ * Module options.
31
+ * Function build array with all the module functionality and styling options.
32
+ * Based on this array Live Composer builds module settings panel.
33
+ * – Every array inside $dslc_options means one option = one control.
34
+ * – Every option should have unique (for this module) id.
35
+ * – Options divides on "Functionality" and "Styling".
36
+ * – Styling options start with css_XXXXXXX
37
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
38
+ * – Options can be hidden.
39
+ * – Options can have a default value.
40
+ * – Options can request refresh from server on change or do live refresh via CSS.
41
+ *
42
+ * @return array All the module options in array.
43
+ */
44
  function options() {
45
 
46
  $locs = get_registered_nav_menus();
52
  );
53
 
54
  if ( ! empty( $locs ) ) {
55
+ foreach ( $locs as $loc_id => $loc_label ) {
56
  $loc_choices[] = array(
57
  'label' => $loc_label,
58
+ 'value' => $loc_id,
59
  );
60
  }
61
  }
74
  'choices' => array(
75
  array(
76
  'label' => __( 'Desktop', 'live-composer-page-builder' ),
77
+ 'value' => 'desktop',
78
  ),
79
  array(
80
  'label' => __( 'Tablet', 'live-composer-page-builder' ),
81
+ 'value' => 'tablet',
82
  ),
83
  array(
84
  'label' => __( 'Phone', 'live-composer-page-builder' ),
85
+ 'value' => 'phone',
86
  ),
87
  ),
88
  ),
239
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
240
  'id' => 'css_main_border_width',
241
  'min' => 0,
242
+ 'max' => 1000,
243
  'increment' => 1,
 
244
  'std' => '0',
245
  'type' => 'slider',
246
  'refresh_on_change' => false,
257
  'choices' => array(
258
  array(
259
  'label' => __( 'Top', 'live-composer-page-builder' ),
260
+ 'value' => 'top',
261
  ),
262
  array(
263
  'label' => __( 'Right', 'live-composer-page-builder' ),
264
+ 'value' => 'right',
265
  ),
266
  array(
267
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
268
+ 'value' => 'bottom',
269
  ),
270
  array(
271
  'label' => __( 'Left', 'live-composer-page-builder' ),
272
+ 'value' => 'left',
273
  ),
274
  ),
275
  'refresh_on_change' => false,
337
  'ext' => 'px',
338
  'min' => 0,
339
  'max' => 1000,
340
+ 'increment' => 5,
341
  ),
342
  array(
343
  'label' => __( 'Orientation', 'live-composer-page-builder' ),
459
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
460
  'id' => 'css_item_border_width',
461
  'min' => 0,
462
+ 'max' => 1000,
463
  'increment' => 1,
 
464
  'std' => '0',
465
  'type' => 'slider',
466
  'refresh_on_change' => false,
478
  'choices' => array(
479
  array(
480
  'label' => __( 'Top', 'live-composer-page-builder' ),
481
+ 'value' => 'top',
482
  ),
483
  array(
484
  'label' => __( 'Right', 'live-composer-page-builder' ),
485
+ 'value' => 'right',
486
  ),
487
  array(
488
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
489
+ 'value' => 'bottom',
490
  ),
491
  array(
492
  'label' => __( 'Left', 'live-composer-page-builder' ),
493
+ 'value' => 'left',
494
  ),
495
  ),
496
  'refresh_on_change' => false,
581
  'affect_on_change_rule' => 'font-size',
582
  'section' => 'styling',
583
  'tab' => __( 'Item', 'live-composer-page-builder' ),
584
+ 'ext' => 'px',
585
  ),
586
  array(
587
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
659
  'tab' => __( 'Item', 'live-composer-page-builder' ),
660
  'ext' => 'px',
661
  'min' => -50,
662
+ 'max' => 50,
663
  ),
664
  array(
665
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
674
  'affect_on_change_rule' => 'line-height',
675
  'section' => 'styling',
676
  'tab' => __( 'Item', 'live-composer-page-builder' ),
677
+ 'ext' => 'px',
678
  ),
679
  array(
680
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
714
  'choices' => array(
715
  array(
716
  'label' => __( 'None', 'live-composer-page-builder' ),
717
+ 'value' => 'none',
718
  ),
719
  array(
720
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
721
+ 'value' => 'capitalize',
722
  ),
723
  array(
724
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
725
+ 'value' => 'uppercase',
726
  ),
727
  array(
728
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
729
+ 'value' => 'lowercase',
730
  ),
731
  ),
732
  'refresh_on_change' => false,
767
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
768
  'value' => 'none',
769
  ),
770
+ ),
771
  ),
772
  array(
773
  'label' => __( 'Chevron - Color', 'live-composer-page-builder' ),
790
  'affect_on_change_rule' => 'font-size',
791
  'section' => 'styling',
792
  'tab' => __( 'Item', 'live-composer-page-builder' ),
793
+ 'ext' => 'px',
794
  ),
795
  array(
796
  'label' => __( 'Chevron - Spacing', 'live-composer-page-builder' ),
802
  'affect_on_change_rule' => 'margin-left',
803
  'section' => 'styling',
804
  'tab' => __( 'Item', 'live-composer-page-builder' ),
805
+ 'ext' => 'px',
806
  ),
807
 
808
  /**
984
  'min' => 0,
985
  'max' => 10,
986
  'increment' => 1,
 
987
  'std' => '1',
988
  'type' => 'slider',
989
  'refresh_on_change' => false,
1001
  'choices' => array(
1002
  array(
1003
  'label' => __( 'Top', 'live-composer-page-builder' ),
1004
+ 'value' => 'top',
1005
  ),
1006
  array(
1007
  'label' => __( 'Right', 'live-composer-page-builder' ),
1008
+ 'value' => 'right',
1009
  ),
1010
  array(
1011
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1012
+ 'value' => 'bottom',
1013
  ),
1014
  array(
1015
  'label' => __( 'Left', 'live-composer-page-builder' ),
1016
+ 'value' => 'left',
1017
  ),
1018
  ),
1019
  'refresh_on_change' => false,
1165
  'min' => 0,
1166
  'max' => 10,
1167
  'increment' => 1,
 
1168
  'std' => '1',
1169
  'type' => 'slider',
1170
  'refresh_on_change' => false,
1182
  'choices' => array(
1183
  array(
1184
  'label' => __( 'Top', 'live-composer-page-builder' ),
1185
+ 'value' => 'top',
1186
  ),
1187
  array(
1188
  'label' => __( 'Right', 'live-composer-page-builder' ),
1189
+ 'value' => 'right',
1190
  ),
1191
  array(
1192
  'label' => __( 'Bottom', 'live-composer-page-builder' ),
1193
+ 'value' => 'bottom',
1194
  ),
1195
  array(
1196
  'label' => __( 'Left', 'live-composer-page-builder' ),
1197
+ 'value' => 'left',
1198
  ),
1199
  ),
1200
  'refresh_on_change' => false,
1285
  'affect_on_change_rule' => 'font-size',
1286
  'section' => 'styling',
1287
  'tab' => __( 'Subnav item', 'live-composer-page-builder' ),
1288
+ 'ext' => 'px',
1289
  ),
1290
  array(
1291
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1363
  'tab' => __( 'Subnav item', 'live-composer-page-builder' ),
1364
  'ext' => 'px',
1365
  'min' => -50,
1366
+ 'max' => 50,
1367
  ),
1368
  array(
1369
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
1378
  'affect_on_change_rule' => 'line-height',
1379
  'section' => 'styling',
1380
  'tab' => __( 'Subnav item', 'live-composer-page-builder' ),
1381
+ 'ext' => 'px',
1382
  ),
1383
  array(
1384
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1418
  'choices' => array(
1419
  array(
1420
  'label' => __( 'None', 'live-composer-page-builder' ),
1421
+ 'value' => 'none',
1422
  ),
1423
  array(
1424
  'label' => __( 'Capitalize', 'live-composer-page-builder' ),
1425
+ 'value' => 'capitalize',
1426
  ),
1427
  array(
1428
  'label' => __( 'Uppercase', 'live-composer-page-builder' ),
1429
+ 'value' => 'uppercase',
1430
  ),
1431
  array(
1432
  'label' => __( 'Lowercase', 'live-composer-page-builder' ),
1433
+ 'value' => 'lowercase',
1434
  ),
1435
  ),
1436
  'refresh_on_change' => false,
1452
  'choices' => array(
1453
  array(
1454
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1455
+ 'value' => 'disabled',
1456
  ),
1457
  array(
1458
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1459
+ 'value' => 'enabled',
1460
  ),
1461
  ),
1462
  'section' => 'responsive',
1520
  'choices' => array(
1521
  array(
1522
  'label' => __( 'Disabled', 'live-composer-page-builder' ),
1523
+ 'value' => 'disabled',
1524
  ),
1525
  array(
1526
  'label' => __( 'Enabled', 'live-composer-page-builder' ),
1527
+ 'value' => 'enabled',
1528
  ),
1529
  ),
1530
  'section' => 'responsive',
1587
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1588
 
1589
  }
1590
+ /**
1591
+ * Module HTML output.
1592
+ *
1593
+ * @param array $options Module options to fill the module template.
1594
+ * @return void
1595
+ */
1596
  function output( $options ) {
1597
 
1598
  $this->module_start( $options );
1599
 
1600
  /* Module output starts here */
1601
 
1602
+ global $dslc_active;
1603
 
1604
+ if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
1605
+ $dslc_is_admin = true;
1606
+ } else {
1607
+ $dslc_is_admin = false;
1608
+ }
1609
 
1610
+ if ( 'not_set' === $options['location'] ) {
1611
 
1612
+ if ( $dslc_is_admin ) {
1613
+
1614
+ ?><div class="dslc-notification dslc-red"><?php esc_attr_e( 'Edit the module and choose which location to show.', 'live-composer-page-builder' ); ?> <span class="dslca-refresh-module-hook dslc-icon dslc-icon-refresh"></span></span></div><?php
1615
+ }
1616
+ } elseif ( ! has_nav_menu( $options['location'] ) ) {
1617
+
1618
+ if ( $dslc_is_admin ) {
1619
+
1620
+ ?><div class="dslc-notification dslc-red"><?php esc_attr_e( 'The chosen location does not have a menu assigned.', 'live-composer-page-builder' ); ?> <span class="dslca-refresh-module-hook dslc-icon dslc-icon-refresh"></span></span></div><?php
1621
+ }
1622
+ } else {
1623
+ ?>
1624
+ <div class="dslc-navigation dslc-navigation-sub-position-<?php echo esc_attr( $options['css_subnav_position'] ); ?> dslc-navigation-res-t-<?php echo esc_attr( $options['css_res_t'] ); ?> dslc-navigation-res-p-<?php echo esc_attr( $options['css_res_p'] ); ?> dslc-navigation-orientation-<?php echo esc_attr( $options['nav_orientation'] ); ?>">
1625
+ <div class="dslc-navigation-inner">
1626
+ <?php wp_nav_menu( array( 'theme_location' => $options['location'] ) ); ?>
1627
+ </div>
1628
+ </div>
1629
+ <div class="dslc-mobile-navigation dslc-navigation-res-t-<?php echo esc_attr( $options['css_res_t'] ); ?> dslc-navigation-res-p-<?php echo esc_attr( $options['css_res_p'] ); ?>">
1630
+ <?php
1631
+ if ( has_nav_menu( $options['location'] ) ) {
1632
 
1633
+ $mobile_nav_output = '';
1634
+ $mobile_nav_output .= '<select>';
1635
+ $mobile_nav_output .= '<option>' . __( '- Select -', 'live-composer-page-builder' ) . '</option>';
1636
 
1637
+ if ( has_nav_menu( $options['location'] ) ) {
1638
 
1639
+ $locations = get_nav_menu_locations();
1640
+ $menu = wp_get_nav_menu_object( $locations[ $options['location'] ] );
1641
+ $menu_items = wp_get_nav_menu_items( $menu->term_id );
1642
 
1643
+ foreach ( $menu_items as $key => $menu_item ) {
 
 
 
 
 
 
 
 
 
1644
 
1645
+ $title = $menu_item->title;
1646
+ $url = $menu_item->url;
1647
+ $nav_selected = '';
1648
 
1649
+ if ( 0 !== $menu_item->post_parent ) {
1650
+ $mobile_nav_output .= '<option value="' . $url . '" ' . $nav_selected . '> - ' . $title . '</option>';
1651
+ } else {
1652
+ $mobile_nav_output .= '<option value="' . $url . '" ' . $nav_selected . '>' . $title . '</option>';
1653
  }
1654
+ }
1655
+ }
1656
+
1657
+ $mobile_nav_output .= '</select>';
1658
+ echo $mobile_nav_output;
1659
  }
1660
+ ?>
1661
+ <div class="dslc-mobile-navigation-hook"><span class="dslc-icon dslc-icon-reorder"></span></div>
1662
+ </div><!-- .dslc-mobile-navigation -->
1663
+
1664
+ <?php /* Add chevron icon */ ?>
1665
+
1666
+ <script type="text/javascript">
1667
+ var menuItems = document.querySelectorAll( '.dslc-navigation .menu > li.menu-item-has-children:not(.dslc-navigation-arrow) > a' );
1668
+
1669
+ for (var i = 0, len = menuItems.length; i < len; i++) {
1670
+ menuItems[i].insertAdjacentHTML('afterend', '<span class="dslc-navigation-arrow dslc-icon dslc-icon-chevron-down"></span>');
1671
+ }
1672
+ </script>
1673
+ <?php
1674
+ }
1675
 
1676
  /* Module output ends here */
1677
 
1678
  $this->module_end( $options );
1679
 
1680
  }
1681
+ }
 
modules/notification/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Notification extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -178,7 +193,7 @@ class DSLC_Notification extends DSLC_Module {
178
  'affect_on_change_el' => '.dslc-notification-box',
179
  'affect_on_change_rule' => 'padding-top,padding-bottom',
180
  'section' => 'styling',
181
- 'ext' => 'px'
182
  ),
183
  array(
184
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -192,7 +207,7 @@ class DSLC_Notification extends DSLC_Module {
192
  'affect_on_change_el' => '.dslc-notification-box',
193
  'affect_on_change_rule' => 'padding-left,padding-right',
194
  'section' => 'styling',
195
- 'ext' => 'px'
196
  ),
197
 
198
  /* Text */
@@ -252,7 +267,7 @@ class DSLC_Notification extends DSLC_Module {
252
  'affect_on_change_rule' => 'font-size',
253
  'section' => 'styling',
254
  'tab' => __( 'Text', 'live-composer-page-builder' ),
255
- 'ext' => 'px'
256
  ),
257
  array(
258
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -317,7 +332,7 @@ class DSLC_Notification extends DSLC_Module {
317
  'affect_on_change_rule' => 'line-height',
318
  'section' => 'styling',
319
  'tab' => __( 'Text', 'live-composer-page-builder' ),
320
- 'ext' => 'px'
321
  ),
322
  array(
323
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
@@ -402,9 +417,8 @@ class DSLC_Notification extends DSLC_Module {
402
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
403
  'id' => 'css_close_border_width',
404
  'min' => 0,
405
- 'max' => 10,
406
  'increment' => 1,
407
-
408
  'std' => '0',
409
  'type' => 'slider',
410
  'refresh_on_change' => false,
@@ -587,7 +601,7 @@ class DSLC_Notification extends DSLC_Module {
587
  'affect_on_change_rule' => 'padding-top,padding-bottom',
588
  'section' => 'responsive',
589
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
590
- 'ext' => 'px'
591
  ),
592
  array(
593
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -602,7 +616,7 @@ class DSLC_Notification extends DSLC_Module {
602
  'affect_on_change_rule' => 'padding-left,padding-right',
603
  'section' => 'responsive',
604
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
605
- 'ext' => 'px'
606
  ),
607
  array(
608
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
@@ -617,7 +631,7 @@ class DSLC_Notification extends DSLC_Module {
617
  'affect_on_change_rule' => 'font-size',
618
  'section' => 'responsive',
619
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
620
- 'ext' => 'px'
621
  ),
622
  array(
623
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -632,7 +646,7 @@ class DSLC_Notification extends DSLC_Module {
632
  'affect_on_change_rule' => 'line-height',
633
  'section' => 'responsive',
634
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
635
- 'ext' => 'px'
636
  ),
637
  array(
638
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
@@ -709,7 +723,7 @@ class DSLC_Notification extends DSLC_Module {
709
  'affect_on_change_rule' => 'padding-top,padding-bottom',
710
  'section' => 'responsive',
711
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
712
- 'ext' => 'px'
713
  ),
714
  array(
715
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -724,7 +738,7 @@ class DSLC_Notification extends DSLC_Module {
724
  'affect_on_change_rule' => 'padding-left,padding-right',
725
  'section' => 'responsive',
726
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
727
- 'ext' => 'px'
728
  ),
729
  array(
730
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
@@ -739,7 +753,7 @@ class DSLC_Notification extends DSLC_Module {
739
  'affect_on_change_rule' => 'font-size',
740
  'section' => 'responsive',
741
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
742
- 'ext' => 'px'
743
  ),
744
  array(
745
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -754,7 +768,7 @@ class DSLC_Notification extends DSLC_Module {
754
  'affect_on_change_rule' => 'line-height',
755
  'section' => 'responsive',
756
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
757
- 'ext' => 'px'
758
  ),
759
  array(
760
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
@@ -790,7 +804,12 @@ class DSLC_Notification extends DSLC_Module {
790
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
791
 
792
  }
793
-
 
 
 
 
 
794
  function output( $options ) {
795
 
796
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
193
  'affect_on_change_el' => '.dslc-notification-box',
194
  'affect_on_change_rule' => 'padding-top,padding-bottom',
195
  'section' => 'styling',
196
+ 'ext' => 'px',
197
  ),
198
  array(
199
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
207
  'affect_on_change_el' => '.dslc-notification-box',
208
  'affect_on_change_rule' => 'padding-left,padding-right',
209
  'section' => 'styling',
210
+ 'ext' => 'px',
211
  ),
212
 
213
  /* Text */
267
  'affect_on_change_rule' => 'font-size',
268
  'section' => 'styling',
269
  'tab' => __( 'Text', 'live-composer-page-builder' ),
270
+ 'ext' => 'px',
271
  ),
272
  array(
273
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
332
  'affect_on_change_rule' => 'line-height',
333
  'section' => 'styling',
334
  'tab' => __( 'Text', 'live-composer-page-builder' ),
335
+ 'ext' => 'px',
336
  ),
337
  array(
338
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
417
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
418
  'id' => 'css_close_border_width',
419
  'min' => 0,
420
+ 'max' => 1000,
421
  'increment' => 1,
 
422
  'std' => '0',
423
  'type' => 'slider',
424
  'refresh_on_change' => false,
601
  'affect_on_change_rule' => 'padding-top,padding-bottom',
602
  'section' => 'responsive',
603
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
604
+ 'ext' => 'px',
605
  ),
606
  array(
607
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
616
  'affect_on_change_rule' => 'padding-left,padding-right',
617
  'section' => 'responsive',
618
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
619
+ 'ext' => 'px',
620
  ),
621
  array(
622
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
631
  'affect_on_change_rule' => 'font-size',
632
  'section' => 'responsive',
633
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
634
+ 'ext' => 'px',
635
  ),
636
  array(
637
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
646
  'affect_on_change_rule' => 'line-height',
647
  'section' => 'responsive',
648
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
649
+ 'ext' => 'px',
650
  ),
651
  array(
652
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
723
  'affect_on_change_rule' => 'padding-top,padding-bottom',
724
  'section' => 'responsive',
725
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
726
+ 'ext' => 'px',
727
  ),
728
  array(
729
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
738
  'affect_on_change_rule' => 'padding-left,padding-right',
739
  'section' => 'responsive',
740
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
741
+ 'ext' => 'px',
742
  ),
743
  array(
744
  'label' => __( 'Font Size', 'live-composer-page-builder' ),
753
  'affect_on_change_rule' => 'font-size',
754
  'section' => 'responsive',
755
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
756
+ 'ext' => 'px',
757
  ),
758
  array(
759
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
768
  'affect_on_change_rule' => 'line-height',
769
  'section' => 'responsive',
770
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
771
+ 'ext' => 'px',
772
  ),
773
  array(
774
  'label' => __( 'Icon - Size ( Wrapper )', 'live-composer-page-builder' ),
804
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
805
 
806
  }
807
+ /**
808
+ * Module HTML output.
809
+ *
810
+ * @param array $options Module options to fill the module template.
811
+ * @return void
812
+ */
813
  function output( $options ) {
814
 
815
  global $dslc_active;
modules/partners/module.php CHANGED
@@ -25,6 +25,21 @@ class DSLC_Partners extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $cats = get_terms( 'dslc_partners_cats' );
@@ -674,9 +689,8 @@ class DSLC_Partners extends DSLC_Module {
674
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
675
  'id' => 'css_main_border_width',
676
  'min' => 0,
677
- 'max' => 10,
678
  'increment' => 1,
679
-
680
  'std' => '0',
681
  'type' => 'slider',
682
  'refresh_on_change' => false,
@@ -1522,7 +1536,12 @@ class DSLC_Partners extends DSLC_Module {
1522
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1523
 
1524
  }
1525
-
 
 
 
 
 
1526
  function output( $options ) {
1527
 
1528
  global $dslc_active;
@@ -1900,9 +1919,9 @@ class DSLC_Partners extends DSLC_Module {
1900
 
1901
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'excerpt', $post_elements ) ) ) : ?>
1902
 
1903
- <div class="dslc-post-main dslc-partner-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-partner-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']; ?>">
1904
 
1905
- <div class="dslc-partner-main-inner dslc-init-<?php echo $options['main_position']; ?>">
1906
 
1907
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
1908
 
25
 
26
  }
27
 
28
+ /**
29
+ * Module options.
30
+ * Function build array with all the module functionality and styling options.
31
+ * Based on this array Live Composer builds module settings panel.
32
+ * – Every array inside $dslc_options means one option = one control.
33
+ * – Every option should have unique (for this module) id.
34
+ * – Options divides on "Functionality" and "Styling".
35
+ * – Styling options start with css_XXXXXXX
36
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
37
+ * – Options can be hidden.
38
+ * – Options can have a default value.
39
+ * – Options can request refresh from server on change or do live refresh via CSS.
40
+ *
41
+ * @return array All the module options in array.
42
+ */
43
  function options() {
44
 
45
  $cats = get_terms( 'dslc_partners_cats' );
689
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
690
  'id' => 'css_main_border_width',
691
  'min' => 0,
692
+ 'max' => 1000,
693
  'increment' => 1,
 
694
  'std' => '0',
695
  'type' => 'slider',
696
  'refresh_on_change' => false,
1536
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1537
 
1538
  }
1539
+ /**
1540
+ * Module HTML output.
1541
+ *
1542
+ * @param array $options Module options to fill the module template.
1543
+ * @return void
1544
+ */
1545
  function output( $options ) {
1546
 
1547
  global $dslc_active;
1919
 
1920
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'excerpt', $post_elements ) ) ) : ?>
1921
 
1922
+ <div class="dslc-post-main dslc-partner-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-partner-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']; ?>">
1923
 
1924
+ <div class="dslc-partner-main-inner dslc-init-target">
1925
 
1926
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
1927
 
modules/posts/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Posts extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  // Get registered post types.
@@ -256,7 +271,7 @@ class DSLC_Posts extends DSLC_Module {
256
  'value' => 'filters'
257
  ),
258
  ),
259
- 'section' => 'styling'
260
  ),
261
 
262
  array(
@@ -286,7 +301,7 @@ class DSLC_Posts extends DSLC_Module {
286
  'value' => 'button',
287
  ),
288
  ),
289
- 'section' => 'styling'
290
  ),
291
 
292
  array(
@@ -304,7 +319,7 @@ class DSLC_Posts extends DSLC_Module {
304
  'value' => 'circles'
305
  ),
306
  ),
307
- 'section' => 'styling'
308
  ),
309
 
310
  /**
@@ -389,7 +404,7 @@ class DSLC_Posts extends DSLC_Module {
389
  'max' => 100,
390
  'increment' => 1,
391
  'section' => 'styling',
392
- 'ext' => 'px'
393
  ),
394
  array(
395
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -406,7 +421,7 @@ class DSLC_Posts extends DSLC_Module {
406
  'max' => 100,
407
  'increment' => 1,
408
  'section' => 'styling',
409
- 'ext' => 'px'
410
  ),
411
  array(
412
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -654,7 +669,7 @@ class DSLC_Posts extends DSLC_Module {
654
  'increment' => 1,
655
  'section' => 'styling',
656
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
657
- 'ext' => 'px'
658
  ),
659
  array(
660
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -672,7 +687,7 @@ class DSLC_Posts extends DSLC_Module {
672
  'increment' => 1,
673
  'section' => 'styling',
674
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
675
- 'ext' => 'px'
676
  ),
677
  array(
678
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -687,7 +702,7 @@ class DSLC_Posts extends DSLC_Module {
687
  'affect_on_change_rule' => 'margin-bottom',
688
  'section' => 'styling',
689
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
690
- 'ext' => 'px'
691
  ),
692
  array(
693
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
@@ -699,7 +714,7 @@ class DSLC_Posts extends DSLC_Module {
699
  'affect_on_change_rule' => 'margin-right',
700
  'section' => 'styling',
701
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
702
- 'ext' => 'px'
703
  ),
704
  array(
705
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -768,7 +783,7 @@ class DSLC_Posts extends DSLC_Module {
768
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
769
  'min' => 1,
770
  'max' => 100,
771
- 'ext' => '%'
772
  ),
773
 
774
  /**
@@ -880,7 +895,7 @@ class DSLC_Posts extends DSLC_Module {
880
  'increment' => 1,
881
  'section' => 'styling',
882
  'tab' => __( 'Main', 'live-composer-page-builder' ),
883
- 'ext' => 'px'
884
  ),
885
  array(
886
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -898,7 +913,7 @@ class DSLC_Posts extends DSLC_Module {
898
  'increment' => 1,
899
  'section' => 'styling',
900
  'tab' => __( 'Main', 'live-composer-page-builder' ),
901
- 'ext' => 'px'
902
  ),
903
  array(
904
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1055,7 +1070,7 @@ class DSLC_Posts extends DSLC_Module {
1055
  'affect_on_change_rule' => 'font-size',
1056
  'section' => 'styling',
1057
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1058
- 'ext' => 'px'
1059
  ),
1060
  array(
1061
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1131,7 +1146,7 @@ class DSLC_Posts extends DSLC_Module {
1131
  'affect_on_change_rule' => 'line-height',
1132
  'section' => 'styling',
1133
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1134
- 'ext' => 'px'
1135
  ),
1136
  array(
1137
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1146,7 +1161,7 @@ class DSLC_Posts extends DSLC_Module {
1146
  'affect_on_change_rule' => 'margin-bottom',
1147
  'section' => 'styling',
1148
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1149
- 'ext' => 'px'
1150
  ),
1151
  array(
1152
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1280,7 +1295,7 @@ class DSLC_Posts extends DSLC_Module {
1280
  'affect_on_change_rule' => 'font-size',
1281
  'section' => 'styling',
1282
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1283
- 'ext' => 'px'
1284
  ),
1285
  array(
1286
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
@@ -1458,7 +1473,7 @@ class DSLC_Posts extends DSLC_Module {
1458
  'affect_on_change_rule' => 'font-size',
1459
  'section' => 'styling',
1460
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1461
- 'ext' => 'px'
1462
  ),
1463
  array(
1464
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1534,7 +1549,7 @@ class DSLC_Posts extends DSLC_Module {
1534
  'affect_on_change_rule' => 'line-height',
1535
  'section' => 'styling',
1536
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1537
- 'ext' => 'px'
1538
  ),
1539
  array(
1540
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1608,7 +1623,7 @@ class DSLC_Posts extends DSLC_Module {
1608
  'affect_on_change_rule' => 'border-width',
1609
  'section' => 'styling',
1610
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1611
- 'ext' => 'px'
1612
  ),
1613
  array(
1614
  'label' => __( 'Borders', 'live-composer-page-builder' ),
@@ -1677,7 +1692,7 @@ class DSLC_Posts extends DSLC_Module {
1677
  'increment' => 1,
1678
  'section' => 'styling',
1679
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1680
- 'ext' => 'px'
1681
  ),
1682
  array(
1683
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1714,7 +1729,7 @@ class DSLC_Posts extends DSLC_Module {
1714
  'affect_on_change_rule' => 'font-size',
1715
  'section' => 'styling',
1716
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1717
- 'ext' => 'px'
1718
  ),
1719
  array(
1720
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1917,7 +1932,7 @@ class DSLC_Posts extends DSLC_Module {
1917
  'affect_on_change_rule' => 'margin-bottom',
1918
  'section' => 'responsive',
1919
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1920
- 'ext' => 'px'
1921
  ),
1922
  array(
1923
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
@@ -1929,7 +1944,7 @@ class DSLC_Posts extends DSLC_Module {
1929
  'affect_on_change_rule' => 'margin-right',
1930
  'section' => 'responsive',
1931
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1932
- 'ext' => 'px'
1933
  ),
1934
  array(
1935
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
@@ -2004,7 +2019,7 @@ class DSLC_Posts extends DSLC_Module {
2004
  'affect_on_change_rule' => 'font-size',
2005
  'section' => 'responsive',
2006
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2007
- 'ext' => 'px'
2008
  ),
2009
  array(
2010
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2019,7 +2034,7 @@ class DSLC_Posts extends DSLC_Module {
2019
  'affect_on_change_rule' => 'line-height',
2020
  'section' => 'responsive',
2021
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2022
- 'ext' => 'px'
2023
  ),
2024
  array(
2025
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2034,7 +2049,7 @@ class DSLC_Posts extends DSLC_Module {
2034
  'affect_on_change_rule' => 'margin-bottom',
2035
  'section' => 'responsive',
2036
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2037
- 'ext' => 'px'
2038
  ),
2039
  array(
2040
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
@@ -2049,7 +2064,7 @@ class DSLC_Posts extends DSLC_Module {
2049
  'affect_on_change_rule' => 'font-size',
2050
  'section' => 'responsive',
2051
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2052
- 'ext' => 'px'
2053
  ),
2054
  array(
2055
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
@@ -2109,7 +2124,7 @@ class DSLC_Posts extends DSLC_Module {
2109
  'affect_on_change_rule' => 'font-size',
2110
  'section' => 'responsive',
2111
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2112
- 'ext' => 'px'
2113
  ),
2114
  array(
2115
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2124,7 +2139,7 @@ class DSLC_Posts extends DSLC_Module {
2124
  'affect_on_change_rule' => 'line-height',
2125
  'section' => 'responsive',
2126
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2127
- 'ext' => 'px'
2128
  ),
2129
  array(
2130
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2154,7 +2169,7 @@ class DSLC_Posts extends DSLC_Module {
2154
  'affect_on_change_rule' => 'font-size',
2155
  'section' => 'responsive',
2156
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2157
- 'ext' => 'px'
2158
  ),
2159
  array(
2160
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2266,7 +2281,7 @@ class DSLC_Posts extends DSLC_Module {
2266
  'affect_on_change_rule' => 'margin-bottom',
2267
  'section' => 'responsive',
2268
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2269
- 'ext' => 'px'
2270
  ),
2271
  array(
2272
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
@@ -2278,7 +2293,7 @@ class DSLC_Posts extends DSLC_Module {
2278
  'affect_on_change_rule' => 'margin-right',
2279
  'section' => 'responsive',
2280
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2281
- 'ext' => 'px'
2282
  ),
2283
  array(
2284
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
@@ -2353,7 +2368,7 @@ class DSLC_Posts extends DSLC_Module {
2353
  'affect_on_change_rule' => 'font-size',
2354
  'section' => 'responsive',
2355
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2356
- 'ext' => 'px'
2357
  ),
2358
  array(
2359
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2368,7 +2383,7 @@ class DSLC_Posts extends DSLC_Module {
2368
  'affect_on_change_rule' => 'line-height',
2369
  'section' => 'responsive',
2370
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2371
- 'ext' => 'px'
2372
  ),
2373
  array(
2374
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2383,7 +2398,7 @@ class DSLC_Posts extends DSLC_Module {
2383
  'affect_on_change_rule' => 'margin-bottom',
2384
  'section' => 'responsive',
2385
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2386
- 'ext' => 'px'
2387
  ),
2388
  array(
2389
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
@@ -2398,7 +2413,7 @@ class DSLC_Posts extends DSLC_Module {
2398
  'affect_on_change_rule' => 'font-size',
2399
  'section' => 'responsive',
2400
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2401
- 'ext' => 'px'
2402
  ),
2403
  array(
2404
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
@@ -2458,7 +2473,7 @@ class DSLC_Posts extends DSLC_Module {
2458
  'affect_on_change_rule' => 'font-size',
2459
  'section' => 'responsive',
2460
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2461
- 'ext' => 'px'
2462
  ),
2463
  array(
2464
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2473,7 +2488,7 @@ class DSLC_Posts extends DSLC_Module {
2473
  'affect_on_change_rule' => 'line-height',
2474
  'section' => 'responsive',
2475
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2476
- 'ext' => 'px'
2477
  ),
2478
  array(
2479
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2503,7 +2518,7 @@ class DSLC_Posts extends DSLC_Module {
2503
  'affect_on_change_rule' => 'font-size',
2504
  'section' => 'responsive',
2505
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2506
- 'ext' => 'px'
2507
  ),
2508
  array(
2509
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2565,7 +2580,12 @@ class DSLC_Posts extends DSLC_Module {
2565
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2566
 
2567
  }
2568
-
 
 
 
 
 
2569
  function output( $options ) {
2570
 
2571
  if ( is_feed() ) {
@@ -2972,9 +2992,9 @@ class DSLC_Posts extends DSLC_Module {
2972
 
2973
  <?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 ) ) ) : ?>
2974
 
2975
- <div class="dslc-post-main dslc-cpt-post-main <?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']; ?>">
2976
 
2977
- <div class="dslc-cpt-post-main-inner dslc-init-<?php echo $options['main_position']; ?>">
2978
 
2979
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2980
 
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  // Get registered post types.
271
  'value' => 'filters'
272
  ),
273
  ),
274
+ 'section' => 'styling',
275
  ),
276
 
277
  array(
301
  'value' => 'button',
302
  ),
303
  ),
304
+ 'section' => 'styling',
305
  ),
306
 
307
  array(
319
  'value' => 'circles'
320
  ),
321
  ),
322
+ 'section' => 'styling',
323
  ),
324
 
325
  /**
404
  'max' => 100,
405
  'increment' => 1,
406
  'section' => 'styling',
407
+ 'ext' => 'px',
408
  ),
409
  array(
410
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
421
  'max' => 100,
422
  'increment' => 1,
423
  'section' => 'styling',
424
+ 'ext' => 'px',
425
  ),
426
  array(
427
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
669
  'increment' => 1,
670
  'section' => 'styling',
671
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
672
+ 'ext' => 'px',
673
  ),
674
  array(
675
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
687
  'increment' => 1,
688
  'section' => 'styling',
689
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
690
+ 'ext' => 'px',
691
  ),
692
  array(
693
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
702
  'affect_on_change_rule' => 'margin-bottom',
703
  'section' => 'styling',
704
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
705
+ 'ext' => 'px',
706
  ),
707
  array(
708
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
714
  'affect_on_change_rule' => 'margin-right',
715
  'section' => 'styling',
716
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
717
+ 'ext' => 'px',
718
  ),
719
  array(
720
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
783
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
784
  'min' => 1,
785
  'max' => 100,
786
+ 'ext' => '%',
787
  ),
788
 
789
  /**
895
  'increment' => 1,
896
  'section' => 'styling',
897
  'tab' => __( 'Main', 'live-composer-page-builder' ),
898
+ 'ext' => 'px',
899
  ),
900
  array(
901
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
913
  'increment' => 1,
914
  'section' => 'styling',
915
  'tab' => __( 'Main', 'live-composer-page-builder' ),
916
+ 'ext' => 'px',
917
  ),
918
  array(
919
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1070
  'affect_on_change_rule' => 'font-size',
1071
  'section' => 'styling',
1072
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1073
+ 'ext' => 'px',
1074
  ),
1075
  array(
1076
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1146
  'affect_on_change_rule' => 'line-height',
1147
  'section' => 'styling',
1148
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1149
+ 'ext' => 'px',
1150
  ),
1151
  array(
1152
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1161
  'affect_on_change_rule' => 'margin-bottom',
1162
  'section' => 'styling',
1163
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1164
+ 'ext' => 'px',
1165
  ),
1166
  array(
1167
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1295
  'affect_on_change_rule' => 'font-size',
1296
  'section' => 'styling',
1297
  'tab' => __( 'Meta', 'live-composer-page-builder' ),
1298
+ 'ext' => 'px',
1299
  ),
1300
  array(
1301
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1473
  'affect_on_change_rule' => 'font-size',
1474
  'section' => 'styling',
1475
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1476
+ 'ext' => 'px',
1477
  ),
1478
  array(
1479
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1549
  'affect_on_change_rule' => 'line-height',
1550
  'section' => 'styling',
1551
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1552
+ 'ext' => 'px',
1553
  ),
1554
  array(
1555
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1623
  'affect_on_change_rule' => 'border-width',
1624
  'section' => 'styling',
1625
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1626
+ 'ext' => 'px',
1627
  ),
1628
  array(
1629
  'label' => __( 'Borders', 'live-composer-page-builder' ),
1692
  'increment' => 1,
1693
  'section' => 'styling',
1694
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1695
+ 'ext' => 'px',
1696
  ),
1697
  array(
1698
  'label' => __( 'Color', 'live-composer-page-builder' ),
1729
  'affect_on_change_rule' => 'font-size',
1730
  'section' => 'styling',
1731
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1732
+ 'ext' => 'px',
1733
  ),
1734
  array(
1735
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1932
  'affect_on_change_rule' => 'margin-bottom',
1933
  'section' => 'responsive',
1934
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1935
+ 'ext' => 'px',
1936
  ),
1937
  array(
1938
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
1944
  'affect_on_change_rule' => 'margin-right',
1945
  'section' => 'responsive',
1946
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1947
+ 'ext' => 'px',
1948
  ),
1949
  array(
1950
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
2019
  'affect_on_change_rule' => 'font-size',
2020
  'section' => 'responsive',
2021
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2022
+ 'ext' => 'px',
2023
  ),
2024
  array(
2025
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2034
  'affect_on_change_rule' => 'line-height',
2035
  'section' => 'responsive',
2036
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2037
+ 'ext' => 'px',
2038
  ),
2039
  array(
2040
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2049
  'affect_on_change_rule' => 'margin-bottom',
2050
  'section' => 'responsive',
2051
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2052
+ 'ext' => 'px',
2053
  ),
2054
  array(
2055
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
2064
  'affect_on_change_rule' => 'font-size',
2065
  'section' => 'responsive',
2066
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2067
+ 'ext' => 'px',
2068
  ),
2069
  array(
2070
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
2124
  'affect_on_change_rule' => 'font-size',
2125
  'section' => 'responsive',
2126
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2127
+ 'ext' => 'px',
2128
  ),
2129
  array(
2130
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2139
  'affect_on_change_rule' => 'line-height',
2140
  'section' => 'responsive',
2141
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2142
+ 'ext' => 'px',
2143
  ),
2144
  array(
2145
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2169
  'affect_on_change_rule' => 'font-size',
2170
  'section' => 'responsive',
2171
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2172
+ 'ext' => 'px',
2173
  ),
2174
  array(
2175
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2281
  'affect_on_change_rule' => 'margin-bottom',
2282
  'section' => 'responsive',
2283
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2284
+ 'ext' => 'px',
2285
  ),
2286
  array(
2287
  'label' => __( 'Thumbnail - Margin Right', 'live-composer-page-builder' ),
2293
  'affect_on_change_rule' => 'margin-right',
2294
  'section' => 'responsive',
2295
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2296
+ 'ext' => 'px',
2297
  ),
2298
  array(
2299
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
2368
  'affect_on_change_rule' => 'font-size',
2369
  'section' => 'responsive',
2370
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2371
+ 'ext' => 'px',
2372
  ),
2373
  array(
2374
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2383
  'affect_on_change_rule' => 'line-height',
2384
  'section' => 'responsive',
2385
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2386
+ 'ext' => 'px',
2387
  ),
2388
  array(
2389
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2398
  'affect_on_change_rule' => 'margin-bottom',
2399
  'section' => 'responsive',
2400
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2401
+ 'ext' => 'px',
2402
  ),
2403
  array(
2404
  'label' => __( 'Meta - Font Size', 'live-composer-page-builder' ),
2413
  'affect_on_change_rule' => 'font-size',
2414
  'section' => 'responsive',
2415
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2416
+ 'ext' => 'px',
2417
  ),
2418
  array(
2419
  'label' => __( 'Meta - Margin Bottom', 'live-composer-page-builder' ),
2473
  'affect_on_change_rule' => 'font-size',
2474
  'section' => 'responsive',
2475
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2476
+ 'ext' => 'px',
2477
  ),
2478
  array(
2479
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2488
  'affect_on_change_rule' => 'line-height',
2489
  'section' => 'responsive',
2490
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2491
+ 'ext' => 'px',
2492
  ),
2493
  array(
2494
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2518
  'affect_on_change_rule' => 'font-size',
2519
  'section' => 'responsive',
2520
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2521
+ 'ext' => 'px',
2522
  ),
2523
  array(
2524
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2580
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2581
 
2582
  }
2583
+ /**
2584
+ * Module HTML output.
2585
+ *
2586
+ * @param array $options Module options to fill the module template.
2587
+ * @return void
2588
+ */
2589
  function output( $options ) {
2590
 
2591
  if ( is_feed() ) {
2992
 
2993
  <?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 ) ) ) : ?>
2994
 
2995
+ <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']; ?>">
2996
 
2997
+ <div class="dslc-cpt-post-main-inner dslc-init-target">
2998
 
2999
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
3000
 
modules/progress-bars/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Progress_Bars extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -123,9 +138,8 @@ class DSLC_Progress_Bars extends DSLC_Module {
123
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
124
  'id' => 'css_wrapper_border_width',
125
  'min' => 0,
126
- 'max' => 10,
127
  'increment' => 1,
128
-
129
  'std' => '0',
130
  'type' => 'slider',
131
  'refresh_on_change' => false,
@@ -177,7 +191,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
177
  'max' => 100,
178
  'increment' => 1,
179
  'section' => 'styling',
180
- 'ext' => 'px'
181
  ),
182
  array(
183
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -194,7 +208,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
194
  'max' => 100,
195
  'increment' => 1,
196
  'section' => 'styling',
197
- 'ext' => 'px'
198
  ),
199
  array(
200
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -281,7 +295,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
281
  'affect_on_change_rule' => 'font-size',
282
  'section' => 'styling',
283
  'tab' => __( 'Title', 'live-composer-page-builder' ),
284
- 'ext' => 'px'
285
  ),
286
  array(
287
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -357,7 +371,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
357
  'affect_on_change_rule' => 'margin-bottom',
358
  'section' => 'styling',
359
  'tab' => __( 'Title', 'live-composer-page-builder' ),
360
- 'ext' => 'px'
361
  ),
362
  array(
363
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -438,9 +452,8 @@ class DSLC_Progress_Bars extends DSLC_Module {
438
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
439
  'id' => 'css_loader_border_width',
440
  'min' => 0,
441
- 'max' => 10,
442
  'increment' => 1,
443
-
444
  'std' => '0',
445
  'type' => 'slider',
446
  'refresh_on_change' => false,
@@ -646,7 +659,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
646
  'affect_on_change_rule' => 'font-size',
647
  'section' => 'responsive',
648
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
649
- 'ext' => 'px'
650
  ),
651
  array(
652
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -661,7 +674,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
661
  'affect_on_change_rule' => 'margin-bottom',
662
  'section' => 'responsive',
663
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
664
- 'ext' => 'px'
665
  ),
666
  array(
667
  'label' => __( 'Title - Padding Horizontal', 'live-composer-page-builder' ),
@@ -831,7 +844,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
831
  'affect_on_change_rule' => 'font-size',
832
  'section' => 'responsive',
833
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
834
- 'ext' => 'px'
835
  ),
836
  array(
837
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -846,7 +859,7 @@ class DSLC_Progress_Bars extends DSLC_Module {
846
  'affect_on_change_rule' => 'margin-bottom',
847
  'section' => 'responsive',
848
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
849
- 'ext' => 'px'
850
  ),
851
  array(
852
  'label' => __( 'Title - Padding Horizontal', 'live-composer-page-builder' ),
@@ -944,7 +957,12 @@ class DSLC_Progress_Bars extends DSLC_Module {
944
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
945
 
946
  }
947
-
 
 
 
 
 
948
  function output( $options ) {
949
 
950
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
138
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
139
  'id' => 'css_wrapper_border_width',
140
  'min' => 0,
141
+ 'max' => 1000,
142
  'increment' => 1,
 
143
  'std' => '0',
144
  'type' => 'slider',
145
  'refresh_on_change' => false,
191
  'max' => 100,
192
  'increment' => 1,
193
  'section' => 'styling',
194
+ 'ext' => 'px',
195
  ),
196
  array(
197
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
208
  'max' => 100,
209
  'increment' => 1,
210
  'section' => 'styling',
211
+ 'ext' => 'px',
212
  ),
213
  array(
214
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
295
  'affect_on_change_rule' => 'font-size',
296
  'section' => 'styling',
297
  'tab' => __( 'Title', 'live-composer-page-builder' ),
298
+ 'ext' => 'px',
299
  ),
300
  array(
301
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
371
  'affect_on_change_rule' => 'margin-bottom',
372
  'section' => 'styling',
373
  'tab' => __( 'Title', 'live-composer-page-builder' ),
374
+ 'ext' => 'px',
375
  ),
376
  array(
377
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
452
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
453
  'id' => 'css_loader_border_width',
454
  'min' => 0,
455
+ 'max' => 1000,
456
  'increment' => 1,
 
457
  'std' => '0',
458
  'type' => 'slider',
459
  'refresh_on_change' => false,
659
  'affect_on_change_rule' => 'font-size',
660
  'section' => 'responsive',
661
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
662
+ 'ext' => 'px',
663
  ),
664
  array(
665
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
674
  'affect_on_change_rule' => 'margin-bottom',
675
  'section' => 'responsive',
676
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
677
+ 'ext' => 'px',
678
  ),
679
  array(
680
  'label' => __( 'Title - Padding Horizontal', 'live-composer-page-builder' ),
844
  'affect_on_change_rule' => 'font-size',
845
  'section' => 'responsive',
846
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
847
+ 'ext' => 'px',
848
  ),
849
  array(
850
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
859
  'affect_on_change_rule' => 'margin-bottom',
860
  'section' => 'responsive',
861
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
862
+ 'ext' => 'px',
863
  ),
864
  array(
865
  'label' => __( 'Title - Padding Horizontal', 'live-composer-page-builder' ),
957
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
958
 
959
  }
960
+ /**
961
+ * Module HTML output.
962
+ *
963
+ * @param array $options Module options to fill the module template.
964
+ * @return void
965
+ */
966
  function output( $options ) {
967
 
968
  global $dslc_active;
modules/projects/module.php CHANGED
@@ -25,6 +25,21 @@ class DSLC_Projects extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $cats = get_terms( 'dslc_projects_cats' );
@@ -294,7 +309,7 @@ class DSLC_Projects extends DSLC_Module {
294
  'value' => 'filters'
295
  ),
296
  ),
297
- 'section' => 'styling'
298
  ),
299
 
300
  array(
@@ -324,7 +339,7 @@ class DSLC_Projects extends DSLC_Module {
324
  'value' => 'button',
325
  ),
326
  ),
327
- 'section' => 'styling'
328
  ),
329
 
330
  array(
@@ -342,7 +357,7 @@ class DSLC_Projects extends DSLC_Module {
342
  'value' => 'circles'
343
  ),
344
  ),
345
- 'section' => 'styling'
346
  ),
347
  array(
348
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -505,9 +520,8 @@ class DSLC_Projects extends DSLC_Module {
505
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
506
  'id' => 'css_thumb_border_width',
507
  'min' => 0,
508
- 'max' => 10,
509
  'increment' => 1,
510
-
511
  'std' => '0',
512
  'type' => 'slider',
513
  'refresh_on_change' => false,
@@ -562,7 +576,7 @@ class DSLC_Projects extends DSLC_Module {
562
  'increment' => 1,
563
  'section' => 'styling',
564
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
565
- 'ext' => 'px'
566
  ),
567
  array(
568
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -580,7 +594,7 @@ class DSLC_Projects extends DSLC_Module {
580
  'increment' => 1,
581
  'section' => 'styling',
582
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
583
- 'ext' => 'px'
584
  ),
585
  array(
586
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -664,7 +678,7 @@ class DSLC_Projects extends DSLC_Module {
664
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
665
  'min' => 1,
666
  'max' => 100,
667
- 'ext' => '%'
668
  ),
669
 
670
  /**
@@ -776,7 +790,7 @@ class DSLC_Projects extends DSLC_Module {
776
  'increment' => 1,
777
  'section' => 'styling',
778
  'tab' => __( 'Main', 'live-composer-page-builder' ),
779
- 'ext' => 'px'
780
  ),
781
  array(
782
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -794,7 +808,7 @@ class DSLC_Projects extends DSLC_Module {
794
  'increment' => 1,
795
  'section' => 'styling',
796
  'tab' => __( 'Main', 'live-composer-page-builder' ),
797
- 'ext' => 'px'
798
  ),
799
  array(
800
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
@@ -953,7 +967,7 @@ class DSLC_Projects extends DSLC_Module {
953
  'affect_on_change_rule' => 'font-size',
954
  'section' => 'styling',
955
  'tab' => __( 'Title', 'live-composer-page-builder' ),
956
- 'ext' => 'px'
957
  ),
958
  array(
959
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1029,7 +1043,7 @@ class DSLC_Projects extends DSLC_Module {
1029
  'affect_on_change_rule' => 'line-height',
1030
  'section' => 'styling',
1031
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1032
- 'ext' => 'px'
1033
  ),
1034
  array(
1035
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1044,7 +1058,7 @@ class DSLC_Projects extends DSLC_Module {
1044
  'affect_on_change_rule' => 'margin-bottom',
1045
  'section' => 'styling',
1046
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1047
- 'ext' => 'px'
1048
  ),
1049
  array(
1050
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1104,7 +1118,7 @@ class DSLC_Projects extends DSLC_Module {
1104
  'affect_on_change_rule' => 'font-size',
1105
  'section' => 'styling',
1106
  'tab' => __( 'Categories', 'live-composer-page-builder' ),
1107
- 'ext' => 'px'
1108
  ),
1109
  array(
1110
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1201,7 +1215,7 @@ class DSLC_Projects extends DSLC_Module {
1201
  'affect_on_change_rule' => 'line-height',
1202
  'section' => 'styling',
1203
  'tab' => __( 'Categories', 'live-composer-page-builder' ),
1204
- 'ext' => 'px'
1205
  ),
1206
  array(
1207
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1314,7 +1328,7 @@ class DSLC_Projects extends DSLC_Module {
1314
  'affect_on_change_rule' => 'font-size',
1315
  'section' => 'styling',
1316
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1317
- 'ext' => 'px'
1318
  ),
1319
  array(
1320
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1390,7 +1404,7 @@ class DSLC_Projects extends DSLC_Module {
1390
  'affect_on_change_rule' => 'line-height',
1391
  'section' => 'styling',
1392
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1393
- 'ext' => 'px'
1394
  ),
1395
  array(
1396
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1465,9 +1479,8 @@ class DSLC_Projects extends DSLC_Module {
1465
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1466
  'id' => 'css_button_border_width',
1467
  'min' => 0,
1468
- 'max' => 10,
1469
  'increment' => 1,
1470
-
1471
  'std' => '0',
1472
  'type' => 'slider',
1473
  'refresh_on_change' => false,
@@ -1475,7 +1488,7 @@ class DSLC_Projects extends DSLC_Module {
1475
  'affect_on_change_rule' => 'border-width',
1476
  'section' => 'styling',
1477
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1478
- 'ext' => 'px'
1479
  ),
1480
  array(
1481
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
@@ -1515,7 +1528,7 @@ class DSLC_Projects extends DSLC_Module {
1515
  'increment' => 1,
1516
  'section' => 'styling',
1517
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1518
- 'ext' => 'px'
1519
  ),
1520
  array(
1521
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1552,7 +1565,7 @@ class DSLC_Projects extends DSLC_Module {
1552
  'affect_on_change_rule' => 'font-size',
1553
  'section' => 'styling',
1554
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1555
- 'ext' => 'px'
1556
  ),
1557
  array(
1558
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1819,7 +1832,7 @@ class DSLC_Projects extends DSLC_Module {
1819
  'affect_on_change_rule' => 'font-size',
1820
  'section' => 'responsive',
1821
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1822
- 'ext' => 'px'
1823
  ),
1824
  array(
1825
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -1834,7 +1847,7 @@ class DSLC_Projects extends DSLC_Module {
1834
  'affect_on_change_rule' => 'line-height',
1835
  'section' => 'responsive',
1836
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1837
- 'ext' => 'px'
1838
  ),
1839
  array(
1840
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -1849,7 +1862,7 @@ class DSLC_Projects extends DSLC_Module {
1849
  'affect_on_change_rule' => 'margin-bottom',
1850
  'section' => 'responsive',
1851
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1852
- 'ext' => 'px'
1853
  ),
1854
  array(
1855
  'label' => __( 'Categories - Font Size', 'live-composer-page-builder' ),
@@ -1864,7 +1877,7 @@ class DSLC_Projects extends DSLC_Module {
1864
  'affect_on_change_rule' => 'font-size',
1865
  'section' => 'responsive',
1866
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1867
- 'ext' => 'px'
1868
  ),
1869
  array(
1870
  'label' => __( 'Categories - Line Height', 'live-composer-page-builder' ),
@@ -1879,7 +1892,7 @@ class DSLC_Projects extends DSLC_Module {
1879
  'affect_on_change_rule' => 'line-height',
1880
  'section' => 'responsive',
1881
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1882
- 'ext' => 'px'
1883
  ),
1884
  array(
1885
  'label' => __( 'Categories - Margin Bottom', 'live-composer-page-builder' ),
@@ -1906,7 +1919,7 @@ class DSLC_Projects extends DSLC_Module {
1906
  'affect_on_change_rule' => 'font-size',
1907
  'section' => 'responsive',
1908
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1909
- 'ext' => 'px'
1910
  ),
1911
  array(
1912
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -1921,7 +1934,7 @@ class DSLC_Projects extends DSLC_Module {
1921
  'affect_on_change_rule' => 'line-height',
1922
  'section' => 'responsive',
1923
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1924
- 'ext' => 'px'
1925
  ),
1926
  array(
1927
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -1951,7 +1964,7 @@ class DSLC_Projects extends DSLC_Module {
1951
  'affect_on_change_rule' => 'font-size',
1952
  'section' => 'responsive',
1953
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1954
- 'ext' => 'px'
1955
  ),
1956
  array(
1957
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2138,7 +2151,7 @@ class DSLC_Projects extends DSLC_Module {
2138
  'affect_on_change_rule' => 'font-size',
2139
  'section' => 'responsive',
2140
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2141
- 'ext' => 'px'
2142
  ),
2143
  array(
2144
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2153,7 +2166,7 @@ class DSLC_Projects extends DSLC_Module {
2153
  'affect_on_change_rule' => 'line-height',
2154
  'section' => 'responsive',
2155
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2156
- 'ext' => 'px'
2157
  ),
2158
  array(
2159
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2168,7 +2181,7 @@ class DSLC_Projects extends DSLC_Module {
2168
  'affect_on_change_rule' => 'margin-bottom',
2169
  'section' => 'responsive',
2170
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2171
- 'ext' => 'px'
2172
  ),
2173
  array(
2174
  'label' => __( 'Categories - Font Size', 'live-composer-page-builder' ),
@@ -2183,7 +2196,7 @@ class DSLC_Projects extends DSLC_Module {
2183
  'affect_on_change_rule' => 'font-size',
2184
  'section' => 'responsive',
2185
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2186
- 'ext' => 'px'
2187
  ),
2188
  array(
2189
  'label' => __( 'Categories - Line Height', 'live-composer-page-builder' ),
@@ -2198,7 +2211,7 @@ class DSLC_Projects extends DSLC_Module {
2198
  'affect_on_change_rule' => 'line-height',
2199
  'section' => 'responsive',
2200
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2201
- 'ext' => 'px'
2202
  ),
2203
  array(
2204
  'label' => __( 'Categories - Margin Bottom', 'live-composer-page-builder' ),
@@ -2225,7 +2238,7 @@ class DSLC_Projects extends DSLC_Module {
2225
  'affect_on_change_rule' => 'font-size',
2226
  'section' => 'responsive',
2227
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2228
- 'ext' => 'px'
2229
  ),
2230
  array(
2231
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2240,7 +2253,7 @@ class DSLC_Projects extends DSLC_Module {
2240
  'affect_on_change_rule' => 'line-height',
2241
  'section' => 'responsive',
2242
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2243
- 'ext' => 'px'
2244
  ),
2245
  array(
2246
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2270,7 +2283,7 @@ class DSLC_Projects extends DSLC_Module {
2270
  'affect_on_change_rule' => 'font-size',
2271
  'section' => 'responsive',
2272
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2273
- 'ext' => 'px'
2274
  ),
2275
  array(
2276
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -2334,7 +2347,12 @@ class DSLC_Projects extends DSLC_Module {
2334
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2335
 
2336
  }
2337
-
 
 
 
 
 
2338
  function output( $options ) {
2339
 
2340
  if ( is_feed() ) {
@@ -2727,9 +2745,9 @@ class DSLC_Projects extends DSLC_Module {
2727
 
2728
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'categories', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
2729
 
2730
- <div class="dslc-project-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-project-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']; ?>">
2731
 
2732
- <div class="dslc-project-main-inner dslc-init-<?php echo $options['main_position']; ?>">
2733
 
2734
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2735
 
25
 
26
  }
27
 
28
+ /**
29
+ * Module options.
30
+ * Function build array with all the module functionality and styling options.
31
+ * Based on this array Live Composer builds module settings panel.
32
+ * – Every array inside $dslc_options means one option = one control.
33
+ * – Every option should have unique (for this module) id.
34
+ * – Options divides on "Functionality" and "Styling".
35
+ * – Styling options start with css_XXXXXXX
36
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
37
+ * – Options can be hidden.
38
+ * – Options can have a default value.
39
+ * – Options can request refresh from server on change or do live refresh via CSS.
40
+ *
41
+ * @return array All the module options in array.
42
+ */
43
  function options() {
44
 
45
  $cats = get_terms( 'dslc_projects_cats' );
309
  'value' => 'filters'
310
  ),
311
  ),
312
+ 'section' => 'styling',
313
  ),
314
 
315
  array(
339
  'value' => 'button',
340
  ),
341
  ),
342
+ 'section' => 'styling',
343
  ),
344
 
345
  array(
357
  'value' => 'circles'
358
  ),
359
  ),
360
+ 'section' => 'styling',
361
  ),
362
  array(
363
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
520
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
521
  'id' => 'css_thumb_border_width',
522
  'min' => 0,
523
+ 'max' => 1000,
524
  'increment' => 1,
 
525
  'std' => '0',
526
  'type' => 'slider',
527
  'refresh_on_change' => false,
576
  'increment' => 1,
577
  'section' => 'styling',
578
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
579
+ 'ext' => 'px',
580
  ),
581
  array(
582
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
594
  'increment' => 1,
595
  'section' => 'styling',
596
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
597
+ 'ext' => 'px',
598
  ),
599
  array(
600
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
678
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
679
  'min' => 1,
680
  'max' => 100,
681
+ 'ext' => '%',
682
  ),
683
 
684
  /**
790
  'increment' => 1,
791
  'section' => 'styling',
792
  'tab' => __( 'Main', 'live-composer-page-builder' ),
793
+ 'ext' => 'px',
794
  ),
795
  array(
796
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
808
  'increment' => 1,
809
  'section' => 'styling',
810
  'tab' => __( 'Main', 'live-composer-page-builder' ),
811
+ 'ext' => 'px',
812
  ),
813
  array(
814
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
967
  'affect_on_change_rule' => 'font-size',
968
  'section' => 'styling',
969
  'tab' => __( 'Title', 'live-composer-page-builder' ),
970
+ 'ext' => 'px',
971
  ),
972
  array(
973
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1043
  'affect_on_change_rule' => 'line-height',
1044
  'section' => 'styling',
1045
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1046
+ 'ext' => 'px',
1047
  ),
1048
  array(
1049
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1058
  'affect_on_change_rule' => 'margin-bottom',
1059
  'section' => 'styling',
1060
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1061
+ 'ext' => 'px',
1062
  ),
1063
  array(
1064
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1118
  'affect_on_change_rule' => 'font-size',
1119
  'section' => 'styling',
1120
  'tab' => __( 'Categories', 'live-composer-page-builder' ),
1121
+ 'ext' => 'px',
1122
  ),
1123
  array(
1124
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1215
  'affect_on_change_rule' => 'line-height',
1216
  'section' => 'styling',
1217
  'tab' => __( 'Categories', 'live-composer-page-builder' ),
1218
+ 'ext' => 'px',
1219
  ),
1220
  array(
1221
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1328
  'affect_on_change_rule' => 'font-size',
1329
  'section' => 'styling',
1330
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1331
+ 'ext' => 'px',
1332
  ),
1333
  array(
1334
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1404
  'affect_on_change_rule' => 'line-height',
1405
  'section' => 'styling',
1406
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1407
+ 'ext' => 'px',
1408
  ),
1409
  array(
1410
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1479
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1480
  'id' => 'css_button_border_width',
1481
  'min' => 0,
1482
+ 'max' => 1000,
1483
  'increment' => 1,
 
1484
  'std' => '0',
1485
  'type' => 'slider',
1486
  'refresh_on_change' => false,
1488
  'affect_on_change_rule' => 'border-width',
1489
  'section' => 'styling',
1490
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1491
+ 'ext' => 'px',
1492
  ),
1493
  array(
1494
  'label' => __( 'Border Color', 'live-composer-page-builder' ),
1528
  'increment' => 1,
1529
  'section' => 'styling',
1530
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1531
+ 'ext' => 'px',
1532
  ),
1533
  array(
1534
  'label' => __( 'Color', 'live-composer-page-builder' ),
1565
  'affect_on_change_rule' => 'font-size',
1566
  'section' => 'styling',
1567
  'tab' => __( 'Button', 'live-composer-page-builder' ),
1568
+ 'ext' => 'px',
1569
  ),
1570
  array(
1571
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1832
  'affect_on_change_rule' => 'font-size',
1833
  'section' => 'responsive',
1834
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1835
+ 'ext' => 'px',
1836
  ),
1837
  array(
1838
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
1847
  'affect_on_change_rule' => 'line-height',
1848
  'section' => 'responsive',
1849
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1850
+ 'ext' => 'px',
1851
  ),
1852
  array(
1853
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
1862
  'affect_on_change_rule' => 'margin-bottom',
1863
  'section' => 'responsive',
1864
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1865
+ 'ext' => 'px',
1866
  ),
1867
  array(
1868
  'label' => __( 'Categories - Font Size', 'live-composer-page-builder' ),
1877
  'affect_on_change_rule' => 'font-size',
1878
  'section' => 'responsive',
1879
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1880
+ 'ext' => 'px',
1881
  ),
1882
  array(
1883
  'label' => __( 'Categories - Line Height', 'live-composer-page-builder' ),
1892
  'affect_on_change_rule' => 'line-height',
1893
  'section' => 'responsive',
1894
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1895
+ 'ext' => 'px',
1896
  ),
1897
  array(
1898
  'label' => __( 'Categories - Margin Bottom', 'live-composer-page-builder' ),
1919
  'affect_on_change_rule' => 'font-size',
1920
  'section' => 'responsive',
1921
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1922
+ 'ext' => 'px',
1923
  ),
1924
  array(
1925
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
1934
  'affect_on_change_rule' => 'line-height',
1935
  'section' => 'responsive',
1936
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1937
+ 'ext' => 'px',
1938
  ),
1939
  array(
1940
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
1964
  'affect_on_change_rule' => 'font-size',
1965
  'section' => 'responsive',
1966
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1967
+ 'ext' => 'px',
1968
  ),
1969
  array(
1970
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2151
  'affect_on_change_rule' => 'font-size',
2152
  'section' => 'responsive',
2153
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2154
+ 'ext' => 'px',
2155
  ),
2156
  array(
2157
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2166
  'affect_on_change_rule' => 'line-height',
2167
  'section' => 'responsive',
2168
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2169
+ 'ext' => 'px',
2170
  ),
2171
  array(
2172
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2181
  'affect_on_change_rule' => 'margin-bottom',
2182
  'section' => 'responsive',
2183
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2184
+ 'ext' => 'px',
2185
  ),
2186
  array(
2187
  'label' => __( 'Categories - Font Size', 'live-composer-page-builder' ),
2196
  'affect_on_change_rule' => 'font-size',
2197
  'section' => 'responsive',
2198
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2199
+ 'ext' => 'px',
2200
  ),
2201
  array(
2202
  'label' => __( 'Categories - Line Height', 'live-composer-page-builder' ),
2211
  'affect_on_change_rule' => 'line-height',
2212
  'section' => 'responsive',
2213
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2214
+ 'ext' => 'px',
2215
  ),
2216
  array(
2217
  'label' => __( 'Categories - Margin Bottom', 'live-composer-page-builder' ),
2238
  'affect_on_change_rule' => 'font-size',
2239
  'section' => 'responsive',
2240
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2241
+ 'ext' => 'px',
2242
  ),
2243
  array(
2244
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2253
  'affect_on_change_rule' => 'line-height',
2254
  'section' => 'responsive',
2255
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2256
+ 'ext' => 'px',
2257
  ),
2258
  array(
2259
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2283
  'affect_on_change_rule' => 'font-size',
2284
  'section' => 'responsive',
2285
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2286
+ 'ext' => 'px',
2287
  ),
2288
  array(
2289
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
2347
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2348
 
2349
  }
2350
+ /**
2351
+ * Module HTML output.
2352
+ *
2353
+ * @param array $options Module options to fill the module template.
2354
+ * @return void
2355
+ */
2356
  function output( $options ) {
2357
 
2358
  if ( is_feed() ) {
2745
 
2746
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'categories', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'button', $post_elements ) ) ) : ?>
2747
 
2748
+ <div class="dslc-project-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-project-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']; ?>">
2749
 
2750
+ <div class="dslc-project-main-inner dslc-init-target">
2751
 
2752
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2753
 
modules/separator/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Separator extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -214,9 +229,8 @@ class DSLC_Separator extends DSLC_Module {
214
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
215
  'id' => 'css_main_border_width',
216
  'min' => 0,
217
- 'max' => 10,
218
  'increment' => 1,
219
-
220
  'std' => '0',
221
  'type' => 'slider',
222
  'refresh_on_change' => false,
@@ -393,7 +407,12 @@ class DSLC_Separator extends DSLC_Module {
393
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
394
 
395
  }
396
-
 
 
 
 
 
397
  function output( $options ) {
398
 
399
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
229
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
230
  'id' => 'css_main_border_width',
231
  'min' => 0,
232
+ 'max' => 1000,
233
  'increment' => 1,
 
234
  'std' => '0',
235
  'type' => 'slider',
236
  'refresh_on_change' => false,
407
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
408
 
409
  }
410
+ /**
411
+ * Module HTML output.
412
+ *
413
+ * @param array $options Module options to fill the module template.
414
+ * @return void
415
+ */
416
  function output( $options ) {
417
 
418
  global $dslc_active;
modules/sliders/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Sliders extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  // Get Rev Sliders
@@ -82,7 +97,12 @@ class DSLC_Sliders extends DSLC_Module {
82
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
83
 
84
  }
85
-
 
 
 
 
 
86
  function output( $options ) {
87
 
88
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  // Get Rev Sliders
97
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
98
 
99
  }
100
+ /**
101
+ * Module HTML output.
102
+ *
103
+ * @param array $options Module options to fill the module template.
104
+ * @return void
105
+ */
106
  function output( $options ) {
107
 
108
  global $dslc_active;
modules/social/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Social extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -206,9 +221,8 @@ class DSLC_Social extends DSLC_Module {
206
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
207
  'id' => 'css_border_width',
208
  'min' => 0,
209
- 'max' => 10,
210
  'increment' => 1,
211
-
212
  'std' => '0',
213
  'type' => 'slider',
214
  'refresh_on_change' => false,
@@ -383,7 +397,7 @@ class DSLC_Social extends DSLC_Module {
383
  'affect_on_change_el' => 'ul.dslc-social a.dslc-social-icon',
384
  'affect_on_change_rule' => 'width,height',
385
  'section' => 'styling',
386
- 'ext' => 'px'
387
  ),
388
  array(
389
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -394,7 +408,7 @@ class DSLC_Social extends DSLC_Module {
394
  'affect_on_change_el' => 'ul.dslc-social li',
395
  'affect_on_change_rule' => 'margin-right',
396
  'section' => 'styling',
397
- 'ext' => 'px'
398
  ),
399
 
400
  /* Icon */
@@ -434,7 +448,7 @@ class DSLC_Social extends DSLC_Module {
434
  'affect_on_change_rule' => 'font-size',
435
  'section' => 'styling',
436
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
437
- 'ext' => 'px'
438
  ),
439
 
440
  /* Label */
@@ -463,7 +477,7 @@ class DSLC_Social extends DSLC_Module {
463
  'affect_on_change_rule' => 'font-size',
464
  'section' => 'styling',
465
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
466
- 'ext' => 'px'
467
  ),
468
  array(
469
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -562,7 +576,7 @@ class DSLC_Social extends DSLC_Module {
562
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
563
  'ext' => 'px',
564
  'min' => -50,
565
- 'max' => 50
566
  ),
567
  array(
568
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -577,7 +591,7 @@ class DSLC_Social extends DSLC_Module {
577
  'affect_on_change_rule' => 'line-height',
578
  'section' => 'styling',
579
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
580
- 'ext' => 'px'
581
  ),
582
  array(
583
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
@@ -589,7 +603,7 @@ class DSLC_Social extends DSLC_Module {
589
  'affect_on_change_rule' => 'margin-left',
590
  'section' => 'styling',
591
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
592
- 'ext' => 'px'
593
  ),
594
  array(
595
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -668,7 +682,7 @@ class DSLC_Social extends DSLC_Module {
668
  'affect_on_change_rule' => 'width,height',
669
  'section' => 'responsive',
670
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
671
- 'ext' => 'px'
672
  ),
673
  array(
674
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
@@ -683,7 +697,7 @@ class DSLC_Social extends DSLC_Module {
683
  'affect_on_change_rule' => 'font-size',
684
  'section' => 'responsive',
685
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
686
- 'ext' => 'px'
687
  ),
688
  array(
689
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -695,7 +709,7 @@ class DSLC_Social extends DSLC_Module {
695
  'affect_on_change_rule' => 'margin-right',
696
  'section' => 'responsive',
697
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
698
- 'ext' => 'px'
699
  ),
700
 
701
  /**
@@ -745,7 +759,7 @@ class DSLC_Social extends DSLC_Module {
745
  'affect_on_change_rule' => 'width,height',
746
  'section' => 'responsive',
747
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
748
- 'ext' => 'px'
749
  ),
750
  array(
751
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
@@ -760,7 +774,7 @@ class DSLC_Social extends DSLC_Module {
760
  'affect_on_change_rule' => 'font-size',
761
  'section' => 'responsive',
762
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
763
- 'ext' => 'px'
764
  ),
765
  array(
766
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -772,7 +786,7 @@ class DSLC_Social extends DSLC_Module {
772
  'affect_on_change_rule' => 'margin-right',
773
  'section' => 'responsive',
774
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
775
- 'ext' => 'px'
776
  ),
777
 
778
  );
@@ -783,7 +797,12 @@ class DSLC_Social extends DSLC_Module {
783
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
784
 
785
  }
786
-
 
 
 
 
 
787
  function output( $options ) {
788
 
789
  $this->module_start( $options );
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
221
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
222
  'id' => 'css_border_width',
223
  'min' => 0,
224
+ 'max' => 1000,
225
  'increment' => 1,
 
226
  'std' => '0',
227
  'type' => 'slider',
228
  'refresh_on_change' => false,
397
  'affect_on_change_el' => 'ul.dslc-social a.dslc-social-icon',
398
  'affect_on_change_rule' => 'width,height',
399
  'section' => 'styling',
400
+ 'ext' => 'px',
401
  ),
402
  array(
403
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
408
  'affect_on_change_el' => 'ul.dslc-social li',
409
  'affect_on_change_rule' => 'margin-right',
410
  'section' => 'styling',
411
+ 'ext' => 'px',
412
  ),
413
 
414
  /* Icon */
448
  'affect_on_change_rule' => 'font-size',
449
  'section' => 'styling',
450
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
451
+ 'ext' => 'px',
452
  ),
453
 
454
  /* Label */
477
  'affect_on_change_rule' => 'font-size',
478
  'section' => 'styling',
479
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
480
+ 'ext' => 'px',
481
  ),
482
  array(
483
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
576
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
577
  'ext' => 'px',
578
  'min' => -50,
579
+ 'max' => 50,
580
  ),
581
  array(
582
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
591
  'affect_on_change_rule' => 'line-height',
592
  'section' => 'styling',
593
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
594
+ 'ext' => 'px',
595
  ),
596
  array(
597
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
603
  'affect_on_change_rule' => 'margin-left',
604
  'section' => 'styling',
605
  'tab' => __( 'Labels', 'live-composer-page-builder' ),
606
+ 'ext' => 'px',
607
  ),
608
  array(
609
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
682
  'affect_on_change_rule' => 'width,height',
683
  'section' => 'responsive',
684
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
685
+ 'ext' => 'px',
686
  ),
687
  array(
688
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
697
  'affect_on_change_rule' => 'font-size',
698
  'section' => 'responsive',
699
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
700
+ 'ext' => 'px',
701
  ),
702
  array(
703
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
709
  'affect_on_change_rule' => 'margin-right',
710
  'section' => 'responsive',
711
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
712
+ 'ext' => 'px',
713
  ),
714
 
715
  /**
759
  'affect_on_change_rule' => 'width,height',
760
  'section' => 'responsive',
761
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
762
+ 'ext' => 'px',
763
  ),
764
  array(
765
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
774
  'affect_on_change_rule' => 'font-size',
775
  'section' => 'responsive',
776
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
777
+ 'ext' => 'px',
778
  ),
779
  array(
780
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
786
  'affect_on_change_rule' => 'margin-right',
787
  'section' => 'responsive',
788
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
789
+ 'ext' => 'px',
790
  ),
791
 
792
  );
797
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
798
 
799
  }
800
+ /**
801
+ * Module HTML output.
802
+ *
803
+ * @param array $options Module options to fill the module template.
804
+ * @return void
805
+ */
806
  function output( $options ) {
807
 
808
  $this->module_start( $options );
modules/staff/module.php CHANGED
@@ -25,6 +25,21 @@ class DSLC_Staff extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $cats = get_terms( 'dslc_staff_cats' );
@@ -259,7 +274,7 @@ class DSLC_Staff extends DSLC_Module {
259
  'value' => 'filters'
260
  ),
261
  ),
262
- 'section' => 'styling'
263
  ),
264
 
265
  array(
@@ -289,7 +304,7 @@ class DSLC_Staff extends DSLC_Module {
289
  'value' => 'excerpt',
290
  ),
291
  ),
292
- 'section' => 'styling'
293
  ),
294
 
295
  array(
@@ -307,7 +322,7 @@ class DSLC_Staff extends DSLC_Module {
307
  'value' => 'circles'
308
  ),
309
  ),
310
- 'section' => 'styling'
311
  ),
312
  array(
313
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -470,9 +485,8 @@ class DSLC_Staff extends DSLC_Module {
470
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
471
  'id' => 'css_thumb_border_width',
472
  'min' => 0,
473
- 'max' => 10,
474
  'increment' => 1,
475
-
476
  'std' => '0',
477
  'type' => 'slider',
478
  'refresh_on_change' => false,
@@ -527,7 +541,7 @@ class DSLC_Staff extends DSLC_Module {
527
  'increment' => 1,
528
  'section' => 'styling',
529
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
530
- 'ext' => 'px'
531
  ),
532
  array(
533
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -545,7 +559,7 @@ class DSLC_Staff extends DSLC_Module {
545
  'increment' => 1,
546
  'section' => 'styling',
547
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
548
- 'ext' => 'px'
549
  ),
550
  array(
551
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -659,9 +673,8 @@ class DSLC_Staff extends DSLC_Module {
659
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
660
  'id' => 'css_social_border_width',
661
  'min' => 0,
662
- 'max' => 10,
663
  'increment' => 1,
664
-
665
  'std' => '0',
666
  'type' => 'slider',
667
  'refresh_on_change' => false,
@@ -716,7 +729,7 @@ class DSLC_Staff extends DSLC_Module {
716
  'increment' => 1,
717
  'section' => 'styling',
718
  'tab' => __( 'Social', 'live-composer-page-builder' ),
719
- 'ext' => 'px'
720
  ),
721
  array(
722
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -734,7 +747,7 @@ class DSLC_Staff extends DSLC_Module {
734
  'increment' => 1,
735
  'section' => 'styling',
736
  'tab' => __( 'Social', 'live-composer-page-builder' ),
737
- 'ext' => 'px'
738
  ),
739
  array(
740
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -805,7 +818,7 @@ class DSLC_Staff extends DSLC_Module {
805
  'affect_on_change_rule' => 'font-size',
806
  'section' => 'styling',
807
  'tab' => __( 'Social', 'live-composer-page-builder' ),
808
- 'ext' => 'px'
809
  ),
810
 
811
  /**
@@ -917,7 +930,7 @@ class DSLC_Staff extends DSLC_Module {
917
  'increment' => 1,
918
  'section' => 'styling',
919
  'tab' => __( 'Main', 'live-composer-page-builder' ),
920
- 'ext' => 'px'
921
  ),
922
  array(
923
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -935,7 +948,7 @@ class DSLC_Staff extends DSLC_Module {
935
  'increment' => 1,
936
  'section' => 'styling',
937
  'tab' => __( 'Main', 'live-composer-page-builder' ),
938
- 'ext' => 'px'
939
  ),
940
  array(
941
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
@@ -1095,7 +1108,7 @@ class DSLC_Staff extends DSLC_Module {
1095
  'affect_on_change_rule' => 'font-size',
1096
  'section' => 'styling',
1097
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1098
- 'ext' => 'px'
1099
  ),
1100
  array(
1101
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1171,7 +1184,7 @@ class DSLC_Staff extends DSLC_Module {
1171
  'affect_on_change_rule' => 'line-height',
1172
  'section' => 'styling',
1173
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1174
- 'ext' => 'px'
1175
  ),
1176
  array(
1177
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1186,7 +1199,7 @@ class DSLC_Staff extends DSLC_Module {
1186
  'affect_on_change_rule' => 'margin-bottom',
1187
  'section' => 'styling',
1188
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1189
- 'ext' => 'px'
1190
  ),
1191
  array(
1192
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1302,7 +1315,7 @@ class DSLC_Staff extends DSLC_Module {
1302
  'affect_on_change_rule' => 'font-size',
1303
  'section' => 'styling',
1304
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1305
- 'ext' => 'px'
1306
  ),
1307
  array(
1308
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1399,7 +1412,7 @@ class DSLC_Staff extends DSLC_Module {
1399
  'affect_on_change_rule' => 'margin-bottom',
1400
  'section' => 'styling',
1401
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1402
- 'ext' => 'px'
1403
  ),
1404
  array(
1405
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1463,7 +1476,7 @@ class DSLC_Staff extends DSLC_Module {
1463
  'affect_on_change_rule' => 'font-size',
1464
  'section' => 'styling',
1465
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1466
- 'ext' => 'px'
1467
  ),
1468
  array(
1469
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1539,7 +1552,7 @@ class DSLC_Staff extends DSLC_Module {
1539
  'affect_on_change_rule' => 'line-height',
1540
  'section' => 'styling',
1541
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1542
- 'ext' => 'px'
1543
  ),
1544
  array(
1545
  'label' => __( 'Max Length ( amount of words )', 'live-composer-page-builder' ),
@@ -1704,7 +1717,7 @@ class DSLC_Staff extends DSLC_Module {
1704
  'affect_on_change_rule' => 'font-size',
1705
  'section' => 'responsive',
1706
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1707
- 'ext' => 'px'
1708
  ),
1709
  array(
1710
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -1749,7 +1762,7 @@ class DSLC_Staff extends DSLC_Module {
1749
  'affect_on_change_rule' => 'font-size',
1750
  'section' => 'responsive',
1751
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1752
- 'ext' => 'px'
1753
  ),
1754
  array(
1755
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -1764,7 +1777,7 @@ class DSLC_Staff extends DSLC_Module {
1764
  'affect_on_change_rule' => 'line-height',
1765
  'section' => 'responsive',
1766
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1767
- 'ext' => 'px'
1768
  ),
1769
  array(
1770
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -1779,7 +1792,7 @@ class DSLC_Staff extends DSLC_Module {
1779
  'affect_on_change_rule' => 'margin-bottom',
1780
  'section' => 'responsive',
1781
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1782
- 'ext' => 'px'
1783
  ),
1784
  array(
1785
  'label' => __( 'Position - Font Size', 'live-composer-page-builder' ),
@@ -1794,7 +1807,7 @@ class DSLC_Staff extends DSLC_Module {
1794
  'affect_on_change_rule' => 'font-size',
1795
  'section' => 'responsive',
1796
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1797
- 'ext' => 'px'
1798
  ),
1799
  array(
1800
  'label' => __( 'Position - Margin Bottom', 'live-composer-page-builder' ),
@@ -1809,7 +1822,7 @@ class DSLC_Staff extends DSLC_Module {
1809
  'affect_on_change_rule' => 'margin-bottom',
1810
  'section' => 'responsive',
1811
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1812
- 'ext' => 'px'
1813
  ),
1814
  array(
1815
  'label' => __( 'Position - Padding Vertical', 'live-composer-page-builder' ),
@@ -1839,7 +1852,7 @@ class DSLC_Staff extends DSLC_Module {
1839
  'affect_on_change_rule' => 'font-size',
1840
  'section' => 'responsive',
1841
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1842
- 'ext' => 'px'
1843
  ),
1844
  array(
1845
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -1854,7 +1867,7 @@ class DSLC_Staff extends DSLC_Module {
1854
  'affect_on_change_rule' => 'line-height',
1855
  'section' => 'responsive',
1856
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1857
- 'ext' => 'px'
1858
  ),
1859
 
1860
  /**
@@ -2011,7 +2024,7 @@ class DSLC_Staff extends DSLC_Module {
2011
  'affect_on_change_rule' => 'font-size',
2012
  'section' => 'responsive',
2013
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2014
- 'ext' => 'px'
2015
  ),
2016
  array(
2017
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -2056,7 +2069,7 @@ class DSLC_Staff extends DSLC_Module {
2056
  'affect_on_change_rule' => 'font-size',
2057
  'section' => 'responsive',
2058
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2059
- 'ext' => 'px'
2060
  ),
2061
  array(
2062
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2071,7 +2084,7 @@ class DSLC_Staff extends DSLC_Module {
2071
  'affect_on_change_rule' => 'line-height',
2072
  'section' => 'responsive',
2073
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2074
- 'ext' => 'px'
2075
  ),
2076
  array(
2077
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2086,7 +2099,7 @@ class DSLC_Staff extends DSLC_Module {
2086
  'affect_on_change_rule' => 'margin-bottom',
2087
  'section' => 'responsive',
2088
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2089
- 'ext' => 'px'
2090
  ),
2091
  array(
2092
  'label' => __( 'Position - Font Size', 'live-composer-page-builder' ),
@@ -2101,7 +2114,7 @@ class DSLC_Staff extends DSLC_Module {
2101
  'affect_on_change_rule' => 'font-size',
2102
  'section' => 'responsive',
2103
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2104
- 'ext' => 'px'
2105
  ),
2106
  array(
2107
  'label' => __( 'Position - Margin Bottom', 'live-composer-page-builder' ),
@@ -2116,7 +2129,7 @@ class DSLC_Staff extends DSLC_Module {
2116
  'affect_on_change_rule' => 'margin-bottom',
2117
  'section' => 'responsive',
2118
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2119
- 'ext' => 'px'
2120
  ),
2121
  array(
2122
  'label' => __( 'Position - Padding Vertical', 'live-composer-page-builder' ),
@@ -2146,7 +2159,7 @@ class DSLC_Staff extends DSLC_Module {
2146
  'affect_on_change_rule' => 'font-size',
2147
  'section' => 'responsive',
2148
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2149
- 'ext' => 'px'
2150
  ),
2151
  array(
2152
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2161,7 +2174,7 @@ class DSLC_Staff extends DSLC_Module {
2161
  'affect_on_change_rule' => 'line-height',
2162
  'section' => 'responsive',
2163
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2164
- 'ext' => 'px'
2165
  ),
2166
 
2167
  );
@@ -2178,7 +2191,12 @@ class DSLC_Staff extends DSLC_Module {
2178
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2179
 
2180
  }
2181
-
 
 
 
 
 
2182
  function output( $options ) {
2183
 
2184
  global $dslc_active;
@@ -2563,9 +2581,9 @@ class DSLC_Staff extends DSLC_Module {
2563
 
2564
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'position', $post_elements ) || in_array( 'excerpt', $post_elements ) ) ) : ?>
2565
 
2566
- <div class="dslc-staff-member-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-staff-member-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']; ?>">
2567
 
2568
- <div class="dslc-staff-member-main-inner dslc-init-<?php echo $options['main_position']; ?>">
2569
 
2570
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2571
 
25
 
26
  }
27
 
28
+ /**
29
+ * Module options.
30
+ * Function build array with all the module functionality and styling options.
31
+ * Based on this array Live Composer builds module settings panel.
32
+ * – Every array inside $dslc_options means one option = one control.
33
+ * – Every option should have unique (for this module) id.
34
+ * – Options divides on "Functionality" and "Styling".
35
+ * – Styling options start with css_XXXXXXX
36
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
37
+ * – Options can be hidden.
38
+ * – Options can have a default value.
39
+ * – Options can request refresh from server on change or do live refresh via CSS.
40
+ *
41
+ * @return array All the module options in array.
42
+ */
43
  function options() {
44
 
45
  $cats = get_terms( 'dslc_staff_cats' );
274
  'value' => 'filters'
275
  ),
276
  ),
277
+ 'section' => 'styling',
278
  ),
279
 
280
  array(
304
  'value' => 'excerpt',
305
  ),
306
  ),
307
+ 'section' => 'styling',
308
  ),
309
 
310
  array(
322
  'value' => 'circles'
323
  ),
324
  ),
325
+ 'section' => 'styling',
326
  ),
327
  array(
328
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
485
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
486
  'id' => 'css_thumb_border_width',
487
  'min' => 0,
488
+ 'max' => 1000,
489
  'increment' => 1,
 
490
  'std' => '0',
491
  'type' => 'slider',
492
  'refresh_on_change' => false,
541
  'increment' => 1,
542
  'section' => 'styling',
543
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
544
+ 'ext' => 'px',
545
  ),
546
  array(
547
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
559
  'increment' => 1,
560
  'section' => 'styling',
561
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
562
+ 'ext' => 'px',
563
  ),
564
  array(
565
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
673
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
674
  'id' => 'css_social_border_width',
675
  'min' => 0,
676
+ 'max' => 1000,
677
  'increment' => 1,
 
678
  'std' => '0',
679
  'type' => 'slider',
680
  'refresh_on_change' => false,
729
  'increment' => 1,
730
  'section' => 'styling',
731
  'tab' => __( 'Social', 'live-composer-page-builder' ),
732
+ 'ext' => 'px',
733
  ),
734
  array(
735
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
747
  'increment' => 1,
748
  'section' => 'styling',
749
  'tab' => __( 'Social', 'live-composer-page-builder' ),
750
+ 'ext' => 'px',
751
  ),
752
  array(
753
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
818
  'affect_on_change_rule' => 'font-size',
819
  'section' => 'styling',
820
  'tab' => __( 'Social', 'live-composer-page-builder' ),
821
+ 'ext' => 'px',
822
  ),
823
 
824
  /**
930
  'increment' => 1,
931
  'section' => 'styling',
932
  'tab' => __( 'Main', 'live-composer-page-builder' ),
933
+ 'ext' => 'px',
934
  ),
935
  array(
936
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
948
  'increment' => 1,
949
  'section' => 'styling',
950
  'tab' => __( 'Main', 'live-composer-page-builder' ),
951
+ 'ext' => 'px',
952
  ),
953
  array(
954
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
1108
  'affect_on_change_rule' => 'font-size',
1109
  'section' => 'styling',
1110
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1111
+ 'ext' => 'px',
1112
  ),
1113
  array(
1114
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1184
  'affect_on_change_rule' => 'line-height',
1185
  'section' => 'styling',
1186
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1187
+ 'ext' => 'px',
1188
  ),
1189
  array(
1190
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1199
  'affect_on_change_rule' => 'margin-bottom',
1200
  'section' => 'styling',
1201
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1202
+ 'ext' => 'px',
1203
  ),
1204
  array(
1205
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1315
  'affect_on_change_rule' => 'font-size',
1316
  'section' => 'styling',
1317
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1318
+ 'ext' => 'px',
1319
  ),
1320
  array(
1321
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1412
  'affect_on_change_rule' => 'margin-bottom',
1413
  'section' => 'styling',
1414
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1415
+ 'ext' => 'px',
1416
  ),
1417
  array(
1418
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1476
  'affect_on_change_rule' => 'font-size',
1477
  'section' => 'styling',
1478
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1479
+ 'ext' => 'px',
1480
  ),
1481
  array(
1482
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1552
  'affect_on_change_rule' => 'line-height',
1553
  'section' => 'styling',
1554
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1555
+ 'ext' => 'px',
1556
  ),
1557
  array(
1558
  'label' => __( 'Max Length ( amount of words )', 'live-composer-page-builder' ),
1717
  'affect_on_change_rule' => 'font-size',
1718
  'section' => 'responsive',
1719
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1720
+ 'ext' => 'px',
1721
  ),
1722
  array(
1723
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1762
  'affect_on_change_rule' => 'font-size',
1763
  'section' => 'responsive',
1764
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1765
+ 'ext' => 'px',
1766
  ),
1767
  array(
1768
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
1777
  'affect_on_change_rule' => 'line-height',
1778
  'section' => 'responsive',
1779
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1780
+ 'ext' => 'px',
1781
  ),
1782
  array(
1783
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
1792
  'affect_on_change_rule' => 'margin-bottom',
1793
  'section' => 'responsive',
1794
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1795
+ 'ext' => 'px',
1796
  ),
1797
  array(
1798
  'label' => __( 'Position - Font Size', 'live-composer-page-builder' ),
1807
  'affect_on_change_rule' => 'font-size',
1808
  'section' => 'responsive',
1809
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1810
+ 'ext' => 'px',
1811
  ),
1812
  array(
1813
  'label' => __( 'Position - Margin Bottom', 'live-composer-page-builder' ),
1822
  'affect_on_change_rule' => 'margin-bottom',
1823
  'section' => 'responsive',
1824
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1825
+ 'ext' => 'px',
1826
  ),
1827
  array(
1828
  'label' => __( 'Position - Padding Vertical', 'live-composer-page-builder' ),
1852
  'affect_on_change_rule' => 'font-size',
1853
  'section' => 'responsive',
1854
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1855
+ 'ext' => 'px',
1856
  ),
1857
  array(
1858
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
1867
  'affect_on_change_rule' => 'line-height',
1868
  'section' => 'responsive',
1869
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1870
+ 'ext' => 'px',
1871
  ),
1872
 
1873
  /**
2024
  'affect_on_change_rule' => 'font-size',
2025
  'section' => 'responsive',
2026
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2027
+ 'ext' => 'px',
2028
  ),
2029
  array(
2030
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
2069
  'affect_on_change_rule' => 'font-size',
2070
  'section' => 'responsive',
2071
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2072
+ 'ext' => 'px',
2073
  ),
2074
  array(
2075
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2084
  'affect_on_change_rule' => 'line-height',
2085
  'section' => 'responsive',
2086
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2087
+ 'ext' => 'px',
2088
  ),
2089
  array(
2090
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2099
  'affect_on_change_rule' => 'margin-bottom',
2100
  'section' => 'responsive',
2101
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2102
+ 'ext' => 'px',
2103
  ),
2104
  array(
2105
  'label' => __( 'Position - Font Size', 'live-composer-page-builder' ),
2114
  'affect_on_change_rule' => 'font-size',
2115
  'section' => 'responsive',
2116
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2117
+ 'ext' => 'px',
2118
  ),
2119
  array(
2120
  'label' => __( 'Position - Margin Bottom', 'live-composer-page-builder' ),
2129
  'affect_on_change_rule' => 'margin-bottom',
2130
  'section' => 'responsive',
2131
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2132
+ 'ext' => 'px',
2133
  ),
2134
  array(
2135
  'label' => __( 'Position - Padding Vertical', 'live-composer-page-builder' ),
2159
  'affect_on_change_rule' => 'font-size',
2160
  'section' => 'responsive',
2161
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2162
+ 'ext' => 'px',
2163
  ),
2164
  array(
2165
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2174
  'affect_on_change_rule' => 'line-height',
2175
  'section' => 'responsive',
2176
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2177
+ 'ext' => 'px',
2178
  ),
2179
 
2180
  );
2191
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2192
 
2193
  }
2194
+ /**
2195
+ * Module HTML output.
2196
+ *
2197
+ * @param array $options Module options to fill the module template.
2198
+ * @return void
2199
+ */
2200
  function output( $options ) {
2201
 
2202
  global $dslc_active;
2581
 
2582
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'position', $post_elements ) || in_array( 'excerpt', $post_elements ) ) ) : ?>
2583
 
2584
+ <div class="dslc-staff-member-main dslc-init-<?php echo $options['main_position']; ?> <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-staff-member-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']; ?>">
2585
 
2586
+ <div class="dslc-staff-member-main-inner dslc-init-target">
2587
 
2588
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2589
 
modules/tabs/module.php CHANGED
@@ -24,6 +24,21 @@ class DSLC_Tabs extends DSLC_Module {
24
 
25
  }
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  function options() {
28
 
29
  $dslc_options = array(
@@ -179,7 +194,7 @@ class DSLC_Tabs extends DSLC_Module {
179
 
180
  'section' => 'styling',
181
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
182
- 'ext' => 'px'
183
  ),
184
  array(
185
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -195,7 +210,7 @@ class DSLC_Tabs extends DSLC_Module {
195
 
196
  'section' => 'styling',
197
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
198
- 'ext' => 'px'
199
  ),
200
  array(
201
  'label' => __( ' Color', 'live-composer-page-builder' ),
@@ -221,7 +236,7 @@ class DSLC_Tabs extends DSLC_Module {
221
  'affect_on_change_rule' => 'font-size',
222
  'section' => 'styling',
223
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
224
- 'ext' => 'px'
225
  ),
226
  array(
227
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -326,7 +341,7 @@ class DSLC_Tabs extends DSLC_Module {
326
  'ext' => 'px',
327
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
328
  'min' => -10,
329
- 'max' => 100
330
  ),
331
  array(
332
  'label' => __( 'Spacing - Nav and Content', 'live-composer-page-builder' ),
@@ -499,7 +514,7 @@ class DSLC_Tabs extends DSLC_Module {
499
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
500
 
501
  'section' => 'styling',
502
- 'ext' => 'px'
503
  ),
504
  array(
505
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -514,7 +529,7 @@ class DSLC_Tabs extends DSLC_Module {
514
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
515
 
516
  'section' => 'styling',
517
- 'ext' => 'px'
518
  ),
519
  array(
520
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -720,9 +735,8 @@ class DSLC_Tabs extends DSLC_Module {
720
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
721
  'id' => 'css_h1_border_width',
722
  'min' => 0,
723
- 'max' => 10,
724
  'increment' => 1,
725
-
726
  'std' => '0',
727
  'type' => 'slider',
728
  'refresh_on_change' => false,
@@ -817,7 +831,7 @@ class DSLC_Tabs extends DSLC_Module {
817
  'affect_on_change_rule' => 'font-size',
818
  'section' => 'styling',
819
  'tab' => __( 'H1', 'live-composer-page-builder' ),
820
- 'ext' => 'px'
821
  ),
822
  array(
823
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -914,7 +928,7 @@ class DSLC_Tabs extends DSLC_Module {
914
  'affect_on_change_rule' => 'line-height',
915
  'section' => 'styling',
916
  'tab' => __( 'H1', 'live-composer-page-builder' ),
917
- 'ext' => 'px'
918
  ),
919
  array(
920
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -929,7 +943,7 @@ class DSLC_Tabs extends DSLC_Module {
929
  'affect_on_change_rule' => 'margin-bottom',
930
  'section' => 'styling',
931
  'tab' => __( 'H1', 'live-composer-page-builder' ),
932
- 'ext' => 'px'
933
  ),
934
  array(
935
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1003,9 +1017,8 @@ class DSLC_Tabs extends DSLC_Module {
1003
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1004
  'id' => 'css_h2_border_width',
1005
  'min' => 0,
1006
- 'max' => 10,
1007
  'increment' => 1,
1008
-
1009
  'std' => '0',
1010
  'type' => 'slider',
1011
  'refresh_on_change' => false,
@@ -1100,7 +1113,7 @@ class DSLC_Tabs extends DSLC_Module {
1100
  'affect_on_change_rule' => 'font-size',
1101
  'section' => 'styling',
1102
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1103
- 'ext' => 'px'
1104
  ),
1105
  array(
1106
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1197,7 +1210,7 @@ class DSLC_Tabs extends DSLC_Module {
1197
  'affect_on_change_rule' => 'line-height',
1198
  'section' => 'styling',
1199
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1200
- 'ext' => 'px'
1201
  ),
1202
  array(
1203
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1212,7 +1225,7 @@ class DSLC_Tabs extends DSLC_Module {
1212
  'affect_on_change_rule' => 'margin-bottom',
1213
  'section' => 'styling',
1214
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1215
- 'ext' => 'px'
1216
  ),
1217
  array(
1218
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1286,9 +1299,8 @@ class DSLC_Tabs extends DSLC_Module {
1286
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1287
  'id' => 'css_h3_border_width',
1288
  'min' => 0,
1289
- 'max' => 10,
1290
  'increment' => 1,
1291
-
1292
  'std' => '0',
1293
  'type' => 'slider',
1294
  'refresh_on_change' => false,
@@ -1383,7 +1395,7 @@ class DSLC_Tabs extends DSLC_Module {
1383
  'affect_on_change_rule' => 'font-size',
1384
  'section' => 'styling',
1385
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1386
- 'ext' => 'px'
1387
  ),
1388
  array(
1389
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1480,7 +1492,7 @@ class DSLC_Tabs extends DSLC_Module {
1480
  'affect_on_change_rule' => 'line-height',
1481
  'section' => 'styling',
1482
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1483
- 'ext' => 'px'
1484
  ),
1485
  array(
1486
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1495,7 +1507,7 @@ class DSLC_Tabs extends DSLC_Module {
1495
  'affect_on_change_rule' => 'margin-bottom',
1496
  'section' => 'styling',
1497
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1498
- 'ext' => 'px'
1499
  ),
1500
  array(
1501
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1569,9 +1581,8 @@ class DSLC_Tabs extends DSLC_Module {
1569
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1570
  'id' => 'css_h4_border_width',
1571
  'min' => 0,
1572
- 'max' => 10,
1573
  'increment' => 1,
1574
-
1575
  'std' => '0',
1576
  'type' => 'slider',
1577
  'refresh_on_change' => false,
@@ -1668,7 +1679,7 @@ class DSLC_Tabs extends DSLC_Module {
1668
  'affect_on_change_rule' => 'font-size',
1669
  'section' => 'styling',
1670
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1671
- 'ext' => 'px'
1672
  ),
1673
  array(
1674
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1765,7 +1776,7 @@ class DSLC_Tabs extends DSLC_Module {
1765
  'affect_on_change_rule' => 'line-height',
1766
  'section' => 'styling',
1767
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1768
- 'ext' => 'px'
1769
  ),
1770
  array(
1771
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1780,7 +1791,7 @@ class DSLC_Tabs extends DSLC_Module {
1780
  'affect_on_change_rule' => 'margin-bottom',
1781
  'section' => 'styling',
1782
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1783
- 'ext' => 'px'
1784
  ),
1785
  array(
1786
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1854,9 +1865,8 @@ class DSLC_Tabs extends DSLC_Module {
1854
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1855
  'id' => 'css_h5_border_width',
1856
  'min' => 0,
1857
- 'max' => 10,
1858
  'increment' => 1,
1859
-
1860
  'std' => '0',
1861
  'type' => 'slider',
1862
  'refresh_on_change' => false,
@@ -1951,7 +1961,7 @@ class DSLC_Tabs extends DSLC_Module {
1951
  'affect_on_change_rule' => 'font-size',
1952
  'section' => 'styling',
1953
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1954
- 'ext' => 'px'
1955
  ),
1956
  array(
1957
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2048,7 +2058,7 @@ class DSLC_Tabs extends DSLC_Module {
2048
  'affect_on_change_rule' => 'line-height',
2049
  'section' => 'styling',
2050
  'tab' => __( 'H5', 'live-composer-page-builder' ),
2051
- 'ext' => 'px'
2052
  ),
2053
  array(
2054
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2063,7 +2073,7 @@ class DSLC_Tabs extends DSLC_Module {
2063
  'affect_on_change_rule' => 'margin-bottom',
2064
  'section' => 'styling',
2065
  'tab' => __( 'H5', 'live-composer-page-builder' ),
2066
- 'ext' => 'px'
2067
  ),
2068
  array(
2069
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2137,9 +2147,8 @@ class DSLC_Tabs extends DSLC_Module {
2137
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2138
  'id' => 'css_h6_border_width',
2139
  'min' => 0,
2140
- 'max' => 10,
2141
  'increment' => 1,
2142
-
2143
  'std' => '0',
2144
  'type' => 'slider',
2145
  'refresh_on_change' => false,
@@ -2238,7 +2247,7 @@ class DSLC_Tabs extends DSLC_Module {
2238
  'affect_on_change_rule' => 'font-size',
2239
  'section' => 'styling',
2240
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2241
- 'ext' => 'px'
2242
  ),
2243
  array(
2244
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2335,7 +2344,7 @@ class DSLC_Tabs extends DSLC_Module {
2335
  'affect_on_change_rule' => 'line-height',
2336
  'section' => 'styling',
2337
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2338
- 'ext' => 'px'
2339
  ),
2340
  array(
2341
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2350,7 +2359,7 @@ class DSLC_Tabs extends DSLC_Module {
2350
  'affect_on_change_rule' => 'margin-bottom',
2351
  'section' => 'styling',
2352
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2353
- 'ext' => 'px'
2354
  ),
2355
  array(
2356
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2449,7 +2458,7 @@ class DSLC_Tabs extends DSLC_Module {
2449
  'affect_on_change_rule' => 'font-size',
2450
  'section' => 'styling',
2451
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2452
- 'ext' => 'px'
2453
  ),
2454
  array(
2455
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2525,7 +2534,7 @@ class DSLC_Tabs extends DSLC_Module {
2525
  'affect_on_change_rule' => 'line-height',
2526
  'section' => 'styling',
2527
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2528
- 'ext' => 'px'
2529
  ),
2530
  array(
2531
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2540,7 +2549,7 @@ class DSLC_Tabs extends DSLC_Module {
2540
  'affect_on_change_rule' => 'margin-bottom',
2541
  'section' => 'styling',
2542
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2543
- 'ext' => 'px'
2544
  ),
2545
  array(
2546
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
@@ -2552,7 +2561,7 @@ class DSLC_Tabs extends DSLC_Module {
2552
  'affect_on_change_rule' => 'margin-left',
2553
  'section' => 'styling',
2554
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2555
- 'ext' => 'px'
2556
  ),
2557
  array(
2558
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
@@ -2745,7 +2754,7 @@ class DSLC_Tabs extends DSLC_Module {
2745
  'affect_on_change_rule' => 'margin-bottom',
2746
  'section' => 'styling',
2747
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2748
- 'ext' => 'px'
2749
  ),
2750
  array(
2751
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
@@ -2773,9 +2782,8 @@ class DSLC_Tabs extends DSLC_Module {
2773
  'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
2774
  'id' => 'css_li_border_width',
2775
  'min' => 0,
2776
- 'max' => 10,
2777
  'increment' => 1,
2778
-
2779
  'std' => '0',
2780
  'type' => 'slider',
2781
  'refresh_on_change' => false,
@@ -2863,7 +2871,7 @@ class DSLC_Tabs extends DSLC_Module {
2863
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2864
  'section' => 'styling',
2865
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2866
- 'ext' => 'px'
2867
  ),
2868
  array(
2869
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -2994,7 +3002,7 @@ class DSLC_Tabs extends DSLC_Module {
2994
  'affect_on_change_rule' => 'font-size',
2995
  'section' => 'styling',
2996
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2997
- 'ext' => 'px'
2998
  ),
2999
  array(
3000
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3070,7 +3078,7 @@ class DSLC_Tabs extends DSLC_Module {
3070
  'affect_on_change_rule' => 'line-height',
3071
  'section' => 'styling',
3072
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3073
- 'ext' => 'px'
3074
  ),
3075
  array(
3076
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3148,9 +3156,8 @@ class DSLC_Tabs extends DSLC_Module {
3148
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
3149
  'id' => 'css_blockquote_border_width',
3150
  'min' => 0,
3151
- 'max' => 10,
3152
  'increment' => 1,
3153
-
3154
  'std' => '0',
3155
  'type' => 'slider',
3156
  'refresh_on_change' => false,
@@ -3249,7 +3256,7 @@ class DSLC_Tabs extends DSLC_Module {
3249
  'affect_on_change_rule' => 'font-size',
3250
  'section' => 'styling',
3251
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3252
- 'ext' => 'px'
3253
  ),
3254
  array(
3255
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3325,7 +3332,7 @@ class DSLC_Tabs extends DSLC_Module {
3325
  'affect_on_change_rule' => 'line-height',
3326
  'section' => 'styling',
3327
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3328
- 'ext' => 'px'
3329
  ),
3330
  array(
3331
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3433,7 +3440,7 @@ class DSLC_Tabs extends DSLC_Module {
3433
  'affect_on_change_rule' => 'font-size',
3434
  'section' => 'responsive',
3435
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3436
- 'ext' => 'px'
3437
  ),
3438
  array(
3439
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -3448,7 +3455,7 @@ class DSLC_Tabs extends DSLC_Module {
3448
  'affect_on_change_rule' => 'line-height',
3449
  'section' => 'responsive',
3450
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3451
- 'ext' => 'px'
3452
  ),
3453
  array(
3454
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3508,7 +3515,7 @@ class DSLC_Tabs extends DSLC_Module {
3508
  'affect_on_change_rule' => 'font-size',
3509
  'section' => 'responsive',
3510
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3511
- 'ext' => 'px'
3512
  ),
3513
  array(
3514
  'label' => __( 'Nav - Padding Vertical', 'live-composer-page-builder' ),
@@ -3552,7 +3559,7 @@ class DSLC_Tabs extends DSLC_Module {
3552
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3553
  'ext' => 'px',
3554
  'min' => -10,
3555
- 'max' => 100
3556
  ),
3557
  array(
3558
  'label' => __( 'Spacing - Nav and Content', 'live-composer-page-builder' ),
@@ -3602,7 +3609,7 @@ class DSLC_Tabs extends DSLC_Module {
3602
  'affect_on_change_rule' => 'font-size',
3603
  'section' => 'responsive',
3604
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3605
- 'ext' => 'px'
3606
  ),
3607
  array(
3608
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -3617,7 +3624,7 @@ class DSLC_Tabs extends DSLC_Module {
3617
  'affect_on_change_rule' => 'line-height',
3618
  'section' => 'responsive',
3619
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3620
- 'ext' => 'px'
3621
  ),
3622
  array(
3623
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3677,7 +3684,7 @@ class DSLC_Tabs extends DSLC_Module {
3677
  'affect_on_change_rule' => 'font-size',
3678
  'section' => 'responsive',
3679
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3680
- 'ext' => 'px'
3681
  ),
3682
  array(
3683
  'label' => __( 'Nav - Padding Vertical', 'live-composer-page-builder' ),
@@ -3721,7 +3728,7 @@ class DSLC_Tabs extends DSLC_Module {
3721
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3722
  'ext' => 'px',
3723
  'min' => -10,
3724
- 'max' => 100
3725
  ),
3726
  array(
3727
  'label' => __( 'Spacing - Nav and Content', 'live-composer-page-builder' ),
@@ -3745,7 +3752,12 @@ class DSLC_Tabs extends DSLC_Module {
3745
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
3746
 
3747
  }
3748
-
 
 
 
 
 
3749
  function output( $options ) {
3750
 
3751
  global $dslc_active;
24
 
25
  }
26
 
27
+ /**
28
+ * Module options.
29
+ * Function build array with all the module functionality and styling options.
30
+ * Based on this array Live Composer builds module settings panel.
31
+ * – Every array inside $dslc_options means one option = one control.
32
+ * – Every option should have unique (for this module) id.
33
+ * – Options divides on "Functionality" and "Styling".
34
+ * – Styling options start with css_XXXXXXX
35
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
36
+ * – Options can be hidden.
37
+ * – Options can have a default value.
38
+ * – Options can request refresh from server on change or do live refresh via CSS.
39
+ *
40
+ * @return array All the module options in array.
41
+ */
42
  function options() {
43
 
44
  $dslc_options = array(
194
 
195
  'section' => 'styling',
196
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
197
+ 'ext' => 'px',
198
  ),
199
  array(
200
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
210
 
211
  'section' => 'styling',
212
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
213
+ 'ext' => 'px',
214
  ),
215
  array(
216
  'label' => __( ' Color', 'live-composer-page-builder' ),
236
  'affect_on_change_rule' => 'font-size',
237
  'section' => 'styling',
238
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
239
+ 'ext' => 'px',
240
  ),
241
  array(
242
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
341
  'ext' => 'px',
342
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
343
  'min' => -10,
344
+ 'max' => 100,
345
  ),
346
  array(
347
  'label' => __( 'Spacing - Nav and Content', 'live-composer-page-builder' ),
514
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
515
 
516
  'section' => 'styling',
517
+ 'ext' => 'px',
518
  ),
519
  array(
520
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
529
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
530
 
531
  'section' => 'styling',
532
+ 'ext' => 'px',
533
  ),
534
  array(
535
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
735
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
736
  'id' => 'css_h1_border_width',
737
  'min' => 0,
738
+ 'max' => 1000,
739
  'increment' => 1,
 
740
  'std' => '0',
741
  'type' => 'slider',
742
  'refresh_on_change' => false,
831
  'affect_on_change_rule' => 'font-size',
832
  'section' => 'styling',
833
  'tab' => __( 'H1', 'live-composer-page-builder' ),
834
+ 'ext' => 'px',
835
  ),
836
  array(
837
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
928
  'affect_on_change_rule' => 'line-height',
929
  'section' => 'styling',
930
  'tab' => __( 'H1', 'live-composer-page-builder' ),
931
+ 'ext' => 'px',
932
  ),
933
  array(
934
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
943
  'affect_on_change_rule' => 'margin-bottom',
944
  'section' => 'styling',
945
  'tab' => __( 'H1', 'live-composer-page-builder' ),
946
+ 'ext' => 'px',
947
  ),
948
  array(
949
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1017
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1018
  'id' => 'css_h2_border_width',
1019
  'min' => 0,
1020
+ 'max' => 1000,
1021
  'increment' => 1,
 
1022
  'std' => '0',
1023
  'type' => 'slider',
1024
  'refresh_on_change' => false,
1113
  'affect_on_change_rule' => 'font-size',
1114
  'section' => 'styling',
1115
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1116
+ 'ext' => 'px',
1117
  ),
1118
  array(
1119
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1210
  'affect_on_change_rule' => 'line-height',
1211
  'section' => 'styling',
1212
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1213
+ 'ext' => 'px',
1214
  ),
1215
  array(
1216
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1225
  'affect_on_change_rule' => 'margin-bottom',
1226
  'section' => 'styling',
1227
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1228
+ 'ext' => 'px',
1229
  ),
1230
  array(
1231
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1299
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1300
  'id' => 'css_h3_border_width',
1301
  'min' => 0,
1302
+ 'max' => 1000,
1303
  'increment' => 1,
 
1304
  'std' => '0',
1305
  'type' => 'slider',
1306
  'refresh_on_change' => false,
1395
  'affect_on_change_rule' => 'font-size',
1396
  'section' => 'styling',
1397
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1398
+ 'ext' => 'px',
1399
  ),
1400
  array(
1401
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1492
  'affect_on_change_rule' => 'line-height',
1493
  'section' => 'styling',
1494
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1495
+ 'ext' => 'px',
1496
  ),
1497
  array(
1498
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1507
  'affect_on_change_rule' => 'margin-bottom',
1508
  'section' => 'styling',
1509
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1510
+ 'ext' => 'px',
1511
  ),
1512
  array(
1513
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1581
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1582
  'id' => 'css_h4_border_width',
1583
  'min' => 0,
1584
+ 'max' => 1000,
1585
  'increment' => 1,
 
1586
  'std' => '0',
1587
  'type' => 'slider',
1588
  'refresh_on_change' => false,
1679
  'affect_on_change_rule' => 'font-size',
1680
  'section' => 'styling',
1681
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1682
+ 'ext' => 'px',
1683
  ),
1684
  array(
1685
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1776
  'affect_on_change_rule' => 'line-height',
1777
  'section' => 'styling',
1778
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1779
+ 'ext' => 'px',
1780
  ),
1781
  array(
1782
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1791
  'affect_on_change_rule' => 'margin-bottom',
1792
  'section' => 'styling',
1793
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1794
+ 'ext' => 'px',
1795
  ),
1796
  array(
1797
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1865
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1866
  'id' => 'css_h5_border_width',
1867
  'min' => 0,
1868
+ 'max' => 1000,
1869
  'increment' => 1,
 
1870
  'std' => '0',
1871
  'type' => 'slider',
1872
  'refresh_on_change' => false,
1961
  'affect_on_change_rule' => 'font-size',
1962
  'section' => 'styling',
1963
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1964
+ 'ext' => 'px',
1965
  ),
1966
  array(
1967
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2058
  'affect_on_change_rule' => 'line-height',
2059
  'section' => 'styling',
2060
  'tab' => __( 'H5', 'live-composer-page-builder' ),
2061
+ 'ext' => 'px',
2062
  ),
2063
  array(
2064
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2073
  'affect_on_change_rule' => 'margin-bottom',
2074
  'section' => 'styling',
2075
  'tab' => __( 'H5', 'live-composer-page-builder' ),
2076
+ 'ext' => 'px',
2077
  ),
2078
  array(
2079
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2147
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2148
  'id' => 'css_h6_border_width',
2149
  'min' => 0,
2150
+ 'max' => 1000,
2151
  'increment' => 1,
 
2152
  'std' => '0',
2153
  'type' => 'slider',
2154
  'refresh_on_change' => false,
2247
  'affect_on_change_rule' => 'font-size',
2248
  'section' => 'styling',
2249
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2250
+ 'ext' => 'px',
2251
  ),
2252
  array(
2253
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2344
  'affect_on_change_rule' => 'line-height',
2345
  'section' => 'styling',
2346
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2347
+ 'ext' => 'px',
2348
  ),
2349
  array(
2350
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2359
  'affect_on_change_rule' => 'margin-bottom',
2360
  'section' => 'styling',
2361
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2362
+ 'ext' => 'px',
2363
  ),
2364
  array(
2365
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2458
  'affect_on_change_rule' => 'font-size',
2459
  'section' => 'styling',
2460
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2461
+ 'ext' => 'px',
2462
  ),
2463
  array(
2464
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2534
  'affect_on_change_rule' => 'line-height',
2535
  'section' => 'styling',
2536
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2537
+ 'ext' => 'px',
2538
  ),
2539
  array(
2540
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2549
  'affect_on_change_rule' => 'margin-bottom',
2550
  'section' => 'styling',
2551
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2552
+ 'ext' => 'px',
2553
  ),
2554
  array(
2555
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
2561
  'affect_on_change_rule' => 'margin-left',
2562
  'section' => 'styling',
2563
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2564
+ 'ext' => 'px',
2565
  ),
2566
  array(
2567
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
2754
  'affect_on_change_rule' => 'margin-bottom',
2755
  'section' => 'styling',
2756
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2757
+ 'ext' => 'px',
2758
  ),
2759
  array(
2760
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
2782
  'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
2783
  'id' => 'css_li_border_width',
2784
  'min' => 0,
2785
+ 'max' => 1000,
2786
  'increment' => 1,
 
2787
  'std' => '0',
2788
  'type' => 'slider',
2789
  'refresh_on_change' => false,
2871
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2872
  'section' => 'styling',
2873
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2874
+ 'ext' => 'px',
2875
  ),
2876
  array(
2877
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
3002
  'affect_on_change_rule' => 'font-size',
3003
  'section' => 'styling',
3004
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3005
+ 'ext' => 'px',
3006
  ),
3007
  array(
3008
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3078
  'affect_on_change_rule' => 'line-height',
3079
  'section' => 'styling',
3080
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3081
+ 'ext' => 'px',
3082
  ),
3083
  array(
3084
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3156
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
3157
  'id' => 'css_blockquote_border_width',
3158
  'min' => 0,
3159
+ 'max' => 1000,
3160
  'increment' => 1,
 
3161
  'std' => '0',
3162
  'type' => 'slider',
3163
  'refresh_on_change' => false,
3256
  'affect_on_change_rule' => 'font-size',
3257
  'section' => 'styling',
3258
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3259
+ 'ext' => 'px',
3260
  ),
3261
  array(
3262
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3332
  'affect_on_change_rule' => 'line-height',
3333
  'section' => 'styling',
3334
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3335
+ 'ext' => 'px',
3336
  ),
3337
  array(
3338
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3440
  'affect_on_change_rule' => 'font-size',
3441
  'section' => 'responsive',
3442
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3443
+ 'ext' => 'px',
3444
  ),
3445
  array(
3446
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
3455
  'affect_on_change_rule' => 'line-height',
3456
  'section' => 'responsive',
3457
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3458
+ 'ext' => 'px',
3459
  ),
3460
  array(
3461
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3515
  'affect_on_change_rule' => 'font-size',
3516
  'section' => 'responsive',
3517
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3518
+ 'ext' => 'px',
3519
  ),
3520
  array(
3521
  'label' => __( 'Nav - Padding Vertical', 'live-composer-page-builder' ),
3559
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3560
  'ext' => 'px',
3561
  'min' => -10,
3562
+ 'max' => 100,
3563
  ),
3564
  array(
3565
  'label' => __( 'Spacing - Nav and Content', 'live-composer-page-builder' ),
3609
  'affect_on_change_rule' => 'font-size',
3610
  'section' => 'responsive',
3611
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3612
+ 'ext' => 'px',
3613
  ),
3614
  array(
3615
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
3624
  'affect_on_change_rule' => 'line-height',
3625
  'section' => 'responsive',
3626
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3627
+ 'ext' => 'px',
3628
  ),
3629
  array(
3630
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3684
  'affect_on_change_rule' => 'font-size',
3685
  'section' => 'responsive',
3686
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3687
+ 'ext' => 'px',
3688
  ),
3689
  array(
3690
  'label' => __( 'Nav - Padding Vertical', 'live-composer-page-builder' ),
3728
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
3729
  'ext' => 'px',
3730
  'min' => -10,
3731
+ 'max' => 100,
3732
  ),
3733
  array(
3734
  'label' => __( 'Spacing - Nav and Content', 'live-composer-page-builder' ),
3752
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
3753
 
3754
  }
3755
+ /**
3756
+ * Module HTML output.
3757
+ *
3758
+ * @param array $options Module options to fill the module template.
3759
+ * @return void
3760
+ */
3761
  function output( $options ) {
3762
 
3763
  global $dslc_active;
modules/testimonials/module.php CHANGED
@@ -25,6 +25,21 @@ class DSLC_Testimonials extends DSLC_Module {
25
 
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  function options() {
29
 
30
  $cats = get_terms( 'dslc_testimonials_cats' );
@@ -226,7 +241,7 @@ class DSLC_Testimonials extends DSLC_Module {
226
  'value' => 'filters'
227
  ),
228
  ),
229
- 'section' => 'styling'
230
  ),
231
 
232
  array(
@@ -252,7 +267,7 @@ class DSLC_Testimonials extends DSLC_Module {
252
  'value' => 'position',
253
  ),
254
  ),
255
- 'section' => 'styling'
256
  ),
257
 
258
  array(
@@ -270,7 +285,7 @@ class DSLC_Testimonials extends DSLC_Module {
270
  'value' => 'circles'
271
  ),
272
  ),
273
- 'section' => 'styling'
274
  ),
275
  array(
276
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -514,9 +529,8 @@ class DSLC_Testimonials extends DSLC_Module {
514
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
515
  'id' => 'css_main_border_width',
516
  'min' => 0,
517
- 'max' => 10,
518
  'increment' => 1,
519
-
520
  'std' => '0',
521
  'type' => 'slider',
522
  'refresh_on_change' => false,
@@ -569,7 +583,7 @@ class DSLC_Testimonials extends DSLC_Module {
569
 
570
  'section' => 'styling',
571
  'tab' => __( 'Main', 'live-composer-page-builder' ),
572
- 'ext' => 'px'
573
  ),
574
  array(
575
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -585,7 +599,7 @@ class DSLC_Testimonials extends DSLC_Module {
585
 
586
  'section' => 'styling',
587
  'tab' => __( 'Main', 'live-composer-page-builder' ),
588
- 'ext' => 'px'
589
  ),
590
  array(
591
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -702,7 +716,7 @@ class DSLC_Testimonials extends DSLC_Module {
702
  'affect_on_change_rule' => 'font-size',
703
  'section' => 'styling',
704
  'tab' => __( 'Quote', 'live-composer-page-builder' ),
705
- 'ext' => 'px'
706
  ),
707
  array(
708
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -778,7 +792,7 @@ class DSLC_Testimonials extends DSLC_Module {
778
  'affect_on_change_rule' => 'line-height',
779
  'section' => 'styling',
780
  'tab' => __( 'Quote', 'live-composer-page-builder' ),
781
- 'ext' => 'px'
782
  ),
783
  array(
784
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -962,9 +976,8 @@ class DSLC_Testimonials extends DSLC_Module {
962
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
963
  'id' => 'css_avatar_border_width',
964
  'min' => 0,
965
- 'max' => 10,
966
  'increment' => 1,
967
-
968
  'std' => '0',
969
  'type' => 'slider',
970
  'refresh_on_change' => false,
@@ -1019,7 +1032,7 @@ class DSLC_Testimonials extends DSLC_Module {
1019
  'increment' => 1,
1020
  'section' => 'styling',
1021
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1022
- 'ext' => 'px'
1023
  ),
1024
  array(
1025
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
@@ -1031,7 +1044,7 @@ class DSLC_Testimonials extends DSLC_Module {
1031
  'affect_on_change_rule' => 'margin-right',
1032
  'section' => 'styling',
1033
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1034
- 'ext' => 'px'
1035
  ),
1036
  array(
1037
  'label' => __( 'Padding', 'live-composer-page-builder' ),
@@ -1057,7 +1070,7 @@ class DSLC_Testimonials extends DSLC_Module {
1057
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1058
  'min' => 1,
1059
  'max' => 100,
1060
- 'ext' => 'px'
1061
  ),
1062
 
1063
  /**
@@ -1088,7 +1101,7 @@ class DSLC_Testimonials extends DSLC_Module {
1088
  'affect_on_change_rule' => 'font-size',
1089
  'section' => 'styling',
1090
  'tab' => __( 'Name', 'live-composer-page-builder' ),
1091
- 'ext' => 'px'
1092
  ),
1093
  array(
1094
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1210,7 +1223,7 @@ class DSLC_Testimonials extends DSLC_Module {
1210
  'affect_on_change_rule' => 'font-size',
1211
  'section' => 'styling',
1212
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1213
- 'ext' => 'px'
1214
  ),
1215
  array(
1216
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1381,7 +1394,7 @@ class DSLC_Testimonials extends DSLC_Module {
1381
  'affect_on_change_rule' => 'font-size',
1382
  'section' => 'responsive',
1383
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1384
- 'ext' => 'px'
1385
  ),
1386
  array(
1387
  'label' => __( 'Quote - Line Height', 'live-composer-page-builder' ),
@@ -1396,7 +1409,7 @@ class DSLC_Testimonials extends DSLC_Module {
1396
  'affect_on_change_rule' => 'line-height',
1397
  'section' => 'responsive',
1398
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1399
- 'ext' => 'px'
1400
  ),
1401
  array(
1402
  'label' => __( 'Quote - Margin Bottom', 'live-composer-page-builder' ),
@@ -1509,7 +1522,7 @@ class DSLC_Testimonials extends DSLC_Module {
1509
  'affect_on_change_rule' => 'margin-right',
1510
  'section' => 'responsive',
1511
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1512
- 'ext' => 'px'
1513
  ),
1514
  array(
1515
  'label' => __( 'Avatar - Padding', 'live-composer-page-builder' ),
@@ -1535,7 +1548,7 @@ class DSLC_Testimonials extends DSLC_Module {
1535
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1536
  'min' => 1,
1537
  'max' => 100,
1538
- 'ext' => 'px'
1539
  ),
1540
  array(
1541
  'label' => __( 'Name - Font Size', 'live-composer-page-builder' ),
@@ -1550,7 +1563,7 @@ class DSLC_Testimonials extends DSLC_Module {
1550
  'affect_on_change_rule' => 'font-size',
1551
  'section' => 'responsive',
1552
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1553
- 'ext' => 'px'
1554
  ),
1555
  array(
1556
  'label' => __( 'Name - Margin Bottom', 'live-composer-page-builder' ),
@@ -1595,7 +1608,7 @@ class DSLC_Testimonials extends DSLC_Module {
1595
  'affect_on_change_rule' => 'font-size',
1596
  'section' => 'responsive',
1597
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1598
- 'ext' => 'px'
1599
  ),
1600
 
1601
  /**
@@ -1692,7 +1705,7 @@ class DSLC_Testimonials extends DSLC_Module {
1692
  'affect_on_change_rule' => 'font-size',
1693
  'section' => 'responsive',
1694
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1695
- 'ext' => 'px'
1696
  ),
1697
  array(
1698
  'label' => __( 'Quote - Line Height', 'live-composer-page-builder' ),
@@ -1707,7 +1720,7 @@ class DSLC_Testimonials extends DSLC_Module {
1707
  'affect_on_change_rule' => 'line-height',
1708
  'section' => 'responsive',
1709
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1710
- 'ext' => 'px'
1711
  ),
1712
  array(
1713
  'label' => __( 'Quote - Margin Bottom', 'live-composer-page-builder' ),
@@ -1820,7 +1833,7 @@ class DSLC_Testimonials extends DSLC_Module {
1820
  'affect_on_change_rule' => 'margin-right',
1821
  'section' => 'responsive',
1822
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1823
- 'ext' => 'px'
1824
  ),
1825
  array(
1826
  'label' => __( 'Avatar - Padding', 'live-composer-page-builder' ),
@@ -1846,7 +1859,7 @@ class DSLC_Testimonials extends DSLC_Module {
1846
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1847
  'min' => 1,
1848
  'max' => 100,
1849
- 'ext' => 'px'
1850
  ),
1851
  array(
1852
  'label' => __( 'Name - Font Size', 'live-composer-page-builder' ),
@@ -1861,7 +1874,7 @@ class DSLC_Testimonials extends DSLC_Module {
1861
  'affect_on_change_rule' => 'font-size',
1862
  'section' => 'responsive',
1863
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1864
- 'ext' => 'px'
1865
  ),
1866
  array(
1867
  'label' => __( 'Name - Margin Bottom', 'live-composer-page-builder' ),
@@ -1906,7 +1919,7 @@ class DSLC_Testimonials extends DSLC_Module {
1906
  'affect_on_change_rule' => 'font-size',
1907
  'section' => 'responsive',
1908
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1909
- 'ext' => 'px'
1910
  ),
1911
 
1912
  );
@@ -1923,7 +1936,12 @@ class DSLC_Testimonials extends DSLC_Module {
1923
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1924
 
1925
  }
1926
-
 
 
 
 
 
1927
  function output( $options ) {
1928
 
1929
  global $dslc_active;
25
 
26
  }
27
 
28
+ /**
29
+ * Module options.
30
+ * Function build array with all the module functionality and styling options.
31
+ * Based on this array Live Composer builds module settings panel.
32
+ * – Every array inside $dslc_options means one option = one control.
33
+ * – Every option should have unique (for this module) id.
34
+ * – Options divides on "Functionality" and "Styling".
35
+ * – Styling options start with css_XXXXXXX
36
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
37
+ * – Options can be hidden.
38
+ * – Options can have a default value.
39
+ * – Options can request refresh from server on change or do live refresh via CSS.
40
+ *
41
+ * @return array All the module options in array.
42
+ */
43
  function options() {
44
 
45
  $cats = get_terms( 'dslc_testimonials_cats' );
241
  'value' => 'filters'
242
  ),
243
  ),
244
+ 'section' => 'styling',
245
  ),
246
 
247
  array(
267
  'value' => 'position',
268
  ),
269
  ),
270
+ 'section' => 'styling',
271
  ),
272
 
273
  array(
285
  'value' => 'circles'
286
  ),
287
  ),
288
+ 'section' => 'styling',
289
  ),
290
  array(
291
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
529
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
530
  'id' => 'css_main_border_width',
531
  'min' => 0,
532
+ 'max' => 1000,
533
  'increment' => 1,
 
534
  'std' => '0',
535
  'type' => 'slider',
536
  'refresh_on_change' => false,
583
 
584
  'section' => 'styling',
585
  'tab' => __( 'Main', 'live-composer-page-builder' ),
586
+ 'ext' => 'px',
587
  ),
588
  array(
589
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
599
 
600
  'section' => 'styling',
601
  'tab' => __( 'Main', 'live-composer-page-builder' ),
602
+ 'ext' => 'px',
603
  ),
604
  array(
605
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
716
  'affect_on_change_rule' => 'font-size',
717
  'section' => 'styling',
718
  'tab' => __( 'Quote', 'live-composer-page-builder' ),
719
+ 'ext' => 'px',
720
  ),
721
  array(
722
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
792
  'affect_on_change_rule' => 'line-height',
793
  'section' => 'styling',
794
  'tab' => __( 'Quote', 'live-composer-page-builder' ),
795
+ 'ext' => 'px',
796
  ),
797
  array(
798
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
976
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
977
  'id' => 'css_avatar_border_width',
978
  'min' => 0,
979
+ 'max' => 1000,
980
  'increment' => 1,
 
981
  'std' => '0',
982
  'type' => 'slider',
983
  'refresh_on_change' => false,
1032
  'increment' => 1,
1033
  'section' => 'styling',
1034
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1035
+ 'ext' => 'px',
1036
  ),
1037
  array(
1038
  'label' => __( 'Margin Right', 'live-composer-page-builder' ),
1044
  'affect_on_change_rule' => 'margin-right',
1045
  'section' => 'styling',
1046
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1047
+ 'ext' => 'px',
1048
  ),
1049
  array(
1050
  'label' => __( 'Padding', 'live-composer-page-builder' ),
1070
  'tab' => __( 'Avatar', 'live-composer-page-builder' ),
1071
  'min' => 1,
1072
  'max' => 100,
1073
+ 'ext' => 'px',
1074
  ),
1075
 
1076
  /**
1101
  'affect_on_change_rule' => 'font-size',
1102
  'section' => 'styling',
1103
  'tab' => __( 'Name', 'live-composer-page-builder' ),
1104
+ 'ext' => 'px',
1105
  ),
1106
  array(
1107
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1223
  'affect_on_change_rule' => 'font-size',
1224
  'section' => 'styling',
1225
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1226
+ 'ext' => 'px',
1227
  ),
1228
  array(
1229
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1394
  'affect_on_change_rule' => 'font-size',
1395
  'section' => 'responsive',
1396
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1397
+ 'ext' => 'px',
1398
  ),
1399
  array(
1400
  'label' => __( 'Quote - Line Height', 'live-composer-page-builder' ),
1409
  'affect_on_change_rule' => 'line-height',
1410
  'section' => 'responsive',
1411
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1412
+ 'ext' => 'px',
1413
  ),
1414
  array(
1415
  'label' => __( 'Quote - Margin Bottom', 'live-composer-page-builder' ),
1522
  'affect_on_change_rule' => 'margin-right',
1523
  'section' => 'responsive',
1524
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1525
+ 'ext' => 'px',
1526
  ),
1527
  array(
1528
  'label' => __( 'Avatar - Padding', 'live-composer-page-builder' ),
1548
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1549
  'min' => 1,
1550
  'max' => 100,
1551
+ 'ext' => 'px',
1552
  ),
1553
  array(
1554
  'label' => __( 'Name - Font Size', 'live-composer-page-builder' ),
1563
  'affect_on_change_rule' => 'font-size',
1564
  'section' => 'responsive',
1565
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1566
+ 'ext' => 'px',
1567
  ),
1568
  array(
1569
  'label' => __( 'Name - Margin Bottom', 'live-composer-page-builder' ),
1608
  'affect_on_change_rule' => 'font-size',
1609
  'section' => 'responsive',
1610
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1611
+ 'ext' => 'px',
1612
  ),
1613
 
1614
  /**
1705
  'affect_on_change_rule' => 'font-size',
1706
  'section' => 'responsive',
1707
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1708
+ 'ext' => 'px',
1709
  ),
1710
  array(
1711
  'label' => __( 'Quote - Line Height', 'live-composer-page-builder' ),
1720
  'affect_on_change_rule' => 'line-height',
1721
  'section' => 'responsive',
1722
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1723
+ 'ext' => 'px',
1724
  ),
1725
  array(
1726
  'label' => __( 'Quote - Margin Bottom', 'live-composer-page-builder' ),
1833
  'affect_on_change_rule' => 'margin-right',
1834
  'section' => 'responsive',
1835
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1836
+ 'ext' => 'px',
1837
  ),
1838
  array(
1839
  'label' => __( 'Avatar - Padding', 'live-composer-page-builder' ),
1859
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1860
  'min' => 1,
1861
  'max' => 100,
1862
+ 'ext' => 'px',
1863
  ),
1864
  array(
1865
  'label' => __( 'Name - Font Size', 'live-composer-page-builder' ),
1874
  'affect_on_change_rule' => 'font-size',
1875
  'section' => 'responsive',
1876
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1877
+ 'ext' => 'px',
1878
  ),
1879
  array(
1880
  'label' => __( 'Name - Margin Bottom', 'live-composer-page-builder' ),
1919
  'affect_on_change_rule' => 'font-size',
1920
  'section' => 'responsive',
1921
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1922
+ 'ext' => 'px',
1923
  ),
1924
 
1925
  );
1936
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1937
 
1938
  }
1939
+ /**
1940
+ * Module HTML output.
1941
+ *
1942
+ * @param array $options Module options to fill the module template.
1943
+ * @return void
1944
+ */
1945
  function output( $options ) {
1946
 
1947
  global $dslc_active;
modules/text-simple/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_Text_Simple extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -52,7 +67,7 @@ class DSLC_Text_Simple extends DSLC_Module {
52
  'std' => __( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'live-composer-page-builder' ),
53
  'type' => 'textarea',
54
  'visibility' => 'hidden',
55
- 'section' => 'styling'
56
  ),
57
 
58
  /**
@@ -377,7 +392,7 @@ class DSLC_Text_Simple extends DSLC_Module {
377
  'affect_on_change_rule' => 'font-size',
378
  'section' => 'styling',
379
  'tab' => __( 'Content', 'live-composer-page-builder' ),
380
- 'ext' => 'px'
381
  ),
382
  array(
383
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -476,7 +491,7 @@ class DSLC_Text_Simple extends DSLC_Module {
476
  'tab' => __( 'Content', 'live-composer-page-builder' ),
477
  'ext' => 'px',
478
  'min' => -50,
479
- 'max' => 50
480
  ),
481
  array(
482
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -491,7 +506,7 @@ class DSLC_Text_Simple extends DSLC_Module {
491
  'affect_on_change_rule' => 'line-height',
492
  'section' => 'styling',
493
  'tab' => __( 'Content', 'live-composer-page-builder' ),
494
- 'ext' => 'px'
495
  ),
496
  array(
497
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
@@ -559,7 +574,7 @@ class DSLC_Text_Simple extends DSLC_Module {
559
  'affect_on_change_rule' => 'font-size',
560
  'section' => 'styling',
561
  'tab' => __( 'H1', 'live-composer-page-builder' ),
562
- 'ext' => 'px'
563
  ),
564
  array(
565
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -658,7 +673,7 @@ class DSLC_Text_Simple extends DSLC_Module {
658
  'tab' => __( 'H1', 'live-composer-page-builder' ),
659
  'ext' => 'px',
660
  'min' => -50,
661
- 'max' => 50
662
  ),
663
  array(
664
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -673,7 +688,7 @@ class DSLC_Text_Simple extends DSLC_Module {
673
  'affect_on_change_rule' => 'line-height',
674
  'section' => 'styling',
675
  'tab' => __( 'H1', 'live-composer-page-builder' ),
676
- 'ext' => 'px'
677
  ),
678
  array(
679
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -688,7 +703,7 @@ class DSLC_Text_Simple extends DSLC_Module {
688
  'affect_on_change_rule' => 'margin-bottom',
689
  'section' => 'styling',
690
  'tab' => __( 'H1', 'live-composer-page-builder' ),
691
- 'ext' => 'px'
692
  ),
693
  array(
694
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -877,7 +892,7 @@ class DSLC_Text_Simple extends DSLC_Module {
877
  'affect_on_change_rule' => 'font-size',
878
  'section' => 'styling',
879
  'tab' => __( 'H2', 'live-composer-page-builder' ),
880
- 'ext' => 'px'
881
  ),
882
  array(
883
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -976,7 +991,7 @@ class DSLC_Text_Simple extends DSLC_Module {
976
  'tab' => __( 'H2', 'live-composer-page-builder' ),
977
  'ext' => 'px',
978
  'min' => -50,
979
- 'max' => 50
980
  ),
981
  array(
982
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -991,7 +1006,7 @@ class DSLC_Text_Simple extends DSLC_Module {
991
  'affect_on_change_rule' => 'line-height',
992
  'section' => 'styling',
993
  'tab' => __( 'H2', 'live-composer-page-builder' ),
994
- 'ext' => 'px'
995
  ),
996
  array(
997
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1006,7 +1021,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1006
  'affect_on_change_rule' => 'margin-bottom',
1007
  'section' => 'styling',
1008
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1009
- 'ext' => 'px'
1010
  ),
1011
  array(
1012
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1194,7 +1209,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1194
  'affect_on_change_rule' => 'font-size',
1195
  'section' => 'styling',
1196
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1197
- 'ext' => 'px'
1198
  ),
1199
  array(
1200
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1293,7 +1308,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1293
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1294
  'ext' => 'px',
1295
  'min' => -50,
1296
- 'max' => 50
1297
  ),
1298
  array(
1299
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -1308,7 +1323,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1308
  'affect_on_change_rule' => 'line-height',
1309
  'section' => 'styling',
1310
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1311
- 'ext' => 'px'
1312
  ),
1313
  array(
1314
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1323,7 +1338,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1323
  'affect_on_change_rule' => 'margin-bottom',
1324
  'section' => 'styling',
1325
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1326
- 'ext' => 'px'
1327
  ),
1328
  array(
1329
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1510,7 +1525,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1510
  'affect_on_change_rule' => 'font-size',
1511
  'section' => 'styling',
1512
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1513
- 'ext' => 'px'
1514
  ),
1515
  array(
1516
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1609,7 +1624,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1609
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1610
  'ext' => 'px',
1611
  'min' => -50,
1612
- 'max' => 50
1613
  ),
1614
  array(
1615
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -1624,7 +1639,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1624
  'affect_on_change_rule' => 'line-height',
1625
  'section' => 'styling',
1626
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1627
- 'ext' => 'px'
1628
  ),
1629
  array(
1630
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1639,7 +1654,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1639
  'affect_on_change_rule' => 'margin-bottom',
1640
  'section' => 'styling',
1641
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1642
- 'ext' => 'px'
1643
  ),
1644
  array(
1645
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1826,7 +1841,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1826
  'affect_on_change_rule' => 'font-size',
1827
  'section' => 'styling',
1828
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1829
- 'ext' => 'px'
1830
  ),
1831
  array(
1832
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1925,7 +1940,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1925
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1926
  'ext' => 'px',
1927
  'min' => -50,
1928
- 'max' => 50
1929
  ),
1930
  array(
1931
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -1940,7 +1955,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1940
  'affect_on_change_rule' => 'line-height',
1941
  'section' => 'styling',
1942
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1943
- 'ext' => 'px'
1944
  ),
1945
  array(
1946
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1955,7 +1970,7 @@ class DSLC_Text_Simple extends DSLC_Module {
1955
  'affect_on_change_rule' => 'margin-bottom',
1956
  'section' => 'styling',
1957
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1958
- 'ext' => 'px'
1959
  ),
1960
  array(
1961
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2143,7 +2158,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2143
  'affect_on_change_rule' => 'font-size',
2144
  'section' => 'styling',
2145
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2146
- 'ext' => 'px'
2147
  ),
2148
  array(
2149
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2242,7 +2257,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2242
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2243
  'ext' => 'px',
2244
  'min' => -50,
2245
- 'max' => 50
2246
  ),
2247
  array(
2248
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -2257,7 +2272,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2257
  'affect_on_change_rule' => 'line-height',
2258
  'section' => 'styling',
2259
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2260
- 'ext' => 'px'
2261
  ),
2262
  array(
2263
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2272,7 +2287,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2272
  'affect_on_change_rule' => 'margin-bottom',
2273
  'section' => 'styling',
2274
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2275
- 'ext' => 'px'
2276
  ),
2277
  array(
2278
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2531,7 +2546,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2531
  'affect_on_change_rule' => 'font-size',
2532
  'section' => 'styling',
2533
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2534
- 'ext' => 'px'
2535
  ),
2536
  array(
2537
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2607,7 +2622,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2607
  'affect_on_change_rule' => 'line-height',
2608
  'section' => 'styling',
2609
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2610
- 'ext' => 'px'
2611
  ),
2612
  array(
2613
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2622,7 +2637,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2622
  'affect_on_change_rule' => 'margin-bottom',
2623
  'section' => 'styling',
2624
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2625
- 'ext' => 'px'
2626
  ),
2627
  array(
2628
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
@@ -2634,7 +2649,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2634
  'affect_on_change_rule' => 'margin-left',
2635
  'section' => 'styling',
2636
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2637
- 'ext' => 'px'
2638
  ),
2639
  array(
2640
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
@@ -2827,7 +2842,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2827
  'affect_on_change_rule' => 'margin-bottom',
2828
  'section' => 'styling',
2829
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2830
- 'ext' => 'px'
2831
  ),
2832
  array(
2833
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
@@ -2945,7 +2960,7 @@ class DSLC_Text_Simple extends DSLC_Module {
2945
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2946
  'section' => 'styling',
2947
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2948
- 'ext' => 'px'
2949
  ),
2950
  array(
2951
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -3003,7 +3018,7 @@ class DSLC_Text_Simple extends DSLC_Module {
3003
  'affect_on_change_rule' => 'font-size',
3004
  'section' => 'styling',
3005
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3006
- 'ext' => 'px'
3007
  ),
3008
  array(
3009
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3079,7 +3094,7 @@ class DSLC_Text_Simple extends DSLC_Module {
3079
  'affect_on_change_rule' => 'line-height',
3080
  'section' => 'styling',
3081
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3082
- 'ext' => 'px'
3083
  ),
3084
  array(
3085
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3254,7 +3269,7 @@ class DSLC_Text_Simple extends DSLC_Module {
3254
  'affect_on_change_rule' => 'font-size',
3255
  'section' => 'styling',
3256
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3257
- 'ext' => 'px'
3258
  ),
3259
  array(
3260
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3330,7 +3345,7 @@ class DSLC_Text_Simple extends DSLC_Module {
3330
  'affect_on_change_rule' => 'line-height',
3331
  'section' => 'styling',
3332
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3333
- 'ext' => 'px'
3334
  ),
3335
  array(
3336
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3789,7 +3804,7 @@ class DSLC_Text_Simple extends DSLC_Module {
3789
  'affect_on_change_rule' => 'font-size',
3790
  'section' => 'styling',
3791
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3792
- 'ext' => 'px'
3793
  ),
3794
  array(
3795
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3865,7 +3880,7 @@ class DSLC_Text_Simple extends DSLC_Module {
3865
  'affect_on_change_rule' => 'line-height',
3866
  'section' => 'styling',
3867
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3868
- 'ext' => 'px'
3869
  ),
3870
  array(
3871
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -4011,7 +4026,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4011
  'affect_on_change_rule' => 'font-size',
4012
  'section' => 'responsive',
4013
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4014
- 'ext' => 'px'
4015
  ),
4016
  array(
4017
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -4026,7 +4041,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4026
  'affect_on_change_rule' => 'line-height',
4027
  'section' => 'responsive',
4028
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4029
- 'ext' => 'px'
4030
  ),
4031
  array(
4032
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -4052,7 +4067,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4052
  'affect_on_change_rule' => 'font-size',
4053
  'section' => 'responsive',
4054
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4055
- 'ext' => 'px'
4056
  ),
4057
  array(
4058
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
@@ -4067,7 +4082,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4067
  'affect_on_change_rule' => 'line-height',
4068
  'section' => 'responsive',
4069
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4070
- 'ext' => 'px'
4071
  ),
4072
  array(
4073
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4082,7 +4097,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4082
  'affect_on_change_rule' => 'margin-bottom',
4083
  'section' => 'responsive',
4084
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4085
- 'ext' => 'px'
4086
  ),
4087
  array(
4088
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
@@ -4108,7 +4123,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4108
  'affect_on_change_rule' => 'font-size',
4109
  'section' => 'responsive',
4110
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4111
- 'ext' => 'px'
4112
  ),
4113
  array(
4114
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
@@ -4123,7 +4138,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4123
  'affect_on_change_rule' => 'line-height',
4124
  'section' => 'responsive',
4125
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4126
- 'ext' => 'px'
4127
  ),
4128
  array(
4129
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4138,7 +4153,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4138
  'affect_on_change_rule' => 'margin-bottom',
4139
  'section' => 'responsive',
4140
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4141
- 'ext' => 'px'
4142
  ),
4143
  array(
4144
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
@@ -4164,7 +4179,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4164
  'affect_on_change_rule' => 'font-size',
4165
  'section' => 'responsive',
4166
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4167
- 'ext' => 'px'
4168
  ),
4169
  array(
4170
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
@@ -4179,7 +4194,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4179
  'affect_on_change_rule' => 'line-height',
4180
  'section' => 'responsive',
4181
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4182
- 'ext' => 'px'
4183
  ),
4184
  array(
4185
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4194,7 +4209,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4194
  'affect_on_change_rule' => 'margin-bottom',
4195
  'section' => 'responsive',
4196
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4197
- 'ext' => 'px'
4198
  ),
4199
  array(
4200
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
@@ -4220,7 +4235,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4220
  'affect_on_change_rule' => 'font-size',
4221
  'section' => 'responsive',
4222
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4223
- 'ext' => 'px'
4224
  ),
4225
  array(
4226
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
@@ -4235,7 +4250,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4235
  'affect_on_change_rule' => 'line-height',
4236
  'section' => 'responsive',
4237
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4238
- 'ext' => 'px'
4239
  ),
4240
  array(
4241
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4250,7 +4265,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4250
  'affect_on_change_rule' => 'margin-bottom',
4251
  'section' => 'responsive',
4252
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4253
- 'ext' => 'px'
4254
  ),
4255
  array(
4256
  'label' => __( 'H4- Text Align', 'live-composer-page-builder' ),
@@ -4276,7 +4291,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4276
  'affect_on_change_rule' => 'font-size',
4277
  'section' => 'responsive',
4278
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4279
- 'ext' => 'px'
4280
  ),
4281
  array(
4282
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
@@ -4291,7 +4306,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4291
  'affect_on_change_rule' => 'line-height',
4292
  'section' => 'responsive',
4293
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4294
- 'ext' => 'px'
4295
  ),
4296
  array(
4297
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4306,7 +4321,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4306
  'affect_on_change_rule' => 'margin-bottom',
4307
  'section' => 'responsive',
4308
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4309
- 'ext' => 'px'
4310
  ),
4311
  array(
4312
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
@@ -4332,7 +4347,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4332
  'affect_on_change_rule' => 'font-size',
4333
  'section' => 'responsive',
4334
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4335
- 'ext' => 'px'
4336
  ),
4337
  array(
4338
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
@@ -4347,7 +4362,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4347
  'affect_on_change_rule' => 'line-height',
4348
  'section' => 'responsive',
4349
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4350
- 'ext' => 'px'
4351
  ),
4352
  array(
4353
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4362,7 +4377,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4362
  'affect_on_change_rule' => 'margin-bottom',
4363
  'section' => 'responsive',
4364
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4365
- 'ext' => 'px'
4366
  ),
4367
  array(
4368
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
@@ -4388,7 +4403,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4388
  'affect_on_change_rule' => 'font-size',
4389
  'section' => 'responsive',
4390
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4391
- 'ext' => 'px'
4392
  ),
4393
  array(
4394
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
@@ -4403,7 +4418,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4403
  'affect_on_change_rule' => 'line-height',
4404
  'section' => 'responsive',
4405
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4406
- 'ext' => 'px'
4407
  ),
4408
  array(
4409
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
@@ -4418,7 +4433,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4418
  'affect_on_change_rule' => 'margin-bottom',
4419
  'section' => 'responsive',
4420
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4421
- 'ext' => 'px'
4422
  ),
4423
  array(
4424
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
@@ -4430,7 +4445,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4430
  'affect_on_change_rule' => 'margin-left',
4431
  'section' => 'responsive',
4432
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4433
- 'ext' => 'px'
4434
  ),
4435
  array(
4436
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
@@ -4445,7 +4460,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4445
  'affect_on_change_rule' => 'margin-bottom',
4446
  'section' => 'responsive',
4447
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4448
- 'ext' => 'px'
4449
  ),
4450
  array(
4451
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
@@ -4460,7 +4475,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4460
  'affect_on_change_rule' => 'padding-top,padding-bottom',
4461
  'section' => 'responsive',
4462
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4463
- 'ext' => 'px'
4464
  ),
4465
  array(
4466
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -4490,7 +4505,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4490
  'affect_on_change_rule' => 'font-size',
4491
  'section' => 'responsive',
4492
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4493
- 'ext' => 'px'
4494
  ),
4495
  array(
4496
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
@@ -4505,7 +4520,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4505
  'affect_on_change_rule' => 'line-height',
4506
  'section' => 'responsive',
4507
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4508
- 'ext' => 'px'
4509
  ),
4510
  array(
4511
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
@@ -4656,7 +4671,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4656
  'affect_on_change_rule' => 'font-size',
4657
  'section' => 'responsive',
4658
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4659
- 'ext' => 'px'
4660
  ),
4661
  array(
4662
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -4671,7 +4686,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4671
  'affect_on_change_rule' => 'line-height',
4672
  'section' => 'responsive',
4673
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4674
- 'ext' => 'px'
4675
  ),
4676
  array(
4677
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -4697,7 +4712,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4697
  'affect_on_change_rule' => 'font-size',
4698
  'section' => 'responsive',
4699
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4700
- 'ext' => 'px'
4701
  ),
4702
  array(
4703
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
@@ -4712,7 +4727,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4712
  'affect_on_change_rule' => 'line-height',
4713
  'section' => 'responsive',
4714
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4715
- 'ext' => 'px'
4716
  ),
4717
  array(
4718
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4727,7 +4742,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4727
  'affect_on_change_rule' => 'margin-bottom',
4728
  'section' => 'responsive',
4729
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4730
- 'ext' => 'px'
4731
  ),
4732
  array(
4733
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
@@ -4753,7 +4768,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4753
  'affect_on_change_rule' => 'font-size',
4754
  'section' => 'responsive',
4755
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4756
- 'ext' => 'px'
4757
  ),
4758
  array(
4759
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
@@ -4768,7 +4783,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4768
  'affect_on_change_rule' => 'line-height',
4769
  'section' => 'responsive',
4770
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4771
- 'ext' => 'px'
4772
  ),
4773
  array(
4774
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4783,7 +4798,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4783
  'affect_on_change_rule' => 'margin-bottom',
4784
  'section' => 'responsive',
4785
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4786
- 'ext' => 'px'
4787
  ),
4788
  array(
4789
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
@@ -4809,7 +4824,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4809
  'affect_on_change_rule' => 'font-size',
4810
  'section' => 'responsive',
4811
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4812
- 'ext' => 'px'
4813
  ),
4814
  array(
4815
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
@@ -4824,7 +4839,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4824
  'affect_on_change_rule' => 'line-height',
4825
  'section' => 'responsive',
4826
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4827
- 'ext' => 'px'
4828
  ),
4829
  array(
4830
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4839,7 +4854,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4839
  'affect_on_change_rule' => 'margin-bottom',
4840
  'section' => 'responsive',
4841
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4842
- 'ext' => 'px'
4843
  ),
4844
  array(
4845
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
@@ -4865,7 +4880,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4865
  'affect_on_change_rule' => 'font-size',
4866
  'section' => 'responsive',
4867
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4868
- 'ext' => 'px'
4869
  ),
4870
  array(
4871
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
@@ -4880,7 +4895,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4880
  'affect_on_change_rule' => 'line-height',
4881
  'section' => 'responsive',
4882
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4883
- 'ext' => 'px'
4884
  ),
4885
  array(
4886
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4895,7 +4910,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4895
  'affect_on_change_rule' => 'margin-bottom',
4896
  'section' => 'responsive',
4897
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4898
- 'ext' => 'px'
4899
  ),
4900
  array(
4901
  'label' => __( 'H4 - Text Align', 'live-composer-page-builder' ),
@@ -4921,7 +4936,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4921
  'affect_on_change_rule' => 'font-size',
4922
  'section' => 'responsive',
4923
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4924
- 'ext' => 'px'
4925
  ),
4926
  array(
4927
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
@@ -4936,7 +4951,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4936
  'affect_on_change_rule' => 'line-height',
4937
  'section' => 'responsive',
4938
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4939
- 'ext' => 'px'
4940
  ),
4941
  array(
4942
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4951,7 +4966,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4951
  'affect_on_change_rule' => 'margin-bottom',
4952
  'section' => 'responsive',
4953
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4954
- 'ext' => 'px'
4955
  ),
4956
  array(
4957
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
@@ -4977,7 +4992,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4977
  'affect_on_change_rule' => 'font-size',
4978
  'section' => 'responsive',
4979
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4980
- 'ext' => 'px'
4981
  ),
4982
  array(
4983
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
@@ -4992,7 +5007,7 @@ class DSLC_Text_Simple extends DSLC_Module {
4992
  'affect_on_change_rule' => 'line-height',
4993
  'section' => 'responsive',
4994
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4995
- 'ext' => 'px'
4996
  ),
4997
  array(
4998
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
@@ -5007,7 +5022,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5007
  'affect_on_change_rule' => 'margin-bottom',
5008
  'section' => 'responsive',
5009
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5010
- 'ext' => 'px'
5011
  ),
5012
  array(
5013
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
@@ -5033,7 +5048,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5033
  'affect_on_change_rule' => 'font-size',
5034
  'section' => 'responsive',
5035
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5036
- 'ext' => 'px'
5037
  ),
5038
  array(
5039
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
@@ -5048,7 +5063,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5048
  'affect_on_change_rule' => 'line-height',
5049
  'section' => 'responsive',
5050
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5051
- 'ext' => 'px'
5052
  ),
5053
  array(
5054
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
@@ -5063,7 +5078,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5063
  'affect_on_change_rule' => 'margin-bottom',
5064
  'section' => 'responsive',
5065
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5066
- 'ext' => 'px'
5067
  ),
5068
  array(
5069
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
@@ -5075,7 +5090,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5075
  'affect_on_change_rule' => 'margin-left',
5076
  'section' => 'responsive',
5077
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5078
- 'ext' => 'px'
5079
  ),
5080
  array(
5081
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
@@ -5090,7 +5105,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5090
  'affect_on_change_rule' => 'margin-bottom',
5091
  'section' => 'responsive',
5092
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5093
- 'ext' => 'px'
5094
  ),
5095
  array(
5096
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
@@ -5105,7 +5120,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5105
  'affect_on_change_rule' => 'padding-top,padding-bottom',
5106
  'section' => 'responsive',
5107
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5108
- 'ext' => 'px'
5109
  ),
5110
  array(
5111
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -5135,7 +5150,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5135
  'affect_on_change_rule' => 'font-size',
5136
  'section' => 'responsive',
5137
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5138
- 'ext' => 'px'
5139
  ),
5140
  array(
5141
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
@@ -5150,7 +5165,7 @@ class DSLC_Text_Simple extends DSLC_Module {
5150
  'affect_on_change_rule' => 'line-height',
5151
  'section' => 'responsive',
5152
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5153
- 'ext' => 'px'
5154
  ),
5155
  array(
5156
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
@@ -5229,7 +5244,12 @@ class DSLC_Text_Simple extends DSLC_Module {
5229
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
5230
 
5231
  }
5232
-
 
 
 
 
 
5233
  function output( $options ) {
5234
 
5235
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
67
  'std' => __( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'live-composer-page-builder' ),
68
  'type' => 'textarea',
69
  'visibility' => 'hidden',
70
+ 'section' => 'styling',
71
  ),
72
 
73
  /**
392
  'affect_on_change_rule' => 'font-size',
393
  'section' => 'styling',
394
  'tab' => __( 'Content', 'live-composer-page-builder' ),
395
+ 'ext' => 'px',
396
  ),
397
  array(
398
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
491
  'tab' => __( 'Content', 'live-composer-page-builder' ),
492
  'ext' => 'px',
493
  'min' => -50,
494
+ 'max' => 50,
495
  ),
496
  array(
497
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
506
  'affect_on_change_rule' => 'line-height',
507
  'section' => 'styling',
508
  'tab' => __( 'Content', 'live-composer-page-builder' ),
509
+ 'ext' => 'px',
510
  ),
511
  array(
512
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
574
  'affect_on_change_rule' => 'font-size',
575
  'section' => 'styling',
576
  'tab' => __( 'H1', 'live-composer-page-builder' ),
577
+ 'ext' => 'px',
578
  ),
579
  array(
580
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
673
  'tab' => __( 'H1', 'live-composer-page-builder' ),
674
  'ext' => 'px',
675
  'min' => -50,
676
+ 'max' => 50,
677
  ),
678
  array(
679
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
688
  'affect_on_change_rule' => 'line-height',
689
  'section' => 'styling',
690
  'tab' => __( 'H1', 'live-composer-page-builder' ),
691
+ 'ext' => 'px',
692
  ),
693
  array(
694
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
703
  'affect_on_change_rule' => 'margin-bottom',
704
  'section' => 'styling',
705
  'tab' => __( 'H1', 'live-composer-page-builder' ),
706
+ 'ext' => 'px',
707
  ),
708
  array(
709
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
892
  'affect_on_change_rule' => 'font-size',
893
  'section' => 'styling',
894
  'tab' => __( 'H2', 'live-composer-page-builder' ),
895
+ 'ext' => 'px',
896
  ),
897
  array(
898
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
991
  'tab' => __( 'H2', 'live-composer-page-builder' ),
992
  'ext' => 'px',
993
  'min' => -50,
994
+ 'max' => 50,
995
  ),
996
  array(
997
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
1006
  'affect_on_change_rule' => 'line-height',
1007
  'section' => 'styling',
1008
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1009
+ 'ext' => 'px',
1010
  ),
1011
  array(
1012
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1021
  'affect_on_change_rule' => 'margin-bottom',
1022
  'section' => 'styling',
1023
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1024
+ 'ext' => 'px',
1025
  ),
1026
  array(
1027
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1209
  'affect_on_change_rule' => 'font-size',
1210
  'section' => 'styling',
1211
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1212
+ 'ext' => 'px',
1213
  ),
1214
  array(
1215
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1308
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1309
  'ext' => 'px',
1310
  'min' => -50,
1311
+ 'max' => 50,
1312
  ),
1313
  array(
1314
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
1323
  'affect_on_change_rule' => 'line-height',
1324
  'section' => 'styling',
1325
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1326
+ 'ext' => 'px',
1327
  ),
1328
  array(
1329
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1338
  'affect_on_change_rule' => 'margin-bottom',
1339
  'section' => 'styling',
1340
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1341
+ 'ext' => 'px',
1342
  ),
1343
  array(
1344
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1525
  'affect_on_change_rule' => 'font-size',
1526
  'section' => 'styling',
1527
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1528
+ 'ext' => 'px',
1529
  ),
1530
  array(
1531
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1624
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1625
  'ext' => 'px',
1626
  'min' => -50,
1627
+ 'max' => 50,
1628
  ),
1629
  array(
1630
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
1639
  'affect_on_change_rule' => 'line-height',
1640
  'section' => 'styling',
1641
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1642
+ 'ext' => 'px',
1643
  ),
1644
  array(
1645
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1654
  'affect_on_change_rule' => 'margin-bottom',
1655
  'section' => 'styling',
1656
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1657
+ 'ext' => 'px',
1658
  ),
1659
  array(
1660
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1841
  'affect_on_change_rule' => 'font-size',
1842
  'section' => 'styling',
1843
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1844
+ 'ext' => 'px',
1845
  ),
1846
  array(
1847
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1940
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1941
  'ext' => 'px',
1942
  'min' => -50,
1943
+ 'max' => 50,
1944
  ),
1945
  array(
1946
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
1955
  'affect_on_change_rule' => 'line-height',
1956
  'section' => 'styling',
1957
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1958
+ 'ext' => 'px',
1959
  ),
1960
  array(
1961
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1970
  'affect_on_change_rule' => 'margin-bottom',
1971
  'section' => 'styling',
1972
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1973
+ 'ext' => 'px',
1974
  ),
1975
  array(
1976
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2158
  'affect_on_change_rule' => 'font-size',
2159
  'section' => 'styling',
2160
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2161
+ 'ext' => 'px',
2162
  ),
2163
  array(
2164
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2257
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2258
  'ext' => 'px',
2259
  'min' => -50,
2260
+ 'max' => 50,
2261
  ),
2262
  array(
2263
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
2272
  'affect_on_change_rule' => 'line-height',
2273
  'section' => 'styling',
2274
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2275
+ 'ext' => 'px',
2276
  ),
2277
  array(
2278
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2287
  'affect_on_change_rule' => 'margin-bottom',
2288
  'section' => 'styling',
2289
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2290
+ 'ext' => 'px',
2291
  ),
2292
  array(
2293
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2546
  'affect_on_change_rule' => 'font-size',
2547
  'section' => 'styling',
2548
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2549
+ 'ext' => 'px',
2550
  ),
2551
  array(
2552
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2622
  'affect_on_change_rule' => 'line-height',
2623
  'section' => 'styling',
2624
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2625
+ 'ext' => 'px',
2626
  ),
2627
  array(
2628
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2637
  'affect_on_change_rule' => 'margin-bottom',
2638
  'section' => 'styling',
2639
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2640
+ 'ext' => 'px',
2641
  ),
2642
  array(
2643
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
2649
  'affect_on_change_rule' => 'margin-left',
2650
  'section' => 'styling',
2651
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2652
+ 'ext' => 'px',
2653
  ),
2654
  array(
2655
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
2842
  'affect_on_change_rule' => 'margin-bottom',
2843
  'section' => 'styling',
2844
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2845
+ 'ext' => 'px',
2846
  ),
2847
  array(
2848
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
2960
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2961
  'section' => 'styling',
2962
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2963
+ 'ext' => 'px',
2964
  ),
2965
  array(
2966
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
3018
  'affect_on_change_rule' => 'font-size',
3019
  'section' => 'styling',
3020
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3021
+ 'ext' => 'px',
3022
  ),
3023
  array(
3024
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3094
  'affect_on_change_rule' => 'line-height',
3095
  'section' => 'styling',
3096
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3097
+ 'ext' => 'px',
3098
  ),
3099
  array(
3100
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3269
  'affect_on_change_rule' => 'font-size',
3270
  'section' => 'styling',
3271
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3272
+ 'ext' => 'px',
3273
  ),
3274
  array(
3275
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3345
  'affect_on_change_rule' => 'line-height',
3346
  'section' => 'styling',
3347
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3348
+ 'ext' => 'px',
3349
  ),
3350
  array(
3351
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3804
  'affect_on_change_rule' => 'font-size',
3805
  'section' => 'styling',
3806
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3807
+ 'ext' => 'px',
3808
  ),
3809
  array(
3810
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3880
  'affect_on_change_rule' => 'line-height',
3881
  'section' => 'styling',
3882
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3883
+ 'ext' => 'px',
3884
  ),
3885
  array(
3886
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
4026
  'affect_on_change_rule' => 'font-size',
4027
  'section' => 'responsive',
4028
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4029
+ 'ext' => 'px',
4030
  ),
4031
  array(
4032
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
4041
  'affect_on_change_rule' => 'line-height',
4042
  'section' => 'responsive',
4043
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4044
+ 'ext' => 'px',
4045
  ),
4046
  array(
4047
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
4067
  'affect_on_change_rule' => 'font-size',
4068
  'section' => 'responsive',
4069
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4070
+ 'ext' => 'px',
4071
  ),
4072
  array(
4073
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
4082
  'affect_on_change_rule' => 'line-height',
4083
  'section' => 'responsive',
4084
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4085
+ 'ext' => 'px',
4086
  ),
4087
  array(
4088
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
4097
  'affect_on_change_rule' => 'margin-bottom',
4098
  'section' => 'responsive',
4099
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4100
+ 'ext' => 'px',
4101
  ),
4102
  array(
4103
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
4123
  'affect_on_change_rule' => 'font-size',
4124
  'section' => 'responsive',
4125
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4126
+ 'ext' => 'px',
4127
  ),
4128
  array(
4129
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
4138
  'affect_on_change_rule' => 'line-height',
4139
  'section' => 'responsive',
4140
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4141
+ 'ext' => 'px',
4142
  ),
4143
  array(
4144
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
4153
  'affect_on_change_rule' => 'margin-bottom',
4154
  'section' => 'responsive',
4155
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4156
+ 'ext' => 'px',
4157
  ),
4158
  array(
4159
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
4179
  'affect_on_change_rule' => 'font-size',
4180
  'section' => 'responsive',
4181
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4182
+ 'ext' => 'px',
4183
  ),
4184
  array(
4185
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
4194
  'affect_on_change_rule' => 'line-height',
4195
  'section' => 'responsive',
4196
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4197
+ 'ext' => 'px',
4198
  ),
4199
  array(
4200
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
4209
  'affect_on_change_rule' => 'margin-bottom',
4210
  'section' => 'responsive',
4211
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4212
+ 'ext' => 'px',
4213
  ),
4214
  array(
4215
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
4235
  'affect_on_change_rule' => 'font-size',
4236
  'section' => 'responsive',
4237
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4238
+ 'ext' => 'px',
4239
  ),
4240
  array(
4241
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
4250
  'affect_on_change_rule' => 'line-height',
4251
  'section' => 'responsive',
4252
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4253
+ 'ext' => 'px',
4254
  ),
4255
  array(
4256
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
4265
  'affect_on_change_rule' => 'margin-bottom',
4266
  'section' => 'responsive',
4267
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4268
+ 'ext' => 'px',
4269
  ),
4270
  array(
4271
  'label' => __( 'H4- Text Align', 'live-composer-page-builder' ),
4291
  'affect_on_change_rule' => 'font-size',
4292
  'section' => 'responsive',
4293
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4294
+ 'ext' => 'px',
4295
  ),
4296
  array(
4297
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
4306
  'affect_on_change_rule' => 'line-height',
4307
  'section' => 'responsive',
4308
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4309
+ 'ext' => 'px',
4310
  ),
4311
  array(
4312
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
4321
  'affect_on_change_rule' => 'margin-bottom',
4322
  'section' => 'responsive',
4323
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4324
+ 'ext' => 'px',
4325
  ),
4326
  array(
4327
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
4347
  'affect_on_change_rule' => 'font-size',
4348
  'section' => 'responsive',
4349
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4350
+ 'ext' => 'px',
4351
  ),
4352
  array(
4353
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
4362
  'affect_on_change_rule' => 'line-height',
4363
  'section' => 'responsive',
4364
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4365
+ 'ext' => 'px',
4366
  ),
4367
  array(
4368
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
4377
  'affect_on_change_rule' => 'margin-bottom',
4378
  'section' => 'responsive',
4379
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4380
+ 'ext' => 'px',
4381
  ),
4382
  array(
4383
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
4403
  'affect_on_change_rule' => 'font-size',
4404
  'section' => 'responsive',
4405
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4406
+ 'ext' => 'px',
4407
  ),
4408
  array(
4409
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
4418
  'affect_on_change_rule' => 'line-height',
4419
  'section' => 'responsive',
4420
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4421
+ 'ext' => 'px',
4422
  ),
4423
  array(
4424
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
4433
  'affect_on_change_rule' => 'margin-bottom',
4434
  'section' => 'responsive',
4435
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4436
+ 'ext' => 'px',
4437
  ),
4438
  array(
4439
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
4445
  'affect_on_change_rule' => 'margin-left',
4446
  'section' => 'responsive',
4447
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4448
+ 'ext' => 'px',
4449
  ),
4450
  array(
4451
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
4460
  'affect_on_change_rule' => 'margin-bottom',
4461
  'section' => 'responsive',
4462
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4463
+ 'ext' => 'px',
4464
  ),
4465
  array(
4466
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
4475
  'affect_on_change_rule' => 'padding-top,padding-bottom',
4476
  'section' => 'responsive',
4477
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4478
+ 'ext' => 'px',
4479
  ),
4480
  array(
4481
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
4505
  'affect_on_change_rule' => 'font-size',
4506
  'section' => 'responsive',
4507
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4508
+ 'ext' => 'px',
4509
  ),
4510
  array(
4511
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
4520
  'affect_on_change_rule' => 'line-height',
4521
  'section' => 'responsive',
4522
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4523
+ 'ext' => 'px',
4524
  ),
4525
  array(
4526
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
4671
  'affect_on_change_rule' => 'font-size',
4672
  'section' => 'responsive',
4673
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4674
+ 'ext' => 'px',
4675
  ),
4676
  array(
4677
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
4686
  'affect_on_change_rule' => 'line-height',
4687
  'section' => 'responsive',
4688
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4689
+ 'ext' => 'px',
4690
  ),
4691
  array(
4692
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
4712
  'affect_on_change_rule' => 'font-size',
4713
  'section' => 'responsive',
4714
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4715
+ 'ext' => 'px',
4716
  ),
4717
  array(
4718
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
4727
  'affect_on_change_rule' => 'line-height',
4728
  'section' => 'responsive',
4729
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4730
+ 'ext' => 'px',
4731
  ),
4732
  array(
4733
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
4742
  'affect_on_change_rule' => 'margin-bottom',
4743
  'section' => 'responsive',
4744
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4745
+ 'ext' => 'px',
4746
  ),
4747
  array(
4748
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
4768
  'affect_on_change_rule' => 'font-size',
4769
  'section' => 'responsive',
4770
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4771
+ 'ext' => 'px',
4772
  ),
4773
  array(
4774
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
4783
  'affect_on_change_rule' => 'line-height',
4784
  'section' => 'responsive',
4785
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4786
+ 'ext' => 'px',
4787
  ),
4788
  array(
4789
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
4798
  'affect_on_change_rule' => 'margin-bottom',
4799
  'section' => 'responsive',
4800
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4801
+ 'ext' => 'px',
4802
  ),
4803
  array(
4804
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
4824
  'affect_on_change_rule' => 'font-size',
4825
  'section' => 'responsive',
4826
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4827
+ 'ext' => 'px',
4828
  ),
4829
  array(
4830
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
4839
  'affect_on_change_rule' => 'line-height',
4840
  'section' => 'responsive',
4841
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4842
+ 'ext' => 'px',
4843
  ),
4844
  array(
4845
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
4854
  'affect_on_change_rule' => 'margin-bottom',
4855
  'section' => 'responsive',
4856
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4857
+ 'ext' => 'px',
4858
  ),
4859
  array(
4860
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
4880
  'affect_on_change_rule' => 'font-size',
4881
  'section' => 'responsive',
4882
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4883
+ 'ext' => 'px',
4884
  ),
4885
  array(
4886
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
4895
  'affect_on_change_rule' => 'line-height',
4896
  'section' => 'responsive',
4897
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4898
+ 'ext' => 'px',
4899
  ),
4900
  array(
4901
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
4910
  'affect_on_change_rule' => 'margin-bottom',
4911
  'section' => 'responsive',
4912
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4913
+ 'ext' => 'px',
4914
  ),
4915
  array(
4916
  'label' => __( 'H4 - Text Align', 'live-composer-page-builder' ),
4936
  'affect_on_change_rule' => 'font-size',
4937
  'section' => 'responsive',
4938
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4939
+ 'ext' => 'px',
4940
  ),
4941
  array(
4942
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
4951
  'affect_on_change_rule' => 'line-height',
4952
  'section' => 'responsive',
4953
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4954
+ 'ext' => 'px',
4955
  ),
4956
  array(
4957
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
4966
  'affect_on_change_rule' => 'margin-bottom',
4967
  'section' => 'responsive',
4968
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4969
+ 'ext' => 'px',
4970
  ),
4971
  array(
4972
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
4992
  'affect_on_change_rule' => 'font-size',
4993
  'section' => 'responsive',
4994
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4995
+ 'ext' => 'px',
4996
  ),
4997
  array(
4998
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
5007
  'affect_on_change_rule' => 'line-height',
5008
  'section' => 'responsive',
5009
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5010
+ 'ext' => 'px',
5011
  ),
5012
  array(
5013
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
5022
  'affect_on_change_rule' => 'margin-bottom',
5023
  'section' => 'responsive',
5024
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5025
+ 'ext' => 'px',
5026
  ),
5027
  array(
5028
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
5048
  'affect_on_change_rule' => 'font-size',
5049
  'section' => 'responsive',
5050
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5051
+ 'ext' => 'px',
5052
  ),
5053
  array(
5054
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
5063
  'affect_on_change_rule' => 'line-height',
5064
  'section' => 'responsive',
5065
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5066
+ 'ext' => 'px',
5067
  ),
5068
  array(
5069
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
5078
  'affect_on_change_rule' => 'margin-bottom',
5079
  'section' => 'responsive',
5080
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5081
+ 'ext' => 'px',
5082
  ),
5083
  array(
5084
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
5090
  'affect_on_change_rule' => 'margin-left',
5091
  'section' => 'responsive',
5092
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5093
+ 'ext' => 'px',
5094
  ),
5095
  array(
5096
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
5105
  'affect_on_change_rule' => 'margin-bottom',
5106
  'section' => 'responsive',
5107
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5108
+ 'ext' => 'px',
5109
  ),
5110
  array(
5111
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
5120
  'affect_on_change_rule' => 'padding-top,padding-bottom',
5121
  'section' => 'responsive',
5122
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5123
+ 'ext' => 'px',
5124
  ),
5125
  array(
5126
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
5150
  'affect_on_change_rule' => 'font-size',
5151
  'section' => 'responsive',
5152
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5153
+ 'ext' => 'px',
5154
  ),
5155
  array(
5156
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
5165
  'affect_on_change_rule' => 'line-height',
5166
  'section' => 'responsive',
5167
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5168
+ 'ext' => 'px',
5169
  ),
5170
  array(
5171
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
5244
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
5245
 
5246
  }
5247
+ /**
5248
+ * Module HTML output.
5249
+ *
5250
+ * @param array $options Module options to fill the module template.
5251
+ * @return void
5252
+ */
5253
  function output( $options ) {
5254
 
5255
  global $dslc_active;
modules/tp-comments-form/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $css_inputs_color_selector = '';
@@ -230,7 +245,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
230
  'affect_on_change_el' => '#respond',
231
  'affect_on_change_rule' => 'padding-top,padding-bottom',
232
  'section' => 'styling',
233
- 'ext' => 'px'
234
  ),
235
  array(
236
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -244,7 +259,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
244
  'affect_on_change_el' => '#respond',
245
  'affect_on_change_rule' => 'padding-left,padding-right',
246
  'section' => 'styling',
247
- 'ext' => 'px'
248
  ),
249
 
250
  /**
@@ -275,7 +290,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
275
  'affect_on_change_rule' => 'font-size',
276
  'section' => 'styling',
277
  'tab' => __( 'Title', 'live-composer-page-builder' ),
278
- 'ext' => 'px'
279
  ),
280
  array(
281
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -351,7 +366,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
351
  'affect_on_change_rule' => 'line-height',
352
  'section' => 'styling',
353
  'tab' => __( 'Title', 'live-composer-page-builder' ),
354
- 'ext' => 'px'
355
  ),
356
  array(
357
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -366,7 +381,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
366
  'affect_on_change_rule' => 'margin-bottom',
367
  'section' => 'styling',
368
  'tab' => __( 'Title', 'live-composer-page-builder' ),
369
- 'ext' => 'px'
370
  ),
371
 
372
  /**
@@ -483,7 +498,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
483
  'affect_on_change_rule' => 'font-size',
484
  'section' => 'styling',
485
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
486
- 'ext' => 'px'
487
  ),
488
  array(
489
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -559,7 +574,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
559
  'affect_on_change_rule' => 'line-height',
560
  'section' => 'styling',
561
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
562
- 'ext' => 'px'
563
  ),
564
  array(
565
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -647,7 +662,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
647
  'affect_on_change_rule' => 'border-width',
648
  'section' => 'styling',
649
  'tab' => __( 'Button', 'live-composer-page-builder' ),
650
- 'ext' => 'px'
651
  ),
652
  array(
653
  'label' => __( 'Borders', 'live-composer-page-builder' ),
@@ -716,7 +731,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
716
  'increment' => 1,
717
  'section' => 'styling',
718
  'tab' => __( 'Button', 'live-composer-page-builder' ),
719
- 'ext' => 'px'
720
  ),
721
  array(
722
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -753,7 +768,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
753
  'affect_on_change_rule' => 'font-size',
754
  'section' => 'styling',
755
  'tab' => __( 'Button', 'live-composer-page-builder' ),
756
- 'ext' => 'px'
757
  ),
758
  array(
759
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -927,7 +942,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
927
  'affect_on_change_rule' => 'font-size',
928
  'section' => 'responsive',
929
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
930
- 'ext' => 'px'
931
  ),
932
  array(
933
  'label' => __( 'Heading - Line Height', 'live-composer-page-builder' ),
@@ -942,7 +957,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
942
  'affect_on_change_rule' => 'line-height',
943
  'section' => 'responsive',
944
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
945
- 'ext' => 'px'
946
  ),
947
  array(
948
  'label' => __( 'Heading - Margin Bottom', 'live-composer-page-builder' ),
@@ -957,7 +972,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
957
  'affect_on_change_rule' => 'margin-bottom',
958
  'section' => 'responsive',
959
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
960
- 'ext' => 'px'
961
  ),
962
  array(
963
  'label' => __( 'Inputs - Font Size', 'live-composer-page-builder' ),
@@ -972,7 +987,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
972
  'affect_on_change_rule' => 'font-size',
973
  'section' => 'responsive',
974
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
975
- 'ext' => 'px'
976
  ),
977
  array(
978
  'label' => __( 'Inputs - Line Height', 'live-composer-page-builder' ),
@@ -987,7 +1002,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
987
  'affect_on_change_rule' => 'line-height',
988
  'section' => 'responsive',
989
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
990
- 'ext' => 'px'
991
  ),
992
  array(
993
  'label' => __( 'Inputs - Margin Bottom', 'live-composer-page-builder' ),
@@ -1047,7 +1062,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1047
  'affect_on_change_rule' => 'font-size',
1048
  'section' => 'responsive',
1049
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1050
- 'ext' => 'px'
1051
  ),
1052
  array(
1053
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -1160,7 +1175,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1160
  'affect_on_change_rule' => 'font-size',
1161
  'section' => 'responsive',
1162
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1163
- 'ext' => 'px'
1164
  ),
1165
  array(
1166
  'label' => __( 'Heading - Line Height', 'live-composer-page-builder' ),
@@ -1175,7 +1190,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1175
  'affect_on_change_rule' => 'line-height',
1176
  'section' => 'responsive',
1177
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1178
- 'ext' => 'px'
1179
  ),
1180
  array(
1181
  'label' => __( 'Heading - Margin Bottom', 'live-composer-page-builder' ),
@@ -1190,7 +1205,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1190
  'affect_on_change_rule' => 'margin-bottom',
1191
  'section' => 'responsive',
1192
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1193
- 'ext' => 'px'
1194
  ),
1195
  array(
1196
  'label' => __( 'Inputs - Font Size', 'live-composer-page-builder' ),
@@ -1205,7 +1220,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1205
  'affect_on_change_rule' => 'font-size',
1206
  'section' => 'responsive',
1207
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1208
- 'ext' => 'px'
1209
  ),
1210
  array(
1211
  'label' => __( 'Inputs - Line Height', 'live-composer-page-builder' ),
@@ -1220,7 +1235,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1220
  'affect_on_change_rule' => 'line-height',
1221
  'section' => 'responsive',
1222
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1223
- 'ext' => 'px'
1224
  ),
1225
  array(
1226
  'label' => __( 'Inputs - Margin Bottom', 'live-composer-page-builder' ),
@@ -1280,7 +1295,7 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1280
  'affect_on_change_rule' => 'font-size',
1281
  'section' => 'responsive',
1282
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1283
- 'ext' => 'px'
1284
  ),
1285
  array(
1286
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
@@ -1321,7 +1336,12 @@ class DSLC_TP_Comments_Form extends DSLC_Module {
1321
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1322
 
1323
  }
1324
-
 
 
 
 
 
1325
  function output( $options ) {
1326
 
1327
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $css_inputs_color_selector = '';
245
  'affect_on_change_el' => '#respond',
246
  'affect_on_change_rule' => 'padding-top,padding-bottom',
247
  'section' => 'styling',
248
+ 'ext' => 'px',
249
  ),
250
  array(
251
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
259
  'affect_on_change_el' => '#respond',
260
  'affect_on_change_rule' => 'padding-left,padding-right',
261
  'section' => 'styling',
262
+ 'ext' => 'px',
263
  ),
264
 
265
  /**
290
  'affect_on_change_rule' => 'font-size',
291
  'section' => 'styling',
292
  'tab' => __( 'Title', 'live-composer-page-builder' ),
293
+ 'ext' => 'px',
294
  ),
295
  array(
296
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
366
  'affect_on_change_rule' => 'line-height',
367
  'section' => 'styling',
368
  'tab' => __( 'Title', 'live-composer-page-builder' ),
369
+ 'ext' => 'px',
370
  ),
371
  array(
372
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
381
  'affect_on_change_rule' => 'margin-bottom',
382
  'section' => 'styling',
383
  'tab' => __( 'Title', 'live-composer-page-builder' ),
384
+ 'ext' => 'px',
385
  ),
386
 
387
  /**
498
  'affect_on_change_rule' => 'font-size',
499
  'section' => 'styling',
500
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
501
+ 'ext' => 'px',
502
  ),
503
  array(
504
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
574
  'affect_on_change_rule' => 'line-height',
575
  'section' => 'styling',
576
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
577
+ 'ext' => 'px',
578
  ),
579
  array(
580
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
662
  'affect_on_change_rule' => 'border-width',
663
  'section' => 'styling',
664
  'tab' => __( 'Button', 'live-composer-page-builder' ),
665
+ 'ext' => 'px',
666
  ),
667
  array(
668
  'label' => __( 'Borders', 'live-composer-page-builder' ),
731
  'increment' => 1,
732
  'section' => 'styling',
733
  'tab' => __( 'Button', 'live-composer-page-builder' ),
734
+ 'ext' => 'px',
735
  ),
736
  array(
737
  'label' => __( 'Color', 'live-composer-page-builder' ),
768
  'affect_on_change_rule' => 'font-size',
769
  'section' => 'styling',
770
  'tab' => __( 'Button', 'live-composer-page-builder' ),
771
+ 'ext' => 'px',
772
  ),
773
  array(
774
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
942
  'affect_on_change_rule' => 'font-size',
943
  'section' => 'responsive',
944
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
945
+ 'ext' => 'px',
946
  ),
947
  array(
948
  'label' => __( 'Heading - Line Height', 'live-composer-page-builder' ),
957
  'affect_on_change_rule' => 'line-height',
958
  'section' => 'responsive',
959
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
960
+ 'ext' => 'px',
961
  ),
962
  array(
963
  'label' => __( 'Heading - Margin Bottom', 'live-composer-page-builder' ),
972
  'affect_on_change_rule' => 'margin-bottom',
973
  'section' => 'responsive',
974
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
975
+ 'ext' => 'px',
976
  ),
977
  array(
978
  'label' => __( 'Inputs - Font Size', 'live-composer-page-builder' ),
987
  'affect_on_change_rule' => 'font-size',
988
  'section' => 'responsive',
989
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
990
+ 'ext' => 'px',
991
  ),
992
  array(
993
  'label' => __( 'Inputs - Line Height', 'live-composer-page-builder' ),
1002
  'affect_on_change_rule' => 'line-height',
1003
  'section' => 'responsive',
1004
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1005
+ 'ext' => 'px',
1006
  ),
1007
  array(
1008
  'label' => __( 'Inputs - Margin Bottom', 'live-composer-page-builder' ),
1062
  'affect_on_change_rule' => 'font-size',
1063
  'section' => 'responsive',
1064
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1065
+ 'ext' => 'px',
1066
  ),
1067
  array(
1068
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
1175
  'affect_on_change_rule' => 'font-size',
1176
  'section' => 'responsive',
1177
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1178
+ 'ext' => 'px',
1179
  ),
1180
  array(
1181
  'label' => __( 'Heading - Line Height', 'live-composer-page-builder' ),
1190
  'affect_on_change_rule' => 'line-height',
1191
  'section' => 'responsive',
1192
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1193
+ 'ext' => 'px',
1194
  ),
1195
  array(
1196
  'label' => __( 'Heading - Margin Bottom', 'live-composer-page-builder' ),
1205
  'affect_on_change_rule' => 'margin-bottom',
1206
  'section' => 'responsive',
1207
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1208
+ 'ext' => 'px',
1209
  ),
1210
  array(
1211
  'label' => __( 'Inputs - Font Size', 'live-composer-page-builder' ),
1220
  'affect_on_change_rule' => 'font-size',
1221
  'section' => 'responsive',
1222
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1223
+ 'ext' => 'px',
1224
  ),
1225
  array(
1226
  'label' => __( 'Inputs - Line Height', 'live-composer-page-builder' ),
1235
  'affect_on_change_rule' => 'line-height',
1236
  'section' => 'responsive',
1237
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1238
+ 'ext' => 'px',
1239
  ),
1240
  array(
1241
  'label' => __( 'Inputs - Margin Bottom', 'live-composer-page-builder' ),
1295
  'affect_on_change_rule' => 'font-size',
1296
  'section' => 'responsive',
1297
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1298
+ 'ext' => 'px',
1299
  ),
1300
  array(
1301
  'label' => __( 'Button - Padding Vertical', 'live-composer-page-builder' ),
1336
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1337
 
1338
  }
1339
+ /**
1340
+ * Module HTML output.
1341
+ *
1342
+ * @param array $options Module options to fill the module template.
1343
+ * @return void
1344
+ */
1345
  function output( $options ) {
1346
 
1347
  global $dslc_active;
modules/tp-comments/module.php CHANGED
@@ -24,6 +24,21 @@ class DSLC_TP_Comments extends DSLC_Module {
24
 
25
  }
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  function options() {
28
 
29
  $dslc_options = array(
@@ -72,9 +87,8 @@ class DSLC_TP_Comments extends DSLC_Module {
72
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
73
  'id' => 'css_border_width',
74
  'min' => 0,
75
- 'max' => 10,
76
  'increment' => 1,
77
-
78
  'std' => '0',
79
  'type' => 'slider',
80
  'refresh_on_change' => false,
@@ -168,7 +182,7 @@ class DSLC_TP_Comments extends DSLC_Module {
168
  'affect_on_change_el' => '.dslc-tp-comments',
169
  'affect_on_change_rule' => 'padding-top,padding-bottom',
170
  'section' => 'styling',
171
- 'ext' => 'px'
172
  ),
173
  array(
174
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
@@ -182,7 +196,7 @@ class DSLC_TP_Comments extends DSLC_Module {
182
  'affect_on_change_el' => '.dslc-tp-comments',
183
  'affect_on_change_rule' => 'padding-left,padding-right',
184
  'section' => 'styling',
185
- 'ext' => 'px'
186
  ),
187
 
188
  /**
@@ -215,9 +229,8 @@ class DSLC_TP_Comments extends DSLC_Module {
215
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
216
  'id' => 'css_c_border_width',
217
  'min' => 0,
218
- 'max' => 10,
219
  'increment' => 1,
220
-
221
  'std' => '0',
222
  'type' => 'slider',
223
  'refresh_on_change' => false,
@@ -651,7 +664,7 @@ class DSLC_TP_Comments extends DSLC_Module {
651
  'affect_on_change_rule' => 'font-size',
652
  'section' => 'styling',
653
  'tab' => __( 'Info - author', 'live-composer-page-builder' ),
654
- 'ext' => 'px'
655
  ),
656
  array(
657
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -743,7 +756,7 @@ class DSLC_TP_Comments extends DSLC_Module {
743
  'affect_on_change_rule' => 'font-size',
744
  'section' => 'styling',
745
  'tab' => __( 'Info - date', 'live-composer-page-builder' ),
746
- 'ext' => 'px'
747
  ),
748
  array(
749
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -835,7 +848,7 @@ class DSLC_TP_Comments extends DSLC_Module {
835
  'affect_on_change_rule' => 'font-size',
836
  'section' => 'styling',
837
  'tab' => __( 'Info - reply', 'live-composer-page-builder' ),
838
- 'ext' => 'px'
839
  ),
840
  array(
841
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -929,9 +942,8 @@ class DSLC_TP_Comments extends DSLC_Module {
929
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
930
  'id' => 'css_cm_border_width',
931
  'min' => 0,
932
- 'max' => 10,
933
  'increment' => 1,
934
-
935
  'std' => '0',
936
  'type' => 'slider',
937
  'refresh_on_change' => false,
@@ -1023,7 +1035,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1023
  'affect_on_change_rule' => 'font-size',
1024
  'section' => 'styling',
1025
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1026
- 'ext' => 'px'
1027
  ),
1028
  array(
1029
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1096,7 +1108,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1096
  'affect_on_change_rule' => 'line-height',
1097
  'section' => 'styling',
1098
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1099
- 'ext' => 'px'
1100
  ),
1101
  array(
1102
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1359,7 +1371,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1359
  'affect_on_change_rule' => 'font-size',
1360
  'section' => 'responsive',
1361
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1362
- 'ext' => 'px'
1363
  ),
1364
  array(
1365
  'label' => __( 'Info Date - Font Size', 'live-composer-page-builder' ),
@@ -1374,7 +1386,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1374
  'affect_on_change_rule' => 'font-size',
1375
  'section' => 'responsive',
1376
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1377
- 'ext' => 'px'
1378
  ),
1379
  array(
1380
  'label' => __( 'Reply - Font Size', 'live-composer-page-builder' ),
@@ -1389,7 +1401,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1389
  'affect_on_change_rule' => 'font-size',
1390
  'section' => 'responsive',
1391
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1392
- 'ext' => 'px'
1393
  ),
1394
  array(
1395
  'label' => __( 'Main - Font Size', 'live-composer-page-builder' ),
@@ -1404,7 +1416,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1404
  'affect_on_change_rule' => 'font-size',
1405
  'section' => 'responsive',
1406
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1407
- 'ext' => 'px'
1408
  ),
1409
  array(
1410
  'label' => __( 'Main - Line Height', 'live-composer-page-builder' ),
@@ -1416,7 +1428,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1416
  'affect_on_change_rule' => 'line-height',
1417
  'section' => 'responsive',
1418
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1419
- 'ext' => 'px'
1420
  ),
1421
  array(
1422
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -1679,7 +1691,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1679
  'affect_on_change_rule' => 'font-size',
1680
  'section' => 'responsive',
1681
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1682
- 'ext' => 'px'
1683
  ),
1684
  array(
1685
  'label' => __( 'Info Date - Font Size', 'live-composer-page-builder' ),
@@ -1694,7 +1706,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1694
  'affect_on_change_rule' => 'font-size',
1695
  'section' => 'responsive',
1696
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1697
- 'ext' => 'px'
1698
  ),
1699
  array(
1700
  'label' => __( 'Reply - Font Size', 'live-composer-page-builder' ),
@@ -1709,7 +1721,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1709
  'affect_on_change_rule' => 'font-size',
1710
  'section' => 'responsive',
1711
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1712
- 'ext' => 'px'
1713
  ),
1714
  array(
1715
  'label' => __( 'Main - Font Size', 'live-composer-page-builder' ),
@@ -1724,7 +1736,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1724
  'affect_on_change_rule' => 'font-size',
1725
  'section' => 'responsive',
1726
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1727
- 'ext' => 'px'
1728
  ),
1729
  array(
1730
  'label' => __( 'Main - Line Height', 'live-composer-page-builder' ),
@@ -1736,7 +1748,7 @@ class DSLC_TP_Comments extends DSLC_Module {
1736
  'affect_on_change_rule' => 'line-height',
1737
  'section' => 'responsive',
1738
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1739
- 'ext' => 'px'
1740
  ),
1741
  array(
1742
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -1778,7 +1790,12 @@ class DSLC_TP_Comments extends DSLC_Module {
1778
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1779
 
1780
  }
1781
-
 
 
 
 
 
1782
  function output( $options ) {
1783
 
1784
  global $dslc_active;
24
 
25
  }
26
 
27
+ /**
28
+ * Module options.
29
+ * Function build array with all the module functionality and styling options.
30
+ * Based on this array Live Composer builds module settings panel.
31
+ * – Every array inside $dslc_options means one option = one control.
32
+ * – Every option should have unique (for this module) id.
33
+ * – Options divides on "Functionality" and "Styling".
34
+ * – Styling options start with css_XXXXXXX
35
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
36
+ * – Options can be hidden.
37
+ * – Options can have a default value.
38
+ * – Options can request refresh from server on change or do live refresh via CSS.
39
+ *
40
+ * @return array All the module options in array.
41
+ */
42
  function options() {
43
 
44
  $dslc_options = array(
87
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
88
  'id' => 'css_border_width',
89
  'min' => 0,
90
+ 'max' => 1000,
91
  'increment' => 1,
 
92
  'std' => '0',
93
  'type' => 'slider',
94
  'refresh_on_change' => false,
182
  'affect_on_change_el' => '.dslc-tp-comments',
183
  'affect_on_change_rule' => 'padding-top,padding-bottom',
184
  'section' => 'styling',
185
+ 'ext' => 'px',
186
  ),
187
  array(
188
  'label' => __( 'Padding Horizontal', 'live-composer-page-builder' ),
196
  'affect_on_change_el' => '.dslc-tp-comments',
197
  'affect_on_change_rule' => 'padding-left,padding-right',
198
  'section' => 'styling',
199
+ 'ext' => 'px',
200
  ),
201
 
202
  /**
229
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
230
  'id' => 'css_c_border_width',
231
  'min' => 0,
232
+ 'max' => 1000,
233
  'increment' => 1,
 
234
  'std' => '0',
235
  'type' => 'slider',
236
  'refresh_on_change' => false,
664
  'affect_on_change_rule' => 'font-size',
665
  'section' => 'styling',
666
  'tab' => __( 'Info - author', 'live-composer-page-builder' ),
667
+ 'ext' => 'px',
668
  ),
669
  array(
670
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
756
  'affect_on_change_rule' => 'font-size',
757
  'section' => 'styling',
758
  'tab' => __( 'Info - date', 'live-composer-page-builder' ),
759
+ 'ext' => 'px',
760
  ),
761
  array(
762
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
848
  'affect_on_change_rule' => 'font-size',
849
  'section' => 'styling',
850
  'tab' => __( 'Info - reply', 'live-composer-page-builder' ),
851
+ 'ext' => 'px',
852
  ),
853
  array(
854
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
942
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
943
  'id' => 'css_cm_border_width',
944
  'min' => 0,
945
+ 'max' => 1000,
946
  'increment' => 1,
 
947
  'std' => '0',
948
  'type' => 'slider',
949
  'refresh_on_change' => false,
1035
  'affect_on_change_rule' => 'font-size',
1036
  'section' => 'styling',
1037
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1038
+ 'ext' => 'px',
1039
  ),
1040
  array(
1041
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1108
  'affect_on_change_rule' => 'line-height',
1109
  'section' => 'styling',
1110
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1111
+ 'ext' => 'px',
1112
  ),
1113
  array(
1114
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1371
  'affect_on_change_rule' => 'font-size',
1372
  'section' => 'responsive',
1373
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1374
+ 'ext' => 'px',
1375
  ),
1376
  array(
1377
  'label' => __( 'Info Date - Font Size', 'live-composer-page-builder' ),
1386
  'affect_on_change_rule' => 'font-size',
1387
  'section' => 'responsive',
1388
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1389
+ 'ext' => 'px',
1390
  ),
1391
  array(
1392
  'label' => __( 'Reply - Font Size', 'live-composer-page-builder' ),
1401
  'affect_on_change_rule' => 'font-size',
1402
  'section' => 'responsive',
1403
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1404
+ 'ext' => 'px',
1405
  ),
1406
  array(
1407
  'label' => __( 'Main - Font Size', 'live-composer-page-builder' ),
1416
  'affect_on_change_rule' => 'font-size',
1417
  'section' => 'responsive',
1418
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1419
+ 'ext' => 'px',
1420
  ),
1421
  array(
1422
  'label' => __( 'Main - Line Height', 'live-composer-page-builder' ),
1428
  'affect_on_change_rule' => 'line-height',
1429
  'section' => 'responsive',
1430
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1431
+ 'ext' => 'px',
1432
  ),
1433
  array(
1434
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1691
  'affect_on_change_rule' => 'font-size',
1692
  'section' => 'responsive',
1693
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1694
+ 'ext' => 'px',
1695
  ),
1696
  array(
1697
  'label' => __( 'Info Date - Font Size', 'live-composer-page-builder' ),
1706
  'affect_on_change_rule' => 'font-size',
1707
  'section' => 'responsive',
1708
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1709
+ 'ext' => 'px',
1710
  ),
1711
  array(
1712
  'label' => __( 'Reply - Font Size', 'live-composer-page-builder' ),
1721
  'affect_on_change_rule' => 'font-size',
1722
  'section' => 'responsive',
1723
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1724
+ 'ext' => 'px',
1725
  ),
1726
  array(
1727
  'label' => __( 'Main - Font Size', 'live-composer-page-builder' ),
1736
  'affect_on_change_rule' => 'font-size',
1737
  'section' => 'responsive',
1738
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1739
+ 'ext' => 'px',
1740
  ),
1741
  array(
1742
  'label' => __( 'Main - Line Height', 'live-composer-page-builder' ),
1748
  'affect_on_change_rule' => 'line-height',
1749
  'section' => 'responsive',
1750
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
1751
+ 'ext' => 'px',
1752
  ),
1753
  array(
1754
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
1790
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
1791
 
1792
  }
1793
+ /**
1794
+ * Module HTML output.
1795
+ *
1796
+ * @param array $options Module options to fill the module template.
1797
+ * @return void
1798
+ */
1799
  function output( $options ) {
1800
 
1801
  global $dslc_active;
modules/tp-content/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Content extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -198,9 +213,8 @@ class DSLC_TP_Content extends DSLC_Module {
198
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
199
  'id' => 'css_main_border_width',
200
  'min' => 0,
201
- 'max' => 10,
202
  'increment' => 1,
203
-
204
  'std' => '0',
205
  'type' => 'slider',
206
  'refresh_on_change' => false,
@@ -362,7 +376,7 @@ class DSLC_TP_Content extends DSLC_Module {
362
  'affect_on_change_rule' => 'font-size',
363
  'section' => 'styling',
364
  'tab' => __( 'Content', 'live-composer-page-builder' ),
365
- 'ext' => 'px'
366
  ),
367
  array(
368
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -459,7 +473,7 @@ class DSLC_TP_Content extends DSLC_Module {
459
  'affect_on_change_rule' => 'line-height',
460
  'section' => 'styling',
461
  'tab' => __( 'Content', 'live-composer-page-builder' ),
462
- 'ext' => 'px'
463
  ),
464
  array(
465
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
@@ -529,9 +543,8 @@ class DSLC_TP_Content extends DSLC_Module {
529
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
530
  'id' => 'css_h1_border_width',
531
  'min' => 0,
532
- 'max' => 10,
533
  'increment' => 1,
534
-
535
  'std' => '0',
536
  'type' => 'slider',
537
  'refresh_on_change' => false,
@@ -626,7 +639,7 @@ class DSLC_TP_Content extends DSLC_Module {
626
  'affect_on_change_rule' => 'font-size',
627
  'section' => 'styling',
628
  'tab' => __( 'H1', 'live-composer-page-builder' ),
629
- 'ext' => 'px'
630
  ),
631
  array(
632
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -723,7 +736,7 @@ class DSLC_TP_Content extends DSLC_Module {
723
  'affect_on_change_rule' => 'line-height',
724
  'section' => 'styling',
725
  'tab' => __( 'H1', 'live-composer-page-builder' ),
726
- 'ext' => 'px'
727
  ),
728
  array(
729
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -738,7 +751,7 @@ class DSLC_TP_Content extends DSLC_Module {
738
  'affect_on_change_rule' => 'margin-bottom',
739
  'section' => 'styling',
740
  'tab' => __( 'H1', 'live-composer-page-builder' ),
741
- 'ext' => 'px'
742
  ),
743
  array(
744
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -823,9 +836,8 @@ class DSLC_TP_Content extends DSLC_Module {
823
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
824
  'id' => 'css_h2_border_width',
825
  'min' => 0,
826
- 'max' => 10,
827
  'increment' => 1,
828
-
829
  'std' => '0',
830
  'type' => 'slider',
831
  'refresh_on_change' => false,
@@ -924,7 +936,7 @@ class DSLC_TP_Content extends DSLC_Module {
924
  'affect_on_change_rule' => 'font-size',
925
  'section' => 'styling',
926
  'tab' => __( 'H2', 'live-composer-page-builder' ),
927
- 'ext' => 'px'
928
  ),
929
  array(
930
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1021,7 +1033,7 @@ class DSLC_TP_Content extends DSLC_Module {
1021
  'affect_on_change_rule' => 'line-height',
1022
  'section' => 'styling',
1023
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1024
- 'ext' => 'px'
1025
  ),
1026
  array(
1027
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1036,7 +1048,7 @@ class DSLC_TP_Content extends DSLC_Module {
1036
  'affect_on_change_rule' => 'margin-bottom',
1037
  'section' => 'styling',
1038
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1039
- 'ext' => 'px'
1040
  ),
1041
  array(
1042
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1121,9 +1133,8 @@ class DSLC_TP_Content extends DSLC_Module {
1121
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1122
  'id' => 'css_h3_border_width',
1123
  'min' => 0,
1124
- 'max' => 10,
1125
  'increment' => 1,
1126
-
1127
  'std' => '0',
1128
  'type' => 'slider',
1129
  'refresh_on_change' => false,
@@ -1222,7 +1233,7 @@ class DSLC_TP_Content extends DSLC_Module {
1222
  'affect_on_change_rule' => 'font-size',
1223
  'section' => 'styling',
1224
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1225
- 'ext' => 'px'
1226
  ),
1227
  array(
1228
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1319,7 +1330,7 @@ class DSLC_TP_Content extends DSLC_Module {
1319
  'affect_on_change_rule' => 'line-height',
1320
  'section' => 'styling',
1321
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1322
- 'ext' => 'px'
1323
  ),
1324
  array(
1325
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1334,7 +1345,7 @@ class DSLC_TP_Content extends DSLC_Module {
1334
  'affect_on_change_rule' => 'margin-bottom',
1335
  'section' => 'styling',
1336
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1337
- 'ext' => 'px'
1338
  ),
1339
  array(
1340
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1419,9 +1430,8 @@ class DSLC_TP_Content extends DSLC_Module {
1419
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1420
  'id' => 'css_h4_border_width',
1421
  'min' => 0,
1422
- 'max' => 10,
1423
  'increment' => 1,
1424
-
1425
  'std' => '0',
1426
  'type' => 'slider',
1427
  'refresh_on_change' => false,
@@ -1520,7 +1530,7 @@ class DSLC_TP_Content extends DSLC_Module {
1520
  'affect_on_change_rule' => 'font-size',
1521
  'section' => 'styling',
1522
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1523
- 'ext' => 'px'
1524
  ),
1525
  array(
1526
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1617,7 +1627,7 @@ class DSLC_TP_Content extends DSLC_Module {
1617
  'affect_on_change_rule' => 'line-height',
1618
  'section' => 'styling',
1619
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1620
- 'ext' => 'px'
1621
  ),
1622
  array(
1623
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1632,7 +1642,7 @@ class DSLC_TP_Content extends DSLC_Module {
1632
  'affect_on_change_rule' => 'margin-bottom',
1633
  'section' => 'styling',
1634
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1635
- 'ext' => 'px'
1636
  ),
1637
  array(
1638
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -1717,9 +1727,8 @@ class DSLC_TP_Content extends DSLC_Module {
1717
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1718
  'id' => 'css_h5_border_width',
1719
  'min' => 0,
1720
- 'max' => 10,
1721
  'increment' => 1,
1722
-
1723
  'std' => '0',
1724
  'type' => 'slider',
1725
  'refresh_on_change' => false,
@@ -1818,7 +1827,7 @@ class DSLC_TP_Content extends DSLC_Module {
1818
  'affect_on_change_rule' => 'font-size',
1819
  'section' => 'styling',
1820
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1821
- 'ext' => 'px'
1822
  ),
1823
  array(
1824
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1915,7 +1924,7 @@ class DSLC_TP_Content extends DSLC_Module {
1915
  'affect_on_change_rule' => 'line-height',
1916
  'section' => 'styling',
1917
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1918
- 'ext' => 'px'
1919
  ),
1920
  array(
1921
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1930,7 +1939,7 @@ class DSLC_TP_Content extends DSLC_Module {
1930
  'affect_on_change_rule' => 'margin-bottom',
1931
  'section' => 'styling',
1932
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1933
- 'ext' => 'px'
1934
  ),
1935
  array(
1936
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2015,9 +2024,8 @@ class DSLC_TP_Content extends DSLC_Module {
2015
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2016
  'id' => 'css_h6_border_width',
2017
  'min' => 0,
2018
- 'max' => 10,
2019
  'increment' => 1,
2020
-
2021
  'std' => '0',
2022
  'type' => 'slider',
2023
  'refresh_on_change' => false,
@@ -2116,7 +2124,7 @@ class DSLC_TP_Content extends DSLC_Module {
2116
  'affect_on_change_rule' => 'font-size',
2117
  'section' => 'styling',
2118
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2119
- 'ext' => 'px'
2120
  ),
2121
  array(
2122
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2213,7 +2221,7 @@ class DSLC_TP_Content extends DSLC_Module {
2213
  'affect_on_change_rule' => 'line-height',
2214
  'section' => 'styling',
2215
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2216
- 'ext' => 'px'
2217
  ),
2218
  array(
2219
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2228,7 +2236,7 @@ class DSLC_TP_Content extends DSLC_Module {
2228
  'affect_on_change_rule' => 'margin-bottom',
2229
  'section' => 'styling',
2230
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2231
- 'ext' => 'px'
2232
  ),
2233
  array(
2234
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -2382,7 +2390,7 @@ class DSLC_TP_Content extends DSLC_Module {
2382
  'affect_on_change_rule' => 'font-size',
2383
  'section' => 'styling',
2384
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2385
- 'ext' => 'px'
2386
  ),
2387
  array(
2388
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -2458,7 +2466,7 @@ class DSLC_TP_Content extends DSLC_Module {
2458
  'affect_on_change_rule' => 'line-height',
2459
  'section' => 'styling',
2460
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2461
- 'ext' => 'px'
2462
  ),
2463
  array(
2464
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -2473,7 +2481,7 @@ class DSLC_TP_Content extends DSLC_Module {
2473
  'affect_on_change_rule' => 'margin-bottom',
2474
  'section' => 'styling',
2475
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2476
- 'ext' => 'px'
2477
  ),
2478
  array(
2479
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
@@ -2485,7 +2493,7 @@ class DSLC_TP_Content extends DSLC_Module {
2485
  'affect_on_change_rule' => 'margin-left',
2486
  'section' => 'styling',
2487
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2488
- 'ext' => 'px'
2489
  ),
2490
  array(
2491
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
@@ -2678,7 +2686,7 @@ class DSLC_TP_Content extends DSLC_Module {
2678
  'affect_on_change_rule' => 'margin-bottom',
2679
  'section' => 'styling',
2680
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2681
- 'ext' => 'px'
2682
  ),
2683
  array(
2684
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
@@ -2706,9 +2714,8 @@ class DSLC_TP_Content extends DSLC_Module {
2706
  'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
2707
  'id' => 'css_li_border_width',
2708
  'min' => 0,
2709
- 'max' => 10,
2710
  'increment' => 1,
2711
-
2712
  'std' => '0',
2713
  'type' => 'slider',
2714
  'refresh_on_change' => false,
@@ -2796,7 +2803,7 @@ class DSLC_TP_Content extends DSLC_Module {
2796
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2797
  'section' => 'styling',
2798
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2799
- 'ext' => 'px'
2800
  ),
2801
  array(
2802
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -2938,7 +2945,7 @@ class DSLC_TP_Content extends DSLC_Module {
2938
  'affect_on_change_rule' => 'font-size',
2939
  'section' => 'styling',
2940
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2941
- 'ext' => 'px'
2942
  ),
2943
  array(
2944
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3014,7 +3021,7 @@ class DSLC_TP_Content extends DSLC_Module {
3014
  'affect_on_change_rule' => 'line-height',
3015
  'section' => 'styling',
3016
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3017
- 'ext' => 'px'
3018
  ),
3019
  array(
3020
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3125,9 +3132,8 @@ class DSLC_TP_Content extends DSLC_Module {
3125
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
3126
  'id' => 'css_button_border_width',
3127
  'min' => 0,
3128
- 'max' => 10,
3129
  'increment' => 1,
3130
-
3131
  'std' => '0',
3132
  'type' => 'slider',
3133
  'refresh_on_change' => false,
@@ -3219,7 +3225,7 @@ class DSLC_TP_Content extends DSLC_Module {
3219
  'affect_on_change_rule' => 'font-size',
3220
  'section' => 'styling',
3221
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3222
- 'ext' => 'px'
3223
  ),
3224
  array(
3225
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3295,7 +3301,7 @@ class DSLC_TP_Content extends DSLC_Module {
3295
  'affect_on_change_rule' => 'line-height',
3296
  'section' => 'styling',
3297
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3298
- 'ext' => 'px'
3299
  ),
3300
  array(
3301
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -3517,9 +3523,8 @@ class DSLC_TP_Content extends DSLC_Module {
3517
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
3518
  'id' => 'css_blockquote_border_width',
3519
  'min' => 0,
3520
- 'max' => 10,
3521
  'increment' => 1,
3522
-
3523
  'std' => '0',
3524
  'type' => 'slider',
3525
  'refresh_on_change' => false,
@@ -3618,7 +3623,7 @@ class DSLC_TP_Content extends DSLC_Module {
3618
  'affect_on_change_rule' => 'font-size',
3619
  'section' => 'styling',
3620
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3621
- 'ext' => 'px'
3622
  ),
3623
  array(
3624
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -3694,7 +3699,7 @@ class DSLC_TP_Content extends DSLC_Module {
3694
  'affect_on_change_rule' => 'line-height',
3695
  'section' => 'styling',
3696
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3697
- 'ext' => 'px'
3698
  ),
3699
  array(
3700
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -3856,7 +3861,7 @@ class DSLC_TP_Content extends DSLC_Module {
3856
  'affect_on_change_rule' => 'font-size',
3857
  'section' => 'responsive',
3858
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3859
- 'ext' => 'px'
3860
  ),
3861
  array(
3862
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -3871,7 +3876,7 @@ class DSLC_TP_Content extends DSLC_Module {
3871
  'affect_on_change_rule' => 'line-height',
3872
  'section' => 'responsive',
3873
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3874
- 'ext' => 'px'
3875
  ),
3876
  array(
3877
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -3897,7 +3902,7 @@ class DSLC_TP_Content extends DSLC_Module {
3897
  'affect_on_change_rule' => 'font-size',
3898
  'section' => 'responsive',
3899
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3900
- 'ext' => 'px'
3901
  ),
3902
  array(
3903
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
@@ -3912,7 +3917,7 @@ class DSLC_TP_Content extends DSLC_Module {
3912
  'affect_on_change_rule' => 'line-height',
3913
  'section' => 'responsive',
3914
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3915
- 'ext' => 'px'
3916
  ),
3917
  array(
3918
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3927,7 +3932,7 @@ class DSLC_TP_Content extends DSLC_Module {
3927
  'affect_on_change_rule' => 'margin-bottom',
3928
  'section' => 'responsive',
3929
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3930
- 'ext' => 'px'
3931
  ),
3932
  array(
3933
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
@@ -3953,7 +3958,7 @@ class DSLC_TP_Content extends DSLC_Module {
3953
  'affect_on_change_rule' => 'font-size',
3954
  'section' => 'responsive',
3955
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3956
- 'ext' => 'px'
3957
  ),
3958
  array(
3959
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
@@ -3968,7 +3973,7 @@ class DSLC_TP_Content extends DSLC_Module {
3968
  'affect_on_change_rule' => 'line-height',
3969
  'section' => 'responsive',
3970
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3971
- 'ext' => 'px'
3972
  ),
3973
  array(
3974
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
@@ -3983,7 +3988,7 @@ class DSLC_TP_Content extends DSLC_Module {
3983
  'affect_on_change_rule' => 'margin-bottom',
3984
  'section' => 'responsive',
3985
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3986
- 'ext' => 'px'
3987
  ),
3988
  array(
3989
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
@@ -4009,7 +4014,7 @@ class DSLC_TP_Content extends DSLC_Module {
4009
  'affect_on_change_rule' => 'font-size',
4010
  'section' => 'responsive',
4011
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4012
- 'ext' => 'px'
4013
  ),
4014
  array(
4015
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
@@ -4024,7 +4029,7 @@ class DSLC_TP_Content extends DSLC_Module {
4024
  'affect_on_change_rule' => 'line-height',
4025
  'section' => 'responsive',
4026
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4027
- 'ext' => 'px'
4028
  ),
4029
  array(
4030
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4039,7 +4044,7 @@ class DSLC_TP_Content extends DSLC_Module {
4039
  'affect_on_change_rule' => 'margin-bottom',
4040
  'section' => 'responsive',
4041
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4042
- 'ext' => 'px'
4043
  ),
4044
  array(
4045
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
@@ -4065,7 +4070,7 @@ class DSLC_TP_Content extends DSLC_Module {
4065
  'affect_on_change_rule' => 'font-size',
4066
  'section' => 'responsive',
4067
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4068
- 'ext' => 'px'
4069
  ),
4070
  array(
4071
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
@@ -4080,7 +4085,7 @@ class DSLC_TP_Content extends DSLC_Module {
4080
  'affect_on_change_rule' => 'line-height',
4081
  'section' => 'responsive',
4082
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4083
- 'ext' => 'px'
4084
  ),
4085
  array(
4086
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4095,7 +4100,7 @@ class DSLC_TP_Content extends DSLC_Module {
4095
  'affect_on_change_rule' => 'margin-bottom',
4096
  'section' => 'responsive',
4097
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4098
- 'ext' => 'px'
4099
  ),
4100
  array(
4101
  'label' => __( 'H4- Text Align', 'live-composer-page-builder' ),
@@ -4121,7 +4126,7 @@ class DSLC_TP_Content extends DSLC_Module {
4121
  'affect_on_change_rule' => 'font-size',
4122
  'section' => 'responsive',
4123
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4124
- 'ext' => 'px'
4125
  ),
4126
  array(
4127
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
@@ -4136,7 +4141,7 @@ class DSLC_TP_Content extends DSLC_Module {
4136
  'affect_on_change_rule' => 'line-height',
4137
  'section' => 'responsive',
4138
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4139
- 'ext' => 'px'
4140
  ),
4141
  array(
4142
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4151,7 +4156,7 @@ class DSLC_TP_Content extends DSLC_Module {
4151
  'affect_on_change_rule' => 'margin-bottom',
4152
  'section' => 'responsive',
4153
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4154
- 'ext' => 'px'
4155
  ),
4156
  array(
4157
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
@@ -4177,7 +4182,7 @@ class DSLC_TP_Content extends DSLC_Module {
4177
  'affect_on_change_rule' => 'font-size',
4178
  'section' => 'responsive',
4179
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4180
- 'ext' => 'px'
4181
  ),
4182
  array(
4183
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
@@ -4192,7 +4197,7 @@ class DSLC_TP_Content extends DSLC_Module {
4192
  'affect_on_change_rule' => 'line-height',
4193
  'section' => 'responsive',
4194
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4195
- 'ext' => 'px'
4196
  ),
4197
  array(
4198
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4207,7 +4212,7 @@ class DSLC_TP_Content extends DSLC_Module {
4207
  'affect_on_change_rule' => 'margin-bottom',
4208
  'section' => 'responsive',
4209
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4210
- 'ext' => 'px'
4211
  ),
4212
  array(
4213
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
@@ -4233,7 +4238,7 @@ class DSLC_TP_Content extends DSLC_Module {
4233
  'affect_on_change_rule' => 'font-size',
4234
  'section' => 'responsive',
4235
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4236
- 'ext' => 'px'
4237
  ),
4238
  array(
4239
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
@@ -4248,7 +4253,7 @@ class DSLC_TP_Content extends DSLC_Module {
4248
  'affect_on_change_rule' => 'line-height',
4249
  'section' => 'responsive',
4250
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4251
- 'ext' => 'px'
4252
  ),
4253
  array(
4254
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
@@ -4263,7 +4268,7 @@ class DSLC_TP_Content extends DSLC_Module {
4263
  'affect_on_change_rule' => 'margin-bottom',
4264
  'section' => 'responsive',
4265
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4266
- 'ext' => 'px'
4267
  ),
4268
  array(
4269
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
@@ -4275,7 +4280,7 @@ class DSLC_TP_Content extends DSLC_Module {
4275
  'affect_on_change_rule' => 'margin-left',
4276
  'section' => 'responsive',
4277
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4278
- 'ext' => 'px'
4279
  ),
4280
  array(
4281
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
@@ -4290,7 +4295,7 @@ class DSLC_TP_Content extends DSLC_Module {
4290
  'affect_on_change_rule' => 'margin-bottom',
4291
  'section' => 'responsive',
4292
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4293
- 'ext' => 'px'
4294
  ),
4295
  array(
4296
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
@@ -4305,7 +4310,7 @@ class DSLC_TP_Content extends DSLC_Module {
4305
  'affect_on_change_rule' => 'padding-top,padding-bottom',
4306
  'section' => 'responsive',
4307
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4308
- 'ext' => 'px'
4309
  ),
4310
  array(
4311
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -4335,7 +4340,7 @@ class DSLC_TP_Content extends DSLC_Module {
4335
  'affect_on_change_rule' => 'font-size',
4336
  'section' => 'responsive',
4337
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4338
- 'ext' => 'px'
4339
  ),
4340
  array(
4341
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
@@ -4350,7 +4355,7 @@ class DSLC_TP_Content extends DSLC_Module {
4350
  'affect_on_change_rule' => 'line-height',
4351
  'section' => 'responsive',
4352
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4353
- 'ext' => 'px'
4354
  ),
4355
  array(
4356
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
@@ -4501,7 +4506,7 @@ class DSLC_TP_Content extends DSLC_Module {
4501
  'affect_on_change_rule' => 'font-size',
4502
  'section' => 'responsive',
4503
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4504
- 'ext' => 'px'
4505
  ),
4506
  array(
4507
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -4516,7 +4521,7 @@ class DSLC_TP_Content extends DSLC_Module {
4516
  'affect_on_change_rule' => 'line-height',
4517
  'section' => 'responsive',
4518
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4519
- 'ext' => 'px'
4520
  ),
4521
  array(
4522
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -4542,7 +4547,7 @@ class DSLC_TP_Content extends DSLC_Module {
4542
  'affect_on_change_rule' => 'font-size',
4543
  'section' => 'responsive',
4544
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4545
- 'ext' => 'px'
4546
  ),
4547
  array(
4548
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
@@ -4557,7 +4562,7 @@ class DSLC_TP_Content extends DSLC_Module {
4557
  'affect_on_change_rule' => 'line-height',
4558
  'section' => 'responsive',
4559
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4560
- 'ext' => 'px'
4561
  ),
4562
  array(
4563
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4572,7 +4577,7 @@ class DSLC_TP_Content extends DSLC_Module {
4572
  'affect_on_change_rule' => 'margin-bottom',
4573
  'section' => 'responsive',
4574
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4575
- 'ext' => 'px'
4576
  ),
4577
  array(
4578
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
@@ -4598,7 +4603,7 @@ class DSLC_TP_Content extends DSLC_Module {
4598
  'affect_on_change_rule' => 'font-size',
4599
  'section' => 'responsive',
4600
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4601
- 'ext' => 'px'
4602
  ),
4603
  array(
4604
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
@@ -4613,7 +4618,7 @@ class DSLC_TP_Content extends DSLC_Module {
4613
  'affect_on_change_rule' => 'line-height',
4614
  'section' => 'responsive',
4615
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4616
- 'ext' => 'px'
4617
  ),
4618
  array(
4619
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4628,7 +4633,7 @@ class DSLC_TP_Content extends DSLC_Module {
4628
  'affect_on_change_rule' => 'margin-bottom',
4629
  'section' => 'responsive',
4630
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4631
- 'ext' => 'px'
4632
  ),
4633
  array(
4634
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
@@ -4654,7 +4659,7 @@ class DSLC_TP_Content extends DSLC_Module {
4654
  'affect_on_change_rule' => 'font-size',
4655
  'section' => 'responsive',
4656
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4657
- 'ext' => 'px'
4658
  ),
4659
  array(
4660
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
@@ -4669,7 +4674,7 @@ class DSLC_TP_Content extends DSLC_Module {
4669
  'affect_on_change_rule' => 'line-height',
4670
  'section' => 'responsive',
4671
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4672
- 'ext' => 'px'
4673
  ),
4674
  array(
4675
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4684,7 +4689,7 @@ class DSLC_TP_Content extends DSLC_Module {
4684
  'affect_on_change_rule' => 'margin-bottom',
4685
  'section' => 'responsive',
4686
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4687
- 'ext' => 'px'
4688
  ),
4689
  array(
4690
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
@@ -4710,7 +4715,7 @@ class DSLC_TP_Content extends DSLC_Module {
4710
  'affect_on_change_rule' => 'font-size',
4711
  'section' => 'responsive',
4712
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4713
- 'ext' => 'px'
4714
  ),
4715
  array(
4716
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
@@ -4725,7 +4730,7 @@ class DSLC_TP_Content extends DSLC_Module {
4725
  'affect_on_change_rule' => 'line-height',
4726
  'section' => 'responsive',
4727
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4728
- 'ext' => 'px'
4729
  ),
4730
  array(
4731
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4740,7 +4745,7 @@ class DSLC_TP_Content extends DSLC_Module {
4740
  'affect_on_change_rule' => 'margin-bottom',
4741
  'section' => 'responsive',
4742
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4743
- 'ext' => 'px'
4744
  ),
4745
  array(
4746
  'label' => __( 'H4- Text Align', 'live-composer-page-builder' ),
@@ -4766,7 +4771,7 @@ class DSLC_TP_Content extends DSLC_Module {
4766
  'affect_on_change_rule' => 'font-size',
4767
  'section' => 'responsive',
4768
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4769
- 'ext' => 'px'
4770
  ),
4771
  array(
4772
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
@@ -4781,7 +4786,7 @@ class DSLC_TP_Content extends DSLC_Module {
4781
  'affect_on_change_rule' => 'line-height',
4782
  'section' => 'responsive',
4783
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4784
- 'ext' => 'px'
4785
  ),
4786
  array(
4787
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4796,7 +4801,7 @@ class DSLC_TP_Content extends DSLC_Module {
4796
  'affect_on_change_rule' => 'margin-bottom',
4797
  'section' => 'responsive',
4798
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4799
- 'ext' => 'px'
4800
  ),
4801
  array(
4802
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
@@ -4822,7 +4827,7 @@ class DSLC_TP_Content extends DSLC_Module {
4822
  'affect_on_change_rule' => 'font-size',
4823
  'section' => 'responsive',
4824
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4825
- 'ext' => 'px'
4826
  ),
4827
  array(
4828
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
@@ -4837,7 +4842,7 @@ class DSLC_TP_Content extends DSLC_Module {
4837
  'affect_on_change_rule' => 'line-height',
4838
  'section' => 'responsive',
4839
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4840
- 'ext' => 'px'
4841
  ),
4842
  array(
4843
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
@@ -4852,7 +4857,7 @@ class DSLC_TP_Content extends DSLC_Module {
4852
  'affect_on_change_rule' => 'margin-bottom',
4853
  'section' => 'responsive',
4854
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4855
- 'ext' => 'px'
4856
  ),
4857
  array(
4858
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
@@ -4878,7 +4883,7 @@ class DSLC_TP_Content extends DSLC_Module {
4878
  'affect_on_change_rule' => 'font-size',
4879
  'section' => 'responsive',
4880
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4881
- 'ext' => 'px'
4882
  ),
4883
  array(
4884
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
@@ -4893,7 +4898,7 @@ class DSLC_TP_Content extends DSLC_Module {
4893
  'affect_on_change_rule' => 'line-height',
4894
  'section' => 'responsive',
4895
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4896
- 'ext' => 'px'
4897
  ),
4898
  array(
4899
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
@@ -4908,7 +4913,7 @@ class DSLC_TP_Content extends DSLC_Module {
4908
  'affect_on_change_rule' => 'margin-bottom',
4909
  'section' => 'responsive',
4910
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4911
- 'ext' => 'px'
4912
  ),
4913
  array(
4914
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
@@ -4920,7 +4925,7 @@ class DSLC_TP_Content extends DSLC_Module {
4920
  'affect_on_change_rule' => 'margin-left',
4921
  'section' => 'responsive',
4922
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4923
- 'ext' => 'px'
4924
  ),
4925
  array(
4926
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
@@ -4935,7 +4940,7 @@ class DSLC_TP_Content extends DSLC_Module {
4935
  'affect_on_change_rule' => 'margin-bottom',
4936
  'section' => 'responsive',
4937
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4938
- 'ext' => 'px'
4939
  ),
4940
  array(
4941
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
@@ -4950,7 +4955,7 @@ class DSLC_TP_Content extends DSLC_Module {
4950
  'affect_on_change_rule' => 'padding-top,padding-bottom',
4951
  'section' => 'responsive',
4952
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4953
- 'ext' => 'px'
4954
  ),
4955
  array(
4956
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
@@ -4980,7 +4985,7 @@ class DSLC_TP_Content extends DSLC_Module {
4980
  'affect_on_change_rule' => 'font-size',
4981
  'section' => 'responsive',
4982
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4983
- 'ext' => 'px'
4984
  ),
4985
  array(
4986
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
@@ -4995,7 +5000,7 @@ class DSLC_TP_Content extends DSLC_Module {
4995
  'affect_on_change_rule' => 'line-height',
4996
  'section' => 'responsive',
4997
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4998
- 'ext' => 'px'
4999
  ),
5000
  array(
5001
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
@@ -5074,7 +5079,12 @@ class DSLC_TP_Content extends DSLC_Module {
5074
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
5075
 
5076
  }
5077
-
 
 
 
 
 
5078
  function output( $options ) {
5079
 
5080
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
213
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
214
  'id' => 'css_main_border_width',
215
  'min' => 0,
216
+ 'max' => 1000,
217
  'increment' => 1,
 
218
  'std' => '0',
219
  'type' => 'slider',
220
  'refresh_on_change' => false,
376
  'affect_on_change_rule' => 'font-size',
377
  'section' => 'styling',
378
  'tab' => __( 'Content', 'live-composer-page-builder' ),
379
+ 'ext' => 'px',
380
  ),
381
  array(
382
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
473
  'affect_on_change_rule' => 'line-height',
474
  'section' => 'styling',
475
  'tab' => __( 'Content', 'live-composer-page-builder' ),
476
+ 'ext' => 'px',
477
  ),
478
  array(
479
  'label' => __( 'Margin Bottom ( paragraph )', 'live-composer-page-builder' ),
543
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
544
  'id' => 'css_h1_border_width',
545
  'min' => 0,
546
+ 'max' => 1000,
547
  'increment' => 1,
 
548
  'std' => '0',
549
  'type' => 'slider',
550
  'refresh_on_change' => false,
639
  'affect_on_change_rule' => 'font-size',
640
  'section' => 'styling',
641
  'tab' => __( 'H1', 'live-composer-page-builder' ),
642
+ 'ext' => 'px',
643
  ),
644
  array(
645
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
736
  'affect_on_change_rule' => 'line-height',
737
  'section' => 'styling',
738
  'tab' => __( 'H1', 'live-composer-page-builder' ),
739
+ 'ext' => 'px',
740
  ),
741
  array(
742
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
751
  'affect_on_change_rule' => 'margin-bottom',
752
  'section' => 'styling',
753
  'tab' => __( 'H1', 'live-composer-page-builder' ),
754
+ 'ext' => 'px',
755
  ),
756
  array(
757
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
836
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
837
  'id' => 'css_h2_border_width',
838
  'min' => 0,
839
+ 'max' => 1000,
840
  'increment' => 1,
 
841
  'std' => '0',
842
  'type' => 'slider',
843
  'refresh_on_change' => false,
936
  'affect_on_change_rule' => 'font-size',
937
  'section' => 'styling',
938
  'tab' => __( 'H2', 'live-composer-page-builder' ),
939
+ 'ext' => 'px',
940
  ),
941
  array(
942
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1033
  'affect_on_change_rule' => 'line-height',
1034
  'section' => 'styling',
1035
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1036
+ 'ext' => 'px',
1037
  ),
1038
  array(
1039
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1048
  'affect_on_change_rule' => 'margin-bottom',
1049
  'section' => 'styling',
1050
  'tab' => __( 'H2', 'live-composer-page-builder' ),
1051
+ 'ext' => 'px',
1052
  ),
1053
  array(
1054
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1133
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1134
  'id' => 'css_h3_border_width',
1135
  'min' => 0,
1136
+ 'max' => 1000,
1137
  'increment' => 1,
 
1138
  'std' => '0',
1139
  'type' => 'slider',
1140
  'refresh_on_change' => false,
1233
  'affect_on_change_rule' => 'font-size',
1234
  'section' => 'styling',
1235
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1236
+ 'ext' => 'px',
1237
  ),
1238
  array(
1239
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1330
  'affect_on_change_rule' => 'line-height',
1331
  'section' => 'styling',
1332
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1333
+ 'ext' => 'px',
1334
  ),
1335
  array(
1336
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1345
  'affect_on_change_rule' => 'margin-bottom',
1346
  'section' => 'styling',
1347
  'tab' => __( 'H3', 'live-composer-page-builder' ),
1348
+ 'ext' => 'px',
1349
  ),
1350
  array(
1351
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1430
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1431
  'id' => 'css_h4_border_width',
1432
  'min' => 0,
1433
+ 'max' => 1000,
1434
  'increment' => 1,
 
1435
  'std' => '0',
1436
  'type' => 'slider',
1437
  'refresh_on_change' => false,
1530
  'affect_on_change_rule' => 'font-size',
1531
  'section' => 'styling',
1532
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1533
+ 'ext' => 'px',
1534
  ),
1535
  array(
1536
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1627
  'affect_on_change_rule' => 'line-height',
1628
  'section' => 'styling',
1629
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1630
+ 'ext' => 'px',
1631
  ),
1632
  array(
1633
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1642
  'affect_on_change_rule' => 'margin-bottom',
1643
  'section' => 'styling',
1644
  'tab' => __( 'H4', 'live-composer-page-builder' ),
1645
+ 'ext' => 'px',
1646
  ),
1647
  array(
1648
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
1727
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
1728
  'id' => 'css_h5_border_width',
1729
  'min' => 0,
1730
+ 'max' => 1000,
1731
  'increment' => 1,
 
1732
  'std' => '0',
1733
  'type' => 'slider',
1734
  'refresh_on_change' => false,
1827
  'affect_on_change_rule' => 'font-size',
1828
  'section' => 'styling',
1829
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1830
+ 'ext' => 'px',
1831
  ),
1832
  array(
1833
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1924
  'affect_on_change_rule' => 'line-height',
1925
  'section' => 'styling',
1926
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1927
+ 'ext' => 'px',
1928
  ),
1929
  array(
1930
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1939
  'affect_on_change_rule' => 'margin-bottom',
1940
  'section' => 'styling',
1941
  'tab' => __( 'H5', 'live-composer-page-builder' ),
1942
+ 'ext' => 'px',
1943
  ),
1944
  array(
1945
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2024
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
2025
  'id' => 'css_h6_border_width',
2026
  'min' => 0,
2027
+ 'max' => 1000,
2028
  'increment' => 1,
 
2029
  'std' => '0',
2030
  'type' => 'slider',
2031
  'refresh_on_change' => false,
2124
  'affect_on_change_rule' => 'font-size',
2125
  'section' => 'styling',
2126
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2127
+ 'ext' => 'px',
2128
  ),
2129
  array(
2130
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2221
  'affect_on_change_rule' => 'line-height',
2222
  'section' => 'styling',
2223
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2224
+ 'ext' => 'px',
2225
  ),
2226
  array(
2227
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2236
  'affect_on_change_rule' => 'margin-bottom',
2237
  'section' => 'styling',
2238
  'tab' => __( 'H6', 'live-composer-page-builder' ),
2239
+ 'ext' => 'px',
2240
  ),
2241
  array(
2242
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
2390
  'affect_on_change_rule' => 'font-size',
2391
  'section' => 'styling',
2392
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2393
+ 'ext' => 'px',
2394
  ),
2395
  array(
2396
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
2466
  'affect_on_change_rule' => 'line-height',
2467
  'section' => 'styling',
2468
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2469
+ 'ext' => 'px',
2470
  ),
2471
  array(
2472
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
2481
  'affect_on_change_rule' => 'margin-bottom',
2482
  'section' => 'styling',
2483
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2484
+ 'ext' => 'px',
2485
  ),
2486
  array(
2487
  'label' => __( 'Margin Left', 'live-composer-page-builder' ),
2493
  'affect_on_change_rule' => 'margin-left',
2494
  'section' => 'styling',
2495
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2496
+ 'ext' => 'px',
2497
  ),
2498
  array(
2499
  'label' => __( 'Unordered Style', 'live-composer-page-builder' ),
2686
  'affect_on_change_rule' => 'margin-bottom',
2687
  'section' => 'styling',
2688
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2689
+ 'ext' => 'px',
2690
  ),
2691
  array(
2692
  'label' => __( 'Item - BG Color', 'live-composer-page-builder' ),
2714
  'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
2715
  'id' => 'css_li_border_width',
2716
  'min' => 0,
2717
+ 'max' => 1000,
2718
  'increment' => 1,
 
2719
  'std' => '0',
2720
  'type' => 'slider',
2721
  'refresh_on_change' => false,
2803
  'affect_on_change_rule' => 'padding-top,padding-bottom',
2804
  'section' => 'styling',
2805
  'tab' => __( 'Lists', 'live-composer-page-builder' ),
2806
+ 'ext' => 'px',
2807
  ),
2808
  array(
2809
  'label' => __( 'Item - Padding Horizontal', 'live-composer-page-builder' ),
2945
  'affect_on_change_rule' => 'font-size',
2946
  'section' => 'styling',
2947
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
2948
+ 'ext' => 'px',
2949
  ),
2950
  array(
2951
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3021
  'affect_on_change_rule' => 'line-height',
3022
  'section' => 'styling',
3023
  'tab' => __( 'Inputs', 'live-composer-page-builder' ),
3024
+ 'ext' => 'px',
3025
  ),
3026
  array(
3027
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3132
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
3133
  'id' => 'css_button_border_width',
3134
  'min' => 0,
3135
+ 'max' => 1000,
3136
  'increment' => 1,
 
3137
  'std' => '0',
3138
  'type' => 'slider',
3139
  'refresh_on_change' => false,
3225
  'affect_on_change_rule' => 'font-size',
3226
  'section' => 'styling',
3227
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3228
+ 'ext' => 'px',
3229
  ),
3230
  array(
3231
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3301
  'affect_on_change_rule' => 'line-height',
3302
  'section' => 'styling',
3303
  'tab' => __( 'Buttons', 'live-composer-page-builder' ),
3304
+ 'ext' => 'px',
3305
  ),
3306
  array(
3307
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
3523
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
3524
  'id' => 'css_blockquote_border_width',
3525
  'min' => 0,
3526
+ 'max' => 1000,
3527
  'increment' => 1,
 
3528
  'std' => '0',
3529
  'type' => 'slider',
3530
  'refresh_on_change' => false,
3623
  'affect_on_change_rule' => 'font-size',
3624
  'section' => 'styling',
3625
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3626
+ 'ext' => 'px',
3627
  ),
3628
  array(
3629
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
3699
  'affect_on_change_rule' => 'line-height',
3700
  'section' => 'styling',
3701
  'tab' => __( 'Blockquote', 'live-composer-page-builder' ),
3702
+ 'ext' => 'px',
3703
  ),
3704
  array(
3705
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
3861
  'affect_on_change_rule' => 'font-size',
3862
  'section' => 'responsive',
3863
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3864
+ 'ext' => 'px',
3865
  ),
3866
  array(
3867
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
3876
  'affect_on_change_rule' => 'line-height',
3877
  'section' => 'responsive',
3878
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3879
+ 'ext' => 'px',
3880
  ),
3881
  array(
3882
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
3902
  'affect_on_change_rule' => 'font-size',
3903
  'section' => 'responsive',
3904
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3905
+ 'ext' => 'px',
3906
  ),
3907
  array(
3908
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
3917
  'affect_on_change_rule' => 'line-height',
3918
  'section' => 'responsive',
3919
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3920
+ 'ext' => 'px',
3921
  ),
3922
  array(
3923
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
3932
  'affect_on_change_rule' => 'margin-bottom',
3933
  'section' => 'responsive',
3934
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3935
+ 'ext' => 'px',
3936
  ),
3937
  array(
3938
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
3958
  'affect_on_change_rule' => 'font-size',
3959
  'section' => 'responsive',
3960
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3961
+ 'ext' => 'px',
3962
  ),
3963
  array(
3964
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
3973
  'affect_on_change_rule' => 'line-height',
3974
  'section' => 'responsive',
3975
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3976
+ 'ext' => 'px',
3977
  ),
3978
  array(
3979
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
3988
  'affect_on_change_rule' => 'margin-bottom',
3989
  'section' => 'responsive',
3990
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
3991
+ 'ext' => 'px',
3992
  ),
3993
  array(
3994
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
4014
  'affect_on_change_rule' => 'font-size',
4015
  'section' => 'responsive',
4016
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4017
+ 'ext' => 'px',
4018
  ),
4019
  array(
4020
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
4029
  'affect_on_change_rule' => 'line-height',
4030
  'section' => 'responsive',
4031
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4032
+ 'ext' => 'px',
4033
  ),
4034
  array(
4035
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
4044
  'affect_on_change_rule' => 'margin-bottom',
4045
  'section' => 'responsive',
4046
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4047
+ 'ext' => 'px',
4048
  ),
4049
  array(
4050
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
4070
  'affect_on_change_rule' => 'font-size',
4071
  'section' => 'responsive',
4072
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4073
+ 'ext' => 'px',
4074
  ),
4075
  array(
4076
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
4085
  'affect_on_change_rule' => 'line-height',
4086
  'section' => 'responsive',
4087
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4088
+ 'ext' => 'px',
4089
  ),
4090
  array(
4091
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
4100
  'affect_on_change_rule' => 'margin-bottom',
4101
  'section' => 'responsive',
4102
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4103
+ 'ext' => 'px',
4104
  ),
4105
  array(
4106
  'label' => __( 'H4- Text Align', 'live-composer-page-builder' ),
4126
  'affect_on_change_rule' => 'font-size',
4127
  'section' => 'responsive',
4128
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4129
+ 'ext' => 'px',
4130
  ),
4131
  array(
4132
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
4141
  'affect_on_change_rule' => 'line-height',
4142
  'section' => 'responsive',
4143
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4144
+ 'ext' => 'px',
4145
  ),
4146
  array(
4147
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
4156
  'affect_on_change_rule' => 'margin-bottom',
4157
  'section' => 'responsive',
4158
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4159
+ 'ext' => 'px',
4160
  ),
4161
  array(
4162
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
4182
  'affect_on_change_rule' => 'font-size',
4183
  'section' => 'responsive',
4184
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4185
+ 'ext' => 'px',
4186
  ),
4187
  array(
4188
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
4197
  'affect_on_change_rule' => 'line-height',
4198
  'section' => 'responsive',
4199
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4200
+ 'ext' => 'px',
4201
  ),
4202
  array(
4203
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
4212
  'affect_on_change_rule' => 'margin-bottom',
4213
  'section' => 'responsive',
4214
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4215
+ 'ext' => 'px',
4216
  ),
4217
  array(
4218
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
4238
  'affect_on_change_rule' => 'font-size',
4239
  'section' => 'responsive',
4240
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4241
+ 'ext' => 'px',
4242
  ),
4243
  array(
4244
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
4253
  'affect_on_change_rule' => 'line-height',
4254
  'section' => 'responsive',
4255
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4256
+ 'ext' => 'px',
4257
  ),
4258
  array(
4259
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
4268
  'affect_on_change_rule' => 'margin-bottom',
4269
  'section' => 'responsive',
4270
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4271
+ 'ext' => 'px',
4272
  ),
4273
  array(
4274
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
4280
  'affect_on_change_rule' => 'margin-left',
4281
  'section' => 'responsive',
4282
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4283
+ 'ext' => 'px',
4284
  ),
4285
  array(
4286
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
4295
  'affect_on_change_rule' => 'margin-bottom',
4296
  'section' => 'responsive',
4297
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4298
+ 'ext' => 'px',
4299
  ),
4300
  array(
4301
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
4310
  'affect_on_change_rule' => 'padding-top,padding-bottom',
4311
  'section' => 'responsive',
4312
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4313
+ 'ext' => 'px',
4314
  ),
4315
  array(
4316
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
4340
  'affect_on_change_rule' => 'font-size',
4341
  'section' => 'responsive',
4342
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4343
+ 'ext' => 'px',
4344
  ),
4345
  array(
4346
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
4355
  'affect_on_change_rule' => 'line-height',
4356
  'section' => 'responsive',
4357
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
4358
+ 'ext' => 'px',
4359
  ),
4360
  array(
4361
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
4506
  'affect_on_change_rule' => 'font-size',
4507
  'section' => 'responsive',
4508
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4509
+ 'ext' => 'px',
4510
  ),
4511
  array(
4512
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
4521
  'affect_on_change_rule' => 'line-height',
4522
  'section' => 'responsive',
4523
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4524
+ 'ext' => 'px',
4525
  ),
4526
  array(
4527
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
4547
  'affect_on_change_rule' => 'font-size',
4548
  'section' => 'responsive',
4549
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4550
+ 'ext' => 'px',
4551
  ),
4552
  array(
4553
  'label' => __( 'H1 - Line Height', 'live-composer-page-builder' ),
4562
  'affect_on_change_rule' => 'line-height',
4563
  'section' => 'responsive',
4564
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4565
+ 'ext' => 'px',
4566
  ),
4567
  array(
4568
  'label' => __( 'H1 - Margin Bottom', 'live-composer-page-builder' ),
4577
  'affect_on_change_rule' => 'margin-bottom',
4578
  'section' => 'responsive',
4579
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4580
+ 'ext' => 'px',
4581
  ),
4582
  array(
4583
  'label' => __( 'H1 - Text Align', 'live-composer-page-builder' ),
4603
  'affect_on_change_rule' => 'font-size',
4604
  'section' => 'responsive',
4605
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4606
+ 'ext' => 'px',
4607
  ),
4608
  array(
4609
  'label' => __( 'H2 - Line Height', 'live-composer-page-builder' ),
4618
  'affect_on_change_rule' => 'line-height',
4619
  'section' => 'responsive',
4620
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4621
+ 'ext' => 'px',
4622
  ),
4623
  array(
4624
  'label' => __( 'H2 - Margin Bottom', 'live-composer-page-builder' ),
4633
  'affect_on_change_rule' => 'margin-bottom',
4634
  'section' => 'responsive',
4635
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4636
+ 'ext' => 'px',
4637
  ),
4638
  array(
4639
  'label' => __( 'H2 - Text Align', 'live-composer-page-builder' ),
4659
  'affect_on_change_rule' => 'font-size',
4660
  'section' => 'responsive',
4661
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4662
+ 'ext' => 'px',
4663
  ),
4664
  array(
4665
  'label' => __( 'H3 - Line Height', 'live-composer-page-builder' ),
4674
  'affect_on_change_rule' => 'line-height',
4675
  'section' => 'responsive',
4676
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4677
+ 'ext' => 'px',
4678
  ),
4679
  array(
4680
  'label' => __( 'H3 - Margin Bottom', 'live-composer-page-builder' ),
4689
  'affect_on_change_rule' => 'margin-bottom',
4690
  'section' => 'responsive',
4691
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4692
+ 'ext' => 'px',
4693
  ),
4694
  array(
4695
  'label' => __( 'H3 - Text Align', 'live-composer-page-builder' ),
4715
  'affect_on_change_rule' => 'font-size',
4716
  'section' => 'responsive',
4717
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4718
+ 'ext' => 'px',
4719
  ),
4720
  array(
4721
  'label' => __( 'H4 - Line Height', 'live-composer-page-builder' ),
4730
  'affect_on_change_rule' => 'line-height',
4731
  'section' => 'responsive',
4732
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4733
+ 'ext' => 'px',
4734
  ),
4735
  array(
4736
  'label' => __( 'H4 - Margin Bottom', 'live-composer-page-builder' ),
4745
  'affect_on_change_rule' => 'margin-bottom',
4746
  'section' => 'responsive',
4747
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4748
+ 'ext' => 'px',
4749
  ),
4750
  array(
4751
  'label' => __( 'H4- Text Align', 'live-composer-page-builder' ),
4771
  'affect_on_change_rule' => 'font-size',
4772
  'section' => 'responsive',
4773
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4774
+ 'ext' => 'px',
4775
  ),
4776
  array(
4777
  'label' => __( 'H5 - Line Height', 'live-composer-page-builder' ),
4786
  'affect_on_change_rule' => 'line-height',
4787
  'section' => 'responsive',
4788
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4789
+ 'ext' => 'px',
4790
  ),
4791
  array(
4792
  'label' => __( 'H5 - Margin Bottom', 'live-composer-page-builder' ),
4801
  'affect_on_change_rule' => 'margin-bottom',
4802
  'section' => 'responsive',
4803
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4804
+ 'ext' => 'px',
4805
  ),
4806
  array(
4807
  'label' => __( 'H5 - Text Align', 'live-composer-page-builder' ),
4827
  'affect_on_change_rule' => 'font-size',
4828
  'section' => 'responsive',
4829
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4830
+ 'ext' => 'px',
4831
  ),
4832
  array(
4833
  'label' => __( 'H6 - Line Height', 'live-composer-page-builder' ),
4842
  'affect_on_change_rule' => 'line-height',
4843
  'section' => 'responsive',
4844
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4845
+ 'ext' => 'px',
4846
  ),
4847
  array(
4848
  'label' => __( 'H6 - Margin Bottom', 'live-composer-page-builder' ),
4857
  'affect_on_change_rule' => 'margin-bottom',
4858
  'section' => 'responsive',
4859
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4860
+ 'ext' => 'px',
4861
  ),
4862
  array(
4863
  'label' => __( 'H6 - Text Align', 'live-composer-page-builder' ),
4883
  'affect_on_change_rule' => 'font-size',
4884
  'section' => 'responsive',
4885
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4886
+ 'ext' => 'px',
4887
  ),
4888
  array(
4889
  'label' => __( 'Lists - Line Height', 'live-composer-page-builder' ),
4898
  'affect_on_change_rule' => 'line-height',
4899
  'section' => 'responsive',
4900
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4901
+ 'ext' => 'px',
4902
  ),
4903
  array(
4904
  'label' => __( 'Lists - Margin Bottom', 'live-composer-page-builder' ),
4913
  'affect_on_change_rule' => 'margin-bottom',
4914
  'section' => 'responsive',
4915
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4916
+ 'ext' => 'px',
4917
  ),
4918
  array(
4919
  'label' => __( 'Lists - Margin Left', 'live-composer-page-builder' ),
4925
  'affect_on_change_rule' => 'margin-left',
4926
  'section' => 'responsive',
4927
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4928
+ 'ext' => 'px',
4929
  ),
4930
  array(
4931
  'label' => __( 'Lists - Spacing', 'live-composer-page-builder' ),
4940
  'affect_on_change_rule' => 'margin-bottom',
4941
  'section' => 'responsive',
4942
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4943
+ 'ext' => 'px',
4944
  ),
4945
  array(
4946
  'label' => __( 'List Item - Padding Vertical', 'live-composer-page-builder' ),
4955
  'affect_on_change_rule' => 'padding-top,padding-bottom',
4956
  'section' => 'responsive',
4957
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4958
+ 'ext' => 'px',
4959
  ),
4960
  array(
4961
  'label' => __( 'List Item - Padding Horizontal', 'live-composer-page-builder' ),
4985
  'affect_on_change_rule' => 'font-size',
4986
  'section' => 'responsive',
4987
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
4988
+ 'ext' => 'px',
4989
  ),
4990
  array(
4991
  'label' => __( 'Blockquote - Line Height', 'live-composer-page-builder' ),
5000
  'affect_on_change_rule' => 'line-height',
5001
  'section' => 'responsive',
5002
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
5003
+ 'ext' => 'px',
5004
  ),
5005
  array(
5006
  'label' => __( 'Blockquote - Margin Bottom', 'live-composer-page-builder' ),
5079
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
5080
 
5081
  }
5082
+ /**
5083
+ * Module HTML output.
5084
+ *
5085
+ * @param array $options Module options to fill the module template.
5086
+ * @return void
5087
+ */
5088
  function output( $options ) {
5089
 
5090
  global $dslc_active;
modules/tp-downloads-button/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -98,9 +113,8 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
98
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
99
  'id' => 'css_button_border_width',
100
  'min' => 0,
101
- 'max' => 10,
102
  'increment' => 1,
103
-
104
  'std' => '0',
105
  'type' => 'slider',
106
  'refresh_on_change' => false,
@@ -152,7 +166,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
152
  'max' => 100,
153
  'increment' => 1,
154
  'section' => 'styling',
155
- 'ext' => 'px'
156
  ),
157
  array(
158
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -166,7 +180,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
166
  'affect_on_change_el' => '.dslc-tp-download-button',
167
  'affect_on_change_rule' => 'margin-bottom',
168
  'section' => 'styling',
169
- 'ext' => 'px'
170
  ),
171
  array(
172
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
@@ -194,7 +208,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
194
  'affect_on_change_el' => '.dslc-tp-download-button a',
195
  'affect_on_change_rule' => 'padding-top,padding-bottom',
196
  'section' => 'styling',
197
- 'ext' => 'px'
198
  ),
199
 
200
  /**
@@ -236,7 +250,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
236
  'affect_on_change_rule' => 'font-size',
237
  'section' => 'styling',
238
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
239
- 'ext' => 'px'
240
  ),
241
  array(
242
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -374,7 +388,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
374
  'affect_on_change_rule' => 'font-size',
375
  'section' => 'responsive',
376
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
377
- 'ext' => 'px'
378
  ),
379
  array(
380
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -389,7 +403,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
389
  'affect_on_change_rule' => 'margin-bottom',
390
  'section' => 'responsive',
391
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
392
- 'ext' => 'px'
393
  ),
394
  array(
395
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -404,7 +418,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
404
  'affect_on_change_rule' => 'padding-top,padding-bottom',
405
  'section' => 'responsive',
406
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
407
- 'ext' => 'px'
408
  ),
409
  array(
410
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
@@ -457,7 +471,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
457
  'affect_on_change_rule' => 'font-size',
458
  'section' => 'responsive',
459
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
460
- 'ext' => 'px'
461
  ),
462
  array(
463
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -472,7 +486,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
472
  'affect_on_change_rule' => 'margin-bottom',
473
  'section' => 'responsive',
474
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
475
- 'ext' => 'px'
476
  ),
477
  array(
478
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
@@ -487,7 +501,7 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
487
  'affect_on_change_rule' => 'padding-top,padding-bottom',
488
  'section' => 'responsive',
489
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
490
- 'ext' => 'px'
491
  ),
492
  array(
493
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
@@ -513,7 +527,12 @@ class DSLC_TP_Downloads_Button extends DSLC_Module {
513
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
514
 
515
  }
516
-
 
 
 
 
 
517
  function output( $options ) {
518
 
519
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
113
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
114
  'id' => 'css_button_border_width',
115
  'min' => 0,
116
+ 'max' => 1000,
117
  'increment' => 1,
 
118
  'std' => '0',
119
  'type' => 'slider',
120
  'refresh_on_change' => false,
166
  'max' => 100,
167
  'increment' => 1,
168
  'section' => 'styling',
169
+ 'ext' => 'px',
170
  ),
171
  array(
172
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
180
  'affect_on_change_el' => '.dslc-tp-download-button',
181
  'affect_on_change_rule' => 'margin-bottom',
182
  'section' => 'styling',
183
+ 'ext' => 'px',
184
  ),
185
  array(
186
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
208
  'affect_on_change_el' => '.dslc-tp-download-button a',
209
  'affect_on_change_rule' => 'padding-top,padding-bottom',
210
  'section' => 'styling',
211
+ 'ext' => 'px',
212
  ),
213
 
214
  /**
250
  'affect_on_change_rule' => 'font-size',
251
  'section' => 'styling',
252
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
253
+ 'ext' => 'px',
254
  ),
255
  array(
256
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
388
  'affect_on_change_rule' => 'font-size',
389
  'section' => 'responsive',
390
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
391
+ 'ext' => 'px',
392
  ),
393
  array(
394
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
403
  'affect_on_change_rule' => 'margin-bottom',
404
  'section' => 'responsive',
405
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
406
+ 'ext' => 'px',
407
  ),
408
  array(
409
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
418
  'affect_on_change_rule' => 'padding-top,padding-bottom',
419
  'section' => 'responsive',
420
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
421
+ 'ext' => 'px',
422
  ),
423
  array(
424
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
471
  'affect_on_change_rule' => 'font-size',
472
  'section' => 'responsive',
473
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
474
+ 'ext' => 'px',
475
  ),
476
  array(
477
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
486
  'affect_on_change_rule' => 'margin-bottom',
487
  'section' => 'responsive',
488
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
489
+ 'ext' => 'px',
490
  ),
491
  array(
492
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
501
  'affect_on_change_rule' => 'padding-top,padding-bottom',
502
  'section' => 'responsive',
503
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
504
+ 'ext' => 'px',
505
  ),
506
  array(
507
  'label' => __( 'Icon - Margin Right', 'live-composer-page-builder' ),
527
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
528
 
529
  }
530
+ /**
531
+ * Module HTML output.
532
+ *
533
+ * @param array $options Module options to fill the module template.
534
+ * @return void
535
+ */
536
  function output( $options ) {
537
 
538
  global $dslc_active;
modules/tp-excerpt/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Excerpt extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -70,9 +85,8 @@ class DSLC_TP_Excerpt extends DSLC_Module {
70
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
71
  'id' => 'css_border_width',
72
  'min' => 0,
73
- 'max' => 10,
74
  'increment' => 1,
75
-
76
  'std' => '0',
77
  'type' => 'slider',
78
  'refresh_on_change' => false,
@@ -124,7 +138,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
124
  'max' => 100,
125
  'increment' => 1,
126
  'section' => 'styling',
127
- 'ext' => 'px'
128
  ),
129
  array(
130
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -141,7 +155,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
141
  'max' => 100,
142
  'increment' => 1,
143
  'section' => 'styling',
144
- 'ext' => 'px'
145
  ),
146
  array(
147
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -228,7 +242,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
228
  'affect_on_change_rule' => 'font-size',
229
  'section' => 'styling',
230
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
231
- 'ext' => 'px'
232
  ),
233
  array(
234
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -304,7 +318,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
304
  'affect_on_change_rule' => 'line-height',
305
  'section' => 'styling',
306
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
307
- 'ext' => 'px'
308
  ),
309
  array(
310
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -409,7 +423,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
409
  'affect_on_change_rule' => 'font-size',
410
  'section' => 'responsive',
411
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
412
- 'ext' => 'px'
413
  ),
414
  array(
415
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -424,7 +438,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
424
  'affect_on_change_rule' => 'line-height',
425
  'section' => 'responsive',
426
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
427
- 'ext' => 'px'
428
  ),
429
 
430
  /**
@@ -507,7 +521,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
507
  'affect_on_change_rule' => 'font-size',
508
  'section' => 'responsive',
509
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
510
- 'ext' => 'px'
511
  ),
512
  array(
513
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -522,7 +536,7 @@ class DSLC_TP_Excerpt extends DSLC_Module {
522
  'affect_on_change_rule' => 'line-height',
523
  'section' => 'responsive',
524
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
525
- 'ext' => 'px'
526
  ),
527
 
528
  );
@@ -533,7 +547,12 @@ class DSLC_TP_Excerpt extends DSLC_Module {
533
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
534
 
535
  }
536
-
 
 
 
 
 
537
  function output( $options ) {
538
 
539
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
85
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
86
  'id' => 'css_border_width',
87
  'min' => 0,
88
+ 'max' => 1000,
89
  'increment' => 1,
 
90
  'std' => '0',
91
  'type' => 'slider',
92
  'refresh_on_change' => false,
138
  'max' => 100,
139
  'increment' => 1,
140
  'section' => 'styling',
141
+ 'ext' => 'px',
142
  ),
143
  array(
144
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
155
  'max' => 100,
156
  'increment' => 1,
157
  'section' => 'styling',
158
+ 'ext' => 'px',
159
  ),
160
  array(
161
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
242
  'affect_on_change_rule' => 'font-size',
243
  'section' => 'styling',
244
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
245
+ 'ext' => 'px',
246
  ),
247
  array(
248
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
318
  'affect_on_change_rule' => 'line-height',
319
  'section' => 'styling',
320
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
321
+ 'ext' => 'px',
322
  ),
323
  array(
324
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
423
  'affect_on_change_rule' => 'font-size',
424
  'section' => 'responsive',
425
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
426
+ 'ext' => 'px',
427
  ),
428
  array(
429
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
438
  'affect_on_change_rule' => 'line-height',
439
  'section' => 'responsive',
440
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
441
+ 'ext' => 'px',
442
  ),
443
 
444
  /**
521
  'affect_on_change_rule' => 'font-size',
522
  'section' => 'responsive',
523
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
524
+ 'ext' => 'px',
525
  ),
526
  array(
527
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
536
  'affect_on_change_rule' => 'line-height',
537
  'section' => 'responsive',
538
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
539
+ 'ext' => 'px',
540
  ),
541
 
542
  );
547
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
548
 
549
  }
550
+ /**
551
+ * Module HTML output.
552
+ *
553
+ * @param array $options Module options to fill the module template.
554
+ * @return void
555
+ */
556
  function output( $options ) {
557
 
558
  global $dslc_active;
modules/tp-gallery-slider/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -148,9 +163,8 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
148
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
149
  'id' => 'css_border_width',
150
  'min' => 0,
151
- 'max' => 10,
152
  'increment' => 1,
153
-
154
  'std' => '0',
155
  'type' => 'slider',
156
  'refresh_on_change' => false,
@@ -202,7 +216,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
202
  'max' => 100,
203
  'increment' => 1,
204
  'section' => 'styling',
205
- 'ext' => 'px'
206
  ),
207
  array(
208
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -219,7 +233,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
219
  'max' => 100,
220
  'increment' => 1,
221
  'section' => 'styling',
222
- 'ext' => 'px'
223
  ),
224
  array(
225
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -308,9 +322,8 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
308
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
309
  'id' => 'css_slider_border_width',
310
  'min' => 0,
311
- 'max' => 10,
312
  'increment' => 1,
313
-
314
  'std' => '0',
315
  'type' => 'slider',
316
  'refresh_on_change' => false,
@@ -446,9 +459,8 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
446
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
447
  'id' => 'css_slider_item_border_width',
448
  'min' => 0,
449
- 'max' => 10,
450
  'increment' => 1,
451
-
452
  'std' => '0',
453
  'type' => 'slider',
454
  'refresh_on_change' => false,
@@ -611,7 +623,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
611
  'affect_on_change_rule' => 'margin',
612
  'section' => 'styling',
613
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
614
- 'ext' => 'px'
615
  ),
616
  array(
617
  'label' => __( 'Size', 'live-composer-page-builder' ),
@@ -623,7 +635,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
623
  'affect_on_change_rule' => 'width,height',
624
  'section' => 'styling',
625
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
626
- 'ext' => 'px'
627
  ),
628
  array(
629
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -635,7 +647,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
635
  'affect_on_change_rule' => 'margin-left,margin-right',
636
  'section' => 'styling',
637
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
638
- 'ext' => 'px'
639
  ),
640
 
641
  /**
@@ -778,7 +790,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
778
  'affect_on_change_rule' => 'margin',
779
  'section' => 'responsive',
780
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
781
- 'ext' => 'px'
782
  ),
783
  array(
784
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
@@ -790,7 +802,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
790
  'affect_on_change_rule' => 'width,height',
791
  'section' => 'responsive',
792
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
793
- 'ext' => 'px'
794
  ),
795
  array(
796
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
@@ -802,7 +814,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
802
  'affect_on_change_rule' => 'margin-left,margin-right',
803
  'section' => 'responsive',
804
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
805
- 'ext' => 'px'
806
  ),
807
 
808
  /**
@@ -945,7 +957,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
945
  'affect_on_change_rule' => 'margin',
946
  'section' => 'responsive',
947
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
948
- 'ext' => 'px'
949
  ),
950
  array(
951
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
@@ -957,7 +969,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
957
  'affect_on_change_rule' => 'width,height',
958
  'section' => 'responsive',
959
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
960
- 'ext' => 'px'
961
  ),
962
  array(
963
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
@@ -969,7 +981,7 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
969
  'affect_on_change_rule' => 'margin-left,margin-right',
970
  'section' => 'responsive',
971
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
972
- 'ext' => 'px'
973
  ),
974
 
975
 
@@ -981,7 +993,12 @@ class DSLC_TP_Gallery_Slider extends DSLC_Module {
981
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
982
 
983
  }
984
-
 
 
 
 
 
985
  function output( $options ) {
986
 
987
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
163
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
164
  'id' => 'css_border_width',
165
  'min' => 0,
166
+ 'max' => 1000,
167
  'increment' => 1,
 
168
  'std' => '0',
169
  'type' => 'slider',
170
  'refresh_on_change' => false,
216
  'max' => 100,
217
  'increment' => 1,
218
  'section' => 'styling',
219
+ 'ext' => 'px',
220
  ),
221
  array(
222
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
233
  'max' => 100,
234
  'increment' => 1,
235
  'section' => 'styling',
236
+ 'ext' => 'px',
237
  ),
238
  array(
239
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
322
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
323
  'id' => 'css_slider_border_width',
324
  'min' => 0,
325
+ 'max' => 1000,
326
  'increment' => 1,
 
327
  'std' => '0',
328
  'type' => 'slider',
329
  'refresh_on_change' => false,
459
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
460
  'id' => 'css_slider_item_border_width',
461
  'min' => 0,
462
+ 'max' => 1000,
463
  'increment' => 1,
 
464
  'std' => '0',
465
  'type' => 'slider',
466
  'refresh_on_change' => false,
623
  'affect_on_change_rule' => 'margin',
624
  'section' => 'styling',
625
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
626
+ 'ext' => 'px',
627
  ),
628
  array(
629
  'label' => __( 'Size', 'live-composer-page-builder' ),
635
  'affect_on_change_rule' => 'width,height',
636
  'section' => 'styling',
637
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
638
+ 'ext' => 'px',
639
  ),
640
  array(
641
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
647
  'affect_on_change_rule' => 'margin-left,margin-right',
648
  'section' => 'styling',
649
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
650
+ 'ext' => 'px',
651
  ),
652
 
653
  /**
790
  'affect_on_change_rule' => 'margin',
791
  'section' => 'responsive',
792
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
793
+ 'ext' => 'px',
794
  ),
795
  array(
796
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
802
  'affect_on_change_rule' => 'width,height',
803
  'section' => 'responsive',
804
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
805
+ 'ext' => 'px',
806
  ),
807
  array(
808
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
814
  'affect_on_change_rule' => 'margin-left,margin-right',
815
  'section' => 'responsive',
816
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
817
+ 'ext' => 'px',
818
  ),
819
 
820
  /**
957
  'affect_on_change_rule' => 'margin',
958
  'section' => 'responsive',
959
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
960
+ 'ext' => 'px',
961
  ),
962
  array(
963
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
969
  'affect_on_change_rule' => 'width,height',
970
  'section' => 'responsive',
971
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
972
+ 'ext' => 'px',
973
  ),
974
  array(
975
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
981
  'affect_on_change_rule' => 'margin-left,margin-right',
982
  'section' => 'responsive',
983
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
984
+ 'ext' => 'px',
985
  ),
986
 
987
 
993
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
994
 
995
  }
996
+ /**
997
+ * Module HTML output.
998
+ *
999
+ * @param array $options Module options to fill the module template.
1000
+ * @return void
1001
+ */
1002
  function output( $options ) {
1003
 
1004
  global $dslc_active;
modules/tp-meta/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Meta extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -87,7 +102,7 @@ class DSLC_TP_Meta extends DSLC_Module {
87
  'value' => 'comments'
88
  ),
89
  ),
90
- 'section' => 'styling'
91
  ),
92
  array(
93
  'label' => __( 'Format', 'live-composer-page-builder' ),
@@ -115,7 +130,7 @@ class DSLC_TP_Meta extends DSLC_Module {
115
  'affect_on_change_el' => 'li',
116
  'affect_on_change_rule' => 'margin',
117
  'section' => 'styling',
118
- 'ext' => 'px'
119
  ),
120
 
121
  array(
@@ -142,9 +157,8 @@ class DSLC_TP_Meta extends DSLC_Module {
142
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
143
  'id' => 'css_main_border_width',
144
  'min' => 0,
145
- 'max' => 10,
146
  'increment' => 1,
147
-
148
  'std' => '0',
149
  'type' => 'slider',
150
  'refresh_on_change' => false,
@@ -358,7 +372,7 @@ class DSLC_TP_Meta extends DSLC_Module {
358
  'affect_on_change_rule' => 'font-size',
359
  'section' => 'styling',
360
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
361
- 'ext' => 'px'
362
  ),
363
  array(
364
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -434,7 +448,7 @@ class DSLC_TP_Meta extends DSLC_Module {
434
  'affect_on_change_rule' => 'line-height',
435
  'section' => 'styling',
436
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
437
- 'ext' => 'px'
438
  ),
439
  array(
440
  'label' => __( 'Text Shadow', 'live-composer-page-builder' ),
@@ -547,7 +561,7 @@ class DSLC_TP_Meta extends DSLC_Module {
547
  'affect_on_change_rule' => 'font-size',
548
  'section' => 'responsive',
549
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
550
- 'ext' => 'px'
551
  ),
552
 
553
  /**
@@ -615,7 +629,7 @@ class DSLC_TP_Meta extends DSLC_Module {
615
  'affect_on_change_rule' => 'font-size',
616
  'section' => 'responsive',
617
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
618
- 'ext' => 'px'
619
  ),
620
 
621
  );
@@ -626,7 +640,12 @@ class DSLC_TP_Meta extends DSLC_Module {
626
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
627
 
628
  }
629
-
 
 
 
 
 
630
  function output( $options ) {
631
 
632
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
102
  'value' => 'comments'
103
  ),
104
  ),
105
+ 'section' => 'styling',
106
  ),
107
  array(
108
  'label' => __( 'Format', 'live-composer-page-builder' ),
130
  'affect_on_change_el' => 'li',
131
  'affect_on_change_rule' => 'margin',
132
  'section' => 'styling',
133
+ 'ext' => 'px',
134
  ),
135
 
136
  array(
157
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
158
  'id' => 'css_main_border_width',
159
  'min' => 0,
160
+ 'max' => 1000,
161
  'increment' => 1,
 
162
  'std' => '0',
163
  'type' => 'slider',
164
  'refresh_on_change' => false,
372
  'affect_on_change_rule' => 'font-size',
373
  'section' => 'styling',
374
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
375
+ 'ext' => 'px',
376
  ),
377
  array(
378
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
448
  'affect_on_change_rule' => 'line-height',
449
  'section' => 'styling',
450
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
451
+ 'ext' => 'px',
452
  ),
453
  array(
454
  'label' => __( 'Text Shadow', 'live-composer-page-builder' ),
561
  'affect_on_change_rule' => 'font-size',
562
  'section' => 'responsive',
563
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
564
+ 'ext' => 'px',
565
  ),
566
 
567
  /**
629
  'affect_on_change_rule' => 'font-size',
630
  'section' => 'responsive',
631
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
632
+ 'ext' => 'px',
633
  ),
634
 
635
  );
640
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
641
 
642
  }
643
+ /**
644
+ * Module HTML output.
645
+ *
646
+ * @param array $options Module options to fill the module template.
647
+ * @return void
648
+ */
649
  function output( $options ) {
650
 
651
  global $dslc_active;
modules/tp-project-slider/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -148,9 +163,8 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
148
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
149
  'id' => 'css_border_width',
150
  'min' => 0,
151
- 'max' => 10,
152
  'increment' => 1,
153
-
154
  'std' => '0',
155
  'type' => 'slider',
156
  'refresh_on_change' => false,
@@ -202,7 +216,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
202
  'max' => 100,
203
  'increment' => 1,
204
  'section' => 'styling',
205
- 'ext' => 'px'
206
  ),
207
  array(
208
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -219,7 +233,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
219
  'max' => 100,
220
  'increment' => 1,
221
  'section' => 'styling',
222
- 'ext' => 'px'
223
  ),
224
  array(
225
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -308,9 +322,8 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
308
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
309
  'id' => 'css_slider_border_width',
310
  'min' => 0,
311
- 'max' => 10,
312
  'increment' => 1,
313
-
314
  'std' => '0',
315
  'type' => 'slider',
316
  'refresh_on_change' => false,
@@ -446,9 +459,8 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
446
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
447
  'id' => 'css_slider_item_border_width',
448
  'min' => 0,
449
- 'max' => 10,
450
  'increment' => 1,
451
-
452
  'std' => '0',
453
  'type' => 'slider',
454
  'refresh_on_change' => false,
@@ -611,7 +623,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
611
  'affect_on_change_rule' => 'margin',
612
  'section' => 'styling',
613
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
614
- 'ext' => 'px'
615
  ),
616
  array(
617
  'label' => __( 'Size', 'live-composer-page-builder' ),
@@ -623,7 +635,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
623
  'affect_on_change_rule' => 'width,height',
624
  'section' => 'styling',
625
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
626
- 'ext' => 'px'
627
  ),
628
  array(
629
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -635,7 +647,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
635
  'affect_on_change_rule' => 'margin-left,margin-right',
636
  'section' => 'styling',
637
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
638
- 'ext' => 'px'
639
  ),
640
 
641
  /**
@@ -778,7 +790,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
778
  'affect_on_change_rule' => 'margin',
779
  'section' => 'responsive',
780
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
781
- 'ext' => 'px'
782
  ),
783
  array(
784
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
@@ -790,7 +802,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
790
  'affect_on_change_rule' => 'width,height',
791
  'section' => 'responsive',
792
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
793
- 'ext' => 'px'
794
  ),
795
  array(
796
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
@@ -802,7 +814,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
802
  'affect_on_change_rule' => 'margin-left,margin-right',
803
  'section' => 'responsive',
804
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
805
- 'ext' => 'px'
806
  ),
807
 
808
  /**
@@ -945,7 +957,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
945
  'affect_on_change_rule' => 'margin',
946
  'section' => 'responsive',
947
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
948
- 'ext' => 'px'
949
  ),
950
  array(
951
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
@@ -957,7 +969,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
957
  'affect_on_change_rule' => 'width,height',
958
  'section' => 'responsive',
959
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
960
- 'ext' => 'px'
961
  ),
962
  array(
963
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
@@ -969,7 +981,7 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
969
  'affect_on_change_rule' => 'margin-left,margin-right',
970
  'section' => 'responsive',
971
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
972
- 'ext' => 'px'
973
  ),
974
 
975
 
@@ -981,7 +993,12 @@ class DSLC_TP_Project_Slider extends DSLC_Module {
981
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
982
 
983
  }
984
-
 
 
 
 
 
985
  function output( $options ) {
986
 
987
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
163
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
164
  'id' => 'css_border_width',
165
  'min' => 0,
166
+ 'max' => 1000,
167
  'increment' => 1,
 
168
  'std' => '0',
169
  'type' => 'slider',
170
  'refresh_on_change' => false,
216
  'max' => 100,
217
  'increment' => 1,
218
  'section' => 'styling',
219
+ 'ext' => 'px',
220
  ),
221
  array(
222
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
233
  'max' => 100,
234
  'increment' => 1,
235
  'section' => 'styling',
236
+ 'ext' => 'px',
237
  ),
238
  array(
239
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
322
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
323
  'id' => 'css_slider_border_width',
324
  'min' => 0,
325
+ 'max' => 1000,
326
  'increment' => 1,
 
327
  'std' => '0',
328
  'type' => 'slider',
329
  'refresh_on_change' => false,
459
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
460
  'id' => 'css_slider_item_border_width',
461
  'min' => 0,
462
+ 'max' => 1000,
463
  'increment' => 1,
 
464
  'std' => '0',
465
  'type' => 'slider',
466
  'refresh_on_change' => false,
623
  'affect_on_change_rule' => 'margin',
624
  'section' => 'styling',
625
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
626
+ 'ext' => 'px',
627
  ),
628
  array(
629
  'label' => __( 'Size', 'live-composer-page-builder' ),
635
  'affect_on_change_rule' => 'width,height',
636
  'section' => 'styling',
637
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
638
+ 'ext' => 'px',
639
  ),
640
  array(
641
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
647
  'affect_on_change_rule' => 'margin-left,margin-right',
648
  'section' => 'styling',
649
  'tab' => __( 'Navigation', 'live-composer-page-builder' ),
650
+ 'ext' => 'px',
651
  ),
652
 
653
  /**
790
  'affect_on_change_rule' => 'margin',
791
  'section' => 'responsive',
792
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
793
+ 'ext' => 'px',
794
  ),
795
  array(
796
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
802
  'affect_on_change_rule' => 'width,height',
803
  'section' => 'responsive',
804
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
805
+ 'ext' => 'px',
806
  ),
807
  array(
808
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
814
  'affect_on_change_rule' => 'margin-left,margin-right',
815
  'section' => 'responsive',
816
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
817
+ 'ext' => 'px',
818
  ),
819
 
820
  /**
957
  'affect_on_change_rule' => 'margin',
958
  'section' => 'responsive',
959
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
960
+ 'ext' => 'px',
961
  ),
962
  array(
963
  'label' => __( 'Nav - Size', 'live-composer-page-builder' ),
969
  'affect_on_change_rule' => 'width,height',
970
  'section' => 'responsive',
971
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
972
+ 'ext' => 'px',
973
  ),
974
  array(
975
  'label' => __( 'Nav - Spacing', 'live-composer-page-builder' ),
981
  'affect_on_change_rule' => 'margin-left,margin-right',
982
  'section' => 'responsive',
983
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
984
+ 'ext' => 'px',
985
  ),
986
 
987
 
993
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
994
 
995
  }
996
+ /**
997
+ * Module HTML output.
998
+ *
999
+ * @param array $options Module options to fill the module template.
1000
+ * @return void
1001
+ */
1002
  function output( $options ) {
1003
 
1004
  global $dslc_active;
modules/tp-staff-social/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -74,9 +89,8 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
74
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
75
  'id' => 'css_border_width',
76
  'min' => 0,
77
- 'max' => 10,
78
  'increment' => 1,
79
-
80
  'std' => '0',
81
  'type' => 'slider',
82
  'refresh_on_change' => false,
@@ -187,7 +201,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
187
  'affect_on_change_el' => 'ul.dslc-staff-social a',
188
  'affect_on_change_rule' => 'width,height',
189
  'section' => 'styling',
190
- 'ext' => 'px'
191
  ),
192
  array(
193
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -198,7 +212,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
198
  'affect_on_change_el' => 'ul.dslc-staff-social li',
199
  'affect_on_change_rule' => 'margin-right',
200
  'section' => 'styling',
201
- 'ext' => 'px'
202
  ),
203
 
204
  /* Icon */
@@ -238,7 +252,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
238
  'affect_on_change_rule' => 'font-size',
239
  'section' => 'styling',
240
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
241
- 'ext' => 'px'
242
  ),
243
 
244
  /**
@@ -288,7 +302,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
288
  'affect_on_change_rule' => 'width,height',
289
  'section' => 'responsive',
290
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
291
- 'ext' => 'px'
292
  ),
293
  array(
294
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
@@ -303,7 +317,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
303
  'affect_on_change_rule' => 'font-size',
304
  'section' => 'responsive',
305
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
306
- 'ext' => 'px'
307
  ),
308
  array(
309
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -315,7 +329,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
315
  'affect_on_change_rule' => 'margin-right',
316
  'section' => 'responsive',
317
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
318
- 'ext' => 'px'
319
  ),
320
 
321
  /**
@@ -365,7 +379,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
365
  'affect_on_change_rule' => 'width,height',
366
  'section' => 'responsive',
367
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
368
- 'ext' => 'px'
369
  ),
370
  array(
371
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
@@ -380,7 +394,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
380
  'affect_on_change_rule' => 'font-size',
381
  'section' => 'responsive',
382
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
383
- 'ext' => 'px'
384
  ),
385
  array(
386
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
@@ -392,7 +406,7 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
392
  'affect_on_change_rule' => 'margin-right',
393
  'section' => 'responsive',
394
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
395
- 'ext' => 'px'
396
  ),
397
 
398
  );
@@ -403,7 +417,12 @@ class DSLC_TP_Staff_Social extends DSLC_Module {
403
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
404
 
405
  }
406
-
 
 
 
 
 
407
  function output( $options ) {
408
 
409
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
89
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
90
  'id' => 'css_border_width',
91
  'min' => 0,
92
+ 'max' => 1000,
93
  'increment' => 1,
 
94
  'std' => '0',
95
  'type' => 'slider',
96
  'refresh_on_change' => false,
201
  'affect_on_change_el' => 'ul.dslc-staff-social a',
202
  'affect_on_change_rule' => 'width,height',
203
  'section' => 'styling',
204
+ 'ext' => 'px',
205
  ),
206
  array(
207
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
212
  'affect_on_change_el' => 'ul.dslc-staff-social li',
213
  'affect_on_change_rule' => 'margin-right',
214
  'section' => 'styling',
215
+ 'ext' => 'px',
216
  ),
217
 
218
  /* Icon */
252
  'affect_on_change_rule' => 'font-size',
253
  'section' => 'styling',
254
  'tab' => __( 'Icon', 'live-composer-page-builder' ),
255
+ 'ext' => 'px',
256
  ),
257
 
258
  /**
302
  'affect_on_change_rule' => 'width,height',
303
  'section' => 'responsive',
304
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
305
+ 'ext' => 'px',
306
  ),
307
  array(
308
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
317
  'affect_on_change_rule' => 'font-size',
318
  'section' => 'responsive',
319
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
320
+ 'ext' => 'px',
321
  ),
322
  array(
323
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
329
  'affect_on_change_rule' => 'margin-right',
330
  'section' => 'responsive',
331
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
332
+ 'ext' => 'px',
333
  ),
334
 
335
  /**
379
  'affect_on_change_rule' => 'width,height',
380
  'section' => 'responsive',
381
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
382
+ 'ext' => 'px',
383
  ),
384
  array(
385
  'label' => __( 'Size ( Icon )', 'live-composer-page-builder' ),
394
  'affect_on_change_rule' => 'font-size',
395
  'section' => 'responsive',
396
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
397
+ 'ext' => 'px',
398
  ),
399
  array(
400
  'label' => __( 'Spacing', 'live-composer-page-builder' ),
406
  'affect_on_change_rule' => 'margin-right',
407
  'section' => 'responsive',
408
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
409
+ 'ext' => 'px',
410
  ),
411
 
412
  );
417
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
418
 
419
  }
420
+ /**
421
+ * Module HTML output.
422
+ *
423
+ * @param array $options Module options to fill the module template.
424
+ * @return void
425
+ */
426
  function output( $options ) {
427
 
428
  global $dslc_active;
modules/tp-thumbnail/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Thumbnail extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -357,9 +372,9 @@ class DSLC_TP_Thumbnail extends DSLC_Module {
357
  }
358
 
359
  /**
360
- * Output module HTML.
361
  *
362
- * @param array $options Current module options.
363
  * @return void
364
  */
365
  function output( $options ) {
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
372
  }
373
 
374
  /**
375
+ * Module HTML output.
376
  *
377
+ * @param array $options Module options to fill the module template.
378
  * @return void
379
  */
380
  function output( $options ) {
modules/tp-title/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_TP_Title extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $dslc_options = array(
@@ -70,9 +85,8 @@ class DSLC_TP_Title extends DSLC_Module {
70
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
71
  'id' => 'css_border_width',
72
  'min' => 0,
73
- 'max' => 10,
74
  'increment' => 1,
75
-
76
  'std' => '0',
77
  'type' => 'slider',
78
  'refresh_on_change' => false,
@@ -124,7 +138,7 @@ class DSLC_TP_Title extends DSLC_Module {
124
  'max' => 100,
125
  'increment' => 1,
126
  'section' => 'styling',
127
- 'ext' => 'px'
128
  ),
129
  array(
130
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -141,7 +155,7 @@ class DSLC_TP_Title extends DSLC_Module {
141
  'max' => 100,
142
  'increment' => 1,
143
  'section' => 'styling',
144
- 'ext' => 'px'
145
  ),
146
  array(
147
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -228,7 +242,7 @@ class DSLC_TP_Title extends DSLC_Module {
228
  'affect_on_change_rule' => 'font-size',
229
  'section' => 'styling',
230
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
231
- 'ext' => 'px'
232
  ),
233
  array(
234
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -304,7 +318,7 @@ class DSLC_TP_Title extends DSLC_Module {
304
  'affect_on_change_rule' => 'line-height',
305
  'section' => 'styling',
306
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
307
- 'ext' => 'px'
308
  ),
309
  array(
310
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
@@ -438,7 +452,7 @@ class DSLC_TP_Title extends DSLC_Module {
438
  'affect_on_change_rule' => 'font-size',
439
  'section' => 'responsive',
440
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
441
- 'ext' => 'px'
442
  ),
443
  array(
444
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -453,7 +467,7 @@ class DSLC_TP_Title extends DSLC_Module {
453
  'affect_on_change_rule' => 'line-height',
454
  'section' => 'responsive',
455
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
456
- 'ext' => 'px'
457
  ),
458
 
459
  /**
@@ -536,7 +550,7 @@ class DSLC_TP_Title extends DSLC_Module {
536
  'affect_on_change_rule' => 'font-size',
537
  'section' => 'responsive',
538
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
539
- 'ext' => 'px'
540
  ),
541
  array(
542
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
@@ -551,7 +565,7 @@ class DSLC_TP_Title extends DSLC_Module {
551
  'affect_on_change_rule' => 'line-height',
552
  'section' => 'responsive',
553
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
554
- 'ext' => 'px'
555
  ),
556
 
557
  );
@@ -562,7 +576,12 @@ class DSLC_TP_Title extends DSLC_Module {
562
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
563
 
564
  }
565
-
 
 
 
 
 
566
  function output( $options ) {
567
 
568
  global $dslc_active;
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $dslc_options = array(
85
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
86
  'id' => 'css_border_width',
87
  'min' => 0,
88
+ 'max' => 1000,
89
  'increment' => 1,
 
90
  'std' => '0',
91
  'type' => 'slider',
92
  'refresh_on_change' => false,
138
  'max' => 100,
139
  'increment' => 1,
140
  'section' => 'styling',
141
+ 'ext' => 'px',
142
  ),
143
  array(
144
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
155
  'max' => 100,
156
  'increment' => 1,
157
  'section' => 'styling',
158
+ 'ext' => 'px',
159
  ),
160
  array(
161
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
242
  'affect_on_change_rule' => 'font-size',
243
  'section' => 'styling',
244
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
245
+ 'ext' => 'px',
246
  ),
247
  array(
248
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
318
  'affect_on_change_rule' => 'line-height',
319
  'section' => 'styling',
320
  'tab' => __( 'Typography', 'live-composer-page-builder' ),
321
+ 'ext' => 'px',
322
  ),
323
  array(
324
  'label' => __( 'Text Align', 'live-composer-page-builder' ),
452
  'affect_on_change_rule' => 'font-size',
453
  'section' => 'responsive',
454
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
455
+ 'ext' => 'px',
456
  ),
457
  array(
458
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
467
  'affect_on_change_rule' => 'line-height',
468
  'section' => 'responsive',
469
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
470
+ 'ext' => 'px',
471
  ),
472
 
473
  /**
550
  'affect_on_change_rule' => 'font-size',
551
  'section' => 'responsive',
552
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
553
+ 'ext' => 'px',
554
  ),
555
  array(
556
  'label' => __( 'Line Height', 'live-composer-page-builder' ),
565
  'affect_on_change_rule' => 'line-height',
566
  'section' => 'responsive',
567
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
568
+ 'ext' => 'px',
569
  ),
570
 
571
  );
576
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
577
 
578
  }
579
+ /**
580
+ * Module HTML output.
581
+ *
582
+ * @param array $options Module options to fill the module template.
583
+ * @return void
584
+ */
585
  function output( $options ) {
586
 
587
  global $dslc_active;
modules/widgets/module.php CHANGED
@@ -66,6 +66,21 @@ class DSLC_Widgets extends DSLC_Module {
66
  *
67
  * @return array All module controls in array
68
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  function options() {
70
 
71
  $sidebars = dslc_get_option( 'sidebars', 'dslc_plugin_options_widgets_m' );
@@ -158,9 +173,8 @@ class DSLC_Widgets extends DSLC_Module {
158
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
159
  'id' => 'css_widgets_border_width',
160
  'min' => 0,
161
- 'max' => 10,
162
  'increment' => 1,
163
-
164
  'std' => '0',
165
  'type' => 'slider',
166
  'refresh_on_change' => false,
@@ -329,9 +343,8 @@ class DSLC_Widgets extends DSLC_Module {
329
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
330
  'id' => 'css_widget_border_width',
331
  'min' => 0,
332
- 'max' => 10,
333
  'increment' => 1,
334
-
335
  'std' => '0',
336
  'type' => 'slider',
337
  'refresh_on_change' => false,
@@ -700,9 +713,8 @@ class DSLC_Widgets extends DSLC_Module {
700
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
701
  'id' => 'css_title_inner_border_width',
702
  'min' => 0,
703
- 'max' => 10,
704
  'increment' => 1,
705
-
706
  'std' => '0',
707
  'type' => 'slider',
708
  'refresh_on_change' => false,
@@ -1174,9 +1186,8 @@ class DSLC_Widgets extends DSLC_Module {
1174
  'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
1175
  'id' => 'css_ul_li_border_width',
1176
  'min' => 0,
1177
- 'max' => 10,
1178
  'increment' => 1,
1179
-
1180
  'std' => '0',
1181
  'type' => 'slider',
1182
  'refresh_on_change' => false,
@@ -1659,9 +1670,9 @@ class DSLC_Widgets extends DSLC_Module {
1659
  }
1660
 
1661
  /**
1662
- * Output Module Code
1663
  *
1664
- * @param array $options All the module options.
1665
  * @return void
1666
  */
1667
  function output( $options ) {
66
  *
67
  * @return array All module controls in array
68
  */
69
+ /**
70
+ * Module options.
71
+ * Function build array with all the module functionality and styling options.
72
+ * Based on this array Live Composer builds module settings panel.
73
+ * – Every array inside $dslc_options means one option = one control.
74
+ * – Every option should have unique (for this module) id.
75
+ * – Options divides on "Functionality" and "Styling".
76
+ * – Styling options start with css_XXXXXXX
77
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
78
+ * – Options can be hidden.
79
+ * – Options can have a default value.
80
+ * – Options can request refresh from server on change or do live refresh via CSS.
81
+ *
82
+ * @return array All the module options in array.
83
+ */
84
  function options() {
85
 
86
  $sidebars = dslc_get_option( 'sidebars', 'dslc_plugin_options_widgets_m' );
173
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
174
  'id' => 'css_widgets_border_width',
175
  'min' => 0,
176
+ 'max' => 1000,
177
  'increment' => 1,
 
178
  'std' => '0',
179
  'type' => 'slider',
180
  'refresh_on_change' => false,
343
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
344
  'id' => 'css_widget_border_width',
345
  'min' => 0,
346
+ 'max' => 1000,
347
  'increment' => 1,
 
348
  'std' => '0',
349
  'type' => 'slider',
350
  'refresh_on_change' => false,
713
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
714
  'id' => 'css_title_inner_border_width',
715
  'min' => 0,
716
+ 'max' => 1000,
717
  'increment' => 1,
 
718
  'std' => '0',
719
  'type' => 'slider',
720
  'refresh_on_change' => false,
1186
  'label' => __( 'Item - Border Width', 'live-composer-page-builder' ),
1187
  'id' => 'css_ul_li_border_width',
1188
  'min' => 0,
1189
+ 'max' => 1000,
1190
  'increment' => 1,
 
1191
  'std' => '0',
1192
  'type' => 'slider',
1193
  'refresh_on_change' => false,
1670
  }
1671
 
1672
  /**
1673
+ * Module HTML output.
1674
  *
1675
+ * @param array $options Module options to fill the module template.
1676
  * @return void
1677
  */
1678
  function output( $options ) {
modules/woocommerce/module.php CHANGED
@@ -22,6 +22,21 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
22
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  function options() {
26
 
27
  $cats = get_terms( 'product_cat' );
@@ -280,7 +295,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
280
  'value' => 'filters'
281
  ),
282
  ),
283
- 'section' => 'styling'
284
  ),
285
 
286
  array(
@@ -322,7 +337,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
322
  'value' => 'details'
323
  )
324
  ),
325
- 'section' => 'styling'
326
  ),
327
 
328
  array(
@@ -340,7 +355,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
340
  'value' => 'circles'
341
  ),
342
  ),
343
- 'section' => 'styling'
344
  ),
345
  array(
346
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -503,9 +518,8 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
503
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
504
  'id' => 'css_thumb_border_width',
505
  'min' => 0,
506
- 'max' => 10,
507
  'increment' => 1,
508
-
509
  'std' => '0',
510
  'type' => 'slider',
511
  'refresh_on_change' => false,
@@ -560,7 +574,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
560
  'increment' => 1,
561
  'section' => 'styling',
562
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
563
- 'ext' => 'px'
564
  ),
565
  array(
566
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -578,7 +592,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
578
  'increment' => 1,
579
  'section' => 'styling',
580
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
581
- 'ext' => 'px'
582
  ),
583
  array(
584
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -662,7 +676,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
662
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
663
  'min' => 1,
664
  'max' => 100,
665
- 'ext' => '%'
666
  ),
667
 
668
  /**
@@ -695,9 +709,8 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
695
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
696
  'id' => 'css_price_border_width',
697
  'min' => 0,
698
- 'max' => 10,
699
  'increment' => 1,
700
-
701
  'std' => '0',
702
  'type' => 'slider',
703
  'refresh_on_change' => false,
@@ -778,7 +791,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
778
  'affect_on_change_rule' => 'font-size',
779
  'section' => 'styling',
780
  'tab' => __( 'Price', 'live-composer-page-builder' ),
781
- 'ext' => 'px'
782
  ),
783
  array(
784
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -854,7 +867,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
854
  'affect_on_change_rule' => 'margin',
855
  'section' => 'styling',
856
  'tab' => __( 'Price', 'live-composer-page-builder' ),
857
- 'ext' => 'px'
858
  ),
859
  array(
860
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
@@ -880,7 +893,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
880
  'affect_on_change_rule' => 'padding',
881
  'section' => 'styling',
882
  'tab' => __( 'Price', 'live-composer-page-builder' ),
883
- 'ext' => 'px'
884
  ),
885
  array(
886
  'label' => __( 'Position', 'live-composer-page-builder' ),
@@ -1022,7 +1035,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1022
  'increment' => 1,
1023
  'section' => 'styling',
1024
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1025
- 'ext' => 'px'
1026
  ),
1027
  array(
1028
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
@@ -1040,7 +1053,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1040
  'increment' => 1,
1041
  'section' => 'styling',
1042
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1043
- 'ext' => 'px'
1044
  ),
1045
  array(
1046
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
@@ -1199,7 +1212,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1199
  'affect_on_change_rule' => 'font-size',
1200
  'section' => 'styling',
1201
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1202
- 'ext' => 'px'
1203
  ),
1204
  array(
1205
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1275,7 +1288,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1275
  'affect_on_change_rule' => 'line-height',
1276
  'section' => 'styling',
1277
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1278
- 'ext' => 'px'
1279
  ),
1280
  array(
1281
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1290,7 +1303,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1290
  'affect_on_change_rule' => 'margin-bottom',
1291
  'section' => 'styling',
1292
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1293
- 'ext' => 'px'
1294
  ),
1295
  array(
1296
  'label' => __( 'Margin Horizontal', 'live-composer-page-builder' ),
@@ -1302,7 +1315,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1302
  'affect_on_change_rule' => 'margin-left,margin-right',
1303
  'section' => 'styling',
1304
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1305
- 'ext' => 'px'
1306
  ),
1307
  array(
1308
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
@@ -1381,7 +1394,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1381
  'affect_on_change_rule' => 'border-bottom-width',
1382
  'section' => 'styling',
1383
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1384
- 'ext' => 'px'
1385
  ),
1386
  array(
1387
  'label' => __( 'Color', 'live-composer-page-builder' ),
@@ -1407,7 +1420,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1407
  'affect_on_change_rule' => 'font-size',
1408
  'section' => 'styling',
1409
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1410
- 'ext' => 'px'
1411
  ),
1412
  array(
1413
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1483,7 +1496,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1483
  'affect_on_change_rule' => 'line-height',
1484
  'section' => 'styling',
1485
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1486
- 'ext' => 'px'
1487
  ),
1488
  array(
1489
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
@@ -1571,7 +1584,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1571
  'affect_on_change_rule' => 'font-size',
1572
  'section' => 'styling',
1573
  'tab' => __( 'Price Secondary', 'live-composer-page-builder' ),
1574
- 'ext' => 'px'
1575
  ),
1576
  array(
1577
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
@@ -1684,7 +1697,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1684
  'affect_on_change_rule' => 'margin-bottom',
1685
  'section' => 'styling',
1686
  'tab' => __( 'Separator', 'live-composer-page-builder' ),
1687
- 'ext' => 'px'
1688
  ),
1689
 
1690
  /**
@@ -1723,7 +1736,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1723
  'affect_on_change_rule' => 'font-size',
1724
  'section' => 'styling',
1725
  'tab' => __( 'Other', 'live-composer-page-builder' ),
1726
- 'ext' => 'px'
1727
  ),
1728
  array(
1729
  'label' => __( 'Add to cart - Font Weight', 'live-composer-page-builder' ),
@@ -1818,7 +1831,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1818
  'affect_on_change_rule' => 'font-size',
1819
  'section' => 'styling',
1820
  'tab' => __( 'Other', 'live-composer-page-builder' ),
1821
- 'ext' => 'px'
1822
  ),
1823
  array(
1824
  'label' => __( 'Details - Font Weight', 'live-composer-page-builder' ),
@@ -1976,7 +1989,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1976
  'affect_on_change_rule' => 'font-size',
1977
  'section' => 'responsive',
1978
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1979
- 'ext' => 'px'
1980
  ),
1981
  array(
1982
  'label' => __( 'Price - Margin', 'live-composer-page-builder' ),
@@ -1991,7 +2004,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
1991
  'affect_on_change_rule' => 'margin',
1992
  'section' => 'responsive',
1993
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1994
- 'ext' => 'px'
1995
  ),
1996
  array(
1997
  'label' => __( 'Price - Padding', 'live-composer-page-builder' ),
@@ -2003,7 +2016,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2003
  'affect_on_change_rule' => 'padding',
2004
  'section' => 'responsive',
2005
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2006
- 'ext' => 'px'
2007
  ),
2008
  array(
2009
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -2048,7 +2061,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2048
  'affect_on_change_rule' => 'font-size',
2049
  'section' => 'responsive',
2050
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2051
- 'ext' => 'px'
2052
  ),
2053
  array(
2054
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2063,7 +2076,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2063
  'affect_on_change_rule' => 'line-height',
2064
  'section' => 'responsive',
2065
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2066
- 'ext' => 'px'
2067
  ),
2068
  array(
2069
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2078,7 +2091,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2078
  'affect_on_change_rule' => 'margin-bottom',
2079
  'section' => 'responsive',
2080
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2081
- 'ext' => 'px'
2082
  ),
2083
  array(
2084
  'label' => __( 'Title - Margin Horizontal', 'live-composer-page-builder' ),
@@ -2090,7 +2103,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2090
  'affect_on_change_rule' => 'margin-left,margin-right',
2091
  'section' => 'responsive',
2092
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2093
- 'ext' => 'px'
2094
  ),
2095
  array(
2096
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
@@ -2105,7 +2118,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2105
  'affect_on_change_rule' => 'font-size',
2106
  'section' => 'responsive',
2107
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2108
- 'ext' => 'px'
2109
  ),
2110
  array(
2111
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2120,7 +2133,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2120
  'affect_on_change_rule' => 'line-height',
2121
  'section' => 'responsive',
2122
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2123
- 'ext' => 'px'
2124
  ),
2125
  array(
2126
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2162,7 +2175,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2162
  'affect_on_change_rule' => 'font-size',
2163
  'section' => 'responsive',
2164
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2165
- 'ext' => 'px'
2166
  ),
2167
  array(
2168
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
@@ -2177,7 +2190,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2177
  'affect_on_change_rule' => 'margin-bottom',
2178
  'section' => 'responsive',
2179
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2180
- 'ext' => 'px'
2181
  ),
2182
  array(
2183
  'label' => __( 'Add to cart - Font Size', 'live-composer-page-builder' ),
@@ -2192,7 +2205,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2192
  'affect_on_change_rule' => 'font-size',
2193
  'section' => 'responsive',
2194
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2195
- 'ext' => 'px'
2196
  ),
2197
  array(
2198
  'label' => __( 'Details - Font Size', 'live-composer-page-builder' ),
@@ -2207,7 +2220,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2207
  'affect_on_change_rule' => 'font-size',
2208
  'section' => 'responsive',
2209
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2210
- 'ext' => 'px'
2211
  ),
2212
 
2213
  /**
@@ -2304,7 +2317,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2304
  'affect_on_change_rule' => 'font-size',
2305
  'section' => 'responsive',
2306
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2307
- 'ext' => 'px'
2308
  ),
2309
  array(
2310
  'label' => __( 'Price - Margin', 'live-composer-page-builder' ),
@@ -2319,7 +2332,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2319
  'affect_on_change_rule' => 'margin',
2320
  'section' => 'responsive',
2321
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2322
- 'ext' => 'px'
2323
  ),
2324
  array(
2325
  'label' => __( 'Price - Padding', 'live-composer-page-builder' ),
@@ -2331,7 +2344,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2331
  'affect_on_change_rule' => 'padding',
2332
  'section' => 'responsive',
2333
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2334
- 'ext' => 'px'
2335
  ),
2336
  array(
2337
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
@@ -2376,7 +2389,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2376
  'affect_on_change_rule' => 'font-size',
2377
  'section' => 'responsive',
2378
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2379
- 'ext' => 'px'
2380
  ),
2381
  array(
2382
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
@@ -2391,7 +2404,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2391
  'affect_on_change_rule' => 'line-height',
2392
  'section' => 'responsive',
2393
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2394
- 'ext' => 'px'
2395
  ),
2396
  array(
2397
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
@@ -2406,7 +2419,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2406
  'affect_on_change_rule' => 'margin-bottom',
2407
  'section' => 'responsive',
2408
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2409
- 'ext' => 'px'
2410
  ),
2411
  array(
2412
  'label' => __( 'Title - Margin Horizontal', 'live-composer-page-builder' ),
@@ -2418,7 +2431,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2418
  'affect_on_change_rule' => 'margin-left,margin-right',
2419
  'section' => 'responsive',
2420
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2421
- 'ext' => 'px'
2422
  ),
2423
  array(
2424
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
@@ -2433,7 +2446,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2433
  'affect_on_change_rule' => 'font-size',
2434
  'section' => 'responsive',
2435
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2436
- 'ext' => 'px'
2437
  ),
2438
  array(
2439
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
@@ -2448,7 +2461,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2448
  'affect_on_change_rule' => 'line-height',
2449
  'section' => 'responsive',
2450
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2451
- 'ext' => 'px'
2452
  ),
2453
  array(
2454
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
@@ -2490,7 +2503,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2490
  'affect_on_change_rule' => 'font-size',
2491
  'section' => 'responsive',
2492
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2493
- 'ext' => 'px'
2494
  ),
2495
  array(
2496
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
@@ -2505,7 +2518,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2505
  'affect_on_change_rule' => 'margin-bottom',
2506
  'section' => 'responsive',
2507
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2508
- 'ext' => 'px'
2509
  ),
2510
  array(
2511
  'label' => __( 'Add to cart - Font Size', 'live-composer-page-builder' ),
@@ -2520,7 +2533,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2520
  'affect_on_change_rule' => 'font-size',
2521
  'section' => 'responsive',
2522
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2523
- 'ext' => 'px'
2524
  ),
2525
  array(
2526
  'label' => __( 'Details - Font Size', 'live-composer-page-builder' ),
@@ -2535,7 +2548,7 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2535
  'affect_on_change_rule' => 'font-size',
2536
  'section' => 'responsive',
2537
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2538
- 'ext' => 'px'
2539
  ),
2540
 
2541
  );
@@ -2552,7 +2565,12 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2552
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2553
 
2554
  }
2555
-
 
 
 
 
 
2556
  function output( $options ) {
2557
 
2558
  if ( is_feed() ) {
@@ -2972,9 +2990,9 @@ class DSLC_WooCommerce_Products extends DSLC_Module {
2972
 
2973
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'addtocart', $post_elements ) || in_array( 'details', $post_elements ) ) ) : ?>
2974
 
2975
- <div class="dslc-post-main dslc-product-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-product-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']; ?>">
2976
 
2977
- <div class="dslc-product-main-inner dslc-init-<?php echo $options['main_position']; ?>">
2978
 
2979
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2980
 
22
 
23
  }
24
 
25
+ /**
26
+ * Module options.
27
+ * Function build array with all the module functionality and styling options.
28
+ * Based on this array Live Composer builds module settings panel.
29
+ * – Every array inside $dslc_options means one option = one control.
30
+ * – Every option should have unique (for this module) id.
31
+ * – Options divides on "Functionality" and "Styling".
32
+ * – Styling options start with css_XXXXXXX
33
+ * – Responsive options start with css_res_t_ (Tablet) or css_res_p_ (Phone)
34
+ * – Options can be hidden.
35
+ * – Options can have a default value.
36
+ * – Options can request refresh from server on change or do live refresh via CSS.
37
+ *
38
+ * @return array All the module options in array.
39
+ */
40
  function options() {
41
 
42
  $cats = get_terms( 'product_cat' );
295
  'value' => 'filters'
296
  ),
297
  ),
298
+ 'section' => 'styling',
299
  ),
300
 
301
  array(
337
  'value' => 'details'
338
  )
339
  ),
340
+ 'section' => 'styling',
341
  ),
342
 
343
  array(
355
  'value' => 'circles'
356
  ),
357
  ),
358
+ 'section' => 'styling',
359
  ),
360
  array(
361
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
518
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
519
  'id' => 'css_thumb_border_width',
520
  'min' => 0,
521
+ 'max' => 1000,
522
  'increment' => 1,
 
523
  'std' => '0',
524
  'type' => 'slider',
525
  'refresh_on_change' => false,
574
  'increment' => 1,
575
  'section' => 'styling',
576
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
577
+ 'ext' => 'px',
578
  ),
579
  array(
580
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
592
  'increment' => 1,
593
  'section' => 'styling',
594
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
595
+ 'ext' => 'px',
596
  ),
597
  array(
598
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
676
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
677
  'min' => 1,
678
  'max' => 100,
679
+ 'ext' => '%',
680
  ),
681
 
682
  /**
709
  'label' => __( 'Border Width', 'live-composer-page-builder' ),
710
  'id' => 'css_price_border_width',
711
  'min' => 0,
712
+ 'max' => 1000,
713
  'increment' => 1,
 
714
  'std' => '0',
715
  'type' => 'slider',
716
  'refresh_on_change' => false,
791
  'affect_on_change_rule' => 'font-size',
792
  'section' => 'styling',
793
  'tab' => __( 'Price', 'live-composer-page-builder' ),
794
+ 'ext' => 'px',
795
  ),
796
  array(
797
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
867
  'affect_on_change_rule' => 'margin',
868
  'section' => 'styling',
869
  'tab' => __( 'Price', 'live-composer-page-builder' ),
870
+ 'ext' => 'px',
871
  ),
872
  array(
873
  'label' => __( 'Opacity', 'live-composer-page-builder' ),
893
  'affect_on_change_rule' => 'padding',
894
  'section' => 'styling',
895
  'tab' => __( 'Price', 'live-composer-page-builder' ),
896
+ 'ext' => 'px',
897
  ),
898
  array(
899
  'label' => __( 'Position', 'live-composer-page-builder' ),
1035
  'increment' => 1,
1036
  'section' => 'styling',
1037
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1038
+ 'ext' => 'px',
1039
  ),
1040
  array(
1041
  'label' => __( 'Border Radius - Bottom', 'live-composer-page-builder' ),
1053
  'increment' => 1,
1054
  'section' => 'styling',
1055
  'tab' => __( 'Main', 'live-composer-page-builder' ),
1056
+ 'ext' => 'px',
1057
  ),
1058
  array(
1059
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
1212
  'affect_on_change_rule' => 'font-size',
1213
  'section' => 'styling',
1214
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1215
+ 'ext' => 'px',
1216
  ),
1217
  array(
1218
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1288
  'affect_on_change_rule' => 'line-height',
1289
  'section' => 'styling',
1290
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1291
+ 'ext' => 'px',
1292
  ),
1293
  array(
1294
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1303
  'affect_on_change_rule' => 'margin-bottom',
1304
  'section' => 'styling',
1305
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1306
+ 'ext' => 'px',
1307
  ),
1308
  array(
1309
  'label' => __( 'Margin Horizontal', 'live-composer-page-builder' ),
1315
  'affect_on_change_rule' => 'margin-left,margin-right',
1316
  'section' => 'styling',
1317
  'tab' => __( 'Title', 'live-composer-page-builder' ),
1318
+ 'ext' => 'px',
1319
  ),
1320
  array(
1321
  'label' => __( 'Text Transform', 'live-composer-page-builder' ),
1394
  'affect_on_change_rule' => 'border-bottom-width',
1395
  'section' => 'styling',
1396
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1397
+ 'ext' => 'px',
1398
  ),
1399
  array(
1400
  'label' => __( 'Color', 'live-composer-page-builder' ),
1420
  'affect_on_change_rule' => 'font-size',
1421
  'section' => 'styling',
1422
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1423
+ 'ext' => 'px',
1424
  ),
1425
  array(
1426
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1496
  'affect_on_change_rule' => 'line-height',
1497
  'section' => 'styling',
1498
  'tab' => __( 'Excerpt', 'live-composer-page-builder' ),
1499
+ 'ext' => 'px',
1500
  ),
1501
  array(
1502
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
1584
  'affect_on_change_rule' => 'font-size',
1585
  'section' => 'styling',
1586
  'tab' => __( 'Price Secondary', 'live-composer-page-builder' ),
1587
+ 'ext' => 'px',
1588
  ),
1589
  array(
1590
  'label' => __( 'Font Weight', 'live-composer-page-builder' ),
1697
  'affect_on_change_rule' => 'margin-bottom',
1698
  'section' => 'styling',
1699
  'tab' => __( 'Separator', 'live-composer-page-builder' ),
1700
+ 'ext' => 'px',
1701
  ),
1702
 
1703
  /**
1736
  'affect_on_change_rule' => 'font-size',
1737
  'section' => 'styling',
1738
  'tab' => __( 'Other', 'live-composer-page-builder' ),
1739
+ 'ext' => 'px',
1740
  ),
1741
  array(
1742
  'label' => __( 'Add to cart - Font Weight', 'live-composer-page-builder' ),
1831
  'affect_on_change_rule' => 'font-size',
1832
  'section' => 'styling',
1833
  'tab' => __( 'Other', 'live-composer-page-builder' ),
1834
+ 'ext' => 'px',
1835
  ),
1836
  array(
1837
  'label' => __( 'Details - Font Weight', 'live-composer-page-builder' ),
1989
  'affect_on_change_rule' => 'font-size',
1990
  'section' => 'responsive',
1991
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
1992
+ 'ext' => 'px',
1993
  ),
1994
  array(
1995
  'label' => __( 'Price - Margin', 'live-composer-page-builder' ),
2004
  'affect_on_change_rule' => 'margin',
2005
  'section' => 'responsive',
2006
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2007
+ 'ext' => 'px',
2008
  ),
2009
  array(
2010
  'label' => __( 'Price - Padding', 'live-composer-page-builder' ),
2016
  'affect_on_change_rule' => 'padding',
2017
  'section' => 'responsive',
2018
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2019
+ 'ext' => 'px',
2020
  ),
2021
  array(
2022
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
2061
  'affect_on_change_rule' => 'font-size',
2062
  'section' => 'responsive',
2063
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2064
+ 'ext' => 'px',
2065
  ),
2066
  array(
2067
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2076
  'affect_on_change_rule' => 'line-height',
2077
  'section' => 'responsive',
2078
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2079
+ 'ext' => 'px',
2080
  ),
2081
  array(
2082
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2091
  'affect_on_change_rule' => 'margin-bottom',
2092
  'section' => 'responsive',
2093
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2094
+ 'ext' => 'px',
2095
  ),
2096
  array(
2097
  'label' => __( 'Title - Margin Horizontal', 'live-composer-page-builder' ),
2103
  'affect_on_change_rule' => 'margin-left,margin-right',
2104
  'section' => 'responsive',
2105
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2106
+ 'ext' => 'px',
2107
  ),
2108
  array(
2109
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
2118
  'affect_on_change_rule' => 'font-size',
2119
  'section' => 'responsive',
2120
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2121
+ 'ext' => 'px',
2122
  ),
2123
  array(
2124
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2133
  'affect_on_change_rule' => 'line-height',
2134
  'section' => 'responsive',
2135
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2136
+ 'ext' => 'px',
2137
  ),
2138
  array(
2139
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2175
  'affect_on_change_rule' => 'font-size',
2176
  'section' => 'responsive',
2177
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2178
+ 'ext' => 'px',
2179
  ),
2180
  array(
2181
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
2190
  'affect_on_change_rule' => 'margin-bottom',
2191
  'section' => 'responsive',
2192
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2193
+ 'ext' => 'px',
2194
  ),
2195
  array(
2196
  'label' => __( 'Add to cart - Font Size', 'live-composer-page-builder' ),
2205
  'affect_on_change_rule' => 'font-size',
2206
  'section' => 'responsive',
2207
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2208
+ 'ext' => 'px',
2209
  ),
2210
  array(
2211
  'label' => __( 'Details - Font Size', 'live-composer-page-builder' ),
2220
  'affect_on_change_rule' => 'font-size',
2221
  'section' => 'responsive',
2222
  'tab' => __( 'Tablet', 'live-composer-page-builder' ),
2223
+ 'ext' => 'px',
2224
  ),
2225
 
2226
  /**
2317
  'affect_on_change_rule' => 'font-size',
2318
  'section' => 'responsive',
2319
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2320
+ 'ext' => 'px',
2321
  ),
2322
  array(
2323
  'label' => __( 'Price - Margin', 'live-composer-page-builder' ),
2332
  'affect_on_change_rule' => 'margin',
2333
  'section' => 'responsive',
2334
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2335
+ 'ext' => 'px',
2336
  ),
2337
  array(
2338
  'label' => __( 'Price - Padding', 'live-composer-page-builder' ),
2344
  'affect_on_change_rule' => 'padding',
2345
  'section' => 'responsive',
2346
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2347
+ 'ext' => 'px',
2348
  ),
2349
  array(
2350
  'label' => __( 'Main - Padding Vertical', 'live-composer-page-builder' ),
2389
  'affect_on_change_rule' => 'font-size',
2390
  'section' => 'responsive',
2391
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2392
+ 'ext' => 'px',
2393
  ),
2394
  array(
2395
  'label' => __( 'Title - Line Height', 'live-composer-page-builder' ),
2404
  'affect_on_change_rule' => 'line-height',
2405
  'section' => 'responsive',
2406
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2407
+ 'ext' => 'px',
2408
  ),
2409
  array(
2410
  'label' => __( 'Title - Margin Bottom', 'live-composer-page-builder' ),
2419
  'affect_on_change_rule' => 'margin-bottom',
2420
  'section' => 'responsive',
2421
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2422
+ 'ext' => 'px',
2423
  ),
2424
  array(
2425
  'label' => __( 'Title - Margin Horizontal', 'live-composer-page-builder' ),
2431
  'affect_on_change_rule' => 'margin-left,margin-right',
2432
  'section' => 'responsive',
2433
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2434
+ 'ext' => 'px',
2435
  ),
2436
  array(
2437
  'label' => __( 'Excerpt - Font Size', 'live-composer-page-builder' ),
2446
  'affect_on_change_rule' => 'font-size',
2447
  'section' => 'responsive',
2448
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2449
+ 'ext' => 'px',
2450
  ),
2451
  array(
2452
  'label' => __( 'Excerpt - Line Height', 'live-composer-page-builder' ),
2461
  'affect_on_change_rule' => 'line-height',
2462
  'section' => 'responsive',
2463
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2464
+ 'ext' => 'px',
2465
  ),
2466
  array(
2467
  'label' => __( 'Excerpt - Margin Bottom', 'live-composer-page-builder' ),
2503
  'affect_on_change_rule' => 'font-size',
2504
  'section' => 'responsive',
2505
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2506
+ 'ext' => 'px',
2507
  ),
2508
  array(
2509
  'label' => __( 'Separator - Margin Bottom', 'live-composer-page-builder' ),
2518
  'affect_on_change_rule' => 'margin-bottom',
2519
  'section' => 'responsive',
2520
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2521
+ 'ext' => 'px',
2522
  ),
2523
  array(
2524
  'label' => __( 'Add to cart - Font Size', 'live-composer-page-builder' ),
2533
  'affect_on_change_rule' => 'font-size',
2534
  'section' => 'responsive',
2535
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2536
+ 'ext' => 'px',
2537
  ),
2538
  array(
2539
  'label' => __( 'Details - Font Size', 'live-composer-page-builder' ),
2548
  'affect_on_change_rule' => 'font-size',
2549
  'section' => 'responsive',
2550
  'tab' => __( 'Phone', 'live-composer-page-builder' ),
2551
+ 'ext' => 'px',
2552
  ),
2553
 
2554
  );
2565
  return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
2566
 
2567
  }
2568
+ /**
2569
+ * Module HTML output.
2570
+ *
2571
+ * @param array $options Module options to fill the module template.
2572
+ * @return void
2573
+ */
2574
  function output( $options ) {
2575
 
2576
  if ( is_feed() ) {
2990
 
2991
  <?php if ( ( $options['main_location'] == 'inside' || $options['main_location'] == 'inside_visible' ) && ( $post_elements == 'all' || in_array( 'title', $post_elements ) || in_array( 'excerpt', $post_elements ) || in_array( 'addtocart', $post_elements ) || in_array( 'details', $post_elements ) ) ) : ?>
2992
 
2993
+ <div class="dslc-post-main dslc-init-<?php echo $options['main_position']; ?> dslc-product-main <?php if ( $options['main_location'] == 'inside_visible' ) echo 'dslc-product-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']; ?>">
2994
 
2995
+ <div class="dslc-product-main-inner dslc-init-target">
2996
 
2997
  <?php if ( $post_elements == 'all' || in_array( 'title', $post_elements ) ) : ?>
2998
 
readme.txt CHANGED
@@ -129,18 +129,58 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
129
 
130
  == Changelog ==
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  = 1.1.2 - August 17th 2016 =
133
 
134
- [Report any bugs on GitHub](https://github.com/livecomposer/Live-Composer/issues/)
135
- [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
136
 
137
  = Bug fixes: =
138
 
139
- * Issue [#169](https://github.com/livecomposer/Live-Composer/issues/169) + [#166](https://github.com/livecomposer/Live-Composer/issues/166): Drag & Drop broken due to JS error (Uncaught TypeError: a.addEventListener is not a function...)
 
 
 
140
 
141
  = 1.1.1 - August 17th 2016 =
142
 
143
- [Report any bugs on GitHub](https://github.com/livecomposer/Live-Composer/issues/)
144
  [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
145
 
146
  = Bug fixes: =
@@ -151,6 +191,9 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
151
  * WP Admin Bar is not visible even when LC is not in active mode #155
152
  * Cannot open "WP Editor" for Accordion or Tabs modules #153
153
 
 
 
 
154
  = 1.1 - August 16th 2016 =
155
 
156
  [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
129
 
130
  == Changelog ==
131
 
132
+ = 1.1.3 - August 19th 2016 =
133
+
134
+ * [Report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
135
+ * [Here you can download any previous verison](https://wordpress.org/plugins/live-composer-page-builder/developers/)
136
+ * [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
137
+
138
+ = Bug fixes: =
139
+
140
+ * Issue [#174](https://github.com/livecomposer/live-composer-page-builder/issues/174): Click "Edit template" in WP Admin on CPT listing is broken
141
+ * Problem with border settings control. If set to 'none none none none' it will break.
142
+ * Issue [#186](https://github.com/livecomposer/live-composer-page-builder/issues/186): Version 1.1+ problem with post archive templates, post styling is missing
143
+ * Issue [#182](https://github.com/livecomposer/live-composer-page-builder/issues/182): Make sure disabled modules (WP Admin > Live Composer > Settings > Feature Control) do not show in list of the modules available for drag and drop.
144
+ * Issue [#170](https://github.com/livecomposer/live-composer-page-builder/issues/170): Load Templates section is not scrollable anymore
145
+ * Issue [#178](https://github.com/livecomposer/live-composer-page-builder/issues/178): TinyMCE inline link popup has a wrong position.
146
+ * Issue [#172](https://github.com/livecomposer/live-composer-page-builder/issues/172): Element Titles cannot be changed in Safari on Mac
147
+ * Issue [#208](https://github.com/livecomposer/live-composer-page-builder/issues/208): Responsive settings do not work for THE CONTENT module
148
+ * Issue [#203](https://github.com/livecomposer/live-composer-page-builder/issues/203): Responsive line-height settings do not work in HTML module
149
+ * Issue [#196](https://github.com/livecomposer/live-composer-page-builder/issues/196): Uncaught Error – cannot call methods on sortable prior to initialization; attempted to call method 'option'
150
+ * Issue [#202](https://github.com/livecomposer/live-composer-page-builder/issues/202): Inline Editor – Bold, Italic text styling do not apply in some themes.
151
+ * Issue [#193](https://github.com/livecomposer/live-composer-page-builder/issues/193): Navigation Module – Chevron not showing when enabled in navigation module
152
+ * Presets: Fixed presets auto-reload on module options change. (Thank you Paul!)
153
+ * Presets: Removed Infobox > Image and Infobox > Image Url form synchronization. (Thank you Paul!)
154
+ * Post Grids: Wrong post title centering over thumbnail. (Thank you Jacob!)
155
+
156
+ = For developers: =
157
+
158
+ * New filter added 'dslc_filter_modules'. Use it to enable/disable/sort/rename registered modules.
159
+ * Removed dslc_sort_alphabetically function.
160
+
161
+ = Other changes: =
162
+
163
+ * Completely removed 'Modules Listing Order' setting from WP Admin > Live Composer > Settings
164
+ * Issue [#181](https://github.com/livecomposer/live-composer-page-builder/issues/181): Fixed headers cover working area while editing page. From now Fixed / Absolute headers will looks like a regular header in editing more. If you want to see it fixed as on production, please click on "Hide Editor" button.
165
+ * Changed limit for border width value (from 10 to 1000)
166
+
167
+
168
+
169
  = 1.1.2 - August 17th 2016 =
170
 
171
+ * [Report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
172
+ * [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
173
 
174
  = Bug fixes: =
175
 
176
+ * Issue [#169](https://github.com/livecomposer/live-composer-page-builder/issues/169) + [#166](https://github.com/livecomposer/live-composer-page-builder/issues/166): Drag & Drop broken due to JS error (Uncaught TypeError: a.addEventListener is not a function...)
177
+
178
+
179
+
180
 
181
  = 1.1.1 - August 17th 2016 =
182
 
183
+ [Report any bugs on GitHub](https://github.com/livecomposer/live-composer-page-builder/issues/)
184
  [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)
185
 
186
  = Bug fixes: =
191
  * WP Admin Bar is not visible even when LC is not in active mode #155
192
  * Cannot open "WP Editor" for Accordion or Tabs modules #153
193
 
194
+
195
+
196
+
197
  = 1.1 - August 16th 2016 =
198
 
199
  [See latest changes in details with animated gifs and videos](https://livecomposerplugin.com/blog/live-composer-1-1-released/)