Version Description
September 15th 2015 =
Improvement: Social Module - Yelp added
Improvement: Option to change the position of the "activate editor" button ( left or right )
Improvement: Testimonial Module - Option to change line height of "Author Position" element added
Improvement: Loading animation added when adding a row ( while LC fetches a new row and outputs it )
Fix: Issue with CSS generation including "url()" as a background-image value and causing a slower page load
Fix: Masonry was not being initiated when a row is imported
Fix: Tutorial chapter one was broken, getting stuck at changing the padding value
Fix: Info Box Module - There was unwanted spacing below the icon
Fix: Image options causing vertical scrollbar to show in the options area
Fix: Header was going behind the WordPress admin bar ( the vertical bar at the top )
Fix: PHP undefined notice error when a module does not utilize presets functionality
Fix: Styling issue when a module option is an input field with the type number
Release Info
Developer | LiveComposer |
Plugin | Page Builder: Live Composer – drag and drop website builder (visual front end site editor) |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.0.1
- css/builder.main.css +3 -0
- css/main.css +10 -0
- css/main.min.css +1 -1
- css/modules.css +1 -0
- css/modules.min.css +1 -1
- ds-live-composer.php +2 -2
- includes/class.module.php +8 -0
- includes/display-functions.php +6 -1
- includes/functions.php +1 -1
- includes/plugin-options-framework/inc/options.php +16 -0
- includes/tutorials/tutorial.js +3 -3
- includes/tutorials/tutorial.min.js +1 -1
- js/builder.main.js +17 -2
- js/builder.main.min.js +3 -3
- modules/social/module.php +14 -0
- modules/testimonials/module.php +13 -0
- readme.txt +28 -3
@@ -22,6 +22,7 @@ body {
|
|
22 |
}
|
23 |
|
24 |
.dslca-container input[type="text"],
|
|
|
25 |
.dslca-container select,
|
26 |
.dslca-container textarea {
|
27 |
background: rgba( 255, 255, 255, 0.1 );
|
@@ -369,6 +370,7 @@ body {
|
|
369 |
line-height: 1;
|
370 |
margin-bottom: 10px;
|
371 |
text-transform: uppercase;
|
|
|
372 |
}
|
373 |
|
374 |
.dslca-module-edit-field {
|
@@ -2727,6 +2729,7 @@ body.rtl .dslca-modules-area-placeholder {
|
|
2727 |
padding: 10px;
|
2728 |
line-height: 1;
|
2729 |
text-transform: uppercase;
|
|
|
2730 |
}
|
2731 |
|
2732 |
.dslca-modules-section-edit-field-image-add-hook .dslca-icon,
|
22 |
}
|
23 |
|
24 |
.dslca-container input[type="text"],
|
25 |
+
.dslca-container input[type="number"],
|
26 |
.dslca-container select,
|
27 |
.dslca-container textarea {
|
28 |
background: rgba( 255, 255, 255, 0.1 );
|
370 |
line-height: 1;
|
371 |
margin-bottom: 10px;
|
372 |
text-transform: uppercase;
|
373 |
+
white-space: nowrap;
|
374 |
}
|
375 |
|
376 |
.dslca-module-edit-field {
|
2729 |
padding: 10px;
|
2730 |
line-height: 1;
|
2731 |
text-transform: uppercase;
|
2732 |
+
white-space: nowrap;
|
2733 |
}
|
2734 |
|
2735 |
.dslca-modules-section-edit-field-image-add-hook .dslca-icon,
|
@@ -20,6 +20,11 @@
|
|
20 |
z-index: 999999;
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
#dslc-footer {
|
24 |
position: relative;
|
25 |
}
|
@@ -98,6 +103,11 @@
|
|
98 |
bottom: 5px;
|
99 |
}
|
100 |
|
|
|
|
|
|
|
|
|
|
|
101 |
.dslca-container .dslca-show-composer-hook {
|
102 |
display: none;
|
103 |
}
|
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 |
}
|
103 |
bottom: 5px;
|
104 |
}
|
105 |
|
106 |
+
.dslca-activate-composer-hook.dslca-position-left {
|
107 |
+
right: auto;
|
108 |
+
left: 5px;
|
109 |
+
}
|
110 |
+
|
111 |
.dslca-container .dslca-show-composer-hook {
|
112 |
display: none;
|
113 |
}
|
@@ -1 +1 @@
|
|
1 |
-
.dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}#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}#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-header.dslca-header-low-z-index,.dslca-drag-in-progress #dslc-header{z-index:0}#dslc-content{position:relative}#dslc-content b{font-weight:700}#dslc-content i{font-style:italic}.dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:"Open Sans";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-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom: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{color:rgba(255,255,255,.66);margin-right:5px}.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%}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-block;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;position:absolute;left:0;right:0;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}@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;font-family:"Open Sans"}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;font-family:Oswald;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-family:"Open Sans";font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px}.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{visibility:hidden}.dslc-init-topleft{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright{position:absolute!important;top:0!important;right:0!important;bottom:auto!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;font-family:"Open Sans";line-height:1;padding:12px}#dslc-content .dslc-bg-video .mejs-controls,.dslc-res-big .dslc-hide-on-desktop,.dslc-res-phone .dslc-hide-on-phone,.dslc-res-smaller-monitor .dslc-hide-on-desktop,.dslc-res-tablet .dslc-hide-on-tablet{display:none!important}.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-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}body.dslc-res-phone .dslc-col{width:100%;margin:0 0 30px;min-width:0}body.dslc-res-phone .dslc-module-front.dslc-col{margin-bottom:0}@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}}body.dslca-enabled.dslc-res-tablet #dslc-content{max-width:768px;margin:0 auto}body.dslca-enabled.dslc-res-phone #dslc-content{max-width:480px;margin:0 auto}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}@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)}}@keyframes dslcSlideUp{to{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)}}@keyframes dslcSlideDown{to{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)}}@keyframes dslcSlideRight{to{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)}}@keyframes dslcSlideLeft{to{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}}@keyframes dslcSlideUpFadeIn{to{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}}@keyframes dslcSlideDownFadeIn{to{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}}@keyframes dslcSlideRightFadeIn{to{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}}@keyframes dslcSlideLeftFadeIn{to{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}.dslca-enabled.dslc-res-big .dslc-hide-on-desktop,.dslca-enabled.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden.dslc-res-big .dslc-hide-on-desktop,.dslca-composer-hidden.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:none!important}
|
1 |
+
.dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}#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-header.dslca-header-low-z-index,.dslca-drag-in-progress #dslc-header{z-index:0}#dslc-content{position:relative}#dslc-content b{font-weight:700}#dslc-content i{font-style:italic}.dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:"Open Sans";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-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.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{color:rgba(255,255,255,.66);margin-right:5px}.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%}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-block;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;position:absolute;left:0;right:0;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}@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;font-family:"Open Sans"}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;font-family:Oswald;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-family:"Open Sans";font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px}.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{visibility:hidden}.dslc-init-topleft{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;right:auto!important}.dslc-init-topright{position:absolute!important;top:0!important;right:0!important;bottom:auto!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;font-family:"Open Sans";line-height:1;padding:12px}#dslc-content .dslc-bg-video .mejs-controls,.dslc-res-big .dslc-hide-on-desktop,.dslc-res-phone .dslc-hide-on-phone,.dslc-res-smaller-monitor .dslc-hide-on-desktop,.dslc-res-tablet .dslc-hide-on-tablet{display:none!important}.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-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}body.dslc-res-phone .dslc-col{width:100%;margin:0 0 30px;min-width:0}body.dslc-res-phone .dslc-module-front.dslc-col{margin-bottom:0}@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}}body.dslca-enabled.dslc-res-tablet #dslc-content{max-width:768px;margin:0 auto}body.dslca-enabled.dslc-res-phone #dslc-content{max-width:480px;margin:0 auto}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}@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)}}@keyframes dslcSlideUp{to{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)}}@keyframes dslcSlideDown{to{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)}}@keyframes dslcSlideRight{to{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)}}@keyframes dslcSlideLeft{to{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}}@keyframes dslcSlideUpFadeIn{to{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}}@keyframes dslcSlideDownFadeIn{to{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}}@keyframes dslcSlideRightFadeIn{to{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}}@keyframes dslcSlideLeftFadeIn{to{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}.dslca-enabled.dslc-res-big .dslc-hide-on-desktop,.dslca-enabled.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden.dslc-res-big .dslc-hide-on-desktop,.dslca-composer-hidden.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:none!important}
|
@@ -567,6 +567,7 @@
|
|
567 |
.dslc-info-box-image {
|
568 |
margin-bottom: 25px;
|
569 |
position: relative;
|
|
|
570 |
}
|
571 |
|
572 |
.dslc-info-box-image-link {
|
567 |
.dslc-info-box-image {
|
568 |
margin-bottom: 25px;
|
569 |
position: relative;
|
570 |
+
font-size: 0;
|
571 |
}
|
572 |
|
573 |
.dslc-info-box-image-link {
|
@@ -1 +1 @@
|
|
1 |
-
#dslc-content .dslc-cpt-post-main,#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative}#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}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main .dslc-init-center{position:relative}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-blog-post-main,#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent}#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-family:"Open Sans";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-thumb{margin-bottom:20px;overflow:hidden;position:relative}#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-init-center,#dslc-content .dslc-download-thumb{position:relative}#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-family:"Open Sans";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-content .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-inner{border:0 solid transparent}#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-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main .dslc-init-center,#dslc-content .dslc-gallery-thumb{position:relative}#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-main{border:0 solid transparent;text-align:center}#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:0 solid transparent;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none;text-align:center}#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-inner{border:0 solid transparent;position:relative}#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-family:Oswald;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;font-family:Brawler;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}#dslc-content .dslc-gallery-thumb .dslc-gallery-main .dslc-init-center{position:relative}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-family:Brawler;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-info-box{text-align:center;border:0 solid transparent}.dslc-info-box-image{margin-bottom:25px;position:relative}.dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}.dslc-info-box-main{overflow:hidden}.dslc-info-box-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}.dslc-info-box-image-inner{display:inline-block;position:relative;border:0 solid transparent}.dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px;position:absolute}.dslc-info-box-title{margin-bottom:25px}.dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}.dslc-info-box-title h4 a{color:inherit;text-decoration:none}.dslc-info-box-content{margin-bottom:25px}.dslc-info-box-button{font-size:0}.dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none}.dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{border:1px solid #ebebeb;padding:50px 0;text-align:center;position:relative}#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 .dslc-partner-main,#dslc-content .dslc-projects .dslc-project-thumb-inner{border:0 solid transparent}#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}#dslc-content .dslc-partner-thumb .dslc-partner-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner .dslc-partner-title h2{color:#222;font-family:Oswald;font-weight:700;font-size:14px;line-height:1;margin:0;padding:0}#dslc-content .dslc-partner .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-partner .dslc-partner-excerpt{color:#444;font-family:"Open Sans";font-weight:400;font-size:12px;line-height:22px}#dslc-content .dslc-projects .dslc-project-thumb{margin-bottom:24px;position:relative}#dslc-content .dslc-projects .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-projects .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-projects .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-projects .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-projects .dslc-project-title h2{color:#000;font-family:"Open Sans";font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-projects .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-projects .dslc-project-cats{font-family:"Droid Serif";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-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{text-align:center}#dslc-content .dslc-staff-member-thumb{position:relative;border:0 solid transparent}#dslc-content .dslc-staff-member-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-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}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main .dslc-init-center{position:relative}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{background:#40bde6;border:0 solid transparent;border-radius:0 0 3px 3px;padding:12px 0;margin-bottom:25px}#dslc-content .dslc-staff-member-social a{color:#fff;margin:0 6px;font-size:13px;text-decoration:none}#dslc-content .dslc-staff-member-main{border:0 solid transparent}#dslc-content .dslc-staff-member-title{margin-bottom:23px}#dslc-content .dslc-staff-member-title h2{color:#323232;font-size:15px;font-family:"Open Sans";font-weight:600;line-height:1;margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-staff-member-position{border:1px solid #e5e5e5;font-size:12px;font-weight:600;font-style:italic;line-height:1;margin-bottom:20px}#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:block;float:left;padding:10px;position:relative;line-height:1;margin-left:-1px}#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-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:block;float:left;font-size:11px;margin-left:10px;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;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}body.dslc-res-phone .dslc-tabs-nav{display:none}body.dslc-res-phone .dslc-tabs-tab-content{display:block!important}body.dslc-res-phone .dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-testimonial-main,#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}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent}#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;font-family:Oswald;left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-secondary del,#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}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main .dslc-init-center{position:relative}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;font-family:Oswald}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;font-family:Brawler;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,#dslc-content .dslc-tp-title h1{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%;border-radius:50%}#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{border:0 solid transparent;display:block;line-height:1;text-decoration:none;text-align:center}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent}#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;display:block;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;text-align:center;font-size:15px;position:relative;float:left}#dslc-content ul.dslc-social .dslc-icon{line-height:1;position:absolute}#dslc-content ul.dslc-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-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{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;position:absolute;font-size:12px}#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-accordion,.dslc-accordion-content,.dslc-accordion-header,.dslc-accordion-title,.dslc-progress-bar,.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-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-res-phone .dslc-comment .dslc-comment{margin-left:0}.dslc-res-phone .dslc-comment .children{margin-left:0;padding-left:0}.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-image img{max-width:100%;display:inline-block;vertical-align:middle}.dslc-progress-bar-label{margin:0;padding:0;line-height:1}.dslc-progress-bar-loader{background:#666;display:block;height:18px}.dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}.dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}.dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}.dslc-accordion-item{margin-top:20px}.dslc-accordion-item:first-child{margin-top:0}.dslc-accordion-header{display:block;font-family:"Open Sans";font-weight:700;font-size:11px;line-height:1;position:relative}.dslc-accordion-title{display:block}.dslc-accordion-hook{cursor:pointer}.dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}.dslc-accordion-content{position:relative}.dslca-add-accordion{text-align:center}.dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-block;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}.dslca-add-accordion-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}.dslca-move-down-accordion-hook,.dslca-move-up-accordion-hook{color:#5890e5}.dslca-move-down-accordion-hook:hover,.dslca-move-up-accordion-hook:hover{color:#3b6fbe}.dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}.dslc-icon-module{position:relative;display:inline-block}.dslc-navigation{z-index:99998;position:relative;text-align:right;font-size:0}.dslc-navigation-inner{display:inline-block}.dslc-navigation .menu{list-style:none;margin:0;padding:0}.dslc-navigation .menu>li{display:inline-block;position:relative;z-index:99998}.dslc-navigation .menu>li:first-child{margin-left:0!important}.dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}.dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}.dslc-navigation .menu ul{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}.dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}.dslc-navigation .menu ul li{display:block;white-space:nowrap;margin:0}.dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}.dslc-navigation .menu ul li:last-child a{border-bottom:0!important}.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-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}.dslc-navigation .menu ul ul{left:100%;margin-left:-10px;top:-1px}.dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}.dslc-navigation .menu li:hover>ul{display:block}.dslc-mobile-navigation{position:relative;text-align:right;display:none}.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-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled,.dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}.dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled,.dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled{display:none}
|
1 |
+
#dslc-content .dslc-cpt-post-main,#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative}#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}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main .dslc-init-center{position:relative}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-blog-post-main,#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent}#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-family:"Open Sans";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-thumb{margin-bottom:20px;overflow:hidden;position:relative}#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-init-center,#dslc-content .dslc-download-thumb{position:relative}#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-family:"Open Sans";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-content .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-inner{border:0 solid transparent}#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-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main .dslc-init-center,#dslc-content .dslc-gallery-thumb{position:relative}#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-main{border:0 solid transparent;text-align:center}#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:0 solid transparent;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none;text-align:center}#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-inner{border:0 solid transparent;position:relative}#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-family:Oswald;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;font-family:Brawler;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}#dslc-content .dslc-gallery-thumb .dslc-gallery-main .dslc-init-center{position:relative}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-family:Brawler;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-info-box{text-align:center;border:0 solid transparent}.dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}.dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}.dslc-info-box-main{overflow:hidden}.dslc-info-box-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}.dslc-info-box-image-inner{display:inline-block;position:relative;border:0 solid transparent}.dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px;position:absolute}.dslc-info-box-title{margin-bottom:25px}.dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}.dslc-info-box-title h4 a{color:inherit;text-decoration:none}.dslc-info-box-content{margin-bottom:25px}.dslc-info-box-button{font-size:0}.dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none}.dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{border:1px solid #ebebeb;padding:50px 0;text-align:center;position:relative}#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 .dslc-partner-main,#dslc-content .dslc-projects .dslc-project-thumb-inner{border:0 solid transparent}#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}#dslc-content .dslc-partner-thumb .dslc-partner-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner .dslc-partner-title h2{color:#222;font-family:Oswald;font-weight:700;font-size:14px;line-height:1;margin:0;padding:0}#dslc-content .dslc-partner .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-partner .dslc-partner-excerpt{color:#444;font-family:"Open Sans";font-weight:400;font-size:12px;line-height:22px}#dslc-content .dslc-projects .dslc-project-thumb{margin-bottom:24px;position:relative}#dslc-content .dslc-projects .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-projects .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-projects .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-projects .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-projects .dslc-project-title h2{color:#000;font-family:"Open Sans";font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-projects .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-projects .dslc-project-cats{font-family:"Droid Serif";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-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{text-align:center}#dslc-content .dslc-staff-member-thumb{position:relative;border:0 solid transparent}#dslc-content .dslc-staff-member-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-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}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main .dslc-init-center{position:relative}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{background:#40bde6;border:0 solid transparent;border-radius:0 0 3px 3px;padding:12px 0;margin-bottom:25px}#dslc-content .dslc-staff-member-social a{color:#fff;margin:0 6px;font-size:13px;text-decoration:none}#dslc-content .dslc-staff-member-main{border:0 solid transparent}#dslc-content .dslc-staff-member-title{margin-bottom:23px}#dslc-content .dslc-staff-member-title h2{color:#323232;font-size:15px;font-family:"Open Sans";font-weight:600;line-height:1;margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-staff-member-position{border:1px solid #e5e5e5;font-size:12px;font-weight:600;font-style:italic;line-height:1;margin-bottom:20px}#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:block;float:left;padding:10px;position:relative;line-height:1;margin-left:-1px}#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-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:block;float:left;font-size:11px;margin-left:10px;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;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}body.dslc-res-phone .dslc-tabs-nav{display:none}body.dslc-res-phone .dslc-tabs-tab-content{display:block!important}body.dslc-res-phone .dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-testimonial-main,#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}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent}#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;font-family:Oswald;left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-price-secondary del,#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}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main .dslc-init-center{position:relative}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;font-family:Oswald}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;font-family:Brawler;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,#dslc-content .dslc-tp-title h1{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%;border-radius:50%}#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{border:0 solid transparent;display:block;line-height:1;text-decoration:none;text-align:center}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent}#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;display:block;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;text-align:center;font-size:15px;position:relative;float:left}#dslc-content ul.dslc-social .dslc-icon{line-height:1;position:absolute}#dslc-content ul.dslc-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-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{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;position:absolute;font-size:12px}#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-accordion,.dslc-accordion-content,.dslc-accordion-header,.dslc-accordion-title,.dslc-progress-bar,.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-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-res-phone .dslc-comment .dslc-comment{margin-left:0}.dslc-res-phone .dslc-comment .children{margin-left:0;padding-left:0}.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-image img{max-width:100%;display:inline-block;vertical-align:middle}.dslc-progress-bar-label{margin:0;padding:0;line-height:1}.dslc-progress-bar-loader{background:#666;display:block;height:18px}.dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}.dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}.dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}.dslc-accordion-item{margin-top:20px}.dslc-accordion-item:first-child{margin-top:0}.dslc-accordion-header{display:block;font-family:"Open Sans";font-weight:700;font-size:11px;line-height:1;position:relative}.dslc-accordion-title{display:block}.dslc-accordion-hook{cursor:pointer}.dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}.dslc-accordion-content{position:relative}.dslca-add-accordion{text-align:center}.dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-block;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}.dslca-add-accordion-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}.dslca-move-down-accordion-hook,.dslca-move-up-accordion-hook{color:#5890e5}.dslca-move-down-accordion-hook:hover,.dslca-move-up-accordion-hook:hover{color:#3b6fbe}.dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}.dslc-icon-module{position:relative;display:inline-block}.dslc-navigation{z-index:99998;position:relative;text-align:right;font-size:0}.dslc-navigation-inner{display:inline-block}.dslc-navigation .menu{list-style:none;margin:0;padding:0}.dslc-navigation .menu>li{display:inline-block;position:relative;z-index:99998}.dslc-navigation .menu>li:first-child{margin-left:0!important}.dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}.dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}.dslc-navigation .menu ul{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}.dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}.dslc-navigation .menu ul li{display:block;white-space:nowrap;margin:0}.dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}.dslc-navigation .menu ul li:last-child a{border-bottom:0!important}.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-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}.dslc-navigation .menu ul ul{left:100%;margin-left:-10px;top:-1px}.dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}.dslc-navigation .menu li:hover>ul{display:block}.dslc-mobile-navigation{position:relative;text-align:right;display:none}.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-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled,.dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}.dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled,.dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled{display:none}
|
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://www.livecomposerplugin.com
|
5 |
Description: Primarily a front-end page builder but can also be used to build a whole website ( with our blank theme ) from header to footer.
|
6 |
Author: Dany Duchaine and Slobodan Kustrimovic
|
7 |
-
Version: 1.0
|
8 |
Author URI: http://livecomposerplugin.com
|
9 |
*/
|
10 |
|
@@ -12,7 +12,7 @@
|
|
12 |
* Constants
|
13 |
*/
|
14 |
|
15 |
-
define( 'DS_LIVE_COMPOSER_VER', '1.0' );
|
16 |
define( 'DS_LIVE_COMPOSER_LOAD_MINIFIED', true );
|
17 |
|
18 |
define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
|
4 |
Plugin URI: http://www.livecomposerplugin.com
|
5 |
Description: Primarily a front-end page builder but can also be used to build a whole website ( with our blank theme ) from header to footer.
|
6 |
Author: Dany Duchaine and Slobodan Kustrimovic
|
7 |
+
Version: 1.0.1
|
8 |
Author URI: http://livecomposerplugin.com
|
9 |
*/
|
10 |
|
12 |
* Constants
|
13 |
*/
|
14 |
|
15 |
+
define( 'DS_LIVE_COMPOSER_VER', '1.0.1' );
|
16 |
define( 'DS_LIVE_COMPOSER_LOAD_MINIFIED', true );
|
17 |
|
18 |
define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
|
@@ -1828,6 +1828,14 @@ class DSLC_Module {
|
|
1828 |
$title_attr = 'title="' . strtoupper( esc_attr( $this->module_title ) ) .'"';
|
1829 |
}
|
1830 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1831 |
?>
|
1832 |
|
1833 |
<div id="dslc-module-<?php echo $options['module_instance_id']; ?>" class="dslc-module-front dslc-module-<?php echo $this->module_id; ?> dslc-in-viewport-check dslc-in-viewport-anim-<?php echo $options['css_anim']; ?> <?php echo $class_size_output . ' ' . $class_show_on . ' ' . $class_handle_like; ?>" data-module-id="<?php echo $options['module_instance_id']; ?>" data-dslc-module-id="<?php echo $this->module_id; ?>" data-dslc-module-size="<?php echo $data_attr_size ?>" data-dslc-anim="<?php echo $options['css_anim'] ?>" data-dslc-anim-delay="<?php echo $options['css_anim_delay']; ?>" data-dslc-anim-duration="<?php echo $options['css_anim_duration']; ?>" data-dslc-anim-easing="<?php echo $options['css_anim_easing']; ?>" data-dslc-preset="<?php echo $options['css_load_preset']; ?>" <?php echo $title_attr; ?>>
|
1828 |
$title_attr = 'title="' . strtoupper( esc_attr( $this->module_title ) ) .'"';
|
1829 |
}
|
1830 |
|
1831 |
+
/**
|
1832 |
+
* Option Preset
|
1833 |
+
*/
|
1834 |
+
|
1835 |
+
if ( ! isset( $options['css_load_preset'] ) ) {
|
1836 |
+
$options['css_load_preset'] = '';
|
1837 |
+
}
|
1838 |
+
|
1839 |
?>
|
1840 |
|
1841 |
<div id="dslc-module-<?php echo $options['module_instance_id']; ?>" class="dslc-module-front dslc-module-<?php echo $this->module_id; ?> dslc-in-viewport-check dslc-in-viewport-anim-<?php echo $options['css_anim']; ?> <?php echo $class_size_output . ' ' . $class_show_on . ' ' . $class_handle_like; ?>" data-module-id="<?php echo $options['module_instance_id']; ?>" data-dslc-module-id="<?php echo $this->module_id; ?>" data-dslc-module-size="<?php echo $data_attr_size ?>" data-dslc-anim="<?php echo $options['css_anim'] ?>" data-dslc-anim-delay="<?php echo $options['css_anim_delay']; ?>" data-dslc-anim-duration="<?php echo $options['css_anim_duration']; ?>" data-dslc-anim-easing="<?php echo $options['css_anim_easing']; ?>" data-dslc-preset="<?php echo $options['css_load_preset']; ?>" <?php echo $title_attr; ?>>
|
@@ -301,13 +301,18 @@ function dslc_display_composer() {
|
|
301 |
|
302 |
global $dslc_var_templates_pt;
|
303 |
|
|
|
|
|
|
|
|
|
|
|
304 |
// Show composer activation button
|
305 |
if ( ( ! function_exists( 'is_customize_preview' ) || ! is_customize_preview() ) && is_singular() && !$dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
|
306 |
|
307 |
// If is a page or a template go ahead normally
|
308 |
if ( is_page() || get_post_type() == 'dslc_templates' || ! isset( $dslc_var_templates_pt[get_post_type()] ) ) {
|
309 |
|
310 |
-
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink() ); ?>" class="dslca-activate-composer-hook"><?php _e( 'ACTIVATE EDITOR', 'dslc_string' ); ?></a><?php
|
311 |
|
312 |
// If not a page or a template
|
313 |
} else {
|
301 |
|
302 |
global $dslc_var_templates_pt;
|
303 |
|
304 |
+
// Get the position of the activation button
|
305 |
+
$activate_button_position = dslc_get_option( 'lc_module_activate_button_pos', 'dslc_plugin_options_other' );
|
306 |
+
if ( empty( $activate_button_position ) )
|
307 |
+
$activate_button_position = 'right';
|
308 |
+
|
309 |
// Show composer activation button
|
310 |
if ( ( ! function_exists( 'is_customize_preview' ) || ! is_customize_preview() ) && is_singular() && !$dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) :
|
311 |
|
312 |
// If is a page or a template go ahead normally
|
313 |
if ( is_page() || get_post_type() == 'dslc_templates' || ! isset( $dslc_var_templates_pt[get_post_type()] ) ) {
|
314 |
|
315 |
+
?><a href="<?php echo add_query_arg( array( 'dslc' => 'active' ), get_permalink() ); ?>" class="dslca-activate-composer-hook dslca-position-<?php echo $activate_button_position; ?>"><?php _e( 'ACTIVATE EDITOR', 'dslc_string' ); ?></a><?php
|
316 |
|
317 |
// If not a page or a template
|
318 |
} else {
|
@@ -331,7 +331,7 @@ function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
|
|
331 |
|
332 |
foreach ( $rules as $rule => $value ) {
|
333 |
|
334 |
-
if ( trim( $value ) != '' ) {
|
335 |
|
336 |
$css_output .= $rule . ' : ' . $value . $important_append . '; ';
|
337 |
|
331 |
|
332 |
foreach ( $rules as $rule => $value ) {
|
333 |
|
334 |
+
if ( trim( $value ) != '' && trim( $value ) != 'url(" ")' ) {
|
335 |
|
336 |
$css_output .= $rule . ' : ' . $value . $important_append . '; ';
|
337 |
|
@@ -287,6 +287,22 @@ function dslc_plugin_opts_other() {
|
|
287 |
),
|
288 |
)
|
289 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
)
|
291 |
);
|
292 |
|
287 |
),
|
288 |
)
|
289 |
),
|
290 |
+
'lc_module_activate_button_pos' => array(
|
291 |
+
'label' => __( '"Activate Editor" Position', 'dslc_string' ),
|
292 |
+
'std' => 'right',
|
293 |
+
'type' => 'select',
|
294 |
+
'descr' => __( 'Choose the position of the "Activate Editor" button.', 'dslc_string' ),
|
295 |
+
'choices' => array(
|
296 |
+
array(
|
297 |
+
'label' => 'Left',
|
298 |
+
'value' => 'left',
|
299 |
+
),
|
300 |
+
array(
|
301 |
+
'label' => 'Right',
|
302 |
+
'value' => 'right',
|
303 |
+
),
|
304 |
+
)
|
305 |
+
),
|
306 |
)
|
307 |
);
|
308 |
|
@@ -469,14 +469,14 @@ jQuery(document).ready(function($){
|
|
469 |
$('.dslca-modules-section-edit-option[data-id="padding"]').css( 'z-index', 1000001 );
|
470 |
},
|
471 |
'dslc_func_end' : function(){
|
472 |
-
$('.dslca-
|
473 |
},
|
474 |
},
|
475 |
{
|
476 |
'dslc_type' : 'action',
|
477 |
'dslc_label' : 'Everytime you are done editing an element, you have to <span style="color: #78ca4f; font-weight:bold;">confirm</span> or <span style="color: #e55f5f; font-weight:bold;">cancel</span> those changes. Let\'s <span style="color: #78ca4f; font-weight:bold;">confirm</span> these changes now.',
|
478 |
-
'dslc_target' : '.dslca-
|
479 |
-
'dslc_event_el' : '.dslca-
|
480 |
'dslc_parent_el' : '.dslca-container',
|
481 |
'dslc_event' : 'click.dslc_tut_modules_info',
|
482 |
'dslc_animation' : 'fade',
|
469 |
$('.dslca-modules-section-edit-option[data-id="padding"]').css( 'z-index', 1000001 );
|
470 |
},
|
471 |
'dslc_func_end' : function(){
|
472 |
+
$('.dslca-row-edit-save').css( 'z-index', 1000001 );
|
473 |
},
|
474 |
},
|
475 |
{
|
476 |
'dslc_type' : 'action',
|
477 |
'dslc_label' : 'Everytime you are done editing an element, you have to <span style="color: #78ca4f; font-weight:bold;">confirm</span> or <span style="color: #e55f5f; font-weight:bold;">cancel</span> those changes. Let\'s <span style="color: #78ca4f; font-weight:bold;">confirm</span> these changes now.',
|
478 |
+
'dslc_target' : '.dslca-row-edit-save',
|
479 |
+
'dslc_event_el' : '.dslca-row-edit-save',
|
480 |
'dslc_parent_el' : '.dslca-container',
|
481 |
'dslc_event' : 'click.dslc_tut_modules_info',
|
482 |
'dslc_animation' : 'fade',
|
@@ -1,2 +1,2 @@
|
|
1 |
-
jQuery(window).load(function(){jQuery("#dslc_tut_ch_three").data("post-id")==jQuery("#dslc_tut_settings").data("post-id")&&(jQuery(window).width()>1650||(jQuery(window).width()>1200?(dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")),dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller"))):(dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")),dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")),dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")))))}),jQuery(document).ready(function(t){function s(s){e=setInterval(function(){var l,e,o,c,d;l=t(".dslc-tut-bubble"),t(s.dslc_target).is(":visible")&&(e=t(s.dslc_target).offset(),o=e.left+(t(s.dslc_target).outerWidth()/2-l.outerWidth()/2),0>o&&(d=l.width()/2+o+t(s.dslc_target).width()/2+15+3+"px",o=15),l.outerWidth()+o>t(window).width()&&(d=l.outerWidth()-t(s.dslc_target).width()/2-(t(window).width()-(t(s.dslc_target).offset().left+t(s.dslc_target).width()))+"px",parseInt(d)>l.outerWidth()-20&&(d=l.outerWidth()-20+"px"),o=t(window).width()-l.outerWidth()-15),c="action"==s.dslc_type?e.top-l.outerHeight()-10:dslcBubbleOverlay.height()/2-l.outerHeight()/2-59,t("#wpadminbar").length&&(c-=t("#wpadminbar").outerHeight()),"bellow"==s.dslc_pos&&(c+=t(s.dslc_target).outerHeight()+l.outerHeight()+20),l.stop().css({top:c,left:o}),t("head").append(t("<style>.dslc-tut-bubble:after, .dslc-tut-bubble:before { left: "+d+" !important; }</style>")))},200)}function l(){var o,c,d,a,n,i,r,_,m;m=u[t("#dslc_tut_settings").data("post-id")],o=t(".dslc-tut-bubble"),dslcBubbleOverlay=t(".dslc-tut-bubble-overlay"),c=o.data("step"),d=m[c],r=d.dslc_type,_=d.dslc_animation,void 0!==d.dslc_func_start&&d.dslc_func_start(),void 0!==d.dslc_pos||(d.dslc_pos="above"),void 0!==d.dslc_keep_up||(d.dslc_keep_up=!0),parseInt(m.length)==c+0&&o.hide(),void 0!==d.dslc_parent_el||(d.dslc_parent_el=!1),o.data("step",c+1),t(document).on(d.dslc_event,d.dslc_event_el,function(){t(document).off(d.dslc_event),void 0!==d.dslc_func_end&&d.dslc_func_end(),l()});var b=setInterval(function(){if(t(d.dslc_target).length&&t(d.dslc_target).not(":animated")&&!t(d.dslc_target).is(":hidden")&&t(d.dslc_target).offset().left<=t(window).width()-t(d.dslc_target).outerWidth()&&t(d.dslc_event_el).not(":animated")&&!t("body").hasClass("dslca-anim-in-progress")&&(0==t(".dslca-container").length||"0px"==t(".dslca-container").css("bottom"))){clearInterval(e),clearInterval(b),"static"==t(d.dslc_target).css("position")&&t(d.dslc_target).css("position","relative"),"static"==t(d.dslc_event_el).css("position")&&t(d.dslc_event_el).css("position","relative"),t(".dslc-tut-revert-zindex").each(function(){t(this).css("z-index",t(this).data("orig-zindex")).removeClass("dslc-tut-revert-zindex")}),"body"!=d.dslc_target&&t(d.dslc_target).data("orig-zindex",t(d.dslc_target).css("z-index")).addClass("dslc-tut-revert-zindex").css({"z-index":9999997}),t(d.dslc_event_el).hasClass("dslc-tut-revert-zindex")||t(d.dslc_event_el).data("orig-zindex",t(d.dslc_event_el).css("z-index")).css({"z-index":9999997}).addClass("dslc-tut-revert-zindex"),t(d.dslc_parent_el).hasClass("dslc-tut-revert-zindex")||t(d.dslc_parent_el).data("orig-zindex",t(d.dslc_parent_el).css("z-index")).css({"z-index":9999997}).addClass("dslc-tut-revert-zindex"),"fade"==_&&o.css({opacity:0}),o.html(d.dslc_label),o.removeClass("dslc-tut-bubble-type-action dslc-tut-bubble-type-information").addClass("dslc-tut-bubble-type-"+r),o.removeClass("dslc-tut-bubble-pos-above dslc-tut-bubble-pos-bellow").addClass("dslc-tut-bubble-pos-"+d.dslc_pos),"information"==r?dslcBubbleOverlay.fadeIn(300):dslcBubbleOverlay.fadeOut(200),a=t(d.dslc_target).offset(),n=a.left+(t(d.dslc_target).outerWidth()/2-o.outerWidth()/2);var l="50%";0>n&&(l=o.width()/2+n+t(d.dslc_target).width()/2+15+3+"px",n=15),o.outerWidth()+n>t(window).width()&&(l=o.outerWidth()-t(d.dslc_target).width()/2-(t(window).width()-(t(d.dslc_target).offset().left+t(d.dslc_target).width()))+"px",n=t(window).width()-o.outerWidth()-15),i="action"==r?a.top-o.outerHeight()-10:dslcBubbleOverlay.height()/2-o.outerHeight()/2-59,"bellow"==d.dslc_pos&&(i+=t(d.dslc_target).outerHeight()+o.outerHeight()+20),"fade"==_?o.stop().css({top:i+20,left:n}).animate({top:i,opacity:1},400,function(){d.dslc_keep_up&&"action"==d.dslc_type&&s(d)}):o.stop().css({opacity:1}).animate({top:i,left:n},400,function(){d.dslc_keep_up&&"action"==d.dslc_type&&s(d)}),t("head").append(t("<style>.dslc-tut-bubble:after, .dslc-tut-bubble:before { left: "+l+" !important; }</style>"))}},300)}var e;t(document).on("click",".dslc-tut-proceed-secondary",function(s){s.preventDefault(),t(".video-modal").fadeIn(500,function(){t('.videoThumb[href*="'+t(".video-modal").data("video-id")+'"]').click(),t(".video-modal").fitVids(),lc_calc_video_width()})}),t(document).on("mousedown",".dslc-tut-prevent, .dslca-action-disabled, .dslc-tut-panel-prevent",function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:5}),setTimeout(function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:10}),setTimeout(function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:5}),setTimeout(function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:0})},20)},20)},20)}),jQuery("body").append('<div class="dslc-tut-prevent"></div><div class="dslc-tut-bubble-overlay"></div><div class="dslc-tut-bubble" data-step="0"></div>'),jQuery(".dslca-container").append('<div class="dslc-tut-panel-prevent"></div>');var o=jQuery("#dslc_tut_ch_one").data("post-id"),c=jQuery("#dslc_tut_ch_two").data("post-id"),d=jQuery("#dslc_tut_ch_three").data("post-id"),a=jQuery("#dslc_tut_ch_four").data("post-id"),n=jQuery("#dslc_tut_ch_two_link").data("url"),i=jQuery("#dslc_tut_ch_three_link").data("url"),r=jQuery("#dslc_tut_ch_four_link").data("url"),u=[];u[o]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">Welcome</span><div class="dslc-tut-bubble-content">Welcome to the <strong style="color: #06b2ac;">Live Composer</strong> interactive <strong style="color: #9268a9;">tutorial</strong>.<br>In this step by step guide, we will show you some of the core functionalities of this plugin.<br></div><a href="#" class="dslc-tut-proceed">Start <strong>CHAPTER ONE</strong><span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">1/3 Adding a Row</span><div class="dslc-tut-bubble-content">Here is the structure of Live Composer: <strong style="color: #e5855f;">Rows</strong> > <strong style="color: #5890e5;">Module Areas</strong> > <strong style="color:#58bce5;">Modules</strong>.<br>Let\'s start by adding a <strong style="color: #e5855f;">row</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'Create your first <strong style="color: #e5855f;">row</strong>, it will be automatically populated with a <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslca-add-modules-section-hook",dslc_event_el:".dslca-add-modules-section-hook",dslc_event:"click.dslc_tut_add_row",dslc_animation:"fade",dslc_func_end:function(){t(".dslca-add-modules-section-hook").addClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">2/3 Row Options</span><div class="dslc-tut-bubble-content">Now that you have a <strong style="color: #e5855f;">row</strong> you could start adding <strong style="color: #5890e5;">module areas</strong> and <strong style="color:#58bce5;">modules</strong>.<br>But first, let\'s see what can be done with a <strong style="color: #e5855f;">row</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){}},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #e5855f;">row</strong> some options show up. Those are : <strong style="color: #06b2ac;">Edit</strong> - <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Delete</strong>. For now, let\'s click on the cog icon to edit this <strong style="color: #e5855f;">row</strong>',dslc_target:".dslc-modules-section",dslc_event_el:".dslc-modules-section",dslc_event:"mouseenter.dslc_tut_add_row",dslc_animation:"fade",dslc_pos:"bellow",dslc_func_start:function(){t(".dslca-modules-area-manage").css({visibility:"hidden"}),t(".dslca-modules-section-manage .dslca-manage-action").addClass("dslca-action-disabled"),t(".dslca-edit-modules-section-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #e5855f;">row</strong> some options show up. Those are : <strong style="color: #06b2ac;">Edit</strong> - <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Delete</strong>. For now, let\'s click on the cog icon to edit this <strong style="color: #e5855f;">row</strong>',dslc_target:".dslca-edit-modules-section-hook",dslc_event_el:".dslca-edit-modules-section-hook",dslc_parent_el:".dslc-modules-section",dslc_event:"click.dslc_tut_add_row",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_end:function(){t(".dslca-modules-section-manage .dslca-manage-action").removeClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">3/3 Options Panel</span><div class="dslc-tut-bubble-content">Every time you want to edit a <strong style="color: #e5855f;">row</strong> or a <strong style="color:#58bce5;">module</strong>, the <strong style="color: #9268a9;">Options Panel</strong> will appear.<br>There are multiple options, for now let\'s change the <strong>background color</strong> and the <strong>padding</strong> for this <strong style="color: #e5855f;">row</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'First, let\'s change the <strong>background color</strong>, choose any color and <a class="dslc-tut-proceed-2" href="#"><strong>click here to continue</strong></a> once you are done.',dslc_target:'.dslca-modules-section-edit-option[data-id="bg_color"]',dslc_event_el:'.dslca-modules-section-edit-option[data-id="bg_color"] .sp-replacer',dslc_event:"mouseup.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t('.dslca-modules-section-edit-option[data-id="bg_color"]').css("z-index",1000001)}},{dslc_type:"action",dslc_label:'First, let\'s change the <strong>background color</strong>, choose any color and <a class="dslc-tut-proceed-2" href="#"><strong>click here to continue</strong></a> once you are done.',dslc_target:".sp-container:visible",dslc_event_el:".dslc-tut-proceed-2",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_func_end:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-container").css("z-index",99999),t('.dslca-modules-section-edit-option[data-id="bg_color"]').css("z-index","auto")}},{dslc_type:"action",dslc_label:'Good, now you will need to <strong style="color: #9268a9;">drag</strong> this scrollbar to the right to access the <strong style="color:#06b2ac;">padding vertical</strong> options.',dslc_target:".jspDrag",dslc_event_el:".dslca-container",dslc_event:"mouseup.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_keep_up:!1,dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t(".jspHorizontalBar").css("z-index",1000001)}},{dslc_type:"action",dslc_label:'Go ahead and change this <strong style="color:#06b2ac;">padding value</strong>, this will add space vertically on this whole <strong style="color: #e5855f;">row</strong>.',dslc_target:'.dslca-modules-section-edit-option[data-id="padding"]',dslc_event_el:'.dslca-modules-section-edit-option[data-id="padding"]',dslc_parent_el:".dslca-container",dslc_event:"mouseup.dslc_tut_modules_info",dslc_animation:"slide",dslc_func_start:function(){t(".jspHorizontalBar").css("z-index","auto"),t('.dslca-modules-section-edit-option[data-id="padding"]').css("z-index",1000001)},dslc_func_end:function(){t(".dslca-module-edit-save").css("z-index",1000001)}},{dslc_type:"action",dslc_label:'Everytime you are done editing an element, you have to <span style="color: #78ca4f; font-weight:bold;">confirm</span> or <span style="color: #e55f5f; font-weight:bold;">cancel</span> those changes. Let\'s <span style="color: #78ca4f; font-weight:bold;">confirm</span> these changes now.',dslc_target:".dslca-module-edit-save",dslc_event_el:".dslca-module-edit-save",dslc_parent_el:".dslca-container",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congratulations on completing the first chapter of this <strong style="color: #9268a9;">tutorial</strong>.<br>Now that you know how to change options for a <strong style="color: #e5855f;">row</strong>, let\'s see what can be done with <strong style="color: #5890e5;">modules area</strong>.</div><a href="'+n+'" class="dslc-tut-proceed dslca-link">start chapter two<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-module-edit-save").css("z-index","auto")}}],u[c]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">1/5 Column System</span><div class="dslc-tut-bubble-content">In this chapter, we will show you how to work with <strong style="color: #5890e5;">module areas</strong>.<br>First thing, let\'s see how you can build your own <strong style="color: #06b2ac;">layout</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-modules-section-manage").css({visibility:"hidden"})}},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #5890e5;">modules area</strong> some options show up. Those are : <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Layout</strong> - <strong style="color: #06b2ac;">Delete</strong>.<br>For now, let\'s click on the <strong>layout icon</strong> to change the width of this <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslc-modules-area",dslc_event_el:".dslc-modules-area",dslc_event:"mouseenter.dslc_tut_add_row",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #5890e5;">modules area</strong> some options show up. Those are : <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Layout</strong> - <strong style="color: #06b2ac;">Delete</strong>.<br>For now, let\'s click on the <strong>layout icon</strong> to change the width of this <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslca-change-width-modules-area-hook .dslc-icon-columns",dslc_event_el:".dslca-change-width-modules-area-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t(".dslca-modules-area-manage").addClass("dslc-tut-force-show"),t(".dslca-delete-modules-area-hook, .dslca-move-modules-area-hook, .dslca-copy-modules-area-hook").addClass("dslca-action-disabled")},dslc_func_end:function(){}},{dslc_type:"action",dslc_label:"Click on this <strong>6/12</strong> layout option.",dslc_target:'.dslca-change-width-modules-area-options span[data-size="6"]',dslc_event_el:'.dslca-change-width-modules-area-options span[data-size="6"]',dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-section",dslc_animation:"fade",dslc_pos:"bellow",dslc_func_start:function(){t(".dslca-change-width-modules-area-options span, .dslca-change-width-modules-area-hook").addClass("dslca-action-disabled"),t('.dslca-change-width-modules-area-options span[data-size="6"]').removeClass("dslca-action-disabled")},dslc_func_end:function(){t(".dslca-change-width-modules-area-options span, .dslca-change-width-modules-area-hook").removeClass("dslca-action-disabled"),t(".dslca-delete-modules-area-hook, .dslca-move-modules-area-hook, .dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">2/5 Duplicating</span><div class="dslc-tut-bubble-content">Now that you\'ve changed the <strong>layout</strong> of the <strong style="color: #5890e5;">modules area</strong>, let\'s <strong style="color:#06b2ac;">duplicate</strong> it.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-modules-area-manage").removeClass("dslc-tut-force-show")}},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #5890e5;">modules area</strong> to make the options appear.',dslc_target:".dslc-modules-area",dslc_event_el:".dslc-modules-area",dslc_event:"mouseenter.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'Now click on the <strong style="color:#06b2ac;">duplicate</strong> icon.',dslc_target:".dslca-copy-modules-area-hook",dslc_event_el:".dslca-copy-modules-area-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){t(".dslca-modules-area-manage").addClass("dslc-tut-force-show")},dslc_func_end:function(){t(".dslca-copy-modules-area-hook").addClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">3/5 Adding Area</span><div class="dslc-tut-bubble-content">It\'s time to add a new <strong style="color: #5890e5;">modules area</strong>.<br>Below are the available <strong style="color:#58bce5;">modules</strong>. For now, let\'s add a new <strong style="color: #5890e5;">modules area</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-modules-area-manage").removeClass("dslc-tut-force-show"),t(".dslc-modules-area").css("z-index","auto"),t(".dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #e5855f;">row</strong>.',dslc_target:'.dslca-module[data-id="DSLC_M_A"]',dslc_event_el:'.dslca-module[data-id="DSLC_M_A"]',dslc_event:"mousedown.dslc_tut_add_row",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t('.dslca-module[data-id="DSLC_M_A"]').css("z-index",1000001)},dslc_func_end:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-container").css("z-index",99999),t('.dslca-module[data-id="DSLC_M_A"]').css("z-index","auto")}},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #e5855f;">row</strong>.',dslc_target:".dslc-modules-section",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_add_row",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_end:function(){t("body").hasClass("dslca-anim-in-progress")||t(".dslc-tut-bubble").data("step",8)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">4/5 Reordering</span><div class="dslc-tut-bubble-content"><strong style="color: #5890e5;">Modules areas</strong>, like <strong style="color: #e5855f;">rows</strong>, can be <strong style="color: #9268a9;">moved</strong>. Let\'s <strong style="color: #9268a9;">move</strong> the <strong style="color: #5890e5;">modules area</strong> you just created.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #5890e5;">modules area</strong> to make the options appear.',dslc_target:".dslc-modules-area.dslc-12-col",dslc_event_el:".dslc-modules-area.dslc-12-col",dslc_event:"mouseenter.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area.dslc-12-col",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'Now <strong style="color: #06b2ac;">Click & Drag</strong> the move icon to move the <strong style="color: #5890e5;">modules area</strong> on top of the 2 others.',dslc_target:".dslc-modules-area.dslc-12-col .dslca-move-modules-area-hook",dslc_event_el:".dslc-modules-area.dslc-12-col .dslca-move-modules-area-hook",dslc_event:"mousedown.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area.dslc-12-col",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").addClass("dslc-tut-force-show"),t(".dslc-modules-area.dslc-12-col .dslca-copy-modules-area-hook").addClass("dslca-action-disabled")},dslc_func_end:function(){t(".dslc-modules-area.dslc-12-col .dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'Now <strong style="color: #06b2ac;">Click & Drag</strong> the move icon to move the <strong style="color: #5890e5;">modules area</strong> on top of the 2 others.',dslc_target:".dslc-modules-section",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"slide",dslc_pos:"above",dslc_func_end:function(){t(".dslc-modules-area:first-child").hasClass("dslc-12-col")||t(".dslc-tut-bubble").data("step",12)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">5/5 Deleting</span><div class="dslc-tut-bubble-content">The last thing that you can do with <strong style="color: #5890e5;">modules areas</strong> is to <strong style="color: #e55f5f;">delete</strong> them.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").removeClass("dslc-tut-force-show")}},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #5890e5;">modules area</strong> to make the options appear.',dslc_target:".dslc-modules-area.dslc-12-col",dslc_event_el:".dslc-modules-area.dslc-12-col",dslc_event:"mouseenter.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'Now click the <strong style="color: #e55f5f;">delete</strong> icon to delete the <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslc-modules-area.dslc-12-col .dslca-delete-modules-area-hook",dslc_event_el:".dslc-modules-area.dslc-12-col .dslca-delete-modules-area-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area.dslc-12-col",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").addClass("dslc-tut-force-show"),t(".dslca-copy-modules-area-hook, .dslca-move-modules-area-hook, .dslca-change-width-modules-area-hook").addClass("dslca-action-disabled")},dslc_func_end:function(){t(".dslca-copy-modules-area-hook, .dslca-move-modules-area-hook, .dslca-change-width-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:"Click <strong>CONFIRM</strong> to confirm the deletion of the modules area..",dslc_target:".dslca-prompt-modal-confirm-hook",dslc_event_el:".dslca-prompt-modal-confirm-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslca-prompt-modal",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){},dslc_func_end:function(){}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congrats on completing <strong>Chapter Two</strong> of this interactive <strong style="color: #9268a9;">tutorial</strong>.<br>Now that you know everything about <strong style="color: #e5855f;">rows</strong> and <strong style="color: #5890e5;">modules areas</strong>, it\'s time for you to learn how to use <strong style="color:#58bce5;">modules</strong>.</div><a href="'+i+'" class="dslc-tut-proceed dslca-link">start chapter Three<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").removeClass("dslc-tut-force-show")}}],u[d]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">1/3 Adding modules</span><div class="dslc-tut-bubble-content">In this chapter, we will show you how to use <strong style="color:#58bce5;">modules</strong>.<br>These are the most important part of the <strong style="color: #06b2ac;">Live Composer</strong> and they will allow you to display your content.<br>To start, let\'s add a <strong style="color:#58bce5;">module</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #5890e5;">modules area</strong>.',dslc_target:'.dslca-module[data-id="DSLC_Blog"]',dslc_event_el:'.dslca-module[data-id="DSLC_Blog"]',dslc_event:"mousedown.dslc_tut_add_row",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t('.dslca-module[data-id="DSLC_Blog"]').css("z-index",1000001)}},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslc-modules-area",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_add_row",dslc_animation:"slide",dslc_pos:"above",dslc_func_end:function(){t(".dslc-tut-panel-prevent").hide(),t('.dslca-module[data-id="DSLC_Blog"]').css("z-index","auto"),t("body").hasClass("dslca-anim-in-progress")||t(".dslc-tut-bubble").data("step",1)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><div class="dslc-tut-bubble-content">Some modules will take the content that you created in the WordPress admin.<br>This is the case for the <strong style="color:#58bce5;">blog module</strong>, it retreives the blog post that you have created.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">2/3 Functionality</span><div class="dslc-tut-bubble-content">Every module has it\'s own set of options. There are <strong style="color: #9268a9;">Functionality</strong> and <strong style="color: #06b2ac;">Styling</strong> options.<br>For now let\'s take a look at the <strong style="color: #9268a9;">Functionality</strong> options for the <strong style="color:#58bce5;">blog module</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #58bce5;">module</strong> to make the options appear and click on the <strong style="color:#06b2ac;">edit</strong> icon.',dslc_target:".dslca-module-edit-hook",dslc_event_el:".dslca-module-edit-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-module-front",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t(".dslc-module-front").trigger("mouseenter"),t(".dslca-copy-module-hook, .dslca-move-module-hook, .dslca-delete-module-hook").addClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'Go ahead and change the <strong style="color:#06b2ac;">posts per row</strong> to <strong>2</strong>.',dslc_target:'.dslca-module-edit-option[data-id="columns"]',dslc_event_el:'.dslca-module-edit-option[data-id="columns"]',dslc_event:"change.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslca-copy-module-hook, .dslca-move-module-hook, .dslca-delete-module-hook").removeClass("dslca-action-disabled"),t(".dslc-tut-panel-prevent").show(),t('.dslca-module-edit-option[data-id="columns"]').css("z-index",1000001)},dslc_func_end:function(){6!=t('.dslca-module-edit-field[data-id="columns"]').val()&&t(".dslc-tut-bubble").data("step",6)}},{dslc_type:"action",dslc_label:'You can test any other option in this panel, once you are done <a class="dslc-tut-proceed-2" href="#"><strong>click here to continue</strong></a>.',dslc_target:".dslca-module-edit-options",dslc_event_el:".dslc-tut-proceed-2",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t('.dslca-module-edit-option[data-id="columns"]').css("z-index","auto"),t(".dslca-module-edit-options-wrapper").css("z-index",1000001)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">3/3 Styling</span><div class="dslc-tut-bubble-content">There are also a lot of <strong style="color: #06b2ac;">styling</strong> options that you can change for every <strong style="color: #58bce5;">module</strong>, let\'s change a few now.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-module-edit-options-wrapper").css("z-index","auto")
|
2 |
}},{dslc_type:"action",dslc_label:'Click on the <strong style="color: #06b2ac;">styling</strong> tab to show the <strong style="color: #06b2ac;">styling</strong> options.',dslc_target:'.dslca-options-filter-hook[data-section="styling"]',dslc_event_el:'.dslca-options-filter-hook[data-section="styling"]',dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t('.dslca-options-filter-hook[data-section="styling"]').css("z-index",1000001)}},{dslc_type:"action",dslc_label:"All the options are categorized by the element they affect. Click on any of the tabs to change the options available.",dslc_target:".dslca-module-edit-options-tab-hook:nth-child(4)",dslc_event_el:".dslca-module-edit-options-tab-hook",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t('.dslca-options-filter-hook[data-section="styling"]').css("z-index","auto"),t(".dslca-module-edit-options-tab-hook").css("z-index",1000001)},dslc_func_end:function(){t(".dslca-module-edit-options-tab-hook").css("z-index","auto !important"),t(".dslca-module-edit-options-wrapper").css("z-index","1000001 !important")}},{dslc_type:"action",dslc_label:'There is a lot of <strong style="color: #06b2ac;">styling</strong> options. Go ahead and play with them and once you are done click on <span style="color: #78ca4f; font-weight:bold;">confirm</span>.',dslc_target:".dslca-module-edit-save",dslc_event_el:".dslca-module-edit-save",dslc_event:"click.dslc_tut_modules_info_2",dslc_animation:"slide",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t(".dslca-module-edit-options").css("z-index",1000001)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congrats on completing <strong>Chapter Three</strong> of this interactive <strong style="color: #9268a9;">tutorial</strong>.<br>You can proceed to the fourth chapter, there you will learn how to use the <strong style="color: #d8827d;">templates system</strong>.</div><a href="'+r+'" class="dslc-tut-proceed dslca-link">start chapter four<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-module-edit-options-wrapper").css("z-index","auto")}}],u[a]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><span class="dslc-tut-bubble-descr">1/2 Load</span><div class="dslc-tut-bubble-content">In this chapter, we will show you how to use the <strong style="color: #d8827d;">templates system</strong>.<br>The <strong style="color: #d8827d;">templates system</strong> consists of 4 main features: <strong>Save</strong>, <strong>Load</strong>, <strong>Export</strong> and <strong>Import</strong>.<br>Let\'s start of by <strong>loading</strong> an existing template.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t('.dslca-section-title-filter-options span[data-origin="user"]').trigger("click")}},{dslc_type:"action",dslc_label:'Click this tab to switch to the <strong style="color: #d8827d;">templates management</strong>.',dslc_target:".dslca-go-to-section-templates",dslc_event_el:".dslca-go-to-section-templates",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show()},dslc_func_end:function(){}},{dslc_type:"action",dslc_label:"Click <strong>Load</strong> to see the available <strong>templates</strong>.",dslc_target:'.dslca-go-to-section-hook[data-section=".dslca-templates-load"]',dslc_event_el:'.dslca-go-to-section-hook[data-section=".dslca-templates-load"]',dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){}},{dslc_type:"action",dslc_label:"Click <strong>Blog Variation 3</strong> to load the <strong>template</strong>.",dslc_target:'.dslca-template[data-id="dslc-blog-ex-3"]',dslc_event_el:'.dslca-template[data-id="dslc-blog-ex-3"]',dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><div class="dslc-tut-bubble-content">The <strong>template</strong> is now loaded. You can of course modify it as you wish.<br>Let\'s move the <strong>sidebar</strong> on the right of the <strong>blog</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-tut-panel-prevent").hide(),t('.dslca-template[data-id="chapter-four"]').css("z-index","auto")}},{dslc_type:"action",dslc_label:'Let\'s move this <strong style="color: #5890e5;">modules area</strong> on the right of the blog.',dslc_target:".dslc-modules-area.dslc-4-col",dslc_event_el:".dslc-modules-area.dslc-4-col",dslc_event:"mouseenter.dslc_tut_modules_info",dslc_parent_el:".dslc-modules-area.dslc-4-col",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslca-change-width-modules-area-hook, .dslca-delete-modules-area-hook, .dslca-copy-modules-area-hook").addClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'Let\'s move this <strong style="color: #5890e5;">modules area</strong> on the right of the blog.',dslc_target:".dslc-modules-area.dslc-4-col .dslca-move-modules-area-hook",dslc_event_el:".dslc-modules-area.dslc-4-col .dslca-move-modules-area-hook",dslc_event:"mousedown.dslc_tut_modules_info",dslc_parent_el:".dslc-modules-area.dslc-4-col",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){}},{dslc_type:"action",dslc_label:'Drop the <strong style="color: #5890e5;">modules area</strong> bellow.',dslc_target:".dslc-post.dslc-last-col",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_modules_info",dslc_parent_el:".dslc-modules-area.dslc-4-col",dslc_animation:"slide",dslc_pos:"above",dslc_keep_up:!1,dslc_func_start:function(){t(".dslca-change-width-modules-area-hook, .dslca-delete-modules-area-hook, .dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><span class="dslc-tut-bubble-descr">2/2 Import</span><div class="dslc-tut-bubble-content">In the textarea bellow, you can see how an export looks like, let\'s import it. Select the "text" and copy it, when done click continue.<br><br><textarea style="width: 100%; height:50px;">[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="" border="" bg_color="#f7f7f7" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" padding="49" padding_h="0" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxNTc6e3M6NDoic2l6ZSI7czoyOiIxMiI7czo0OiJ0eXBlIjtzOjQ6ImdyaWQiO3M6MTE6Im9yaWVudGF0aW9uIjtzOjg6InZlcnRpY2FsIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI0IjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjMxOiJ0aHVtYm5haWwgdGl0bGUgZXhjZXJwdCBidXR0b24gIjtzOjE3OiJjYXJvdXNlbF9lbGVtZW50cyI7czoxNDoiYXJyb3dzIGNpcmNsZXMiO3M6MjA6ImNzc193cmFwcGVyX2JnX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc193cmFwcGVyX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6Mjk6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MzI6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6Mjg6ImNzc193cmFwcGVyX3BhZGRpbmdfdmVydGljYWwiO3M6MToiMCI7czozMDoiY3NzX3dyYXBwZXJfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MjA6ImNzc19zZXBfYm9yZGVyX2NvbG9yIjtzOjc6IiNlZGVkZWQiO3M6MTQ6ImNzc19zZXBfaGVpZ2h0IjtzOjI6IjMwIjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjU6InNvbGlkIjtzOjE4OiJjc3NfdGh1bWJfYmdfY29sb3IiO3M6MDoiIjtzOjI3OiJjc3NfdGh1bWJfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czozMDoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTI6InRodW1iX21hcmdpbiI7czoxOiIwIjtzOjE4OiJ0aHVtYl9tYXJnaW5fcmlnaHQiO3M6MjoiMjAiO3M6MjY6ImNzc190aHVtYl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6Mjg6ImNzc190aHVtYl9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxMToidGh1bWJfd2lkdGgiO3M6MzoiMTAwIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjZTM2MzRkIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMDoiY3NzX21haW5fYm9yZGVyX3RyYmwiO3M6MjI6InRvcCByaWdodCBib3R0b20gbGVmdCAiO3M6MjY6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzQiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzNyI7czoxOToiY3NzX21haW5fbWluX2hlaWdodCI7czoxOiIwIjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjQ6ImxlZnQiO3M6MTE6InRpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MTc6InRpdGxlX2NvbG9yX2hvdmVyIjtzOjA6IiI7czoxNToidGl0bGVfZm9udF9zaXplIjtzOjI6IjI1IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6NzoiUmFsZXdheSI7czoxNzoidGl0bGVfbGluZV9oZWlnaHQiO3M6MjoiMzUiO3M6MTI6InRpdGxlX21hcmdpbiI7czoyOiIxNyI7czoyMToiY3NzX21ldGFfYm9yZGVyX2NvbG9yIjtzOjc6IiNlNWU1ZTUiO3M6MjE6ImNzc19tZXRhX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjE0OiJjc3NfbWV0YV9jb2xvciI7czo3OiIjYThhOGE4IjtzOjE4OiJjc3NfbWV0YV9mb250X3NpemUiO3M6MjoiMTEiO3M6MjA6ImNzc19tZXRhX2ZvbnRfZmFtaWx5IjtzOjE3OiJMaWJyZSBCYXNrZXJ2aWxsZSI7czoyMDoiY3NzX21ldGFfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIyOiJjc3NfbWV0YV9tYXJnaW5fYm90dG9tIjtzOjI6IjE2IjtzOjI1OiJjc3NfbWV0YV9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjE2IjtzOjI3OiJjc3NfbWV0YV9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxOToiY3NzX21ldGFfbGlua19jb2xvciI7czo3OiIjNTg5MGU1IjtzOjI1OiJjc3NfbWV0YV9saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiM1ODkwZTUiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiNmMGQ2ZDYiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNSI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo0OiJMYXRvIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNyI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MjoiMjgiO3M6MTQ6ImV4Y2VycHRfbGVuZ3RoIjtzOjI6IjQwIjtzOjExOiJidXR0b25fdGV4dCI7czoxNjoiQ09OVElOVUUgUkVBRElORyI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjYzI0ODM4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yIjtzOjc6IiMxNDBmMGYiO3M6Mjk6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yX2hvdmVyIjtzOjc6IiM5ZTZkNmQiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIwIjtzOjE2OiJjc3NfYnV0dG9uX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc19idXR0b25fY29sb3JfaG92ZXIiO3M6NzoiIzhmOGY4ZiI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTIiO3M6MjI6ImNzc19idXR0b25fZm9udF93ZWlnaHQiO3M6MzoiODAwIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfZmFtaWx5IjtzOjQ6IkxhdG8iO3M6Mjc6ImNzc19idXR0b25fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxNyI7czoyOToiY3NzX2J1dHRvbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTkiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjk6InNoYXJlLWFsdCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNmMDdhNjgiO3M6Mjc6ImNzc19idXR0b25faWNvbl9jb2xvcl9ob3ZlciI7czo3OiIjZDFkMWQxIjtzOjIyOiJjc3NfYnV0dG9uX2ljb25fbWFyZ2luIjtzOjE6IjUiO3M6MTg6Im1haW5faGVhZGluZ190aXRsZSI7czoxNzoiTEFURVNUIEJMT0cgUE9TVFMiO3M6MjM6Im1haW5faGVhZGluZ19saW5rX3RpdGxlIjtzOjg6IlZJRVcgQUxMIjtzOjIyOiJjc3NfbWFpbl9oZWFkaW5nX2NvbG9yIjtzOjA6IiI7czoyNjoiY3NzX21haW5faGVhZGluZ19mb250X3NpemUiO3M6MjoiMTciO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfZmFtaWx5IjtzOjY6Ik9zd2FsZCI7czoyODoiY3NzX21haW5faGVhZGluZ19saW5lX2hlaWdodCI7czoyOiIzNSI7czoyNzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yIjtzOjc6IiNlMzYzNGQiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjYzc1MDNlIjtzOjMxOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9zaXplIjtzOjI6IjExIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9mYW1pbHkiO3M6OToiT3BlbiBTYW5zIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfcGFkZGluZ192ZXIiO3M6MToiOSI7czoxMzoidmlld19hbGxfbGluayI7czoxOiIjIjtzOjI1OiJjc3NfaGVhZGluZ19tYXJnaW5fYm90dG9tIjtzOjI6IjI1IjtzOjE5OiJjc3NfZmlsdGVyX2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjY6ImNzc19maWx0ZXJfYmdfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MjM6ImNzc19maWx0ZXJfYm9yZGVyX2NvbG9yIjtzOjc6IiNlOGU4ZTgiO3M6MzA6ImNzc19maWx0ZXJfYm9yZGVyX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTM2MzRkIjtzOjIzOiJjc3NfZmlsdGVyX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIyOiJjc3NfZmlsdGVyX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6MjQ6ImNzc19maWx0ZXJfYm9yZGVyX3JhZGl1cyI7czoxOiIzIjtzOjE2OiJjc3NfZmlsdGVyX2NvbG9yIjtzOjc6IiM5Nzk3OTciO3M6MjM6ImNzc19maWx0ZXJfY29sb3JfYWN0aXZlIjtzOjc6IiNmZmZmZmYiO3M6MjA6ImNzc19maWx0ZXJfZm9udF9zaXplIjtzOjI6IjExIjtzOjIyOiJjc3NfZmlsdGVyX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoyMjoiY3NzX2ZpbHRlcl9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6Mjc6ImNzc19maWx0ZXJfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMiI7czoyOToiY3NzX2ZpbHRlcl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTIiO3M6MTk6ImNzc19maWx0ZXJfcG9zaXRpb24iO3M6NToicmlnaHQiO3M6MTg6ImNzc19maWx0ZXJfc3BhY2luZyI7czoxOiI5IjtzOjE5OiJjc3NfYXJyb3dzX2JnX2NvbG9yIjtzOjc6IiNjOWM5YzkiO3M6MjU6ImNzc19hcnJvd3NfYmdfY29sb3JfaG92ZXIiO3M6NzoiIzU4OTBlNSI7czoyMzoiY3NzX2Fycm93c19ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjI5OiJjc3NfYXJyb3dzX2JvcmRlcl9jb2xvcl9ob3ZlciI7czowOiIiO3M6MjM6ImNzc19hcnJvd3NfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjQ6ImNzc19hcnJvd3NfYm9yZGVyX3JhZGl1cyI7czoxOiIzIjtzOjE2OiJjc3NfYXJyb3dzX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc19hcnJvd3NfY29sb3JfaG92ZXIiO3M6NzoiI2ZmZmZmZiI7czoyMToiY3NzX2Fycm93c19tYXJnaW5fdG9wIjtzOjE6IjYiO3M6MTU6ImNzc19hcnJvd3Nfc2l6ZSI7czoyOiIyMyI7czoyMToiY3NzX2Fycm93c19hcnJvd19zaXplIjtzOjI6IjEwIjtzOjE3OiJjc3NfY2lyY2xlc19jb2xvciI7czo3OiIjYjliOWI5IjtzOjI0OiJjc3NfY2lyY2xlc19jb2xvcl9hY3RpdmUiO3M6NzoiIzU4OTBlNSI7czoyMjoiY3NzX2NpcmNsZXNfbWFyZ2luX3RvcCI7czoyOiIyMCI7czoxNjoiY3NzX2NpcmNsZXNfc2l6ZSI7czoxOiI3IjtzOjE5OiJjc3NfY2lyY2xlc19zcGFjaW5nIjtzOjE6IjMiO3M6MTM6ImNzc19wYWdfYWxpZ24iO3M6NDoibGVmdCI7czoxNjoiY3NzX3BhZ19iZ19jb2xvciI7czowOiIiO3M6MjA6ImNzc19wYWdfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyMDoiY3NzX3BhZ19ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoxOToiY3NzX3BhZ19ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjIxOiJjc3NfcGFnX2JvcmRlcl9yYWRpdXMiO3M6MToiMCI7czoyNDoiY3NzX3BhZ19wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6MjY6ImNzc19wYWdfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MjE6ImNzc19wYWdfaXRlbV9iZ19jb2xvciI7czo3OiIjZmZmZmZmIjtzOjI4OiJjc3NfcGFnX2l0ZW1fYmdfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MjU6ImNzc19wYWdfaXRlbV9ib3JkZXJfY29sb3IiO3M6NzoiI2U4ZThlOCI7czozMjoiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiI2UzNjM0ZCI7czoyNToiY3NzX3BhZ19pdGVtX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjMyOiJjc3NfcGFnX2l0ZW1fYm9yZGVyX3dpZHRoX2FjdGl2ZSI7czoxOiIxIjtzOjI0OiJjc3NfcGFnX2l0ZW1fYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czoyNjoiY3NzX3BhZ19pdGVtX2JvcmRlcl9yYWRpdXMiO3M6MToiMyI7czoxODoiY3NzX3BhZ19pdGVtX2NvbG9yIjtzOjc6IiM5Nzk3OTciO3M6MjU6ImNzc19wYWdfaXRlbV9jb2xvcl9hY3RpdmUiO3M6NzoiI2ZmZmZmZiI7czoyMjoiY3NzX3BhZ19pdGVtX2ZvbnRfc2l6ZSI7czoyOiIxMSI7czoyNDoiY3NzX3BhZ19pdGVtX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoyNDoiY3NzX3BhZ19pdGVtX2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoyOToiY3NzX3BhZ19pdGVtX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTIiO3M6MzE6ImNzc19wYWdfaXRlbV9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTIiO3M6MjA6ImNzc19wYWdfaXRlbV9zcGFjaW5nIjtzOjI6IjEwIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO3M6MzoiMzc3IjtzOjk6Im1vZHVsZV9pZCI7czo5OiJEU0xDX0Jsb2ciO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] </textarea>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'Click this tab to switch to the main <strong style="color: #d8827d;">templates management</strong> section.',dslc_target:".dslca-go-to-section-templates",dslc_event_el:".dslca-go-to-section-templates",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show()}},{dslc_type:"action",dslc_label:"Click <strong>Import</strong>, paste the code in the textarea and click the <strong>import</strong> button.",dslc_target:'.dslca-open-modal-hook[data-modal=".dslca-modal-templates-import"]',dslc_event_el:'.dslca-open-modal-hook[data-modal=".dslca-modal-templates-import"]',dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:"Click <strong>Import</strong>, paste the code in the textarea and click the <strong>import</strong> button.",dslc_target:".dslca-modal-templates-import",dslc_event_el:".dslca-submit",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t(".dslca-close-modal-hook").addClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congrats on completing the <strong style="color: #9268a9;">Basics Tutorial</strong> for <strong style="color: #06b2ac;">Live Composer</strong>.</div>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"}],l()});
|
1 |
+
jQuery(window).load(function(){jQuery("#dslc_tut_ch_three").data("post-id")==jQuery("#dslc_tut_settings").data("post-id")&&(jQuery(window).width()>1650||(jQuery(window).width()>1200?(dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")),dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller"))):(dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")),dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")),dslc_scroller_next(jQuery(".dslca-modules .dslca-section-scroller")))))}),jQuery(document).ready(function(t){function s(s){e=setInterval(function(){var l,e,o,c,d;l=t(".dslc-tut-bubble"),t(s.dslc_target).is(":visible")&&(e=t(s.dslc_target).offset(),o=e.left+(t(s.dslc_target).outerWidth()/2-l.outerWidth()/2),0>o&&(d=l.width()/2+o+t(s.dslc_target).width()/2+15+3+"px",o=15),l.outerWidth()+o>t(window).width()&&(d=l.outerWidth()-t(s.dslc_target).width()/2-(t(window).width()-(t(s.dslc_target).offset().left+t(s.dslc_target).width()))+"px",parseInt(d)>l.outerWidth()-20&&(d=l.outerWidth()-20+"px"),o=t(window).width()-l.outerWidth()-15),c="action"==s.dslc_type?e.top-l.outerHeight()-10:dslcBubbleOverlay.height()/2-l.outerHeight()/2-59,t("#wpadminbar").length&&(c-=t("#wpadminbar").outerHeight()),"bellow"==s.dslc_pos&&(c+=t(s.dslc_target).outerHeight()+l.outerHeight()+20),l.stop().css({top:c,left:o}),t("head").append(t("<style>.dslc-tut-bubble:after, .dslc-tut-bubble:before { left: "+d+" !important; }</style>")))},200)}function l(){var o,c,d,a,n,i,r,_,m;m=u[t("#dslc_tut_settings").data("post-id")],o=t(".dslc-tut-bubble"),dslcBubbleOverlay=t(".dslc-tut-bubble-overlay"),c=o.data("step"),d=m[c],r=d.dslc_type,_=d.dslc_animation,void 0!==d.dslc_func_start&&d.dslc_func_start(),void 0!==d.dslc_pos||(d.dslc_pos="above"),void 0!==d.dslc_keep_up||(d.dslc_keep_up=!0),parseInt(m.length)==c+0&&o.hide(),void 0!==d.dslc_parent_el||(d.dslc_parent_el=!1),o.data("step",c+1),t(document).on(d.dslc_event,d.dslc_event_el,function(){t(document).off(d.dslc_event),void 0!==d.dslc_func_end&&d.dslc_func_end(),l()});var b=setInterval(function(){if(t(d.dslc_target).length&&t(d.dslc_target).not(":animated")&&!t(d.dslc_target).is(":hidden")&&t(d.dslc_target).offset().left<=t(window).width()-t(d.dslc_target).outerWidth()&&t(d.dslc_event_el).not(":animated")&&!t("body").hasClass("dslca-anim-in-progress")&&(0==t(".dslca-container").length||"0px"==t(".dslca-container").css("bottom"))){clearInterval(e),clearInterval(b),"static"==t(d.dslc_target).css("position")&&t(d.dslc_target).css("position","relative"),"static"==t(d.dslc_event_el).css("position")&&t(d.dslc_event_el).css("position","relative"),t(".dslc-tut-revert-zindex").each(function(){t(this).css("z-index",t(this).data("orig-zindex")).removeClass("dslc-tut-revert-zindex")}),"body"!=d.dslc_target&&t(d.dslc_target).data("orig-zindex",t(d.dslc_target).css("z-index")).addClass("dslc-tut-revert-zindex").css({"z-index":9999997}),t(d.dslc_event_el).hasClass("dslc-tut-revert-zindex")||t(d.dslc_event_el).data("orig-zindex",t(d.dslc_event_el).css("z-index")).css({"z-index":9999997}).addClass("dslc-tut-revert-zindex"),t(d.dslc_parent_el).hasClass("dslc-tut-revert-zindex")||t(d.dslc_parent_el).data("orig-zindex",t(d.dslc_parent_el).css("z-index")).css({"z-index":9999997}).addClass("dslc-tut-revert-zindex"),"fade"==_&&o.css({opacity:0}),o.html(d.dslc_label),o.removeClass("dslc-tut-bubble-type-action dslc-tut-bubble-type-information").addClass("dslc-tut-bubble-type-"+r),o.removeClass("dslc-tut-bubble-pos-above dslc-tut-bubble-pos-bellow").addClass("dslc-tut-bubble-pos-"+d.dslc_pos),"information"==r?dslcBubbleOverlay.fadeIn(300):dslcBubbleOverlay.fadeOut(200),a=t(d.dslc_target).offset(),n=a.left+(t(d.dslc_target).outerWidth()/2-o.outerWidth()/2);var l="50%";0>n&&(l=o.width()/2+n+t(d.dslc_target).width()/2+15+3+"px",n=15),o.outerWidth()+n>t(window).width()&&(l=o.outerWidth()-t(d.dslc_target).width()/2-(t(window).width()-(t(d.dslc_target).offset().left+t(d.dslc_target).width()))+"px",n=t(window).width()-o.outerWidth()-15),i="action"==r?a.top-o.outerHeight()-10:dslcBubbleOverlay.height()/2-o.outerHeight()/2-59,"bellow"==d.dslc_pos&&(i+=t(d.dslc_target).outerHeight()+o.outerHeight()+20),"fade"==_?o.stop().css({top:i+20,left:n}).animate({top:i,opacity:1},400,function(){d.dslc_keep_up&&"action"==d.dslc_type&&s(d)}):o.stop().css({opacity:1}).animate({top:i,left:n},400,function(){d.dslc_keep_up&&"action"==d.dslc_type&&s(d)}),t("head").append(t("<style>.dslc-tut-bubble:after, .dslc-tut-bubble:before { left: "+l+" !important; }</style>"))}},300)}var e;t(document).on("click",".dslc-tut-proceed-secondary",function(s){s.preventDefault(),t(".video-modal").fadeIn(500,function(){t('.videoThumb[href*="'+t(".video-modal").data("video-id")+'"]').click(),t(".video-modal").fitVids(),lc_calc_video_width()})}),t(document).on("mousedown",".dslc-tut-prevent, .dslca-action-disabled, .dslc-tut-panel-prevent",function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:5}),setTimeout(function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:10}),setTimeout(function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:5}),setTimeout(function(){t(".dslc-tut-bubble:not(:animated)").css({marginTop:0})},20)},20)},20)}),jQuery("body").append('<div class="dslc-tut-prevent"></div><div class="dslc-tut-bubble-overlay"></div><div class="dslc-tut-bubble" data-step="0"></div>'),jQuery(".dslca-container").append('<div class="dslc-tut-panel-prevent"></div>');var o=jQuery("#dslc_tut_ch_one").data("post-id"),c=jQuery("#dslc_tut_ch_two").data("post-id"),d=jQuery("#dslc_tut_ch_three").data("post-id"),a=jQuery("#dslc_tut_ch_four").data("post-id"),n=jQuery("#dslc_tut_ch_two_link").data("url"),i=jQuery("#dslc_tut_ch_three_link").data("url"),r=jQuery("#dslc_tut_ch_four_link").data("url"),u=[];u[o]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">Welcome</span><div class="dslc-tut-bubble-content">Welcome to the <strong style="color: #06b2ac;">Live Composer</strong> interactive <strong style="color: #9268a9;">tutorial</strong>.<br>In this step by step guide, we will show you some of the core functionalities of this plugin.<br></div><a href="#" class="dslc-tut-proceed">Start <strong>CHAPTER ONE</strong><span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">1/3 Adding a Row</span><div class="dslc-tut-bubble-content">Here is the structure of Live Composer: <strong style="color: #e5855f;">Rows</strong> > <strong style="color: #5890e5;">Module Areas</strong> > <strong style="color:#58bce5;">Modules</strong>.<br>Let\'s start by adding a <strong style="color: #e5855f;">row</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'Create your first <strong style="color: #e5855f;">row</strong>, it will be automatically populated with a <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslca-add-modules-section-hook",dslc_event_el:".dslca-add-modules-section-hook",dslc_event:"click.dslc_tut_add_row",dslc_animation:"fade",dslc_func_end:function(){t(".dslca-add-modules-section-hook").addClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">2/3 Row Options</span><div class="dslc-tut-bubble-content">Now that you have a <strong style="color: #e5855f;">row</strong> you could start adding <strong style="color: #5890e5;">module areas</strong> and <strong style="color:#58bce5;">modules</strong>.<br>But first, let\'s see what can be done with a <strong style="color: #e5855f;">row</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){}},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #e5855f;">row</strong> some options show up. Those are : <strong style="color: #06b2ac;">Edit</strong> - <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Delete</strong>. For now, let\'s click on the cog icon to edit this <strong style="color: #e5855f;">row</strong>',dslc_target:".dslc-modules-section",dslc_event_el:".dslc-modules-section",dslc_event:"mouseenter.dslc_tut_add_row",dslc_animation:"fade",dslc_pos:"bellow",dslc_func_start:function(){t(".dslca-modules-area-manage").css({visibility:"hidden"}),t(".dslca-modules-section-manage .dslca-manage-action").addClass("dslca-action-disabled"),t(".dslca-edit-modules-section-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #e5855f;">row</strong> some options show up. Those are : <strong style="color: #06b2ac;">Edit</strong> - <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Delete</strong>. For now, let\'s click on the cog icon to edit this <strong style="color: #e5855f;">row</strong>',dslc_target:".dslca-edit-modules-section-hook",dslc_event_el:".dslca-edit-modules-section-hook",dslc_parent_el:".dslc-modules-section",dslc_event:"click.dslc_tut_add_row",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_end:function(){t(".dslca-modules-section-manage .dslca-manage-action").removeClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">3/3 Options Panel</span><div class="dslc-tut-bubble-content">Every time you want to edit a <strong style="color: #e5855f;">row</strong> or a <strong style="color:#58bce5;">module</strong>, the <strong style="color: #9268a9;">Options Panel</strong> will appear.<br>There are multiple options, for now let\'s change the <strong>background color</strong> and the <strong>padding</strong> for this <strong style="color: #e5855f;">row</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'First, let\'s change the <strong>background color</strong>, choose any color and <a class="dslc-tut-proceed-2" href="#"><strong>click here to continue</strong></a> once you are done.',dslc_target:'.dslca-modules-section-edit-option[data-id="bg_color"]',dslc_event_el:'.dslca-modules-section-edit-option[data-id="bg_color"] .sp-replacer',dslc_event:"mouseup.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t('.dslca-modules-section-edit-option[data-id="bg_color"]').css("z-index",1000001)}},{dslc_type:"action",dslc_label:'First, let\'s change the <strong>background color</strong>, choose any color and <a class="dslc-tut-proceed-2" href="#"><strong>click here to continue</strong></a> once you are done.',dslc_target:".sp-container:visible",dslc_event_el:".dslc-tut-proceed-2",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_func_end:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-container").css("z-index",99999),t('.dslca-modules-section-edit-option[data-id="bg_color"]').css("z-index","auto")}},{dslc_type:"action",dslc_label:'Good, now you will need to <strong style="color: #9268a9;">drag</strong> this scrollbar to the right to access the <strong style="color:#06b2ac;">padding vertical</strong> options.',dslc_target:".jspDrag",dslc_event_el:".dslca-container",dslc_event:"mouseup.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_keep_up:!1,dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t(".jspHorizontalBar").css("z-index",1000001)}},{dslc_type:"action",dslc_label:'Go ahead and change this <strong style="color:#06b2ac;">padding value</strong>, this will add space vertically on this whole <strong style="color: #e5855f;">row</strong>.',dslc_target:'.dslca-modules-section-edit-option[data-id="padding"]',dslc_event_el:'.dslca-modules-section-edit-option[data-id="padding"]',dslc_parent_el:".dslca-container",dslc_event:"mouseup.dslc_tut_modules_info",dslc_animation:"slide",dslc_func_start:function(){t(".jspHorizontalBar").css("z-index","auto"),t('.dslca-modules-section-edit-option[data-id="padding"]').css("z-index",1000001)},dslc_func_end:function(){t(".dslca-row-edit-save").css("z-index",1000001)}},{dslc_type:"action",dslc_label:'Everytime you are done editing an element, you have to <span style="color: #78ca4f; font-weight:bold;">confirm</span> or <span style="color: #e55f5f; font-weight:bold;">cancel</span> those changes. Let\'s <span style="color: #78ca4f; font-weight:bold;">confirm</span> these changes now.',dslc_target:".dslca-row-edit-save",dslc_event_el:".dslca-row-edit-save",dslc_parent_el:".dslca-container",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">1. Row</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congratulations on completing the first chapter of this <strong style="color: #9268a9;">tutorial</strong>.<br>Now that you know how to change options for a <strong style="color: #e5855f;">row</strong>, let\'s see what can be done with <strong style="color: #5890e5;">modules area</strong>.</div><a href="'+n+'" class="dslc-tut-proceed dslca-link">start chapter two<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-module-edit-save").css("z-index","auto")}}],u[c]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">1/5 Column System</span><div class="dslc-tut-bubble-content">In this chapter, we will show you how to work with <strong style="color: #5890e5;">module areas</strong>.<br>First thing, let\'s see how you can build your own <strong style="color: #06b2ac;">layout</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-modules-section-manage").css({visibility:"hidden"})}},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #5890e5;">modules area</strong> some options show up. Those are : <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Layout</strong> - <strong style="color: #06b2ac;">Delete</strong>.<br>For now, let\'s click on the <strong>layout icon</strong> to change the width of this <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslc-modules-area",dslc_event_el:".dslc-modules-area",dslc_event:"mouseenter.dslc_tut_add_row",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'When you rollover a <strong style="color: #5890e5;">modules area</strong> some options show up. Those are : <strong style="color: #06b2ac;">Duplicate</strong> - <strong style="color: #06b2ac;">Move</strong> - <strong style="color: #06b2ac;">Layout</strong> - <strong style="color: #06b2ac;">Delete</strong>.<br>For now, let\'s click on the <strong>layout icon</strong> to change the width of this <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslca-change-width-modules-area-hook .dslc-icon-columns",dslc_event_el:".dslca-change-width-modules-area-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t(".dslca-modules-area-manage").addClass("dslc-tut-force-show"),t(".dslca-delete-modules-area-hook, .dslca-move-modules-area-hook, .dslca-copy-modules-area-hook").addClass("dslca-action-disabled")},dslc_func_end:function(){}},{dslc_type:"action",dslc_label:"Click on this <strong>6/12</strong> layout option.",dslc_target:'.dslca-change-width-modules-area-options span[data-size="6"]',dslc_event_el:'.dslca-change-width-modules-area-options span[data-size="6"]',dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-section",dslc_animation:"fade",dslc_pos:"bellow",dslc_func_start:function(){t(".dslca-change-width-modules-area-options span, .dslca-change-width-modules-area-hook").addClass("dslca-action-disabled"),t('.dslca-change-width-modules-area-options span[data-size="6"]').removeClass("dslca-action-disabled")},dslc_func_end:function(){t(".dslca-change-width-modules-area-options span, .dslca-change-width-modules-area-hook").removeClass("dslca-action-disabled"),t(".dslca-delete-modules-area-hook, .dslca-move-modules-area-hook, .dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">2/5 Duplicating</span><div class="dslc-tut-bubble-content">Now that you\'ve changed the <strong>layout</strong> of the <strong style="color: #5890e5;">modules area</strong>, let\'s <strong style="color:#06b2ac;">duplicate</strong> it.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-modules-area-manage").removeClass("dslc-tut-force-show")}},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #5890e5;">modules area</strong> to make the options appear.',dslc_target:".dslc-modules-area",dslc_event_el:".dslc-modules-area",dslc_event:"mouseenter.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'Now click on the <strong style="color:#06b2ac;">duplicate</strong> icon.',dslc_target:".dslca-copy-modules-area-hook",dslc_event_el:".dslca-copy-modules-area-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){t(".dslca-modules-area-manage").addClass("dslc-tut-force-show")},dslc_func_end:function(){t(".dslca-copy-modules-area-hook").addClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">3/5 Adding Area</span><div class="dslc-tut-bubble-content">It\'s time to add a new <strong style="color: #5890e5;">modules area</strong>.<br>Below are the available <strong style="color:#58bce5;">modules</strong>. For now, let\'s add a new <strong style="color: #5890e5;">modules area</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-modules-area-manage").removeClass("dslc-tut-force-show"),t(".dslc-modules-area").css("z-index","auto"),t(".dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #e5855f;">row</strong>.',dslc_target:'.dslca-module[data-id="DSLC_M_A"]',dslc_event_el:'.dslca-module[data-id="DSLC_M_A"]',dslc_event:"mousedown.dslc_tut_add_row",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t('.dslca-module[data-id="DSLC_M_A"]').css("z-index",1000001)},dslc_func_end:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-container").css("z-index",99999),t('.dslca-module[data-id="DSLC_M_A"]').css("z-index","auto")}},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #e5855f;">row</strong>.',dslc_target:".dslc-modules-section",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_add_row",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_end:function(){t("body").hasClass("dslca-anim-in-progress")||t(".dslc-tut-bubble").data("step",8)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">4/5 Reordering</span><div class="dslc-tut-bubble-content"><strong style="color: #5890e5;">Modules areas</strong>, like <strong style="color: #e5855f;">rows</strong>, can be <strong style="color: #9268a9;">moved</strong>. Let\'s <strong style="color: #9268a9;">move</strong> the <strong style="color: #5890e5;">modules area</strong> you just created.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #5890e5;">modules area</strong> to make the options appear.',dslc_target:".dslc-modules-area.dslc-12-col",dslc_event_el:".dslc-modules-area.dslc-12-col",dslc_event:"mouseenter.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area.dslc-12-col",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'Now <strong style="color: #06b2ac;">Click & Drag</strong> the move icon to move the <strong style="color: #5890e5;">modules area</strong> on top of the 2 others.',dslc_target:".dslc-modules-area.dslc-12-col .dslca-move-modules-area-hook",dslc_event_el:".dslc-modules-area.dslc-12-col .dslca-move-modules-area-hook",dslc_event:"mousedown.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area.dslc-12-col",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").addClass("dslc-tut-force-show"),t(".dslc-modules-area.dslc-12-col .dslca-copy-modules-area-hook").addClass("dslca-action-disabled")},dslc_func_end:function(){t(".dslc-modules-area.dslc-12-col .dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'Now <strong style="color: #06b2ac;">Click & Drag</strong> the move icon to move the <strong style="color: #5890e5;">modules area</strong> on top of the 2 others.',dslc_target:".dslc-modules-section",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"slide",dslc_pos:"above",dslc_func_end:function(){t(".dslc-modules-area:first-child").hasClass("dslc-12-col")||t(".dslc-tut-bubble").data("step",12)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">5/5 Deleting</span><div class="dslc-tut-bubble-content">The last thing that you can do with <strong style="color: #5890e5;">modules areas</strong> is to <strong style="color: #e55f5f;">delete</strong> them.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").removeClass("dslc-tut-force-show")}},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #5890e5;">modules area</strong> to make the options appear.',dslc_target:".dslc-modules-area.dslc-12-col",dslc_event_el:".dslc-modules-area.dslc-12-col",dslc_event:"mouseenter.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:'Now click the <strong style="color: #e55f5f;">delete</strong> icon to delete the <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslc-modules-area.dslc-12-col .dslca-delete-modules-area-hook",dslc_event_el:".dslc-modules-area.dslc-12-col .dslca-delete-modules-area-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-modules-area.dslc-12-col",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").addClass("dslc-tut-force-show"),t(".dslca-copy-modules-area-hook, .dslca-move-modules-area-hook, .dslca-change-width-modules-area-hook").addClass("dslca-action-disabled")},dslc_func_end:function(){t(".dslca-copy-modules-area-hook, .dslca-move-modules-area-hook, .dslca-change-width-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:"Click <strong>CONFIRM</strong> to confirm the deletion of the modules area..",dslc_target:".dslca-prompt-modal-confirm-hook",dslc_event_el:".dslca-prompt-modal-confirm-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslca-prompt-modal",dslc_animation:"slide",dslc_pos:"bellow",dslc_func_start:function(){},dslc_func_end:function(){}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">2. Modules Area</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congrats on completing <strong>Chapter Two</strong> of this interactive <strong style="color: #9268a9;">tutorial</strong>.<br>Now that you know everything about <strong style="color: #e5855f;">rows</strong> and <strong style="color: #5890e5;">modules areas</strong>, it\'s time for you to learn how to use <strong style="color:#58bce5;">modules</strong>.</div><a href="'+i+'" class="dslc-tut-proceed dslca-link">start chapter Three<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-modules-area.dslc-12-col .dslca-modules-area-manage").removeClass("dslc-tut-force-show")}}],u[d]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">1/3 Adding modules</span><div class="dslc-tut-bubble-content">In this chapter, we will show you how to use <strong style="color:#58bce5;">modules</strong>.<br>These are the most important part of the <strong style="color: #06b2ac;">Live Composer</strong> and they will allow you to display your content.<br>To start, let\'s add a <strong style="color:#58bce5;">module</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #5890e5;">modules area</strong>.',dslc_target:'.dslca-module[data-id="DSLC_Blog"]',dslc_event_el:'.dslca-module[data-id="DSLC_Blog"]',dslc_event:"mousedown.dslc_tut_add_row",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show(),t('.dslca-module[data-id="DSLC_Blog"]').css("z-index",1000001)}},{dslc_type:"action",dslc_label:'<strong style="color: #06b2ac;">Click & Drag</strong> this item and release it over the <strong style="color: #5890e5;">modules area</strong>.',dslc_target:".dslc-modules-area",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_add_row",dslc_animation:"slide",dslc_pos:"above",dslc_func_end:function(){t(".dslc-tut-panel-prevent").hide(),t('.dslca-module[data-id="DSLC_Blog"]').css("z-index","auto"),t("body").hasClass("dslca-anim-in-progress")||t(".dslc-tut-bubble").data("step",1)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><div class="dslc-tut-bubble-content">Some modules will take the content that you created in the WordPress admin.<br>This is the case for the <strong style="color:#58bce5;">blog module</strong>, it retreives the blog post that you have created.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">2/3 Functionality</span><div class="dslc-tut-bubble-content">Every module has it\'s own set of options. There are <strong style="color: #9268a9;">Functionality</strong> and <strong style="color: #06b2ac;">Styling</strong> options.<br>For now let\'s take a look at the <strong style="color: #9268a9;">Functionality</strong> options for the <strong style="color:#58bce5;">blog module</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'<strong style="color: #9268a9;">Rollover</strong> the <strong style="color: #58bce5;">module</strong> to make the options appear and click on the <strong style="color:#06b2ac;">edit</strong> icon.',dslc_target:".dslca-module-edit-hook",dslc_event_el:".dslca-module-edit-hook",dslc_event:"click.dslc_tut_add_row",dslc_parent_el:".dslc-module-front",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t(".dslc-module-front").trigger("mouseenter"),t(".dslca-copy-module-hook, .dslca-move-module-hook, .dslca-delete-module-hook").addClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'Go ahead and change the <strong style="color:#06b2ac;">posts per row</strong> to <strong>2</strong>.',dslc_target:'.dslca-module-edit-option[data-id="columns"]',dslc_event_el:'.dslca-module-edit-option[data-id="columns"]',dslc_event:"change.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslca-copy-module-hook, .dslca-move-module-hook, .dslca-delete-module-hook").removeClass("dslca-action-disabled"),t(".dslc-tut-panel-prevent").show(),t('.dslca-module-edit-option[data-id="columns"]').css("z-index",1000001)},dslc_func_end:function(){6!=t('.dslca-module-edit-field[data-id="columns"]').val()&&t(".dslc-tut-bubble").data("step",6)}},{dslc_type:"action",dslc_label:'You can test any other option in this panel, once you are done <a class="dslc-tut-proceed-2" href="#"><strong>click here to continue</strong></a>.',dslc_target:".dslca-module-edit-options",dslc_event_el:".dslc-tut-proceed-2",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t('.dslca-module-edit-option[data-id="columns"]').css("z-index","auto"),t(".dslca-module-edit-options-wrapper").css("z-index",1000001)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">3/3 Styling</span><div class="dslc-tut-bubble-content">There are also a lot of <strong style="color: #06b2ac;">styling</strong> options that you can change for every <strong style="color: #58bce5;">module</strong>, let\'s change a few now.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_func_start:function(){t(".dslca-module-edit-options-wrapper").css("z-index","auto")
|
2 |
}},{dslc_type:"action",dslc_label:'Click on the <strong style="color: #06b2ac;">styling</strong> tab to show the <strong style="color: #06b2ac;">styling</strong> options.',dslc_target:'.dslca-options-filter-hook[data-section="styling"]',dslc_event_el:'.dslca-options-filter-hook[data-section="styling"]',dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t('.dslca-options-filter-hook[data-section="styling"]').css("z-index",1000001)}},{dslc_type:"action",dslc_label:"All the options are categorized by the element they affect. Click on any of the tabs to change the options available.",dslc_target:".dslca-module-edit-options-tab-hook:nth-child(4)",dslc_event_el:".dslca-module-edit-options-tab-hook",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t('.dslca-options-filter-hook[data-section="styling"]').css("z-index","auto"),t(".dslca-module-edit-options-tab-hook").css("z-index",1000001)},dslc_func_end:function(){t(".dslca-module-edit-options-tab-hook").css("z-index","auto !important"),t(".dslca-module-edit-options-wrapper").css("z-index","1000001 !important")}},{dslc_type:"action",dslc_label:'There is a lot of <strong style="color: #06b2ac;">styling</strong> options. Go ahead and play with them and once you are done click on <span style="color: #78ca4f; font-weight:bold;">confirm</span>.',dslc_target:".dslca-module-edit-save",dslc_event_el:".dslca-module-edit-save",dslc_event:"click.dslc_tut_modules_info_2",dslc_animation:"slide",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t(".dslca-module-edit-options").css("z-index",1000001)}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">3. Modules</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congrats on completing <strong>Chapter Three</strong> of this interactive <strong style="color: #9268a9;">tutorial</strong>.<br>You can proceed to the fourth chapter, there you will learn how to use the <strong style="color: #d8827d;">templates system</strong>.</div><a href="'+r+'" class="dslc-tut-proceed dslca-link">start chapter four<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-tut-panel-prevent").hide(),t(".dslca-module-edit-options-wrapper").css("z-index","auto")}}],u[a]=[{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><span class="dslc-tut-bubble-descr">1/2 Load</span><div class="dslc-tut-bubble-content">In this chapter, we will show you how to use the <strong style="color: #d8827d;">templates system</strong>.<br>The <strong style="color: #d8827d;">templates system</strong> consists of 4 main features: <strong>Save</strong>, <strong>Load</strong>, <strong>Export</strong> and <strong>Import</strong>.<br>Let\'s start of by <strong>loading</strong> an existing template.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t('.dslca-section-title-filter-options span[data-origin="user"]').trigger("click")}},{dslc_type:"action",dslc_label:'Click this tab to switch to the <strong style="color: #d8827d;">templates management</strong>.',dslc_target:".dslca-go-to-section-templates",dslc_event_el:".dslca-go-to-section-templates",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show()},dslc_func_end:function(){}},{dslc_type:"action",dslc_label:"Click <strong>Load</strong> to see the available <strong>templates</strong>.",dslc_target:'.dslca-go-to-section-hook[data-section=".dslca-templates-load"]',dslc_event_el:'.dslca-go-to-section-hook[data-section=".dslca-templates-load"]',dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){}},{dslc_type:"action",dslc_label:"Click <strong>Blog Variation 3</strong> to load the <strong>template</strong>.",dslc_target:'.dslca-template[data-id="dslc-blog-ex-3"]',dslc_event_el:'.dslca-template[data-id="dslc-blog-ex-3"]',dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_parent_el:".dslca-container",dslc_pos:"above",dslc_func_start:function(){}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><div class="dslc-tut-bubble-content">The <strong>template</strong> is now loaded. You can of course modify it as you wish.<br>Let\'s move the <strong>sidebar</strong> on the right of the <strong>blog</strong>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade",dslc_func_start:function(){t(".dslc-tut-panel-prevent").hide(),t('.dslca-template[data-id="chapter-four"]').css("z-index","auto")}},{dslc_type:"action",dslc_label:'Let\'s move this <strong style="color: #5890e5;">modules area</strong> on the right of the blog.',dslc_target:".dslc-modules-area.dslc-4-col",dslc_event_el:".dslc-modules-area.dslc-4-col",dslc_event:"mouseenter.dslc_tut_modules_info",dslc_parent_el:".dslc-modules-area.dslc-4-col",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslca-change-width-modules-area-hook, .dslca-delete-modules-area-hook, .dslca-copy-modules-area-hook").addClass("dslca-action-disabled")}},{dslc_type:"action",dslc_label:'Let\'s move this <strong style="color: #5890e5;">modules area</strong> on the right of the blog.',dslc_target:".dslc-modules-area.dslc-4-col .dslca-move-modules-area-hook",dslc_event_el:".dslc-modules-area.dslc-4-col .dslca-move-modules-area-hook",dslc_event:"mousedown.dslc_tut_modules_info",dslc_parent_el:".dslc-modules-area.dslc-4-col",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){}},{dslc_type:"action",dslc_label:'Drop the <strong style="color: #5890e5;">modules area</strong> bellow.',dslc_target:".dslc-post.dslc-last-col",dslc_event_el:t(document),dslc_event:"mouseup.dslc_tut_modules_info",dslc_parent_el:".dslc-modules-area.dslc-4-col",dslc_animation:"slide",dslc_pos:"above",dslc_keep_up:!1,dslc_func_start:function(){t(".dslca-change-width-modules-area-hook, .dslca-delete-modules-area-hook, .dslca-copy-modules-area-hook").removeClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><span class="dslc-tut-bubble-descr">2/2 Import</span><div class="dslc-tut-bubble-content">In the textarea bellow, you can see how an export looks like, let\'s import it. Select the "text" and copy it, when done click continue.<br><br><textarea style="width: 100%; height:50px;">[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="" border="" bg_color="#f7f7f7" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" padding="49" padding_h="0" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxNTc6e3M6NDoic2l6ZSI7czoyOiIxMiI7czo0OiJ0eXBlIjtzOjQ6ImdyaWQiO3M6MTE6Im9yaWVudGF0aW9uIjtzOjg6InZlcnRpY2FsIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI0IjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjMxOiJ0aHVtYm5haWwgdGl0bGUgZXhjZXJwdCBidXR0b24gIjtzOjE3OiJjYXJvdXNlbF9lbGVtZW50cyI7czoxNDoiYXJyb3dzIGNpcmNsZXMiO3M6MjA6ImNzc193cmFwcGVyX2JnX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc193cmFwcGVyX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6Mjk6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MzI6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6Mjg6ImNzc193cmFwcGVyX3BhZGRpbmdfdmVydGljYWwiO3M6MToiMCI7czozMDoiY3NzX3dyYXBwZXJfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MjA6ImNzc19zZXBfYm9yZGVyX2NvbG9yIjtzOjc6IiNlZGVkZWQiO3M6MTQ6ImNzc19zZXBfaGVpZ2h0IjtzOjI6IjMwIjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjU6InNvbGlkIjtzOjE4OiJjc3NfdGh1bWJfYmdfY29sb3IiO3M6MDoiIjtzOjI3OiJjc3NfdGh1bWJfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czozMDoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTI6InRodW1iX21hcmdpbiI7czoxOiIwIjtzOjE4OiJ0aHVtYl9tYXJnaW5fcmlnaHQiO3M6MjoiMjAiO3M6MjY6ImNzc190aHVtYl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6Mjg6ImNzc190aHVtYl9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxMToidGh1bWJfd2lkdGgiO3M6MzoiMTAwIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjZTM2MzRkIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMDoiY3NzX21haW5fYm9yZGVyX3RyYmwiO3M6MjI6InRvcCByaWdodCBib3R0b20gbGVmdCAiO3M6MjY6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzQiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzNyI7czoxOToiY3NzX21haW5fbWluX2hlaWdodCI7czoxOiIwIjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjQ6ImxlZnQiO3M6MTE6InRpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MTc6InRpdGxlX2NvbG9yX2hvdmVyIjtzOjA6IiI7czoxNToidGl0bGVfZm9udF9zaXplIjtzOjI6IjI1IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6NzoiUmFsZXdheSI7czoxNzoidGl0bGVfbGluZV9oZWlnaHQiO3M6MjoiMzUiO3M6MTI6InRpdGxlX21hcmdpbiI7czoyOiIxNyI7czoyMToiY3NzX21ldGFfYm9yZGVyX2NvbG9yIjtzOjc6IiNlNWU1ZTUiO3M6MjE6ImNzc19tZXRhX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjE0OiJjc3NfbWV0YV9jb2xvciI7czo3OiIjYThhOGE4IjtzOjE4OiJjc3NfbWV0YV9mb250X3NpemUiO3M6MjoiMTEiO3M6MjA6ImNzc19tZXRhX2ZvbnRfZmFtaWx5IjtzOjE3OiJMaWJyZSBCYXNrZXJ2aWxsZSI7czoyMDoiY3NzX21ldGFfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIyOiJjc3NfbWV0YV9tYXJnaW5fYm90dG9tIjtzOjI6IjE2IjtzOjI1OiJjc3NfbWV0YV9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjE2IjtzOjI3OiJjc3NfbWV0YV9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxOToiY3NzX21ldGFfbGlua19jb2xvciI7czo3OiIjNTg5MGU1IjtzOjI1OiJjc3NfbWV0YV9saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiM1ODkwZTUiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiNmMGQ2ZDYiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNSI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo0OiJMYXRvIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNyI7czoxNDoiZXhjZXJwdF9tYXJnaW4iO3M6MjoiMjgiO3M6MTQ6ImV4Y2VycHRfbGVuZ3RoIjtzOjI6IjQwIjtzOjExOiJidXR0b25fdGV4dCI7czoxNjoiQ09OVElOVUUgUkVBRElORyI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjYzI0ODM4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yIjtzOjc6IiMxNDBmMGYiO3M6Mjk6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yX2hvdmVyIjtzOjc6IiM5ZTZkNmQiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIwIjtzOjE2OiJjc3NfYnV0dG9uX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc19idXR0b25fY29sb3JfaG92ZXIiO3M6NzoiIzhmOGY4ZiI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTIiO3M6MjI6ImNzc19idXR0b25fZm9udF93ZWlnaHQiO3M6MzoiODAwIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfZmFtaWx5IjtzOjQ6IkxhdG8iO3M6Mjc6ImNzc19idXR0b25fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxNyI7czoyOToiY3NzX2J1dHRvbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTkiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjk6InNoYXJlLWFsdCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNmMDdhNjgiO3M6Mjc6ImNzc19idXR0b25faWNvbl9jb2xvcl9ob3ZlciI7czo3OiIjZDFkMWQxIjtzOjIyOiJjc3NfYnV0dG9uX2ljb25fbWFyZ2luIjtzOjE6IjUiO3M6MTg6Im1haW5faGVhZGluZ190aXRsZSI7czoxNzoiTEFURVNUIEJMT0cgUE9TVFMiO3M6MjM6Im1haW5faGVhZGluZ19saW5rX3RpdGxlIjtzOjg6IlZJRVcgQUxMIjtzOjIyOiJjc3NfbWFpbl9oZWFkaW5nX2NvbG9yIjtzOjA6IiI7czoyNjoiY3NzX21haW5faGVhZGluZ19mb250X3NpemUiO3M6MjoiMTciO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfZmFtaWx5IjtzOjY6Ik9zd2FsZCI7czoyODoiY3NzX21haW5faGVhZGluZ19saW5lX2hlaWdodCI7czoyOiIzNSI7czoyNzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yIjtzOjc6IiNlMzYzNGQiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjYzc1MDNlIjtzOjMxOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9zaXplIjtzOjI6IjExIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9mYW1pbHkiO3M6OToiT3BlbiBTYW5zIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfcGFkZGluZ192ZXIiO3M6MToiOSI7czoxMzoidmlld19hbGxfbGluayI7czoxOiIjIjtzOjI1OiJjc3NfaGVhZGluZ19tYXJnaW5fYm90dG9tIjtzOjI6IjI1IjtzOjE5OiJjc3NfZmlsdGVyX2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjY6ImNzc19maWx0ZXJfYmdfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MjM6ImNzc19maWx0ZXJfYm9yZGVyX2NvbG9yIjtzOjc6IiNlOGU4ZTgiO3M6MzA6ImNzc19maWx0ZXJfYm9yZGVyX2NvbG9yX2FjdGl2ZSI7czo3OiIjZTM2MzRkIjtzOjIzOiJjc3NfZmlsdGVyX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIyOiJjc3NfZmlsdGVyX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6MjQ6ImNzc19maWx0ZXJfYm9yZGVyX3JhZGl1cyI7czoxOiIzIjtzOjE2OiJjc3NfZmlsdGVyX2NvbG9yIjtzOjc6IiM5Nzk3OTciO3M6MjM6ImNzc19maWx0ZXJfY29sb3JfYWN0aXZlIjtzOjc6IiNmZmZmZmYiO3M6MjA6ImNzc19maWx0ZXJfZm9udF9zaXplIjtzOjI6IjExIjtzOjIyOiJjc3NfZmlsdGVyX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoyMjoiY3NzX2ZpbHRlcl9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6Mjc6ImNzc19maWx0ZXJfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMiI7czoyOToiY3NzX2ZpbHRlcl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTIiO3M6MTk6ImNzc19maWx0ZXJfcG9zaXRpb24iO3M6NToicmlnaHQiO3M6MTg6ImNzc19maWx0ZXJfc3BhY2luZyI7czoxOiI5IjtzOjE5OiJjc3NfYXJyb3dzX2JnX2NvbG9yIjtzOjc6IiNjOWM5YzkiO3M6MjU6ImNzc19hcnJvd3NfYmdfY29sb3JfaG92ZXIiO3M6NzoiIzU4OTBlNSI7czoyMzoiY3NzX2Fycm93c19ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjI5OiJjc3NfYXJyb3dzX2JvcmRlcl9jb2xvcl9ob3ZlciI7czowOiIiO3M6MjM6ImNzc19hcnJvd3NfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjQ6ImNzc19hcnJvd3NfYm9yZGVyX3JhZGl1cyI7czoxOiIzIjtzOjE2OiJjc3NfYXJyb3dzX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc19hcnJvd3NfY29sb3JfaG92ZXIiO3M6NzoiI2ZmZmZmZiI7czoyMToiY3NzX2Fycm93c19tYXJnaW5fdG9wIjtzOjE6IjYiO3M6MTU6ImNzc19hcnJvd3Nfc2l6ZSI7czoyOiIyMyI7czoyMToiY3NzX2Fycm93c19hcnJvd19zaXplIjtzOjI6IjEwIjtzOjE3OiJjc3NfY2lyY2xlc19jb2xvciI7czo3OiIjYjliOWI5IjtzOjI0OiJjc3NfY2lyY2xlc19jb2xvcl9hY3RpdmUiO3M6NzoiIzU4OTBlNSI7czoyMjoiY3NzX2NpcmNsZXNfbWFyZ2luX3RvcCI7czoyOiIyMCI7czoxNjoiY3NzX2NpcmNsZXNfc2l6ZSI7czoxOiI3IjtzOjE5OiJjc3NfY2lyY2xlc19zcGFjaW5nIjtzOjE6IjMiO3M6MTM6ImNzc19wYWdfYWxpZ24iO3M6NDoibGVmdCI7czoxNjoiY3NzX3BhZ19iZ19jb2xvciI7czowOiIiO3M6MjA6ImNzc19wYWdfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyMDoiY3NzX3BhZ19ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoxOToiY3NzX3BhZ19ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjIxOiJjc3NfcGFnX2JvcmRlcl9yYWRpdXMiO3M6MToiMCI7czoyNDoiY3NzX3BhZ19wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6MjY6ImNzc19wYWdfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MjE6ImNzc19wYWdfaXRlbV9iZ19jb2xvciI7czo3OiIjZmZmZmZmIjtzOjI4OiJjc3NfcGFnX2l0ZW1fYmdfY29sb3JfYWN0aXZlIjtzOjc6IiNlMzYzNGQiO3M6MjU6ImNzc19wYWdfaXRlbV9ib3JkZXJfY29sb3IiO3M6NzoiI2U4ZThlOCI7czozMjoiY3NzX3BhZ19pdGVtX2JvcmRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiI2UzNjM0ZCI7czoyNToiY3NzX3BhZ19pdGVtX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjMyOiJjc3NfcGFnX2l0ZW1fYm9yZGVyX3dpZHRoX2FjdGl2ZSI7czoxOiIxIjtzOjI0OiJjc3NfcGFnX2l0ZW1fYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czoyNjoiY3NzX3BhZ19pdGVtX2JvcmRlcl9yYWRpdXMiO3M6MToiMyI7czoxODoiY3NzX3BhZ19pdGVtX2NvbG9yIjtzOjc6IiM5Nzk3OTciO3M6MjU6ImNzc19wYWdfaXRlbV9jb2xvcl9hY3RpdmUiO3M6NzoiI2ZmZmZmZiI7czoyMjoiY3NzX3BhZ19pdGVtX2ZvbnRfc2l6ZSI7czoyOiIxMSI7czoyNDoiY3NzX3BhZ19pdGVtX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoyNDoiY3NzX3BhZ19pdGVtX2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoyOToiY3NzX3BhZ19pdGVtX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTIiO3M6MzE6ImNzc19wYWdfaXRlbV9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTIiO3M6MjA6ImNzc19wYWdfaXRlbV9zcGFjaW5nIjtzOjI6IjEwIjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO3M6MzoiMzc3IjtzOjk6Im1vZHVsZV9pZCI7czo5OiJEU0xDX0Jsb2ciO30=[/dslc_module] [/dslc_modules_area] [/dslc_modules_section] </textarea>.</div><a href="#" class="dslc-tut-proceed">continue<span class="dslc-tut-icon dslc-icon-chevron-right"></span></a>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"},{dslc_type:"action",dslc_label:'Click this tab to switch to the main <strong style="color: #d8827d;">templates management</strong> section.',dslc_target:".dslca-go-to-section-templates",dslc_event_el:".dslca-go-to-section-templates",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above",dslc_func_start:function(){t(".dslc-tut-panel-prevent").show()}},{dslc_type:"action",dslc_label:"Click <strong>Import</strong>, paste the code in the textarea and click the <strong>import</strong> button.",dslc_target:'.dslca-open-modal-hook[data-modal=".dslca-modal-templates-import"]',dslc_event_el:'.dslca-open-modal-hook[data-modal=".dslca-modal-templates-import"]',dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"fade",dslc_pos:"above"},{dslc_type:"action",dslc_label:"Click <strong>Import</strong>, paste the code in the textarea and click the <strong>import</strong> button.",dslc_target:".dslca-modal-templates-import",dslc_event_el:".dslca-submit",dslc_event:"click.dslc_tut_modules_info",dslc_parent_el:".dslca-container",dslc_animation:"slide",dslc_pos:"above",dslc_func_start:function(){t(".dslca-close-modal-hook").addClass("dslca-action-disabled")}},{dslc_type:"information",dslc_label:'<span class="dslc-tut-bubble-title">4. Templates System</span><span class="dslc-tut-bubble-descr">finished</span><div class="dslc-tut-bubble-content">Congrats on completing the <strong style="color: #9268a9;">Basics Tutorial</strong> for <strong style="color: #06b2ac;">Live Composer</strong>.</div>',dslc_target:"body",dslc_event_el:".dslc-tut-proceed",dslc_event:"click.dslc_tut_modules_info",dslc_animation:"fade"}],l()});
|
@@ -1264,10 +1264,12 @@ var dslcDebug = false;
|
|
1264 |
* Row - Add New
|
1265 |
*/
|
1266 |
|
1267 |
-
function dslc_row_add() {
|
1268 |
|
1269 |
if ( dslcDebug ) console.log( 'dslc_row_add' );
|
1270 |
|
|
|
|
|
1271 |
// AJAX Request
|
1272 |
jQuery.post(
|
1273 |
|
@@ -1286,6 +1288,8 @@ var dslcDebug = false;
|
|
1286 |
dslc_generate_code();
|
1287 |
dslc_show_publish_button();
|
1288 |
|
|
|
|
|
1289 |
}
|
1290 |
|
1291 |
);
|
@@ -1894,6 +1898,7 @@ var dslcDebug = false;
|
|
1894 |
// Call other functions
|
1895 |
dslc_bg_video();
|
1896 |
dslc_carousel();
|
|
|
1897 |
dslc_drag_and_drop();
|
1898 |
dslc_show_publish_button();
|
1899 |
dslc_generate_code();
|
@@ -1944,8 +1949,18 @@ var dslcDebug = false;
|
|
1944 |
|
1945 |
$(document).on( 'click', '.dslca-add-modules-section-hook', function(){
|
1946 |
|
|
|
|
|
1947 |
if ( ! $(this).hasClass('dslca-action-disabled') ) {
|
1948 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1949 |
}
|
1950 |
|
1951 |
});
|
1264 |
* Row - Add New
|
1265 |
*/
|
1266 |
|
1267 |
+
function dslc_row_add( callback ) {
|
1268 |
|
1269 |
if ( dslcDebug ) console.log( 'dslc_row_add' );
|
1270 |
|
1271 |
+
callback = typeof callback !== 'undefined' ? callback : false;
|
1272 |
+
|
1273 |
// AJAX Request
|
1274 |
jQuery.post(
|
1275 |
|
1288 |
dslc_generate_code();
|
1289 |
dslc_show_publish_button();
|
1290 |
|
1291 |
+
if ( callback ) { callback(); }
|
1292 |
+
|
1293 |
}
|
1294 |
|
1295 |
);
|
1898 |
// Call other functions
|
1899 |
dslc_bg_video();
|
1900 |
dslc_carousel();
|
1901 |
+
dslc_masonry( jQuery('#dslc-main').find('.dslc-modules-section:last-child') );
|
1902 |
dslc_drag_and_drop();
|
1903 |
dslc_show_publish_button();
|
1904 |
dslc_generate_code();
|
1949 |
|
1950 |
$(document).on( 'click', '.dslca-add-modules-section-hook', function(){
|
1951 |
|
1952 |
+
var button = $(this);
|
1953 |
+
|
1954 |
if ( ! $(this).hasClass('dslca-action-disabled') ) {
|
1955 |
+
|
1956 |
+
// Add a loading animation
|
1957 |
+
button.find('.dslca-icon').removeClass('dslc-icon-align-justify').addClass('dslc-icon-spinner dslc-icon-spin');
|
1958 |
+
|
1959 |
+
// Add a row
|
1960 |
+
dslc_row_add( function(){
|
1961 |
+
button.find('.dslca-icon').removeClass('dslc-icon-spinner dslc-icon-spin').addClass('dslc-icon-align-justify');
|
1962 |
+
});
|
1963 |
+
|
1964 |
}
|
1965 |
|
1966 |
});
|
@@ -1,4 +1,4 @@
|
|
1 |
-
"use strict";function dslc_hide_composer(){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").animate({bottom:-1*jQuery(".dslca-container").outerHeight()},300),jQuery(".dslca-header").hide()}function dslc_show_composer(){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").animate({bottom:0},300),jQuery(".dslca-header").show()}function dslc_show_publish_button(){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_show_section(e){dslcDebug&&console.log("dslc_show_section"),jQuery("body").addClass("dslca-anim-in-progress");var s=(jQuery(e).data("title"),jQuery(e).data("bg"));jQuery(".dslca-container").animate({bottom:-500},200),jQuery(".dslca-sections").animate({backgroundColor:s},200),jQuery(".dslca-section").hide(),jQuery(e).show(),".dslca-modules-section-edit"==e&&dslc_row_edit_scrollbar_init(),dslc_module_options_tab_filter(),".dslca-module-edit"!=e&&dslc_scroller_init(),jQuery(".dslca-container").animate({bottom:0},300),jQuery("body").removeClass("dslca-anim-in-progress")}function dslc_generate_filters(){dslcDebug&&console.log("dslc_generate_filters");var e,s=[],o='<span data-origin="">ALL</span>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){e=jQuery(this),-1==jQuery.inArray(e.data("origin"),s)&&(s.push(e.data("origin")),o+='<span data-origin="'+e.data("origin")+'">'+e.data("origin").replace("_"," ")+"</span>")}),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(o).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(e,s){dslcDebug&&console.log("dslc_filter_origin"),jQuery(".dslca-origin",s).hide(),jQuery('.dslca-origin[data-origin="'+e+'"]',s).show(),""==e&&jQuery(".dslca-origin",s).show(),dslc_scroller_init()}function dslc_drag_and_drop(){dslcDebug&&console.log("dslc_drag_and_drop");var e,s,o;jQuery(".dslca-modules .dslca-module").draggable({scroll:!1,appendTo:"body",helper:"clone",cursor:"default",cursorAt:{top:50,left:30},containment:"body",start:function(){jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},stop:function(){jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")}}),jQuery(".dslc-content").sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"pointer",cursorAt:{bottom:10},axis:"y",scroll:!0,scrollSensitivity:200,scrollSpeed:10,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(){dslc_generate_code(),dslc_show_publish_button()},start:function(e,s){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),s.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(){jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),jQuery(".dslc-modules-section").css({overflow:"visible","max-height":"none"})}}),jQuery(".dslc-modules-section-inner").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:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(e,s){var o=s.placeholder.closest(".dslc-modules-section");jQuery(o).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),o.siblings(".dslc-modules-section").each(function(){jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")})},update:function(){dslc_generate_code(),dslc_show_publish_button()},start:function(e,s){s.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(s.item).hasClass("dslc-12-col")?s.placeholder.width(s.item.width()).css({margin:0}):s.placeholder.width(s.item.width()-10),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(){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(){}}),jQuery(".dslc-modules-section").droppable({drop:function(e,s){var o=jQuery(this).find(".dslc-modules-section-inner"),d=s.draggable.data("id");"DSLC_M_A"==d&&dslc_modules_area_add(o)}}),jQuery(".dslc-modules-area").droppable({activeClass:"dslca-ui-state-default",hoverClass:"dslca-ui-state-hover",accept:":not(.ui-sortable-helper)",drop:function(d,l){if(e=jQuery(this),s=l.draggable.data("id"),"DSLC_M_A"==s||jQuery("body").hasClass("dslca-module-drop-in-progress")||e.closest("#dslc-header").length||e.closest("#dslc-footer").length);else{jQuery("body").addClass("dslca-anim-in-progress dslca-module-drop-in-progress"),e.hasClass("dslc-modules-area-not-empty")&&e.animate({paddingBottom:50},150),dslc_module_output_default(s,function(s){o=s.output,jQuery(".dslca-module-loading-inner",e).stop().animate({width:"100%"},300,"linear",function(){e.css({paddingBottom:0}),jQuery(".dslca-module-loading",e).hide();var s=jQuery(o).appendTo(e);s.css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}),setTimeout(function(){dslc_init_square(),dslc_center(),dslc_masonry(s),jQuery("body").removeClass("dslca-anim-in-progress dslca-module-drop-in-progress")},700),jQuery(".dslca-no-content-primary",e).css({opacity:1}),jQuery(".dslca-modules-area-manage",e).css({visibility:"visible"}),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),dslc_carousel(),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button()})}),jQuery(".dslca-module-loading",e).show(),jQuery(".dslca-no-content-primary",e).css({opacity:0}),jQuery(".dslca-modules-area-manage",e).css({visibility:"hidden"});var a=100*Math.floor(51*Math.random()+50);jQuery(".dslca-module-loading-inner",e).css({width:0}).animate({width:"100%"},a,"linear")}}}).sortable({connectWith:".dslc-modules-area",items:".dslc-module-front",handle:'.dslca-move-module-hook:not(".dslca-action-disabled")',placeholder:"dslca-module-placeholder",cursorAt:{top:50,left:30},tolerance:"pointer",scroll:!0,scrollSensitivity:100,scrollSpeed:15,start:function(e,s){s.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+s.item.find(".dslc-sortable-helper-icon").data("title")+"</span></span>"),jQuery(s.item).hasClass("dslc-12-col")?s.placeholder.width(s.item.width()).css({margin:0}):s.placeholder.width(s.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery(".dslc-module-front",this).length<2&&(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,function(){})),jQuery(".dslc-modules-area").sortable("refreshPositions")},sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(){dslc_show_publish_button()},stop:function(e,s){dslc_generate_code(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),s.item.trigger("mouseleave")},change:function(){}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_scroller_init(){dslcDebug&&console.log("dslc_scroller_init");var e=jQuery(".dslca-section-scroller");e.length&&e.each(function(){{var e,s=jQuery(this),o=jQuery(".dslca-section-scroller-inner",s),d=o.position(),l=jQuery(".dslca-section-scroller-content",s),a=jQuery(".dslca-scroller-item:visible",s),t=0,i=s.width()+-1*d.left;l.width()}jQuery(".dslca-section-scroller-item-last",s).removeClass("dslca-section-scroller-item-last"),a.each(function(){e=jQuery(this),t+=e.outerWidth(),t>i&&jQuery(".dslca-section-scroller-item-last",s).length<1&&(e.addClass("dslca-section-scroller-item-last"),s.data("current",e.prev(".dslca-scroller-item:visible").index()))})})}function dslc_scroller_go_to(e,s){dslcDebug&&console.log("dslc_scroller_go_to");var o=jQuery(".dslca-section-scroller-inner",s),d=jQuery(".dslca-section-scroller-content",s),l=(jQuery(".dslca-scroller-item",s),jQuery(".dslca-scroller-item:eq("+e+")",s));if(l.length){var a=s.width(),t=(d.width(),l.position()),i=a-(t.left+l.outerWidth());0>i?(s.data("current",e),o.stop().animate({left:i},200)):o.stop().animate({left:0},200)}}function dslc_scroller_prev(e){dslcDebug&&console.log("dslc_scroller_prev");var s=e.data("current"),o=e.find(".dslca-scroller-item:eq("+s+")").prevAll(".dslca-scroller-item:visible").eq(1).index(),d=e.find(".dslca-scroller-item:eq("+s+")").prevAll(".dslca-scroller-item:visible").eq(0).index();-1!==o?dslc_scroller_go_to(o,e):-1!==d&&dslc_scroller_go_to(d,e)}function dslc_scroller_next(e){dslcDebug&&console.log("dslc_scroller_next");var s=e.data("current"),o=e.find(".dslca-scroller-item:eq("+s+")").nextAll(".dslca-scroller-item:visible").eq(1).index(),d=e.find(".dslca-scroller-item:eq("+s+")").nextAll(".dslca-scroller-item:visible").eq(0).index();-1!==o?dslc_scroller_go_to(o,e):-1!==d&&dslc_scroller_go_to(d,e)}function dslc_ui_animations(){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"),jQuery(this).stop().animate({opacity:1},200),dslca_draggable_calc_center(jQuery(this).closest(".dslc-modules-area"))}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered"),jQuery(this).stop().animate({opacity:.5},200)}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(){jQuery("body").hasClass("dslca-composer-hidden")||(jQuery(this).height()<190?jQuery(".dslca-module-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal"),jQuery(".dslca-module-manage-inner",this).stop().animate({top:0},300,function(){jQuery(this).closest(".dslca-module-manage").css({overflow:"visible"})}),jQuery(".dslca-wysiwyg-actions-edit-hook",this).stop().animate({top:0},300))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(){jQuery("body").hasClass("dslca-composer-hidden")||(jQuery(this).find(".dslca-change-width-module-options").hide(),jQuery(this).find(".dslca-module-manage").css({overflow:"hidden"}),jQuery(".dslca-module-manage-inner",this).stop().animate({top:-50},300),jQuery(".dslca-wysiwyg-actions-edit-hook",this).stop().animate({top:-50},300))}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(){var e=jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||(jQuery("#dslc-header").addClass("dslca-header-low-z-index"),jQuery(this).height()<130?jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal"),jQuery(".dslca-modules-area-manage-inner",this).stop().animate({left:"0%"},300,function(){jQuery(".dslca-modules-area-manage",e).css({overflow:"visible"})}))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(){var e=jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||(jQuery("#dslc-header").removeClass("dslca-header-low-z-index"),jQuery(".dslca-modules-area-manage",e).css({overflow:"hidden"}),jQuery(".dslca-modules-area-manage-inner",this).stop().animate({left:"100%"},300))}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-section",function(){jQuery("body").hasClass("dslca-composer-hidden")||jQuery(".dslca-modules-section-manage-inner",this).stop().animate({opacity:1},300)}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-section",function(){jQuery("body").hasClass("dslca-composer-hidden")||jQuery(".dslca-modules-section-manage-inner",this).stop().animate({opacity:0},300)})}function dslc_show_modal(e,s){dslcDebug&&console.log("dslc_show_modal"),dslc_hide_modal("",jQuery(".dslca-modal:visible"));var s=jQuery(s),o=jQuery(e).position(),d=s.outerWidth()/2-e.outerWidth()/2,l=o.left-d;s.css({left:l}).show(),s.css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).fadeIn(600)}function dslc_hide_modal(e,s){dslcDebug&&console.log("dslc_hide_modal");var s=jQuery(s);s.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).fadeOut(600)}function dslc_js_confirm(e,s,o){dslcDebug&&console.log("dslc_js_confirm"),jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").data("id",e),jQuery(".dslca-prompt-modal").data("target",o),jQuery(".dslca-prompt-modal-msg").html(s),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(){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_row_add(){dslcDebug&&console.log("dslc_row_add"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(e){jQuery(e.output).appendTo("#dslc-main"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()})}function dslc_row_delete(e){dslcDebug&&console.log("dslc_row_delete"),e.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")),e.trigger("mouseleave").remove(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_edit(e){dslcDebug&&console.log("dslc_row_edit");jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),e.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("border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("top")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-right"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("right")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-bottom"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("bottom")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-left"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("left")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),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"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val().indexOf(jQuery(this).data("val"))>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),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).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val()),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var e=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":e.val()})}}),jQuery(".dslca-modules-section-edit-field-upload").each(function(){var e=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",e).show())}),dslc_row_edit_slider_init(),dslc_show_section(".dslca-modules-section-edit"),jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"})}function dslc_row_edit_colorpicker_init(){dslcDebug&&console.log("dslc_row_edit_colorpicker_init");var e,s,o,d,l,a,t,i,c,n,r=[];if(r[0]=[],r[1]=[],r[2]=[],r[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(c=JSON.parse(localStorage.dslcColorpickerPalleteStorage),n=0;n<c.length;n++){var u=Math.floor(n/3);4>u&&r[u].push(c[n])}jQuery(".dslca-modules-section-edit-field-colorpicker").each(function(){i=jQuery(this).val(),jQuery(this).spectrum({color:i,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:r,move:function(i){e=jQuery(this),s=e.data("id"),d=null==i?"transparent":i.toRgbString(),l=e.data("css-rule"),o=jQuery(".dslca-modules-section-being-edited"),t=o,a=jQuery('.dslca-modules-section-settings input[data-id="'+s+'"]',o),o.addClass("dslca-modules-section-change-made"),e.data("css-element")&&(t=jQuery(e.data("css-element"),o)),t.css(l,d),a.val(d)},change:function(o){if(e=jQuery(this),s=e.data("id"),d=null==o?"transparent":o.toRgbString(),void 0==localStorage.dslcColorpickerPalleteStorage){var l=[d];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(l)}else{var l=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==l.indexOf(d)&&l.unshift(d),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(l)}},show:function(){jQuery("body").addClass("dslca-disable-selection"),jQuery(this).spectrum("set",jQuery(this).val())},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_row_edit_slider_init(){dslcDebug&&console.log("dslc_row_edit_slider_init"),jQuery(".dslca-modules-section-edit-field-slider").each(function(){var e,s,o,d,l,a,t,i,c,n,r,u="",m=0,p=300,h=1;e=jQuery(this),s=e.siblings(".dslca-modules-section-edit-field"),a=e.siblings(".dslca-modules-section-edit-field-slider-tooltip"),e.data("min")&&(m=e.data("min")),e.data("max")&&(p=e.data("max")),e.data("incr")&&(h=e.data("incr")),e.data("ext")&&(u=e.data("ext")),e.slider({min:m,max:p,step:h,value:s.val(),slide:function(m,p){o=p.value+u,s.val(o),l=jQuery(".dslca-modules-section-being-edited"),s.data("css-element")&&(l=jQuery(s.data("css-element"),l)),d=s.data("css-rule"),r=d.split(",");for(var h=0;h<r.length;h++)jQuery(l).css(r[h],o);c=jQuery(".dslca-modules-section-being-edited"),n=s.data("id"),jQuery('.dslca-modules-section-settings input[data-id="'+n+'"]',c).val(p.value),c.addClass("dslca-modules-section-change-made"),a.text(o),i=e.find(".ui-slider-handle"),t=i[0].style.left,a.css({left:t})},stop:function(){a.hide();var e=jQuery(window).scrollTop();dslc_masonry(),jQuery(window).scrollTop(e)},start:function(s,d){o=d.value,a.show(),a.text(o),i=e.find(".ui-slider-handle"),t=i[0].style.left,a.css({left:t})}})})}function dslc_row_edit_scrollbar_init(){dslcDebug&&console.log("dslc_row_edit_scrollbar_init");var e=0;jQuery(".dslca-modules-section-edit-option").each(function(){e+=jQuery(this).outerWidth(!0)+1}),jQuery(".dslca-modules-section-edit-options-wrapper").width(e>jQuery(".dslca-modules-section-edit-options").width()?e:"auto"),jQuery("body").hasClass("rtl")||(jQuery(".dslca-modules-section-edit-options-inner").data("jsp")&&jQuery(".dslca-modules-section-edit-options-inner").data("jsp").destroy(),jQuery(".dslca-modules-section-edit-options-inner").jScrollPane())}function dslc_row_edit_cancel(e){dslcDebug&&console.log("dslc_row_cancel_changes"),e="undefined"!=typeof e?e:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").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")}),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-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),e&&e(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_edit_confirm(e){dslcDebug&&console.log("dslc_confirm_row_changes"),e="undefined"!=typeof e?e:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").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-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),dslc_generate_code(),dslc_show_publish_button(),e&&e(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_copy(e){dslcDebug&&console.log("dslc_row_copy");var s,o,d;o=e.clone().appendTo("#dslc-main"),o.find(".dslc-modules-area").each(function(){var s=jQuery(this).index();jQuery(this).data("size",e.find(".dslc-modules-area:eq( "+s+" )").data("size"))}),o.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(){d=jQuery(this),jQuery.ajax({type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(e){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),s=e.output,d.data("module-id",s).attr("id","dslc-module-"+s).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_import(e){dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:e},function(e){dslc_js_confirm_close(),jQuery("#dslc-main").append(e.output),dslc_bg_video(),dslc_carousel(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(e){dslc_row_delete(e)}function dslc_edit_modules_section(e){dslc_row_edit(e)}function dslc_edit_modules_section_colorpicker(){dslc_row_edit_colorpicker_init()}function dslc_edit_modules_section_slider(){dslc_row_edit_slider_init()}function dslc_edit_modules_section_scroller(){dslc_row_edit_scrollbar_init()}function dslc_copy_modules_section(e){dslc_row_copy(e)}function dslc_import_modules_section(e){dslc_row_import(e)}function dslc_modules_area_add(e){dslcDebug&&console.log("dslc_add_modules_area"),jQuery("body").addClass("dslca-anim-in-progress"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-area",dslc:"active"},function(s){jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",e.closest(".dslc-modules-section")).stop().animate({width:"100%"},200,"linear",function(){e.css({paddingBottom:0}),jQuery(this).closest(".dslca-modules-area-loading").hide()}),setTimeout(function(){jQuery(s.output).appendTo(e).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),jQuery("body").removeClass("dslca-anim-in-progress")},250)});var s=100*Math.floor(51*Math.random()+50);e.animate({paddingBottom:50},150),jQuery(".dslca-modules-area-loading",e.closest(".dslc-modules-section")).show(),jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",e.closest(".dslc-modules-section")).css({width:0}).animate({width:"100%"},s,"linear")}function dslc_modules_area_delete(e){dslcDebug&&console.log("dslc_delete_modules_area");var s=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=!1;e.addClass("dslca-modules-area-being-deleted"),s.find(".dslc-modules-area").length<2&&(o=!0),e.find(".dslca-module-being-edited").length&&(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")),setTimeout(function(){e.remove(),dslc_generate_code(),dslc_show_publish_button(),o&&dslc_modules_area_add(s)},900),e.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(){e.remove(),dslc_generate_code(),dslc_show_publish_button()})}function dslc_modules_area_copy(e){dslcDebug&&console.log("dslc_copy_modules_area");var s,o=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),d=e.clone().appendTo(o);d.find(".dslca-modules-area-manage").trigger("mouseleave"),d.data("size",e.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 e=jQuery(this);jQuery.ajax({type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(o){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),s=o.output,e.data("module-id",s).attr("id","dslc-module-"+s).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_modules_area_width_set(e,s){dslcDebug&&console.log("dslc_modules_area_width_set");var o="dslc-"+s+"-col";e.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(o).data("size",s),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button(),dslc_masonry()}function dslc_add_modules_area(e){dslc_modules_area_add(e)}function dslc_delete_modules_area(e){dslc_modules_area_delete(e)}function dslc_copy_modules_area(e){dslc_modules_area_copy(e)}function dslc_module_delete(e){dslcDebug&&console.log("dslc_delete_module"),e.addClass("dslca-module-being-deleted"),e.hasClass("dslca-module-being-edited")&&dslc_show_section(".dslca-modules"),setTimeout(function(){e.remove(),dslc_generate_code(),dslc_show_publish_button()},1e3),e.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(){e.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")
|
2 |
})}function dslc_module_copy(e){dslcDebug&&console.log("dslc_copy_module");var s;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-get-new-module-id"},function(o){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),s=o.output,e.clone().appendTo(e.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}).data("module-id",s).attr("id","dslc-module-"+s).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}function dslc_module_width_set(e,s){dslcDebug&&console.log("dslc_module_width_set");var o="dslc-"+s+"-col";e.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(o).data("dslc-module-size",s).addClass("dslca-module-being-edited"),jQuery('.dslca-module-option-front[data-id="dslc_m_size"]',e).val(s),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_module_options_show(e){dslcDebug&&console.log("dslc_module_options_show");var s=jQuery(".dslca-module-being-edited"),o=jQuery(".dslca-module-options-front textarea",s),d=jQuery(".dslca-header").data("default-section"),l={};l.action="dslc-ajax-display-module-options",l.dslc="active",l.dslc_module_id=e,l.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),o.each(function(){var e=jQuery(this),s=e.data("id"),o=e.val();l[s]=o}),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),jQuery.post(DSLCAjax.ajaxurl,l,function(e){jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"}),dslc_show_section(".dslca-module-edit"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(e.output):jQuery(".dslca-module-edit-options-inner .jspPane").html(e.output),jQuery(".dslca-module-edit-options-tabs").html(e.output_tabs),jQuery(".dslca-header .dslca-options-filter-hook").show(),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")):(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(),dslc_module_options_color(),dslc_module_options_numeric();var s=jQuery(".dslca-module-options-front",".dslca-module-being-edited").children().clone();jQuery(".dslca-module-options-front-backup").html("").append(s)})}function dslc_module_options_scrollbar(){dslcDebug&&console.log("dslc_module_options_scrollbar");var e=0;if(jQuery(".dslca-module-edit-option:visible").each(function(){e+=jQuery(this).outerWidth(!0)+1}),jQuery(".dslca-module-edit-options-wrapper").width(e>jQuery(".dslca-module-edit-options").width()?e:"auto"),!jQuery("body").hasClass("rtl")&&jQuery(".dslca-module-edit-options-inner").data("jsp")){var s=jQuery(".dslca-module-edit-options-inner").data("jsp");s.reinitialise()}}function dslc_module_options_section_filter(e){dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+e+'"]').show(),dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(e){dslcDebug&&console.log("dslc_module_options_tab_filter");var s=jQuery(".dslca-options-filter-hook.dslca-active").data("section");e="undefined"!=typeof e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+s+'"]:first');var o=e.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),e.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="'+s+'"]').show(),o&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+o+'"]').show(),dslc_module_options_scrollbar(),dslc_module_options_hideshow_tabs(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),o==DSLCString.str_res_tablet+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet")),o==DSLCString.str_res_phone+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone")),(o==DSLCString.str_res_tablet+"_responsive"||o==DSLCString.str_res_phone+"_responsive")&&(jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})))}function dslc_module_options_hideshow_tabs(){dslcDebug&&console.log("dslc_module_options_hideshow_tabs");var e=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if("styling"==e){var s=(jQuery(".dslca-module-edit"),!0),o=!0,d=!0,l=!0,a=!0,t=!0,i=!0,c=!0,n=!0,r=!0,u=!0,m=!0,p=!0,h=!0,_=!0,y=!0,g=!0,f=!0,b=!0,j=!0,v=!0,Q=!0,k=!0,w=!0,C=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(s=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(l=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(d=!1,l=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(a=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(t=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(i=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(u=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(p=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")||(_=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(f=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(b=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(C=!1),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),r?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():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(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),_?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),b?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),j?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide(),v||Q?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),w?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide(),C?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show():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("DSLC_Text_Simple"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_TP_Content"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_Html"==jQuery(".dslca-module-being-edited").data("dslc-module-id")){var S=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),x=S.find("select").val();"enabled"==x?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-edit-options-tabs").hide(),S.css({visibility:"visible"}))}}else jQuery(".dslca-module-edit-options-tabs").show();"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden"):jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden"):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(e){dslcDebug&&console.log("dslc_module_options_confirm_changes"),e="undefined"!=typeof e?e:!1,jQuery(".dslca-module-being-edited").hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),dslc_module_output_altered(function(){dslc_update_preset(),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),e&&e()})),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(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_module_options_cancel_changes(e){dslcDebug&&console.log("dslc_module_options_cancel_changes"),e="undefined"!=typeof e?e:!1;var s=jQuery(".dslca-module-being-edited"),o=jQuery(".dslca-module-options-front-backup").children().clone();jQuery(".dslca-module-options-front",s).html("").append(o),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),e&&e()}),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(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}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 e=jQuery(".dslca-module-edit-field-ttip"),s=e.find(".dslca-module-edit-field-ttip-inner"),o=jQuery(this),d=o.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html();if(e.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{s.html(d);var l=o.offset(),a=e.outerHeight(),t=e.outerWidth(),i=l.left-t/2+6,c="50%";0>i&&(c=t/2+i+"px",i=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:l.top-a-20,left:i}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+c+" }</style>"))}}),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var e=jQuery(".dslca-module-edit-field-icon-ttip"),s=jQuery(this);if(e.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var o=s.offset(),d=e.outerHeight(),l=e.outerWidth(),a=o.left-l/2+6,t="50%";0>a&&(t=l/2+a+"px",a=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:o.top-d-20,left:a}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+t+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var s=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",s),d=dslcAllFontsArray.indexOf(o.val()),l=d+1;jQuery(".dslca-module-edit-field-font-suggest",s).text(""),o.val(dslcAllFontsArray[l]).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(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var s=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",s),d=dslcAllFontsArray.indexOf(o.val()),l=d-1;jQuery(".dslca-module-edit-field-font-suggest",s).text(""),0>l&&(l=dslcAllFontsArray.length-1),o.val(dslcAllFontsArray[l]).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(e){var s,o,d,l,a=!1;if(s=jQuery(this),o=s.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-font-prev",o).click(),40==e.which&&jQuery(".dslca-module-edit-field-font-next",o).click(),13!=e.which&&38!=e.which&&40!=e.which){d=s.val();var t=new RegExp("^"+d,"i"),i=dslcAllFontsArray.length,c=0;do{if(t.test(dslcAllFontsArray[c])&&!a)var a=dslcAllFontsArray[c];c++}while(i>c);a?(l=a,jQuery(".dslca-module-edit-field-font-suggest",o).show()):(l=d,jQuery(".dslca-module-edit-field-font-suggest",o).hide()),jQuery(".dslca-module-edit-field-font-suggest",o).text(l),l.length&&s.val(l.substring(0,s.val().length))}}),jQuery(document).on("keypress",".dslca-module-edit-field-font",function(e){if(13==e.which){e.preventDefault();var s,o;s=jQuery(this),o=s.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",o).text("")}})}function dslc_module_options_icon(){jQuery(document).on("click",".dslca-module-edit-field-icon-next",function(e){e.preventDefault();var s=jQuery(this).closest(".dslca-module-edit-option-icon"),o=jQuery(".dslca-module-edit-field-icon",s),d=dslcFontAwesomeArray.indexOf(o.val()),l=d+1;jQuery(".dslca-module-edit-field-icon-suggest",s).text(""),o.val(dslcFontAwesomeArray[l]).trigger("change")}),jQuery(document).on("click",".dslca-module-edit-field-icon-prev",function(e){e.preventDefault();var s=jQuery(this).closest(".dslca-module-edit-option-icon"),o=jQuery(".dslca-module-edit-field-icon",s),d=dslcFontAwesomeArray.indexOf(o.val()),l=d-1;jQuery(".dslca-module-edit-field-icon-suggest",s).text(""),0>l&&(l=dslcFontAwesomeArray.length-1),o.val(dslcFontAwesomeArray[l]).trigger("change")}),jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(e){var s,o,d,l,a;s=jQuery(this),o=s.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-icon-prev",o).click(),40==e.which&&jQuery(".dslca-module-edit-field-icon-next",o).click(),13!=e.which&&38!=e.which&&40!=e.which&&(d=s.val().toLowerCase(),s.val(d),l=jQuery.grep(dslcFontAwesomeArray,function(e){return 0==e.indexOf(d)}),a=l[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(a))}),jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(e){if(13==e.which){e.preventDefault();var s,o;s=jQuery(this),o=s.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",o).text("")}})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var e=jQuery(this),s=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),o=e.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");s.removeClass("dslca-active"),e.addClass("dslca-active"),d.val(o).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 e=jQuery(this),s=e.siblings('input[type="checkbox"]');s.prop("checked")?(s.prop("checked",!1),e.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(s.prop("checked",!0),e.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),s.change()})}function dslc_module_options_color(){dslcDebug&&console.log("dslc_module_options_color");var e,s,o,d,l,a,t,i,c,n=[];if(n[0]=[],n[1]=[],n[2]=[],n[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(i=JSON.parse(localStorage.dslcColorpickerPalleteStorage),c=0;c<i.length;c++){var r=Math.floor(c/3);4>r&&n[r].push(i[c])}jQuery(".dslca-module-edit-field-colorpicker").each(function(){t=jQuery(this).val(),jQuery(this).spectrum({color:t,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:n,move:function(t){e=jQuery(this),d=null==t?"transparent":t.toRgbString(),e.val(d),s=e.data("affect-on-change-el"),o=e.data("affect-on-change-rule"),jQuery(s,".dslca-module-being-edited").css(o,d),l=jQuery(".dslca-module-being-edited"),a=e.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',l).val(d),l.addClass("dslca-module-change-made")},change:function(t){if(e=jQuery(this),d=null==t?"transparent":t.toRgbString(),e.val(d),s=e.data("affect-on-change-el"),o=e.data("affect-on-change-rule"),jQuery(s,".dslca-module-being-edited").css(o,d),l=jQuery(".dslca-module-being-edited"),a=e.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',l).val(d),l.addClass("dslca-module-change-made"),void 0==localStorage.dslcColorpickerPalleteStorage){var i=[d];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(i)}else{var i=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==i.indexOf(d)&&i.unshift(d),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(i)}},show:function(){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})}),jQuery(".dslca-sp-revert").click(function(){var e=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(e).trigger("change")})}function dslc_module_options_numeric(){dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(".dslca-module-edit-field-slider").each(function(){var e,s,o,d,l,a,t,i,c,n,r;e=jQuery(this),s=e.siblings(".dslca-module-edit-field"),a=e.closest(".dslca-module-edit-option-slider").find(".dslca-module-edit-field-slider-tooltip"),e.slider({min:s.data("min"),max:s.data("max"),step:s.data("increment"),value:s.val(),slide:function(u,m){n=s.data("ext"),o=m.value+n,s.val(o),l=s.data("affect-on-change-el"),d=s.data("affect-on-change-rule"),r=d.split(",");for(var p=0;p<r.length;p++)jQuery(l,".dslca-module-being-edited").css(r[p],o);i=jQuery(".dslca-module-being-edited"),c=s.data("id"),jQuery('.dslca-module-option-front[data-id="'+c+'"]',i).val(m.value),i.addClass("dslca-module-change-made"),a.text(o);var h=e.find(".ui-slider-handle");t=h[0].style.left,a.css({left:t}),dslc_masonry(i),dslc_init_square(),dslc_center(),dslc_init_square(i)},stop:function(){a.hide()},start:function(e,s){a.show(),a.text(o),t=s.handle.style.left,a.css({left:t})}})})}function dslc_module_output_default(e,s){dslcDebug&&console.log("dslc_module_output_default"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:e,dslc_post_id:jQuery(".dslca-container").data("post-id")},function(e){s(e)})}function dslc_module_output_altered(e){dslcDebug&&console.log("dslc_module_output_altered"),e="undefined"!=typeof e?e:!1;var s=jQuery(".dslca-module-being-edited"),o=s.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",s),l=s.data("module-id"),a={};a.action="dslc-ajax-add-module",a.dslc="active",a.dslc_module_id=o,a.dslc_module_instance_id=l,a.dslc_post_id=jQuery(".dslca-container").data("post-id"),a.dslc_preload_preset=s.hasClass("dslca-preload-preset")?"enabled":"disabled",s.removeClass("dslca-preload-preset"),d.each(function(){var e=jQuery(this),s=e.data("id"),o=e.val();a[s]=o}),jQuery.post(DSLCAjax.ajaxurl,a,function(o){s.after(o.output).next().addClass("dslca-module-being-edited"),s.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),e&&e(o)})}function dslc_module_output_reload(e,s){dslcDebug&&console.log("dslc_module_output_reload"),s="undefined"!=typeof s?s:!1;var o=e.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",e),l=e.data("module-id"),a={};a.action="dslc-ajax-add-module",a.dslc="active",a.dslc_module_id=o,a.dslc_module_instance_id=l,a.dslc_post_id=jQuery(".dslca-container").data("post-id"),a.dslc_preload_preset="enabled",e.removeClass("dslca-preload-preset"),d.each(function(){var e=jQuery(this),s=e.data("id"),o=e.val();a[s]=o}),e.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,a,function(o){e.after(o.output).next().addClass("dslca-module-being-edited"),e.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),s&&s(o),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_delete_module(e){dslc_module_delete(e)}function dslc_copy_module(e){dslc_module_copy(e)}function dslc_display_module_options(e){dslc_module_options_show(e)}function dslc_filter_module_options(e){dslc_module_options_section_filter(e)}function dslc_show_module_options_tab(e){dslc_module_options_tab_filter(e)}function dslc_confirm_changes(e){dslc_module_options_confirm_changes(e)}function dslc_cancel_changes(e){dslc_module_options_cancel_changes(e)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_init_options_scrollbar(){dslc_module_options_scrollbar()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}function dslc_get_module_output(e,s){dslc_module_output_default(e,s)}function dslc_preview_change(e){dslc_module_output_altered(e)}function dslc_reload_module(e,s){dslc_module_output_reload(e,s)}function dslc_template_load(e){dslcDebug&&console.log("dslc_load_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:e},function(e){jQuery("#dslc-main").html(e.output),dslc_carousel(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_import(){dslcDebug&&console.log("dslc_import_template");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(e){jQuery("#dslc-main").html(e.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"),dslc_bg_video(),dslc_center(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_save(){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(){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(e){dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:e},function(){jQuery('.dslca-template[data-id="'+e+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(e){dslc_template_load(e)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(e){dslc_template_delete(e)}function dslc_save_composer(){dslcDebug&&console.log("dslc_save_composer");var e=jQuery("#dslca-code").val(),s=jQuery("#dslca-content-for-search").val(),o=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.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:o,dslc_code:e,dslc_content_for_search:s},function(e){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),"success"==e.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250)):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){dslcDebug&&console.log("dslc_save_draft_composer");var e=jQuery("#dslca-code").val(),s=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:s,dslc_code:e},function(e){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==e.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")
|
3 |
-
})}function dslc_generate_code(){dslcDebug&&console.log("dslc_generate_code");var e,s,o,d,l,a,t,i="",c=12,n=12,r=0,u=0,m="";jQuery("#dslc-main .dslc-modules-area").each(function(){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()):(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").each(function(){jQuery(".dslc-modules-area",this).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}),jQuery("#dslc-main .dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-modules-section").each(function(){u=0,t=jQuery(this),m="",jQuery(".dslca-modules-section-settings input",t).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),i=i+"[dslc_modules_section "+m+"] ",jQuery(".dslc-modules-area",t).each(function(){d=jQuery(this),o=parseInt(d.data("size")),l="no",a="no",u+=o,u==n?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),u=0,l="yes"):u>n&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),u=o,a="yes"),u==o&&(a="yes"),i=i+'[dslc_modules_area last="'+l+'" first="'+a+'" size="'+o+'"] ',jQuery(".dslc-module-front",d).each(function(){s=parseInt(jQuery(this).data("dslc-module-size"));var o="no",d="no";r+=s,r==c?(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),r=0,o="yes"):r>c&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),r=s,d="yes"),r==c&&(d="yes",jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),r=0),e=jQuery(this).find(".dslca-module-code").val(),i=i+'[dslc_module last="'+o+'"]'+e+"[/dslc_module] "}),i+="[/dslc_modules_area] "}),i+="[/dslc_modules_section] "}),jQuery("#dslca-code").val(i),jQuery("#dslca-export-code").val(i),dslca_gen_content_for_search()}function dslc_generate_section_code(e){dslcDebug&&console.log("dslc_generate_section_code");var s,o,d,l,a,t,i,c="",n=12,r=0,u=0,m="";u=0;var i=e;return jQuery(".dslca-modules-section-settings input",i).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),c=c+"[dslc_modules_section "+m+"] ",jQuery(".dslc-modules-area",i).each(function(){l=jQuery(this),d=parseInt(l.data("size")),a="no",t="no",u+=d,u==n?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),u=0,a="yes"):u>n&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),u=d,t="yes"),u==d&&(t="yes"),c=c+'[dslc_modules_area last="'+a+'" first="'+t+'" size="'+d+'"] ',jQuery(".dslc-module-front",l).each(function(){o=parseInt(jQuery(this).data("dslc-module-size")),r+=o,r==d&&(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),r=0),s=jQuery(this).find(".dslca-module-code").val(),c=c+"[dslc_module]"+s+"[/dslc_module] "}),c+="[/dslc_modules_area] "}),c+="[/dslc_modules_section] "}function dslc_update_preset(){dslcDebug&&console.log("dslc_update_preset");var e=jQuery(".dslca-module-being-edited"),s=e.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),o=e.find(".dslca-module-code").val(),d=e.data("dslc-module-id");"none"!==s&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:s,dslc_preset_code:o,dslc_module_id:d},function(){jQuery(".dslc-module-front:not(#"+e.attr("id")+')[data-dslc-module-id="'+e.data("dslc-module-id")+'"][data-dslc-preset="'+e.data("dslc-preset")+'"]').each(function(){dslc_module_output_reload(jQuery(this))})})}function dslc_dm_get_defaults(e){dslcDebug&&console.log("dslc_dm_get_defaults");var s=e.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:s},function(e){jQuery(".dslca-prompt-modal textarea").val(e.output)})}function dslca_gen_content_for_search(){dslcDebug&&console.log("dslca_gen_content_for_search");var e=jQuery("#dslca-content-for-search"),s=e.val(),o="";jQuery("#dslc-main .dslca-editable-content").each(function(){o+=jQuery(this).text().replace(/\s+/g," ").trim()+" "}),e.val(o),s!==o&&dslc_show_publish_button()}function dslca_draggable_calc_center(e){dslcDebug&&console.log("dslca_draggable_calc_center"),jQuery(".dslc-modules-section-inner").sortable("option","cursorAt",{top:e.outerHeight()/2,left:e.outerWidth()/2})}function dslc_editable_content_gen_code(e){dslcDebug&&console.log("dslc_editable_content_gen_code");var s,o,d;s=e.closest(".dslc-module-front"),o=e.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),d=e.data("id"),jQuery('.dslca-module-option-front[data-id="'+d+'"]',s).val(o),dslc_show_publish_button()}var dslcRegularFontsArray=["Georgia","Times","Arial","Lucida Sans Unicode","Tahoma","Trebuchet MS","Verdana","Helvetica"],dslcGoogleFontsArray=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Anaheim","Andada","Andika","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Asap","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Baumans","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Bitter","Black Ops One","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Caudex","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dawning of a New Day","Days One","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","Eagle Lake","Eater","EB Garamond","Economica","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fauna One","Federant","Federo","Felipa","Fenix","Finger Paint","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Fresca","Frijole","Fruktur","Fugaz One","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","GFS Didot","GFS Neohellenic","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Habibi","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Holtwood One SC","Homemade Apple","Homenaje","Iceberg","Iceland","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Imprima","Inconsolata","Inder","Indie Flower","Inika","Irish Grover","Istok Web","Italiana","Italianno","Jacques Francois","Jacques Francois Shadow","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kameron","Karla","Kaushan Script","Kavoon","Keania One","Kelly Slab","Kenia","Kite One","Knewave","Kotta One","Kranky","Kreon","Kristi","Krona One","La Belle Aurore","Lancelot","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","Pacifico","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Port Lligat Sans","Port Lligat Slab","Prata","Press Start 2P","Princess Sofia","Prociono","Prosto One","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Raleway","Raleway Dots","Rambla","Rammetto One","Ranchers","Rancho","Rationale","Redressed","Reenie Beanie","Revalia","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sail","Salsa","Sanchez","Sancreek","Sansita One","Sarina","Satisfy","Scada","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sunshiney","Supermercado One","Swanky and Moo Moo","Syncopate","Tangerine","Tauri","Telex","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","Vampiro One","Varela","Varela Round","Vast Shadow","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","VT323","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Yanone Kaffeesatz","Yellowtail","Yeseva One","Yesteryear","Zeyada"],dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray),dslcFontAwesomeArray=["adjust","adn","align-center","align-justify","align-left","align-right","ambulance","anchor","android","angellist","angle-down","angle-left","angle-right","angle-up","apple","archive","area-chart","arrow-circle-left","arrow-circle-right","arrow-down","arrow-left","arrow-right","arrow-up","asterisk","at","automobile","backward","ban-circle","bank","bar-chart","barcode","beaker","bed","beer","behance","behance-square","bell","bell-alt","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","bitbucket","bitbucket-sign","bitcoin","bold","bolt","bomb","book","bookmark","bookmark-empty","briefcase","btc","bug","building","building","bullhorn","bullseye","bus","buysellads","cab","calculator","calendar","calendar-empty","camera","camera-retro","car","caret-down","caret-left","caret-right","caret-square-left","caret-up","cart-arrow-down","cart-plus","cc","cc-amex","cc-discover","cc-mastercard","cc-paypal","cc-stripe","cc-visa","certificate","check","check-empty","check-minus","check-sign","chevron-down","chevron-left","chevron-right","chevron-sign-down","chevron-sign-left","chevron-sign-right","chevron-sign-up","chevron-up","child","circle","circle-arrow-down","circle-arrow-left","circle-arrow-right","circle-arrow-up","circle-blank","circle-o-notch","circle-thin","cloud","cloud-download","cloud-upload","cny","code","code-fork","codepen","coffee","cog","cogs","collapse","collapse-alt","collapse-top","columns","comment","comment-alt","comments","comments-alt","compass","connectdevelop","copy","copyright","credit-card","crop","css3","cube","cubes","cut","dashboard","dashcube","database","delicious","desktop","deviantart","diamond","digg","dollar","dot-circle","double-angle-down","double-angle-left","double-angle-right","double-angle-up","download","download-alt","dribbble","dropbox","drupal","edit","edit-sign","eject","ellipsis-horizontal","ellipsis-vertical","empire","envelope","envelope-alt","envelope-square","eraser","eur","euro","exchange","exclamation","exclamation-sign","expand","expand-alt","external-link","external-link-sign","eye-close","eye-open","eyedropper","facebook","facebook-official","facebook-sign","facetime-video","fast-backward","fast-forward","fax","female","fighter-jet","file","file-alt","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o","file-pdf-o","file-photo-o","file-picture-o","file-powerpoint-o","file-sound-o","file-text","file-text-alt","file-video-o","file-word-o","file-zip-o","film","filter","fire","fire-extinguisher","flag","flag-alt","flag-checkered","flickr","folder-close","folder-close-alt","folder-open","folder-open-alt","font","food","forumbee","forward","foursquare","frown","fullscreen","futbol-o","gamepad","gbp","ge","gear","gears","gift","git","git-square","github","github-alt","github-sign","gittip","glass","globe","google","google-plus","google-plus-sign","google-wallet","graduation-cap","group","h-sign","hacker-news","hand-down","hand-left","hand-right","hand-up","hdd","header","headphones","heart","heart-empty","heartbeat","history","home","hospital","hotel (alias)","html5","ils","inbox","indent-left","indent-right","info","info-sign","inr","instagram","institution","ioxhost","italic","joomla","jpy","jsfiddle","key","keyboard","krw","language","laptop","lastfm","lastfm-square","leaf","leanpub","legal","lemon","level-down","level-up","life-bouy","life-ring","life-saver","lightbulb","line-chart","link","linkedin","linkedin-sign","linux","list","list-alt","list-ol","list-ul","location-arrow","lock","long-arrow-down","long-arrow-left","long-arrow-right","long-arrow-up","magic","magnet","mail-forward","mail-reply","mail-reply-all","male","map-marker","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","maxcdn","meanpath","medium","medkit","meh","mercury","microphone","microphone-off","minus","minus-sign","minus-sign-alt","mobile-phone","money","moon","mortar-board","motorcycle","move","music","neuter","newspaper-o","off","ok","ok-circle","ok-sign","openid","pagelines","paint-brush","paper-clip","paper-plane","paper-plane-o","paperclip","paragraph","paste","pause","paw","paypal","pencil","phone","phone-sign","picture","pie-chart","pied-piper","pied-piper-alt","pied-piper-square","pinterest","pinterest-p","pinterest-sign","plane","play","play-circle","play-sign","plug","plus","plus-sign","plus-sign-alt","power-off","print","pushpin","puzzle-piece","qq","qrcode","question","question-sign","quote-left","quote-right","ra","random","rebel","recycle","reddit","reddit-square","refresh","remove","remove-circle","remove-sign","renminbi","renren","reorder","repeat","reply","reply-all","resize-full","resize-horizontal","resize-small","resize-vertical","retweet","road","rocket","rotate-left","rotate-right","rouble","rss","rss-sign","rupee","save","screenshot","search","sellsy","send","send-o","server","share","share-alt","share-alt","share-alt-square","share-sign","shield","ship","shirtsinbulk","shopping-cart","sign-blank","signal","signin","signout","simplybuilt","sitemap","skyatlas","skype","slack","sliders","slideshare","smile","sort","sort-by-alphabet","sort-by-alphabet-alt","sort-by-attributes","sort-by-attributes-alt","sort-by-order","sort-by-order-alt","sort-down","sort-up","soundcloud","space-shuttle","spinner","spoon","spotify","stack-exchange","stackexchange","star","star-empty","star-half","star-half-empty","star-half-full","steam","steam-square","step-backward","step-forward","stethoscope","stop","street-view","strikethrough","stumbleupon","stumbleupon-circle","subscript","subway","suitcase","sun","superscript","support","table","tablet","tag","tags","tasks","taxi","tencent-weibo","terminal","text-height","text-width","th","th-large","th-list","thumbs-down","thumbs-down-alt","thumbs-up","thumbs-up-alt","ticket","time","tint","toggle-off","toggle-on","train","transgender","transgender-alt","trash","trash","tree","trello","trophy","truck","tty","tumblr","tumblr-sign","turkish-lira","twitch","twitter","twitter-sign","umbrella","unchecked","underline","undo","university","unlink","unlock","unlock-alt","upload","upload-alt","usd","user","user-md","user-plus","user-secret","user-times","venus","venus-double","venus-mars","viacoin","vimeo-square","vine","vk","volume-down","volume-off","volume-up","warning-sign","wechat","weibo","weixin","whatsapp","wheelchair","wifi","windows","won","wordpress","wrench","xing","xing-sign","yahoo","yelp","yen","youtube","youtube-play","youtube-sign","zoom-in","zoom-out"],dslcDebug=!1;jQuery(document).ready(function(e){jQuery("body").hasClass("rtl")||jQuery(".dslca-module-edit-options-inner").jScrollPane(),e("body").addClass("dslca-enabled dslca-drag-not-in-progress"),e(".dslca-invisible-overlay").hide(),e(".dslca-section").eq(0).show(),dslc_drag_and_drop(),dslc_generate_code(),e(document).on("click",".dslca-hide-composer-hook",function(){dslc_hide_composer()}),e(document).on("click",".dslca-show-composer-hook",function(){dslc_show_composer()}),e(document).on("click",".dslca-go-to-modules-hook",function(e){e.preventDefault(),dslc_show_section(".dslca-modules")}),e(document).on("click",".dslca-go-to-section-hook",function(s){s.preventDefault();var o=e(this).data("section");dslc_show_section(o),e(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}),e(document).on("click",".dslca-close-composer-hook",function(s){s.preventDefault(),e("body").hasClass("dslca-saving-in-progress")||dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_exit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_exit_descr+"</span>",e(this).attr("href"))}),e(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()}),e(document).on("click",".dslca-section-title",function(s){s.stopPropagation(),e(".dslca-section-title-filter",this).length&&(dslc_generate_filters(),e(".dslca-section-title-filter-options").slideToggle(300))}),e(document).on("click",".dslca-section-title-filter-options span",function(s){s.stopPropagation();var o=e(this).data("origin"),d=e(this).closest(".dslca-section");e(".dslca-section-title-filter-curr",d).text(d.hasClass("dslca-templates-load")?e(this).text()+" TEMPLATES":e(this).text()+" MODULES"),e(".dslca-section-scroller-inner").css({left:0}),dslc_filter_origin(o,d)})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-section-scroller-prev",function(s){s.preventDefault(),dslc_scroller_prev(e(this).closest(".dslca-section").find(".dslca-section-scroller"))}),e(document).on("click",".dslca-section-scroller-next",function(s){s.preventDefault(),dslc_scroller_next(e(this).closest(".dslca-section").find(".dslca-section-scroller"))})}),jQuery(window).load(function(){dslc_scroller_init(),jQuery(window).resize(function(){dslc_scroller_init()})}),jQuery(document).ready(function(){dslc_ui_animations()}),jQuery(document).ready(function(e){e(document).on("click",".dslca-open-modal-hook",function(){var s=e(this).data("modal");dslc_show_modal(e(this),s)}),e(document).on("click",".dslca-close-modal-hook",function(){if(!e(this).hasClass("dslca-action-disabled")){var s=e(this).data("modal");dslc_hide_modal(e(this),s)}})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-prompt-modal-cancel-hook",function(e){e.preventDefault();var s=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==s&&dslc_module_options_cancel_changes(function(){o.trigger("click")}),dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),e(document).on("click",".dslca-prompt-modal-confirm-hook",function(s){s.preventDefault();var o=jQuery(".dslca-prompt-modal").data("id"),d=jQuery(".dslca-prompt-modal").data("target"),l=!0;if("edit_in_progress"==o)dslc_module_options_confirm_changes(function(){d.trigger("click")});else if("disable_lc"==o)window.location=d;else if("delete_module"==o){var a=d.closest(".dslc-module-front");dslc_delete_module(a)}else if("delete_modules_area"==o){var t=d.closest(".dslc-modules-area");dslc_modules_area_delete(t)}else"delete_modules_section"==o?dslc_row_delete(d.closest(".dslc-modules-section")):"export_modules_section"==o||"import_modules_section"==o&&(dslc_row_import(e(".dslca-prompt-modal textarea").val()),e(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),e(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),l=!1);l&&dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),e(window).on("keydown",function(s){13==s.which?e(".dslca-prompt-modal-active").length&&e(".dslca-prompt-modal-confirm-hook").trigger("click"):27==s.which&&e(".dslca-prompt-modal-active").length&&e(".dslca-prompt-modal-cancel-hook").trigger("click")})}),jQuery(document).ready(function(e){dslc_row_edit_colorpicker_init(),dslc_row_edit_slider_init(),e("#dslc-main .dslc-modules-section").length||e("#dslca-tut-page").length||dslc_row_add(),e(document).on("click",".dslca-add-modules-section-hook",function(){e(this).hasClass("dslca-action-disabled")||dslc_row_add()}),e(document).on("click",".dslca-edit-modules-section-hook",function(){e(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-module-being-edited.dslca-module-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",jQuery(this)):jQuery(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",jQuery(this)):dslc_row_edit(e(this).closest(".dslc-modules-section")))}),e(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm(),e(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),e(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel(),e(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),e(document).on("click",".dslca-copy-modules-section-hook",function(){e(this).hasClass("dslca-action-disabled")||dslc_row_copy(e(this).closest(".dslc-modules-section"))}),e(document).on("click",".dslca-import-modules-section-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||(e(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span><span>'+DSLCString.str_import+'</span><div class="dslca-loading followingBallsGWrap"><div class="followingBallsG_1 followingBallsG"></div><div class="followingBallsG_2 followingBallsG"></div><div class="followingBallsG_3 followingBallsG"></div><div class="followingBallsG_4 followingBallsG"></div></div>'),dslc_js_confirm("import_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_import_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_import_row_descr+" <br><br><textarea></textarea></span>",e(this)))}),e(document).on("click",".dslca-delete-modules-section-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_row_descr+"</span>",e(this))}),e(document).on("click",".dslca-export-modules-section-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||(e(".dslca-prompt-modal-cancel-hook").hide(),e(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),dslc_js_confirm("export_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_export_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_export_row_descr+" <br><br><textarea></textarea></span>",e(this)),e(".dslca-prompt-modal textarea").val(dslc_generate_section_code(e(this).closest(".dslc-modules-section"))))})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-add-modules-area-hook",function(e){e.preventDefault(),dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}),e(document).on("click",".dslca-delete-modules-area-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_area",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_area_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_area_descr+"</span>",e(this))}),e(document).on("click",".dslca-copy-modules-area-hook",function(s){if(s.preventDefault(),!e(this).hasClass("dslca-action-disabled")){var o=e(this).closest(".dslc-modules-area");dslc_copy_modules_area(o)}}),e(document).on("click",".dslca-change-width-modules-area-options span",function(){e(this).hasClass("dslca-action-disabled")||dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}),e(document).on("click",".dslca-change-width-modules-area-hook",function(s){if(s.preventDefault(),!e(this).hasClass("dslca-action-disabled"))if(e(".dslca-change-width-modules-area-options:visible",this).length)e(".dslca-change-width-modules-area-options",this).hide();else{e(".dslca-change-width-modules-area-options .dslca-active-width").removeClass("dslca-active-width");var o=e(this).closest(".dslc-modules-area").data("size");e('.dslca-change-width-modules-area-options span[data-size="'+o+'"]').addClass("dslca-active-width"),e(".dslca-change-width-modules-area-options",this).show()}})}),jQuery(document).ready(function(e){dslc_module_options_tooltip(),dslc_module_options_font(),dslc_module_options_icon(),dslc_module_options_text_align(),dslc_module_options_checkbox(),e(".dslca-module-edit-form").submit(function(e){e.preventDefault(),dslc_module_output_altered()}),e(document).on("click",".dslca-copy-module-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_module_copy(e(this).closest(".dslc-module-front"))}),e(document).on("click",".dslca-delete-module-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_module",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_module_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_module_descr+"</span>",e(this))}),e(document).on("click",".dslca-change-width-module-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||(e(".dslca-change-width-module-options",this).toggle(),e(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-change-width-active"))}),e(document).on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))}),e(document).on("click",".dslca-module-edit-hook",function(s){if(s.preventDefault(),!e("body").hasClass("dslca-composer-hidden"))if(e(".dslca-module-being-edited.dslca-module-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",e(this));else if(e(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",e(this));else{e(".dslca-modules-section-being-edited").length&&e(".dslca-module-edit-cancel").trigger("click");{var o=e(this).closest(".dslc-module-front"),d=o.data("dslc-module-id");o.find(".dslca-module-code").val()}e(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),o.addClass("dslca-module-being-edited"),dslc_module_options_show(d)}}),e(document).on("click",".dslca-module-edit-options-tab-hook",function(){dslc_module_options_tab_filter(e(this))
|
4 |
-
}),e(document).on("click",".dslca-options-filter-hook",function(){var s=jQuery(".dslca-options-filter-hook.dslca-active").data("section");e(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),e(this).addClass("dslca-active"),dslc_module_options_section_filter(jQuery(this).data("section")),"responsive"==s&&(jQuery(".dslca-container-loader").show(),dslc_responsive_classes(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()}))}),e(document).on("click",".dslca-module-edit-save",function(){dslc_module_options_confirm_changes(),e(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),e(document).on("click",".dslca-module-edit-cancel",function(){dslc_module_options_cancel_changes(),e(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-template",function(){dslc_template_load(jQuery(this).data("id"))}),e(".dslca-template-import-form").submit(function(e){e.preventDefault(),dslc_template_import()}),e(".dslca-template-save-form").submit(function(e){e.preventDefault(),dslc_template_save()}),e(document).on("click",".dslca-delete-template-hook",function(s){s.stopPropagation(),dslc_template_delete(e(this).data("id"))})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-save-composer-hook",function(){e("body").hasClass("dslca-module-saving-in-progress")||e("body").hasClass("dslca-saving-in-progress")||dslc_save_composer()}),e(document).on("click",".dslca-save-draft-composer-hook",function(){e("body").hasClass("dslca-module-saving-in-progress")||e("body").hasClass("dslca-saving-in-progress")||dslc_save_draft_composer()})}),jQuery(document).ready(function(e){e(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(s){if(13==s.which){var o=e(this).val(),d=o.toLowerCase().replace(/\s/g,"-");e("body").addClass("dslca-new-preset-added"),e('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change"),e(this).val("")}}),e(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(){e(".dslca-module-being-edited").addClass("dslca-preload-preset")})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-module-get-defaults-hook",function(){var s=jQuery(this).closest(".dslc-module-front"),o=(dslc_dm_get_defaults(s),'<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>');e(".dslca-prompt-modal-cancel-hook").hide(),e(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK'),dslc_js_confirm("dev_mode_get_default",o,s)}),e(document).on("click","a:not(.dslca-link)",function(e){e.preventDefault()}),e(document).unbind("keydown").bind("keydown",function(s){var o=!1;if(8===s.keyCode){var d=s.srcElement||s.target;o="INPUT"===d.tagName.toUpperCase()&&("TEXT"===d.type.toUpperCase()||"PASSWORD"===d.type.toUpperCase()||"FILE"===d.type.toUpperCase())||"TEXTAREA"===d.tagName.toUpperCase()||e(d).hasClass("dslca-editable-content")||e(d).hasClass("dslc-tabs-nav-hook-title")||e(d).hasClass("dslc-accordion-title")?d.readOnly||d.disabled:!0}o&&s.preventDefault()}),e(document).on("keydown",function(e){116==(e.which||e.keyCode)&&(jQuery(".dslca-save-composer-hook").is(":visible")||jQuery(".dslca-module-edit-save").is(":visible"))&&(e.preventDefault(),dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_refresh_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_refresh_descr+"</span>",document.URL))}),e(document).on("mouseenter",".dslc-hf-block-overlay",function(){e(this).stop().animate({opacity:1},300)}).on("mouseleave",".dslc-hf-block-overlay",function(){e(this).stop().animate({opacity:0},300)}),e(document).on("click",".dslca-refresh-module-hook",function(){e(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"}),e(this).closest(".dslc-module-front").addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){e(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})})}),window.onbeforeunload=function(){},jQuery(document).ready(function(e){e(document).on("change",".dslca-modules-section-edit-field",function(){var s,o,d,l,a,t,i,c;if(s=e(this),o=s.data("id"),l=s.val(),a=l,t=s.data("css-rule"),d=e(".dslca-modules-section-being-edited"),c=d,i=e('.dslca-modules-section-settings input[data-id="'+o+'"]',d),d.addClass("dslca-modules-section-change-made"),s.hasClass("dslca-modules-section-edit-field-upload")&&l&&l.length&&(l=s.data("dslca-img-url")),"background-image"==t&&(l='url("'+l+'")',dslc_bg_video()),"bg_image_attachment"==o&&d.removeClass("dslc-init-parallax"),"border-top"==o||"border-right"==o||"border-bottom"==o||"border-left"==o){var n=e('.dslca-modules-section-settings input[data-id="border_style"]').val();i=e('.dslca-modules-section-settings input[data-id="border"]',d),a="";var r=s.closest(".dslca-modules-section-edit-option-checkbox-wrapper");r.find(".dslca-modules-section-edit-field-checkbox").each(function(){e(this).is(":checked")&&("border-top"==e(this).data("id")?a+="top ":"border-right"==e(this).data("id")?a+="right ":"border-bottom"==e(this).data("id")?a+="bottom ":"border-left"==e(this).data("id")&&(a+="left "))}),s.is(":checked")?"border-top"==s.data("id")?d.css({"border-top-style":n}):"border-right"==s.data("id")?d.css({"border-right-style":n}):"border-bottom"==s.data("id")?d.css({"border-bottom-style":n}):"border-left"==s.data("id")&&d.css({"border-left-style":n}):"border-top"==s.data("id")?d.css({"border-top-style":"hidden"}):"border-right"==s.data("id")?d.css({"border-right-style":"hidden"}):"border-bottom"==s.data("id")?d.css({"border-bottom-style":"hidden"}):"border-left"==s.data("id")&&d.css({"border-left-style":"hidden"})}else if(s.hasClass("dslca-modules-section-edit-field-checkbox")){var u=e(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),m="";u.each(function(){e(this).prop("checked")&&(m+=e(this).data("val")+" ")});var a=m;"show_on"==s.data("id")&&(console.log(m),-1!==m.indexOf("desktop")?e(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-desktop"):e(".dslca-modules-section-being-edited").addClass("dslc-hide-on-desktop"),-1!==m.indexOf("tablet")?e(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-tablet"):e(".dslca-modules-section-being-edited").addClass("dslc-hide-on-tablet"),-1!==m.indexOf("phone")?e(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-phone"):e(".dslca-modules-section-being-edited").addClass("dslc-hide-on-phone"))}else if("bg_image_attachment"==o&&"parallax"==l||"type"==o)"bg_image_attachment"==o?(d.addClass("dslc-init-parallax"),dslc_parallax()):"type"==o&&("full"==l?d.addClass("dslc-full"):d.removeClass("dslc-full"),dslc_masonry());else if("columns_spacing"==o)"nospacing"==l?d.addClass("dslc-no-columns-spacing"):d.removeClass("dslc-no-columns-spacing");else if("custom_class"==o);else if("custom_id"==o);else if("bg_video"==o){if(jQuery(".dslc-bg-video video",d).remove(),l&&l.length){var p=l;p=p.replace(".webm",""),p=p.replace(".mp4",""),jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+p+'.mp4" /><source type="video/webm" src="'+p+'.webm" /></video>'),dslc_bg_video()}}else if("bg_image_thumb"==o)if("enabled"==a){if(jQuery("#dslca-post-data-thumb").length){var h="url('"+jQuery("#dslca-post-data-thumb").val()+"')";c.css(t,h)}}else"disabled"==a&&c.css(t,"none");else s.data("css-element")&&(c=jQuery(s.data("css-element"),d)),c.css(t,l);i.val(a),dslc_generate_code(),dslc_show_publish_button()}),jQuery(document).on("blur",".dslca-editable-content",function(){jQuery("body").hasClass("dslca-composer-hidden")||"simple"!=jQuery(this).data("type")||dslc_editable_content_gen_code(jQuery(this))}).on("paste",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&"simple"==jQuery(this).data("type")){var e=jQuery(this);setTimeout(function(){"simple"==e.data("type")&&e.html(e.text()),dslc_editable_content_gen_code(jQuery(this))},1)}}).on("focus",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&(jQuery("body").hasClass("dslca-composer-hidden")?e(this).trigger("blur"):jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"))}).on("keyup",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}),e(document).on("blur",".dslc-editable-area",function(){var s=e(this).closest(".dslc-module-front"),o=e(this).data("dslc-option-id"),d=e(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+o+'"]',s).val(d),dslc_module_output_altered()}),e(document).on("change",".dslca-module-edit-field",function(){dslc_module_options_hideshow_tabs();{var s="",o="",d=e(this),l=d.data("id"),a=d.closest(".dslca-module-edit-option"),t=e(".dslca-module-being-edited"),i=t.data("dslc-module-id");jQuery(".dslca-module-options-front textarea",t)}if(t.addClass("dslca-module-change-made"),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(a.find(".dslca-module-edit-option-checkbox-wrapper").length){var c=e('input[type="checkbox"]',a);c.each(function(){e(this).prop("checked")&&(s=s+e(this).val()+" ")})}else if(d.hasClass("dslca-module-edit-option-radio"))var s=e(".dslca-module-edit-field:checked",d).val();else{var s=d.val();if("orientation"==l&&"horizontal"==s){var n=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");n.slider({value:40}).slider("option","slide")(null,{value:n.slider("value")})}else if("orientation"==l&&"vertical"==s){var n=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");n.slider({value:100}).slider("option","slide")(null,{value:n.slider("value")})}}jQuery('.dslca-module-options-front textarea[data-id="'+l+'"]',t).val(s),jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").addClass("dslca-module-change-made"),"css_load_preset"!=l||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(dslc_module_options_show(i),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added")})}else{if(d.hasClass("dslca-module-edit-field-font")){var r=d.val();r+=":400,100,200,300,500,600,700,800,900";var u=d.data("affect-on-change-el"),m=d.data("affect-on-change-rule"),p=d.val(),h=p;d.val().length&&-1!==dslcGoogleFontsArray.indexOf(d.val())?WebFont.load({google:{families:[r]},active:function(){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?"dslc-icon-chevron-right":"dslc-icon-chevron-left"),jQuery(u,".dslca-module-being-edited").css(m,p)},inactive:function(){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?"dslc-icon-chevron-right":"dslc-icon-chevron-left")}}):(jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?"dslc-icon-chevron-right":"dslc-icon-chevron-left"),jQuery(u,".dslca-module-being-edited").css(m,p))}else if(d.hasClass("dslca-module-edit-field-checkbox")){var c=e('input[type="checkbox"]',a);c.each(function(){e(this).prop("checked")?(s+="solid ",o=o+e(this).val()+" "):s+="none "})}if(!d.hasClass("dslca-module-edit-field-font")){var u=d.data("affect-on-change-el"),m=d.data("affect-on-change-rule"),p=d.val(),h=p;d.hasClass("dslca-module-edit-field-checkbox")&&(p=s,h=o),d.hasClass("dslca-module-edit-field-image")&&(p='url("'+p+'")'),p.length<1&&("background-color"==m||"background"==m)&&(p="transparent"),jQuery(u,".dslca-module-being-edited").css(m,p)}jQuery('.dslca-module-option-front[data-id="'+l+'"]',t).val(h)}}),e(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){var s,o=e(this),d=o.data("id"),l=(o.closest(".dslca-module-edit-option"),e(".dslca-module-being-edited")),a=(l.data("dslc-module-id"),jQuery(".dslca-module-options-front textarea",l),o.data("affect-on-change-el")),t=o.data("affect-on-change-rule"),i=o.val(),c=i+o.data("ext");if(l.addClass("dslca-module-change-made"),"active"!=jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){s=t.split(",");for(var n=0;n<s.length;n++)jQuery(a,".dslca-module-being-edited").css(s[n],c);jQuery('.dslca-module-option-front[data-id="'+d+'"]',l).val(i)}}),e(document).on("keyup",".dslca-modules-section-edit-field-numeric",function(){var s,o=e(this),d=o.data("id"),l=(o.closest(".dslca-modules-section-edit-option"),e(".dslca-modules-section-being-edited")),a=o.data("css-rule"),t=o.val(),i=t+o.data("ext");l.addClass("dslca-modules-section-change-made"),s=a.split(",");for(var c=0;c<s.length;c++)l.css(s[c],i);jQuery('.dslca-modules-section-settings input[data-id="'+d+'"]',l).val(t)})}),jQuery(document).ready(function(e){var s;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-add-hook"))var o=e.siblings(".dslca-module-edit-field-image"),d=e.siblings(".dslca-module-edit-field-image-remove-hook");else var o=e.siblings(".dslca-modules-section-edit-field-upload"),d=e.siblings(".dslca-modules-section-edit-field-image-remove-hook");var l=!1;s=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:l}),s.on("select",function(){var l=s.state().get("selection").first().toJSON();o.val(l.id).data("dslca-img-url",l.url).trigger("change"),e.hide(),d.show()}),s.open()}),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-remove-hook"))var s=e.siblings(".dslca-module-edit-field-image"),o=e.siblings(".dslca-module-edit-field-image-add-hook");else var s=e.siblings(".dslca-modules-section-edit-field-upload"),o=e.siblings(".dslca-modules-section-edit-field-image-add-hook");s.val("").trigger("change"),e.hide(),o.show()}),e(document).on("click",".dslca-wysiwyg-actions-edit-hook",function(){var s=e(this).parent().siblings(".dslca-editable-content"),o=s.closest(".dslc-module-front");if(o.hasClass("dslc-module-handle-like-accordion")){dslc_accordion_generate_code(o.find(".dslc-accordion"));var d=o.find('.dslca-module-option-front[data-id="accordion_content"]').val(),l=d.split("(dslc_sep)"),a=s.closest(".dslc-accordion-item").index(),t=l[a].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(o.hasClass("dslc-module-handle-like-tabs")){dslc_tabs_generate_code(o.find(".dslc-tabs"));var d=o.find('.dslca-module-option-front[data-id="tabs_content"]').val(),l=d.split("(dslc_sep)"),a=s.closest(".dslc-tabs-tab-content").index(),t=l[a].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else var t=o.find('.dslca-module-option-front[data-id="'+s.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea");if("undefined"!=typeof tinymce){var i=tinymce.get("dslcawpeditor");e("#wp-dslcawpeditor-wrap").hasClass("tmce-active")?i.setContent(t,{format:"html"}):jQuery("textarea#dslcawpeditor").val(t),o.hasClass("dslca-module-being-edited")||o.find(".dslca-module-edit-hook").trigger("click"),e(".dslca-wp-editor").show(),s.addClass("dslca-wysiwyg-active"),e("#dslcawpeditor_ifr, #dslcawpeditor").css({height:e(".dslca-wp-editor").height()-350})}}),e(document).on("click",".dslca-wp-editor-save-hook",function(){var s=e(".dslca-wysiwyg-active").closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(e("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var o=tinymce.get("dslcawpeditor"),d=o.getContent();else var d=e("#dslcawpeditor").val();if(e(".dslca-wp-editor").hide(),e(".dslca-wysiwyg-active").html(d),s.hasClass("dslc-module-handle-like-accordion")){e(".dslca-wysiwyg-active").siblings(".dslca-accordion-plain-content").val(d);var l=s.find(".dslc-accordion");dslc_accordion_generate_code(l)}else if(s.hasClass("dslc-module-handle-like-tabs")){e(".dslca-wysiwyg-active").siblings(".dslca-tab-plain-content").val(d);var a=s.find(".dslc-tabs");dslc_tabs_generate_code(a)}dslc_editable_content_gen_code(e(".dslca-wysiwyg-active")),e(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")}}),e(document).on("click",".dslca-wp-editor-cancel-hook",function(){e(".dslca-wp-editor").hide(),e(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")})});
|
1 |
+
"use strict";function dslc_hide_composer(){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").animate({bottom:-1*jQuery(".dslca-container").outerHeight()},300),jQuery(".dslca-header").hide()}function dslc_show_composer(){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").animate({bottom:0},300),jQuery(".dslca-header").show()}function dslc_show_publish_button(){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_show_section(e){dslcDebug&&console.log("dslc_show_section"),jQuery("body").addClass("dslca-anim-in-progress");var s=(jQuery(e).data("title"),jQuery(e).data("bg"));jQuery(".dslca-container").animate({bottom:-500},200),jQuery(".dslca-sections").animate({backgroundColor:s},200),jQuery(".dslca-section").hide(),jQuery(e).show(),".dslca-modules-section-edit"==e&&dslc_row_edit_scrollbar_init(),dslc_module_options_tab_filter(),".dslca-module-edit"!=e&&dslc_scroller_init(),jQuery(".dslca-container").animate({bottom:0},300),jQuery("body").removeClass("dslca-anim-in-progress")}function dslc_generate_filters(){dslcDebug&&console.log("dslc_generate_filters");var e,s=[],o='<span data-origin="">ALL</span>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){e=jQuery(this),-1==jQuery.inArray(e.data("origin"),s)&&(s.push(e.data("origin")),o+='<span data-origin="'+e.data("origin")+'">'+e.data("origin").replace("_"," ")+"</span>")}),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(o).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(e,s){dslcDebug&&console.log("dslc_filter_origin"),jQuery(".dslca-origin",s).hide(),jQuery('.dslca-origin[data-origin="'+e+'"]',s).show(),""==e&&jQuery(".dslca-origin",s).show(),dslc_scroller_init()}function dslc_drag_and_drop(){dslcDebug&&console.log("dslc_drag_and_drop");var e,s,o;jQuery(".dslca-modules .dslca-module").draggable({scroll:!1,appendTo:"body",helper:"clone",cursor:"default",cursorAt:{top:50,left:30},containment:"body",start:function(){jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},stop:function(){jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")}}),jQuery(".dslc-content").sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"pointer",cursorAt:{bottom:10},axis:"y",scroll:!0,scrollSensitivity:200,scrollSpeed:10,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(){dslc_generate_code(),dslc_show_publish_button()},start:function(e,s){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),s.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(){jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),jQuery(".dslc-modules-section").css({overflow:"visible","max-height":"none"})}}),jQuery(".dslc-modules-section-inner").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:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(e,s){var o=s.placeholder.closest(".dslc-modules-section");jQuery(o).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),o.siblings(".dslc-modules-section").each(function(){jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")})},update:function(){dslc_generate_code(),dslc_show_publish_button()},start:function(e,s){s.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(s.item).hasClass("dslc-12-col")?s.placeholder.width(s.item.width()).css({margin:0}):s.placeholder.width(s.item.width()-10),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(){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(){}}),jQuery(".dslc-modules-section").droppable({drop:function(e,s){var o=jQuery(this).find(".dslc-modules-section-inner"),d=s.draggable.data("id");"DSLC_M_A"==d&&dslc_modules_area_add(o)}}),jQuery(".dslc-modules-area").droppable({activeClass:"dslca-ui-state-default",hoverClass:"dslca-ui-state-hover",accept:":not(.ui-sortable-helper)",drop:function(d,l){if(e=jQuery(this),s=l.draggable.data("id"),"DSLC_M_A"==s||jQuery("body").hasClass("dslca-module-drop-in-progress")||e.closest("#dslc-header").length||e.closest("#dslc-footer").length);else{jQuery("body").addClass("dslca-anim-in-progress dslca-module-drop-in-progress"),e.hasClass("dslc-modules-area-not-empty")&&e.animate({paddingBottom:50},150),dslc_module_output_default(s,function(s){o=s.output,jQuery(".dslca-module-loading-inner",e).stop().animate({width:"100%"},300,"linear",function(){e.css({paddingBottom:0}),jQuery(".dslca-module-loading",e).hide();var s=jQuery(o).appendTo(e);s.css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}),setTimeout(function(){dslc_init_square(),dslc_center(),dslc_masonry(s),jQuery("body").removeClass("dslca-anim-in-progress dslca-module-drop-in-progress")},700),jQuery(".dslca-no-content-primary",e).css({opacity:1}),jQuery(".dslca-modules-area-manage",e).css({visibility:"visible"}),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),dslc_carousel(),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button()})}),jQuery(".dslca-module-loading",e).show(),jQuery(".dslca-no-content-primary",e).css({opacity:0}),jQuery(".dslca-modules-area-manage",e).css({visibility:"hidden"});var a=100*Math.floor(51*Math.random()+50);jQuery(".dslca-module-loading-inner",e).css({width:0}).animate({width:"100%"},a,"linear")}}}).sortable({connectWith:".dslc-modules-area",items:".dslc-module-front",handle:'.dslca-move-module-hook:not(".dslca-action-disabled")',placeholder:"dslca-module-placeholder",cursorAt:{top:50,left:30},tolerance:"pointer",scroll:!0,scrollSensitivity:100,scrollSpeed:15,start:function(e,s){s.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+s.item.find(".dslc-sortable-helper-icon").data("title")+"</span></span>"),jQuery(s.item).hasClass("dslc-12-col")?s.placeholder.width(s.item.width()).css({margin:0}):s.placeholder.width(s.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery(".dslc-module-front",this).length<2&&(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,function(){})),jQuery(".dslc-modules-area").sortable("refreshPositions")},sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(){dslc_show_publish_button()},stop:function(e,s){dslc_generate_code(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),s.item.trigger("mouseleave")},change:function(){}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_scroller_init(){dslcDebug&&console.log("dslc_scroller_init");var e=jQuery(".dslca-section-scroller");e.length&&e.each(function(){{var e,s=jQuery(this),o=jQuery(".dslca-section-scroller-inner",s),d=o.position(),l=jQuery(".dslca-section-scroller-content",s),a=jQuery(".dslca-scroller-item:visible",s),t=0,i=s.width()+-1*d.left;l.width()}jQuery(".dslca-section-scroller-item-last",s).removeClass("dslca-section-scroller-item-last"),a.each(function(){e=jQuery(this),t+=e.outerWidth(),t>i&&jQuery(".dslca-section-scroller-item-last",s).length<1&&(e.addClass("dslca-section-scroller-item-last"),s.data("current",e.prev(".dslca-scroller-item:visible").index()))})})}function dslc_scroller_go_to(e,s){dslcDebug&&console.log("dslc_scroller_go_to");var o=jQuery(".dslca-section-scroller-inner",s),d=jQuery(".dslca-section-scroller-content",s),l=(jQuery(".dslca-scroller-item",s),jQuery(".dslca-scroller-item:eq("+e+")",s));if(l.length){var a=s.width(),t=(d.width(),l.position()),i=a-(t.left+l.outerWidth());0>i?(s.data("current",e),o.stop().animate({left:i},200)):o.stop().animate({left:0},200)}}function dslc_scroller_prev(e){dslcDebug&&console.log("dslc_scroller_prev");var s=e.data("current"),o=e.find(".dslca-scroller-item:eq("+s+")").prevAll(".dslca-scroller-item:visible").eq(1).index(),d=e.find(".dslca-scroller-item:eq("+s+")").prevAll(".dslca-scroller-item:visible").eq(0).index();-1!==o?dslc_scroller_go_to(o,e):-1!==d&&dslc_scroller_go_to(d,e)}function dslc_scroller_next(e){dslcDebug&&console.log("dslc_scroller_next");var s=e.data("current"),o=e.find(".dslca-scroller-item:eq("+s+")").nextAll(".dslca-scroller-item:visible").eq(1).index(),d=e.find(".dslca-scroller-item:eq("+s+")").nextAll(".dslca-scroller-item:visible").eq(0).index();-1!==o?dslc_scroller_go_to(o,e):-1!==d&&dslc_scroller_go_to(d,e)}function dslc_ui_animations(){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"),jQuery(this).stop().animate({opacity:1},200),dslca_draggable_calc_center(jQuery(this).closest(".dslc-modules-area"))}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered"),jQuery(this).stop().animate({opacity:.5},200)}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(){jQuery("body").hasClass("dslca-composer-hidden")||(jQuery(this).height()<190?jQuery(".dslca-module-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal"),jQuery(".dslca-module-manage-inner",this).stop().animate({top:0},300,function(){jQuery(this).closest(".dslca-module-manage").css({overflow:"visible"})}),jQuery(".dslca-wysiwyg-actions-edit-hook",this).stop().animate({top:0},300))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(){jQuery("body").hasClass("dslca-composer-hidden")||(jQuery(this).find(".dslca-change-width-module-options").hide(),jQuery(this).find(".dslca-module-manage").css({overflow:"hidden"}),jQuery(".dslca-module-manage-inner",this).stop().animate({top:-50},300),jQuery(".dslca-wysiwyg-actions-edit-hook",this).stop().animate({top:-50},300))}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(){var e=jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||(jQuery("#dslc-header").addClass("dslca-header-low-z-index"),jQuery(this).height()<130?jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal"),jQuery(".dslca-modules-area-manage-inner",this).stop().animate({left:"0%"},300,function(){jQuery(".dslca-modules-area-manage",e).css({overflow:"visible"})}))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(){var e=jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||(jQuery("#dslc-header").removeClass("dslca-header-low-z-index"),jQuery(".dslca-modules-area-manage",e).css({overflow:"hidden"}),jQuery(".dslca-modules-area-manage-inner",this).stop().animate({left:"100%"},300))}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-section",function(){jQuery("body").hasClass("dslca-composer-hidden")||jQuery(".dslca-modules-section-manage-inner",this).stop().animate({opacity:1},300)}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-section",function(){jQuery("body").hasClass("dslca-composer-hidden")||jQuery(".dslca-modules-section-manage-inner",this).stop().animate({opacity:0},300)})}function dslc_show_modal(e,s){dslcDebug&&console.log("dslc_show_modal"),dslc_hide_modal("",jQuery(".dslca-modal:visible"));var s=jQuery(s),o=jQuery(e).position(),d=s.outerWidth()/2-e.outerWidth()/2,l=o.left-d;s.css({left:l}).show(),s.css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).fadeIn(600)}function dslc_hide_modal(e,s){dslcDebug&&console.log("dslc_hide_modal");var s=jQuery(s);s.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).fadeOut(600)}function dslc_js_confirm(e,s,o){dslcDebug&&console.log("dslc_js_confirm"),jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").data("id",e),jQuery(".dslca-prompt-modal").data("target",o),jQuery(".dslca-prompt-modal-msg").html(s),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(){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_row_add(e){dslcDebug&&console.log("dslc_row_add"),e="undefined"!=typeof e?e:!1,jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(s){jQuery(s.output).appendTo("#dslc-main"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),e&&e()})}function dslc_row_delete(e){dslcDebug&&console.log("dslc_row_delete"),e.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")),e.trigger("mouseleave").remove(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_edit(e){dslcDebug&&console.log("dslc_row_edit");jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),e.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("border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("top")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-right"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("right")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-bottom"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("bottom")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-left"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("left")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),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"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val().indexOf(jQuery(this).data("val"))>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),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).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val()),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var e=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":e.val()})}}),jQuery(".dslca-modules-section-edit-field-upload").each(function(){var e=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",e).show())}),dslc_row_edit_slider_init(),dslc_show_section(".dslca-modules-section-edit"),jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"})}function dslc_row_edit_colorpicker_init(){dslcDebug&&console.log("dslc_row_edit_colorpicker_init");var e,s,o,d,l,a,t,i,c,n,r=[];if(r[0]=[],r[1]=[],r[2]=[],r[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(c=JSON.parse(localStorage.dslcColorpickerPalleteStorage),n=0;n<c.length;n++){var u=Math.floor(n/3);4>u&&r[u].push(c[n])}jQuery(".dslca-modules-section-edit-field-colorpicker").each(function(){i=jQuery(this).val(),jQuery(this).spectrum({color:i,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:r,move:function(i){e=jQuery(this),s=e.data("id"),d=null==i?"transparent":i.toRgbString(),l=e.data("css-rule"),o=jQuery(".dslca-modules-section-being-edited"),t=o,a=jQuery('.dslca-modules-section-settings input[data-id="'+s+'"]',o),o.addClass("dslca-modules-section-change-made"),e.data("css-element")&&(t=jQuery(e.data("css-element"),o)),t.css(l,d),a.val(d)},change:function(o){if(e=jQuery(this),s=e.data("id"),d=null==o?"transparent":o.toRgbString(),void 0==localStorage.dslcColorpickerPalleteStorage){var l=[d];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(l)}else{var l=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==l.indexOf(d)&&l.unshift(d),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(l)}},show:function(){jQuery("body").addClass("dslca-disable-selection"),jQuery(this).spectrum("set",jQuery(this).val())},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_row_edit_slider_init(){dslcDebug&&console.log("dslc_row_edit_slider_init"),jQuery(".dslca-modules-section-edit-field-slider").each(function(){var e,s,o,d,l,a,t,i,c,n,r,u="",m=0,p=300,h=1;e=jQuery(this),s=e.siblings(".dslca-modules-section-edit-field"),a=e.siblings(".dslca-modules-section-edit-field-slider-tooltip"),e.data("min")&&(m=e.data("min")),e.data("max")&&(p=e.data("max")),e.data("incr")&&(h=e.data("incr")),e.data("ext")&&(u=e.data("ext")),e.slider({min:m,max:p,step:h,value:s.val(),slide:function(m,p){o=p.value+u,s.val(o),l=jQuery(".dslca-modules-section-being-edited"),s.data("css-element")&&(l=jQuery(s.data("css-element"),l)),d=s.data("css-rule"),r=d.split(",");for(var h=0;h<r.length;h++)jQuery(l).css(r[h],o);c=jQuery(".dslca-modules-section-being-edited"),n=s.data("id"),jQuery('.dslca-modules-section-settings input[data-id="'+n+'"]',c).val(p.value),c.addClass("dslca-modules-section-change-made"),a.text(o),i=e.find(".ui-slider-handle"),t=i[0].style.left,a.css({left:t})},stop:function(){a.hide();var e=jQuery(window).scrollTop();dslc_masonry(),jQuery(window).scrollTop(e)},start:function(s,d){o=d.value,a.show(),a.text(o),i=e.find(".ui-slider-handle"),t=i[0].style.left,a.css({left:t})}})})}function dslc_row_edit_scrollbar_init(){dslcDebug&&console.log("dslc_row_edit_scrollbar_init");var e=0;jQuery(".dslca-modules-section-edit-option").each(function(){e+=jQuery(this).outerWidth(!0)+1}),jQuery(".dslca-modules-section-edit-options-wrapper").width(e>jQuery(".dslca-modules-section-edit-options").width()?e:"auto"),jQuery("body").hasClass("rtl")||(jQuery(".dslca-modules-section-edit-options-inner").data("jsp")&&jQuery(".dslca-modules-section-edit-options-inner").data("jsp").destroy(),jQuery(".dslca-modules-section-edit-options-inner").jScrollPane())}function dslc_row_edit_cancel(e){dslcDebug&&console.log("dslc_row_cancel_changes"),e="undefined"!=typeof e?e:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").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")}),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-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),e&&e(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_edit_confirm(e){dslcDebug&&console.log("dslc_confirm_row_changes"),e="undefined"!=typeof e?e:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").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-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),dslc_generate_code(),dslc_show_publish_button(),e&&e(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_copy(e){dslcDebug&&console.log("dslc_row_copy");var s,o,d;o=e.clone().appendTo("#dslc-main"),o.find(".dslc-modules-area").each(function(){var s=jQuery(this).index();jQuery(this).data("size",e.find(".dslc-modules-area:eq( "+s+" )").data("size"))}),o.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(){d=jQuery(this),jQuery.ajax({type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(e){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),s=e.output,d.data("module-id",s).attr("id","dslc-module-"+s).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_import(e){dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:e},function(e){dslc_js_confirm_close(),jQuery("#dslc-main").append(e.output),dslc_bg_video(),dslc_carousel(),dslc_masonry(jQuery("#dslc-main").find(".dslc-modules-section:last-child")),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(e){dslc_row_delete(e)}function dslc_edit_modules_section(e){dslc_row_edit(e)}function dslc_edit_modules_section_colorpicker(){dslc_row_edit_colorpicker_init()}function dslc_edit_modules_section_slider(){dslc_row_edit_slider_init()}function dslc_edit_modules_section_scroller(){dslc_row_edit_scrollbar_init()}function dslc_copy_modules_section(e){dslc_row_copy(e)}function dslc_import_modules_section(e){dslc_row_import(e)}function dslc_modules_area_add(e){dslcDebug&&console.log("dslc_add_modules_area"),jQuery("body").addClass("dslca-anim-in-progress"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-area",dslc:"active"},function(s){jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",e.closest(".dslc-modules-section")).stop().animate({width:"100%"},200,"linear",function(){e.css({paddingBottom:0}),jQuery(this).closest(".dslca-modules-area-loading").hide()}),setTimeout(function(){jQuery(s.output).appendTo(e).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),jQuery("body").removeClass("dslca-anim-in-progress")},250)});var s=100*Math.floor(51*Math.random()+50);e.animate({paddingBottom:50},150),jQuery(".dslca-modules-area-loading",e.closest(".dslc-modules-section")).show(),jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",e.closest(".dslc-modules-section")).css({width:0}).animate({width:"100%"},s,"linear")}function dslc_modules_area_delete(e){dslcDebug&&console.log("dslc_delete_modules_area");var s=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=!1;e.addClass("dslca-modules-area-being-deleted"),s.find(".dslc-modules-area").length<2&&(o=!0),e.find(".dslca-module-being-edited").length&&(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")),setTimeout(function(){e.remove(),dslc_generate_code(),dslc_show_publish_button(),o&&dslc_modules_area_add(s)},900),e.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(){e.remove(),dslc_generate_code(),dslc_show_publish_button()})}function dslc_modules_area_copy(e){dslcDebug&&console.log("dslc_copy_modules_area");var s,o=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),d=e.clone().appendTo(o);d.find(".dslca-modules-area-manage").trigger("mouseleave"),d.data("size",e.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 e=jQuery(this);jQuery.ajax({type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(o){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),s=o.output,e.data("module-id",s).attr("id","dslc-module-"+s).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_modules_area_width_set(e,s){dslcDebug&&console.log("dslc_modules_area_width_set");var o="dslc-"+s+"-col";e.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(o).data("size",s),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button(),dslc_masonry()}function dslc_add_modules_area(e){dslc_modules_area_add(e)}function dslc_delete_modules_area(e){dslc_modules_area_delete(e)}function dslc_copy_modules_area(e){dslc_modules_area_copy(e)}function dslc_module_delete(e){dslcDebug&&console.log("dslc_delete_module"),e.addClass("dslca-module-being-deleted"),e.hasClass("dslca-module-being-edited")&&dslc_show_section(".dslca-modules"),setTimeout(function(){e.remove(),dslc_generate_code(),dslc_show_publish_button()},1e3),e.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(){e.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")
|
2 |
})}function dslc_module_copy(e){dslcDebug&&console.log("dslc_copy_module");var s;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-get-new-module-id"},function(o){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),s=o.output,e.clone().appendTo(e.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}).data("module-id",s).attr("id","dslc-module-"+s).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}function dslc_module_width_set(e,s){dslcDebug&&console.log("dslc_module_width_set");var o="dslc-"+s+"-col";e.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(o).data("dslc-module-size",s).addClass("dslca-module-being-edited"),jQuery('.dslca-module-option-front[data-id="dslc_m_size"]',e).val(s),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_module_options_show(e){dslcDebug&&console.log("dslc_module_options_show");var s=jQuery(".dslca-module-being-edited"),o=jQuery(".dslca-module-options-front textarea",s),d=jQuery(".dslca-header").data("default-section"),l={};l.action="dslc-ajax-display-module-options",l.dslc="active",l.dslc_module_id=e,l.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),o.each(function(){var e=jQuery(this),s=e.data("id"),o=e.val();l[s]=o}),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),jQuery.post(DSLCAjax.ajaxurl,l,function(e){jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"}),dslc_show_section(".dslca-module-edit"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(e.output):jQuery(".dslca-module-edit-options-inner .jspPane").html(e.output),jQuery(".dslca-module-edit-options-tabs").html(e.output_tabs),jQuery(".dslca-header .dslca-options-filter-hook").show(),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")):(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(),dslc_module_options_color(),dslc_module_options_numeric();var s=jQuery(".dslca-module-options-front",".dslca-module-being-edited").children().clone();jQuery(".dslca-module-options-front-backup").html("").append(s)})}function dslc_module_options_scrollbar(){dslcDebug&&console.log("dslc_module_options_scrollbar");var e=0;if(jQuery(".dslca-module-edit-option:visible").each(function(){e+=jQuery(this).outerWidth(!0)+1}),jQuery(".dslca-module-edit-options-wrapper").width(e>jQuery(".dslca-module-edit-options").width()?e:"auto"),!jQuery("body").hasClass("rtl")&&jQuery(".dslca-module-edit-options-inner").data("jsp")){var s=jQuery(".dslca-module-edit-options-inner").data("jsp");s.reinitialise()}}function dslc_module_options_section_filter(e){dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+e+'"]').show(),dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(e){dslcDebug&&console.log("dslc_module_options_tab_filter");var s=jQuery(".dslca-options-filter-hook.dslca-active").data("section");e="undefined"!=typeof e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+s+'"]:first');var o=e.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),e.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="'+s+'"]').show(),o&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+o+'"]').show(),dslc_module_options_scrollbar(),dslc_module_options_hideshow_tabs(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),o==DSLCString.str_res_tablet+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet")),o==DSLCString.str_res_phone+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone")),(o==DSLCString.str_res_tablet+"_responsive"||o==DSLCString.str_res_phone+"_responsive")&&(jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})))}function dslc_module_options_hideshow_tabs(){dslcDebug&&console.log("dslc_module_options_hideshow_tabs");var e=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if("styling"==e){var s=(jQuery(".dslca-module-edit"),!0),o=!0,d=!0,l=!0,a=!0,t=!0,i=!0,c=!0,n=!0,r=!0,u=!0,m=!0,p=!0,h=!0,_=!0,y=!0,g=!0,f=!0,b=!0,j=!0,v=!0,Q=!0,k=!0,w=!0,C=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(s=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(l=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(d=!1,l=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(a=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(t=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(i=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(u=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(p=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")||(_=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(f=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(b=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(C=!1),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),r?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():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(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),_?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),b?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),j?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide(),v||Q?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),w?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide(),C?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show():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("DSLC_Text_Simple"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_TP_Content"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_Html"==jQuery(".dslca-module-being-edited").data("dslc-module-id")){var S=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),x=S.find("select").val();"enabled"==x?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-edit-options-tabs").hide(),S.css({visibility:"visible"}))}}else jQuery(".dslca-module-edit-options-tabs").show();"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden"):jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden"):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(e){dslcDebug&&console.log("dslc_module_options_confirm_changes"),e="undefined"!=typeof e?e:!1,jQuery(".dslca-module-being-edited").hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),dslc_module_output_altered(function(){dslc_update_preset(),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),e&&e()})),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(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_module_options_cancel_changes(e){dslcDebug&&console.log("dslc_module_options_cancel_changes"),e="undefined"!=typeof e?e:!1;var s=jQuery(".dslca-module-being-edited"),o=jQuery(".dslca-module-options-front-backup").children().clone();jQuery(".dslca-module-options-front",s).html("").append(o),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),e&&e()}),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(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}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 e=jQuery(".dslca-module-edit-field-ttip"),s=e.find(".dslca-module-edit-field-ttip-inner"),o=jQuery(this),d=o.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html();if(e.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{s.html(d);var l=o.offset(),a=e.outerHeight(),t=e.outerWidth(),i=l.left-t/2+6,c="50%";0>i&&(c=t/2+i+"px",i=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:l.top-a-20,left:i}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+c+" }</style>"))}}),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var e=jQuery(".dslca-module-edit-field-icon-ttip"),s=jQuery(this);if(e.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var o=s.offset(),d=e.outerHeight(),l=e.outerWidth(),a=o.left-l/2+6,t="50%";0>a&&(t=l/2+a+"px",a=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:o.top-d-20,left:a}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+t+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var s=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",s),d=dslcAllFontsArray.indexOf(o.val()),l=d+1;jQuery(".dslca-module-edit-field-font-suggest",s).text(""),o.val(dslcAllFontsArray[l]).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(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var s=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",s),d=dslcAllFontsArray.indexOf(o.val()),l=d-1;jQuery(".dslca-module-edit-field-font-suggest",s).text(""),0>l&&(l=dslcAllFontsArray.length-1),o.val(dslcAllFontsArray[l]).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(e){var s,o,d,l,a=!1;if(s=jQuery(this),o=s.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-font-prev",o).click(),40==e.which&&jQuery(".dslca-module-edit-field-font-next",o).click(),13!=e.which&&38!=e.which&&40!=e.which){d=s.val();var t=new RegExp("^"+d,"i"),i=dslcAllFontsArray.length,c=0;do{if(t.test(dslcAllFontsArray[c])&&!a)var a=dslcAllFontsArray[c];c++}while(i>c);a?(l=a,jQuery(".dslca-module-edit-field-font-suggest",o).show()):(l=d,jQuery(".dslca-module-edit-field-font-suggest",o).hide()),jQuery(".dslca-module-edit-field-font-suggest",o).text(l),l.length&&s.val(l.substring(0,s.val().length))}}),jQuery(document).on("keypress",".dslca-module-edit-field-font",function(e){if(13==e.which){e.preventDefault();var s,o;s=jQuery(this),o=s.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",o).text("")}})}function dslc_module_options_icon(){jQuery(document).on("click",".dslca-module-edit-field-icon-next",function(e){e.preventDefault();var s=jQuery(this).closest(".dslca-module-edit-option-icon"),o=jQuery(".dslca-module-edit-field-icon",s),d=dslcFontAwesomeArray.indexOf(o.val()),l=d+1;jQuery(".dslca-module-edit-field-icon-suggest",s).text(""),o.val(dslcFontAwesomeArray[l]).trigger("change")}),jQuery(document).on("click",".dslca-module-edit-field-icon-prev",function(e){e.preventDefault();var s=jQuery(this).closest(".dslca-module-edit-option-icon"),o=jQuery(".dslca-module-edit-field-icon",s),d=dslcFontAwesomeArray.indexOf(o.val()),l=d-1;jQuery(".dslca-module-edit-field-icon-suggest",s).text(""),0>l&&(l=dslcFontAwesomeArray.length-1),o.val(dslcFontAwesomeArray[l]).trigger("change")}),jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(e){var s,o,d,l,a;s=jQuery(this),o=s.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-icon-prev",o).click(),40==e.which&&jQuery(".dslca-module-edit-field-icon-next",o).click(),13!=e.which&&38!=e.which&&40!=e.which&&(d=s.val().toLowerCase(),s.val(d),l=jQuery.grep(dslcFontAwesomeArray,function(e){return 0==e.indexOf(d)}),a=l[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(a))}),jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(e){if(13==e.which){e.preventDefault();var s,o;s=jQuery(this),o=s.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",o).text("")}})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var e=jQuery(this),s=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),o=e.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");s.removeClass("dslca-active"),e.addClass("dslca-active"),d.val(o).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 e=jQuery(this),s=e.siblings('input[type="checkbox"]');s.prop("checked")?(s.prop("checked",!1),e.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(s.prop("checked",!0),e.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),s.change()})}function dslc_module_options_color(){dslcDebug&&console.log("dslc_module_options_color");var e,s,o,d,l,a,t,i,c,n=[];if(n[0]=[],n[1]=[],n[2]=[],n[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(i=JSON.parse(localStorage.dslcColorpickerPalleteStorage),c=0;c<i.length;c++){var r=Math.floor(c/3);4>r&&n[r].push(i[c])}jQuery(".dslca-module-edit-field-colorpicker").each(function(){t=jQuery(this).val(),jQuery(this).spectrum({color:t,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:n,move:function(t){e=jQuery(this),d=null==t?"transparent":t.toRgbString(),e.val(d),s=e.data("affect-on-change-el"),o=e.data("affect-on-change-rule"),jQuery(s,".dslca-module-being-edited").css(o,d),l=jQuery(".dslca-module-being-edited"),a=e.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',l).val(d),l.addClass("dslca-module-change-made")},change:function(t){if(e=jQuery(this),d=null==t?"transparent":t.toRgbString(),e.val(d),s=e.data("affect-on-change-el"),o=e.data("affect-on-change-rule"),jQuery(s,".dslca-module-being-edited").css(o,d),l=jQuery(".dslca-module-being-edited"),a=e.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',l).val(d),l.addClass("dslca-module-change-made"),void 0==localStorage.dslcColorpickerPalleteStorage){var i=[d];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(i)}else{var i=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==i.indexOf(d)&&i.unshift(d),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(i)}},show:function(){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})}),jQuery(".dslca-sp-revert").click(function(){var e=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(e).trigger("change")})}function dslc_module_options_numeric(){dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(".dslca-module-edit-field-slider").each(function(){var e,s,o,d,l,a,t,i,c,n,r;e=jQuery(this),s=e.siblings(".dslca-module-edit-field"),a=e.closest(".dslca-module-edit-option-slider").find(".dslca-module-edit-field-slider-tooltip"),e.slider({min:s.data("min"),max:s.data("max"),step:s.data("increment"),value:s.val(),slide:function(u,m){n=s.data("ext"),o=m.value+n,s.val(o),l=s.data("affect-on-change-el"),d=s.data("affect-on-change-rule"),r=d.split(",");for(var p=0;p<r.length;p++)jQuery(l,".dslca-module-being-edited").css(r[p],o);i=jQuery(".dslca-module-being-edited"),c=s.data("id"),jQuery('.dslca-module-option-front[data-id="'+c+'"]',i).val(m.value),i.addClass("dslca-module-change-made"),a.text(o);var h=e.find(".ui-slider-handle");t=h[0].style.left,a.css({left:t}),dslc_masonry(i),dslc_init_square(),dslc_center(),dslc_init_square(i)},stop:function(){a.hide()},start:function(e,s){a.show(),a.text(o),t=s.handle.style.left,a.css({left:t})}})})}function dslc_module_output_default(e,s){dslcDebug&&console.log("dslc_module_output_default"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:e,dslc_post_id:jQuery(".dslca-container").data("post-id")},function(e){s(e)})}function dslc_module_output_altered(e){dslcDebug&&console.log("dslc_module_output_altered"),e="undefined"!=typeof e?e:!1;var s=jQuery(".dslca-module-being-edited"),o=s.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",s),l=s.data("module-id"),a={};a.action="dslc-ajax-add-module",a.dslc="active",a.dslc_module_id=o,a.dslc_module_instance_id=l,a.dslc_post_id=jQuery(".dslca-container").data("post-id"),a.dslc_preload_preset=s.hasClass("dslca-preload-preset")?"enabled":"disabled",s.removeClass("dslca-preload-preset"),d.each(function(){var e=jQuery(this),s=e.data("id"),o=e.val();a[s]=o}),jQuery.post(DSLCAjax.ajaxurl,a,function(o){s.after(o.output).next().addClass("dslca-module-being-edited"),s.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),e&&e(o)})}function dslc_module_output_reload(e,s){dslcDebug&&console.log("dslc_module_output_reload"),s="undefined"!=typeof s?s:!1;var o=e.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",e),l=e.data("module-id"),a={};a.action="dslc-ajax-add-module",a.dslc="active",a.dslc_module_id=o,a.dslc_module_instance_id=l,a.dslc_post_id=jQuery(".dslca-container").data("post-id"),a.dslc_preload_preset="enabled",e.removeClass("dslca-preload-preset"),d.each(function(){var e=jQuery(this),s=e.data("id"),o=e.val();a[s]=o}),e.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,a,function(o){e.after(o.output).next().addClass("dslca-module-being-edited"),e.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),s&&s(o),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_delete_module(e){dslc_module_delete(e)}function dslc_copy_module(e){dslc_module_copy(e)}function dslc_display_module_options(e){dslc_module_options_show(e)}function dslc_filter_module_options(e){dslc_module_options_section_filter(e)}function dslc_show_module_options_tab(e){dslc_module_options_tab_filter(e)}function dslc_confirm_changes(e){dslc_module_options_confirm_changes(e)}function dslc_cancel_changes(e){dslc_module_options_cancel_changes(e)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_init_options_scrollbar(){dslc_module_options_scrollbar()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}function dslc_get_module_output(e,s){dslc_module_output_default(e,s)}function dslc_preview_change(e){dslc_module_output_altered(e)}function dslc_reload_module(e,s){dslc_module_output_reload(e,s)}function dslc_template_load(e){dslcDebug&&console.log("dslc_load_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:e},function(e){jQuery("#dslc-main").html(e.output),dslc_carousel(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_import(){dslcDebug&&console.log("dslc_import_template");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(e){jQuery("#dslc-main").html(e.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"),dslc_bg_video(),dslc_center(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_save(){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(){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(e){dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:e},function(){jQuery('.dslca-template[data-id="'+e+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(e){dslc_template_load(e)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(e){dslc_template_delete(e)}function dslc_save_composer(){dslcDebug&&console.log("dslc_save_composer");var e=jQuery("#dslca-code").val(),s=jQuery("#dslca-content-for-search").val(),o=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.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:o,dslc_code:e,dslc_content_for_search:s},function(e){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),"success"==e.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250)):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){dslcDebug&&console.log("dslc_save_draft_composer");var e=jQuery("#dslca-code").val(),s=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:s,dslc_code:e},function(e){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==e.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")
|
3 |
+
})}function dslc_generate_code(){dslcDebug&&console.log("dslc_generate_code");var e,s,o,d,l,a,t,i="",c=12,n=12,r=0,u=0,m="";jQuery("#dslc-main .dslc-modules-area").each(function(){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()):(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").each(function(){jQuery(".dslc-modules-area",this).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}),jQuery("#dslc-main .dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-modules-section").each(function(){u=0,t=jQuery(this),m="",jQuery(".dslca-modules-section-settings input",t).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),i=i+"[dslc_modules_section "+m+"] ",jQuery(".dslc-modules-area",t).each(function(){d=jQuery(this),o=parseInt(d.data("size")),l="no",a="no",u+=o,u==n?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),u=0,l="yes"):u>n&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),u=o,a="yes"),u==o&&(a="yes"),i=i+'[dslc_modules_area last="'+l+'" first="'+a+'" size="'+o+'"] ',jQuery(".dslc-module-front",d).each(function(){s=parseInt(jQuery(this).data("dslc-module-size"));var o="no",d="no";r+=s,r==c?(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),r=0,o="yes"):r>c&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),r=s,d="yes"),r==c&&(d="yes",jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),r=0),e=jQuery(this).find(".dslca-module-code").val(),i=i+'[dslc_module last="'+o+'"]'+e+"[/dslc_module] "}),i+="[/dslc_modules_area] "}),i+="[/dslc_modules_section] "}),jQuery("#dslca-code").val(i),jQuery("#dslca-export-code").val(i),dslca_gen_content_for_search()}function dslc_generate_section_code(e){dslcDebug&&console.log("dslc_generate_section_code");var s,o,d,l,a,t,i,c="",n=12,r=0,u=0,m="";u=0;var i=e;return jQuery(".dslca-modules-section-settings input",i).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),c=c+"[dslc_modules_section "+m+"] ",jQuery(".dslc-modules-area",i).each(function(){l=jQuery(this),d=parseInt(l.data("size")),a="no",t="no",u+=d,u==n?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),u=0,a="yes"):u>n&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),u=d,t="yes"),u==d&&(t="yes"),c=c+'[dslc_modules_area last="'+a+'" first="'+t+'" size="'+d+'"] ',jQuery(".dslc-module-front",l).each(function(){o=parseInt(jQuery(this).data("dslc-module-size")),r+=o,r==d&&(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),r=0),s=jQuery(this).find(".dslca-module-code").val(),c=c+"[dslc_module]"+s+"[/dslc_module] "}),c+="[/dslc_modules_area] "}),c+="[/dslc_modules_section] "}function dslc_update_preset(){dslcDebug&&console.log("dslc_update_preset");var e=jQuery(".dslca-module-being-edited"),s=e.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),o=e.find(".dslca-module-code").val(),d=e.data("dslc-module-id");"none"!==s&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:s,dslc_preset_code:o,dslc_module_id:d},function(){jQuery(".dslc-module-front:not(#"+e.attr("id")+')[data-dslc-module-id="'+e.data("dslc-module-id")+'"][data-dslc-preset="'+e.data("dslc-preset")+'"]').each(function(){dslc_module_output_reload(jQuery(this))})})}function dslc_dm_get_defaults(e){dslcDebug&&console.log("dslc_dm_get_defaults");var s=e.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:s},function(e){jQuery(".dslca-prompt-modal textarea").val(e.output)})}function dslca_gen_content_for_search(){dslcDebug&&console.log("dslca_gen_content_for_search");var e=jQuery("#dslca-content-for-search"),s=e.val(),o="";jQuery("#dslc-main .dslca-editable-content").each(function(){o+=jQuery(this).text().replace(/\s+/g," ").trim()+" "}),e.val(o),s!==o&&dslc_show_publish_button()}function dslca_draggable_calc_center(e){dslcDebug&&console.log("dslca_draggable_calc_center"),jQuery(".dslc-modules-section-inner").sortable("option","cursorAt",{top:e.outerHeight()/2,left:e.outerWidth()/2})}function dslc_editable_content_gen_code(e){dslcDebug&&console.log("dslc_editable_content_gen_code");var s,o,d;s=e.closest(".dslc-module-front"),o=e.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),d=e.data("id"),jQuery('.dslca-module-option-front[data-id="'+d+'"]',s).val(o),dslc_show_publish_button()}var dslcRegularFontsArray=["Georgia","Times","Arial","Lucida Sans Unicode","Tahoma","Trebuchet MS","Verdana","Helvetica"],dslcGoogleFontsArray=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Anaheim","Andada","Andika","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Asap","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Baumans","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Bitter","Black Ops One","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Caudex","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dawning of a New Day","Days One","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","Eagle Lake","Eater","EB Garamond","Economica","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fauna One","Federant","Federo","Felipa","Fenix","Finger Paint","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Fresca","Frijole","Fruktur","Fugaz One","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","GFS Didot","GFS Neohellenic","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Habibi","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Holtwood One SC","Homemade Apple","Homenaje","Iceberg","Iceland","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Imprima","Inconsolata","Inder","Indie Flower","Inika","Irish Grover","Istok Web","Italiana","Italianno","Jacques Francois","Jacques Francois Shadow","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kameron","Karla","Kaushan Script","Kavoon","Keania One","Kelly Slab","Kenia","Kite One","Knewave","Kotta One","Kranky","Kreon","Kristi","Krona One","La Belle Aurore","Lancelot","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","Pacifico","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Port Lligat Sans","Port Lligat Slab","Prata","Press Start 2P","Princess Sofia","Prociono","Prosto One","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Raleway","Raleway Dots","Rambla","Rammetto One","Ranchers","Rancho","Rationale","Redressed","Reenie Beanie","Revalia","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sail","Salsa","Sanchez","Sancreek","Sansita One","Sarina","Satisfy","Scada","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sunshiney","Supermercado One","Swanky and Moo Moo","Syncopate","Tangerine","Tauri","Telex","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","Vampiro One","Varela","Varela Round","Vast Shadow","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","VT323","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Yanone Kaffeesatz","Yellowtail","Yeseva One","Yesteryear","Zeyada"],dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray),dslcFontAwesomeArray=["adjust","adn","align-center","align-justify","align-left","align-right","ambulance","anchor","android","angellist","angle-down","angle-left","angle-right","angle-up","apple","archive","area-chart","arrow-circle-left","arrow-circle-right","arrow-down","arrow-left","arrow-right","arrow-up","asterisk","at","automobile","backward","ban-circle","bank","bar-chart","barcode","beaker","bed","beer","behance","behance-square","bell","bell-alt","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","bitbucket","bitbucket-sign","bitcoin","bold","bolt","bomb","book","bookmark","bookmark-empty","briefcase","btc","bug","building","building","bullhorn","bullseye","bus","buysellads","cab","calculator","calendar","calendar-empty","camera","camera-retro","car","caret-down","caret-left","caret-right","caret-square-left","caret-up","cart-arrow-down","cart-plus","cc","cc-amex","cc-discover","cc-mastercard","cc-paypal","cc-stripe","cc-visa","certificate","check","check-empty","check-minus","check-sign","chevron-down","chevron-left","chevron-right","chevron-sign-down","chevron-sign-left","chevron-sign-right","chevron-sign-up","chevron-up","child","circle","circle-arrow-down","circle-arrow-left","circle-arrow-right","circle-arrow-up","circle-blank","circle-o-notch","circle-thin","cloud","cloud-download","cloud-upload","cny","code","code-fork","codepen","coffee","cog","cogs","collapse","collapse-alt","collapse-top","columns","comment","comment-alt","comments","comments-alt","compass","connectdevelop","copy","copyright","credit-card","crop","css3","cube","cubes","cut","dashboard","dashcube","database","delicious","desktop","deviantart","diamond","digg","dollar","dot-circle","double-angle-down","double-angle-left","double-angle-right","double-angle-up","download","download-alt","dribbble","dropbox","drupal","edit","edit-sign","eject","ellipsis-horizontal","ellipsis-vertical","empire","envelope","envelope-alt","envelope-square","eraser","eur","euro","exchange","exclamation","exclamation-sign","expand","expand-alt","external-link","external-link-sign","eye-close","eye-open","eyedropper","facebook","facebook-official","facebook-sign","facetime-video","fast-backward","fast-forward","fax","female","fighter-jet","file","file-alt","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o","file-pdf-o","file-photo-o","file-picture-o","file-powerpoint-o","file-sound-o","file-text","file-text-alt","file-video-o","file-word-o","file-zip-o","film","filter","fire","fire-extinguisher","flag","flag-alt","flag-checkered","flickr","folder-close","folder-close-alt","folder-open","folder-open-alt","font","food","forumbee","forward","foursquare","frown","fullscreen","futbol-o","gamepad","gbp","ge","gear","gears","gift","git","git-square","github","github-alt","github-sign","gittip","glass","globe","google","google-plus","google-plus-sign","google-wallet","graduation-cap","group","h-sign","hacker-news","hand-down","hand-left","hand-right","hand-up","hdd","header","headphones","heart","heart-empty","heartbeat","history","home","hospital","hotel (alias)","html5","ils","inbox","indent-left","indent-right","info","info-sign","inr","instagram","institution","ioxhost","italic","joomla","jpy","jsfiddle","key","keyboard","krw","language","laptop","lastfm","lastfm-square","leaf","leanpub","legal","lemon","level-down","level-up","life-bouy","life-ring","life-saver","lightbulb","line-chart","link","linkedin","linkedin-sign","linux","list","list-alt","list-ol","list-ul","location-arrow","lock","long-arrow-down","long-arrow-left","long-arrow-right","long-arrow-up","magic","magnet","mail-forward","mail-reply","mail-reply-all","male","map-marker","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","maxcdn","meanpath","medium","medkit","meh","mercury","microphone","microphone-off","minus","minus-sign","minus-sign-alt","mobile-phone","money","moon","mortar-board","motorcycle","move","music","neuter","newspaper-o","off","ok","ok-circle","ok-sign","openid","pagelines","paint-brush","paper-clip","paper-plane","paper-plane-o","paperclip","paragraph","paste","pause","paw","paypal","pencil","phone","phone-sign","picture","pie-chart","pied-piper","pied-piper-alt","pied-piper-square","pinterest","pinterest-p","pinterest-sign","plane","play","play-circle","play-sign","plug","plus","plus-sign","plus-sign-alt","power-off","print","pushpin","puzzle-piece","qq","qrcode","question","question-sign","quote-left","quote-right","ra","random","rebel","recycle","reddit","reddit-square","refresh","remove","remove-circle","remove-sign","renminbi","renren","reorder","repeat","reply","reply-all","resize-full","resize-horizontal","resize-small","resize-vertical","retweet","road","rocket","rotate-left","rotate-right","rouble","rss","rss-sign","rupee","save","screenshot","search","sellsy","send","send-o","server","share","share-alt","share-alt","share-alt-square","share-sign","shield","ship","shirtsinbulk","shopping-cart","sign-blank","signal","signin","signout","simplybuilt","sitemap","skyatlas","skype","slack","sliders","slideshare","smile","sort","sort-by-alphabet","sort-by-alphabet-alt","sort-by-attributes","sort-by-attributes-alt","sort-by-order","sort-by-order-alt","sort-down","sort-up","soundcloud","space-shuttle","spinner","spoon","spotify","stack-exchange","stackexchange","star","star-empty","star-half","star-half-empty","star-half-full","steam","steam-square","step-backward","step-forward","stethoscope","stop","street-view","strikethrough","stumbleupon","stumbleupon-circle","subscript","subway","suitcase","sun","superscript","support","table","tablet","tag","tags","tasks","taxi","tencent-weibo","terminal","text-height","text-width","th","th-large","th-list","thumbs-down","thumbs-down-alt","thumbs-up","thumbs-up-alt","ticket","time","tint","toggle-off","toggle-on","train","transgender","transgender-alt","trash","trash","tree","trello","trophy","truck","tty","tumblr","tumblr-sign","turkish-lira","twitch","twitter","twitter-sign","umbrella","unchecked","underline","undo","university","unlink","unlock","unlock-alt","upload","upload-alt","usd","user","user-md","user-plus","user-secret","user-times","venus","venus-double","venus-mars","viacoin","vimeo-square","vine","vk","volume-down","volume-off","volume-up","warning-sign","wechat","weibo","weixin","whatsapp","wheelchair","wifi","windows","won","wordpress","wrench","xing","xing-sign","yahoo","yelp","yen","youtube","youtube-play","youtube-sign","zoom-in","zoom-out"],dslcDebug=!1;jQuery(document).ready(function(e){jQuery("body").hasClass("rtl")||jQuery(".dslca-module-edit-options-inner").jScrollPane(),e("body").addClass("dslca-enabled dslca-drag-not-in-progress"),e(".dslca-invisible-overlay").hide(),e(".dslca-section").eq(0).show(),dslc_drag_and_drop(),dslc_generate_code(),e(document).on("click",".dslca-hide-composer-hook",function(){dslc_hide_composer()}),e(document).on("click",".dslca-show-composer-hook",function(){dslc_show_composer()}),e(document).on("click",".dslca-go-to-modules-hook",function(e){e.preventDefault(),dslc_show_section(".dslca-modules")}),e(document).on("click",".dslca-go-to-section-hook",function(s){s.preventDefault();var o=e(this).data("section");dslc_show_section(o),e(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}),e(document).on("click",".dslca-close-composer-hook",function(s){s.preventDefault(),e("body").hasClass("dslca-saving-in-progress")||dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_exit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_exit_descr+"</span>",e(this).attr("href"))}),e(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()}),e(document).on("click",".dslca-section-title",function(s){s.stopPropagation(),e(".dslca-section-title-filter",this).length&&(dslc_generate_filters(),e(".dslca-section-title-filter-options").slideToggle(300))}),e(document).on("click",".dslca-section-title-filter-options span",function(s){s.stopPropagation();var o=e(this).data("origin"),d=e(this).closest(".dslca-section");e(".dslca-section-title-filter-curr",d).text(d.hasClass("dslca-templates-load")?e(this).text()+" TEMPLATES":e(this).text()+" MODULES"),e(".dslca-section-scroller-inner").css({left:0}),dslc_filter_origin(o,d)})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-section-scroller-prev",function(s){s.preventDefault(),dslc_scroller_prev(e(this).closest(".dslca-section").find(".dslca-section-scroller"))}),e(document).on("click",".dslca-section-scroller-next",function(s){s.preventDefault(),dslc_scroller_next(e(this).closest(".dslca-section").find(".dslca-section-scroller"))})}),jQuery(window).load(function(){dslc_scroller_init(),jQuery(window).resize(function(){dslc_scroller_init()})}),jQuery(document).ready(function(){dslc_ui_animations()}),jQuery(document).ready(function(e){e(document).on("click",".dslca-open-modal-hook",function(){var s=e(this).data("modal");dslc_show_modal(e(this),s)}),e(document).on("click",".dslca-close-modal-hook",function(){if(!e(this).hasClass("dslca-action-disabled")){var s=e(this).data("modal");dslc_hide_modal(e(this),s)}})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-prompt-modal-cancel-hook",function(e){e.preventDefault();var s=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==s&&dslc_module_options_cancel_changes(function(){o.trigger("click")}),dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),e(document).on("click",".dslca-prompt-modal-confirm-hook",function(s){s.preventDefault();var o=jQuery(".dslca-prompt-modal").data("id"),d=jQuery(".dslca-prompt-modal").data("target"),l=!0;if("edit_in_progress"==o)dslc_module_options_confirm_changes(function(){d.trigger("click")});else if("disable_lc"==o)window.location=d;else if("delete_module"==o){var a=d.closest(".dslc-module-front");dslc_delete_module(a)}else if("delete_modules_area"==o){var t=d.closest(".dslc-modules-area");dslc_modules_area_delete(t)}else"delete_modules_section"==o?dslc_row_delete(d.closest(".dslc-modules-section")):"export_modules_section"==o||"import_modules_section"==o&&(dslc_row_import(e(".dslca-prompt-modal textarea").val()),e(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),e(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),l=!1);l&&dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),e(window).on("keydown",function(s){13==s.which?e(".dslca-prompt-modal-active").length&&e(".dslca-prompt-modal-confirm-hook").trigger("click"):27==s.which&&e(".dslca-prompt-modal-active").length&&e(".dslca-prompt-modal-cancel-hook").trigger("click")})}),jQuery(document).ready(function(e){dslc_row_edit_colorpicker_init(),dslc_row_edit_slider_init(),e("#dslc-main .dslc-modules-section").length||e("#dslca-tut-page").length||dslc_row_add(),e(document).on("click",".dslca-add-modules-section-hook",function(){var s=e(this);e(this).hasClass("dslca-action-disabled")||(s.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),dslc_row_add(function(){s.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")}))}),e(document).on("click",".dslca-edit-modules-section-hook",function(){e(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-module-being-edited.dslca-module-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",jQuery(this)):jQuery(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",jQuery(this)):dslc_row_edit(e(this).closest(".dslc-modules-section")))}),e(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm(),e(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),e(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel(),e(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),e(document).on("click",".dslca-copy-modules-section-hook",function(){e(this).hasClass("dslca-action-disabled")||dslc_row_copy(e(this).closest(".dslc-modules-section"))}),e(document).on("click",".dslca-import-modules-section-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||(e(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span><span>'+DSLCString.str_import+'</span><div class="dslca-loading followingBallsGWrap"><div class="followingBallsG_1 followingBallsG"></div><div class="followingBallsG_2 followingBallsG"></div><div class="followingBallsG_3 followingBallsG"></div><div class="followingBallsG_4 followingBallsG"></div></div>'),dslc_js_confirm("import_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_import_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_import_row_descr+" <br><br><textarea></textarea></span>",e(this)))}),e(document).on("click",".dslca-delete-modules-section-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_row_descr+"</span>",e(this))}),e(document).on("click",".dslca-export-modules-section-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||(e(".dslca-prompt-modal-cancel-hook").hide(),e(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),dslc_js_confirm("export_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_export_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_export_row_descr+" <br><br><textarea></textarea></span>",e(this)),e(".dslca-prompt-modal textarea").val(dslc_generate_section_code(e(this).closest(".dslc-modules-section"))))})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-add-modules-area-hook",function(e){e.preventDefault(),dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}),e(document).on("click",".dslca-delete-modules-area-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_area",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_area_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_area_descr+"</span>",e(this))}),e(document).on("click",".dslca-copy-modules-area-hook",function(s){if(s.preventDefault(),!e(this).hasClass("dslca-action-disabled")){var o=e(this).closest(".dslc-modules-area");dslc_copy_modules_area(o)}}),e(document).on("click",".dslca-change-width-modules-area-options span",function(){e(this).hasClass("dslca-action-disabled")||dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}),e(document).on("click",".dslca-change-width-modules-area-hook",function(s){if(s.preventDefault(),!e(this).hasClass("dslca-action-disabled"))if(e(".dslca-change-width-modules-area-options:visible",this).length)e(".dslca-change-width-modules-area-options",this).hide();else{e(".dslca-change-width-modules-area-options .dslca-active-width").removeClass("dslca-active-width");var o=e(this).closest(".dslc-modules-area").data("size");e('.dslca-change-width-modules-area-options span[data-size="'+o+'"]').addClass("dslca-active-width"),e(".dslca-change-width-modules-area-options",this).show()}})}),jQuery(document).ready(function(e){dslc_module_options_tooltip(),dslc_module_options_font(),dslc_module_options_icon(),dslc_module_options_text_align(),dslc_module_options_checkbox(),e(".dslca-module-edit-form").submit(function(e){e.preventDefault(),dslc_module_output_altered()}),e(document).on("click",".dslca-copy-module-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_module_copy(e(this).closest(".dslc-module-front"))}),e(document).on("click",".dslca-delete-module-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_module",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_module_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_module_descr+"</span>",e(this))}),e(document).on("click",".dslca-change-width-module-hook",function(s){s.preventDefault(),e(this).hasClass("dslca-action-disabled")||(e(".dslca-change-width-module-options",this).toggle(),e(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-change-width-active"))}),e(document).on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))}),e(document).on("click",".dslca-module-edit-hook",function(s){if(s.preventDefault(),!e("body").hasClass("dslca-composer-hidden"))if(e(".dslca-module-being-edited.dslca-module-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",e(this));else if(e(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",e(this));else{e(".dslca-modules-section-being-edited").length&&e(".dslca-module-edit-cancel").trigger("click");{var o=e(this).closest(".dslc-module-front"),d=o.data("dslc-module-id");
|
4 |
+
o.find(".dslca-module-code").val()}e(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),o.addClass("dslca-module-being-edited"),dslc_module_options_show(d)}}),e(document).on("click",".dslca-module-edit-options-tab-hook",function(){dslc_module_options_tab_filter(e(this))}),e(document).on("click",".dslca-options-filter-hook",function(){var s=jQuery(".dslca-options-filter-hook.dslca-active").data("section");e(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),e(this).addClass("dslca-active"),dslc_module_options_section_filter(jQuery(this).data("section")),"responsive"==s&&(jQuery(".dslca-container-loader").show(),dslc_responsive_classes(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()}))}),e(document).on("click",".dslca-module-edit-save",function(){dslc_module_options_confirm_changes(),e(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),e(document).on("click",".dslca-module-edit-cancel",function(){dslc_module_options_cancel_changes(),e(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-template",function(){dslc_template_load(jQuery(this).data("id"))}),e(".dslca-template-import-form").submit(function(e){e.preventDefault(),dslc_template_import()}),e(".dslca-template-save-form").submit(function(e){e.preventDefault(),dslc_template_save()}),e(document).on("click",".dslca-delete-template-hook",function(s){s.stopPropagation(),dslc_template_delete(e(this).data("id"))})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-save-composer-hook",function(){e("body").hasClass("dslca-module-saving-in-progress")||e("body").hasClass("dslca-saving-in-progress")||dslc_save_composer()}),e(document).on("click",".dslca-save-draft-composer-hook",function(){e("body").hasClass("dslca-module-saving-in-progress")||e("body").hasClass("dslca-saving-in-progress")||dslc_save_draft_composer()})}),jQuery(document).ready(function(e){e(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(s){if(13==s.which){var o=e(this).val(),d=o.toLowerCase().replace(/\s/g,"-");e("body").addClass("dslca-new-preset-added"),e('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change"),e(this).val("")}}),e(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(){e(".dslca-module-being-edited").addClass("dslca-preload-preset")})}),jQuery(document).ready(function(e){e(document).on("click",".dslca-module-get-defaults-hook",function(){var s=jQuery(this).closest(".dslc-module-front"),o=(dslc_dm_get_defaults(s),'<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>');e(".dslca-prompt-modal-cancel-hook").hide(),e(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK'),dslc_js_confirm("dev_mode_get_default",o,s)}),e(document).on("click","a:not(.dslca-link)",function(e){e.preventDefault()}),e(document).unbind("keydown").bind("keydown",function(s){var o=!1;if(8===s.keyCode){var d=s.srcElement||s.target;o="INPUT"===d.tagName.toUpperCase()&&("TEXT"===d.type.toUpperCase()||"PASSWORD"===d.type.toUpperCase()||"FILE"===d.type.toUpperCase())||"TEXTAREA"===d.tagName.toUpperCase()||e(d).hasClass("dslca-editable-content")||e(d).hasClass("dslc-tabs-nav-hook-title")||e(d).hasClass("dslc-accordion-title")?d.readOnly||d.disabled:!0}o&&s.preventDefault()}),e(document).on("keydown",function(e){116==(e.which||e.keyCode)&&(jQuery(".dslca-save-composer-hook").is(":visible")||jQuery(".dslca-module-edit-save").is(":visible"))&&(e.preventDefault(),dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_refresh_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_refresh_descr+"</span>",document.URL))}),e(document).on("mouseenter",".dslc-hf-block-overlay",function(){e(this).stop().animate({opacity:1},300)}).on("mouseleave",".dslc-hf-block-overlay",function(){e(this).stop().animate({opacity:0},300)}),e(document).on("click",".dslca-refresh-module-hook",function(){e(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"}),e(this).closest(".dslc-module-front").addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){e(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})})}),window.onbeforeunload=function(){},jQuery(document).ready(function(e){e(document).on("change",".dslca-modules-section-edit-field",function(){var s,o,d,l,a,t,i,c;if(s=e(this),o=s.data("id"),l=s.val(),a=l,t=s.data("css-rule"),d=e(".dslca-modules-section-being-edited"),c=d,i=e('.dslca-modules-section-settings input[data-id="'+o+'"]',d),d.addClass("dslca-modules-section-change-made"),s.hasClass("dslca-modules-section-edit-field-upload")&&l&&l.length&&(l=s.data("dslca-img-url")),"background-image"==t&&(l='url("'+l+'")',dslc_bg_video()),"bg_image_attachment"==o&&d.removeClass("dslc-init-parallax"),"border-top"==o||"border-right"==o||"border-bottom"==o||"border-left"==o){var n=e('.dslca-modules-section-settings input[data-id="border_style"]').val();i=e('.dslca-modules-section-settings input[data-id="border"]',d),a="";var r=s.closest(".dslca-modules-section-edit-option-checkbox-wrapper");r.find(".dslca-modules-section-edit-field-checkbox").each(function(){e(this).is(":checked")&&("border-top"==e(this).data("id")?a+="top ":"border-right"==e(this).data("id")?a+="right ":"border-bottom"==e(this).data("id")?a+="bottom ":"border-left"==e(this).data("id")&&(a+="left "))}),s.is(":checked")?"border-top"==s.data("id")?d.css({"border-top-style":n}):"border-right"==s.data("id")?d.css({"border-right-style":n}):"border-bottom"==s.data("id")?d.css({"border-bottom-style":n}):"border-left"==s.data("id")&&d.css({"border-left-style":n}):"border-top"==s.data("id")?d.css({"border-top-style":"hidden"}):"border-right"==s.data("id")?d.css({"border-right-style":"hidden"}):"border-bottom"==s.data("id")?d.css({"border-bottom-style":"hidden"}):"border-left"==s.data("id")&&d.css({"border-left-style":"hidden"})}else if(s.hasClass("dslca-modules-section-edit-field-checkbox")){var u=e(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),m="";u.each(function(){e(this).prop("checked")&&(m+=e(this).data("val")+" ")});var a=m;"show_on"==s.data("id")&&(console.log(m),-1!==m.indexOf("desktop")?e(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-desktop"):e(".dslca-modules-section-being-edited").addClass("dslc-hide-on-desktop"),-1!==m.indexOf("tablet")?e(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-tablet"):e(".dslca-modules-section-being-edited").addClass("dslc-hide-on-tablet"),-1!==m.indexOf("phone")?e(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-phone"):e(".dslca-modules-section-being-edited").addClass("dslc-hide-on-phone"))}else if("bg_image_attachment"==o&&"parallax"==l||"type"==o)"bg_image_attachment"==o?(d.addClass("dslc-init-parallax"),dslc_parallax()):"type"==o&&("full"==l?d.addClass("dslc-full"):d.removeClass("dslc-full"),dslc_masonry());else if("columns_spacing"==o)"nospacing"==l?d.addClass("dslc-no-columns-spacing"):d.removeClass("dslc-no-columns-spacing");else if("custom_class"==o);else if("custom_id"==o);else if("bg_video"==o){if(jQuery(".dslc-bg-video video",d).remove(),l&&l.length){var p=l;p=p.replace(".webm",""),p=p.replace(".mp4",""),jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+p+'.mp4" /><source type="video/webm" src="'+p+'.webm" /></video>'),dslc_bg_video()}}else if("bg_image_thumb"==o)if("enabled"==a){if(jQuery("#dslca-post-data-thumb").length){var h="url('"+jQuery("#dslca-post-data-thumb").val()+"')";c.css(t,h)}}else"disabled"==a&&c.css(t,"none");else s.data("css-element")&&(c=jQuery(s.data("css-element"),d)),c.css(t,l);i.val(a),dslc_generate_code(),dslc_show_publish_button()}),jQuery(document).on("blur",".dslca-editable-content",function(){jQuery("body").hasClass("dslca-composer-hidden")||"simple"!=jQuery(this).data("type")||dslc_editable_content_gen_code(jQuery(this))}).on("paste",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&"simple"==jQuery(this).data("type")){var e=jQuery(this);setTimeout(function(){"simple"==e.data("type")&&e.html(e.text()),dslc_editable_content_gen_code(jQuery(this))},1)}}).on("focus",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&(jQuery("body").hasClass("dslca-composer-hidden")?e(this).trigger("blur"):jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"))}).on("keyup",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}),e(document).on("blur",".dslc-editable-area",function(){var s=e(this).closest(".dslc-module-front"),o=e(this).data("dslc-option-id"),d=e(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+o+'"]',s).val(d),dslc_module_output_altered()}),e(document).on("change",".dslca-module-edit-field",function(){dslc_module_options_hideshow_tabs();{var s="",o="",d=e(this),l=d.data("id"),a=d.closest(".dslca-module-edit-option"),t=e(".dslca-module-being-edited"),i=t.data("dslc-module-id");jQuery(".dslca-module-options-front textarea",t)}if(t.addClass("dslca-module-change-made"),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(a.find(".dslca-module-edit-option-checkbox-wrapper").length){var c=e('input[type="checkbox"]',a);c.each(function(){e(this).prop("checked")&&(s=s+e(this).val()+" ")})}else if(d.hasClass("dslca-module-edit-option-radio"))var s=e(".dslca-module-edit-field:checked",d).val();else{var s=d.val();if("orientation"==l&&"horizontal"==s){var n=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");n.slider({value:40}).slider("option","slide")(null,{value:n.slider("value")})}else if("orientation"==l&&"vertical"==s){var n=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");n.slider({value:100}).slider("option","slide")(null,{value:n.slider("value")})}}jQuery('.dslca-module-options-front textarea[data-id="'+l+'"]',t).val(s),jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").addClass("dslca-module-change-made"),"css_load_preset"!=l||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(dslc_module_options_show(i),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added")})}else{if(d.hasClass("dslca-module-edit-field-font")){var r=d.val();r+=":400,100,200,300,500,600,700,800,900";var u=d.data("affect-on-change-el"),m=d.data("affect-on-change-rule"),p=d.val(),h=p;d.val().length&&-1!==dslcGoogleFontsArray.indexOf(d.val())?WebFont.load({google:{families:[r]},active:function(){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?"dslc-icon-chevron-right":"dslc-icon-chevron-left"),jQuery(u,".dslca-module-being-edited").css(m,p)},inactive:function(){jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?"dslc-icon-chevron-right":"dslc-icon-chevron-left")}}):(jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass(jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?"dslc-icon-chevron-right":"dslc-icon-chevron-left"),jQuery(u,".dslca-module-being-edited").css(m,p))}else if(d.hasClass("dslca-module-edit-field-checkbox")){var c=e('input[type="checkbox"]',a);c.each(function(){e(this).prop("checked")?(s+="solid ",o=o+e(this).val()+" "):s+="none "})}if(!d.hasClass("dslca-module-edit-field-font")){var u=d.data("affect-on-change-el"),m=d.data("affect-on-change-rule"),p=d.val(),h=p;d.hasClass("dslca-module-edit-field-checkbox")&&(p=s,h=o),d.hasClass("dslca-module-edit-field-image")&&(p='url("'+p+'")'),p.length<1&&("background-color"==m||"background"==m)&&(p="transparent"),jQuery(u,".dslca-module-being-edited").css(m,p)}jQuery('.dslca-module-option-front[data-id="'+l+'"]',t).val(h)}}),e(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){var s,o=e(this),d=o.data("id"),l=(o.closest(".dslca-module-edit-option"),e(".dslca-module-being-edited")),a=(l.data("dslc-module-id"),jQuery(".dslca-module-options-front textarea",l),o.data("affect-on-change-el")),t=o.data("affect-on-change-rule"),i=o.val(),c=i+o.data("ext");if(l.addClass("dslca-module-change-made"),"active"!=jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){s=t.split(",");for(var n=0;n<s.length;n++)jQuery(a,".dslca-module-being-edited").css(s[n],c);jQuery('.dslca-module-option-front[data-id="'+d+'"]',l).val(i)}}),e(document).on("keyup",".dslca-modules-section-edit-field-numeric",function(){var s,o=e(this),d=o.data("id"),l=(o.closest(".dslca-modules-section-edit-option"),e(".dslca-modules-section-being-edited")),a=o.data("css-rule"),t=o.val(),i=t+o.data("ext");l.addClass("dslca-modules-section-change-made"),s=a.split(",");for(var c=0;c<s.length;c++)l.css(s[c],i);jQuery('.dslca-modules-section-settings input[data-id="'+d+'"]',l).val(t)})}),jQuery(document).ready(function(e){var s;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-add-hook"))var o=e.siblings(".dslca-module-edit-field-image"),d=e.siblings(".dslca-module-edit-field-image-remove-hook");else var o=e.siblings(".dslca-modules-section-edit-field-upload"),d=e.siblings(".dslca-modules-section-edit-field-image-remove-hook");var l=!1;s=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:l}),s.on("select",function(){var l=s.state().get("selection").first().toJSON();o.val(l.id).data("dslca-img-url",l.url).trigger("change"),e.hide(),d.show()}),s.open()}),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-remove-hook"))var s=e.siblings(".dslca-module-edit-field-image"),o=e.siblings(".dslca-module-edit-field-image-add-hook");else var s=e.siblings(".dslca-modules-section-edit-field-upload"),o=e.siblings(".dslca-modules-section-edit-field-image-add-hook");s.val("").trigger("change"),e.hide(),o.show()}),e(document).on("click",".dslca-wysiwyg-actions-edit-hook",function(){var s=e(this).parent().siblings(".dslca-editable-content"),o=s.closest(".dslc-module-front");if(o.hasClass("dslc-module-handle-like-accordion")){dslc_accordion_generate_code(o.find(".dslc-accordion"));var d=o.find('.dslca-module-option-front[data-id="accordion_content"]').val(),l=d.split("(dslc_sep)"),a=s.closest(".dslc-accordion-item").index(),t=l[a].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(o.hasClass("dslc-module-handle-like-tabs")){dslc_tabs_generate_code(o.find(".dslc-tabs"));var d=o.find('.dslca-module-option-front[data-id="tabs_content"]').val(),l=d.split("(dslc_sep)"),a=s.closest(".dslc-tabs-tab-content").index(),t=l[a].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else var t=o.find('.dslca-module-option-front[data-id="'+s.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea");if("undefined"!=typeof tinymce){var i=tinymce.get("dslcawpeditor");e("#wp-dslcawpeditor-wrap").hasClass("tmce-active")?i.setContent(t,{format:"html"}):jQuery("textarea#dslcawpeditor").val(t),o.hasClass("dslca-module-being-edited")||o.find(".dslca-module-edit-hook").trigger("click"),e(".dslca-wp-editor").show(),s.addClass("dslca-wysiwyg-active"),e("#dslcawpeditor_ifr, #dslcawpeditor").css({height:e(".dslca-wp-editor").height()-350})}}),e(document).on("click",".dslca-wp-editor-save-hook",function(){var s=e(".dslca-wysiwyg-active").closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(e("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var o=tinymce.get("dslcawpeditor"),d=o.getContent();else var d=e("#dslcawpeditor").val();if(e(".dslca-wp-editor").hide(),e(".dslca-wysiwyg-active").html(d),s.hasClass("dslc-module-handle-like-accordion")){e(".dslca-wysiwyg-active").siblings(".dslca-accordion-plain-content").val(d);var l=s.find(".dslc-accordion");dslc_accordion_generate_code(l)}else if(s.hasClass("dslc-module-handle-like-tabs")){e(".dslca-wysiwyg-active").siblings(".dslca-tab-plain-content").val(d);var a=s.find(".dslc-tabs");dslc_tabs_generate_code(a)}dslc_editable_content_gen_code(e(".dslca-wysiwyg-active")),e(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")}}),e(document).on("click",".dslca-wp-editor-cancel-hook",function(){e(".dslca-wp-editor").hide(),e(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")})});
|
@@ -155,6 +155,12 @@ class DSLC_Social extends DSLC_Module {
|
|
155 |
'std' => '',
|
156 |
'type' => 'text',
|
157 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
/**
|
160 |
* Styling
|
@@ -830,6 +836,14 @@ class DSLC_Social extends DSLC_Module {
|
|
830 |
<?php endif; ?>
|
831 |
</li>
|
832 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
833 |
</ul>
|
834 |
|
835 |
</div><!-- .dslc-social-wrap -->
|
155 |
'std' => '',
|
156 |
'type' => 'text',
|
157 |
),
|
158 |
+
array(
|
159 |
+
'label' => __( 'Yelp', 'dslc_string' ),
|
160 |
+
'id' => 'yelp',
|
161 |
+
'std' => '',
|
162 |
+
'type' => 'text',
|
163 |
+
),
|
164 |
|
165 |
/**
|
166 |
* Styling
|
836 |
<?php endif; ?>
|
837 |
</li>
|
838 |
<?php endif; ?>
|
839 |
+
<?php if ( isset( $options['yelp'] ) && $options['yelp'] != '' ) : ?>
|
840 |
+
<li>
|
841 |
+
<a class="dslc-social-icon" target="_blank" href="<?php echo $options['yelp']; ?>"><span class="dslc-icon dslc-init-center dslc-icon-yelp"></span></a>
|
842 |
+
<?php if ( $options['show_labels'] == 'enabled' ) : ?>
|
843 |
+
<a class="dslc-social-label" target="_blank" href="<?php echo $options['yelp']; ?>"><span><?php _e( 'Yelp', 'dslc_string' ); ?></span></a>
|
844 |
+
<?php endif; ?>
|
845 |
+
</li>
|
846 |
+
<?php endif; ?>
|
847 |
</ul>
|
848 |
|
849 |
</div><!-- .dslc-social-wrap -->
|
@@ -1090,6 +1090,19 @@ class DSLC_Testimonials extends DSLC_Module {
|
|
1090 |
'section' => 'styling',
|
1091 |
'tab' => __( 'position', 'dslc_string' ),
|
1092 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1093 |
|
1094 |
/**
|
1095 |
* Responsive Tablet
|
1090 |
'section' => 'styling',
|
1091 |
'tab' => __( 'position', 'dslc_string' ),
|
1092 |
),
|
1093 |
+
array(
|
1094 |
+
'label' => __( 'Line Height', 'dslc_string' ),
|
1095 |
+
'id' => 'css_position_lheight',
|
1096 |
+
'std' => '1.1',
|
1097 |
+
'type' => 'slider',
|
1098 |
+
'refresh_on_change' => false,
|
1099 |
+
'affect_on_change_el' => '.dslc-testimonial-author-position',
|
1100 |
+
'affect_on_change_rule' => 'line-height',
|
1101 |
+
'section' => 'styling',
|
1102 |
+
'tab' => __( 'position', 'dslc_string' ),
|
1103 |
+
'increment' => '0.05',
|
1104 |
+
'max' => 3
|
1105 |
+
),
|
1106 |
|
1107 |
/**
|
1108 |
* Responsive Tablet
|
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: LiveComposer
|
3 |
Tags: page builder, page, modules, front-end, builder, live, composer
|
4 |
Requires at least: 3.9
|
5 |
-
Tested up to: 4.3
|
6 |
-
Stable tag: 1.0
|
7 |
License: GPLv3
|
8 |
|
9 |
Live Composer is a front-end WordPress page builder plugin. But with the free "blank" theme you can build a whole website.
|
@@ -33,8 +33,33 @@ When you visit a page you'll see a green "activate editor" button in the bottom
|
|
33 |
|
34 |
In most of the cases this is because the homepage is not a real WordPress page, it’s custom content generated by the theme’s index.php. Publish a new page and set it as the homepage ( WP Admin > Settings > Reading > Front Page ). Now you can use LC on the homepage.
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
== Changelog ==
|
37 |
|
38 |
-
= 1.0 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
* Initial release
|
2 |
Contributors: LiveComposer
|
3 |
Tags: page builder, page, modules, front-end, builder, live, composer
|
4 |
Requires at least: 3.9
|
5 |
+
Tested up to: 4.3.1
|
6 |
+
Stable tag: 1.0.1
|
7 |
License: GPLv3
|
8 |
|
9 |
Live Composer is a front-end WordPress page builder plugin. But with the free "blank" theme you can build a whole website.
|
33 |
|
34 |
In most of the cases this is because the homepage is not a real WordPress page, it’s custom content generated by the theme’s index.php. Publish a new page and set it as the homepage ( WP Admin > Settings > Reading > Front Page ). Now you can use LC on the homepage.
|
35 |
|
36 |
+
== Screenshots ==
|
37 |
+
|
38 |
+
1. Editor activated on a page
|
39 |
+
2. Module options displayed ( functionality )
|
40 |
+
3. Module options displayed ( styling )
|
41 |
+
4. Text editor used for editing text in LC modules
|
42 |
+
5. Custom post types in the admin
|
43 |
+
6. Live Composer settings panel
|
44 |
+
7. Post Templates management
|
45 |
+
|
46 |
== Changelog ==
|
47 |
|
48 |
+
= 1.0.1 - September 15th 2015 =
|
49 |
+
|
50 |
+
* Improvement: Social Module - Yelp added
|
51 |
+
* Improvement: Option to change the position of the "activate editor" button ( left or right )
|
52 |
+
* Improvement: Testimonial Module - Option to change line height of "Author Position" element added
|
53 |
+
* Improvement: Loading animation added when adding a row ( while LC fetches a new row and outputs it )
|
54 |
+
* Fix: Issue with CSS generation including "url()" as a background-image value and causing a slower page load
|
55 |
+
* Fix: Masonry was not being initiated when a row is imported
|
56 |
+
* Fix: Tutorial chapter one was broken, getting stuck at changing the padding value
|
57 |
+
* Fix: Info Box Module - There was unwanted spacing below the icon
|
58 |
+
* Fix: Image options causing vertical scrollbar to show in the options area
|
59 |
+
* Fix: Header was going behind the WordPress admin bar ( the vertical bar at the top )
|
60 |
+
* Fix: PHP undefined notice error when a module does not utilize presets functionality
|
61 |
+
* Fix: Styling issue when a module option is an input field with the type number
|
62 |
+
|
63 |
+
= 1.0 - September 10th 2015 =
|
64 |
|
65 |
* Initial release
|