OoohBoi Steroids for Elementor - Version 1.6.3

Version Description

  • BREAKING BAD, fixed inheritance of the columns alignment and direction for Inner Sections
  • BREAKING BAD, added size controls (width) and self-alignment for Inner Section widget
  • WIDGET STALKER, fixed initial position being undefined/empty
  • WIDGET STALKER, added option to change the appearance order of the widget
Download this release

Release Info

Developer ooohboi
Plugin Icon 128x128 OoohBoi Steroids for Elementor
Version 1.6.3
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.3

assets/js/ooohboi-steroids-min.js CHANGED
@@ -1 +1 @@
1
- "use strict";!function(e,t){var o=e(t);o.on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPoopArtPerspektiveHA(),this.initHoverAnimator()},initPoopArtPerspektiveHA:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"),"yes"===this.getElementSettings("_ob_widget_stalker_use")&&this.$element.addClass("ob-got-stalker"))},initHoverAnimator:function(){this.routeHoverAnimator()},onElementChange:function(e){"_ob_perspektive_use"===e&&("yes"===this.getElementSettings("_ob_perspektive_use")?this.$element.addClass("ob-use-perspektive"):this.$element.removeClass("ob-use-perspektive")),"_ob_allow_hoveranimator"===e&&this.routeHoverAnimator(),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_x_hover","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&this.isHoverAnimator()&&this.doHoverAnimator(),"_ob_widget_stalker_use"===e&&this.routeWidgetStalkerWidget()},isWidgetStalkerWidget:function(){return this.$element.hasClass("ob-got-stalker")},routeWidgetStalkerWidget:function(){this.isWidgetStalkerWidget()||"yes"!==this.getElementSettings("_ob_widget_stalker_use")?this.$element.removeClass("ob-got-stalker"):this.$element.addClass("ob-got-stalker")},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")},isHoverAnimator:function(){return this.$element.hasClass("ob-is-hoveranimal")},routeHoverAnimator:function(){this.isEdit?(this.isHoverAnimator()||"yes"!==this.getElementSettings("_ob_allow_hoveranimator")||(this.$element.addClass("ob-is-hoveranimal"),this.doHoverAnimator()),this.isHoverAnimator()&&"yes"!==this.getElementSettings("_ob_allow_hoveranimator")&&(this.$element.removeClass("ob-is-hoveranimal"),this.stopHoverAnimator())):!this.isEdit&&this.isHoverAnimator()&&this.doHoverAnimator()},doHoverAnimator:function(){var t=this.$element,o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var s,n,i,r,l,a,d,h,m=o.data("id");this.isEdit?(s=this.getElementSettings("_ob_hoveranimator_opacity_hover"),n=this.getElementSettings("_ob_hoveranimator_y_hover"),i=this.getElementSettings("_ob_hoveranimator_x_hover"),r=this.getElementSettings("_ob_hoveranimator_rot_hover"),a=this.getElementSettings("_ob_hoveranimator_scalex_hover"),l=this.getElementSettings("_ob_hoveranimator_scaley_hover"),d=this.getElementSettings("_ob_hoveranimator_blur_hover")):this.isEdit||(s=(h=e.parseJSON(t.attr("data-settings")))._ob_hoveranimator_opacity_hover,n=h._ob_hoveranimator_y_hover,i=h._ob_hoveranimator_x_hover,r=h._ob_hoveranimator_rot_hover,a=h._ob_hoveranimator_scalex_hover,l=h._ob_hoveranimator_scaley_hover,d=h._ob_hoveranimator_blur_hover);var _={opacity:s.size,top:n.size+n.unit,left:i.size+i.unit,transform:"rotate("+r.size+"deg) scaleX("+a.size+") scaleY("+l.size+")",filter:"blur("+d.size+d.unit+")"};o.on("mouseenter."+m,(function(){t.css(_)})),o.on("mouseleave."+m,(function(){t.removeAttr("style")}))}},stopHoverAnimator:function(){var e=this.$element,t=this.$element.parent().closest(".ob-is-hoveranimator");if(t.length){var o=t.data("id"),s={opacity:"",top:"",left:"",transform:"",filter:""};t.on("mouseenter."+o,(function(){e.css(s)})),t.on("mouseleave."+o,(function(){e.removeAttr("style")}))}}}),n=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initHarakiri()},initHarakiri:function(){this.isEdit&&"inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")&&this.$element.addClass("ob-harakiri")},onElementChange:function(e){"_ob_harakiri_writing_mode"===e&&("inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")?this.$element.addClass("ob-harakiri"):this.$element.removeClass("ob-harakiri"))}}),i={widget:t,"heading.default":n,"text-editor.default":n,section:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSectionExtends()},isBreakingBad:function(){return this.$element.hasClass("ob-is-breaking-bad")},isGlider:function(){return this.$element.hasClass("ob-is-glider")},isInnerSection:function(){return this.$element.hasClass("elementor-inner-section")},onElementChange:function(e){"_ob_bbad_use_it"===e&&("yes"===this.getElementSettings("_ob_bbad_use_it")?this.$element.addClass("ob-is-breaking-bad"):this.$element.removeClass("ob-is-breaking-bad")),"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()):"yes"!=this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"removeClass"))),"_ob_bbad_sssic_use"===e&&this.isInnerSection()&&("yes"===this.getElementSettings("_ob_bbad_sssic_use")?this.$element.addClass("ob-is-sticky-inner-section"):this.$element.removeClass("ob-is-sticky-inner-section"))},addClassesRouteGlider:function(t,o){var s=e(t).children(".elementor-container").first();s.length&&s.addClass("swiper-container");var n=e(s).children(".elementor-row").first();n.length&&"addClass"==o?(n.addClass("swiper-wrapper"),e(n).children("div.elementor-column").addClass("swiper-slide")):(e(s).children("div.elementor-column").wrapAll('<div class="swiper-wrapper" />'),e(s).children(".swiper-wrapper").first().children("div.elementor-column").addClass("swiper-slide")),n.length&&"removeClass"==o?(n.removeClass("swiper-wrapper"),e(n).children("div.elementor-column").removeClass("swiper-slide")):(e(s).children("div.elementor-column").unwrap(),e(s).children("div.elementor-column").removeClass("swiper-slide"))},initSectionExtends:function(){if(this.isEdit?("yes"!==this.getElementSettings("_ob_bbad_use_it")||this.isBreakingBad()||this.$element.addClass("ob-is-breaking-bad"),"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())):"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()),"yes"===this.getElementSettings("_ob_bbad_sssic_use")&&this.isInnerSection()){this.isEdit&&this.$element.addClass("ob-is-sticky-inner-section");var e=this.$element.closest(".elementor-widget-wrap");e.length&&e.addClass("ob-sssic-wrapper")}},initSwiperElements:function(){this.$element.children(".elementor-container .swiper-button-next").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-button-prev").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-pagination").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},s(this.$element.attr("data-id"),e)}}),column:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.$element.find(".elementor-column-wrap").first().length||this.$element.addClass("ob-is-e3");var e=navigator.userAgent.toLowerCase();e.indexOf("chrome")>-1&&this.teleporterChromeResize(),this.initColumnExtends()},teleporterChromeResize:function(){if(this.isTeleporter()){var e=this,t=this.$element.attr("data-id");o.on("resize",(function(){e.$element.closest(".ob-is-teleporter").addClass("ob-chrome-resize"),clearTimeout(t),t=setTimeout((function(){var t=parseInt(e.$element.closest(".ob-is-teleporter").css("height")),o=e.$element.find(".elementor-column-wrap").first();o.length?o.css({height:t}):e.$element.find(".elementor-widget-wrap").first().css({height:t}),e.$element.closest(".ob-is-teleporter").removeClass("ob-chrome-resize")}),500)})),o.trigger("resize")}},isTeleporter:function(){return this.$element.hasClass("ob-is-teleporter")},isHoverAnimatorCol:function(){return this.$element.hasClass("ob-is-hoveranimator")},isWidgetStalkerCol:function(){return this.$element.hasClass("ob-is-stalker")},initColumnExtends:function(){this.isEdit&&"use-teleporter"===this.getElementSettings("_ob_teleporter_use")&&(this.$element.addClass("ob-is-teleporter"),this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporterEditor()),!this.isEdit&&this.isTeleporter()&&(this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporter()),this.isEdit&&"yes"===this.getElementSettings("_ob_column_hoveranimator")&&this.$element.addClass("ob-is-hoveranimator"),this.isEdit&&"yes"===this.getElementSettings("_ob_bbad_is_stalker")&&this.$element.addClass("ob-is-stalker")},onElementChange:function(e){"_ob_teleporter_overlay_color"===e?this.$element.find('div[class*="ob-teleporter-"] > .ob-tele-overlay').css("background-color",this.getElementSettings("_ob_teleporter_overlay_color")):"_ob_teleporter_no_pass_tablet"===e?"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")?this.$element.addClass("ob-tele-no-tablet"):this.$element.removeClass("ob-tele-no-tablet"):"_ob_teleporter_no_pass_mobile"===e&&("no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")?this.$element.addClass("ob-tele-no-mobile"):this.$element.removeClass("ob-tele-no-mobile")),"_ob_column_hoveranimator"===e&&this.routeHoverAnimatorCol(),"_ob_bbad_is_stalker"===e&&this.routeWidgetStalkerCol()},routeHoverAnimatorCol:function(){this.isHoverAnimatorCol()||"yes"!==this.getElementSettings("_ob_column_hoveranimator")?this.$element.removeClass("ob-is-hoveranimator"):this.$element.addClass("ob-is-hoveranimator")},routeWidgetStalkerCol:function(){this.isWidgetStalkerCol()||"yes"!==this.getElementSettings("_ob_bbad_is_stalker")?this.$element.removeClass("ob-is-stalker"):this.$element.addClass("ob-is-stalker")},doTeleporterEditor:function(){if("use-teleporter"===this.getElementSettings("_ob_teleporter_use")){var t=this.$element.find(".elementor-widget-wrap").first();if(t.length&&(t.wrapInner('<div class="widget-wrap-children" />'),t.find(".elementor-background-overlay").first().length&&t.find(".elementor-background-overlay").first().insertBefore(t.find(".elementor-background-overlay").first().parent())),"do-pass"===this.getElementSettings("_ob_teleporter_pass")){var o=this,s=this.$element,n=this.$element.attr("data-id");"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")&&this.$element.addClass("ob-tele-no-mobile");var i="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+n+" ob-tele-eff-"+r+'" data-id-teleporter="'+n+'"><div class="ob-tele-overlay" style="background-color: '+this.getElementSettings("_ob_teleporter_overlay_color")+';"></div></div>';e(".ob-teleporter-"+n).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter mouseleave",(function(t){if("mouseenter"===t.type){if("no-tablet"===o.getElementSettings("_ob_teleporter_no_pass_tablet")&&"tablet"===elementorFrontend.getCurrentDeviceMode())return;if("no-mobile"===o.getElementSettings("_ob_teleporter_no_pass_mobile")&&"mobile"===elementorFrontend.getCurrentDeviceMode())return;if("do-pass"!==o.getElementSettings("_ob_teleporter_pass"))return;var r={"background-color":e(".ob-teleporter-"+n).css("background-color"),"background-image":e(".ob-teleporter-"+n).css("background-image"),"background-position":e(".ob-teleporter-"+n).css("background-position"),"background-size":e(".ob-teleporter-"+n).css("background-size"),"background-repeat":e(".ob-teleporter-"+n).css("background-repeat")};if("section"===o.getElementSettings("_ob_teleporter_pass_element")){var l=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+n)),i.prepend(l)}else i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+n));e(".ob-teleporter-"+n).css(r).hide(),e(".ob-teleporter-"+n).addClass("ob-teleporter-hover").show()}else i.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+n).removeAttr("style").removeClass("ob-teleporter-hover"),s.prepend(e(".ob-teleporter-"+n))}),100)}))}}}},doTeleporter:function(){var t=e.parseJSON(this.$element.attr("data-settings"));if("use-teleporter"===t._ob_teleporter_use){var o=this.$element.find(".elementor-widget-wrap").first();o.length&&(o.wrapInner('<div class="widget-wrap-children" />'),o.find(".elementor-background-overlay").first().length&&o.find(".elementor-background-overlay").first().insertBefore(o.find(".elementor-background-overlay").first().parent()));var s=this.$element,n=this.$element.attr("data-id");if("no-tablet"===t._ob_teleporter_no_pass_tablet&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===t._ob_teleporter_no_pass_mobile&&this.$element.addClass("ob-tele-no-mobile"),void 0!==t._ob_teleporter_link){var i=t._ob_teleporter_link;if(""===i.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){i.is_external?window.open(i.url):location.href=i.url}))}if("do-pass"===t._ob_teleporter_pass){var r="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(r.length){r.css("overflow","hidden");var l=t._ob_teleporter_pass_effect,a='<div class="ob-teleporter-'+n+" ob-tele-eff-"+l+'" data-id-teleporter="'+n+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';e(".ob-teleporter-"+n).length||this.$element.prepend(a),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter",(function(){if(!("no-tablet"===t._ob_teleporter_no_pass_tablet&&"tablet"===elementorFrontend.getCurrentDeviceMode()||"no-mobile"===t._ob_teleporter_no_pass_mobile&&"mobile"===elementorFrontend.getCurrentDeviceMode())){var o={"background-color":e(".ob-teleporter-"+n).css("background-color"),"background-image":e(".ob-teleporter-"+n).css("background-image"),"background-position":e(".ob-teleporter-"+n).css("background-position"),"background-size":e(".ob-teleporter-"+n).css("background-size"),"background-repeat":e(".ob-teleporter-"+n).css("background-repeat")};if("section"===t._ob_teleporter_pass_element){var s=r.children().not(".elementor-container").detach();r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+n)),r.prepend(s)}else r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+n));e(".ob-teleporter-"+n).css(o).hide(),e(".ob-teleporter-"+n).show().addClass("ob-teleporter-hover")}})),this.$element.on("mouseleave",(function(){r.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+n).removeAttr("style").removeClass("ob-teleporter-hover"),s.prepend(e(".ob-teleporter-"+n))}),100)}))}}}}}),"search-form.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSearchCop()},onElementChange:function(e){"_ob_searchcop_srch_options"===e&&this.routeSearchCop()},initSearchCop:function(){this.routeSearchCop()},routeSearchCop:function(){var e=this.getElementSettings("_ob_searchcop_srch_options");if("post"===e||"page"===e){var t=this.$element.find(".elementor-search-form__container");if(!t.length)return;var o='<input type="hidden" name="post_type" value="'+e+'" />';t.prepend(o)}}}),"button.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initButterButton()},isButterButton:function(){return this.$element.hasClass("ob-is-butterbutton")},onElementChange:function(e){"_ob_butterbutton_use_it"===e&&this.routeButterButton()},initButterButton:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_butterbutton_use_it")&&this.$element.addClass("ob-is-butterbutton")},routeButterButton:function(){this.isButterButton()||"yes"!==this.getElementSettings("_ob_butterbutton_use_it")?this.$element.removeClass("ob-is-butterbutton"):this.$element.addClass("ob-is-butterbutton")}}),"image.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPhotoMorph()},isPhotoMorph:function(){return this.$element.hasClass("ob-photomorph")},onElementChange:function(e){"_ob_photomorph_use"===e&&this.routePhotoMorph()},initPhotoMorph:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_photomorph_use")&&this.$element.addClass("ob-photomorph")},routePhotoMorph:function(){this.isPhotoMorph()||"yes"!==this.getElementSettings("_ob_photomorph_use")?this.$element.removeClass("ob-photomorph"):this.$element.addClass("ob-photomorph")}}),"post-comments.theme_comments":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initCommentz()},isCommentz:function(){return this.$element.hasClass("ob-commentz")},onElementChange:function(e){"_ob_commentz_use"===e&&this.routeCommentz()},initCommentz:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_commentz_use")&&this.$element.addClass("ob-commentz")},routeCommentz:function(){this.isCommentz()||"yes"!==this.getElementSettings("_ob_commentz_use")?this.$element.removeClass("ob-commentz"):this.$element.addClass("ob-commentz")}}),"spacer.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSpaceRat()},isSpaceRat:function(){return this.$element.hasClass("ob-spacerat")},onElementChange:function(e){"_ob_spacerat_use"===e&&this.routeSpaceRat()},initSpaceRat:function(){if(this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")&&this.$element.addClass("ob-spacerat"),!this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")){var t=e.parseJSON(this.$element.attr("data-settings"));if(void 0!==t._ob_spacerat_link){var o=t._ob_spacerat_link;if(""===o.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){o.is_external?window.open(o.url):location.href=o.url}))}}},routeSpaceRat:function(){this.isSpaceRat()||"yes"!==this.getElementSettings("_ob_spacerat_use")?this.$element.removeClass("ob-spacerat"):this.$element.addClass("ob-spacerat")}})};e.each(i,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}));var s=function(t,o){var s,n=e(".elementor-element-"+t+" .swiper-container").first(),i=n.parent().parent().find("nav.glider-controller"),r={allowTouchMove:"yes"===o.allowTouchMove,autoHeight:"yes"===o.autoheight,effect:o.effect,loop:o.loop,direction:"fade"===o.effect?"horizontal":o.direction,parallax:"yes"===o.parallax,speed:o.speed,navigation:{nextEl:".elementor-element-"+t+" .swiper-button-next",prevEl:".elementor-element-"+t+" .swiper-button-prev"},pagination:{el:".elementor-element-"+t+" .swiper-pagination",type:o.pagination_type,clickable:!0},autoplay:o.autoplay,watchOverflow:!0};if("undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(n,r).then((e=>{s=e}))}else s=new Swiper(n,r);n.find(".glider-control").on("click",(function(t){void 0!==e(this).data("gotoslide")&&s.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()})),i.find(".glider-control").on("click",(function(t){void 0!==e(this).data("gotoslide")&&s.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()}))}}(jQuery,window);
1
+ "use strict";!function(e,t){var o=e(t);o.on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPoopArtPerspektiveHA(),this.initHoverAnimator()},initPoopArtPerspektiveHA:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"),"yes"===this.getElementSettings("_ob_widget_stalker_use")&&this.$element.addClass("ob-got-stalker"))},initHoverAnimator:function(){this.routeHoverAnimator()},onElementChange:function(e){"_ob_perspektive_use"===e&&("yes"===this.getElementSettings("_ob_perspektive_use")?this.$element.addClass("ob-use-perspektive"):this.$element.removeClass("ob-use-perspektive")),"_ob_allow_hoveranimator"===e&&this.routeHoverAnimator(),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_x_hover","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&this.isHoverAnimator()&&this.doHoverAnimator(),"_ob_widget_stalker_use"===e&&this.routeWidgetStalkerWidget()},isWidgetStalkerWidget:function(){return this.$element.hasClass("ob-got-stalker")},routeWidgetStalkerWidget:function(){this.isWidgetStalkerWidget()||"yes"!==this.getElementSettings("_ob_widget_stalker_use")?this.$element.removeClass("ob-got-stalker"):this.$element.addClass("ob-got-stalker")},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")},isHoverAnimator:function(){return this.$element.hasClass("ob-is-hoveranimal")},routeHoverAnimator:function(){this.isEdit?(this.isHoverAnimator()||"yes"!==this.getElementSettings("_ob_allow_hoveranimator")||(this.$element.addClass("ob-is-hoveranimal"),this.doHoverAnimator()),this.isHoverAnimator()&&"yes"!==this.getElementSettings("_ob_allow_hoveranimator")&&(this.$element.removeClass("ob-is-hoveranimal"),this.stopHoverAnimator())):!this.isEdit&&this.isHoverAnimator()&&this.doHoverAnimator()},doHoverAnimator:function(){var t=this.$element,o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var n,s,i,r,l,a,d,h,m=o.data("id");this.isEdit?(n=this.getElementSettings("_ob_hoveranimator_opacity_hover"),s=this.getElementSettings("_ob_hoveranimator_y_hover"),i=this.getElementSettings("_ob_hoveranimator_x_hover"),r=this.getElementSettings("_ob_hoveranimator_rot_hover"),a=this.getElementSettings("_ob_hoveranimator_scalex_hover"),l=this.getElementSettings("_ob_hoveranimator_scaley_hover"),d=this.getElementSettings("_ob_hoveranimator_blur_hover")):this.isEdit||(n=(h=e.parseJSON(t.attr("data-settings")))._ob_hoveranimator_opacity_hover,s=h._ob_hoveranimator_y_hover,i=h._ob_hoveranimator_x_hover,r=h._ob_hoveranimator_rot_hover,a=h._ob_hoveranimator_scalex_hover,l=h._ob_hoveranimator_scaley_hover,d=h._ob_hoveranimator_blur_hover);var _={opacity:n.size,top:s.size+s.unit,left:i.size+i.unit,transform:"rotate("+r.size+"deg) scaleX("+a.size+") scaleY("+l.size+")",filter:"blur("+d.size+d.unit+")"};o.on("mouseenter."+m,(function(){t.css(_)})),o.on("mouseleave."+m,(function(){t.removeAttr("style")}))}},stopHoverAnimator:function(){var e=this.$element,t=this.$element.parent().closest(".ob-is-hoveranimator");if(t.length){var o=t.data("id"),n={opacity:"",top:"",left:"",transform:"",filter:""};t.on("mouseenter."+o,(function(){e.css(n)})),t.on("mouseleave."+o,(function(){e.removeAttr("style")}))}}}),s=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initHarakiri()},initHarakiri:function(){this.isEdit&&"inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")&&this.$element.addClass("ob-harakiri")},onElementChange:function(e){"_ob_harakiri_writing_mode"===e&&("inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")?this.$element.addClass("ob-harakiri"):this.$element.removeClass("ob-harakiri"))}}),i={widget:t,"heading.default":s,"text-editor.default":s,section:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSectionExtends()},isBreakingBad:function(){return this.$element.hasClass("ob-is-breaking-bad")},isGlider:function(){return this.$element.hasClass("ob-is-glider")},isInnerSection:function(){return this.$element.hasClass("elementor-inner-section")},onElementChange:function(e){"_ob_bbad_use_it"===e&&("yes"===this.getElementSettings("_ob_bbad_use_it")?(this.$element.addClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.addClass("ob-bb-inner")):(this.$element.removeClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.removeClass("ob-bb-inner"))),"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()):"yes"!=this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"removeClass"))),"_ob_bbad_sssic_use"===e&&this.isInnerSection()&&("yes"===this.getElementSettings("_ob_bbad_sssic_use")?this.$element.addClass("ob-is-sticky-inner-section"):this.$element.removeClass("ob-is-sticky-inner-section"))},addClassesRouteGlider:function(t,o){var n=e(t).children(".elementor-container").first();n.length&&n.addClass("swiper-container");var s=e(n).children(".elementor-row").first();s.length&&"addClass"==o?(s.addClass("swiper-wrapper"),e(s).children("div.elementor-column").addClass("swiper-slide")):(e(n).children("div.elementor-column").wrapAll('<div class="swiper-wrapper" />'),e(n).children(".swiper-wrapper").first().children("div.elementor-column").addClass("swiper-slide")),s.length&&"removeClass"==o?(s.removeClass("swiper-wrapper"),e(s).children("div.elementor-column").removeClass("swiper-slide")):(e(n).children("div.elementor-column").unwrap(),e(n).children("div.elementor-column").removeClass("swiper-slide"))},initSectionExtends:function(){if(this.isEdit?("yes"!==this.getElementSettings("_ob_bbad_use_it")||this.isBreakingBad()||(this.$element.addClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.addClass("ob-bb-inner")),"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())):"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()),"yes"===this.getElementSettings("_ob_bbad_sssic_use")&&this.isInnerSection()){this.isEdit&&this.$element.addClass("ob-is-sticky-inner-section");var e=this.$element.closest(".elementor-widget-wrap");e.length&&e.addClass("ob-sssic-wrapper")}},initSwiperElements:function(){this.$element.children(".elementor-container .swiper-button-next").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-button-prev").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.children(".elementor-container .swiper-pagination").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},n(this.$element.attr("data-id"),e)}}),column:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.$element.find(".elementor-column-wrap").first().length||this.$element.addClass("ob-is-e3");var e=navigator.userAgent.toLowerCase();e.indexOf("chrome")>-1&&this.teleporterChromeResize(),this.initColumnExtends()},teleporterChromeResize:function(){if(this.isTeleporter()){var e=this,t=this.$element.attr("data-id");o.on("resize",(function(){e.$element.closest(".ob-is-teleporter").addClass("ob-chrome-resize"),clearTimeout(t),t=setTimeout((function(){var t=parseInt(e.$element.closest(".ob-is-teleporter").css("height")),o=e.$element.find(".elementor-column-wrap").first();o.length?o.css({height:t}):e.$element.find(".elementor-widget-wrap").first().css({height:t}),e.$element.closest(".ob-is-teleporter").removeClass("ob-chrome-resize")}),500)})),o.trigger("resize")}},isTeleporter:function(){return this.$element.hasClass("ob-is-teleporter")},isHoverAnimatorCol:function(){return this.$element.hasClass("ob-is-hoveranimator")},isWidgetStalkerCol:function(){return this.$element.hasClass("ob-is-stalker")},initColumnExtends:function(){this.isEdit&&"use-teleporter"===this.getElementSettings("_ob_teleporter_use")&&(this.$element.addClass("ob-is-teleporter"),this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporterEditor()),!this.isEdit&&this.isTeleporter()&&(this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporter()),this.isEdit&&"yes"===this.getElementSettings("_ob_column_hoveranimator")&&this.$element.addClass("ob-is-hoveranimator"),this.isEdit&&"yes"===this.getElementSettings("_ob_bbad_is_stalker")&&this.$element.addClass("ob-is-stalker")},onElementChange:function(e){"_ob_teleporter_overlay_color"===e?this.$element.find('div[class*="ob-teleporter-"] > .ob-tele-overlay').css("background-color",this.getElementSettings("_ob_teleporter_overlay_color")):"_ob_teleporter_no_pass_tablet"===e?"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")?this.$element.addClass("ob-tele-no-tablet"):this.$element.removeClass("ob-tele-no-tablet"):"_ob_teleporter_no_pass_mobile"===e&&("no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")?this.$element.addClass("ob-tele-no-mobile"):this.$element.removeClass("ob-tele-no-mobile")),"_ob_column_hoveranimator"===e&&this.routeHoverAnimatorCol(),"_ob_bbad_is_stalker"===e&&this.routeWidgetStalkerCol()},routeHoverAnimatorCol:function(){this.isHoverAnimatorCol()||"yes"!==this.getElementSettings("_ob_column_hoveranimator")?this.$element.removeClass("ob-is-hoveranimator"):this.$element.addClass("ob-is-hoveranimator")},routeWidgetStalkerCol:function(){this.isWidgetStalkerCol()||"yes"!==this.getElementSettings("_ob_bbad_is_stalker")?this.$element.removeClass("ob-is-stalker"):this.$element.addClass("ob-is-stalker")},doTeleporterEditor:function(){if("use-teleporter"===this.getElementSettings("_ob_teleporter_use")){var t=this.$element.find(".elementor-widget-wrap").first();if(t.length&&(t.wrapInner('<div class="widget-wrap-children" />'),t.find(".elementor-background-overlay").first().length&&t.find(".elementor-background-overlay").first().insertBefore(t.find(".elementor-background-overlay").first().parent())),"do-pass"===this.getElementSettings("_ob_teleporter_pass")){var o=this,n=this.$element,s=this.$element.attr("data-id");"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")&&this.$element.addClass("ob-tele-no-mobile");var i="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+s+" ob-tele-eff-"+r+'" data-id-teleporter="'+s+'"><div class="ob-tele-overlay" style="background-color: '+this.getElementSettings("_ob_teleporter_overlay_color")+';"></div></div>';e(".ob-teleporter-"+s).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter mouseleave",(function(t){if("mouseenter"===t.type){if("no-tablet"===o.getElementSettings("_ob_teleporter_no_pass_tablet")&&"tablet"===elementorFrontend.getCurrentDeviceMode())return;if("no-mobile"===o.getElementSettings("_ob_teleporter_no_pass_mobile")&&"mobile"===elementorFrontend.getCurrentDeviceMode())return;if("do-pass"!==o.getElementSettings("_ob_teleporter_pass"))return;var r={"background-color":e(".ob-teleporter-"+s).css("background-color"),"background-image":e(".ob-teleporter-"+s).css("background-image"),"background-position":e(".ob-teleporter-"+s).css("background-position"),"background-size":e(".ob-teleporter-"+s).css("background-size"),"background-repeat":e(".ob-teleporter-"+s).css("background-repeat")};if("section"===o.getElementSettings("_ob_teleporter_pass_element")){var l=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),i.prepend(l)}else i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s));e(".ob-teleporter-"+s).css(r).hide(),e(".ob-teleporter-"+s).addClass("ob-teleporter-hover").show()}else i.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+s).removeAttr("style").removeClass("ob-teleporter-hover"),n.prepend(e(".ob-teleporter-"+s))}),100)}))}}}},doTeleporter:function(){var t=e.parseJSON(this.$element.attr("data-settings"));if("use-teleporter"===t._ob_teleporter_use){var o=this.$element.find(".elementor-widget-wrap").first();o.length&&(o.wrapInner('<div class="widget-wrap-children" />'),o.find(".elementor-background-overlay").first().length&&o.find(".elementor-background-overlay").first().insertBefore(o.find(".elementor-background-overlay").first().parent()));var n=this.$element,s=this.$element.attr("data-id");if("no-tablet"===t._ob_teleporter_no_pass_tablet&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===t._ob_teleporter_no_pass_mobile&&this.$element.addClass("ob-tele-no-mobile"),void 0!==t._ob_teleporter_link){var i=t._ob_teleporter_link;if(""===i.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){i.is_external?window.open(i.url):location.href=i.url}))}if("do-pass"===t._ob_teleporter_pass){var r="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(r.length){r.css("overflow","hidden");var l=t._ob_teleporter_pass_effect,a='<div class="ob-teleporter-'+s+" ob-tele-eff-"+l+'" data-id-teleporter="'+s+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';e(".ob-teleporter-"+s).length||this.$element.prepend(a),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter",(function(){if(!("no-tablet"===t._ob_teleporter_no_pass_tablet&&"tablet"===elementorFrontend.getCurrentDeviceMode()||"no-mobile"===t._ob_teleporter_no_pass_mobile&&"mobile"===elementorFrontend.getCurrentDeviceMode())){var o={"background-color":e(".ob-teleporter-"+s).css("background-color"),"background-image":e(".ob-teleporter-"+s).css("background-image"),"background-position":e(".ob-teleporter-"+s).css("background-position"),"background-size":e(".ob-teleporter-"+s).css("background-size"),"background-repeat":e(".ob-teleporter-"+s).css("background-repeat")};if("section"===t._ob_teleporter_pass_element){var n=r.children().not(".elementor-container").detach();r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),r.prepend(n)}else r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s));e(".ob-teleporter-"+s).css(o).hide(),e(".ob-teleporter-"+s).show().addClass("ob-teleporter-hover")}})),this.$element.on("mouseleave",(function(){r.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+s).removeAttr("style").removeClass("ob-teleporter-hover"),n.prepend(e(".ob-teleporter-"+s))}),100)}))}}}}}),"search-form.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSearchCop()},onElementChange:function(e){"_ob_searchcop_srch_options"===e&&this.routeSearchCop()},initSearchCop:function(){this.routeSearchCop()},routeSearchCop:function(){var e=this.getElementSettings("_ob_searchcop_srch_options");if("post"===e||"page"===e){var t=this.$element.find(".elementor-search-form__container");if(!t.length)return;var o='<input type="hidden" name="post_type" value="'+e+'" />';t.prepend(o)}}}),"button.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initButterButton()},isButterButton:function(){return this.$element.hasClass("ob-is-butterbutton")},onElementChange:function(e){"_ob_butterbutton_use_it"===e&&this.routeButterButton()},initButterButton:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_butterbutton_use_it")&&this.$element.addClass("ob-is-butterbutton")},routeButterButton:function(){this.isButterButton()||"yes"!==this.getElementSettings("_ob_butterbutton_use_it")?this.$element.removeClass("ob-is-butterbutton"):this.$element.addClass("ob-is-butterbutton")}}),"image.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPhotoMorph()},isPhotoMorph:function(){return this.$element.hasClass("ob-photomorph")},onElementChange:function(e){"_ob_photomorph_use"===e&&this.routePhotoMorph()},initPhotoMorph:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_photomorph_use")&&this.$element.addClass("ob-photomorph")},routePhotoMorph:function(){this.isPhotoMorph()||"yes"!==this.getElementSettings("_ob_photomorph_use")?this.$element.removeClass("ob-photomorph"):this.$element.addClass("ob-photomorph")}}),"post-comments.theme_comments":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initCommentz()},isCommentz:function(){return this.$element.hasClass("ob-commentz")},onElementChange:function(e){"_ob_commentz_use"===e&&this.routeCommentz()},initCommentz:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_commentz_use")&&this.$element.addClass("ob-commentz")},routeCommentz:function(){this.isCommentz()||"yes"!==this.getElementSettings("_ob_commentz_use")?this.$element.removeClass("ob-commentz"):this.$element.addClass("ob-commentz")}}),"spacer.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSpaceRat()},isSpaceRat:function(){return this.$element.hasClass("ob-spacerat")},onElementChange:function(e){"_ob_spacerat_use"===e&&this.routeSpaceRat()},initSpaceRat:function(){if(this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")&&this.$element.addClass("ob-spacerat"),!this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")){var t=e.parseJSON(this.$element.attr("data-settings"));if(void 0!==t._ob_spacerat_link){var o=t._ob_spacerat_link;if(""===o.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){o.is_external?window.open(o.url):location.href=o.url}))}}},routeSpaceRat:function(){this.isSpaceRat()||"yes"!==this.getElementSettings("_ob_spacerat_use")?this.$element.removeClass("ob-spacerat"):this.$element.addClass("ob-spacerat")}})};e.each(i,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}));var n=function(t,o){var n,s=e(".elementor-element-"+t+" .swiper-container").first(),i=s.parent().parent().find("nav.glider-controller"),r={allowTouchMove:"yes"===o.allowTouchMove,autoHeight:"yes"===o.autoheight,effect:o.effect,loop:o.loop,direction:"fade"===o.effect?"horizontal":o.direction,parallax:"yes"===o.parallax,speed:o.speed,navigation:{nextEl:".elementor-element-"+t+" .swiper-button-next",prevEl:".elementor-element-"+t+" .swiper-button-prev"},pagination:{el:".elementor-element-"+t+" .swiper-pagination",type:o.pagination_type,clickable:!0},autoplay:o.autoplay,watchOverflow:!0};if("undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(s,r).then((e=>{n=e}))}else n=new Swiper(s,r);s.find(".glider-control").on("click",(function(t){void 0!==e(this).data("gotoslide")&&n.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()})),i.find(".glider-control").on("click",(function(t){void 0!==e(this).data("gotoslide")&&n.slideTo(parseInt(e(this).data("gotoslide"))-1),t.preventDefault()}))}}(jQuery,window);
assets/js/ooohboi-steroids.js CHANGED
@@ -215,8 +215,14 @@
215
 
