Version Description
- New feature added, SpaceRat
- New feature added, SpaceRat
Download this release
Release Info
Developer | ooohboi |
Plugin | OoohBoi Steroids for Elementor |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.4
- assets/css/editor.css +8 -2
- assets/css/main.css +5 -0
- assets/js/ooohboi-steroids-min.js +1 -1
- assets/js/ooohboi-steroids.js +62 -1
- controls/ooohboi-imbox.php +139 -0
- controls/ooohboi-spacerat.php +511 -0
- inc/common-functions.php +12 -0
- lang/ooohboi-steroids.pot +126 -72
- ooohboi-steroids.php +23 -18
- readme.txt +16 -6
assets/css/editor.css
CHANGED
@@ -15,7 +15,10 @@
|
|
15 |
.elementor-control-_ob_perspektive:after,
|
16 |
.elementor-control-_ob_shadough:after,
|
17 |
.elementor-control-_ob_photomorph:after,
|
18 |
-
.elementor-control-_ob_commentz:after
|
|
|
|
|
|
|
19 |
content: "";
|
20 |
position: absolute;
|
21 |
height: 20px;
|
@@ -42,7 +45,10 @@
|
|
42 |
.rtl .elementor-control-_ob_perspektive:after,
|
43 |
.rtl .elementor-control-_ob_shadough:after,
|
44 |
.rtl .elementor-control-_ob_photomorph:after,
|
45 |
-
.rtl .elementor-control-_ob_commentz:after
|
|
|
|
|
|
|
46 |
left: 20px;
|
47 |
right: unset;
|
48 |
}
|
15 |
.elementor-control-_ob_perspektive:after,
|
16 |
.elementor-control-_ob_shadough:after,
|
17 |
.elementor-control-_ob_photomorph:after,
|
18 |
+
.elementor-control-_ob_commentz:after,
|
19 |
+
.elementor-control-_ob_spacerat:after,
|
20 |
+
.elementor-control-_ob_imbox_img:after,
|
21 |
+
.elementor-control-_ob_imbox_cont:after {
|
22 |
content: "";
|
23 |
position: absolute;
|
24 |
height: 20px;
|
45 |
.rtl .elementor-control-_ob_perspektive:after,
|
46 |
.rtl .elementor-control-_ob_shadough:after,
|
47 |
.rtl .elementor-control-_ob_photomorph:after,
|
48 |
+
.rtl .elementor-control-_ob_commentz:after,
|
49 |
+
.rtl .elementor-control-_ob_spacerat:after,
|
50 |
+
.rtl .elementor-control-_ob_imbox_img:after,
|
51 |
+
.rtl .elementor-control-_ob_imbox_cont:after {
|
52 |
left: 20px;
|
53 |
right: unset;
|
54 |
}
|
assets/css/main.css
CHANGED
@@ -242,6 +242,11 @@ div[class*='ob-teleporter-'] {
|
|
242 |
margin-bottom: 20px !important;
|
243 |
}
|
244 |
|
|
|
|
|
|
|
|
|
|
|
245 |
/* wooc */
|
246 |
.button[class*='product_type'] {
|
247 |
transition: all 0.25s ease;
|
242 |
margin-bottom: 20px !important;
|
243 |
}
|
244 |
|
245 |
+
/* image-box wrapper */
|
246 |
+
.elementor-image-box-wrapper .elementor-image-box-img {
|
247 |
+
line-height: 0;
|
248 |
+
}
|
249 |
+
|
250 |
/* wooc */
|
251 |
.button[class*='product_type'] {
|
252 |
transition: all 0.25s ease;
|
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.initPoopArtPerspektive()},initPoopArtPerspektive:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"))},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"))},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")}}),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")},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")))},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(){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())},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")},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())},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"))},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();if(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())),"do-pass"===t._ob_teleporter_pass){var n=this.$element,s=this.$element.attr("data-id");"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");var i="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=t._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: '+t._ob_teleporter_overlay_color+';"></div>';if(e(".ob-teleporter-"+s).length||this.$element.prepend(l),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=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),i.prepend(n)}else i.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(){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)})),void 0!==t._ob_teleporter_link){var a=t._ob_teleporter_link;if(""===a.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){a.is_external?window.open(a.url):location.href=a.url}))}}}}}}),"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")}})};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=e(".elementor-element-"+t+" .swiper-container").first(),s=new Swiper(n,{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});n.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.initPoopArtPerspektive()},initPoopArtPerspektive:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"))},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"))},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")}}),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")},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")))},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(){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())},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")},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())},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"))},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();if(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())),"do-pass"===t._ob_teleporter_pass){var n=this.$element,s=this.$element.attr("data-id");"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");var i="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(i.length){i.css("overflow","hidden");var r=t._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: '+t._ob_teleporter_overlay_color+';"></div>';if(e(".ob-teleporter-"+s).length||this.$element.prepend(l),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=i.children().not(".elementor-container").detach();i.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+s)),i.prepend(n)}else i.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(){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)})),void 0!==t._ob_teleporter_link){var a=t._ob_teleporter_link;if(""===a.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){a.is_external?window.open(a.url):location.href=a.url}))}}}}}}),"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){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=e(".elementor-element-"+t+" .swiper-container").first(),s=new Swiper(n,{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});n.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);
|
assets/js/ooohboi-steroids.js
CHANGED
@@ -603,6 +603,66 @@
|
|
603 |
},
|
604 |
|
605 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
606 |
} );
|
607 |
|
608 |
var handlersList = {
|
@@ -615,7 +675,8 @@
|
|
615 |
'search-form.default': SearchCop,
|
616 |
'button.default': ButterButton,
|
617 |
'image.default': PhotoMorph,
|
618 |
-
'post-comments.theme_comments': Commentz
|
|
|
619 |
|
620 |
};
|
621 |
|
603 |
},
|
604 |
|
605 |
|
606 |
+
} );
|
607 |
+
|
608 |
+
var SpaceRat = elementorModules.frontend.handlers.Base.extend( {
|
609 |
+
|
610 |
+
onInit: function() {
|
611 |
+
|
612 |
+
elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
|
613 |
+
this.initSpaceRat();
|
614 |
+
|
615 |
+
},
|
616 |
+
|
617 |
+
isSpaceRat: function() {
|
618 |
+
|
619 |
+
return this.$element.hasClass( 'ob-spacerat' );
|
620 |
+
|
621 |
+
},
|
622 |
+
|
623 |
+
onElementChange: function( changedProp ) {
|
624 |
+
|
625 |
+
if( changedProp === '_ob_spacerat_use' ) {
|
626 |
+
this.routeSpaceRat();
|
627 |
+
}
|
628 |
+
|
629 |
+
},
|
630 |
+
|
631 |
+
initSpaceRat: function() {
|
632 |
+
|
633 |
+
if( this.isEdit && 'yes' === this.getElementSettings( '_ob_spacerat_use' ) ) {
|
634 |
+
this.$element.addClass( 'ob-spacerat' );
|
635 |
+
}
|
636 |
+
|
637 |
+
if( ! this.isEdit ) {
|
638 |
+
|
639 |
+
var spacerat_settings = $.parseJSON( this.$element.attr( 'data-settings' ) );
|
640 |
+
|
641 |
+
if( undefined !== spacerat_settings._ob_spacerat_link ) {
|
642 |
+
|
643 |
+
var spacerat_link = spacerat_settings._ob_spacerat_link;
|
644 |
+
if( '' === spacerat_link.url ) return;
|
645 |
+
|
646 |
+
this.$element.off( 'click.obSpacerat' );
|
647 |
+
this.$element.on( 'click.obSpacerat', function() {
|
648 |
+
if( spacerat_link.is_external ) window.open( spacerat_link.url );
|
649 |
+
else location.href = spacerat_link.url;
|
650 |
+
} );
|
651 |
+
|
652 |
+
}
|
653 |
+
|
654 |
+
}
|
655 |
+
|
656 |
+
},
|
657 |
+
|
658 |
+
routeSpaceRat: function() {
|
659 |
+
|
660 |
+
if( ! this.isSpaceRat() && 'yes' === this.getElementSettings( '_ob_spacerat_use' ) ) this.$element.addClass( 'ob-spacerat' );
|
661 |
+
else this.$element.removeClass( 'ob-spacerat' );
|
662 |
+
|
663 |
+
},
|
664 |
+
|
665 |
+
|
666 |
} );
|
667 |
|
668 |
var handlersList = {
|
675 |
'search-form.default': SearchCop,
|
676 |
'button.default': ButterButton,
|
677 |
'image.default': PhotoMorph,
|
678 |
+
'post-comments.theme_comments': Commentz,
|
679 |
+
'spacer.default': SpaceRat
|
680 |
|
681 |
};
|
682 |
|
controls/ooohboi-imbox.php
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
use Elementor\Controls_Manager;
|
3 |
+
use Elementor\Group_Control_Box_Shadow;
|
4 |
+
use Elementor\Group_Control_Background;
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
+
exit; // Exit if accessed directly.
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Main OoohBoi_Imbox class
|
12 |
+
*
|
13 |
+
* The main class that initiates and runs the plugin.
|
14 |
+
*
|
15 |
+
* @since 1.5.4
|
16 |
+
*/
|
17 |
+
final class OoohBoi_Imbox {
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Initialize
|
21 |
+
*
|
22 |
+
* @since 1.5.4
|
23 |
+
*
|
24 |
+
* @access public
|
25 |
+
*/
|
26 |
+
public static function init() {
|
27 |
+
|
28 |
+
add_action( 'elementor/element/image-box/section_style_image/before_section_end', [ __CLASS__, 'ooohboi_imbox_img_controls' ], 10, 2 );
|
29 |
+
add_action( 'elementor/element/image-box/section_style_content/before_section_end', [ __CLASS__, 'ooohboi_imbox_cont_controls' ], 10, 2 );
|
30 |
+
|
31 |
+
}
|
32 |
+
|
33 |
+
public static function ooohboi_imbox_img_controls( $element, $args ) {
|
34 |
+
|
35 |
+
$selector = '{{WRAPPER}} .elementor-image-box-img';
|
36 |
+
|
37 |
+
$element->add_control(
|
38 |
+
'_ob_imbox_img',
|
39 |
+
[
|
40 |
+
'label' => 'I M B O X',
|
41 |
+
'type' => Controls_Manager::HEADING,
|
42 |
+
'separator' => 'before',
|
43 |
+
]
|
44 |
+
);
|
45 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
46 |
+
$element->add_control(
|
47 |
+
'_ob_imbox_separator_x',
|
48 |
+
[
|
49 |
+
'type' => Controls_Manager::DIVIDER,
|
50 |
+
]
|
51 |
+
);
|
52 |
+
// --------------------------------------------------------------------------------------------- CONTROL Box Shadow Regular
|
53 |
+
$element->add_group_control(
|
54 |
+
Group_Control_Box_Shadow::get_type(),
|
55 |
+
[
|
56 |
+
'name' => '_ob_imbox_shadow',
|
57 |
+
'label' => __( 'Box Shadow', 'ooohboi-steroids' ),
|
58 |
+
'separator' => 'before',
|
59 |
+
'selector' => $selector,
|
60 |
+
'fields_options' => [
|
61 |
+
'box_shadow' => [
|
62 |
+
'default' => [
|
63 |
+
'horizontal' => 0,
|
64 |
+
'vertical' => 0,
|
65 |
+
'blur' => 0,
|
66 |
+
'spread' => 0,
|
67 |
+
'color' => 'rgba(0,0,0,0.5)',
|
68 |
+
],
|
69 |
+
],
|
70 |
+
],
|
71 |
+
]
|
72 |
+
);
|
73 |
+
// ------------------------------------------------------------------------- CONTROL: Visibility
|
74 |
+
$element->add_control(
|
75 |
+
'_ob_imbox_visibility',
|
76 |
+
[
|
77 |
+
'label' => __( 'Content Overflow', 'ooohboi-steroids' ),
|
78 |
+
'type' => Controls_Manager::SELECT,
|
79 |
+
'default' => 'hidden',
|
80 |
+
'separator' => 'before',
|
81 |
+
'options' => [
|
82 |
+
'visible' => __( 'Visible', 'ooohboi-steroids' ),
|
83 |
+
'hidden' => __( 'Hidden', 'ooohboi-steroids' ),
|
84 |
+
],
|
85 |
+
'selectors' => [
|
86 |
+
$selector => 'overflow: {{value}};',
|
87 |
+
],
|
88 |
+
]
|
89 |
+
);
|
90 |
+
|
91 |
+
}
|
92 |
+
|
93 |
+
public static function ooohboi_imbox_cont_controls( $element, $args ) {
|
94 |
+
|
95 |
+
$selector = '{{WRAPPER}} .elementor-image-box-content';
|
96 |
+
|
97 |
+
$element->add_control(
|
98 |
+
'_ob_imbox_cont',
|
99 |
+
[
|
100 |
+
'label' => 'I M B O X',
|
101 |
+
'type' => Controls_Manager::HEADING,
|
102 |
+
'separator' => 'before',
|
103 |
+
]
|
104 |
+
);
|
105 |
+
|
106 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
107 |
+
$element->add_control(
|
108 |
+
'_ob_imbox_separator_y',
|
109 |
+
[
|
110 |
+
'type' => Controls_Manager::DIVIDER,
|
111 |
+
]
|
112 |
+
);
|
113 |
+
|
114 |
+
// --------------------------------------------------------------------------------------------- CONTROL BACKGROUND
|
115 |
+
$element->add_group_control(
|
116 |
+
Group_Control_Background::get_type(),
|
117 |
+
[
|
118 |
+
'name' => '_ob_imbox_cont_background',
|
119 |
+
'selector' => $selector,
|
120 |
+
]
|
121 |
+
);
|
122 |
+
|
123 |
+
// --------------------------------------------------------------------------------------------- CONTROL Padding
|
124 |
+
$element->add_responsive_control(
|
125 |
+
'_ob_imbox_padding_cont',
|
126 |
+
[
|
127 |
+
'label' => __( 'Padding', 'ooohboi-steroids' ),
|
128 |
+
'separator' => 'before',
|
129 |
+
'type' => Controls_Manager::DIMENSIONS,
|
130 |
+
'size_units' => [ 'px', 'em', '%' ],
|
131 |
+
'selectors' => [
|
132 |
+
$selector => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
133 |
+
],
|
134 |
+
]
|
135 |
+
);
|
136 |
+
|
137 |
+
}
|
138 |
+
|
139 |
+
}
|
controls/ooohboi-spacerat.php
ADDED
@@ -0,0 +1,511 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
use Elementor\Controls_Manager;
|
3 |
+
use Elementor\Controls_Stack;
|
4 |
+
use Elementor\Element_Base;
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
+
exit; // Exit if accessed directly.
|
8 |
+
}
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Main OoohBoi Spacerat
|
12 |
+
*
|
13 |
+
* The main class that initiates and runs the plugin.
|
14 |
+
*
|
15 |
+
* @since 1.5.4
|
16 |
+
*/
|
17 |
+
final class OoohBoi_SpaceRat {
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Initialize
|
21 |
+
*
|
22 |
+
* @since 1.5.4
|
23 |
+
*
|
24 |
+
* @access public
|
25 |
+
*/
|
26 |
+
public static function init() {
|
27 |
+
|
28 |
+
add_action( 'elementor/element/spacer/section_spacer/before_section_end', [ __CLASS__, 'ooohboi_spacerat_controls' ], 10, 2 );
|
29 |
+
add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
|
30 |
+
|
31 |
+
}
|
32 |
+
|
33 |
+
public static function add_attributes( $element ) {
|
34 |
+
|
35 |
+
if ( 'spacer' !== $element->get_name() ) return;
|
36 |
+
if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
|
37 |
+
|
38 |
+
$settings = $element->get_settings_for_display();
|
39 |
+
|
40 |
+
if ( isset( $settings[ '_ob_spacerat_use' ] ) && 'yes' === $settings[ '_ob_spacerat_use' ] ) {
|
41 |
+
|
42 |
+
$element->add_render_attribute( '_wrapper', [
|
43 |
+
'class' => 'ob-spacerat'
|
44 |
+
] );
|
45 |
+
|
46 |
+
}
|
47 |
+
|
48 |
+
}
|
49 |
+
|
50 |
+
public static function ooohboi_spacerat_controls( $element, $args ) {
|
51 |
+
|
52 |
+
$element->add_control(
|
53 |
+
'_ob_spacerat',
|
54 |
+
[
|
55 |
+
'label' => 'S P A C E R A T',
|
56 |
+
'type' => Controls_Manager::HEADING,
|
57 |
+
'separator' => 'before',
|
58 |
+
]
|
59 |
+
);
|
60 |
+
|
61 |
+
// ------------------------------------------------------------------------- CONTROL: Yes 4 SpaceRat !
|
62 |
+
$element->add_control(
|
63 |
+
'_ob_spacerat_use',
|
64 |
+
[
|
65 |
+
'label' => __( 'Enable SpaceRat?', 'ooohboi-steroids' ),
|
66 |
+
'description' => __( 'Awesome gear for the pretty-much dull Spacer widget.', 'ooohboi-steroids' ),
|
67 |
+
'separator' => 'before',
|
68 |
+
'type' => Controls_Manager::SWITCHER,
|
69 |
+
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
70 |
+
'label_off' => __( 'No', 'ooohboi-steroids' ),
|
71 |
+
'return_value' => 'yes',
|
72 |
+
'default' => 'no',
|
73 |
+
'frontend_available' => true,
|
74 |
+
]
|
75 |
+
);
|
76 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
77 |
+
$element->add_control(
|
78 |
+
'_ob_spacerat_separator_q',
|
79 |
+
[
|
80 |
+
'type' => Controls_Manager::DIVIDER,
|
81 |
+
'condition' => [
|
82 |
+
'_ob_spacerat_use' => 'yes',
|
83 |
+
],
|
84 |
+
]
|
85 |
+
);
|
86 |
+
// ------------------------------------------------------------------------- CONTROL: Link or No?
|
87 |
+
$element->add_control(
|
88 |
+
'_ob_spacerat_link_type',
|
89 |
+
[
|
90 |
+
'label' => __( 'Link', 'ooohboi-steroids' ),
|
91 |
+
'type' => Controls_Manager::SELECT,
|
92 |
+
'default' => 'none',
|
93 |
+
'options' => [
|
94 |
+
'none' => __( 'None', 'ooohboi-steroids' ),
|
95 |
+
'custom' => __( 'Custom URL', 'ooohboi-steroids' ),
|
96 |
+
],
|
97 |
+
'condition' => [
|
98 |
+
'_ob_spacerat_use' => 'yes',
|
99 |
+
],
|
100 |
+
]
|
101 |
+
);
|
102 |
+
|
103 |
+
// ------------------------------------------------------------------------- CONTROL: Link to...
|
104 |
+
$element->add_control(
|
105 |
+
'_ob_spacerat_link',
|
106 |
+
[
|
107 |
+
'label' => __( 'Link', 'ooohboi-steroids' ),
|
108 |
+
'type' => Controls_Manager::URL,
|
109 |
+
'frontend_available' => true,
|
110 |
+
'dynamic' => [
|
111 |
+
'active' => true,
|
112 |
+
],
|
113 |
+
'placeholder' => __( 'https://your-link.com', 'ooohboi-steroids' ),
|
114 |
+
'condition' => [
|
115 |
+
'_ob_spacerat_use' => 'yes',
|
116 |
+
'_ob_spacerat_link_type' => 'custom',
|
117 |
+
],
|
118 |
+
'show_label' => false,
|
119 |
+
]
|
120 |
+
);
|
121 |
+
// ------------------------------------------------------------------------- CONTROL: Cursor pointer
|
122 |
+
$element->add_control(
|
123 |
+
'_ob_spacerat_pointer',
|
124 |
+
[
|
125 |
+
'label' => __( 'Cursor Pointer', 'ooohboi-steroids' ),
|
126 |
+
'description' => __( 'Keep the default cursor or show pointer on Hover?', 'ooohboi-steroids' ),
|
127 |
+
'type' => Controls_Manager::SWITCHER,
|
128 |
+
'default' => false,
|
129 |
+
'separator' => 'before',
|
130 |
+
'selectors' => [
|
131 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => 'cursor: pointer;',
|
132 |
+
],
|
133 |
+
'condition' => [
|
134 |
+
'_ob_spacerat_use' => 'yes',
|
135 |
+
],
|
136 |
+
]
|
137 |
+
);
|
138 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
139 |
+
$element->add_control(
|
140 |
+
'_ob_spacerat_separator_x',
|
141 |
+
[
|
142 |
+
'type' => Controls_Manager::DIVIDER,
|
143 |
+
'condition' => [
|
144 |
+
'_ob_spacerat_use' => 'yes',
|
145 |
+
],
|
146 |
+
]
|
147 |
+
);
|
148 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER MASQ ------------------->>
|
149 |
+
$element->add_control(
|
150 |
+
'_ob_spacerat_popover_masq',
|
151 |
+
[
|
152 |
+
'label' => __( 'SpaceRat Mask', 'ooohboi-steroids' ),
|
153 |
+
'description' => __( 'NOTE: In order to see the effect you should add the Background to the Spacer widget first!', 'ooohboi-steroids' ),
|
154 |
+
'type' => Controls_Manager::POPOVER_TOGGLE,
|
155 |
+
'return_value' => 'yes',
|
156 |
+
'frontend_available' => true,
|
157 |
+
'condition' => [
|
158 |
+
'_ob_spacerat_use' => 'yes',
|
159 |
+
],
|
160 |
+
]
|
161 |
+
);
|
162 |
+
|
163 |
+
$element->start_popover();
|
164 |
+
|
165 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER MASQ IMAGE
|
166 |
+
$element->add_responsive_control(
|
167 |
+
'_ob_spacerat_mask_img',
|
168 |
+
[
|
169 |
+
'label' => __( 'Choose Image Mask', 'ooohboi-steroids' ),
|
170 |
+
'description' => __( 'NOTE: Image Mask should be black-and-transparent SVG file! Anything that’s 100% black in the image mask with be completely visible, anything that’s transparent will be completely hidden.', 'ooohboi-steroids' ),
|
171 |
+
'type' => Controls_Manager::MEDIA,
|
172 |
+
'default' => [
|
173 |
+
'url' => '',
|
174 |
+
],
|
175 |
+
'selectors' => [
|
176 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-image: url("{{URL}}"); mask-image: url("{{URL}}"); -webkit-mask-mode: alpha; mask-mode: alpha;',
|
177 |
+
],
|
178 |
+
'condition' => [
|
179 |
+
'_ob_spacerat_use' => 'yes',
|
180 |
+
],
|
181 |
+
]
|
182 |
+
);
|
183 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER MASQ POSITION
|
184 |
+
$element->add_responsive_control(
|
185 |
+
'_ob_spacerat_mask_position',
|
186 |
+
[
|
187 |
+
'label' => __( 'Mask position', 'ooohboi-steroids' ),
|
188 |
+
'type' => Controls_Manager::SELECT,
|
189 |
+
'default' => 'center center',
|
190 |
+
'options' => [
|
191 |
+
'' => __( 'Default', 'ooohboi-steroids' ),
|
192 |
+
'center center' => __( 'Center Center', 'ooohboi-steroids' ),
|
193 |
+
'center left' => __( 'Center Left', 'ooohboi-steroids' ),
|
194 |
+
'center right' => __( 'Center Right', 'ooohboi-steroids' ),
|
195 |
+
'top center' => __( 'Top Center', 'ooohboi-steroids' ),
|
196 |
+
'top left' => __( 'Top Left', 'ooohboi-steroids' ),
|
197 |
+
'top right' => __( 'Top Right', 'ooohboi-steroids' ),
|
198 |
+
'bottom center' => __( 'Bottom Center', 'ooohboi-steroids' ),
|
199 |
+
'bottom left' => __( 'Bottom Left', 'ooohboi-steroids' ),
|
200 |
+
'bottom right' => __( 'Bottom Right', 'ooohboi-steroids' ),
|
201 |
+
],
|
202 |
+
'selectors' => [
|
203 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-position: {{VALUE}}; mask-position: {{VALUE}};',
|
204 |
+
],
|
205 |
+
'condition' => [
|
206 |
+
'_ob_spacerat_use' => 'yes',
|
207 |
+
'_ob_spacerat_mask_img[url]!' => '',
|
208 |
+
],
|
209 |
+
]
|
210 |
+
);
|
211 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER MASQ SIZE
|
212 |
+
$element->add_responsive_control(
|
213 |
+
'_ob_spacerat_mask_size',
|
214 |
+
[
|
215 |
+
'label' => __( 'Mask size', 'ooohboi-steroids' ),
|
216 |
+
'type' => Controls_Manager::SELECT,
|
217 |
+
'default' => 'contain',
|
218 |
+
'options' => [
|
219 |
+
'' => __( 'Default', 'ooohboi-steroids' ),
|
220 |
+
'auto' => __( 'Auto', 'ooohboi-steroids' ),
|
221 |
+
'cover' => __( 'Cover', 'ooohboi-steroids' ),
|
222 |
+
'contain' => __( 'Contain', 'ooohboi-steroids' ),
|
223 |
+
'initial' => __( 'Custom', 'ooohboi-steroids' ),
|
224 |
+
],
|
225 |
+
'selectors' => [
|
226 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-size: {{VALUE}}; mask-size: {{VALUE}};',
|
227 |
+
],
|
228 |
+
'condition' => [
|
229 |
+
'_ob_spacerat_use' => 'yes',
|
230 |
+
'_ob_spacerat_mask_img[url]!' => '',
|
231 |
+
],
|
232 |
+
]
|
233 |
+
);
|
234 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER MASQ SIZE Custom
|
235 |
+
$element->add_responsive_control(
|
236 |
+
'_ob_spacerat_mask_size_width',
|
237 |
+
[
|
238 |
+
'label' => __( 'Width', 'ooohboi-steroids' ),
|
239 |
+
'type' => Controls_Manager::SLIDER,
|
240 |
+
'size_units' => [ '%', 'px' ],
|
241 |
+
'range' => [
|
242 |
+
'px' => [
|
243 |
+
'min' => 0,
|
244 |
+
'max' => 1000,
|
245 |
+
],
|
246 |
+
'%' => [
|
247 |
+
'min' => 0,
|
248 |
+
'max' => 300,
|
249 |
+
],
|
250 |
+
],
|
251 |
+
'default' => [
|
252 |
+
'size' => 100,
|
253 |
+
'unit' => '%',
|
254 |
+
],
|
255 |
+
'selectors' => [
|
256 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
|
257 |
+
],
|
258 |
+
'condition' => [
|
259 |
+
'_ob_spacerat_use' => 'yes',
|
260 |
+
'_ob_spacerat_mask_size' => [ 'initial' ],
|
261 |
+
'_ob_spacerat_mask_img[url]!' => '',
|
262 |
+
],
|
263 |
+
'device_args' => [
|
264 |
+
Controls_Stack::RESPONSIVE_TABLET => [
|
265 |
+
'selectors' => [
|
266 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
|
267 |
+
],
|
268 |
+
'condition' => [
|
269 |
+
'_ob_spacerat_use' => 'yes',
|
270 |
+
'_ob_spacerat_mask_size_tablet' => [ 'initial' ],
|
271 |
+
],
|
272 |
+
],
|
273 |
+
Controls_Stack::RESPONSIVE_MOBILE => [
|
274 |
+
'selectors' => [
|
275 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
|
276 |
+
],
|
277 |
+
'condition' => [
|
278 |
+
'_ob_spacerat_use' => 'yes',
|
279 |
+
'_ob_spacerat_mask_size_mobile' => [ 'initial' ],
|
280 |
+
],
|
281 |
+
],
|
282 |
+
],
|
283 |
+
]
|
284 |
+
);
|
285 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER MASQ REPEAT
|
286 |
+
$element->add_responsive_control(
|
287 |
+
'_ob_spacerat_mask_repeat',
|
288 |
+
[
|
289 |
+
'label' => __( 'Mask repeat', 'ooohboi-steroids' ),
|
290 |
+
'type' => Controls_Manager::SELECT,
|
291 |
+
'default' => 'no-repeat',
|
292 |
+
'options' => [
|
293 |
+
'no-repeat' => __( 'No-repeat', 'ooohboi-steroids' ),
|
294 |
+
'repeat' => __( 'Repeat', 'ooohboi-steroids' ),
|
295 |
+
'repeat-x' => __( 'Repeat-x', 'ooohboi-steroids' ),
|
296 |
+
'repeat-y' => __( 'Repeat-y', 'ooohboi-steroids' ),
|
297 |
+
],
|
298 |
+
'selectors' => [
|
299 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
|
300 |
+
],
|
301 |
+
'condition' => [
|
302 |
+
'_ob_spacerat_use' => 'yes',
|
303 |
+
'_ob_spacerat_mask_img[url]!' => '',
|
304 |
+
],
|
305 |
+
]
|
306 |
+
);
|
307 |
+
|
308 |
+
$element->end_popover(); // popover MASQ end
|
309 |
+
|
310 |
+
// --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
|
311 |
+
$element->add_control(
|
312 |
+
'_ob_spacerat_fake_description',
|
313 |
+
[
|
314 |
+
'type' => Controls_Manager::RAW_HTML,
|
315 |
+
'raw' => __( 'NOTE: In order to see the effect you should add the Background to the Spacer widget first!', 'ooohboi-steroids' ),
|
316 |
+
'content_classes' => 'elementor-control-field-description',
|
317 |
+
'condition' => [
|
318 |
+
'_ob_spacerat_use' => 'yes',
|
319 |
+
],
|
320 |
+
]
|
321 |
+
);
|
322 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
323 |
+
$element->add_control(
|
324 |
+
'_ob_spacerat_separator_y',
|
325 |
+
[
|
326 |
+
'type' => Controls_Manager::DIVIDER,
|
327 |
+
'condition' => [
|
328 |
+
'_ob_spacerat_use' => 'yes',
|
329 |
+
],
|
330 |
+
]
|
331 |
+
);
|
332 |
+
|
333 |
+
// ------------------------------------------------------------------------- CONTROL: Yes 4 Shadow !
|
334 |
+
$element->add_control(
|
335 |
+
'_ob_spacerat_add_shadow',
|
336 |
+
[
|
337 |
+
'label' => __( 'Add shadow?', 'ooohboi-steroids' ),
|
338 |
+
'type' => Controls_Manager::SWITCHER,
|
339 |
+
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
340 |
+
'label_off' => __( 'No', 'ooohboi-steroids' ),
|
341 |
+
'return_value' => 'yes',
|
342 |
+
'default' => 'no',
|
343 |
+
]
|
344 |
+
);
|
345 |
+
// --------------------------------------------------------------------------------------------- CONTROL POPOVER Shadow ------------------->>
|
346 |
+
$element->add_control(
|
347 |
+
'_ob_spacerat_popover_shadow',
|
348 |
+
[
|
349 |
+
'label' => __( 'Define Shadow', 'ooohboi-steroids' ),
|
350 |
+
'type' => Controls_Manager::POPOVER_TOGGLE,
|
351 |
+
'return_value' => 'yes',
|
352 |
+
'frontend_available' => true,
|
353 |
+
'condition' => [
|
354 |
+
'_ob_spacerat_add_shadow' => 'yes',
|
355 |
+
'_ob_spacerat_use' => 'yes',
|
356 |
+
],
|
357 |
+
]
|
358 |
+
);
|
359 |
+
|
360 |
+
$element->start_popover();
|
361 |
+
|
362 |
+
// ------------------------------------------------------------------------- CONTROL: Offset X
|
363 |
+
$element->add_responsive_control(
|
364 |
+
'_ob_spacerat_x',
|
365 |
+
[
|
366 |
+
'label' => __( 'Offset X', 'ooohboi-steroids' ),
|
367 |
+
'type' => Controls_Manager::SLIDER,
|
368 |
+
'range' => [
|
369 |
+
'px' => [
|
370 |
+
'min' => -50,
|
371 |
+
'max' => 50,
|
372 |
+
'step' => 1,
|
373 |
+
],
|
374 |
+
'em' => [
|
375 |
+
'min' => -5,
|
376 |
+
'max' => 5,
|
377 |
+
'step' => 0.1,
|
378 |
+
],
|
379 |
+
],
|
380 |
+
'default' => [
|
381 |
+
'unit' => 'px',
|
382 |
+
'size' => 5,
|
383 |
+
],
|
384 |
+
'size_units' => [ 'px', 'em' ],
|
385 |
+
'selectors' => [
|
386 |
+
'{{WRAPPER}}.ob-spacerat' => 'filter: drop-shadow({{SIZE}}{{UNIT}} {{_ob_spacerat_y.SIZE}}{{_ob_spacerat_y.UNIT}} {{_ob_spacerat_blur.SIZE}}{{_ob_spacerat_blur.UNIT}} {{_ob_spacerat_color.VALUE}});',
|
387 |
+
],
|
388 |
+
'condition' => [
|
389 |
+
'_ob_spacerat_add_shadow' => 'yes',
|
390 |
+
'_ob_spacerat_use' => 'yes',
|
391 |
+
],
|
392 |
+
]
|
393 |
+
);
|
394 |
+
// ------------------------------------------------------------------------- CONTROL: Offset Y
|
395 |
+
$element->add_responsive_control(
|
396 |
+
'_ob_spacerat_y',
|
397 |
+
[
|
398 |
+
'label' => __( 'Offset Y', 'ooohboi-steroids' ),
|
399 |
+
'type' => Controls_Manager::SLIDER,
|
400 |
+
'range' => [
|
401 |
+
'px' => [
|
402 |
+
'min' => -50,
|
403 |
+
'max' => 50,
|
404 |
+
'step' => 1,
|
405 |
+
],
|
406 |
+
'em' => [
|
407 |
+
'min' => -5,
|
408 |
+
'max' => 5,
|
409 |
+
'step' => 0.1,
|
410 |
+
],
|
411 |
+
],
|
412 |
+
'default' => [
|
413 |
+
'unit' => 'px',
|
414 |
+
'size' => 5,
|
415 |
+
],
|
416 |
+
'size_units' => [ 'px', 'em' ],
|
417 |
+
'selectors' => [
|
418 |
+
'{{WRAPPER}}.ob-spacerat' => 'filter: drop-shadow({{_ob_spacerat_x.SIZE}}{{_ob_spacerat_x.UNIT}} {{SIZE}}{{UNIT}} {{_ob_spacerat_blur.SIZE}}{{_ob_spacerat_blur.UNIT}} {{_ob_spacerat_color.VALUE}});',
|
419 |
+
],
|
420 |
+
'condition' => [
|
421 |
+
'_ob_spacerat_add_shadow' => 'yes',
|
422 |
+
'_ob_spacerat_use' => 'yes',
|
423 |
+
],
|
424 |
+
]
|
425 |
+
);
|
426 |
+
// ------------------------------------------------------------------------- CONTROL: Blur
|
427 |
+
$element->add_responsive_control(
|
428 |
+
'_ob_spacerat_blur',
|
429 |
+
[
|
430 |
+
'label' => __( 'Blur', 'ooohboi-steroids' ),
|
431 |
+
'type' => Controls_Manager::SLIDER,
|
432 |
+
'range' => [
|
433 |
+
'px' => [
|
434 |
+
'max' => 50,
|
435 |
+
'step' => 1,
|
436 |
+
],
|
437 |
+
'em' => [
|
438 |
+
'max' => 10,
|
439 |
+
'step' => 0.1,
|
440 |
+
],
|
441 |
+
],
|
442 |
+
'default' => [
|
443 |
+
'unit' => 'px',
|
444 |
+
'size' => 5,
|
445 |
+
],
|
446 |
+
'size_units' => [ 'px', 'em' ],
|
447 |
+
'selectors' => [
|
448 |
+
'{{WRAPPER}}.ob-spacerat' => 'filter: drop-shadow({{_ob_spacerat_x.SIZE}}{{_ob_spacerat_x.UNIT}} {{_ob_spacerat_y.SIZE}}{{_ob_spacerat_y.UNIT}} {{SIZE}}{{UNIT}} {{_ob_spacerat_color.VALUE}});',
|
449 |
+
],
|
450 |
+
'condition' => [
|
451 |
+
'_ob_spacerat_add_shadow' => 'yes',
|
452 |
+
'_ob_spacerat_use' => 'yes',
|
453 |
+
],
|
454 |
+
]
|
455 |
+
);
|
456 |
+
|
457 |
+
// ------------------------------------------------------------------------- CONTROL: COLOR
|
458 |
+
$element->add_control(
|
459 |
+
'_ob_spacerat_color',
|
460 |
+
[
|
461 |
+
'label' => __( 'Shadow Color', 'ooohboi-steroids' ),
|
462 |
+
'type' => Controls_Manager::COLOR,
|
463 |
+
'default' => '#0000001C',
|
464 |
+
'selectors' => [
|
465 |
+
'{{WRAPPER}}.ob-spacerat' => 'filter: drop-shadow({{_ob_spacerat_x.SIZE}}{{_ob_spacerat_x.UNIT}} {{_ob_spacerat_y.SIZE}}{{_ob_spacerat_y.UNIT}} {{_ob_spacerat_blur.SIZE}}{{_ob_spacerat_blur.UNIT}} {{VALUE}});',
|
466 |
+
],
|
467 |
+
'condition' => [
|
468 |
+
'_ob_spacerat_add_shadow' => 'yes',
|
469 |
+
'_ob_spacerat_use' => 'yes',
|
470 |
+
],
|
471 |
+
]
|
472 |
+
);
|
473 |
+
|
474 |
+
$element->end_popover(); // popover shadow end
|
475 |
+
|
476 |
+
// --------------------------------------------------------------------------------------------- CONTROL DIVIDER !!!!!
|
477 |
+
$element->add_control(
|
478 |
+
'_ob_spacerat_separator_z',
|
479 |
+
[
|
480 |
+
'type' => Controls_Manager::DIVIDER,
|
481 |
+
'condition' => [
|
482 |
+
'_ob_spacerat_use' => 'yes',
|
483 |
+
],
|
484 |
+
]
|
485 |
+
);
|
486 |
+
|
487 |
+
// --------------------------------------------------------------------------------------------- CONTROL CLIP PATH
|
488 |
+
$element->add_control(
|
489 |
+
'_ob_spacerat_clip_path_normal',
|
490 |
+
[
|
491 |
+
'label' => __( 'Clip path', 'ooohboi-steroids' ),
|
492 |
+
'description' => sprintf(
|
493 |
+
__( 'Enter the full clip-path property! See the copy-paste examples at %sClippy%s', 'ooohboi-steroids' ),
|
494 |
+
'<a href="https://bennettfeely.com/clippy/" target="_blank">',
|
495 |
+
'</a>'
|
496 |
+
),
|
497 |
+
'default' => '',
|
498 |
+
'type' => Controls_Manager::TEXTAREA,
|
499 |
+
'rows' => 3,
|
500 |
+
'selectors' => [
|
501 |
+
'{{WRAPPER}}.ob-spacerat .elementor-widget-container' => '{{VALUE}}',
|
502 |
+
],
|
503 |
+
'condition' => [
|
504 |
+
'_ob_spacerat_use' => 'yes',
|
505 |
+
],
|
506 |
+
]
|
507 |
+
);
|
508 |
+
|
509 |
+
}
|
510 |
+
|
511 |
+
}
|
inc/common-functions.php
CHANGED
@@ -102,6 +102,18 @@ $options_page = array(
|
|
102 |
'type' => 'checkbox',
|
103 |
'text' => esc_attr__( 'Allows you to style up the post comments.', 'ooohboi-steroids' ),
|
104 |
'checked' => 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
),
|
106 |
),
|
107 |
),
|
102 |
'type' => 'checkbox',
|
103 |
'text' => esc_attr__( 'Allows you to style up the post comments.', 'ooohboi-steroids' ),
|
104 |
'checked' => 1,
|
105 |
+
),
|
106 |
+
'ob_use_spacerat' => array(
|
107 |
+
'title' => 'SPACERAT',
|
108 |
+
'type' => 'checkbox',
|
109 |
+
'text' => esc_attr__( 'Adds new shine to the Spacer widget.', 'ooohboi-steroids' ),
|
110 |
+
'checked' => 1,
|
111 |
+
),
|
112 |
+
'ob_use_imbox' => array(
|
113 |
+
'title' => 'IMBOX',
|
114 |
+
'type' => 'checkbox',
|
115 |
+
'text' => esc_attr__( 'Image Box widget extra controls', 'ooohboi-steroids' ),
|
116 |
+
'checked' => 1,
|
117 |
),
|
118 |
),
|
119 |
),
|
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: 2020-
|
7 |
-
"PO-Revision-Date: 2020-
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -38,10 +38,11 @@ msgstr ""
|
|
38 |
#: controls/ooohboi-glider.php:463 controls/ooohboi-glider.php:503
|
39 |
#: controls/ooohboi-glider.php:538 controls/ooohboi-glider.php:556
|
40 |
#: controls/ooohboi-harakiri.php:81 controls/ooohboi-overlaiz.php:61
|
41 |
-
#: controls/ooohboi-overlay-underlay.php:
|
42 |
-
#: controls/ooohboi-overlay-underlay.php:
|
43 |
#: controls/ooohboi-perspektive.php:74 controls/ooohboi-photomorph.php:66
|
44 |
#: controls/ooohboi-photomorph.php:142 controls/ooohboi-shadough.php:50
|
|
|
45 |
msgid "Yes"
|
46 |
msgstr ""
|
47 |
|
@@ -52,10 +53,11 @@ msgstr ""
|
|
52 |
#: controls/ooohboi-glider.php:464 controls/ooohboi-glider.php:504
|
53 |
#: controls/ooohboi-glider.php:539 controls/ooohboi-glider.php:557
|
54 |
#: controls/ooohboi-harakiri.php:82 controls/ooohboi-overlaiz.php:62
|
55 |
-
#: controls/ooohboi-overlay-underlay.php:
|
56 |
-
#: controls/ooohboi-overlay-underlay.php:
|
57 |
#: controls/ooohboi-perspektive.php:75 controls/ooohboi-photomorph.php:67
|
58 |
#: controls/ooohboi-photomorph.php:143 controls/ooohboi-shadough.php:51
|
|
|
59 |
msgid "No"
|
60 |
msgstr ""
|
61 |
|
@@ -154,7 +156,8 @@ msgstr ""
|
|
154 |
|
155 |
#: controls/ooohboi-butter-button.php:158 controls/ooohboi-commentz.php:150
|
156 |
#: controls/ooohboi-commentz.php:727 controls/ooohboi-commentz.php:974
|
157 |
-
#: controls/ooohboi-glider.php:253 controls/ooohboi-
|
|
|
158 |
msgid "Padding"
|
159 |
msgstr ""
|
160 |
|
@@ -197,7 +200,8 @@ msgid "Border Radius"
|
|
197 |
msgstr ""
|
198 |
|
199 |
#: controls/ooohboi-butter-button.php:264
|
200 |
-
#: controls/ooohboi-butter-button.php:377 controls/ooohboi-
|
|
|
201 |
msgid "Box Shadow"
|
202 |
msgstr ""
|
203 |
|
@@ -558,9 +562,10 @@ msgstr ""
|
|
558 |
|
559 |
#: controls/ooohboi-harakiri.php:122 controls/ooohboi-overlay-underlay.php:509
|
560 |
#: controls/ooohboi-overlay-underlay.php:537
|
561 |
-
#: controls/ooohboi-overlay-underlay.php:
|
562 |
-
#: controls/ooohboi-overlay-underlay.php:
|
563 |
-
#: controls/ooohboi-photomorph.php:189 controls/ooohboi-
|
|
|
564 |
#: controls/ooohboi-videomasq.php:103
|
565 |
msgid "Default"
|
566 |
msgstr ""
|
@@ -570,7 +575,7 @@ msgid "Inline"
|
|
570 |
msgstr ""
|
571 |
|
572 |
#: controls/ooohboi-harakiri.php:124 controls/ooohboi-overlay-underlay.php:541
|
573 |
-
#: controls/ooohboi-overlay-underlay.php:
|
574 |
#: controls/ooohboi-videomasq.php:107
|
575 |
msgid "Custom"
|
576 |
msgstr ""
|
@@ -579,6 +584,21 @@ msgstr ""
|
|
579 |
msgid "NOTE: [%] unit works properly only if Column height is a fixed value!"
|
580 |
msgstr ""
|
581 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
#: controls/ooohboi-overlaiz.php:58
|
583 |
msgid "Enable Overlaiz?"
|
584 |
msgstr ""
|
@@ -586,7 +606,7 @@ msgstr ""
|
|
586 |
#: controls/ooohboi-overlaiz.php:75 controls/ooohboi-overlay-underlay.php:169
|
587 |
#: controls/ooohboi-overlay-underlay.php:556
|
588 |
#: controls/ooohboi-overlay-underlay.php:743
|
589 |
-
#: controls/ooohboi-overlay-underlay.php:
|
590 |
#: controls/ooohboi-videomasq.php:122
|
591 |
msgid "Width"
|
592 |
msgstr ""
|
@@ -627,19 +647,19 @@ msgstr ""
|
|
627 |
msgid "Calc Position - Y"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: controls/ooohboi-overlaiz.php:420
|
631 |
msgid "Clip path"
|
632 |
msgstr ""
|
633 |
|
634 |
#: controls/ooohboi-overlaiz.php:436 controls/ooohboi-photomorph.php:89
|
635 |
-
#: controls/ooohboi-photomorph.php:119
|
636 |
#, php-format
|
637 |
msgid ""
|
638 |
"Enter the full clip-path property! See the copy-paste examples at %sClippy%s"
|
639 |
msgstr ""
|
640 |
|
641 |
#: controls/ooohboi-overlaiz.php:459 controls/ooohboi-overlay-underlay.php:630
|
642 |
-
#: controls/ooohboi-overlay-underlay.php:
|
643 |
msgid "Z-Index"
|
644 |
msgstr ""
|
645 |
|
@@ -698,12 +718,12 @@ msgid "Overlay Mask"
|
|
698 |
msgstr ""
|
699 |
|
700 |
#: controls/ooohboi-overlay-underlay.php:487
|
701 |
-
#: controls/ooohboi-overlay-underlay.php:1036
|
702 |
msgid "Choose Image Mask"
|
703 |
msgstr ""
|
704 |
|
705 |
#: controls/ooohboi-overlay-underlay.php:488
|
706 |
-
#: controls/ooohboi-overlay-underlay.php:1037
|
707 |
#, php-format
|
708 |
msgid ""
|
709 |
"NOTE: Image Mask should be black-and-transparent SVG file! Anything that’s "
|
@@ -712,104 +732,115 @@ msgid ""
|
|
712 |
msgstr ""
|
713 |
|
714 |
#: controls/ooohboi-overlay-underlay.php:505
|
715 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
716 |
msgid "Mask position"
|
717 |
msgstr ""
|
718 |
|
719 |
#: controls/ooohboi-overlay-underlay.php:510
|
720 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
721 |
msgid "Center Center"
|
722 |
msgstr ""
|
723 |
|
724 |
#: controls/ooohboi-overlay-underlay.php:511
|
725 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
726 |
msgid "Center Left"
|
727 |
msgstr ""
|
728 |
|
729 |
#: controls/ooohboi-overlay-underlay.php:512
|
730 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
731 |
msgid "Center Right"
|
732 |
msgstr ""
|
733 |
|
734 |
#: controls/ooohboi-overlay-underlay.php:513
|
735 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
736 |
msgid "Top Center"
|
737 |
msgstr ""
|
738 |
|
739 |
#: controls/ooohboi-overlay-underlay.php:514
|
740 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
741 |
msgid "Top Left"
|
742 |
msgstr ""
|
743 |
|
744 |
#: controls/ooohboi-overlay-underlay.php:515
|
745 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
746 |
msgid "Top Right"
|
747 |
msgstr ""
|
748 |
|
749 |
#: controls/ooohboi-overlay-underlay.php:516
|
750 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
751 |
msgid "Bottom Center"
|
752 |
msgstr ""
|
753 |
|
754 |
#: controls/ooohboi-overlay-underlay.php:517
|
755 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
756 |
msgid "Bottom Left"
|
757 |
msgstr ""
|
758 |
|
759 |
#: controls/ooohboi-overlay-underlay.php:518
|
760 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
761 |
msgid "Bottom Right"
|
762 |
msgstr ""
|
763 |
|
764 |
#: controls/ooohboi-overlay-underlay.php:533
|
765 |
-
#: controls/ooohboi-overlay-underlay.php:
|
|
|
766 |
msgid "Mask size"
|
767 |
msgstr ""
|
768 |
|
769 |
#: controls/ooohboi-overlay-underlay.php:538
|
770 |
-
#: controls/ooohboi-overlay-underlay.php:
|
771 |
#: controls/ooohboi-videomasq.php:104
|
772 |
msgid "Auto"
|
773 |
msgstr ""
|
774 |
|
775 |
#: controls/ooohboi-overlay-underlay.php:539
|
776 |
-
#: controls/ooohboi-overlay-underlay.php:
|
777 |
#: controls/ooohboi-videomasq.php:105
|
778 |
msgid "Cover"
|
779 |
msgstr ""
|
780 |
|
781 |
#: controls/ooohboi-overlay-underlay.php:540
|
782 |
-
#: controls/ooohboi-overlay-underlay.php:
|
783 |
#: controls/ooohboi-videomasq.php:106
|
784 |
msgid "Contain"
|
785 |
msgstr ""
|
786 |
|
787 |
#: controls/ooohboi-overlay-underlay.php:605
|
788 |
-
#: controls/ooohboi-overlay-underlay.php:
|
789 |
#: controls/ooohboi-videomasq.php:171
|
790 |
msgid "Mask repeat"
|
791 |
msgstr ""
|
792 |
|
793 |
#: controls/ooohboi-overlay-underlay.php:609
|
794 |
-
#: controls/ooohboi-overlay-underlay.php:
|
795 |
#: controls/ooohboi-videomasq.php:175
|
796 |
msgid "No-repeat"
|
797 |
msgstr ""
|
798 |
|
799 |
#: controls/ooohboi-overlay-underlay.php:610
|
800 |
-
#: controls/ooohboi-overlay-underlay.php:
|
801 |
#: controls/ooohboi-videomasq.php:176
|
802 |
msgid "Repeat"
|
803 |
msgstr ""
|
804 |
|
805 |
#: controls/ooohboi-overlay-underlay.php:611
|
806 |
-
#: controls/ooohboi-overlay-underlay.php:
|
807 |
#: controls/ooohboi-videomasq.php:177
|
808 |
msgid "Repeat-x"
|
809 |
msgstr ""
|
810 |
|
811 |
#: controls/ooohboi-overlay-underlay.php:612
|
812 |
-
#: controls/ooohboi-overlay-underlay.php:
|
813 |
#: controls/ooohboi-videomasq.php:178
|
814 |
msgid "Repeat-y"
|
815 |
msgstr ""
|
@@ -822,53 +853,53 @@ msgstr ""
|
|
822 |
msgid "Underlay Mask"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: controls/ooohboi-overlay-underlay.php:
|
826 |
msgid "Get rid of the Horizontal scroller?"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: controls/ooohboi-overlay-underlay.php:
|
830 |
msgid ""
|
831 |
"OoohBoi POOOPART may cause Horizontal Scroller to show up. This is how you "
|
832 |
"can remove it."
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: controls/ooohboi-overlay-underlay.php:
|
836 |
msgid "Baseline Grid"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: controls/ooohboi-overlay-underlay.php:
|
840 |
msgid "Baseline grid helps you maintain accuracy and consistency"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: controls/ooohboi-overlay-underlay.php:
|
844 |
msgid "Grid style"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: controls/ooohboi-overlay-underlay.php:
|
848 |
msgid "Squares"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: controls/ooohboi-overlay-underlay.php:
|
852 |
msgid "Vertical lines"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: controls/ooohboi-overlay-underlay.php:
|
856 |
msgid "Horizontal lines"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: controls/ooohboi-overlay-underlay.php:
|
860 |
msgid "Grid color"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: controls/ooohboi-overlay-underlay.php:
|
864 |
msgid "Grid size"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: controls/ooohboi-overlay-underlay.php:
|
868 |
msgid "Vertical Spacing"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: controls/ooohboi-overlay-underlay.php:
|
872 |
msgid "Horizontal Spacing"
|
873 |
msgstr ""
|
874 |
|
@@ -922,22 +953,10 @@ msgstr ""
|
|
922 |
msgid "Rotate Y"
|
923 |
msgstr ""
|
924 |
|
925 |
-
#: controls/ooohboi-perspektive.php:225 controls/ooohboi-teleporter.php:361
|
926 |
-
msgid "Content Overflow"
|
927 |
-
msgstr ""
|
928 |
-
|
929 |
#: controls/ooohboi-perspektive.php:226
|
930 |
msgid "Just in case the wrapper is \"overflow: hidden\""
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: controls/ooohboi-perspektive.php:231 controls/ooohboi-teleporter.php:367
|
934 |
-
msgid "Visible"
|
935 |
-
msgstr ""
|
936 |
-
|
937 |
-
#: controls/ooohboi-perspektive.php:232 controls/ooohboi-teleporter.php:368
|
938 |
-
msgid "Hidden"
|
939 |
-
msgstr ""
|
940 |
-
|
941 |
#: controls/ooohboi-photogiraffe.php:46
|
942 |
msgid "Enable PhotoGiraffe"
|
943 |
msgstr ""
|
@@ -1016,50 +1035,77 @@ msgstr ""
|
|
1016 |
msgid "Creates a shadow that conforms to the shape."
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: controls/ooohboi-shadough.php:61
|
1020 |
msgid "Offset X"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: controls/ooohboi-shadough.php:92
|
1024 |
msgid "Offset Y"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: controls/ooohboi-shadough.php:123
|
1028 |
msgid "Blur"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: controls/ooohboi-shadough.php:153
|
1032 |
msgid "Shadow Color"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: controls/ooohboi-
|
1036 |
-
msgid "Enable
|
1037 |
msgstr ""
|
1038 |
|
|
|
|
|
|
|
|
|
|
|
1039 |
#: controls/ooohboi-teleporter.php:73 controls/ooohboi-teleporter.php:90
|
1040 |
msgid "Link"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: controls/ooohboi-teleporter.php:78
|
1044 |
msgid "None"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#: controls/ooohboi-teleporter.php:79
|
1048 |
msgid "Custom URL"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: controls/ooohboi-teleporter.php:97
|
1052 |
msgid "https://your-link.com"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: controls/ooohboi-teleporter.php:109
|
1056 |
msgid "Cursor Pointer"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: controls/ooohboi-teleporter.php:110
|
1060 |
msgid "Keep the default cursor or show pointer on Hover?"
|
1061 |
msgstr ""
|
1062 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1063 |
#: controls/ooohboi-teleporter.php:136 controls/ooohboi-teleporter.php:181
|
1064 |
msgid "Content Position - X"
|
1065 |
msgstr ""
|
@@ -1213,6 +1259,14 @@ msgstr ""
|
|
1213 |
msgid "Allows you to style up the post comments."
|
1214 |
msgstr ""
|
1215 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1216 |
#. Plugin Name of the plugin/theme
|
1217 |
msgid "OoohBoi Steroids for Elementor"
|
1218 |
msgstr ""
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
6 |
+
"POT-Creation-Date: 2020-10-08 16:03+0200\n"
|
7 |
+
"PO-Revision-Date: 2020-10-08 16:03+0200\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
38 |
#: controls/ooohboi-glider.php:463 controls/ooohboi-glider.php:503
|
39 |
#: controls/ooohboi-glider.php:538 controls/ooohboi-glider.php:556
|
40 |
#: controls/ooohboi-harakiri.php:81 controls/ooohboi-overlaiz.php:61
|
41 |
+
#: controls/ooohboi-overlay-underlay.php:1206
|
42 |
+
#: controls/ooohboi-overlay-underlay.php:1225 controls/ooohboi-paginini.php:220
|
43 |
#: controls/ooohboi-perspektive.php:74 controls/ooohboi-photomorph.php:66
|
44 |
#: controls/ooohboi-photomorph.php:142 controls/ooohboi-shadough.php:50
|
45 |
+
#: controls/ooohboi-spacerat.php:69 controls/ooohboi-spacerat.php:339
|
46 |
msgid "Yes"
|
47 |
msgstr ""
|
48 |
|
53 |
#: controls/ooohboi-glider.php:464 controls/ooohboi-glider.php:504
|
54 |
#: controls/ooohboi-glider.php:539 controls/ooohboi-glider.php:557
|
55 |
#: controls/ooohboi-harakiri.php:82 controls/ooohboi-overlaiz.php:62
|
56 |
+
#: controls/ooohboi-overlay-underlay.php:1207
|
57 |
+
#: controls/ooohboi-overlay-underlay.php:1226 controls/ooohboi-paginini.php:221
|
58 |
#: controls/ooohboi-perspektive.php:75 controls/ooohboi-photomorph.php:67
|
59 |
#: controls/ooohboi-photomorph.php:143 controls/ooohboi-shadough.php:51
|
60 |
+
#: controls/ooohboi-spacerat.php:70 controls/ooohboi-spacerat.php:340
|
61 |
msgid "No"
|
62 |
msgstr ""
|
63 |
|
156 |
|
157 |
#: controls/ooohboi-butter-button.php:158 controls/ooohboi-commentz.php:150
|
158 |
#: controls/ooohboi-commentz.php:727 controls/ooohboi-commentz.php:974
|
159 |
+
#: controls/ooohboi-glider.php:253 controls/ooohboi-imbox.php:127
|
160 |
+
#: controls/ooohboi-paginini.php:59
|
161 |
msgid "Padding"
|
162 |
msgstr ""
|
163 |
|
200 |
msgstr ""
|
201 |
|
202 |
#: controls/ooohboi-butter-button.php:264
|
203 |
+
#: controls/ooohboi-butter-button.php:377 controls/ooohboi-imbox.php:57
|
204 |
+
#: controls/ooohboi-overlaiz.php:394
|
205 |
msgid "Box Shadow"
|
206 |
msgstr ""
|
207 |
|
562 |
|
563 |
#: controls/ooohboi-harakiri.php:122 controls/ooohboi-overlay-underlay.php:509
|
564 |
#: controls/ooohboi-overlay-underlay.php:537
|
565 |
+
#: controls/ooohboi-overlay-underlay.php:1058
|
566 |
+
#: controls/ooohboi-overlay-underlay.php:1085
|
567 |
+
#: controls/ooohboi-photomorph.php:189 controls/ooohboi-spacerat.php:191
|
568 |
+
#: controls/ooohboi-spacerat.php:219 controls/ooohboi-videomasq.php:75
|
569 |
#: controls/ooohboi-videomasq.php:103
|
570 |
msgid "Default"
|
571 |
msgstr ""
|
575 |
msgstr ""
|
576 |
|
577 |
#: controls/ooohboi-harakiri.php:124 controls/ooohboi-overlay-underlay.php:541
|
578 |
+
#: controls/ooohboi-overlay-underlay.php:1089 controls/ooohboi-spacerat.php:223
|
579 |
#: controls/ooohboi-videomasq.php:107
|
580 |
msgid "Custom"
|
581 |
msgstr ""
|
584 |
msgid "NOTE: [%] unit works properly only if Column height is a fixed value!"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: controls/ooohboi-imbox.php:77 controls/ooohboi-perspektive.php:225
|
588 |
+
#: controls/ooohboi-teleporter.php:361
|
589 |
+
msgid "Content Overflow"
|
590 |
+
msgstr ""
|
591 |
+
|
592 |
+
#: controls/ooohboi-imbox.php:82 controls/ooohboi-perspektive.php:231
|
593 |
+
#: controls/ooohboi-teleporter.php:367
|
594 |
+
msgid "Visible"
|
595 |
+
msgstr ""
|
596 |
+
|
597 |
+
#: controls/ooohboi-imbox.php:83 controls/ooohboi-perspektive.php:232
|
598 |
+
#: controls/ooohboi-teleporter.php:368
|
599 |
+
msgid "Hidden"
|
600 |
+
msgstr ""
|
601 |
+
|
602 |
#: controls/ooohboi-overlaiz.php:58
|
603 |
msgid "Enable Overlaiz?"
|
604 |
msgstr ""
|
606 |
#: controls/ooohboi-overlaiz.php:75 controls/ooohboi-overlay-underlay.php:169
|
607 |
#: controls/ooohboi-overlay-underlay.php:556
|
608 |
#: controls/ooohboi-overlay-underlay.php:743
|
609 |
+
#: controls/ooohboi-overlay-underlay.php:1103 controls/ooohboi-spacerat.php:238
|
610 |
#: controls/ooohboi-videomasq.php:122
|
611 |
msgid "Width"
|
612 |
msgstr ""
|
647 |
msgid "Calc Position - Y"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: controls/ooohboi-overlaiz.php:420 controls/ooohboi-spacerat.php:491
|
651 |
msgid "Clip path"
|
652 |
msgstr ""
|
653 |
|
654 |
#: controls/ooohboi-overlaiz.php:436 controls/ooohboi-photomorph.php:89
|
655 |
+
#: controls/ooohboi-photomorph.php:119 controls/ooohboi-spacerat.php:493
|
656 |
#, php-format
|
657 |
msgid ""
|
658 |
"Enter the full clip-path property! See the copy-paste examples at %sClippy%s"
|
659 |
msgstr ""
|
660 |
|
661 |
#: controls/ooohboi-overlaiz.php:459 controls/ooohboi-overlay-underlay.php:630
|
662 |
+
#: controls/ooohboi-overlay-underlay.php:1175
|
663 |
msgid "Z-Index"
|
664 |
msgstr ""
|
665 |
|
718 |
msgstr ""
|
719 |
|
720 |
#: controls/ooohboi-overlay-underlay.php:487
|
721 |
+
#: controls/ooohboi-overlay-underlay.php:1036 controls/ooohboi-spacerat.php:169
|
722 |
msgid "Choose Image Mask"
|
723 |
msgstr ""
|
724 |
|
725 |
#: controls/ooohboi-overlay-underlay.php:488
|
726 |
+
#: controls/ooohboi-overlay-underlay.php:1037 controls/ooohboi-spacerat.php:170
|
727 |
#, php-format
|
728 |
msgid ""
|
729 |
"NOTE: Image Mask should be black-and-transparent SVG file! Anything that’s "
|
732 |
msgstr ""
|
733 |
|
734 |
#: controls/ooohboi-overlay-underlay.php:505
|
735 |
+
#: controls/ooohboi-overlay-underlay.php:1054 controls/ooohboi-spacerat.php:187
|
736 |
+
#: controls/ooohboi-videomasq.php:71
|
737 |
msgid "Mask position"
|
738 |
msgstr ""
|
739 |
|
740 |
#: controls/ooohboi-overlay-underlay.php:510
|
741 |
+
#: controls/ooohboi-overlay-underlay.php:1059 controls/ooohboi-spacerat.php:192
|
742 |
+
#: controls/ooohboi-videomasq.php:76
|
743 |
msgid "Center Center"
|
744 |
msgstr ""
|
745 |
|
746 |
#: controls/ooohboi-overlay-underlay.php:511
|
747 |
+
#: controls/ooohboi-overlay-underlay.php:1060 controls/ooohboi-spacerat.php:193
|
748 |
+
#: controls/ooohboi-videomasq.php:77
|
749 |
msgid "Center Left"
|
750 |
msgstr ""
|
751 |
|
752 |
#: controls/ooohboi-overlay-underlay.php:512
|
753 |
+
#: controls/ooohboi-overlay-underlay.php:1061 controls/ooohboi-spacerat.php:194
|
754 |
+
#: controls/ooohboi-videomasq.php:78
|
755 |
msgid "Center Right"
|
756 |
msgstr ""
|
757 |
|
758 |
#: controls/ooohboi-overlay-underlay.php:513
|
759 |
+
#: controls/ooohboi-overlay-underlay.php:1062 controls/ooohboi-spacerat.php:195
|
760 |
+
#: controls/ooohboi-videomasq.php:79
|
761 |
msgid "Top Center"
|
762 |
msgstr ""
|
763 |
|
764 |
#: controls/ooohboi-overlay-underlay.php:514
|
765 |
+
#: controls/ooohboi-overlay-underlay.php:1063 controls/ooohboi-spacerat.php:196
|
766 |
+
#: controls/ooohboi-videomasq.php:80
|
767 |
msgid "Top Left"
|
768 |
msgstr ""
|
769 |
|
770 |
#: controls/ooohboi-overlay-underlay.php:515
|
771 |
+
#: controls/ooohboi-overlay-underlay.php:1064 controls/ooohboi-spacerat.php:197
|
772 |
+
#: controls/ooohboi-videomasq.php:81
|
773 |
msgid "Top Right"
|
774 |
msgstr ""
|
775 |
|
776 |
#: controls/ooohboi-overlay-underlay.php:516
|
777 |
+
#: controls/ooohboi-overlay-underlay.php:1065 controls/ooohboi-spacerat.php:198
|
778 |
+
#: controls/ooohboi-videomasq.php:82
|
779 |
msgid "Bottom Center"
|
780 |
msgstr ""
|
781 |
|
782 |
#: controls/ooohboi-overlay-underlay.php:517
|
783 |
+
#: controls/ooohboi-overlay-underlay.php:1066 controls/ooohboi-spacerat.php:199
|
784 |
+
#: controls/ooohboi-videomasq.php:83
|
785 |
msgid "Bottom Left"
|
786 |
msgstr ""
|
787 |
|
788 |
#: controls/ooohboi-overlay-underlay.php:518
|
789 |
+
#: controls/ooohboi-overlay-underlay.php:1067 controls/ooohboi-spacerat.php:200
|
790 |
+
#: controls/ooohboi-videomasq.php:84
|
791 |
msgid "Bottom Right"
|
792 |
msgstr ""
|
793 |
|
794 |
#: controls/ooohboi-overlay-underlay.php:533
|
795 |
+
#: controls/ooohboi-overlay-underlay.php:1081 controls/ooohboi-spacerat.php:215
|
796 |
+
#: controls/ooohboi-videomasq.php:99
|
797 |
msgid "Mask size"
|
798 |
msgstr ""
|
799 |
|
800 |
#: controls/ooohboi-overlay-underlay.php:538
|
801 |
+
#: controls/ooohboi-overlay-underlay.php:1086 controls/ooohboi-spacerat.php:220
|
802 |
#: controls/ooohboi-videomasq.php:104
|
803 |
msgid "Auto"
|
804 |
msgstr ""
|
805 |
|
806 |
#: controls/ooohboi-overlay-underlay.php:539
|
807 |
+
#: controls/ooohboi-overlay-underlay.php:1087 controls/ooohboi-spacerat.php:221
|
808 |
#: controls/ooohboi-videomasq.php:105
|
809 |
msgid "Cover"
|
810 |
msgstr ""
|
811 |
|
812 |
#: controls/ooohboi-overlay-underlay.php:540
|
813 |
+
#: controls/ooohboi-overlay-underlay.php:1088 controls/ooohboi-spacerat.php:222
|
814 |
#: controls/ooohboi-videomasq.php:106
|
815 |
msgid "Contain"
|
816 |
msgstr ""
|
817 |
|
818 |
#: controls/ooohboi-overlay-underlay.php:605
|
819 |
+
#: controls/ooohboi-overlay-underlay.php:1151 controls/ooohboi-spacerat.php:289
|
820 |
#: controls/ooohboi-videomasq.php:171
|
821 |
msgid "Mask repeat"
|
822 |
msgstr ""
|
823 |
|
824 |
#: controls/ooohboi-overlay-underlay.php:609
|
825 |
+
#: controls/ooohboi-overlay-underlay.php:1155 controls/ooohboi-spacerat.php:293
|
826 |
#: controls/ooohboi-videomasq.php:175
|
827 |
msgid "No-repeat"
|
828 |
msgstr ""
|
829 |
|
830 |
#: controls/ooohboi-overlay-underlay.php:610
|
831 |
+
#: controls/ooohboi-overlay-underlay.php:1156 controls/ooohboi-spacerat.php:294
|
832 |
#: controls/ooohboi-videomasq.php:176
|
833 |
msgid "Repeat"
|
834 |
msgstr ""
|
835 |
|
836 |
#: controls/ooohboi-overlay-underlay.php:611
|
837 |
+
#: controls/ooohboi-overlay-underlay.php:1157 controls/ooohboi-spacerat.php:295
|
838 |
#: controls/ooohboi-videomasq.php:177
|
839 |
msgid "Repeat-x"
|
840 |
msgstr ""
|
841 |
|
842 |
#: controls/ooohboi-overlay-underlay.php:612
|
843 |
+
#: controls/ooohboi-overlay-underlay.php:1158 controls/ooohboi-spacerat.php:296
|
844 |
#: controls/ooohboi-videomasq.php:178
|
845 |
msgid "Repeat-y"
|
846 |
msgstr ""
|
853 |
msgid "Underlay Mask"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: controls/ooohboi-overlay-underlay.php:1203
|
857 |
msgid "Get rid of the Horizontal scroller?"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: controls/ooohboi-overlay-underlay.php:1204
|
861 |
msgid ""
|
862 |
"OoohBoi POOOPART may cause Horizontal Scroller to show up. This is how you "
|
863 |
"can remove it."
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: controls/ooohboi-overlay-underlay.php:1222
|
867 |
msgid "Baseline Grid"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: controls/ooohboi-overlay-underlay.php:1223
|
871 |
msgid "Baseline grid helps you maintain accuracy and consistency"
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: controls/ooohboi-overlay-underlay.php:1236
|
875 |
msgid "Grid style"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: controls/ooohboi-overlay-underlay.php:1240
|
879 |
msgid "Squares"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: controls/ooohboi-overlay-underlay.php:1241
|
883 |
msgid "Vertical lines"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: controls/ooohboi-overlay-underlay.php:1242
|
887 |
msgid "Horizontal lines"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: controls/ooohboi-overlay-underlay.php:1252
|
891 |
msgid "Grid color"
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: controls/ooohboi-overlay-underlay.php:1263
|
895 |
msgid "Grid size"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: controls/ooohboi-overlay-underlay.php:1287
|
899 |
msgid "Vertical Spacing"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: controls/ooohboi-overlay-underlay.php:1311
|
903 |
msgid "Horizontal Spacing"
|
904 |
msgstr ""
|
905 |
|
953 |
msgid "Rotate Y"
|
954 |
msgstr ""
|
955 |
|
|
|
|
|
|
|
|
|
956 |
#: controls/ooohboi-perspektive.php:226
|
957 |
msgid "Just in case the wrapper is \"overflow: hidden\""
|
958 |
msgstr ""
|
959 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
960 |
#: controls/ooohboi-photogiraffe.php:46
|
961 |
msgid "Enable PhotoGiraffe"
|
962 |
msgstr ""
|
1035 |
msgid "Creates a shadow that conforms to the shape."
|
1036 |
msgstr ""
|
1037 |
|
1038 |
+
#: controls/ooohboi-shadough.php:61 controls/ooohboi-spacerat.php:366
|
1039 |
msgid "Offset X"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
+
#: controls/ooohboi-shadough.php:92 controls/ooohboi-spacerat.php:398
|
1043 |
msgid "Offset Y"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
+
#: controls/ooohboi-shadough.php:123 controls/ooohboi-spacerat.php:430
|
1047 |
msgid "Blur"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: controls/ooohboi-shadough.php:153 controls/ooohboi-spacerat.php:461
|
1051 |
msgid "Shadow Color"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: controls/ooohboi-spacerat.php:65
|
1055 |
+
msgid "Enable SpaceRat?"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: controls/ooohboi-spacerat.php:66
|
1059 |
+
msgid "Awesome gear for the pretty-much dull Spacer widget."
|
1060 |
+
msgstr ""
|
1061 |
+
|
1062 |
+
#: controls/ooohboi-spacerat.php:90 controls/ooohboi-spacerat.php:107
|
1063 |
#: controls/ooohboi-teleporter.php:73 controls/ooohboi-teleporter.php:90
|
1064 |
msgid "Link"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: controls/ooohboi-spacerat.php:94 controls/ooohboi-teleporter.php:78
|
1068 |
msgid "None"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: controls/ooohboi-spacerat.php:95 controls/ooohboi-teleporter.php:79
|
1072 |
msgid "Custom URL"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
+
#: controls/ooohboi-spacerat.php:113 controls/ooohboi-teleporter.php:97
|
1076 |
msgid "https://your-link.com"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
+
#: controls/ooohboi-spacerat.php:125 controls/ooohboi-teleporter.php:109
|
1080 |
msgid "Cursor Pointer"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
+
#: controls/ooohboi-spacerat.php:126 controls/ooohboi-teleporter.php:110
|
1084 |
msgid "Keep the default cursor or show pointer on Hover?"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: controls/ooohboi-spacerat.php:152
|
1088 |
+
msgid "SpaceRat Mask"
|
1089 |
+
msgstr ""
|
1090 |
+
|
1091 |
+
#: controls/ooohboi-spacerat.php:153 controls/ooohboi-spacerat.php:315
|
1092 |
+
msgid ""
|
1093 |
+
"NOTE: In order to see the effect you should add the Background to the Spacer "
|
1094 |
+
"widget first!"
|
1095 |
+
msgstr ""
|
1096 |
+
|
1097 |
+
#: controls/ooohboi-spacerat.php:337
|
1098 |
+
msgid "Add shadow?"
|
1099 |
+
msgstr ""
|
1100 |
+
|
1101 |
+
#: controls/ooohboi-spacerat.php:349
|
1102 |
+
msgid "Define Shadow"
|
1103 |
+
msgstr ""
|
1104 |
+
|
1105 |
+
#: controls/ooohboi-teleporter.php:61
|
1106 |
+
msgid "Enable Teleporter"
|
1107 |
+
msgstr ""
|
1108 |
+
|
1109 |
#: controls/ooohboi-teleporter.php:136 controls/ooohboi-teleporter.php:181
|
1110 |
msgid "Content Position - X"
|
1111 |
msgstr ""
|
1259 |
msgid "Allows you to style up the post comments."
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: inc/common-functions.php:109
|
1263 |
+
msgid "Adds new shine to the Spacer widget."
|
1264 |
+
msgstr ""
|
1265 |
+
|
1266 |
+
#: inc/common-functions.php:115
|
1267 |
+
msgid "Image Box widget extra controls"
|
1268 |
+
msgstr ""
|
1269 |
+
|
1270 |
#. Plugin Name of the plugin/theme
|
1271 |
msgid "OoohBoi Steroids for Elementor"
|
1272 |
msgstr ""
|
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.5.
|
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.5.
|
35 |
|
36 |
/**
|
37 |
* Minimum Elementor Version
|
@@ -213,24 +213,27 @@ final class OoohBoi_Steroids {
|
|
213 |
OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
214 |
OoohBoi_Shadough::init(); // OoohBoi Shadough
|
215 |
OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
|
216 |
-
|
|
|
217 |
} else {
|
218 |
// Init Extensions
|
219 |
-
if(
|
220 |
-
if(
|
221 |
-
if(
|
222 |
-
if(
|
223 |
-
if(
|
224 |
-
if(
|
225 |
-
if(
|
226 |
-
if(
|
227 |
-
if(
|
228 |
-
if(
|
229 |
-
if(
|
230 |
-
if(
|
231 |
-
if(
|
232 |
-
if(
|
233 |
-
if(
|
|
|
|
|
234 |
}
|
235 |
|
236 |
}
|
@@ -304,6 +307,8 @@ final class OoohBoi_Steroids {
|
|
304 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-shadough.php'; // OoohBoi Shadough
|
305 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-photomorph.php'; // OoohBoi PhotoMorph
|
306 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-commentz.php'; // OoohBoi Commentz
|
|
|
|
|
307 |
|
308 |
}
|
309 |
|
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.5.4
|
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.5.4';
|
35 |
|
36 |
/**
|
37 |
* Minimum Elementor Version
|
213 |
OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
214 |
OoohBoi_Shadough::init(); // OoohBoi Shadough
|
215 |
OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
|
216 |
+
OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
|
217 |
+
OoohBoi_Imbox::init(); // OoohBoi Imbox
|
218 |
} else {
|
219 |
// Init Extensions
|
220 |
+
if( 'on' === $ob_settings_options[ 'harakiri' ] || NULL === $ob_settings_options[ 'harakiri' ] ) OoohBoi_Harakiri::init(); // OoohBoi Harakiri
|
221 |
+
if( 'on' === $ob_settings_options[ 'poopart' ] || NULL === $ob_settings_options[ 'poopart' ] ) OoohBoi_Overlay_Underlay::init(); // OoohBoi Overlay Underlay
|
222 |
+
if( 'on' === $ob_settings_options[ 'overlaiz' ] || NULL === $ob_settings_options[ 'overlaiz' ] ) OoohBoi_Overlaiz::init(); // OoohBoi Overlaiz
|
223 |
+
if( 'on' === $ob_settings_options[ 'paginini' ] || NULL === $ob_settings_options[ 'paginini' ] ) OoohBoi_Paginini::init(); // OoohBoi Paginini
|
224 |
+
if( 'on' === $ob_settings_options[ 'breaking_bad' ] || NULL === $ob_settings_options[ 'breaking_bad' ] ) OoohBoi_Breaking_Bad::init(); // OoohBoi Breaking Bad
|
225 |
+
if( 'on' === $ob_settings_options[ 'glider' ] || NULL === $ob_settings_options[ 'glider' ] ) OoohBoi_Glider::init(); // OoohBoi Glider Slider
|
226 |
+
if( 'on' === $ob_settings_options[ 'photogiraffe' ] || NULL === $ob_settings_options[ 'photogiraffe' ] ) OoohBoi_PhotoGiraffe::init(); // OoohBoi PhotoGiraffe
|
227 |
+
if( 'on' === $ob_settings_options[ 'teleporter' ] || NULL === $ob_settings_options[ 'teleporter' ] ) OoohBoi_Teleporter::init(); // OoohBoi Teleporter
|
228 |
+
if( 'on' === $ob_settings_options[ 'search_cop' ] || NULL === $ob_settings_options[ 'search_cop' ] ) OoohBoi_SearchCop::init(); // OoohBoi Search Cop
|
229 |
+
if( 'on' === $ob_settings_options[ 'videomasq' ] || NULL === $ob_settings_options[ 'imbox' ] ) OoohBoi_Videomasq::init(); // OoohBoi Videomasq
|
230 |
+
if( 'on' === $ob_settings_options[ 'butter_button' ] || NULL === $ob_settings_options[ 'butter_button' ] ) OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
|
231 |
+
if( 'on' === $ob_settings_options[ 'perspektive' ] || NULL === $ob_settings_options[ 'perspektive' ] ) OoohBoi_Perspektive::init(); // OoohBoi Perspektive
|
232 |
+
if( 'on' === $ob_settings_options[ 'shadough' ] || NULL === $ob_settings_options[ 'shadough' ] ) OoohBoi_Shadough::init(); // OoohBoi Shadough
|
233 |
+
if( 'on' === $ob_settings_options[ 'photo_morph' ] || NULL === $ob_settings_options[ 'photo_morph' ] ) OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
|
234 |
+
if( 'on' === $ob_settings_options[ 'commentz' ] || NULL === $ob_settings_options[ 'commentz' ] ) OoohBoi_Commentz::init(); // OoohBoi Commentz
|
235 |
+
if( 'on' === $ob_settings_options[ 'spacerat' ] || NULL === $ob_settings_options[ 'spacerat' ] ) OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
|
236 |
+
if( 'on' === $ob_settings_options[ 'imbox' ] || NULL === $ob_settings_options[ 'imbox' ] ) OoohBoi_Imbox::init(); // OoohBoi Imbox
|
237 |
}
|
238 |
|
239 |
}
|
307 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-shadough.php'; // OoohBoi Shadough
|
308 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-photomorph.php'; // OoohBoi PhotoMorph
|
309 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-commentz.php'; // OoohBoi Commentz
|
310 |
+
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-spacerat.php'; // OoohBoi SpaceRat
|
311 |
+
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-imbox.php'; // OoohBoi Imbox
|
312 |
|
313 |
}
|
314 |
|
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.5
|
7 |
-
Stable tag: 1.5.
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0
|
@@ -19,9 +19,9 @@ 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 |
-
= NEW
|
23 |
|
24 |
-
|
25 |
|
26 |
= In the package so far =
|
27 |
|
@@ -73,7 +73,13 @@ From now on you can add the clip-path to the Image widget for Normal and Hover s
|
|
73 |
16. COMMENTZ
|
74 |
Style up your Post Comments from Elementor.
|
75 |
|
76 |
-
17.
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
== Installation ==
|
79 |
|
@@ -82,7 +88,7 @@ Style up your Post Comments from Elementor.
|
|
82 |
|
83 |
== Upgrade Notice ==
|
84 |
|
85 |
-
1.5.
|
86 |
|
87 |
== Frequently Asked Questions ==
|
88 |
|
@@ -120,7 +126,11 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
|
|
120 |
20. COMMENTZ options
|
121 |
== Changelog ==
|
122 |
|
123 |
-
= 1.5.
|
|
|
|
|
|
|
|
|
124 |
- Photomorph, fixed clip-path animation bug
|
125 |
- Teleporter, fixed problem with Section's Columns Gap value being ignored
|
126 |
- Overlaiz, fix for the pointer events (Overlaiz is now click-thru proof)
|
4 |
Donate link: https://www.paypal.me/ooohboi
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 1.5.4
|
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 |
+
= 2 NEW EXTENSIONS NOW AVAILABLE - SPACERAT and IMBOX =
|
23 |
|
24 |
+
Spacer widget can be way more powerful with these new controls while IMBOX brings a few improvements to the Image Box widget. That's one small step for man, one giant leap for Elementor mankind.
|
25 |
|
26 |
= In the package so far =
|
27 |
|
73 |
16. COMMENTZ
|
74 |
Style up your Post Comments from Elementor.
|
75 |
|
76 |
+
17. SPACERAT
|
77 |
+
Adds new shine to the Spacer widget.
|
78 |
+
|
79 |
+
18. IMBOX
|
80 |
+
More controls to the Image Box widget.
|
81 |
+
|
82 |
+
19. MORE IS COMING SOON!
|
83 |
|
84 |
== Installation ==
|
85 |
|
88 |
|
89 |
== Upgrade Notice ==
|
90 |
|
91 |
+
1.5.4 - Beware of the changes in the language file!
|
92 |
|
93 |
== Frequently Asked Questions ==
|
94 |
|
126 |
20. COMMENTZ options
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 1.5.4 =
|
130 |
+
- New feature added, SpaceRat
|
131 |
+
- New feature added, SpaceRat
|
132 |
+
|
133 |
+
= 1.5.3 =
|
134 |
- Photomorph, fixed clip-path animation bug
|
135 |
- Teleporter, fixed problem with Section's Columns Gap value being ignored
|
136 |
- Overlaiz, fix for the pointer events (Overlaiz is now click-thru proof)
|