216
  // Breaking Bad
217
  if( changedProp === '_ob_bbad_use_it' ) {
218
- if( 'yes' === this.getElementSettings( '_ob_bbad_use_it' ) ) this.$element.addClass( 'ob-is-breaking-bad' );
219
- else this.$element.removeClass( 'ob-is-breaking-bad' );
 
 
 
 
 
 
220
  }
221
  // Glider
222
  if( changedProp === '_ob_glider_is_slider' ) {
@@ -270,7 +276,10 @@
270
 
271
  if( this.isEdit ) {
272
  // Breaking Bad
273
- if( 'yes' === this.getElementSettings( '_ob_bbad_use_it' ) && ! this.isBreakingBad() ) this.$element.addClass( 'ob-is-breaking-bad' );
 
 
 
274
  // Glider: editor and font-end
275
  if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
276
  this.$element.addClass( 'ob-is-glider' );
215
 
216
  // Breaking Bad
217
  if( changedProp === '_ob_bbad_use_it' ) {
218
+ if( 'yes' === this.getElementSettings( '_ob_bbad_use_it' ) ) {
219
+ this.$element.addClass( 'ob-is-breaking-bad' );
220
+ if( this.isInnerSection() ) this.$element.addClass( 'ob-bb-inner' );
221
+ }
222
+ else {
223
+ this.$element.removeClass( 'ob-is-breaking-bad' );
224
+ if( this.isInnerSection() ) this.$element.removeClass( 'ob-bb-inner' );
225
+ }
226
  }
227
  // Glider
228
  if( changedProp === '_ob_glider_is_slider' ) {
276
 
277
  if( this.isEdit ) {
278
  // Breaking Bad
279
+ if( 'yes' === this.getElementSettings( '_ob_bbad_use_it' ) && ! this.isBreakingBad() ) {
280
+ this.$element.addClass( 'ob-is-breaking-bad' );
281
+ if( this.isInnerSection() ) this.$element.addClass( 'ob-bb-inner' );
282
+ }
283
  // Glider: editor and font-end
284
  if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
285
  this.$element.addClass( 'ob-is-glider' );
controls/ooohboi-breaking-bad.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
- use Elementor\Controls_Manager;
 
3
 
4
  if ( ! defined( 'ABSPATH' ) ) {
5
  exit; // Exit if accessed directly.
@@ -28,13 +29,15 @@ class OoohBoi_Breaking_Bad {
28
 
29
  add_action( 'elementor/frontend/section/before_render', function( \Elementor\Element_Base $element ) {
30
 
 
 
31
  if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
32
  $settings = $element->get_settings_for_display();
33
 
34
  if ( isset( $settings[ '_ob_bbad_use_it' ] ) && 'yes' === $settings[ '_ob_bbad_use_it' ] ) {
35
 
36
  $element->add_render_attribute( '_wrapper', [
37
- 'class' => 'ob-is-breaking-bad'
38
  ] );
39
 
40
  }
@@ -63,6 +66,7 @@ class OoohBoi_Breaking_Bad {
63
 
64
  } );
65
 
 
66
  }
67
 
68
  public static function ooohboi_handle_section( $element, $args ) {
@@ -107,7 +111,8 @@ class OoohBoi_Breaking_Bad {
107
  'space-evenly' => __( 'Space Evenly', 'ooohboi-steroids' ),
108
  ],
109
  'selectors' => [
110
- '{{WRAPPER}}.ob-is-breaking-bad .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad .elementor-container' => 'justify-content: {{VALUE}} !important;',
 
111
  ],
112
  'condition' => [
113
  '_ob_bbad_use_it' => 'yes',
@@ -126,8 +131,10 @@ class OoohBoi_Breaking_Bad {
126
  'column' => __( 'Column', 'ooohboi-steroids' ),
127
  ],
128
  'selectors' => [
129
- '{{WRAPPER}}.ob-is-breaking-bad .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad .elementor-container' => 'flex-direction: {{VALUE}};',
130
- '{{WRAPPER}}.ob-is-breaking-bad.ob-is-glider .elementor-container.swiper-container-vertical > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad.ob-is-glider .elementor-container.swiper-container-vertical' => 'flex-direction: column;',
 
 
131
  ],
132
  'condition' => [
133
  '_ob_bbad_use_it' => 'yes',
@@ -147,7 +154,8 @@ class OoohBoi_Breaking_Bad {
147
  'flex-end' => __( 'End', 'ooohboi-steroids' ),
148
  ],
149
  'selectors' => [
150
- '{{WRAPPER}}.ob-is-breaking-bad .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad .elementor-container' => 'align-items: {{VALUE}};',
 
151
  ],
152
  'condition' => [
153
  '_ob_bbad_use_it' => 'yes',
@@ -159,19 +167,182 @@ class OoohBoi_Breaking_Bad {
159
  $element->add_control(
160
  '_ob_bbad_sssic_use',
161
  [
162
- 'label' => __( 'Sticky Section', 'ooohboi-steroids' ),
163
- 'description' => __( 'It works for the Inner Section only! It keeps it sticky inside the column to avoid content overlaps.', 'ooohboi-steroids' ),
164
  'type' => Controls_Manager::SWITCHER,
165
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
166
  'label_off' => __( 'No', 'ooohboi-steroids' ),
167
  'return_value' => 'yes',
168
- 'default' => 'no',
169
  'frontend_available' => true,
 
170
  'condition' => [
171
  '_ob_bbad_use_it' => 'yes',
172
  ],
173
  ]
174
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
 
176
  }
177
 
@@ -241,20 +412,39 @@ class OoohBoi_Breaking_Bad {
241
  );
242
  // --------------------------------------------------------------------------------------------- CONTROL Column order
243
  $element->add_responsive_control(
244
- '_ob_bbad_column_order',
245
- [
246
  'label' => __( 'Column Order', 'ooohboi-steroids' ),
247
  'description' => sprintf(
248
- __( 'More info at %sMozilla%s.', 'ooohboi-steroids' ),
249
- '<a
250
  href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items#The_order_property" target="_blank">',
251
- '</a>'
252
- ),
253
  'type' => Controls_Manager::NUMBER,
254
  'style_transfer' => true,
255
  'selectors' => [
256
  '{{WRAPPER}}.elementor-column' => '-webkit-box-ordinal-group: calc({{VALUE}} + 1 ); -ms-flex-order:{{VALUE}}; order: {{VALUE}};',
257
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  ]
259
  );
260
  // --------------------------------------------------------------------------------------------- CONTROL Scrollable
@@ -300,7 +490,7 @@ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/O
300
  '_ob_bbad_is_stalker',
301
  [
302
  'label' => __( 'Enable Widget Stalker?', 'ooohboi-steroids' ),
303
- 'description' => __( 'NOTE: It changes the default alignment of widgets inside this column.', 'ooohboi-steroids' ),
304
  'separator' => 'before',
305
  'type' => Controls_Manager::SWITCHER,
306
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
@@ -316,7 +506,7 @@ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/O
316
  [
317
  'label' => __( 'Widgets Direction', 'ooohboi-steroids' ),
318
  'type' => Controls_Manager::SELECT,
319
- 'default' => 'row',
320
  'options' => [
321
  'inherit' => __( 'Default', 'ooohboi-steroids' ),
322
  'column' => __( 'Column', 'ooohboi-steroids' ),
@@ -330,6 +520,30 @@ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/O
330
  ],
331
  ]
332
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  // ------------------------------------------------------------------------- CONTROL: widgets - vertical alignment
334
  $element->add_responsive_control(
335
  '_ob_bbad_ws_items_align',
1
  <?php
2
+ use Elementor\Controls_Manager;
3
+ use Elementor\Controls_Stack;
4
 
5
  if ( ! defined( 'ABSPATH' ) ) {
6
  exit; // Exit if accessed directly.
29
 
30
  add_action( 'elementor/frontend/section/before_render', function( \Elementor\Element_Base $element ) {
31
 
32
+ $amInner = ( $element->get_data( 'isInner' ) ) ? ' ob-bb-inner' : '';
33
+
34
  if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
35
  $settings = $element->get_settings_for_display();
36
 
37
  if ( isset( $settings[ '_ob_bbad_use_it' ] ) && 'yes' === $settings[ '_ob_bbad_use_it' ] ) {
38
 
39
  $element->add_render_attribute( '_wrapper', [
40
+ 'class' => 'ob-is-breaking-bad' . $amInner
41
  ] );
42
 
43
  }
66
 
67
  } );
68
 
69
+
70
  }
71
 
72
  public static function ooohboi_handle_section( $element, $args ) {
111
  'space-evenly' => __( 'Space Evenly', 'ooohboi-steroids' ),
112
  ],
113
  'selectors' => [
114
+ '{{WRAPPER}}.ob-is-breaking-bad > .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad > .elementor-container' => 'justify-content: {{VALUE}} !important;',
115
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner > .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner > .elementor-container' => 'justify-content: {{VALUE}} !important;',
116
  ],
117
  'condition' => [
118
  '_ob_bbad_use_it' => 'yes',
131
  'column' => __( 'Column', 'ooohboi-steroids' ),
132
  ],
133
  'selectors' => [
134
+ '{{WRAPPER}}.ob-is-breaking-bad > .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad > .elementor-container' => 'flex-direction: {{VALUE}};',
135
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner > .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner > .elementor-container' => 'flex-direction: {{VALUE}};',
136
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-is-glider > .elementor-container.swiper-container-vertical > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad.ob-is-glider > .elementor-container.swiper-container-vertical' => 'flex-direction: column;',
137
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-is-glider.ob-bb-inner > .elementor-container.swiper-container-vertical > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad.ob-is-glider.ob-bb-inner > .elementor-container.swiper-container-vertical' => 'flex-direction: column;',
138
  ],
139
  'condition' => [
140
  '_ob_bbad_use_it' => 'yes',
154
  'flex-end' => __( 'End', 'ooohboi-steroids' ),
155
  ],
156
  'selectors' => [
157
+ '{{WRAPPER}}.ob-is-breaking-bad > .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad > .elementor-container' => 'align-items: {{VALUE}};',
158
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner > .elementor-container > .elementor-row, {{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner > .elementor-container' => 'align-items: {{VALUE}};',
159
  ],
160
  'condition' => [
161
  '_ob_bbad_use_it' => 'yes',
167
  $element->add_control(
168
  '_ob_bbad_sssic_use',
169
  [
170
+ 'label' => __( 'Sticky Section', 'ooohboi-steroids' ),
171
+ 'description' => __( 'It works for the Inner Section only! It keeps it sticky inside the column to avoid content overlaps.', 'ooohboi-steroids' ),
172
  'type' => Controls_Manager::SWITCHER,
173
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
174
  'label_off' => __( 'No', 'ooohboi-steroids' ),
175
  'return_value' => 'yes',
176
+ 'default' => 'no',
177
  'frontend_available' => true,
178
+ 'hide_in_top' => true,
179
  'condition' => [
180
  '_ob_bbad_use_it' => 'yes',
181
  ],
182
  ]
183
+ );
184
+ // ------------------------------------------------------------------------- SINCE 1.6.3 - CONTROL: InnerSection width
185
+
186
+ // ------------------------------------------------------------------------- CONTROL: Size Method
187
+ $element->add_responsive_control(
188
+ '_ob_bbad_inner_width_method',
189
+ [
190
+ 'label' => __( 'Size Method', 'ooohboi-steroids' ),
191
+ 'description' => __( 'Use Flex or Units?', 'ooohboi-steroids' ),
192
+ 'type' => Controls_Manager::SELECT,
193
+ 'hide_in_top' => true,
194
+ 'default' => 'units',
195
+ 'options' => [
196
+ 'flex' => __( 'Flex', 'ooohboi-steroids' ),
197
+ 'units' => __( 'Units', 'ooohboi-steroids' ),
198
+ ],
199
+ 'condition' => [
200
+ '_ob_bbad_use_it' => 'yes',
201
+ ],
202
+ ]
203
+ );
204
+ // --------------------------------------------------------------------------------------------- CONTROL Flex size
205
+ $element->add_responsive_control(
206
+ '_ob_bbad_inner_flex',
207
+ [
208
+ 'label' => __( 'Flex', 'ooohboi-steroids' ),
209
+ 'type' => Controls_Manager::NUMBER,
210
+ 'hide_in_top' => true,
211
+ 'separator' => 'before',
212
+ 'default' => 1,
213
+ 'min' => 1,
214
+ 'selectors' => [
215
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'flex: {{VALUE}}; width: unset; min-width: 1px;',
216
+ ],
217
+ 'device_args' => [
218
+ Controls_Stack::RESPONSIVE_TABLET => [
219
+ 'selectors' => [
220
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'flex: {{VALUE}}; width: unset; min-width: 1px;',
221
+ ],
222
+ 'condition' => [
223
+ '_ob_bbad_use_it' => 'yes',
224
+ '_ob_bbad_inner_width_method_tablet' => 'flex',
225
+ ],
226
+ ],
227
+ Controls_Stack::RESPONSIVE_MOBILE => [
228
+ 'selectors' => [
229
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'flex: {{VALUE}}; width: unset; min-width: 1px;',
230
+ ],
231
+ 'condition' => [
232
+ '_ob_bbad_use_it' => 'yes',
233
+ '_ob_bbad_inner_width_method_mobile' => 'flex',
234
+ ],
235
+ ],
236
+ ],
237
+ 'condition' => [
238
+ '_ob_bbad_use_it' => 'yes',
239
+ '_ob_bbad_inner_width_method' => 'flex',
240
+ ],
241
+ ]
242
+ );
243
+ // --------------------------------------------------------------------------------------------- CONTROL width
244
+ $element->add_responsive_control(
245
+ '_ob_bbad_inner_width',
246
+ [
247
+ 'label' => __( 'Width', 'ooohboi-steroids' ),
248
+ 'type' => Controls_Manager::TEXT,
249
+ 'hide_in_top' => true,
250
+ 'separator' => 'before',
251
+ 'label_block' => true,
252
+ 'default' => '100%',
253
+ 'description' => __( 'You can enter any acceptable CSS value, for example: 50em, 300px, 100%, calc(100% - 300px).', 'ooohboi-steroids' ),
254
+ 'selectors' => [
255
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'width: {{VALUE}}; flex: unset;',
256
+ ],
257
+ 'device_args' => [
258
+ Controls_Stack::RESPONSIVE_TABLET => [
259
+ 'selectors' => [
260
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'width: {{VALUE}}; flex: unset;',
261
+ ],
262
+ 'condition' => [
263
+ '_ob_bbad_use_it' => 'yes',
264
+ '_ob_bbad_inner_width_method_tablet' => 'units',
265
+ ],
266
+ ],
267
+ Controls_Stack::RESPONSIVE_MOBILE => [
268
+ 'selectors' => [
269
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'width: {{VALUE}}; flex: unset;',
270
+ ],
271
+ 'condition' => [
272
+ '_ob_bbad_use_it' => 'yes',
273
+ '_ob_bbad_inner_width_method_mobile' => 'units',
274
+ ],
275
+ ],
276
+ ],
277
+ 'condition' => [
278
+ '_ob_bbad_use_it' => 'yes',
279
+ '_ob_bbad_inner_width_method' => 'units',
280
+ ],
281
+ ]
282
+ );
283
+ // --------------------------------------------------------------------------------------------- CONTROL max width
284
+ $element->add_responsive_control(
285
+ '_ob_bbad_inner_max_width',
286
+ [
287
+ 'label' => __( 'Max Width', 'ooohboi-steroids' ),
288
+ 'type' => Controls_Manager::TEXT,
289
+ 'hide_in_top' => true,
290
+ 'separator' => 'before',
291
+ 'label_block' => true,
292
+ 'description' => __( 'You can enter any acceptable CSS value, for example: 50em, 300px, 100%, calc(100% - 300px).', 'ooohboi-steroids' ),
293
+ 'selectors' => [
294
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'max-width: {{VALUE}};',
295
+ ],
296
+ 'condition' => [
297
+ '_ob_bbad_use_it' => 'yes',
298
+ ],
299
+ ]
300
+ );
301
+ // ------------------------------------------------------------------------- CONTROL: align self
302
+ $element->add_responsive_control(
303
+ '_ob_bbad_inner_align_self',
304
+ [
305
+ 'label' => __( 'Align self', 'ooohboi-steroids' ),
306
+ 'description' => __( 'Align this Inner Section vertically', 'ooohboi-steroids' ),
307
+ 'type' => Controls_Manager::SELECT,
308
+ 'hide_in_top' => true,
309
+ 'default' => 'auto',
310
+ 'options' => [
311
+ 'auto' => __( 'Auto', 'ooohboi-steroids' ),
312
+ 'baseline' => __( 'Baseline', 'ooohboi-steroids' ),
313
+ 'center' => __( 'Center', 'ooohboi-steroids' ),
314
+ 'end' => __( 'End', 'ooohboi-steroids' ),
315
+ ],
316
+ 'selectors' => [
317
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => 'align-self: {{VALUE}};',
318
+ ],
319
+ 'condition' => [
320
+ '_ob_bbad_use_it' => 'yes',
321
+ ],
322
+ ]
323
+ );
324
+ // --------------------------------------------------------------------------------------------- inner order
325
+ $element->add_responsive_control(
326
+ '_ob_bbad_inner_widget_order',
327
+ [
328
+ 'label' => __( 'Stacking Order', 'ooohboi-steroids' ),
329
+ 'description' => sprintf(
330
+ __( 'More info at %sMozilla%s.', 'ooohboi-steroids' ),
331
+ '<a
332
+ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items#The_order_property" target="_blank">',
333
+ '</a>'
334
+ ),
335
+ 'type' => Controls_Manager::NUMBER,
336
+ 'style_transfer' => true,
337
+ 'hide_in_top' => true,
338
+ 'selectors' => [
339
+ '{{WRAPPER}}.ob-is-breaking-bad.ob-bb-inner' => '-webkit-box-ordinal-group: calc({{VALUE}} + 1 ); -ms-flex-order:{{VALUE}}; order: {{VALUE}};',
340
+ ],
341
+ 'condition' => [
342
+ '_ob_bbad_use_it' => 'yes',
343
+ ],
344
+ ]
345
+ );
346
 
347
  }
348
 
412
  );
413
  // --------------------------------------------------------------------------------------------- CONTROL Column order
414
  $element->add_responsive_control(
415
+ '_ob_bbad_column_order',
416
+ [
417
  'label' => __( 'Column Order', 'ooohboi-steroids' ),
418
  'description' => sprintf(
419
+ __( 'More info at %sMozilla%s.', 'ooohboi-steroids' ),
420
+ '<a
421
  href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items#The_order_property" target="_blank">',
422
+ '</a>'
423
+ ),
424
  'type' => Controls_Manager::NUMBER,
425
  'style_transfer' => true,
426
  'selectors' => [
427
  '{{WRAPPER}}.elementor-column' => '-webkit-box-ordinal-group: calc({{VALUE}} + 1 ); -ms-flex-order:{{VALUE}}; order: {{VALUE}};',
428
+ ],
429
+ ]
430
+ );
431
+ // ------------------------------------------------------------------------- since 1.6.3 - CONTROL: column - vertical alignment
432
+ $element->add_responsive_control(
433
+ '_ob_bbad_column_vert_align',
434
+ [
435
+ 'label' => __( 'Align vertically', 'ooohboi-steroids' ),
436
+ 'description' => __( 'Defines the vertical alignmnet of this column only!', 'ooohboi-steroids' ),
437
+ 'type' => Controls_Manager::SELECT,
438
+ 'default' => 'inherit',
439
+ 'options' => [
440
+ 'Inherit' => __( 'Inherit', 'ooohboi-steroids' ),
441
+ 'flex-start' => __( 'Start', 'ooohboi-steroids' ),
442
+ 'center' => __( 'Center', 'ooohboi-steroids' ),
443
+ 'flex-end' => __( 'End', 'ooohboi-steroids' ),
444
+ ],
445
+ 'selectors' => [
446
+ '{{WRAPPER}}.elementor-column' => 'align-self: {{VALUE}};',
447
+ ],
448
  ]
449
  );
450
  // --------------------------------------------------------------------------------------------- CONTROL Scrollable
490
  '_ob_bbad_is_stalker',
491
  [
492
  'label' => __( 'Enable Widget Stalker?', 'ooohboi-steroids' ),
493
+ 'description' => __( 'NOTE: It changes the default alignment of widgets inside this column - including the Ineer Section widget.', 'ooohboi-steroids' ),
494
  'separator' => 'before',
495
  'type' => Controls_Manager::SWITCHER,
496
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
506
  [
507
  'label' => __( 'Widgets Direction', 'ooohboi-steroids' ),
508
  'type' => Controls_Manager::SELECT,
509
+ 'default' => 'inherit',
510
  'options' => [
511
  'inherit' => __( 'Default', 'ooohboi-steroids' ),
512
  'column' => __( 'Column', 'ooohboi-steroids' ),
520
  ],
521
  ]
522
  );
523
+ // ------------------------------------------------------------------------- CONTROL: Align columns
524
+ $element->add_responsive_control(
525
+ '_ob_bbad_ws_widgets_horiz_align',
526
+ [
527
+ 'label' => __( 'Align horizontally', 'ooohboi-steroids' ),
528
+ 'type' => Controls_Manager::SELECT,
529
+ 'default' => 'flex-start',
530
+ 'options' => [
531
+ 'flex-start' => __( 'Start', 'ooohboi-steroids' ),
532
+ 'center' => __( 'Center', 'ooohboi-steroids' ),
533
+ 'flex-end' => __( 'End', 'ooohboi-steroids' ),
534
+ 'space-between' => __( 'Space Between', 'ooohboi-steroids' ),
535
+ 'space-around' => __( 'Space Around', 'ooohboi-steroids' ),
536
+ 'space-evenly' => __( 'Space Evenly', 'ooohboi-steroids' ),
537
+ ],
538
+ 'selectors' => [
539
+ '{{WRAPPER}}.elementor-column.ob-is-stalker .elementor-widget-wrap' => 'justify-content: {{VALUE}} !important;',
540
+ ],
541
+ 'condition' => [
542
+ '_ob_bbad_is_stalker' => 'yes',
543
+ '_ob_bbad_ws_widgets_direction' => [ 'inherit' ],
544
+ ],
545
+ ]
546
+ );
547
  // ------------------------------------------------------------------------- CONTROL: widgets - vertical alignment
548
  $element->add_responsive_control(
549
  '_ob_bbad_ws_items_align',
controls/ooohboi-widget-stalker.php CHANGED
@@ -204,6 +204,27 @@ class OoohBoi_Widget_Stalker {
204
  ],
205
  ]
206
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
  $element->end_controls_section(); // END SECTION / PANEL
209
 
204
  ],
205
  ]
206
  );
207
+ // --------------------------------------------------------------------------------------------- 1.6.3 CONTROL Widget order
208
+ $element->add_responsive_control(
209
+ '_ob_ws_widget_order',
210
+ [
211
+ 'label' => __( 'Widget Order', 'ooohboi-steroids' ),
212
+ 'description' => sprintf(
213
+ __( 'More info at %sMozilla%s.', 'ooohboi-steroids' ),
214
+ '<a
215
+ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Ordering_Flex_Items#The_order_property" target="_blank">',
216
+ '</a>'
217
+ ),
218
+ 'type' => Controls_Manager::NUMBER,
219
+ 'style_transfer' => true,
220
+ 'selectors' => [
221
+ '{{WRAPPER}}.elementor-widget.ob-got-stalker' => '-webkit-box-ordinal-group: calc({{VALUE}} + 1 ); -ms-flex-order:{{VALUE}}; order: {{VALUE}};',
222
+ ],
223
+ 'condition' => [
224
+ '_ob_widget_stalker_use' => 'yes',
225
+ ],
226
+ ]
227
+ );
228
 
229
  $element->end_controls_section(); // END SECTION / PANEL
230
 
lang/ooohboi-steroids.pot CHANGED
@@ -3,8 +3,8 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: OoohBoi Steroids for Elementor\n"
6
- "POT-Creation-Date: 2021-02-20 13:57+0100\n"
7
- "PO-Revision-Date: 2021-02-20 13:57+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
@@ -21,18 +21,18 @@ msgstr ""
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.min.js\n"
23
 
24
- #: controls/ooohboi-breaking-bad.php:83
25
  msgid "Enable Breaking Bad?"
26
  msgstr ""
27
 
28
- #: controls/ooohboi-breaking-bad.php:84
29
  msgid ""
30
  "By enabling Breaking Bad for this SECTION, all the Columns will break in "
31
  "order to fit the available width."
32
  msgstr ""
33
 
34
- #: controls/ooohboi-breaking-bad.php:87 controls/ooohboi-breaking-bad.php:165
35
- #: controls/ooohboi-breaking-bad.php:267 controls/ooohboi-breaking-bad.php:306
36
  #: controls/ooohboi-butter-button.php:71 controls/ooohboi-commentz.php:71
37
  #: controls/ooohboi-glider.php:68 controls/ooohboi-glider.php:83
38
  #: controls/ooohboi-glider.php:134 controls/ooohboi-glider.php:359
@@ -49,8 +49,8 @@ msgstr ""
49
  msgid "Yes"
50
  msgstr ""
51
 
52
- #: controls/ooohboi-breaking-bad.php:88 controls/ooohboi-breaking-bad.php:166
53
- #: controls/ooohboi-breaking-bad.php:268 controls/ooohboi-breaking-bad.php:307
54
  #: controls/ooohboi-butter-button.php:72 controls/ooohboi-commentz.php:72
55
  #: controls/ooohboi-glider.php:69 controls/ooohboi-glider.php:84
56
  #: controls/ooohboi-glider.php:135 controls/ooohboi-glider.php:360
@@ -67,82 +67,96 @@ msgstr ""
67
  msgid "No"
68
  msgstr ""
69
 
70
- #: controls/ooohboi-breaking-bad.php:98
71
  msgid "Align Columns"
72
  msgstr ""
73
 
74
- #: controls/ooohboi-breaking-bad.php:102 controls/ooohboi-breaking-bad.php:145
75
- #: controls/ooohboi-breaking-bad.php:341
76
  msgid "Start"
77
  msgstr ""
78
 
79
- #: controls/ooohboi-breaking-bad.php:103 controls/ooohboi-breaking-bad.php:146
80
- #: controls/ooohboi-breaking-bad.php:342 controls/ooohboi-commentz.php:134
 
81
  #: controls/ooohboi-commentz.php:654 controls/ooohboi-widget-stalker.php:196
82
  msgid "Center"
83
  msgstr ""
84
 
85
- #: controls/ooohboi-breaking-bad.php:104 controls/ooohboi-breaking-bad.php:147
86
- #: controls/ooohboi-breaking-bad.php:343
 
87
  #: controls/ooohboi-widget-stalker.php:197
88
  msgid "End"
89
  msgstr ""
90
 
91
- #: controls/ooohboi-breaking-bad.php:105
92
  msgid "Space Between"
93
  msgstr ""
94
 
95
- #: controls/ooohboi-breaking-bad.php:106
96
  msgid "Space Around"
97
  msgstr ""
98
 
99
- #: controls/ooohboi-breaking-bad.php:107
100
  msgid "Space Evenly"
101
  msgstr ""
102
 
103
- #: controls/ooohboi-breaking-bad.php:121
104
  msgid "Columns Direction"
105
  msgstr ""
106
 
107
- #: controls/ooohboi-breaking-bad.php:125
108
  msgid "Row"
109
  msgstr ""
110
 
111
- #: controls/ooohboi-breaking-bad.php:126 controls/ooohboi-breaking-bad.php:322
112
  msgid "Column"
113
  msgstr ""
114
 
115
- #: controls/ooohboi-breaking-bad.php:141
116
  msgid "Align Items"
117
  msgstr ""
118
 
119
- #: controls/ooohboi-breaking-bad.php:162
120
  msgid "Sticky Section"
121
  msgstr ""
122
 
123
- #: controls/ooohboi-breaking-bad.php:163
124
  msgid ""
125
  "It works for the Inner Section only! It keeps it sticky inside the column to "
126
  "avoid content overlaps."
127
  msgstr ""
128
 
129
- #: controls/ooohboi-breaking-bad.php:192
130
- msgid "Custom Width"
131
  msgstr ""
132
 
133
- #: controls/ooohboi-breaking-bad.php:196
134
- msgid ""
135
- "You can enter any acceptable CSS value, for example: 50em, 300px, 100%, "
136
- "calc(100% - 300px). NOTE: If you want to make the columns wrap, Enable "
137
- "Breaking Bad for this Column parent SECTION!"
138
  msgstr ""
139
 
140
- #: controls/ooohboi-breaking-bad.php:206
141
- #: controls/ooohboi-widget-stalker.php:172
142
- msgid "Max Width"
 
143
  msgstr ""
144
 
145
- #: controls/ooohboi-breaking-bad.php:210 controls/ooohboi-teleporter.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  #: controls/ooohboi-teleporter.php:155 controls/ooohboi-teleporter.php:186
147
  #: controls/ooohboi-teleporter.php:203 controls/ooohboi-widget-stalker.php:138
148
  #: controls/ooohboi-widget-stalker.php:176
@@ -151,41 +165,93 @@ msgid ""
151
  "calc(100% - 300px)."
152
  msgstr ""
153
 
154
- #: controls/ooohboi-breaking-bad.php:220 controls/ooohboi-harakiri.php:142
155
- msgid "Custom Height"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  msgstr ""
157
 
158
- #: controls/ooohboi-breaking-bad.php:246
159
- msgid "Column Order"
 
 
 
 
 
160
  msgstr ""
161
 
162
- #: controls/ooohboi-breaking-bad.php:248
 
163
  #, php-format
164
  msgid "More info at %sMozilla%s."
165
  msgstr ""
166
 
167
- #: controls/ooohboi-breaking-bad.php:264
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  msgid "Scrollable Column?"
169
  msgstr ""
170
 
171
- #: controls/ooohboi-breaking-bad.php:292
172
  #, php-format
173
  msgid "Widget Stalker%sNEW!%s"
174
  msgstr ""
175
 
176
- #: controls/ooohboi-breaking-bad.php:302 controls/ooohboi-widget-stalker.php:63
177
  msgid "Enable Widget Stalker?"
178
  msgstr ""
179
 
180
- #: controls/ooohboi-breaking-bad.php:303
181
- msgid "NOTE: It changes the default alignment of widgets inside this column."
 
 
182
  msgstr ""
183
 
184
- #: controls/ooohboi-breaking-bad.php:317
185
  msgid "Widgets Direction"
186
  msgstr ""
187
 
188
- #: controls/ooohboi-breaking-bad.php:321 controls/ooohboi-harakiri.php:122
189
  #: controls/ooohboi-hover-animator.php:276
190
  #: controls/ooohboi-hover-animator.php:428
191
  #: controls/ooohboi-hover-animator.php:580
@@ -201,10 +267,6 @@ msgstr ""
201
  msgid "Default"
202
  msgstr ""
203
 
204
- #: controls/ooohboi-breaking-bad.php:337
205
- msgid "Align vertically"
206
- msgstr ""
207
-
208
  #: controls/ooohboi-butter-button.php:68
209
  msgid "Enable Butter Buttons?"
210
  msgstr ""
@@ -829,15 +891,6 @@ msgstr ""
829
  msgid "Enable Overlaiz?"
830
  msgstr ""
831
 
832
- #: controls/ooohboi-overlaiz.php:75 controls/ooohboi-overlaiz.php:578
833
- #: controls/ooohboi-overlay-underlay.php:170
834
- #: controls/ooohboi-overlay-underlay.php:557
835
- #: controls/ooohboi-overlay-underlay.php:744
836
- #: controls/ooohboi-overlay-underlay.php:1110 controls/ooohboi-spacerat.php:238
837
- #: controls/ooohboi-videomasq.php:122
838
- msgid "Width"
839
- msgstr ""
840
-
841
  #: controls/ooohboi-overlaiz.php:126 controls/ooohboi-overlay-underlay.php:212
842
  #: controls/ooohboi-overlay-underlay.php:785
843
  msgid "Calc Width"
@@ -980,12 +1033,6 @@ msgstr ""
980
  msgid "Mask size"
981
  msgstr ""
982
 
983
- #: controls/ooohboi-overlaiz.php:558 controls/ooohboi-overlay-underlay.php:539
984
- #: controls/ooohboi-overlay-underlay.php:1093 controls/ooohboi-spacerat.php:220
985
- #: controls/ooohboi-videomasq.php:104 controls/ooohboi-widget-stalker.php:194
986
- msgid "Auto"
987
- msgstr ""
988
-
989
  #: controls/ooohboi-overlaiz.php:559 controls/ooohboi-overlay-underlay.php:540
990
  #: controls/ooohboi-overlay-underlay.php:1094 controls/ooohboi-spacerat.php:221
991
  #: controls/ooohboi-videomasq.php:105
@@ -1393,37 +1440,16 @@ msgid ""
1393
  "Layout tab, Layout panel > Breaking Bad, Widget Stalker settings."
1394
  msgstr ""
1395
 
1396
- #: controls/ooohboi-widget-stalker.php:79
1397
- msgid "Size Method"
1398
- msgstr ""
1399
-
1400
- #: controls/ooohboi-widget-stalker.php:80
1401
- msgid "Use Flex or Units?"
1402
- msgstr ""
1403
-
1404
- #: controls/ooohboi-widget-stalker.php:84
1405
- #: controls/ooohboi-widget-stalker.php:96
1406
- msgid "Flex"
1407
- msgstr ""
1408
-
1409
- #: controls/ooohboi-widget-stalker.php:85
1410
- msgid "Units"
1411
- msgstr ""
1412
-
1413
  #: controls/ooohboi-widget-stalker.php:134
1414
  msgid "Widget width"
1415
  msgstr ""
1416
 
1417
- #: controls/ooohboi-widget-stalker.php:189
1418
- msgid "Align self"
1419
- msgstr ""
1420
-
1421
  #: controls/ooohboi-widget-stalker.php:190
1422
  msgid "Align this widget vertically"
1423
  msgstr ""
1424
 
1425
- #: controls/ooohboi-widget-stalker.php:195
1426
- msgid "Baseline"
1427
  msgstr ""
1428
 
1429
  #: inc/common-functions.php:13
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: OoohBoi Steroids for Elementor\n"
6
+ "POT-Creation-Date: 2021-03-04 10:38+0100\n"
7
+ "PO-Revision-Date: 2021-03-04 10:37+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.min.js\n"
23
 
24
+ #: controls/ooohboi-breaking-bad.php:87
25
  msgid "Enable Breaking Bad?"
26
  msgstr ""
27
 
28
+ #: controls/ooohboi-breaking-bad.php:88
29
  msgid ""
30
  "By enabling Breaking Bad for this SECTION, all the Columns will break in "
31
  "order to fit the available width."
32
  msgstr ""
33
 
34
+ #: controls/ooohboi-breaking-bad.php:91 controls/ooohboi-breaking-bad.php:173
35
+ #: controls/ooohboi-breaking-bad.php:440 controls/ooohboi-breaking-bad.php:479
36
  #: controls/ooohboi-butter-button.php:71 controls/ooohboi-commentz.php:71
37
  #: controls/ooohboi-glider.php:68 controls/ooohboi-glider.php:83
38
  #: controls/ooohboi-glider.php:134 controls/ooohboi-glider.php:359
49
  msgid "Yes"
50
  msgstr ""
51
 
52
+ #: controls/ooohboi-breaking-bad.php:92 controls/ooohboi-breaking-bad.php:174
53
+ #: controls/ooohboi-breaking-bad.php:441 controls/ooohboi-breaking-bad.php:480
54
  #: controls/ooohboi-butter-button.php:72 controls/ooohboi-commentz.php:72
55
  #: controls/ooohboi-glider.php:69 controls/ooohboi-glider.php:84
56
  #: controls/ooohboi-glider.php:135 controls/ooohboi-glider.php:360
67
  msgid "No"
68
  msgstr ""
69
 
70
+ #: controls/ooohboi-breaking-bad.php:102
71
  msgid "Align Columns"
72
  msgstr ""
73
 
74
+ #: controls/ooohboi-breaking-bad.php:106 controls/ooohboi-breaking-bad.php:152
75
+ #: controls/ooohboi-breaking-bad.php:424 controls/ooohboi-breaking-bad.php:514
76
  msgid "Start"
77
  msgstr ""
78
 
79
+ #: controls/ooohboi-breaking-bad.php:107 controls/ooohboi-breaking-bad.php:153
80
+ #: controls/ooohboi-breaking-bad.php:313 controls/ooohboi-breaking-bad.php:425
81
+ #: controls/ooohboi-breaking-bad.php:515 controls/ooohboi-commentz.php:134
82
  #: controls/ooohboi-commentz.php:654 controls/ooohboi-widget-stalker.php:196
83
  msgid "Center"
84
  msgstr ""
85
 
86
+ #: controls/ooohboi-breaking-bad.php:108 controls/ooohboi-breaking-bad.php:154
87
+ #: controls/ooohboi-breaking-bad.php:314 controls/ooohboi-breaking-bad.php:426
88
+ #: controls/ooohboi-breaking-bad.php:516
89
  #: controls/ooohboi-widget-stalker.php:197
90
  msgid "End"
91
  msgstr ""
92
 
93
+ #: controls/ooohboi-breaking-bad.php:109
94
  msgid "Space Between"
95
  msgstr ""
96
 
97
+ #: controls/ooohboi-breaking-bad.php:110
98
  msgid "Space Around"
99
  msgstr ""
100
 
101
+ #: controls/ooohboi-breaking-bad.php:111
102
  msgid "Space Evenly"
103
  msgstr ""
104
 
105
+ #: controls/ooohboi-breaking-bad.php:126
106
  msgid "Columns Direction"
107
  msgstr ""
108
 
109
+ #: controls/ooohboi-breaking-bad.php:130
110
  msgid "Row"
111
  msgstr ""
112
 
113
+ #: controls/ooohboi-breaking-bad.php:131 controls/ooohboi-breaking-bad.php:495
114
  msgid "Column"
115
  msgstr ""
116
 
117
+ #: controls/ooohboi-breaking-bad.php:148
118
  msgid "Align Items"
119
  msgstr ""
120
 
121
+ #: controls/ooohboi-breaking-bad.php:170
122
  msgid "Sticky Section"
123
  msgstr ""
124
 
125
+ #: controls/ooohboi-breaking-bad.php:171
126
  msgid ""
127
  "It works for the Inner Section only! It keeps it sticky inside the column to "
128
  "avoid content overlaps."
129
  msgstr ""
130
 
131
+ #: controls/ooohboi-breaking-bad.php:190 controls/ooohboi-widget-stalker.php:79
132
+ msgid "Size Method"
133
  msgstr ""
134
 
135
+ #: controls/ooohboi-breaking-bad.php:191 controls/ooohboi-widget-stalker.php:80
136
+ msgid "Use Flex or Units?"
 
 
 
137
  msgstr ""
138
 
139
+ #: controls/ooohboi-breaking-bad.php:196 controls/ooohboi-breaking-bad.php:208
140
+ #: controls/ooohboi-widget-stalker.php:84
141
+ #: controls/ooohboi-widget-stalker.php:96
142
+ msgid "Flex"
143
  msgstr ""
144
 
145
+ #: controls/ooohboi-breaking-bad.php:197 controls/ooohboi-widget-stalker.php:85
146
+ msgid "Units"
147
+ msgstr ""
148
+
149
+ #: controls/ooohboi-breaking-bad.php:247 controls/ooohboi-overlaiz.php:75
150
+ #: controls/ooohboi-overlaiz.php:578 controls/ooohboi-overlay-underlay.php:170
151
+ #: controls/ooohboi-overlay-underlay.php:557
152
+ #: controls/ooohboi-overlay-underlay.php:744
153
+ #: controls/ooohboi-overlay-underlay.php:1110 controls/ooohboi-spacerat.php:238
154
+ #: controls/ooohboi-videomasq.php:122
155
+ msgid "Width"
156
+ msgstr ""
157
+
158
+ #: controls/ooohboi-breaking-bad.php:253 controls/ooohboi-breaking-bad.php:292
159
+ #: controls/ooohboi-breaking-bad.php:381 controls/ooohboi-teleporter.php:137
160
  #: controls/ooohboi-teleporter.php:155 controls/ooohboi-teleporter.php:186
161
  #: controls/ooohboi-teleporter.php:203 controls/ooohboi-widget-stalker.php:138
162
  #: controls/ooohboi-widget-stalker.php:176
165
  "calc(100% - 300px)."
166
  msgstr ""
167
 
168
+ #: controls/ooohboi-breaking-bad.php:287 controls/ooohboi-breaking-bad.php:377
169
+ #: controls/ooohboi-widget-stalker.php:172
170
+ msgid "Max Width"
171
+ msgstr ""
172
+
173
+ #: controls/ooohboi-breaking-bad.php:305
174
+ #: controls/ooohboi-widget-stalker.php:189
175
+ msgid "Align self"
176
+ msgstr ""
177
+
178
+ #: controls/ooohboi-breaking-bad.php:306
179
+ msgid "Align this Inner Section vertically"
180
+ msgstr ""
181
+
182
+ #: controls/ooohboi-breaking-bad.php:311 controls/ooohboi-overlaiz.php:558
183
+ #: controls/ooohboi-overlay-underlay.php:539
184
+ #: controls/ooohboi-overlay-underlay.php:1093 controls/ooohboi-spacerat.php:220
185
+ #: controls/ooohboi-videomasq.php:104 controls/ooohboi-widget-stalker.php:194
186
+ msgid "Auto"
187
  msgstr ""
188
 
189
+ #: controls/ooohboi-breaking-bad.php:312
190
+ #: controls/ooohboi-widget-stalker.php:195
191
+ msgid "Baseline"
192
+ msgstr ""
193
+
194
+ #: controls/ooohboi-breaking-bad.php:328
195
+ msgid "Stacking Order"
196
  msgstr ""
197
 
198
+ #: controls/ooohboi-breaking-bad.php:330
199
+ #: controls/ooohboi-widget-stalker.php:213
200
  #, php-format
201
  msgid "More info at %sMozilla%s."
202
  msgstr ""
203
 
204
+ #: controls/ooohboi-breaking-bad.php:363
205
+ msgid "Custom Width"
206
+ msgstr ""
207
+
208
+ #: controls/ooohboi-breaking-bad.php:367
209
+ msgid ""
210
+ "You can enter any acceptable CSS value, for example: 50em, 300px, 100%, "
211
+ "calc(100% - 300px). NOTE: If you want to make the columns wrap, Enable "
212
+ "Breaking Bad for this Column parent SECTION!"
213
+ msgstr ""
214
+
215
+ #: controls/ooohboi-breaking-bad.php:391 controls/ooohboi-harakiri.php:142
216
+ msgid "Custom Height"
217
+ msgstr ""
218
+
219
+ #: controls/ooohboi-breaking-bad.php:418 controls/ooohboi-breaking-bad.php:510
220
+ msgid "Align vertically"
221
+ msgstr ""
222
+
223
+ #: controls/ooohboi-breaking-bad.php:419
224
+ msgid "Defines the vertical alignmnet of this column only!"
225
+ msgstr ""
226
+
227
+ #: controls/ooohboi-breaking-bad.php:423
228
+ msgid "Inherit"
229
+ msgstr ""
230
+
231
+ #: controls/ooohboi-breaking-bad.php:437
232
  msgid "Scrollable Column?"
233
  msgstr ""
234
 
235
+ #: controls/ooohboi-breaking-bad.php:465
236
  #, php-format
237
  msgid "Widget Stalker%sNEW!%s"
238
  msgstr ""
239
 
240
+ #: controls/ooohboi-breaking-bad.php:475 controls/ooohboi-widget-stalker.php:63
241
  msgid "Enable Widget Stalker?"
242
  msgstr ""
243
 
244
+ #: controls/ooohboi-breaking-bad.php:476
245
+ msgid ""
246
+ "NOTE: It changes the default alignment of widgets inside this column - "
247
+ "including the Ineer Section widget."
248
  msgstr ""
249
 
250
+ #: controls/ooohboi-breaking-bad.php:490
251
  msgid "Widgets Direction"
252
  msgstr ""
253
 
254
+ #: controls/ooohboi-breaking-bad.php:494 controls/ooohboi-harakiri.php:122
255
  #: controls/ooohboi-hover-animator.php:276
256
  #: controls/ooohboi-hover-animator.php:428
257
  #: controls/ooohboi-hover-animator.php:580
267
  msgid "Default"
268
  msgstr ""
269
 
 
 
 
 
270
  #: controls/ooohboi-butter-button.php:68
271
  msgid "Enable Butter Buttons?"
272
  msgstr ""
891
  msgid "Enable Overlaiz?"
892
  msgstr ""
893
 
 
 
 
 
 
 
 
 
 
894
  #: controls/ooohboi-overlaiz.php:126 controls/ooohboi-overlay-underlay.php:212
895
  #: controls/ooohboi-overlay-underlay.php:785
896
  msgid "Calc Width"
1033
  msgid "Mask size"
1034
  msgstr ""
1035
 
 
 
 
 
 
 
1036
  #: controls/ooohboi-overlaiz.php:559 controls/ooohboi-overlay-underlay.php:540
1037
  #: controls/ooohboi-overlay-underlay.php:1094 controls/ooohboi-spacerat.php:221
1038
  #: controls/ooohboi-videomasq.php:105
1440
  "Layout tab, Layout panel > Breaking Bad, Widget Stalker settings."
1441
  msgstr ""
1442
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1443
  #: controls/ooohboi-widget-stalker.php:134
1444
  msgid "Widget width"
1445
  msgstr ""
1446
 
 
 
 
 
1447
  #: controls/ooohboi-widget-stalker.php:190
1448
  msgid "Align this widget vertically"
1449
  msgstr ""
1450
 
1451
+ #: controls/ooohboi-widget-stalker.php:211
1452
+ msgid "Widget Order"
1453
  msgstr ""
1454
 
1455
  #: inc/common-functions.php:13
ooohboi-steroids.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
5
- * Version: 1.6.2
6
  * Author: OoohBoi
7
  * Author URI: https://www.youtube.com/c/OoohBoi
8
  * Text Domain: ooohboi-steroids
@@ -31,7 +31,7 @@ final class OoohBoi_Steroids {
31
  *
32
  * @var string The plugin version.
33
  */
34
- const VERSION = '1.6.2';
35
 
36
  /**
37
  * Minimum Elementor Version
@@ -177,7 +177,7 @@ final class OoohBoi_Steroids {
177
  'ooohboi-steroids-preview',
178
  plugins_url( 'assets/css/preview.css', __FILE__ ),
179
  [ 'editor-preview' ],
180
- self::VERSION . '20022021'
181
  );
182
  } );
183
 
@@ -255,7 +255,7 @@ final class OoohBoi_Steroids {
255
  */
256
  public function ooohboi_register_styles_editor() {
257
 
258
- wp_enqueue_style( 'ooohboi-steroids-styles-editor', plugins_url( 'assets/css/editor.css', __FILE__ ), [ 'elementor-editor' ], self::VERSION . '20022021' );
259
 
260
  }
261
 
@@ -270,7 +270,7 @@ final class OoohBoi_Steroids {
270
  */
271
  public function ooohboi_register_styles() {
272
 
273
- wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '20022021' );
274
 
275
  }
276
 
@@ -285,7 +285,7 @@ final class OoohBoi_Steroids {
285
  */
286
  public function ooohboi_register_scripts_front() {
287
 
288
- wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids-min.js', __FILE__ ), [ 'jquery' ], self::VERSION . '20022021', true );
289
 
290
  }
291
 
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
5
+ * Version: 1.6.3
6
  * Author: OoohBoi
7
  * Author URI: https://www.youtube.com/c/OoohBoi
8
  * Text Domain: ooohboi-steroids
31
  *
32
  * @var string The plugin version.
33
  */
34
+ const VERSION = '1.6.3';
35
 
36
  /**
37
  * Minimum Elementor Version
177
  'ooohboi-steroids-preview',
178
  plugins_url( 'assets/css/preview.css', __FILE__ ),
179
  [ 'editor-preview' ],
180
+ self::VERSION . '27022021'
181
  );
182
  } );
183
 
255
  */
256
  public function ooohboi_register_styles_editor() {
257
 
258
+ wp_enqueue_style( 'ooohboi-steroids-styles-editor', plugins_url( 'assets/css/editor.css', __FILE__ ), [ 'elementor-editor' ], self::VERSION . '27022021' );
259
 
260
  }
261
 
270
  */
271
  public function ooohboi_register_styles() {
272
 
273
+ wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '27022021' );
274
 
275
  }
276
 
285
  */
286
  public function ooohboi_register_scripts_front() {
287
 
288
+ wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids-min.js', __FILE__ ), [ 'jquery' ], self::VERSION . '27a022021', true );
289
 
290
  }
291
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
  Tested up to: 5.6
7
- Stable tag: 1.6.2
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
@@ -19,9 +19,12 @@ Boost your Elementor with some fresh and yet innovative options.
19
 
20
  An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels thing.
21
 
22
- = THE LATEST EXTENSION - WIDGET STALKER =
23
 
24
- Available under the Advanced tab for every Elementor widget. It allows you to control widget's width, and thus stack multiple widgets one next to another. Additional controls are available thru the Breaking Bad extension.
 
 
 
25
 
26
  = In the package so far =
27
 
@@ -97,7 +100,7 @@ Stack widgets one after another inside the column.
97
 
98
  == Upgrade Notice ==
99
 
100
- 1.6.2 - Beware of the changes in the language file!
101
 
102
  == Frequently Asked Questions ==
103
 
@@ -141,6 +144,12 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
141
 
142
  == Changelog ==
143
 
 
 
 
 
 
 
144
  = 1.6.2 =
145
  - WIDGET STALKER fixed
146
  - GLIDER extension now works when "Improved Asset Loading" is active (Elementor PRO 3.1)
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
  Tested up to: 5.6
7
+ Stable tag: 1.6.3
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
19
 
20
  An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels thing.
21
 
22
+ = What is new? =
23
 
24
+ An awesome addition to the Breaking Bad extension! New set of controls for the Inner Section widget have been added. From now on you can set the width (flex or units) to the Inner Section widget, and position them one next to another.
25
+ Moreover, you can align each Inner Section vertically, and change its stacking order in responsive fashion (per device).
26
+ All of the above mentioned is applicable to any Elementor widget (native or the third-party) by using the Widget Stalker extension.
27
+ These two should reduce the need for new Sections and Columns, and thus significantly reduce the amount of HTML generated by Elementor.
28
 
29
  = In the package so far =
30
 
100
 
101
  == Upgrade Notice ==
102
 
103
+ 1.6.3 - Beware of the changes in the language file!
104
 
105
  == Frequently Asked Questions ==
106
 
144
 
145
  == Changelog ==
146
 
147
+ = 1.6.3 =
148
+ - BREAKING BAD, fixed inheritance of the columns alignment and direction for Inner Sections
149
+ - BREAKING BAD, added size controls (width) and self-alignment for Inner Section widget
150
+ - WIDGET STALKER, fixed initial position being undefined/empty
151
+ - WIDGET STALKER, added option to change the appearance order of the widget
152
+
153
  = 1.6.2 =
154
  - WIDGET STALKER fixed
155
  - GLIDER extension now works when "Improved Asset Loading" is active (Elementor PRO 3.1)