Version Description
- New extension: POSTMAN - Style up Text Editor or Posts widget content (headings, paragraph, lists, blockquotes)
- Improvement: TABBR - Place tabs any side vert/horiz
- Improvement: GLIDER - Bugs fixed, easy control from any link on page
Download this release
Release Info
Developer | ooohboi |
Plugin | OoohBoi Steroids for Elementor |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.9 to 2.0.0
- assets/css/editor-dark.css +4 -2
- assets/css/editor.css +4 -2
- assets/css/main.css +18 -1
- assets/js/glider-min.js +1 -1
- assets/js/glider.js +177 -11
- assets/js/ooohboi-steroids.js +0 -201
- assets/js/postman-min.js +1 -0
- assets/js/postman.js +48 -0
- controls/ooohboi-commentz.php +1 -1
- controls/ooohboi-glider.php +32 -34
- controls/ooohboi-postman.php +647 -0
- controls/ooohboi-tabbr.php +41 -50
- inc/common-functions.php +7 -0
- inc/img/postman.png +0 -0
- inc/img/tabbr.png +0 -0
- inc/img/tabbr2.png +0 -0
- inc/info/ob-landing.php +13 -56
- lang/ooohboi-steroids.pot +248 -78
- ooohboi-steroids.php +9 -8
- readme.txt +7 -2
assets/css/editor-dark.css
CHANGED
@@ -32,7 +32,8 @@
|
|
32 |
.elementor-control-_ob_animator_section_title:after,
|
33 |
.elementor-control-_ob_steroids_interactor:after,
|
34 |
.elementor-control-_ob_counterz_title:after,
|
35 |
-
.elementor-control-_ob_tabbr_title:after
|
|
|
36 |
content: "";
|
37 |
position: absolute;
|
38 |
height: 20px;
|
@@ -98,7 +99,8 @@
|
|
98 |
.rtl .elementor-control-_ob_animator_section_title:after,
|
99 |
.rtl .elementor-control-_ob_steroids_interactor:after,
|
100 |
.rtl .elementor-control-_ob_counterz_title:after,
|
101 |
-
.rtl .elementor-control-_ob_tabbr_title:after
|
|
|
102 |
left: 20px;
|
103 |
right: unset;
|
104 |
}
|
32 |
.elementor-control-_ob_animator_section_title:after,
|
33 |
.elementor-control-_ob_steroids_interactor:after,
|
34 |
.elementor-control-_ob_counterz_title:after,
|
35 |
+
.elementor-control-_ob_tabbr_title:after,
|
36 |
+
.elementor-control-_ob_postman:after {
|
37 |
content: "";
|
38 |
position: absolute;
|
39 |
height: 20px;
|
99 |
.rtl .elementor-control-_ob_animator_section_title:after,
|
100 |
.rtl .elementor-control-_ob_steroids_interactor:after,
|
101 |
.rtl .elementor-control-_ob_counterz_title:after,
|
102 |
+
.rtl .elementor-control-_ob_tabbr_title:after,
|
103 |
+
.rtl .elementor-control-_ob_postman:after {
|
104 |
left: 20px;
|
105 |
right: unset;
|
106 |
}
|
assets/css/editor.css
CHANGED
@@ -32,7 +32,8 @@
|
|
32 |
.elementor-control-_ob_animator_section_title:after,
|
33 |
.elementor-control-_ob_steroids_interactor:after,
|
34 |
.elementor-control-_ob_counterz_title:after,
|
35 |
-
.elementor-control-_ob_tabbr_title:after
|
|
|
36 |
content: "";
|
37 |
position: absolute;
|
38 |
height: 20px;
|
@@ -98,7 +99,8 @@
|
|
98 |
.rtl .elementor-control-_ob_animator_section_title:after,
|
99 |
.rtl .elementor-control-_ob_steroids_interactor:after,
|
100 |
.rtl .elementor-control-_ob_counterz_title:after,
|
101 |
-
.rtl .elementor-control-_ob_tabbr_title:after
|
|
|
102 |
left: 20px;
|
103 |
right: unset;
|
104 |
}
|
32 |
.elementor-control-_ob_animator_section_title:after,
|
33 |
.elementor-control-_ob_steroids_interactor:after,
|
34 |
.elementor-control-_ob_counterz_title:after,
|
35 |
+
.elementor-control-_ob_tabbr_title:after,
|
36 |
+
.elementor-control-_ob_postman:after {
|
37 |
content: "";
|
38 |
position: absolute;
|
39 |
height: 20px;
|
99 |
.rtl .elementor-control-_ob_animator_section_title:after,
|
100 |
.rtl .elementor-control-_ob_steroids_interactor:after,
|
101 |
.rtl .elementor-control-_ob_counterz_title:after,
|
102 |
+
.rtl .elementor-control-_ob_tabbr_title:after,
|
103 |
+
.rtl .elementor-control-_ob_postman:after {
|
104 |
left: 20px;
|
105 |
right: unset;
|
106 |
}
|
assets/css/main.css
CHANGED
@@ -35,6 +35,7 @@
|
|
35 |
}
|
36 |
|
37 |
/* GLIDER */
|
|
|
38 |
.ob-is-glider .ob-swiper-bundle {
|
39 |
visibility: hidden;
|
40 |
overflow: hidden;
|
@@ -429,8 +430,14 @@ body:not(.elementor-editor-active) [data-element_type="widget"].fade-in.effect-f
|
|
429 |
display: flex;
|
430 |
}
|
431 |
|
|
|
|
|
|
|
|
|
|
|
432 |
.elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-wrapper {
|
433 |
-
width:
|
|
|
434 |
}
|
435 |
|
436 |
.elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-element .elementor-tab-title,
|
@@ -484,4 +491,14 @@ body:not(.elementor-editor-active) [data-element_type="widget"].fade-in.effect-f
|
|
484 |
@-webkit-keyframes fadein {
|
485 |
0% { opacity: 0; }
|
486 |
100% { opacity: 1; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
487 |
}
|
35 |
}
|
36 |
|
37 |
/* GLIDER */
|
38 |
+
.ob-is-glider > .elementor-container,
|
39 |
.ob-is-glider .ob-swiper-bundle {
|
40 |
visibility: hidden;
|
41 |
overflow: hidden;
|
430 |
display: flex;
|
431 |
}
|
432 |
|
433 |
+
.elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-wrapper {
|
434 |
+
width: 100%;
|
435 |
+
padding-bottom: 1px;
|
436 |
+
}
|
437 |
+
|
438 |
.elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-wrapper {
|
439 |
+
width: inherit !important;
|
440 |
+
padding-bottom: 1px;
|
441 |
}
|
442 |
|
443 |
.elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-element .elementor-tab-title,
|
491 |
@-webkit-keyframes fadein {
|
492 |
0% { opacity: 0; }
|
493 |
100% { opacity: 1; }
|
494 |
+
}
|
495 |
+
|
496 |
+
/* POSTMAN */
|
497 |
+
.ob-postman .elementor-widget-container blockquote {
|
498 |
+
position: relative;
|
499 |
+
}
|
500 |
+
.ob-postman .elementor-widget-container blockquote::before {
|
501 |
+
content: '';
|
502 |
+
position: absolute;
|
503 |
+
inset: 0;
|
504 |
}
|
assets/js/glider-min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
"use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var i,s=elementorModules.frontend.handlers.Base;i=s.extend({me_the_swiper:"undefined",glider_external_controls:[],onInit:function(){s.prototype.onInit.apply(this,arguments),this.isGlider()&&this.isGliderCandidate()
|
1 |
+
"use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var i,s=elementorModules.frontend.handlers.Base;i=s.extend({me_the_swiper:"undefined",glider_external_controls:[],onInit:function(){s.prototype.onInit.apply(this,arguments),this.isGlider()&&this.isGliderCandidate()?(this.$element.addClass("ob-is-glider"),this.generateSwiperStructure()):this.isGlider()&&this.isOldGliderCandidate()&&(this.$element.addClass("ob-is-glider"),this.generateSwiperOld())},isGlider:function(){return"yes"===this.getElementSettings("_ob_glider_is_slider")},isGliderCandidate:function(){return!this.$element.closest(".swiper").length&&!this.$element.find(".swiper").length&&this.$element.children('[data-element_type="container"]').length>1},isOldGliderCandidate:function(){return"section"===this.$element.attr("data-element_type")},onElementChange:function(e){"_ob_glider_is_slider"===e&&(this.isGliderCandidate()?"yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.attr("id","glider-"+this.getID()),this.$element.addClass("ob-is-glider"),this.generateSwiperStructure()):""===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),elementor.reloadPreview()):this.isOldGliderCandidate()&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.attr("id","glider-"+this.getID()),this.$element.addClass("ob-is-glider"),this.generateSwiperOld()):""===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),elementor.reloadPreview())))},generateSwiperStructure:function(){if(!this.$element.find(".ob-swiper-bundle").length){this.$element.children('[data-element_type="container"]').wrapAll('<div class="ob-swiper-bundle swiper"></div>');var e=this.$element.find(".ob-swiper-bundle");e.children('[data-element_type="container"]').addClass("swiper-slide").wrapAll('<div class="swiper-wrapper"></div>'),e.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>').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>').append('<div class="swiper-pagination"></div>');var i={};i.pagination_type=this.getElementSettings("_ob_glider_pagination_type")||"bullets",i.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),i.autoheight=this.getElementSettings("_ob_glider_auto_h"),i.effect=this.getElementSettings("_ob_glider_effect"),i.loop=this.getElementSettings("_ob_glider_loop"),i.direction=this.getElementSettings("_ob_glider_direction"),i.parallax=this.getElementSettings("_ob_glider_parallax"),i.speed=this.getElementSettings("_ob_glider_speed");var s=this.getElementSettings("_ob_glider_autoplay");i.autoplay=!!s&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},i.mousewheel=this.getElementSettings("_ob_glider_allow_mousewheel"),i.allowMultiSlides=this.getElementSettings("_ob_glider_allow_multi_slides");var l={},n=elementorFrontend.config.breakpoints;l[n.lg]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll"),spaceBetween:+this.getElementSettings("_ob_glider_space_between")||0},l[n.md]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_tablet"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_tablet"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_tablet")||0},l[0]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_mobile"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_mobile"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_mobile")||0},i.breakpoints=l,i.slides_centered=this.getElementSettings("_ob_glider_centered_slides"),i.slides_centered_bounds=this.getElementSettings("_ob_glider_centered_bounds_slides"),i.slides_round_lenghts=this.getElementSettings("_ob_glider_roundlengths_slides");var r={allowTouchMove:"yes"===i.allowTouchMove,autoHeight:"yes"===i.autoheight,effect:i.effect,loop:i.loop,direction:"fade"===i.effect?"horizontal":i.direction,parallax:"yes"===i.parallax,speed:i.speed,breakpoints:"yes"===i.allowMultiSlides&&i.breakpoints,centeredSlides:"yes"===i.slides_centered,centeredSlidesBounds:"yes"===i.slides_centered_bounds,roundLengths:"yes"===i.slides_round_lenghts,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",type:i.pagination_type,clickable:!0},autoplay:i.autoplay,mousewheel:"yes"===i.mousewheel,watchOverflow:!0};if("undefined"==typeof Swiper){var o=this;let t=setInterval((function(){if(elementorFrontend.utils){clearInterval(t);new(0,elementorFrontend.utils.swiper)(e,r).then((e=>{o.me_the_swiper=e,o.runSyncStuff(o.me_the_swiper)}))}}),500)}else this.me_the_swiper=new Swiper(e,r),this.runSyncStuff(this.me_the_swiper);if(e.css("visibility","visible"),this.isEdit){var d=this;elementor.channels.editor.on("change:container",(function(e){e._parent.model.id===d.getID()&&t.dispatchEvent(new Event("resize"))}))}}},generateSwiperOld:function(){var i=this.$element.children(".elementor-container").first(),s=e(i).children(".elementor-row").first();s.length&&(i=s),i.children('[data-element_type="column"]').addClass("swiper-slide").wrapAll('<div class="swiper-wrapper"></div>'),i.find(".swiper-button-next").first().length||i.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>'),i.find(".swiper-button-prev").first().length||i.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>'),i.find(".swiper-pagination").first().length||i.append('<div class="swiper-pagination"></div>');var l={};l.pagination_type=this.getElementSettings("_ob_glider_pagination_type")||"bullets",l.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),l.autoheight=this.getElementSettings("_ob_glider_auto_h"),l.effect=this.getElementSettings("_ob_glider_effect"),l.loop=this.getElementSettings("_ob_glider_loop"),l.direction=this.getElementSettings("_ob_glider_direction"),l.parallax=this.getElementSettings("_ob_glider_parallax"),l.speed=this.getElementSettings("_ob_glider_speed");var n=this.getElementSettings("_ob_glider_autoplay");l.autoplay=!!n&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},l.mousewheel=this.getElementSettings("_ob_glider_allow_mousewheel"),l.allowMultiSlides=this.getElementSettings("_ob_glider_allow_multi_slides");var r={},o=elementorFrontend.config.breakpoints;r[o.lg]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll"),spaceBetween:+this.getElementSettings("_ob_glider_space_between")||0},r[o.md]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_tablet"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_tablet"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_tablet")||0},r[0]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_mobile"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_mobile"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_mobile")||0},l.breakpoints=r,l.slides_centered=this.getElementSettings("_ob_glider_centered_slides"),l.slides_centered_bounds=this.getElementSettings("_ob_glider_centered_bounds_slides"),l.slides_round_lenghts=this.getElementSettings("_ob_glider_roundlengths_slides");var d={allowTouchMove:"yes"===l.allowTouchMove,autoHeight:"yes"===l.autoheight,effect:l.effect,loop:l.loop,direction:"fade"===l.effect?"horizontal":l.direction,parallax:"yes"===l.parallax,speed:l.speed,breakpoints:"yes"===l.allowMultiSlides&&l.breakpoints,centeredSlides:"yes"===l.slides_centered,centeredSlidesBounds:"yes"===l.slides_centered_bounds,roundLengths:"yes"===l.slides_round_lenghts,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",type:l.pagination_type,clickable:!0},autoplay:l.autoplay,mousewheel:"yes"===l.mousewheel,watchOverflow:!0};if("undefined"==typeof Swiper){var _=this;let e=setInterval((function(){if(elementorFrontend.utils){clearInterval(e);new(0,elementorFrontend.utils.swiper)(i,d).then((e=>{_.me_the_swiper=e,_.runSyncStuff(_.me_the_swiper)}))}}),500)}else this.me_the_swiper=new Swiper(i,d),this.runSyncStuff(this.me_the_swiper);if(i.css("visibility","visible"),this.isEdit){var a=this;elementor.channels.editor.on("change:section",(function(e){e._parent.model.id===a.getID()&&t.dispatchEvent(new Event("resize"))}))}},runSyncStuff:function(t){this.glider_external_controls=e("body").find('[class*="glider-'+this.$element[0].dataset.id+'-gotoslide-"]')||[],this.glider_external_controls.length&&(this.glider_external_controls.each((function(){this.target_swiper=t})),this.glider_external_controls.on("click",(function(t){var i=parseInt(e(this).attr("class").match(/-gotoslide-(\d+)/)[1]);i>0&&this.target_swiper.slideTo(i),t.preventDefault()})))}});var l={section:i,container:i};e.each(l,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}))}(jQuery,window);
|
assets/js/glider.js
CHANGED
@@ -36,7 +36,12 @@
|
|
36 |
this.$element.addClass( 'ob-is-glider' );
|
37 |
this.generateSwiperStructure();
|
38 |
|
39 |
-
}
|
|
|
|
|
|
|
|
|
|
|
40 |
},
|
41 |
|
42 |
isGlider: function() {
|
@@ -45,21 +50,39 @@
|
|
45 |
|
46 |
isGliderCandidate: function() {
|
47 |
return ( ! this.$element.closest( '.swiper' ).length && ! this.$element.find( '.swiper' ).length && this.$element.children( '[data-element_type="container"]' ).length > 1 );
|
48 |
-
|
|
|
|
|
|
|
49 |
},
|
50 |
|
51 |
onElementChange: function( changedProp ) {
|
52 |
|
53 |
if( changedProp === '_ob_glider_is_slider' ) {
|
54 |
|
55 |
-
if(
|
56 |
-
|
57 |
-
this
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
}
|
65 |
},
|
@@ -85,7 +108,7 @@
|
|
85 |
|
86 |
// grab the settings...
|
87 |
var settingz = {};
|
88 |
-
settingz.pagination_type = this.getElementSettings( '_ob_glider_pagination_type' );
|
89 |
settingz.allowTouchMove = this.getElementSettings( '_ob_glider_allow_touch_move' );
|
90 |
settingz.autoheight = this.getElementSettings( '_ob_glider_auto_h' );
|
91 |
settingz.effect = this.getElementSettings( '_ob_glider_effect' );
|
@@ -188,6 +211,132 @@
|
|
188 |
|
189 |
},
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
runSyncStuff: function( swiper_ob ) {
|
192 |
|
193 |
// external control via the CSS class
|
@@ -213,9 +362,26 @@
|
|
213 |
|
214 |
} );
|
215 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
elementorFrontend.hooks.addAction( 'frontend/element_ready/container', function( $scope ) {
|
217 |
elementorFrontend.elementsHandler.addHandler( Glider, { $element: $scope } );
|
218 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
|
220 |
} );
|
221 |
|
36 |
this.$element.addClass( 'ob-is-glider' );
|
37 |
this.generateSwiperStructure();
|
38 |
|
39 |
+
} else if( this.isGlider() && this.isOldGliderCandidate() ) { // if not a container!!!
|
40 |
+
|
41 |
+
this.$element.addClass( 'ob-is-glider' );
|
42 |
+
this.generateSwiperOld();
|
43 |
+
|
44 |
+
}
|
45 |
},
|
46 |
|
47 |
isGlider: function() {
|
50 |
|
51 |
isGliderCandidate: function() {
|
52 |
return ( ! this.$element.closest( '.swiper' ).length && ! this.$element.find( '.swiper' ).length && this.$element.children( '[data-element_type="container"]' ).length > 1 );
|
53 |
+
},
|
54 |
+
|
55 |
+
isOldGliderCandidate: function() { // it's not a container
|
56 |
+
return ( 'section' === this.$element.attr( 'data-element_type' ) );
|
57 |
},
|
58 |
|
59 |
onElementChange: function( changedProp ) {
|
60 |
|
61 |
if( changedProp === '_ob_glider_is_slider' ) {
|
62 |
|
63 |
+
if( this.isGliderCandidate() ) {
|
64 |
+
|
65 |
+
if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
66 |
+
this.$element.attr( 'id', 'glider-' + this.getID() );
|
67 |
+
this.$element.addClass( 'ob-is-glider' );
|
68 |
+
this.generateSwiperStructure();
|
69 |
+
} else if( '' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
70 |
+
this.$element.removeClass( 'ob-is-glider' );
|
71 |
+
elementor.reloadPreview();
|
72 |
+
}
|
73 |
+
|
74 |
+
} else if( this.isOldGliderCandidate() ) { // if not a container !!!
|
75 |
+
|
76 |
+
if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
77 |
+
this.$element.attr( 'id', 'glider-' + this.getID() );
|
78 |
+
this.$element.addClass( 'ob-is-glider' );
|
79 |
+
this.generateSwiperOld();
|
80 |
+
} else if( '' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
81 |
+
this.$element.removeClass( 'ob-is-glider' );
|
82 |
+
elementor.reloadPreview();
|
83 |
+
}
|
84 |
+
|
85 |
+
}
|
86 |
|
87 |
}
|
88 |
},
|
108 |
|
109 |
// grab the settings...
|
110 |
var settingz = {};
|
111 |
+
settingz.pagination_type = this.getElementSettings( '_ob_glider_pagination_type' ) || 'bullets';
|
112 |
settingz.allowTouchMove = this.getElementSettings( '_ob_glider_allow_touch_move' );
|
113 |
settingz.autoheight = this.getElementSettings( '_ob_glider_auto_h' );
|
114 |
settingz.effect = this.getElementSettings( '_ob_glider_effect' );
|
211 |
|
212 |
},
|
213 |
|
214 |
+
generateSwiperOld: function() {
|
215 |
+
|
216 |
+
var wrapr = this.$element.children( '.elementor-container' ).first();
|
217 |
+
var wrapr_has_row = $( wrapr ).children( '.elementor-row' ).first(); // chck for elementor-row
|
218 |
+
|
219 |
+
if( wrapr_has_row.length ) wrapr = wrapr_has_row;
|
220 |
+
|
221 |
+
wrapr.children( '[data-element_type="column"]' ).addClass( 'swiper-slide' ).wrapAll( '<div class="swiper-wrapper"></div>' );
|
222 |
+
// append controls: next prev pagination
|
223 |
+
if( ! wrapr.find( '.swiper-button-next' ).first().length ) {
|
224 |
+
wrapr.append(
|
225 |
+
'<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>'
|
226 |
+
);
|
227 |
+
}
|
228 |
+
if( ! wrapr.find( '.swiper-button-prev' ).first().length ) {
|
229 |
+
wrapr.append(
|
230 |
+
'<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>'
|
231 |
+
);
|
232 |
+
}
|
233 |
+
if( ! wrapr.find( '.swiper-pagination' ).first().length ) wrapr.append( '<div class="swiper-pagination"></div>' );
|
234 |
+
|
235 |
+
// grab the settings...
|
236 |
+
var settingz = {};
|
237 |
+
settingz.pagination_type = this.getElementSettings( '_ob_glider_pagination_type' ) || 'bullets';
|
238 |
+
settingz.allowTouchMove = this.getElementSettings( '_ob_glider_allow_touch_move' );
|
239 |
+
settingz.autoheight = this.getElementSettings( '_ob_glider_auto_h' );
|
240 |
+
settingz.effect = this.getElementSettings( '_ob_glider_effect' );
|
241 |
+
settingz.loop = this.getElementSettings( '_ob_glider_loop' );
|
242 |
+
settingz.direction = this.getElementSettings( '_ob_glider_direction' );
|
243 |
+
settingz.parallax = this.getElementSettings( '_ob_glider_parallax' );
|
244 |
+
settingz.speed = this.getElementSettings( '_ob_glider_speed' );
|
245 |
+
var autoplayed = this.getElementSettings( '_ob_glider_autoplay' );
|
246 |
+
if( autoplayed ) {
|
247 |
+
settingz.autoplay = {
|
248 |
+
'delay': this.getElementSettings( '_ob_glider_autoplay_delay' ),
|
249 |
+
}
|
250 |
+
} else settingz.autoplay = false;
|
251 |
+
settingz.mousewheel = this.getElementSettings( '_ob_glider_allow_mousewheel' );
|
252 |
+
|
253 |
+
/* by Xmastermind */
|
254 |
+
settingz.allowMultiSlides = this.getElementSettings( '_ob_glider_allow_multi_slides' );
|
255 |
+
var breakpointsSettings = {},
|
256 |
+
breakpoints = elementorFrontend.config.breakpoints;
|
257 |
+
breakpointsSettings[breakpoints.lg] = {
|
258 |
+
slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view' ),
|
259 |
+
slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll' ),
|
260 |
+
spaceBetween: +this.getElementSettings( '_ob_glider_space_between' ) || 0,
|
261 |
+
};
|
262 |
+
breakpointsSettings[breakpoints.md] = {
|
263 |
+
slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view_tablet' ),
|
264 |
+
slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll_tablet' ),
|
265 |
+
spaceBetween: +this.getElementSettings( '_ob_glider_space_between_tablet' ) || 0,
|
266 |
+
};
|
267 |
+
breakpointsSettings[0] = {
|
268 |
+
slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view_mobile' ),
|
269 |
+
slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll_mobile' ),
|
270 |
+
spaceBetween: +this.getElementSettings( '_ob_glider_space_between_mobile' ) || 0,
|
271 |
+
};
|
272 |
+
settingz.breakpoints = breakpointsSettings;
|
273 |
+
// centered slides - v1.7.9
|
274 |
+
settingz.slides_centered = this.getElementSettings( '_ob_glider_centered_slides' );
|
275 |
+
settingz.slides_centered_bounds = this.getElementSettings( '_ob_glider_centered_bounds_slides' );
|
276 |
+
settingz.slides_round_lenghts = this.getElementSettings( '_ob_glider_roundlengths_slides' );
|
277 |
+
|
278 |
+
// create swiper ----------------------------------------------------------------------------------
|
279 |
+
var swiper_config = {
|
280 |
+
allowTouchMove: ( 'yes' === settingz.allowTouchMove ? true : false ),
|
281 |
+
autoHeight: ( 'yes' === settingz.autoheight ? true : false ),
|
282 |
+
effect: settingz.effect,
|
283 |
+
loop: settingz.loop,
|
284 |
+
direction: ( 'fade' === settingz.effect ? 'horizontal' : settingz.direction ),
|
285 |
+
parallax: ( 'yes' === settingz.parallax ? true : false ),
|
286 |
+
speed: settingz.speed,
|
287 |
+
breakpoints: ( 'yes' === settingz.allowMultiSlides ? settingz.breakpoints : false ),
|
288 |
+
centeredSlides: ( 'yes' === settingz.slides_centered ? true : false ),
|
289 |
+
centeredSlidesBounds: ( 'yes' === settingz.slides_centered_bounds ? true : false ),
|
290 |
+
roundLengths: ( 'yes' === settingz.slides_round_lenghts ? true : false ),
|
291 |
+
navigation: {
|
292 |
+
nextEl: '.swiper-button-next',
|
293 |
+
prevEl: '.swiper-button-prev',
|
294 |
+
},
|
295 |
+
pagination: {
|
296 |
+
el: '.swiper-pagination',
|
297 |
+
type: settingz.pagination_type,
|
298 |
+
clickable: true,
|
299 |
+
},
|
300 |
+
autoplay: settingz.autoplay,
|
301 |
+
mousewheel: ( 'yes' === settingz.mousewheel ? true : false ),
|
302 |
+
watchOverflow : true, /* gotta force it down */
|
303 |
+
};
|
304 |
+
// improved asset loading
|
305 |
+
if ( 'undefined' === typeof Swiper ) { // swiper not loaded
|
306 |
+
var tmp_this = this;
|
307 |
+
let chck_if_elementor_utils_loaded = setInterval( function() {
|
308 |
+
|
309 |
+
if( elementorFrontend.utils ) {
|
310 |
+
clearInterval( chck_if_elementor_utils_loaded );
|
311 |
+
const asyncSwiper = elementorFrontend.utils.swiper;
|
312 |
+
new asyncSwiper( wrapr, swiper_config ).then( ( newSwiperInstance ) => {
|
313 |
+
tmp_this.me_the_swiper = newSwiperInstance;
|
314 |
+
tmp_this.runSyncStuff( tmp_this.me_the_swiper );
|
315 |
+
} );
|
316 |
+
}
|
317 |
+
|
318 |
+
}, 500 ); // wait for Elementor utils to load entirely
|
319 |
+
|
320 |
+
} else { // otherwise swiper exists
|
321 |
+
this.me_the_swiper = new Swiper( wrapr, swiper_config );
|
322 |
+
this.runSyncStuff( this.me_the_swiper );
|
323 |
+
}
|
324 |
+
|
325 |
+
// show the swiper
|
326 |
+
wrapr.css( 'visibility', 'visible' );
|
327 |
+
|
328 |
+
if( this.isEdit ) {
|
329 |
+
var TMP_this = this;
|
330 |
+
// the DOM hack to prevent all kinds of shit ...
|
331 |
+
elementor.channels.editor.on( 'change:section', function( el ) {
|
332 |
+
if( el._parent.model.id === TMP_this.getID() ) {
|
333 |
+
w.dispatchEvent( new Event( 'resize' ) ); // trigger only if dealing with the Glider
|
334 |
+
}
|
335 |
+
} );
|
336 |
+
}
|
337 |
+
|
338 |
+
},
|
339 |
+
|
340 |
runSyncStuff: function( swiper_ob ) {
|
341 |
|
342 |
// external control via the CSS class
|
362 |
|
363 |
} );
|
364 |
|
365 |
+
var handlersList = {
|
366 |
+
|
367 |
+
'section': Glider,
|
368 |
+
'container': Glider,
|
369 |
+
|
370 |
+
};
|
371 |
+
/*
|
372 |
elementorFrontend.hooks.addAction( 'frontend/element_ready/container', function( $scope ) {
|
373 |
elementorFrontend.elementsHandler.addHandler( Glider, { $element: $scope } );
|
374 |
} );
|
375 |
+
*/
|
376 |
+
$.each( handlersList, function( widgetName, handlerClass ) {
|
377 |
+
|
378 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widgetName, function( $scope ) {
|
379 |
+
|
380 |
+
elementorFrontend.elementsHandler.addHandler( handlerClass, { $element: $scope } );
|
381 |
+
|
382 |
+
} );
|
383 |
+
|
384 |
+
} );
|
385 |
|
386 |
} );
|
387 |
|
assets/js/ooohboi-steroids.js
CHANGED
@@ -20,11 +20,6 @@
|
|
20 |
|
21 |
return this.$element.hasClass( 'ob-is-breaking-bad' );
|
22 |
|
23 |
-
},
|
24 |
-
isGlider: function() {
|
25 |
-
|
26 |
-
return this.$element.hasClass( 'ob-is-glider' );
|
27 |
-
|
28 |
},
|
29 |
/* needed for Inner Section stickyness */
|
30 |
isInnerSection: function() {
|
@@ -43,21 +38,6 @@
|
|
43 |
if( this.isInnerSection() ) this.$element.removeClass( 'ob-bb-inner' );
|
44 |
}
|
45 |
}
|
46 |
-
// Glider
|
47 |
-
if( changedProp === '_ob_glider_is_slider' ) {
|
48 |
-
|
49 |
-
if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
50 |
-
this.$element.addClass( 'ob-is-glider' );
|
51 |
-
this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'addClass' );
|
52 |
-
this.initSwiperElements();
|
53 |
-
} else {
|
54 |
-
if( 'yes' != this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
55 |
-
this.$element.removeClass( 'ob-is-glider' );
|
56 |
-
this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'removeClass' );
|
57 |
-
}
|
58 |
-
}
|
59 |
-
|
60 |
-
}
|
61 |
// Inner Section
|
62 |
if( changedProp === '_ob_bbad_sssic_use' && this.isInnerSection() ) {
|
63 |
if( 'yes' === this.getElementSettings( '_ob_bbad_sssic_use' ) ) this.$element.addClass( 'ob-is-sticky-inner-section' );
|
@@ -66,34 +46,6 @@
|
|
66 |
|
67 |
},
|
68 |
|
69 |
-
addClassesRouteGlider: function( el, action ) {
|
70 |
-
|
71 |
-
// elementor-container add swiper-container
|
72 |
-
var container = $( el ).children( '.elementor-container' ).first();
|
73 |
-
if( container.length ) container.addClass( 'swiper-container' );
|
74 |
-
// wrapper
|
75 |
-
var wrapper = $( container ).children( '.elementor-row' ).first();
|
76 |
-
|
77 |
-
if( wrapper.length && 'addClass' == action ) {
|
78 |
-
wrapper.addClass( 'swiper-wrapper' );
|
79 |
-
$( wrapper ).children( 'div.elementor-column' ).addClass( 'swiper-slide' );
|
80 |
-
} else if( ! wrapper.length && 'addClass' == action ) {
|
81 |
-
// elementor 3.0+ ditched .elementor-row, we have to add the wrapper!
|
82 |
-
$( container ).children( 'div.elementor-column' ).wrapAll( '<div class="swiper-wrapper" />' );
|
83 |
-
$( container ).children( '.swiper-wrapper' ).first().children( 'div.elementor-column' ).addClass( 'swiper-slide' );
|
84 |
-
}
|
85 |
-
if( wrapper.length && 'removeClass' == action ) {
|
86 |
-
container.removeClass( 'swiper-container' );
|
87 |
-
wrapper.removeClass( 'swiper-wrapper' );
|
88 |
-
$( wrapper ).children( 'div.elementor-column' ).removeClass( 'swiper-slide' );
|
89 |
-
} else if( ! wrapper.length && 'removeClass' == action ) {
|
90 |
-
// elementor 3.0+ patch
|
91 |
-
container.removeClass( 'swiper-container' );
|
92 |
-
$( container ).children( 'div.swiper-wrapper' ).unwrap();
|
93 |
-
$( container ).children( 'div.elementor-column' ).removeClass( 'swiper-slide' );
|
94 |
-
}
|
95 |
-
|
96 |
-
},
|
97 |
initSectionExtends: function() {
|
98 |
|
99 |
if( this.isEdit ) {
|
@@ -102,19 +54,6 @@
|
|
102 |
this.$element.addClass( 'ob-is-breaking-bad' );
|
103 |
if( this.isInnerSection() ) this.$element.addClass( 'ob-bb-inner' );
|
104 |
}
|
105 |
-
// Glider: editor and font-end
|
106 |
-
if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
107 |
-
this.$element.addClass( 'ob-is-glider' );
|
108 |
-
this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'addClass' );
|
109 |
-
this.initSwiperElements();
|
110 |
-
}
|
111 |
-
} else {
|
112 |
-
// Glider
|
113 |
-
if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
|
114 |
-
this.$element.addClass( 'ob-is-glider' );
|
115 |
-
this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'addClass' );
|
116 |
-
this.initSwiperElements();
|
117 |
-
}
|
118 |
}
|
119 |
// Sticky Inner Section - identical for both front-and-back-end
|
120 |
if( 'yes' === this.getElementSettings( '_ob_bbad_sssic_use' ) && this.isInnerSection() ) {
|
@@ -124,71 +63,6 @@
|
|
124 |
if( parent_wrapper.length ) parent_wrapper.addClass( 'ob-sssic-wrapper' );
|
125 |
}
|
126 |
},
|
127 |
-
initSwiperElements: function() {
|
128 |
-
|
129 |
-
// navig
|
130 |
-
if( ! this.$element.children( '.elementor-container' ).find( '.swiper-button-next' ).first().length ) {
|
131 |
-
this.$element.children( '.elementor-container' ).first().append(
|
132 |
-
'<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>'
|
133 |
-
);
|
134 |
-
}
|
135 |
-
if( ! this.$element.children( '.elementor-container' ).find( '.swiper-button-prev' ).first().length ) {
|
136 |
-
this.$element.children( '.elementor-container' ).first().append(
|
137 |
-
'<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>'
|
138 |
-
);
|
139 |
-
}
|
140 |
-
// pagination
|
141 |
-
if( ! this.$element.children( '.elementor-container' ).find( '.swiper-pagination' ).first().length ) {
|
142 |
-
this.$element.children( '.elementor-container' ).first().append( '<div class="swiper-pagination"></div>' );
|
143 |
-
}
|
144 |
-
// settings
|
145 |
-
var settingz = {};
|
146 |
-
settingz.pagination_type = this.getElementSettings( '_ob_glider_pagination_type' );
|
147 |
-
settingz.allowTouchMove = this.getElementSettings( '_ob_glider_allow_touch_move' );
|
148 |
-
settingz.autoheight = this.getElementSettings( '_ob_glider_auto_h' );
|
149 |
-
settingz.effect = this.getElementSettings( '_ob_glider_effect' );
|
150 |
-
settingz.loop = this.getElementSettings( '_ob_glider_loop' );
|
151 |
-
settingz.direction = this.getElementSettings( '_ob_glider_direction' );
|
152 |
-
settingz.parallax = this.getElementSettings( '_ob_glider_parallax' );
|
153 |
-
settingz.speed = this.getElementSettings( '_ob_glider_speed' );
|
154 |
-
var autoplayed = this.getElementSettings( '_ob_glider_autoplay' );
|
155 |
-
if( autoplayed ) {
|
156 |
-
settingz.autoplay = {
|
157 |
-
'delay': this.getElementSettings( '_ob_glider_autoplay_delay' ),
|
158 |
-
}
|
159 |
-
} else settingz.autoplay = false;
|
160 |
-
settingz.mousewheel = this.getElementSettings( '_ob_glider_allow_mousewheel' );
|
161 |
-
|
162 |
-
/* by Xmastermind */
|
163 |
-
settingz.allowMultiSlides = this.getElementSettings( '_ob_glider_allow_multi_slides' );
|
164 |
-
var breakpointsSettings = {},
|
165 |
-
breakpoints = elementorFrontend.config.breakpoints;
|
166 |
-
breakpointsSettings[breakpoints.lg] = {
|
167 |
-
slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view' ),
|
168 |
-
slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll' ),
|
169 |
-
spaceBetween: +this.getElementSettings( '_ob_glider_space_between' ) || 0,
|
170 |
-
};
|
171 |
-
breakpointsSettings[breakpoints.md] = {
|
172 |
-
slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view_tablet' ),
|
173 |
-
slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll_tablet' ),
|
174 |
-
spaceBetween: +this.getElementSettings( '_ob_glider_space_between_tablet' ) || 0,
|
175 |
-
};
|
176 |
-
breakpointsSettings[0] = {
|
177 |
-
slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view_mobile' ),
|
178 |
-
slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll_mobile' ),
|
179 |
-
spaceBetween: +this.getElementSettings( '_ob_glider_space_between_mobile' ) || 0,
|
180 |
-
};
|
181 |
-
settingz.breakpoints = breakpointsSettings;
|
182 |
-
// centered slides - v1.7.9
|
183 |
-
settingz.slides_centered = this.getElementSettings( '_ob_glider_centered_slides' );
|
184 |
-
settingz.slides_centered_bounds = this.getElementSettings( '_ob_glider_centered_bounds_slides' );
|
185 |
-
settingz.slides_round_lenghts = this.getElementSettings( '_ob_glider_roundlengths_slides' );
|
186 |
-
/* -------------- */
|
187 |
-
|
188 |
-
// run swiper
|
189 |
-
makeSwiper( this.$element.attr( 'data-id' ), settingz, 'glider_' + this.$element.attr( 'data-id' ) );
|
190 |
-
|
191 |
-
},
|
192 |
|
193 |
} );
|
194 |
|
@@ -503,80 +377,5 @@
|
|
503 |
} );
|
504 |
|
505 |
} );
|
506 |
-
|
507 |
-
var makeSwiper = function( elem_id, settings ) {
|
508 |
-
|
509 |
-
var the_section = $( '.elementor-element-' + elem_id );
|
510 |
-
var the_s = $( '.elementor-element-' + elem_id + ' .swiper-container' ).first();
|
511 |
-
var the_s_controls = the_s.parent().parent().find( 'nav.glider-controller' );
|
512 |
-
|
513 |
-
var me_the_swiper; // swiper instance
|
514 |
-
var swiper_config = {
|
515 |
-
allowTouchMove: ( 'yes' === settings.allowTouchMove ? true : false ),
|
516 |
-
autoHeight: ( 'yes' === settings.autoheight ? true : false ),
|
517 |
-
effect: settings.effect,
|
518 |
-
loop: settings.loop,
|
519 |
-
direction: ( 'fade' === settings.effect ? 'horizontal' : settings.direction ),
|
520 |
-
parallax: ( 'yes' === settings.parallax ? true : false ),
|
521 |
-
speed: settings.speed,
|
522 |
-
/* by Xmastermind */
|
523 |
-
breakpoints: ( 'yes' === settings.allowMultiSlides ? settings.breakpoints : false ),
|
524 |
-
/* v1.7.9 */
|
525 |
-
centeredSlides: ( 'yes' === settings.slides_centered ? true : false ),
|
526 |
-
centeredSlidesBounds: ( 'yes' === settings.slides_centered_bounds ? true : false ),
|
527 |
-
roundLengths: ( 'yes' === settings.slides_round_lenghts ? true : false ),
|
528 |
-
/* -------------- */
|
529 |
-
navigation: {
|
530 |
-
nextEl: '.elementor-element-' + elem_id + ' .swiper-button-next',
|
531 |
-
prevEl: '.elementor-element-' + elem_id + ' .swiper-button-prev',
|
532 |
-
},
|
533 |
-
pagination: {
|
534 |
-
el: '.elementor-element-' + elem_id + ' .swiper-pagination',
|
535 |
-
type: settings.pagination_type,
|
536 |
-
clickable: true,
|
537 |
-
},
|
538 |
-
autoplay: settings.autoplay,
|
539 |
-
mousewheel: ( 'yes' === settings.mousewheel ? true : false ),
|
540 |
-
watchOverflow : true, /* gotta force it down */
|
541 |
-
};
|
542 |
-
// improved asset loading
|
543 |
-
if ( 'undefined' === typeof Swiper ) { // swiper not loaded
|
544 |
-
const asyncSwiper = elementorFrontend.utils.swiper;
|
545 |
-
new asyncSwiper( the_s, swiper_config ).then( ( newSwiperInstance ) => {
|
546 |
-
me_the_swiper = newSwiperInstance;
|
547 |
-
} );
|
548 |
-
} else { // otherwise swiper exists
|
549 |
-
me_the_swiper = new Swiper( the_s, swiper_config );
|
550 |
-
}
|
551 |
-
|
552 |
-
the_s.find( '[class*="glider-control"]' ).on( 'click', function( e ) {
|
553 |
-
|
554 |
-
if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
|
555 |
-
me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) );
|
556 |
-
} else {
|
557 |
-
var slide_num = parseInt( $( this ).attr( 'class' ).match(/glider-control-(\d+)/)[ 1 ] );
|
558 |
-
if( slide_num > 0 ) me_the_swiper.slideTo( slide_num );
|
559 |
-
}
|
560 |
-
|
561 |
-
e.preventDefault(); // bail
|
562 |
-
|
563 |
-
} );
|
564 |
-
|
565 |
-
the_s_controls.find( '[class*="glider-control"]' ).on( 'click', function( e ) {
|
566 |
-
|
567 |
-
if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
|
568 |
-
me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) );
|
569 |
-
} else {
|
570 |
-
var slide_num = parseInt( $( this ).attr( 'class' ).match(/glider-control-(\d+)/)[ 1 ] );
|
571 |
-
if( slide_num > 0 ) me_the_swiper.slideTo( slide_num );
|
572 |
-
}
|
573 |
-
|
574 |
-
e.preventDefault(); // bail
|
575 |
-
|
576 |
-
} );
|
577 |
-
|
578 |
-
the_section.css( 'visibility', 'visible' );
|
579 |
-
|
580 |
-
}
|
581 |
|
582 |
} ( jQuery, window ) );
|
20 |
|
21 |
return this.$element.hasClass( 'ob-is-breaking-bad' );
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
},
|
24 |
/* needed for Inner Section stickyness */
|
25 |
isInnerSection: function() {
|
38 |
if( this.isInnerSection() ) this.$element.removeClass( 'ob-bb-inner' );
|
39 |
}
|
40 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
// Inner Section
|
42 |
if( changedProp === '_ob_bbad_sssic_use' && this.isInnerSection() ) {
|
43 |
if( 'yes' === this.getElementSettings( '_ob_bbad_sssic_use' ) ) this.$element.addClass( 'ob-is-sticky-inner-section' );
|
46 |
|
47 |
},
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
initSectionExtends: function() {
|
50 |
|
51 |
if( this.isEdit ) {
|
54 |
this.$element.addClass( 'ob-is-breaking-bad' );
|
55 |
if( this.isInnerSection() ) this.$element.addClass( 'ob-bb-inner' );
|
56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
// Sticky Inner Section - identical for both front-and-back-end
|
59 |
if( 'yes' === this.getElementSettings( '_ob_bbad_sssic_use' ) && this.isInnerSection() ) {
|
63 |
if( parent_wrapper.length ) parent_wrapper.addClass( 'ob-sssic-wrapper' );
|
64 |
}
|
65 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
} );
|
68 |
|
377 |
} );
|
378 |
|
379 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
|
381 |
} ( jQuery, window ) );
|
assets/js/postman-min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
"use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var t,n=elementorModules.frontend.handlers.Base;t=n.extend({onInit:function(){n.prototype.onInit.apply(this,arguments),this.isPostman()&&this.$element.addClass("ob-postman")},isPostman:function(){return"yes"===this.getElementSettings("_ob_postman_use")},onElementChange:function(e){"_ob_postman_use"===e&&("yes"===this.getElementSettings("_ob_postman_use")?this.$element.addClass("ob-postman"):this.$element.removeClass("ob-postman"))}});var o={"theme-post-content.default":t,"text-editor.default":t};e.each(o,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}))}(jQuery,window);
|
assets/js/postman.js
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use strict';
|
2 |
+
|
3 |
+
( function ( $, w ) {
|
4 |
+
|
5 |
+
var $window = $( w );
|
6 |
+
|
7 |
+
$window.on( 'elementor/frontend/init', function() {
|
8 |
+
|
9 |
+
var ModuleHandler = elementorModules.frontend.handlers.Base,
|
10 |
+
Postman;
|
11 |
+
|
12 |
+
Postman = ModuleHandler.extend( {
|
13 |
+
|
14 |
+
onInit: function() {
|
15 |
+
ModuleHandler.prototype.onInit.apply( this, arguments );
|
16 |
+
if( this.isPostman() ) {
|
17 |
+
this.$element.addClass( 'ob-postman' );
|
18 |
+
}
|
19 |
+
},
|
20 |
+
|
21 |
+
isPostman: function() {
|
22 |
+
return ( this.getElementSettings( '_ob_postman_use' ) === 'yes' );
|
23 |
+
},
|
24 |
+
|
25 |
+
onElementChange: function( changedProp ) {
|
26 |
+
if( changedProp === '_ob_postman_use' ) {
|
27 |
+
if( 'yes' === this.getElementSettings( '_ob_postman_use' ) ) this.$element.addClass( 'ob-postman' );
|
28 |
+
else this.$element.removeClass( 'ob-postman' );
|
29 |
+
}
|
30 |
+
},
|
31 |
+
|
32 |
+
} );
|
33 |
+
|
34 |
+
var handlersList = {
|
35 |
+
'theme-post-content.default': Postman,
|
36 |
+
'text-editor.default': Postman,
|
37 |
+
};
|
38 |
+
|
39 |
+
$.each( handlersList, function( widgetName, handlerClass ) {
|
40 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widgetName, function( $scope ) {
|
41 |
+
elementorFrontend.elementsHandler.addHandler( handlerClass, { $element: $scope } );
|
42 |
+
} );
|
43 |
+
} );
|
44 |
+
|
45 |
+
} );
|
46 |
+
|
47 |
+
|
48 |
+
} ( jQuery, window ) );
|
controls/ooohboi-commentz.php
CHANGED
@@ -60,7 +60,7 @@ class OoohBoi_Commentz {
|
|
60 |
self::$should_script_enqueue = true;
|
61 |
self::enqueue_scripts();
|
62 |
|
63 |
-
remove_action( 'elementor/frontend/
|
64 |
}
|
65 |
}
|
66 |
|
60 |
self::$should_script_enqueue = true;
|
61 |
self::enqueue_scripts();
|
62 |
|
63 |
+
remove_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
|
64 |
}
|
65 |
}
|
66 |
|
controls/ooohboi-glider.php
CHANGED
@@ -862,40 +862,38 @@ class OoohBoi_Glider {
|
|
862 |
]
|
863 |
);
|
864 |
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
'
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
'
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
);
|
898 |
-
}
|
899 |
|
900 |
$element->end_controls_section();
|
901 |
|
862 |
]
|
863 |
);
|
864 |
|
865 |
+
// ------------------------------------------------------------------------- CONTROL: Glider ID
|
866 |
+
$element->add_control(
|
867 |
+
'_ob_glider_control_id_description',
|
868 |
+
[
|
869 |
+
'label' => esc_html__( 'Control Glider externally!', 'ooohboi-animator' ),
|
870 |
+
'type' => Controls_Manager::RAW_HTML,
|
871 |
+
'raw' => __( 'You can control this Glider instance from any link on this page by adding the custom class name to the link.
|
872 |
+
Copy the text entirely and append the slide number to go to at the end. For instance: glider-NNNNNNN-gotoslide-3', 'ooohboi-animator' ),
|
873 |
+
'content_classes' => 'elementor-control-field-description',
|
874 |
+
'separator' => 'before',
|
875 |
+
'condition' => [
|
876 |
+
'_ob_glider_is_slider' => 'yes',
|
877 |
+
],
|
878 |
+
]
|
879 |
+
);
|
880 |
+
$element->add_control(
|
881 |
+
'_ob_glider_control_id',
|
882 |
+
[
|
883 |
+
'label' => __( 'This Glider control class', 'ooohboi-steroids' ),
|
884 |
+
'type' => Controls_Manager::TEXT,
|
885 |
+
'render_type' => 'ui',
|
886 |
+
'description' => '<script>
|
887 |
+
var $obWidgetID = jQuery(\'.elementor-control-_ob_glider_control_id input\');
|
888 |
+
$obWidgetID.val("glider-" + elementor.getCurrentElement().model.id + "-gotoslide-");
|
889 |
+
$obWidgetID.attr(\'readonly\', true);
|
890 |
+
$obWidgetID.on(\'focus click\', function() { this.select();document.execCommand(\'copy\'); });
|
891 |
+
</script>',
|
892 |
+
'condition' => [
|
893 |
+
'_ob_glider_is_slider' => 'yes',
|
894 |
+
],
|
895 |
+
]
|
896 |
+
);
|
|
|
|
|
897 |
|
898 |
$element->end_controls_section();
|
899 |
|
controls/ooohboi-postman.php
ADDED
@@ -0,0 +1,647 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
use Elementor\Controls_Manager;
|
3 |
+
use Elementor\Controls_Stack;
|
4 |
+
use Elementor\Element_Base;
|
5 |
+
use Elementor\Group_Control_Typography;
|
6 |
+
use Elementor\Core\Schemes\Typography;
|
7 |
+
use Elementor\Group_Control_Background;
|
8 |
+
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit; // Exit if accessed directly.
|
11 |
+
}
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Main OoohBoi OoohBoi_Postman
|
15 |
+
*
|
16 |
+
* The main class that initiates and runs the plugin.
|
17 |
+
*
|
18 |
+
* @since 2.0.0
|
19 |
+
*/
|
20 |
+
class OoohBoi_Postman {
|
21 |
+
|
22 |
+
static $should_script_enqueue = false;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Initialize
|
26 |
+
*
|
27 |
+
* @since 2.0.0
|
28 |
+
*
|
29 |
+
* @access public
|
30 |
+
*/
|
31 |
+
public static function init() {
|
32 |
+
|
33 |
+
add_action( 'elementor/element/theme-post-content/section_style/after_section_end', [ __CLASS__, 'add_section' ] );
|
34 |
+
add_action( 'elementor/element/text-editor/section_style/after_section_end', [ __CLASS__, 'add_section' ] );
|
35 |
+
add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
|
36 |
+
|
37 |
+
/* should enqueue? */
|
38 |
+
add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
|
39 |
+
/* add script */
|
40 |
+
add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
|
41 |
+
|
42 |
+
}
|
43 |
+
|
44 |
+
/* enqueue script JS */
|
45 |
+
public static function enqueue_scripts() {
|
46 |
+
|
47 |
+
$extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/postman-min.js';
|
48 |
+
|
49 |
+
if( file_exists( $extension_js ) ) {
|
50 |
+
wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
|
51 |
+
}
|
52 |
+
|
53 |
+
}
|
54 |
+
/* should enqueue? */
|
55 |
+
public static function should_script_enqueue( $element ) {
|
56 |
+
|
57 |
+
if( self::$should_script_enqueue ) return;
|
58 |
+
|
59 |
+
if( 'yes' == $element->get_settings_for_display( '_ob_postman_use' ) ) {
|
60 |
+
|
61 |
+
self::$should_script_enqueue = true;
|
62 |
+
self::enqueue_scripts();
|
63 |
+
|
64 |
+
remove_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
public static function add_attributes( $element ) {
|
69 |
+
|
70 |
+
if( ! in_array( $element->get_name(), [ 'theme-post-content', 'text-editor' ] ) ) return;
|
71 |
+
if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
|
72 |
+
|
73 |
+
$settings = $element->get_settings_for_display();
|
74 |
+
|
75 |
+
if ( isset( $settings[ '_ob_postman_use' ] ) && 'yes' === $settings[ '_ob_postman_use' ] ) {
|
76 |
+
|
77 |
+
$element->add_render_attribute( '_wrapper', [
|
78 |
+
'class' => 'ob-postman'
|
79 |
+
] );
|
80 |
+
|
81 |
+
}
|
82 |
+
|
83 |
+
}
|
84 |
+
|
85 |
+
public static function add_section( Element_Base $element ) {
|
86 |
+
|
87 |
+
$element->start_controls_section(
|
88 |
+
'_ob_postman',
|
89 |
+
[
|
90 |
+
'label' => 'P O S T M A N',
|
91 |
+
'type' => Controls_Manager::TAB_CONTENT,
|
92 |
+
]
|
93 |
+
);
|
94 |
+
|
95 |
+
// ------------------------------------------------------------------------- CONTROL: Yes 4 Comments !
|
96 |
+
$element->add_control(
|
97 |
+
'_ob_postman_use',
|
98 |
+
[
|
99 |
+
'label' => __( 'Enable Postman', 'ooohboi-steroids' ),
|
100 |
+
'description' => __( 'That will allow you to style up the elements of Post content', 'ooohboi-steroids' ),
|
101 |
+
'type' => Controls_Manager::SWITCHER,
|
102 |
+
'label_on' => __( 'Yes', 'ooohboi-steroids' ),
|
103 |
+
'label_off' => __( 'No', 'ooohboi-steroids' ),
|
104 |
+
'return_value' => 'yes',
|
105 |
+
'default' => 'no',
|
106 |
+
'separator' => 'after',
|
107 |
+
'frontend_available' => true,
|
108 |
+
]
|
109 |
+
);
|
110 |
+
|
111 |
+
// --------------------------------------------------------------------------------------------- CONTROL Paragraph styles
|
112 |
+
$element->add_control(
|
113 |
+
'_ob_postman_paragraph_popover',
|
114 |
+
[
|
115 |
+
'label' => __( 'Paragraph styles', 'ooohboi-steroids' ),
|
116 |
+
'type' => Controls_Manager::POPOVER_TOGGLE,
|
117 |
+
'frontend_available' => true,
|
118 |
+
'return_value' => 'yes',
|
119 |
+
'condition' => [
|
120 |
+
'_ob_postman_use' => 'yes',
|
121 |
+
],
|
122 |
+
]
|
123 |
+
);
|
124 |
+
|
125 |
+
$element->start_popover();
|
126 |
+
|
127 |
+
$element->add_responsive_control(
|
128 |
+
'_ob_postman_paragraph_padding',
|
129 |
+
[
|
130 |
+
'label' => __( 'Paragraph padding', 'ooohboi-steroids' ),
|
131 |
+
'type' => Controls_Manager::DIMENSIONS,
|
132 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
133 |
+
'default' => [
|
134 |
+
'unit' => 'px',
|
135 |
+
'size' => 0,
|
136 |
+
],
|
137 |
+
'selectors' => [
|
138 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
139 |
+
],
|
140 |
+
'condition' => [
|
141 |
+
'_ob_postman_use' => 'yes',
|
142 |
+
'_ob_postman_paragraph_popover' => 'yes',
|
143 |
+
],
|
144 |
+
]
|
145 |
+
);
|
146 |
+
$element->add_responsive_control(
|
147 |
+
'_ob_postman_paragraph_margin',
|
148 |
+
[
|
149 |
+
'label' => __( 'Paragraph margins', 'ooohboi-steroids' ),
|
150 |
+
'type' => Controls_Manager::DIMENSIONS,
|
151 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
152 |
+
'default' => [
|
153 |
+
'unit' => 'px',
|
154 |
+
'size' => 0,
|
155 |
+
],
|
156 |
+
'selectors' => [
|
157 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
158 |
+
],
|
159 |
+
'condition' => [
|
160 |
+
'_ob_postman_use' => 'yes',
|
161 |
+
'_ob_postman_paragraph_popover' => 'yes',
|
162 |
+
],
|
163 |
+
]
|
164 |
+
);
|
165 |
+
|
166 |
+
$element->end_popover(); // popover paragraphs margin
|
167 |
+
|
168 |
+
|
169 |
+
// --------------------------------------------------------------------------------------------- CONTROL Heading styles
|
170 |
+
$element->add_control(
|
171 |
+
'_ob_postman_headings_popover',
|
172 |
+
[
|
173 |
+
'label' => __( 'Heading styles', 'ooohboi-steroids' ),
|
174 |
+
'type' => Controls_Manager::POPOVER_TOGGLE,
|
175 |
+
'frontend_available' => true,
|
176 |
+
'return_value' => 'yes',
|
177 |
+
'condition' => [
|
178 |
+
'_ob_postman_use' => 'yes',
|
179 |
+
],
|
180 |
+
]
|
181 |
+
);
|
182 |
+
|
183 |
+
$element->start_popover();
|
184 |
+
|
185 |
+
// --------------------------------------------------------------------------------------------- CONTROL: Headings margin
|
186 |
+
$element->add_responsive_control(
|
187 |
+
'_ob_postman_headings_margin_h1',
|
188 |
+
[
|
189 |
+
'label' => __( 'H1 Margins', 'ooohboi-steroids' ),
|
190 |
+
'type' => Controls_Manager::DIMENSIONS,
|
191 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
192 |
+
'default' => [
|
193 |
+
'unit' => 'px',
|
194 |
+
'size' => 0,
|
195 |
+
],
|
196 |
+
'selectors' => [
|
197 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h1' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
198 |
+
],
|
199 |
+
'condition' => [
|
200 |
+
'_ob_postman_use' => 'yes',
|
201 |
+
'_ob_postman_headings_popover' => 'yes',
|
202 |
+
],
|
203 |
+
]
|
204 |
+
);
|
205 |
+
$element->add_responsive_control(
|
206 |
+
'_ob_postman_headings_margin_h2',
|
207 |
+
[
|
208 |
+
'label' => __( 'H2 Margins', 'ooohboi-steroids' ),
|
209 |
+
'type' => Controls_Manager::DIMENSIONS,
|
210 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
211 |
+
'default' => [
|
212 |
+
'unit' => 'px',
|
213 |
+
'size' => 0,
|
214 |
+
],
|
215 |
+
'selectors' => [
|
216 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h2' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
217 |
+
],
|
218 |
+
'condition' => [
|
219 |
+
'_ob_postman_use' => 'yes',
|
220 |
+
'_ob_postman_headings_popover' => 'yes',
|
221 |
+
],
|
222 |
+
]
|
223 |
+
);
|
224 |
+
$element->add_responsive_control(
|
225 |
+
'_ob_postman_headings_margin_h3',
|
226 |
+
[
|
227 |
+
'label' => __( 'H3 Margins', 'ooohboi-steroids' ),
|
228 |
+
'type' => Controls_Manager::DIMENSIONS,
|
229 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
230 |
+
'default' => [
|
231 |
+
'unit' => 'px',
|
232 |
+
'size' => 0,
|
233 |
+
],
|
234 |
+
'selectors' => [
|
235 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h3' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
236 |
+
],
|
237 |
+
'condition' => [
|
238 |
+
'_ob_postman_use' => 'yes',
|
239 |
+
'_ob_postman_headings_popover' => 'yes',
|
240 |
+
],
|
241 |
+
]
|
242 |
+
);
|
243 |
+
$element->add_responsive_control(
|
244 |
+
'_ob_postman_headings_margin_h4',
|
245 |
+
[
|
246 |
+
'label' => __( 'H4 Margins', 'ooohboi-steroids' ),
|
247 |
+
'type' => Controls_Manager::DIMENSIONS,
|
248 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
249 |
+
'default' => [
|
250 |
+
'unit' => 'px',
|
251 |
+
'size' => 0,
|
252 |
+
],
|
253 |
+
'selectors' => [
|
254 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h4' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
255 |
+
],
|
256 |
+
'condition' => [
|
257 |
+
'_ob_postman_use' => 'yes',
|
258 |
+
'_ob_postman_headings_popover' => 'yes',
|
259 |
+
],
|
260 |
+
]
|
261 |
+
);
|
262 |
+
$element->add_responsive_control(
|
263 |
+
'_ob_postman_headings_margin_h5',
|
264 |
+
[
|
265 |
+
'label' => __( 'H5 Margins', 'ooohboi-steroids' ),
|
266 |
+
'type' => Controls_Manager::DIMENSIONS,
|
267 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
268 |
+
'default' => [
|
269 |
+
'unit' => 'px',
|
270 |
+
'size' => 0,
|
271 |
+
],
|
272 |
+
'selectors' => [
|
273 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h5' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
274 |
+
],
|
275 |
+
'condition' => [
|
276 |
+
'_ob_postman_use' => 'yes',
|
277 |
+
'_ob_postman_headings_popover' => 'yes',
|
278 |
+
],
|
279 |
+
]
|
280 |
+
);
|
281 |
+
$element->add_responsive_control(
|
282 |
+
'_ob_postman_headings_margin_h6',
|
283 |
+
[
|
284 |
+
'label' => __( 'H6 Margins', 'ooohboi-steroids' ),
|
285 |
+
'type' => Controls_Manager::DIMENSIONS,
|
286 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
287 |
+
'default' => [
|
288 |
+
'unit' => 'px',
|
289 |
+
'size' => 0,
|
290 |
+
],
|
291 |
+
'selectors' => [
|
292 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h6' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
293 |
+
],
|
294 |
+
'condition' => [
|
295 |
+
'_ob_postman_use' => 'yes',
|
296 |
+
'_ob_postman_headings_popover' => 'yes',
|
297 |
+
],
|
298 |
+
]
|
299 |
+
);
|
300 |
+
$element->add_responsive_control(
|
301 |
+
'_ob_postman_headings_padding_all',
|
302 |
+
[
|
303 |
+
'label' => __( 'Padding - all', 'ooohboi-steroids' ),
|
304 |
+
'type' => Controls_Manager::DIMENSIONS,
|
305 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
306 |
+
'default' => [
|
307 |
+
'unit' => 'px',
|
308 |
+
'size' => 0,
|
309 |
+
],
|
310 |
+
'selectors' => [
|
311 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container h1,
|
312 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container h2,
|
313 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container h3,
|
314 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container h4,
|
315 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container h5,
|
316 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container h6' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
317 |
+
],
|
318 |
+
'condition' => [
|
319 |
+
'_ob_postman_use' => 'yes',
|
320 |
+
'_ob_postman_headings_popover' => 'yes',
|
321 |
+
],
|
322 |
+
]
|
323 |
+
);
|
324 |
+
|
325 |
+
$element->end_popover(); // popover headings margin
|
326 |
+
|
327 |
+
// --------------------------------------------------------------------------------------------- CONTROL lists styles
|
328 |
+
$element->add_control(
|
329 |
+
'_ob_postman_lists_popover',
|
330 |
+
[
|
331 |
+
'label' => __( 'Lists styles: UL and OL', 'ooohboi-steroids' ),
|
332 |
+
'type' => Controls_Manager::POPOVER_TOGGLE,
|
333 |
+
'frontend_available' => true,
|
334 |
+
'return_value' => 'yes',
|
335 |
+
'condition' => [
|
336 |
+
'_ob_postman_use' => 'yes',
|
337 |
+
],
|
338 |
+
]
|
339 |
+
);
|
340 |
+
|
341 |
+
$element->start_popover();
|
342 |
+
|
343 |
+
$element->add_responsive_control(
|
344 |
+
'_ob_postman_lists_padding',
|
345 |
+
[
|
346 |
+
'label' => __( 'Padding', 'ooohboi-steroids' ),
|
347 |
+
'type' => Controls_Manager::DIMENSIONS,
|
348 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
349 |
+
'default' => [
|
350 |
+
'unit' => 'px',
|
351 |
+
'size' => 0,
|
352 |
+
],
|
353 |
+
'selectors' => [
|
354 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container > ul,
|
355 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container > ol,
|
356 |
+
{{WRAPPER}}.ob-postman .elementor-text-editor > ul,
|
357 |
+
{{WRAPPER}}.ob-postman .elementor-text-editor > ol' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
358 |
+
],
|
359 |
+
'condition' => [
|
360 |
+
'_ob_postman_use' => 'yes',
|
361 |
+
'_ob_postman_lists_popover' => 'yes',
|
362 |
+
],
|
363 |
+
]
|
364 |
+
);
|
365 |
+
|
366 |
+
$element->add_responsive_control(
|
367 |
+
'_ob_postman_lists_margin',
|
368 |
+
[
|
369 |
+
'label' => __( 'Margins', 'ooohboi-steroids' ),
|
370 |
+
'type' => Controls_Manager::DIMENSIONS,
|
371 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
372 |
+
'default' => [
|
373 |
+
'unit' => 'px',
|
374 |
+
'size' => 0,
|
375 |
+
],
|
376 |
+
'selectors' => [
|
377 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ul, {{WRAPPER}}.ob-postman .elementor-widget-container ol' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
378 |
+
],
|
379 |
+
'condition' => [
|
380 |
+
'_ob_postman_use' => 'yes',
|
381 |
+
'_ob_postman_lists_popover' => 'yes',
|
382 |
+
],
|
383 |
+
]
|
384 |
+
);
|
385 |
+
$element->add_responsive_control(
|
386 |
+
'_ob_postman_lists_margin_nested',
|
387 |
+
[
|
388 |
+
'label' => __( 'Margins - nested lists', 'ooohboi-steroids' ),
|
389 |
+
'type' => Controls_Manager::DIMENSIONS,
|
390 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
391 |
+
'default' => [
|
392 |
+
'unit' => 'px',
|
393 |
+
'size' => 0,
|
394 |
+
],
|
395 |
+
'selectors' => [
|
396 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ul li ul,
|
397 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container ol li ol,
|
398 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container ul li ol,
|
399 |
+
{{WRAPPER}}.ob-postman .elementor-widget-container ol li ul' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
400 |
+
],
|
401 |
+
'condition' => [
|
402 |
+
'_ob_postman_use' => 'yes',
|
403 |
+
'_ob_postman_lists_popover' => 'yes',
|
404 |
+
],
|
405 |
+
]
|
406 |
+
);
|
407 |
+
$element->add_responsive_control(
|
408 |
+
'_ob_postman_lists_spacing',
|
409 |
+
[
|
410 |
+
'label' => __( 'Items spacing', 'ooohboi-steroids' ),
|
411 |
+
'type' => Controls_Manager::DIMENSIONS,
|
412 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
413 |
+
'default' => [
|
414 |
+
'unit' => 'px',
|
415 |
+
'size' => 0,
|
416 |
+
],
|
417 |
+
'selectors' => [
|
418 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container li' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
419 |
+
],
|
420 |
+
'condition' => [
|
421 |
+
'_ob_postman_use' => 'yes',
|
422 |
+
'_ob_postman_lists_popover' => 'yes',
|
423 |
+
],
|
424 |
+
]
|
425 |
+
);
|
426 |
+
$element->add_responsive_control(
|
427 |
+
'_ob_postman_lists_type_ul',
|
428 |
+
[
|
429 |
+
'label' => __( 'List type UL', 'ooohboi-steroids' ),
|
430 |
+
'type' => Controls_Manager::SELECT,
|
431 |
+
'default' => 'inherit',
|
432 |
+
'options' => [
|
433 |
+
'inherit' => __( 'Default', 'ooohboi-steroids' ),
|
434 |
+
'circle' => __( 'Circle', 'ooohboi-steroids' ),
|
435 |
+
'square' => __( 'Square', 'ooohboi-steroids' ),
|
436 |
+
'disc' => __( 'Disc', 'ooohboi-steroids' ),
|
437 |
+
'none' => __( 'Custom', 'ooohboi-steroids' ),
|
438 |
+
],
|
439 |
+
'selectors' => [
|
440 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ul' => 'list-style-type: {{VALUE}};',
|
441 |
+
],
|
442 |
+
'condition' => [
|
443 |
+
'_ob_postman_use' => 'yes',
|
444 |
+
'_ob_postman_lists_popover' => 'yes',
|
445 |
+
],
|
446 |
+
]
|
447 |
+
);
|
448 |
+
$element->add_responsive_control(
|
449 |
+
'_ob_postman_lists_type_ul_alt',
|
450 |
+
[
|
451 |
+
'label' => __( 'List type UL - custom', 'ooohboi-steroids' ),
|
452 |
+
'description' => __( 'It has to be Unicode HEX escape, like \2192, or \00A9', 'ooohboi-steroids' ),
|
453 |
+
'type' => Controls_Manager::TEXT,
|
454 |
+
'selectors' => [
|
455 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ul > li:before' => 'content: "{{VALUE}}\00a0 ";',
|
456 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ul > li' => 'display: block;',
|
457 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ul' => 'padding: 0;',
|
458 |
+
],
|
459 |
+
'condition' => [
|
460 |
+
'_ob_postman_use' => 'yes',
|
461 |
+
'_ob_postman_lists_popover' => 'yes',
|
462 |
+
'_ob_postman_lists_type_ul' => 'none',
|
463 |
+
],
|
464 |
+
]
|
465 |
+
);
|
466 |
+
$element->add_responsive_control(
|
467 |
+
'_ob_postman_lists_type_ol',
|
468 |
+
[
|
469 |
+
'label' => __( 'List type OL', 'ooohboi-steroids' ),
|
470 |
+
'type' => Controls_Manager::SELECT,
|
471 |
+
'default' => 'inherit',
|
472 |
+
'options' => [
|
473 |
+
'inherit' => __( 'Default', 'ooohboi-steroids' ),
|
474 |
+
'decimal' => __( 'Decimal', 'ooohboi-steroids' ),
|
475 |
+
'georgian' => __( 'Georgian', 'ooohboi-steroids' ),
|
476 |
+
'upper-alpha' => __( 'Upper alpha', 'ooohboi-steroids' ),
|
477 |
+
'none' => __( 'Custom', 'ooohboi-steroids' ),
|
478 |
+
],
|
479 |
+
'selectors' => [
|
480 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ol' => 'list-style-type: {{VALUE}};',
|
481 |
+
],
|
482 |
+
'condition' => [
|
483 |
+
'_ob_postman_use' => 'yes',
|
484 |
+
'_ob_postman_lists_popover' => 'yes',
|
485 |
+
],
|
486 |
+
]
|
487 |
+
);
|
488 |
+
$element->add_responsive_control(
|
489 |
+
'_ob_postman_lists_type_ol_alt',
|
490 |
+
[
|
491 |
+
'label' => __( 'List type OL - custom', 'ooohboi-steroids' ),
|
492 |
+
'description' => __( 'It has to be Unicode HEX escape, like \2192, or \00A9', 'ooohboi-steroids' ),
|
493 |
+
'type' => Controls_Manager::TEXT,
|
494 |
+
'selectors' => [
|
495 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ol > li:before' => 'content: "{{VALUE}}\00a0 ";',
|
496 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ol > li' => 'display: block;',
|
497 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container ol' => 'padding: 0;',
|
498 |
+
],
|
499 |
+
'condition' => [
|
500 |
+
'_ob_postman_use' => 'yes',
|
501 |
+
'_ob_postman_lists_popover' => 'yes',
|
502 |
+
'_ob_postman_lists_type_ol' => 'none',
|
503 |
+
],
|
504 |
+
]
|
505 |
+
);
|
506 |
+
|
507 |
+
$element->end_popover(); // popover lists style
|
508 |
+
|
509 |
+
// --------------------------------------------------------------------------------------------- CONTROL quotes styles
|
510 |
+
$element->add_control(
|
511 |
+
'_ob_postman_quotes_fake_descr',
|
512 |
+
[
|
513 |
+
'type' => Controls_Manager::RAW_HTML,
|
514 |
+
'label' => __( 'Quotations', 'ooohboi-steroids' ),
|
515 |
+
'raw' => __( 'Style up the Post Content Quotations', 'ooohboi-steroids' ),
|
516 |
+
'content_classes' => 'elementor-control-field-description',
|
517 |
+
'condition' => [
|
518 |
+
'_ob_postman_use' => 'yes',
|
519 |
+
],
|
520 |
+
]
|
521 |
+
);
|
522 |
+
|
523 |
+
$element->add_control(
|
524 |
+
'_ob_postman_quotes_color',
|
525 |
+
[
|
526 |
+
'label' => __( 'Quotation Color', 'ooohboi-steroids' ),
|
527 |
+
'type' => Controls_Manager::COLOR,
|
528 |
+
'selectors' => [
|
529 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container blockquote > p' => 'color: {{VALUE}};',
|
530 |
+
],
|
531 |
+
'condition' => [
|
532 |
+
'_ob_postman_use' => 'yes',
|
533 |
+
],
|
534 |
+
]
|
535 |
+
);
|
536 |
+
$element->add_responsive_control(
|
537 |
+
'_ob_postman_quotes_margin',
|
538 |
+
[
|
539 |
+
'label' => __( 'Quotation margin', 'ooohboi-steroids' ),
|
540 |
+
'type' => Controls_Manager::DIMENSIONS,
|
541 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
542 |
+
'default' => [
|
543 |
+
'unit' => 'px',
|
544 |
+
'size' => 0,
|
545 |
+
],
|
546 |
+
'selectors' => [
|
547 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container blockquote' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
548 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container blockquote p' => 'margin: 0;',
|
549 |
+
],
|
550 |
+
'condition' => [
|
551 |
+
'_ob_postman_use' => 'yes',
|
552 |
+
],
|
553 |
+
]
|
554 |
+
);
|
555 |
+
$element->add_group_control(
|
556 |
+
Group_Control_Typography::get_type(),
|
557 |
+
[
|
558 |
+
'name' => '_ob_postman_quotes_typography',
|
559 |
+
'label' => __( 'Quotation Typography', 'ooohboi-steroids' ),
|
560 |
+
'selector' => '{{WRAPPER}}.ob-postman .elementor-widget-container blockquote > p',
|
561 |
+
'condition' => [
|
562 |
+
'_ob_postman_use' => 'yes',
|
563 |
+
],
|
564 |
+
]
|
565 |
+
);
|
566 |
+
|
567 |
+
$element->add_control(
|
568 |
+
'_ob_postman_quotes_cite_color',
|
569 |
+
[
|
570 |
+
'label' => __( 'Cite color', 'ooohboi-steroids' ),
|
571 |
+
'type' => Controls_Manager::COLOR,
|
572 |
+
'selectors' => [
|
573 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container blockquote cite' => 'color: {{VALUE}};',
|
574 |
+
],
|
575 |
+
'condition' => [
|
576 |
+
'_ob_postman_use' => 'yes',
|
577 |
+
],
|
578 |
+
]
|
579 |
+
);
|
580 |
+
$element->add_responsive_control(
|
581 |
+
'_ob_postman_quotes_cite_margin',
|
582 |
+
[
|
583 |
+
'label' => __( 'Cite margin', 'ooohboi-steroids' ),
|
584 |
+
'type' => Controls_Manager::DIMENSIONS,
|
585 |
+
'size_units' => [ 'px', 'em', 'rem', '%' ],
|
586 |
+
'default' => [
|
587 |
+
'unit' => 'px',
|
588 |
+
'size' => 0,
|
589 |
+
],
|
590 |
+
'selectors' => [
|
591 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container blockquote cite' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; display: block;',
|
592 |
+
],
|
593 |
+
'condition' => [
|
594 |
+
'_ob_postman_use' => 'yes',
|
595 |
+
],
|
596 |
+
]
|
597 |
+
);
|
598 |
+
$element->add_group_control(
|
599 |
+
Group_Control_Typography::get_type(),
|
600 |
+
[
|
601 |
+
'name' => '_ob_postman_quotes_cite_typography',
|
602 |
+
'label' => __( 'Cite typography', 'ooohboi-steroids' ),
|
603 |
+
'selector' => '{{WRAPPER}}.ob-postman .elementor-widget-container blockquote cite',
|
604 |
+
'condition' => [
|
605 |
+
'_ob_postman_use' => 'yes',
|
606 |
+
],
|
607 |
+
]
|
608 |
+
);
|
609 |
+
$element->add_group_control(
|
610 |
+
Group_Control_Background::get_type(),
|
611 |
+
[
|
612 |
+
'name' => '_ob_postman_quotes_bg',
|
613 |
+
'types' => [ 'classic' ],
|
614 |
+
'selector' => '{{WRAPPER}}.ob-postman .elementor-widget-container blockquote::before',
|
615 |
+
'condition' => [
|
616 |
+
'_ob_postman_use' => 'yes',
|
617 |
+
],
|
618 |
+
]
|
619 |
+
);
|
620 |
+
$element->add_responsive_control(
|
621 |
+
'_ob_postman_quotes_bg_opacity',
|
622 |
+
[
|
623 |
+
'label' => __( 'Background opacity', 'ooohboi-steroids' ),
|
624 |
+
'type' => Controls_Manager::SLIDER,
|
625 |
+
'default' => [
|
626 |
+
'size' => 1,
|
627 |
+
],
|
628 |
+
'range' => [
|
629 |
+
'px' => [
|
630 |
+
'max' => 1,
|
631 |
+
'step' => 0.01,
|
632 |
+
],
|
633 |
+
],
|
634 |
+
'selectors' => [
|
635 |
+
'{{WRAPPER}}.ob-postman .elementor-widget-container blockquote::before' => 'opacity: {{SIZE}};',
|
636 |
+
],
|
637 |
+
'condition' => [
|
638 |
+
'_ob_postman_use' => 'yes',
|
639 |
+
'_ob_postman_quotes_bg_background' => [ 'classic' ],
|
640 |
+
],
|
641 |
+
]
|
642 |
+
);
|
643 |
+
$element->end_controls_section();
|
644 |
+
|
645 |
+
}
|
646 |
+
|
647 |
+
}
|
controls/ooohboi-tabbr.php
CHANGED
@@ -171,7 +171,7 @@ class OoohBoi_Tabbr {
|
|
171 |
]
|
172 |
);
|
173 |
|
174 |
-
// ------------------------------------------------------------------------- CONTROL: Tabs
|
175 |
$element->add_responsive_control(
|
176 |
'_ob_tabbr_tabs_stack',
|
177 |
[
|
@@ -205,7 +205,8 @@ class OoohBoi_Tabbr {
|
|
205 |
'flex-end' => __( 'End', 'ooohboi-steroids' ),
|
206 |
],
|
207 |
'selectors' => [
|
208 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'justify-content: {{VALUE}};',
|
|
|
209 |
],
|
210 |
'condition' => [
|
211 |
'_ob_use_tabbr' => 'yes',
|
@@ -213,7 +214,8 @@ class OoohBoi_Tabbr {
|
|
213 |
'device_args' => [
|
214 |
Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [
|
215 |
'selectors' => [
|
216 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'justify-content: {{_ob_tabbr_tabs_alignment_tablet.VALUE}};',
|
|
|
217 |
],
|
218 |
'condition' => [
|
219 |
'_ob_use_tabbr' => 'yes',
|
@@ -221,7 +223,8 @@ class OoohBoi_Tabbr {
|
|
221 |
],
|
222 |
Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [
|
223 |
'selectors' => [
|
224 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'justify-content: {{_ob_tabbr_tabs_alignment_mobile.VALUE}};',
|
|
|
225 |
],
|
226 |
'condition' => [
|
227 |
'_ob_use_tabbr' => 'yes',
|
@@ -231,90 +234,64 @@ class OoohBoi_Tabbr {
|
|
231 |
]
|
232 |
);
|
233 |
|
234 |
-
// --------------------------------------------------------------------------------------------- CONTROL: Tabbr
|
235 |
$element->add_responsive_control(
|
236 |
'_ob_tab_width',
|
237 |
[
|
238 |
'label' => __( 'Tabs width', 'ooohboi-steroids' ),
|
239 |
'description' => __( 'Enter any acceptable CSS value; 125px, 5vw, calc(30% - 10px), clamp(50px, 5vw + 10px, 155px), 12% ...', 'ooohboi-steroids' ),
|
240 |
'type' => Controls_Manager::TEXT,
|
241 |
-
'default' => '
|
242 |
'selectors' => [
|
243 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-
|
|
|
244 |
],
|
245 |
'condition' => [
|
246 |
'_ob_use_tabbr' => 'yes',
|
247 |
-
'_ob_tabbr_tabs_position' => [ 'row' ],
|
248 |
],
|
249 |
'device_args' => [
|
250 |
Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [
|
251 |
'selectors' => [
|
252 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-
|
|
|
253 |
],
|
254 |
'condition' => [
|
255 |
'_ob_use_tabbr' => 'yes',
|
256 |
-
'_ob_tabbr_tabs_position_tablet' => [ 'row' ],
|
257 |
],
|
258 |
],
|
259 |
Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [
|
260 |
'selectors' => [
|
261 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-
|
|
|
262 |
],
|
263 |
'condition' => [
|
264 |
'_ob_use_tabbr' => 'yes',
|
265 |
-
'_ob_tabbr_tabs_position_mobile' => [ 'row' ],
|
266 |
],
|
267 |
],
|
268 |
],
|
269 |
]
|
270 |
);
|
271 |
-
/*
|
272 |
-
// ------------------------------------------------------------------------- CONTROL: Tabs wrappr PADDING
|
273 |
-
$element->add_responsive_control(
|
274 |
-
'_ob_tabs_wrappr_padding',
|
275 |
-
[
|
276 |
-
'label' => __( 'Tabs Wrapper Padding', 'ooohboi-steroids' ),
|
277 |
-
'type' => Controls_Manager::DIMENSIONS,
|
278 |
-
'size_units' => [ 'px', 'em', '%' ],
|
279 |
-
'default' => [
|
280 |
-
'unit' => 'px',
|
281 |
-
'size' => 0,
|
282 |
-
],
|
283 |
-
'selectors' => [
|
284 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
285 |
-
],
|
286 |
-
'condition' => [
|
287 |
-
'_ob_use_tabbr' => 'yes',
|
288 |
-
],
|
289 |
-
]
|
290 |
-
);
|
291 |
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
'
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
'unit' => 'px',
|
301 |
-
'size' => 0,
|
302 |
-
],
|
303 |
-
'selectors' => [
|
304 |
-
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
305 |
-
],
|
306 |
'condition' => [
|
307 |
'_ob_use_tabbr' => 'yes',
|
308 |
],
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
// ------------------------------------------------------------------------- CONTROL: Tabs wrappr border
|
313 |
$element->add_group_control(
|
314 |
Group_Control_Border::get_type(),
|
315 |
[
|
316 |
'name' => '_ob_tabs_wrappr_border',
|
317 |
-
'label' => __( 'Tabs
|
318 |
'separator' => 'before',
|
319 |
'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper',
|
320 |
'condition' => [
|
@@ -322,6 +299,20 @@ class OoohBoi_Tabbr {
|
|
322 |
],
|
323 |
]
|
324 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
|
326 |
// --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
|
327 |
$element->add_control(
|
171 |
]
|
172 |
);
|
173 |
|
174 |
+
// ------------------------------------------------------------------------- CONTROL: Tabs stack
|
175 |
$element->add_responsive_control(
|
176 |
'_ob_tabbr_tabs_stack',
|
177 |
[
|
205 |
'flex-end' => __( 'End', 'ooohboi-steroids' ),
|
206 |
],
|
207 |
'selectors' => [
|
208 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper .elementor-tab-title' => 'justify-content: {{VALUE}};',
|
209 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'align-self: {{VALUE}};',
|
210 |
],
|
211 |
'condition' => [
|
212 |
'_ob_use_tabbr' => 'yes',
|
214 |
'device_args' => [
|
215 |
Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [
|
216 |
'selectors' => [
|
217 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper .elementor-tab-title' => 'justify-content: {{_ob_tabbr_tabs_alignment_tablet.VALUE}};',
|
218 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'align-self: {{_ob_tabbr_tabs_alignment_tablet.VALUE}};',
|
219 |
],
|
220 |
'condition' => [
|
221 |
'_ob_use_tabbr' => 'yes',
|
223 |
],
|
224 |
Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [
|
225 |
'selectors' => [
|
226 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper .elementor-tab-title' => 'justify-content: {{_ob_tabbr_tabs_alignment_mobile.VALUE}};',
|
227 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'align-self: {{_ob_tabbr_tabs_alignment_mobile.VALUE}};',
|
228 |
],
|
229 |
'condition' => [
|
230 |
'_ob_use_tabbr' => 'yes',
|
234 |
]
|
235 |
);
|
236 |
|
237 |
+
// --------------------------------------------------------------------------------------------- CONTROL: Tabbr tabs width (vertical only!!!)
|
238 |
$element->add_responsive_control(
|
239 |
'_ob_tab_width',
|
240 |
[
|
241 |
'label' => __( 'Tabs width', 'ooohboi-steroids' ),
|
242 |
'description' => __( 'Enter any acceptable CSS value; 125px, 5vw, calc(30% - 10px), clamp(50px, 5vw + 10px, 155px), 12% ...', 'ooohboi-steroids' ),
|
243 |
'type' => Controls_Manager::TEXT,
|
244 |
+
'default' => '100%',
|
245 |
'selectors' => [
|
246 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-wrapper' => 'min-width: {{VALUE}}; width: {{VALUE}};',
|
247 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-content-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-content-wrapper' => 'width: 100%;',
|
248 |
],
|
249 |
'condition' => [
|
250 |
'_ob_use_tabbr' => 'yes',
|
|
|
251 |
],
|
252 |
'device_args' => [
|
253 |
Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [
|
254 |
'selectors' => [
|
255 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-wrapper' => 'min-width: {{_ob_tab_width_tablet.VALUE}}; width: {{_ob_tab_width_tablet.VALUE}};',
|
256 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-content-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-content-wrapper' => 'width: 100%;',
|
257 |
],
|
258 |
'condition' => [
|
259 |
'_ob_use_tabbr' => 'yes',
|
|
|
260 |
],
|
261 |
],
|
262 |
Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [
|
263 |
'selectors' => [
|
264 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-wrapper' => 'min-width: {{_ob_tab_width_mobile.VALUE}}; width: {{_ob_tab_width_mobile.VALUE}};',
|
265 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-content-wrapper, {{WRAPPER}}.ob-use-tabbr.elementor-tabs-view-horizontal .elementor-tabs-content-wrapper' => 'width: 100%;',
|
266 |
],
|
267 |
'condition' => [
|
268 |
'_ob_use_tabbr' => 'yes',
|
|
|
269 |
],
|
270 |
],
|
271 |
],
|
272 |
]
|
273 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
|
275 |
+
// --------------------------------------------------------------------------------------------- Tabs BACKGROUND
|
276 |
+
$element->add_group_control(
|
277 |
+
Group_Control_Background::get_type(),
|
278 |
+
[
|
279 |
+
'name' => '_ob_tab_bg',
|
280 |
+
'types' => [ 'classic', 'gradient' ],
|
281 |
+
'exclude' => [ 'image' ],
|
282 |
+
'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper',
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
'condition' => [
|
284 |
'_ob_use_tabbr' => 'yes',
|
285 |
],
|
286 |
+
]
|
287 |
+
);
|
288 |
+
|
289 |
// ------------------------------------------------------------------------- CONTROL: Tabs wrappr border
|
290 |
$element->add_group_control(
|
291 |
Group_Control_Border::get_type(),
|
292 |
[
|
293 |
'name' => '_ob_tabs_wrappr_border',
|
294 |
+
'label' => __( 'Tabs border', 'ooohboi-steroids' ),
|
295 |
'separator' => 'before',
|
296 |
'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper',
|
297 |
'condition' => [
|
299 |
],
|
300 |
]
|
301 |
);
|
302 |
+
$element->add_responsive_control(
|
303 |
+
'_ob_tabs_wrappr_bord_rad',
|
304 |
+
[
|
305 |
+
'label' => __( 'Tabs border radius', 'ooohboi-steroids' ),
|
306 |
+
'type' => Controls_Manager::DIMENSIONS,
|
307 |
+
'size_units' => [ 'px', '%' ],
|
308 |
+
'selectors' => [
|
309 |
+
'{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
310 |
+
],
|
311 |
+
'condition' => [
|
312 |
+
'_ob_use_tabbr' => 'yes',
|
313 |
+
],
|
314 |
+
]
|
315 |
+
);
|
316 |
|
317 |
// --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
|
318 |
$element->add_control(
|
inc/common-functions.php
CHANGED
@@ -253,6 +253,13 @@ $fields[] = array(
|
|
253 |
'description' => sprintf( __( '%sStyle up your tabs like a rock star%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
|
254 |
'default' => 'yes',
|
255 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
),
|
257 |
);
|
258 |
|
253 |
'description' => sprintf( __( '%sStyle up your tabs like a rock star%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
|
254 |
'default' => 'yes',
|
255 |
),
|
256 |
+
array(
|
257 |
+
'id' => 'ob_use_postman',
|
258 |
+
'title' => 'POSTMAN',
|
259 |
+
'type' => 'switcher',
|
260 |
+
'description' => sprintf( __( '%sStyle up the Post Content widget elements%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
|
261 |
+
'default' => 'yes',
|
262 |
+
),
|
263 |
),
|
264 |
);
|
265 |
|
inc/img/postman.png
ADDED
Binary file
|
inc/img/tabbr.png
DELETED
Binary file
|
inc/img/tabbr2.png
ADDED
Binary file
|
inc/info/ob-landing.php
CHANGED
@@ -10,82 +10,39 @@
|
|
10 |
|
11 |
<div class="col-8">
|
12 |
|
13 |
-
<h3>What's new
|
14 |
<p>
|
15 |
-
<strong>
|
16 |
</p>
|
17 |
<p>
|
18 |
-
|
19 |
-
From now on you no longer need anything else but the TABBR extension.
|
20 |
</p>
|
21 |
<p>
|
22 |
-
<img src="<?php echo SFE_DIR_URL . 'img/
|
23 |
</p>
|
24 |
<p>
|
25 |
-
|
26 |
</p>
|
27 |
<p>
|
28 |
-
|
29 |
</p>
|
30 |
|
31 |
-
<h3>
|
32 |
-
<p>
|
33 |
-
Some new options added to the Container Extras! From now on you can calc() Container's Min Height or make the Container hyperlink.
|
34 |
-
</p>
|
35 |
-
<p>
|
36 |
-
Overlaiz extension is back to Containers! It's been off initially but many users wanted it back so there you have it :)
|
37 |
-
</p>
|
38 |
-
<p>
|
39 |
-
Widget Stalker extension has been merged with Elementor's Layout panel which means it no longer exist as a separate panel for Elementor 3.6 and above.
|
40 |
-
</p>
|
41 |
-
<p>
|
42 |
-
Oh Animator big bug has been fixed (animations didn't perform on the front-end)
|
43 |
-
</p>
|
44 |
-
<p>
|
45 |
-
<strong>OH! ANIMATOR - Scroll triggered animations (beta)</strong>
|
46 |
-
</p>
|
47 |
-
<p>
|
48 |
-
If you enable/activate the "GSAP" and "ScrollTrigger" (see "Manage JS Libraries"), you'll be able to find a brand new panel under the editor's "Advanced" tab.<br/>
|
49 |
-
<strong>It'll work only if you have the "Flexbox Container" experiment active!</strong> (see Elementor > Settings > Experiments :: Flexbox Container)<br/>
|
50 |
-
Oh! Animator extension allows you to add the scroll triggered animation to any widget or the Container element. <br/>
|
51 |
-
In order to better understand how everything is supposed to work, please get familiar with the GSAP/ScrollTrigger basics.
|
52 |
-
</p>
|
53 |
<p>
|
54 |
-
|
55 |
-
</p>
|
56 |
-
<p>
|
57 |
-
<strong>Three.JS library added</strong>
|
58 |
-
</p>
|
59 |
-
<p>
|
60 |
-
three.js is a JavaScript-based WebGL engine that can run GPU-powered games and other graphics-powered apps straight from the browser. The three.js library provides many features and APIs for drawing 3D scenes in your browser
|
61 |
-
and now you can use it with Elementor.
|
62 |
-
</p>
|
63 |
-
<p>
|
64 |
-
<img src="<?php echo SFE_DIR_URL . 'img/three-js.png'; ?>" alt="three.js" />
|
65 |
-
</p>
|
66 |
-
<p>
|
67 |
-
<img src="<?php echo SFE_DIR_URL . 'img/three-option.png'; ?>" alt="three.js option" />
|
68 |
-
</p>
|
69 |
-
<p>
|
70 |
-
<strong>Flexbox Container Extras</strong>
|
71 |
-
</p>
|
72 |
-
<p>
|
73 |
-
Hence the fact that Elementor developers decided not to add the calc() option to the width of the Container element, it has been added on my own. I strongly believe that they will change their minds
|
74 |
-
(Flexbox Container is still in alpha tho) and add it subsequently, but until that happens the "free-hand" width shall be available as an extension. <br/>
|
75 |
-
Lemme know if anything else might be added to improve the existing/default settings!
|
76 |
</p>
|
77 |
<p>
|
78 |
-
|
|
|
79 |
</p>
|
80 |
<p>
|
81 |
-
|
82 |
</p>
|
83 |
<p>
|
84 |
-
|
85 |
-
I encourage you to test the Glider extension for Containers and report any issue!
|
86 |
</p>
|
87 |
<p>
|
88 |
-
|
89 |
</p>
|
90 |
|
91 |
</div>
|
10 |
|
11 |
<div class="col-8">
|
12 |
|
13 |
+
<h3>What's new v2.0.0?</h3>
|
14 |
<p>
|
15 |
+
<strong>1 new extension: POSTMAN</strong>
|
16 |
</p>
|
17 |
<p>
|
18 |
+
Style up Text Editor or Posts widget content (headings, paragraph, lists, blockquotes). Basic styling, I know, but better than nothing, right?
|
|
|
19 |
</p>
|
20 |
<p>
|
21 |
+
<img src="<?php echo SFE_DIR_URL . 'img/postman.png'; ?>" alt="Postman" />
|
22 |
</p>
|
23 |
<p>
|
24 |
+
GLIDER went thru the major overhaul! As far as I can tell, it should be working like a Swiss clock.
|
25 |
</p>
|
26 |
<p>
|
27 |
+
TABBR became even better now, I have added the option to position tabs any side and with a few more styling options it has become even more powerful than the PRO Tabs widget.
|
28 |
</p>
|
29 |
|
30 |
+
<h3>What's new since v1.9.9?</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
<p>
|
32 |
+
<strong>2 brand new extensions: TABBR and COUNTERZ + improvements</strong>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
</p>
|
34 |
<p>
|
35 |
+
TABBR extension allows you to style up default Tabs widget to the max! This was the most outdated and neglected widget of Elementor and many people rather installed a replacement widget.
|
36 |
+
From now on you no longer need anything else but the TABBR extension.
|
37 |
</p>
|
38 |
<p>
|
39 |
+
<img src="<?php echo SFE_DIR_URL . 'img/tabbr2.png'; ?>" alt="Tabbr" />
|
40 |
</p>
|
41 |
<p>
|
42 |
+
Frustrated by the lack of options to the Counter widget? Sure you are. COUNTERZ extension will make it shine again.
|
|
|
43 |
</p>
|
44 |
<p>
|
45 |
+
HOVERANIMATOR extension can now be disabled for the touch based devices...
|
46 |
</p>
|
47 |
|
48 |
</div>
|
lang/ooohboi-steroids.pot
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
5 |
-
"POT-Creation-Date: 2022-07-
|
6 |
-
"PO-Revision-Date: 2022-07-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -59,11 +59,11 @@ msgstr ""
|
|
59 |
#: controls/ooohboi-overlay-underlay.php:1398
|
60 |
#: controls/ooohboi-overlay-underlay.php:1417 controls/ooohboi-paginini.php:220
|
61 |
#: controls/ooohboi-perspektive.php:105 controls/ooohboi-photomorph.php:97
|
62 |
-
#: controls/ooohboi-photomorph.php:173 controls/ooohboi-
|
63 |
-
#: controls/ooohboi-
|
64 |
-
#: controls/ooohboi-
|
65 |
-
#: controls/ooohboi-
|
66 |
-
#: controls/ooohboi-widget-stalker.php:114
|
67 |
#: inc/exopite-simple-options/fields/upload.php:131
|
68 |
msgid "Yes"
|
69 |
msgstr ""
|
@@ -96,11 +96,11 @@ msgstr ""
|
|
96 |
#: controls/ooohboi-overlay-underlay.php:1399
|
97 |
#: controls/ooohboi-overlay-underlay.php:1418 controls/ooohboi-paginini.php:221
|
98 |
#: controls/ooohboi-perspektive.php:106 controls/ooohboi-photomorph.php:98
|
99 |
-
#: controls/ooohboi-photomorph.php:174 controls/ooohboi-
|
100 |
-
#: controls/ooohboi-
|
101 |
-
#: controls/ooohboi-
|
102 |
-
#: controls/ooohboi-
|
103 |
-
#: controls/ooohboi-widget-stalker.php:115
|
104 |
#: inc/exopite-simple-options/fields/upload.php:129
|
105 |
msgid "No"
|
106 |
msgstr ""
|
@@ -113,7 +113,7 @@ msgstr ""
|
|
113 |
#: controls/ooohboi-breaking-bad.php:337 controls/ooohboi-breaking-bad.php:466
|
114 |
#: controls/ooohboi-breaking-bad.php:591 controls/ooohboi-breaking-bad.php:615
|
115 |
#: controls/ooohboi-counterz.php:123 controls/ooohboi-imbox.php:114
|
116 |
-
#: controls/ooohboi-tabbr.php:
|
117 |
msgid "Start"
|
118 |
msgstr ""
|
119 |
|
@@ -125,7 +125,7 @@ msgstr ""
|
|
125 |
#: controls/ooohboi-counterz.php:227 controls/ooohboi-imbox.php:115
|
126 |
#: controls/ooohboi-oh-animator.php:353 controls/ooohboi-oh-animator.php:403
|
127 |
#: controls/ooohboi-oh-animator.php:465 controls/ooohboi-oh-animator.php:514
|
128 |
-
#: controls/ooohboi-tabbr.php:
|
129 |
msgid "Center"
|
130 |
msgstr ""
|
131 |
|
@@ -133,7 +133,7 @@ msgstr ""
|
|
133 |
#: controls/ooohboi-breaking-bad.php:316 controls/ooohboi-breaking-bad.php:339
|
134 |
#: controls/ooohboi-breaking-bad.php:468 controls/ooohboi-breaking-bad.php:593
|
135 |
#: controls/ooohboi-breaking-bad.php:617 controls/ooohboi-counterz.php:125
|
136 |
-
#: controls/ooohboi-imbox.php:116 controls/ooohboi-tabbr.php:
|
137 |
#: controls/ooohboi-widget-stalker.php:266
|
138 |
msgid "End"
|
139 |
msgstr ""
|
@@ -243,7 +243,7 @@ msgstr ""
|
|
243 |
#: controls/ooohboi-overlay-underlay.php:612
|
244 |
#: controls/ooohboi-overlay-underlay.php:1243 controls/ooohboi-pseudo.php:640
|
245 |
#: controls/ooohboi-pseudo.php:1286 controls/ooohboi-spacerat.php:254
|
246 |
-
#: controls/ooohboi-tabbr.php:
|
247 |
#: controls/ooohboi-widget-stalker.php:263
|
248 |
msgid "Auto"
|
249 |
msgstr ""
|
@@ -319,8 +319,7 @@ msgstr ""
|
|
319 |
#: controls/ooohboi-oh-animator.php:633 controls/ooohboi-oh-animator.php:658
|
320 |
#: controls/ooohboi-oh-animator.php:683 controls/ooohboi-oh-animator.php:770
|
321 |
#: controls/ooohboi-oh-animator.php:1056 controls/ooohboi-oh-animator.php:1173
|
322 |
-
#: controls/ooohboi-spacerat.php:126 controls/ooohboi-
|
323 |
-
#: controls/ooohboi-teleporter.php:78
|
324 |
msgid "None"
|
325 |
msgstr ""
|
326 |
|
@@ -396,8 +395,8 @@ msgstr ""
|
|
396 |
#: controls/ooohboi-commentz.php:792 controls/ooohboi-commentz.php:1031
|
397 |
#: controls/ooohboi-counterz.php:163 controls/ooohboi-counterz.php:262
|
398 |
#: controls/ooohboi-glider.php:335 controls/ooohboi-kontrolz.php:107
|
399 |
-
#: controls/ooohboi-paginini.php:59 controls/ooohboi-
|
400 |
-
#: controls/ooohboi-tabbr.php:
|
401 |
msgid "Padding"
|
402 |
msgstr ""
|
403 |
|
@@ -405,8 +404,8 @@ msgstr ""
|
|
405 |
#: controls/ooohboi-harakiri.php:378 controls/ooohboi-overlay-underlay.php:177
|
406 |
#: controls/ooohboi-overlay-underlay.php:817
|
407 |
#: controls/ooohboi-photomorph.php:112 controls/ooohboi-pseudo.php:186
|
408 |
-
#: controls/ooohboi-pseudo.php:845 controls/ooohboi-tabbr.php:
|
409 |
-
#: controls/ooohboi-tabbr.php:
|
410 |
msgid "Normal"
|
411 |
msgstr ""
|
412 |
|
@@ -446,9 +445,9 @@ msgstr ""
|
|
446 |
#: controls/ooohboi-overlay-underlay.php:1141 controls/ooohboi-paginini.php:146
|
447 |
#: controls/ooohboi-paginini.php:195 controls/ooohboi-pseudo.php:518
|
448 |
#: controls/ooohboi-pseudo.php:536 controls/ooohboi-pseudo.php:1165
|
449 |
-
#: controls/ooohboi-pseudo.php:1183 controls/ooohboi-tabbr.php:
|
450 |
-
#: controls/ooohboi-tabbr.php:
|
451 |
-
#: controls/ooohboi-tabbr.php:
|
452 |
msgid "Border"
|
453 |
msgstr ""
|
454 |
|
@@ -462,7 +461,7 @@ msgstr ""
|
|
462 |
#: controls/ooohboi-overlay-underlay.php:520
|
463 |
#: controls/ooohboi-overlay-underlay.php:1153 controls/ooohboi-paginini.php:154
|
464 |
#: controls/ooohboi-paginini.php:203 controls/ooohboi-pseudo.php:548
|
465 |
-
#: controls/ooohboi-pseudo.php:1195 controls/ooohboi-tabbr.php:
|
466 |
msgid "Border Radius"
|
467 |
msgstr ""
|
468 |
|
@@ -526,7 +525,7 @@ msgstr ""
|
|
526 |
#: controls/ooohboi-commentz.php:1051 controls/ooohboi-commentz.php:1115
|
527 |
#: controls/ooohboi-counterz.php:143 controls/ooohboi-counterz.php:242
|
528 |
#: controls/ooohboi-oh-animator.php:302 controls/ooohboi-paginini.php:75
|
529 |
-
#: controls/ooohboi-tabbr.php:
|
530 |
#: controls/ooohboi-widget-stalker.php:240
|
531 |
msgid "Margin"
|
532 |
msgstr ""
|
@@ -884,11 +883,11 @@ msgstr ""
|
|
884 |
msgid "Direction"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: controls/ooohboi-glider.php:726
|
888 |
msgid "Horizontal"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: controls/ooohboi-glider.php:727
|
892 |
msgid "Vertical"
|
893 |
msgstr ""
|
894 |
|
@@ -956,19 +955,19 @@ msgstr ""
|
|
956 |
msgid "Color - HOVER"
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: controls/ooohboi-harakiri.php:121 controls/ooohboi-tabbr.php:
|
960 |
msgid "Writing Mode"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: controls/ooohboi-harakiri.php:127 controls/ooohboi-tabbr.php:
|
964 |
msgid "Vertical LR"
|
965 |
msgstr ""
|
966 |
|
967 |
-
#: controls/ooohboi-harakiri.php:128 controls/ooohboi-tabbr.php:
|
968 |
msgid "Vertical RL"
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: controls/ooohboi-harakiri.php:145 controls/ooohboi-tabbr.php:
|
972 |
msgid "Flip"
|
973 |
msgstr ""
|
974 |
|
@@ -990,7 +989,8 @@ msgstr ""
|
|
990 |
#: controls/ooohboi-overlay-underlay.php:611
|
991 |
#: controls/ooohboi-overlay-underlay.php:1213
|
992 |
#: controls/ooohboi-overlay-underlay.php:1242
|
993 |
-
#: controls/ooohboi-photomorph.php:220 controls/ooohboi-
|
|
|
994 |
#: controls/ooohboi-pseudo.php:639 controls/ooohboi-pseudo.php:1256
|
995 |
#: controls/ooohboi-pseudo.php:1285 controls/ooohboi-spacerat.php:224
|
996 |
#: controls/ooohboi-spacerat.php:253 controls/ooohboi-videomasq.php:76
|
@@ -1004,7 +1004,8 @@ msgstr ""
|
|
1004 |
|
1005 |
#: controls/ooohboi-harakiri.php:176 controls/ooohboi-overlaiz.php:571
|
1006 |
#: controls/ooohboi-overlay-underlay.php:615
|
1007 |
-
#: controls/ooohboi-overlay-underlay.php:1246 controls/ooohboi-
|
|
|
1008 |
#: controls/ooohboi-pseudo.php:1289 controls/ooohboi-spacerat.php:257
|
1009 |
#: controls/ooohboi-videomasq.php:108
|
1010 |
msgid "Custom"
|
@@ -1143,7 +1144,7 @@ msgstr ""
|
|
1143 |
|
1144 |
#: controls/ooohboi-hover-animator.php:140 controls/ooohboi-icobox.php:81
|
1145 |
#: controls/ooohboi-imbox.php:82 controls/ooohboi-perspektive.php:263
|
1146 |
-
#: controls/ooohboi-tabbr.php:
|
1147 |
msgid "Hidden"
|
1148 |
msgstr ""
|
1149 |
|
@@ -2427,6 +2428,150 @@ msgstr ""
|
|
2427 |
msgid "Animation delay"
|
2428 |
msgstr ""
|
2429 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2430 |
#: controls/ooohboi-pseudo.php:110
|
2431 |
msgid "Enable Pseudo?"
|
2432 |
msgstr ""
|
@@ -2521,77 +2666,97 @@ msgstr ""
|
|
2521 |
msgid "Define Shadow"
|
2522 |
msgstr ""
|
2523 |
|
2524 |
-
#: controls/ooohboi-tabbr.php:
|
2525 |
msgid "Enable Tabbr?"
|
2526 |
msgstr ""
|
2527 |
|
2528 |
-
#: controls/ooohboi-tabbr.php:
|
2529 |
msgid "Tabs general"
|
2530 |
msgstr ""
|
2531 |
|
2532 |
-
#: controls/ooohboi-tabbr.php:
|
2533 |
msgid "General settings for all tabs"
|
2534 |
msgstr ""
|
2535 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2536 |
#: controls/ooohboi-tabbr.php:165
|
2537 |
-
msgid "
|
2538 |
msgstr ""
|
2539 |
|
2540 |
-
#: controls/ooohboi-tabbr.php:166
|
2541 |
-
msgid ""
|
2542 |
-
"Enter any acceptable CSS value; 125px, 5vw, calc(30% - 10px), clamp(50px, "
|
2543 |
-
"5vw + 10px, 155px), 12% ..."
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#: controls/ooohboi-tabbr.php:
|
|
|
|
|
|
|
|
|
2547 |
msgid "Tabs alignment"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
-
#: controls/ooohboi-tabbr.php:
|
2551 |
msgid "BEWARE! This will override the default (non-responsive) tabs alignment!"
|
2552 |
msgstr ""
|
2553 |
|
2554 |
-
#: controls/ooohboi-tabbr.php:
|
2555 |
-
msgid "Tabs
|
2556 |
msgstr ""
|
2557 |
|
2558 |
-
#: controls/ooohboi-tabbr.php:
|
2559 |
-
msgid "
|
|
|
|
|
2560 |
msgstr ""
|
2561 |
|
2562 |
-
#: controls/ooohboi-tabbr.php:
|
2563 |
msgid "Tabs Wrapper Border"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
-
#: controls/ooohboi-tabbr.php:
|
2567 |
msgid "Tab title"
|
2568 |
msgstr ""
|
2569 |
|
2570 |
-
#: controls/ooohboi-tabbr.php:
|
2571 |
msgid "Style up tab title"
|
2572 |
msgstr ""
|
2573 |
|
2574 |
-
#: controls/ooohboi-tabbr.php:
|
2575 |
msgid "Active"
|
2576 |
msgstr ""
|
2577 |
|
2578 |
-
#: controls/ooohboi-tabbr.php:
|
2579 |
msgid "Tab container"
|
2580 |
msgstr ""
|
2581 |
|
2582 |
-
#: controls/ooohboi-tabbr.php:
|
2583 |
msgid "Style up the tab container"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#: controls/ooohboi-tabbr.php:
|
2587 |
msgid "Inset border"
|
2588 |
msgstr ""
|
2589 |
|
2590 |
-
#: controls/ooohboi-tabbr.php:
|
2591 |
msgid "Max-height"
|
2592 |
msgstr ""
|
2593 |
|
2594 |
-
#: controls/ooohboi-tabbr.php:
|
2595 |
msgid "Scroll behaviour"
|
2596 |
msgstr ""
|
2597 |
|
@@ -2861,11 +3026,16 @@ msgstr ""
|
|
2861 |
msgid "%sStyle up your tabs like a rock star%s"
|
2862 |
msgstr ""
|
2863 |
|
2864 |
-
#: inc/common-functions.php:
|
|
|
|
|
|
|
|
|
|
|
2865 |
msgid "Manage JS Libraries"
|
2866 |
msgstr ""
|
2867 |
|
2868 |
-
#: inc/common-functions.php:
|
2869 |
#, php-format
|
2870 |
msgid ""
|
2871 |
"%sThe following libraries are currently available with Steroids for "
|
@@ -2873,56 +3043,56 @@ msgid ""
|
|
2873 |
"OFF.%s"
|
2874 |
msgstr ""
|
2875 |
|
2876 |
-
#: inc/common-functions.php:
|
2877 |
msgid "LOCOMOTIVE SCROLL"
|
2878 |
msgstr ""
|
2879 |
|
2880 |
-
#: inc/common-functions.php:
|
2881 |
#, php-format
|
2882 |
msgid ""
|
2883 |
"%1$sDetection of elements in viewport and smooth scrolling with parallax.%3$s"
|
2884 |
"%4$sSOURCE%5$s%2$s"
|
2885 |
msgstr ""
|
2886 |
|
2887 |
-
#: inc/common-functions.php:
|
2888 |
msgid "Enable for Tablets"
|
2889 |
msgstr ""
|
2890 |
|
2891 |
-
#: inc/common-functions.php:
|
2892 |
msgid "Enable for Mobiles"
|
2893 |
msgstr ""
|
2894 |
|
2895 |
-
#: inc/common-functions.php:
|
2896 |
msgid "Multiplier"
|
2897 |
msgstr ""
|
2898 |
|
2899 |
-
#: inc/common-functions.php:
|
2900 |
#, php-format
|
2901 |
msgid "%sBoost/reduce scrolling speed. 1 is the default.%s"
|
2902 |
msgstr ""
|
2903 |
|
2904 |
-
#: inc/common-functions.php:
|
2905 |
msgid "Refresh on resize?"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
-
#: inc/common-functions.php:
|
2909 |
msgid ""
|
2910 |
"Things get messy on resize. That will do the silent page refresh upon the "
|
2911 |
"window resize/orientationchange."
|
2912 |
msgstr ""
|
2913 |
|
2914 |
-
#: inc/common-functions.php:
|
2915 |
msgid "Enable freehand mode?"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
-
#: inc/common-functions.php:
|
2919 |
#, php-format
|
2920 |
msgid ""
|
2921 |
"That removes all the default %sdata-scroll-section%s attributes so you can "
|
2922 |
"set them at will."
|
2923 |
msgstr ""
|
2924 |
|
2925 |
-
#: inc/common-functions.php:
|
2926 |
#, php-format
|
2927 |
msgid ""
|
2928 |
"%1$s Cross-browser JavaScript library/API which is used to create and "
|
@@ -2930,40 +3100,40 @@ msgid ""
|
|
2930 |
"%2$s"
|
2931 |
msgstr ""
|
2932 |
|
2933 |
-
#: inc/common-functions.php:
|
2934 |
#, php-format
|
2935 |
msgid ""
|
2936 |
"%1$s A lightweight JavaScript animation library with a simple, yet powerful "
|
2937 |
"API.%3$s%4$sSOURCE%5$s%2$s"
|
2938 |
msgstr ""
|
2939 |
|
2940 |
-
#: inc/common-functions.php:
|
2941 |
#, php-format
|
2942 |
msgid ""
|
2943 |
"%1$s Create badass fluid and smooth transitions between your website's pages."
|
2944 |
"%3$s%4$sSOURCE%5$s%2$s"
|
2945 |
msgstr ""
|
2946 |
|
2947 |
-
#: inc/common-functions.php:
|
2948 |
#, php-format
|
2949 |
msgid ""
|
2950 |
"%1$sGreenSock's GSAP JavaScript animation library (including Draggable).%3$s"
|
2951 |
"%4$sSOURCE%5$s%2$s"
|
2952 |
msgstr ""
|
2953 |
|
2954 |
-
#: inc/common-functions.php:
|
2955 |
#, php-format
|
2956 |
msgid "%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s"
|
2957 |
msgstr ""
|
2958 |
|
2959 |
-
#: inc/common-functions.php:
|
2960 |
#, php-format
|
2961 |
msgid ""
|
2962 |
"%1$sAnimates the scroll position of the window or a DOM element.%3$s"
|
2963 |
"%4$sSOURCE%5$s%2$s"
|
2964 |
msgstr ""
|
2965 |
|
2966 |
-
#: inc/common-functions.php:
|
2967 |
#, php-format
|
2968 |
msgid ""
|
2969 |
"%1$sAnimate anything (SVG, DOM, canvas, generic objects, whatever) along a "
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: OoohBoi Steroids for Elementor\n"
|
5 |
+
"POT-Creation-Date: 2022-07-04 14:42+0200\n"
|
6 |
+
"PO-Revision-Date: 2022-07-04 14:42+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
59 |
#: controls/ooohboi-overlay-underlay.php:1398
|
60 |
#: controls/ooohboi-overlay-underlay.php:1417 controls/ooohboi-paginini.php:220
|
61 |
#: controls/ooohboi-perspektive.php:105 controls/ooohboi-photomorph.php:97
|
62 |
+
#: controls/ooohboi-photomorph.php:173 controls/ooohboi-postman.php:101
|
63 |
+
#: controls/ooohboi-pseudo.php:114 controls/ooohboi-searchcop.php:79
|
64 |
+
#: controls/ooohboi-shadough.php:50 controls/ooohboi-spacerat.php:101
|
65 |
+
#: controls/ooohboi-spacerat.php:378 controls/ooohboi-tabbr.php:95
|
66 |
+
#: controls/ooohboi-tabbr.php:328 controls/ooohboi-widget-stalker.php:114
|
67 |
#: inc/exopite-simple-options/fields/upload.php:131
|
68 |
msgid "Yes"
|
69 |
msgstr ""
|
96 |
#: controls/ooohboi-overlay-underlay.php:1399
|
97 |
#: controls/ooohboi-overlay-underlay.php:1418 controls/ooohboi-paginini.php:221
|
98 |
#: controls/ooohboi-perspektive.php:106 controls/ooohboi-photomorph.php:98
|
99 |
+
#: controls/ooohboi-photomorph.php:174 controls/ooohboi-postman.php:102
|
100 |
+
#: controls/ooohboi-pseudo.php:115 controls/ooohboi-searchcop.php:80
|
101 |
+
#: controls/ooohboi-shadough.php:51 controls/ooohboi-spacerat.php:102
|
102 |
+
#: controls/ooohboi-spacerat.php:379 controls/ooohboi-tabbr.php:96
|
103 |
+
#: controls/ooohboi-tabbr.php:329 controls/ooohboi-widget-stalker.php:115
|
104 |
#: inc/exopite-simple-options/fields/upload.php:129
|
105 |
msgid "No"
|
106 |
msgstr ""
|
113 |
#: controls/ooohboi-breaking-bad.php:337 controls/ooohboi-breaking-bad.php:466
|
114 |
#: controls/ooohboi-breaking-bad.php:591 controls/ooohboi-breaking-bad.php:615
|
115 |
#: controls/ooohboi-counterz.php:123 controls/ooohboi-imbox.php:114
|
116 |
+
#: controls/ooohboi-tabbr.php:203
|
117 |
msgid "Start"
|
118 |
msgstr ""
|
119 |
|
125 |
#: controls/ooohboi-counterz.php:227 controls/ooohboi-imbox.php:115
|
126 |
#: controls/ooohboi-oh-animator.php:353 controls/ooohboi-oh-animator.php:403
|
127 |
#: controls/ooohboi-oh-animator.php:465 controls/ooohboi-oh-animator.php:514
|
128 |
+
#: controls/ooohboi-tabbr.php:204 controls/ooohboi-widget-stalker.php:265
|
129 |
msgid "Center"
|
130 |
msgstr ""
|
131 |
|
133 |
#: controls/ooohboi-breaking-bad.php:316 controls/ooohboi-breaking-bad.php:339
|
134 |
#: controls/ooohboi-breaking-bad.php:468 controls/ooohboi-breaking-bad.php:593
|
135 |
#: controls/ooohboi-breaking-bad.php:617 controls/ooohboi-counterz.php:125
|
136 |
+
#: controls/ooohboi-imbox.php:116 controls/ooohboi-tabbr.php:205
|
137 |
#: controls/ooohboi-widget-stalker.php:266
|
138 |
msgid "End"
|
139 |
msgstr ""
|
243 |
#: controls/ooohboi-overlay-underlay.php:612
|
244 |
#: controls/ooohboi-overlay-underlay.php:1243 controls/ooohboi-pseudo.php:640
|
245 |
#: controls/ooohboi-pseudo.php:1286 controls/ooohboi-spacerat.php:254
|
246 |
+
#: controls/ooohboi-tabbr.php:620 controls/ooohboi-videomasq.php:105
|
247 |
#: controls/ooohboi-widget-stalker.php:263
|
248 |
msgid "Auto"
|
249 |
msgstr ""
|
319 |
#: controls/ooohboi-oh-animator.php:633 controls/ooohboi-oh-animator.php:658
|
320 |
#: controls/ooohboi-oh-animator.php:683 controls/ooohboi-oh-animator.php:770
|
321 |
#: controls/ooohboi-oh-animator.php:1056 controls/ooohboi-oh-animator.php:1173
|
322 |
+
#: controls/ooohboi-spacerat.php:126 controls/ooohboi-teleporter.php:78
|
|
|
323 |
msgid "None"
|
324 |
msgstr ""
|
325 |
|
395 |
#: controls/ooohboi-commentz.php:792 controls/ooohboi-commentz.php:1031
|
396 |
#: controls/ooohboi-counterz.php:163 controls/ooohboi-counterz.php:262
|
397 |
#: controls/ooohboi-glider.php:335 controls/ooohboi-kontrolz.php:107
|
398 |
+
#: controls/ooohboi-paginini.php:59 controls/ooohboi-postman.php:345
|
399 |
+
#: controls/ooohboi-tabbr.php:348 controls/ooohboi-tabbr.php:498
|
400 |
msgid "Padding"
|
401 |
msgstr ""
|
402 |
|
404 |
#: controls/ooohboi-harakiri.php:378 controls/ooohboi-overlay-underlay.php:177
|
405 |
#: controls/ooohboi-overlay-underlay.php:817
|
406 |
#: controls/ooohboi-photomorph.php:112 controls/ooohboi-pseudo.php:186
|
407 |
+
#: controls/ooohboi-pseudo.php:845 controls/ooohboi-tabbr.php:310
|
408 |
+
#: controls/ooohboi-tabbr.php:407 controls/ooohboi-teleporter.php:129
|
409 |
msgid "Normal"
|
410 |
msgstr ""
|
411 |
|
445 |
#: controls/ooohboi-overlay-underlay.php:1141 controls/ooohboi-paginini.php:146
|
446 |
#: controls/ooohboi-paginini.php:195 controls/ooohboi-pseudo.php:518
|
447 |
#: controls/ooohboi-pseudo.php:536 controls/ooohboi-pseudo.php:1165
|
448 |
+
#: controls/ooohboi-pseudo.php:1183 controls/ooohboi-tabbr.php:429
|
449 |
+
#: controls/ooohboi-tabbr.php:467 controls/ooohboi-tabbr.php:551
|
450 |
+
#: controls/ooohboi-tabbr.php:565
|
451 |
msgid "Border"
|
452 |
msgstr ""
|
453 |
|
461 |
#: controls/ooohboi-overlay-underlay.php:520
|
462 |
#: controls/ooohboi-overlay-underlay.php:1153 controls/ooohboi-paginini.php:154
|
463 |
#: controls/ooohboi-paginini.php:203 controls/ooohboi-pseudo.php:548
|
464 |
+
#: controls/ooohboi-pseudo.php:1195 controls/ooohboi-tabbr.php:388
|
465 |
msgid "Border Radius"
|
466 |
msgstr ""
|
467 |
|
525 |
#: controls/ooohboi-commentz.php:1051 controls/ooohboi-commentz.php:1115
|
526 |
#: controls/ooohboi-counterz.php:143 controls/ooohboi-counterz.php:242
|
527 |
#: controls/ooohboi-oh-animator.php:302 controls/ooohboi-paginini.php:75
|
528 |
+
#: controls/ooohboi-tabbr.php:368 controls/ooohboi-tabbr.php:518
|
529 |
#: controls/ooohboi-widget-stalker.php:240
|
530 |
msgid "Margin"
|
531 |
msgstr ""
|
883 |
msgid "Direction"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: controls/ooohboi-glider.php:726 controls/ooohboi-tabbr.php:182
|
887 |
msgid "Horizontal"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: controls/ooohboi-glider.php:727 controls/ooohboi-tabbr.php:183
|
891 |
msgid "Vertical"
|
892 |
msgstr ""
|
893 |
|
955 |
msgid "Color - HOVER"
|
956 |
msgstr ""
|
957 |
|
958 |
+
#: controls/ooohboi-harakiri.php:121 controls/ooohboi-tabbr.php:304
|
959 |
msgid "Writing Mode"
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: controls/ooohboi-harakiri.php:127 controls/ooohboi-tabbr.php:308
|
963 |
msgid "Vertical LR"
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: controls/ooohboi-harakiri.php:128 controls/ooohboi-tabbr.php:309
|
967 |
msgid "Vertical RL"
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: controls/ooohboi-harakiri.php:145 controls/ooohboi-tabbr.php:324
|
971 |
msgid "Flip"
|
972 |
msgstr ""
|
973 |
|
989 |
#: controls/ooohboi-overlay-underlay.php:611
|
990 |
#: controls/ooohboi-overlay-underlay.php:1213
|
991 |
#: controls/ooohboi-overlay-underlay.php:1242
|
992 |
+
#: controls/ooohboi-photomorph.php:220 controls/ooohboi-postman.php:429
|
993 |
+
#: controls/ooohboi-postman.php:469 controls/ooohboi-pseudo.php:609
|
994 |
#: controls/ooohboi-pseudo.php:639 controls/ooohboi-pseudo.php:1256
|
995 |
#: controls/ooohboi-pseudo.php:1285 controls/ooohboi-spacerat.php:224
|
996 |
#: controls/ooohboi-spacerat.php:253 controls/ooohboi-videomasq.php:76
|
1004 |
|
1005 |
#: controls/ooohboi-harakiri.php:176 controls/ooohboi-overlaiz.php:571
|
1006 |
#: controls/ooohboi-overlay-underlay.php:615
|
1007 |
+
#: controls/ooohboi-overlay-underlay.php:1246 controls/ooohboi-postman.php:433
|
1008 |
+
#: controls/ooohboi-postman.php:473 controls/ooohboi-pseudo.php:643
|
1009 |
#: controls/ooohboi-pseudo.php:1289 controls/ooohboi-spacerat.php:257
|
1010 |
#: controls/ooohboi-videomasq.php:108
|
1011 |
msgid "Custom"
|
1144 |
|
1145 |
#: controls/ooohboi-hover-animator.php:140 controls/ooohboi-icobox.php:81
|
1146 |
#: controls/ooohboi-imbox.php:82 controls/ooohboi-perspektive.php:263
|
1147 |
+
#: controls/ooohboi-tabbr.php:619 controls/ooohboi-teleporter.php:368
|
1148 |
msgid "Hidden"
|
1149 |
msgstr ""
|
1150 |
|
2428 |
msgid "Animation delay"
|
2429 |
msgstr ""
|
2430 |
|
2431 |
+
#: controls/ooohboi-postman.php:98
|
2432 |
+
msgid "Enable Postman"
|
2433 |
+
msgstr ""
|
2434 |
+
|
2435 |
+
#: controls/ooohboi-postman.php:99
|
2436 |
+
msgid "That will allow you to style up the elements of Post content"
|
2437 |
+
msgstr ""
|
2438 |
+
|
2439 |
+
#: controls/ooohboi-postman.php:114
|
2440 |
+
msgid "Paragraph styles"
|
2441 |
+
msgstr ""
|
2442 |
+
|
2443 |
+
#: controls/ooohboi-postman.php:129 controls/ooohboi-postman.php:148
|
2444 |
+
msgid "Paragraph margins"
|
2445 |
+
msgstr ""
|
2446 |
+
|
2447 |
+
#: controls/ooohboi-postman.php:172
|
2448 |
+
msgid "Heading styles"
|
2449 |
+
msgstr ""
|
2450 |
+
|
2451 |
+
#: controls/ooohboi-postman.php:188
|
2452 |
+
msgid "H1 Margins"
|
2453 |
+
msgstr ""
|
2454 |
+
|
2455 |
+
#: controls/ooohboi-postman.php:207
|
2456 |
+
msgid "H2 Margins"
|
2457 |
+
msgstr ""
|
2458 |
+
|
2459 |
+
#: controls/ooohboi-postman.php:226
|
2460 |
+
msgid "H3 Margins"
|
2461 |
+
msgstr ""
|
2462 |
+
|
2463 |
+
#: controls/ooohboi-postman.php:245
|
2464 |
+
msgid "H4 Margins"
|
2465 |
+
msgstr ""
|
2466 |
+
|
2467 |
+
#: controls/ooohboi-postman.php:264
|
2468 |
+
msgid "H5 Margins"
|
2469 |
+
msgstr ""
|
2470 |
+
|
2471 |
+
#: controls/ooohboi-postman.php:283
|
2472 |
+
msgid "H6 Margins"
|
2473 |
+
msgstr ""
|
2474 |
+
|
2475 |
+
#: controls/ooohboi-postman.php:302
|
2476 |
+
msgid "Padding - all"
|
2477 |
+
msgstr ""
|
2478 |
+
|
2479 |
+
#: controls/ooohboi-postman.php:330
|
2480 |
+
msgid "Lists styles: UL and OL"
|
2481 |
+
msgstr ""
|
2482 |
+
|
2483 |
+
#: controls/ooohboi-postman.php:365
|
2484 |
+
msgid "Margins"
|
2485 |
+
msgstr ""
|
2486 |
+
|
2487 |
+
#: controls/ooohboi-postman.php:384
|
2488 |
+
msgid "Margins - nested lists"
|
2489 |
+
msgstr ""
|
2490 |
+
|
2491 |
+
#: controls/ooohboi-postman.php:406
|
2492 |
+
msgid "Items spacing"
|
2493 |
+
msgstr ""
|
2494 |
+
|
2495 |
+
#: controls/ooohboi-postman.php:425
|
2496 |
+
msgid "List type UL"
|
2497 |
+
msgstr ""
|
2498 |
+
|
2499 |
+
#: controls/ooohboi-postman.php:430
|
2500 |
+
msgid "Circle"
|
2501 |
+
msgstr ""
|
2502 |
+
|
2503 |
+
#: controls/ooohboi-postman.php:431
|
2504 |
+
msgid "Square"
|
2505 |
+
msgstr ""
|
2506 |
+
|
2507 |
+
#: controls/ooohboi-postman.php:432
|
2508 |
+
msgid "Disc"
|
2509 |
+
msgstr ""
|
2510 |
+
|
2511 |
+
#: controls/ooohboi-postman.php:447
|
2512 |
+
msgid "List type UL - custom"
|
2513 |
+
msgstr ""
|
2514 |
+
|
2515 |
+
#: controls/ooohboi-postman.php:448 controls/ooohboi-postman.php:488
|
2516 |
+
msgid "It has to be Unicode HEX escape, like \\2192, or \\00A9"
|
2517 |
+
msgstr ""
|
2518 |
+
|
2519 |
+
#: controls/ooohboi-postman.php:465
|
2520 |
+
msgid "List type OL"
|
2521 |
+
msgstr ""
|
2522 |
+
|
2523 |
+
#: controls/ooohboi-postman.php:470
|
2524 |
+
msgid "Decimal"
|
2525 |
+
msgstr ""
|
2526 |
+
|
2527 |
+
#: controls/ooohboi-postman.php:471
|
2528 |
+
msgid "Georgian"
|
2529 |
+
msgstr ""
|
2530 |
+
|
2531 |
+
#: controls/ooohboi-postman.php:472
|
2532 |
+
msgid "Upper alpha"
|
2533 |
+
msgstr ""
|
2534 |
+
|
2535 |
+
#: controls/ooohboi-postman.php:487
|
2536 |
+
msgid "List type OL - custom"
|
2537 |
+
msgstr ""
|
2538 |
+
|
2539 |
+
#: controls/ooohboi-postman.php:510
|
2540 |
+
msgid "Quotations"
|
2541 |
+
msgstr ""
|
2542 |
+
|
2543 |
+
#: controls/ooohboi-postman.php:511
|
2544 |
+
msgid "Style up the Post Content Quotations"
|
2545 |
+
msgstr ""
|
2546 |
+
|
2547 |
+
#: controls/ooohboi-postman.php:522
|
2548 |
+
msgid "Quotation Color"
|
2549 |
+
msgstr ""
|
2550 |
+
|
2551 |
+
#: controls/ooohboi-postman.php:535
|
2552 |
+
msgid "Quotation margin"
|
2553 |
+
msgstr ""
|
2554 |
+
|
2555 |
+
#: controls/ooohboi-postman.php:555
|
2556 |
+
msgid "Quotation Typography"
|
2557 |
+
msgstr ""
|
2558 |
+
|
2559 |
+
#: controls/ooohboi-postman.php:566
|
2560 |
+
msgid "Cite color"
|
2561 |
+
msgstr ""
|
2562 |
+
|
2563 |
+
#: controls/ooohboi-postman.php:579
|
2564 |
+
msgid "Cite margin"
|
2565 |
+
msgstr ""
|
2566 |
+
|
2567 |
+
#: controls/ooohboi-postman.php:598
|
2568 |
+
msgid "Cite typography"
|
2569 |
+
msgstr ""
|
2570 |
+
|
2571 |
+
#: controls/ooohboi-postman.php:619
|
2572 |
+
msgid "Background opacity"
|
2573 |
+
msgstr ""
|
2574 |
+
|
2575 |
#: controls/ooohboi-pseudo.php:110
|
2576 |
msgid "Enable Pseudo?"
|
2577 |
msgstr ""
|
2666 |
msgid "Define Shadow"
|
2667 |
msgstr ""
|
2668 |
|
2669 |
+
#: controls/ooohboi-tabbr.php:92
|
2670 |
msgid "Enable Tabbr?"
|
2671 |
msgstr ""
|
2672 |
|
2673 |
+
#: controls/ooohboi-tabbr.php:108
|
2674 |
msgid "Tabs general"
|
2675 |
msgstr ""
|
2676 |
|
2677 |
+
#: controls/ooohboi-tabbr.php:109
|
2678 |
msgid "General settings for all tabs"
|
2679 |
msgstr ""
|
2680 |
|
2681 |
+
#: controls/ooohboi-tabbr.php:121
|
2682 |
+
msgid "Tabs position"
|
2683 |
+
msgstr ""
|
2684 |
+
|
2685 |
+
#: controls/ooohboi-tabbr.php:125
|
2686 |
+
msgid "Top or Bottom"
|
2687 |
+
msgstr ""
|
2688 |
+
|
2689 |
+
#: controls/ooohboi-tabbr.php:126
|
2690 |
+
msgid "Left or Right"
|
2691 |
+
msgstr ""
|
2692 |
+
|
2693 |
+
#: controls/ooohboi-tabbr.php:161
|
2694 |
+
msgid "Tabs order"
|
2695 |
+
msgstr ""
|
2696 |
+
|
2697 |
#: controls/ooohboi-tabbr.php:165
|
2698 |
+
msgid "TABS -- CONTENT"
|
2699 |
msgstr ""
|
2700 |
|
2701 |
+
#: controls/ooohboi-tabbr.php:166
|
2702 |
+
msgid "CONTENT -- TABS"
|
|
|
|
|
2703 |
msgstr ""
|
2704 |
|
2705 |
+
#: controls/ooohboi-tabbr.php:178
|
2706 |
+
msgid "Tabs stack"
|
2707 |
+
msgstr ""
|
2708 |
+
|
2709 |
+
#: controls/ooohboi-tabbr.php:198
|
2710 |
msgid "Tabs alignment"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: controls/ooohboi-tabbr.php:199
|
2714 |
msgid "BEWARE! This will override the default (non-responsive) tabs alignment!"
|
2715 |
msgstr ""
|
2716 |
|
2717 |
+
#: controls/ooohboi-tabbr.php:238
|
2718 |
+
msgid "Tabs width"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
+
#: controls/ooohboi-tabbr.php:239 controls/ooohboi-tabbr.php:600
|
2722 |
+
msgid ""
|
2723 |
+
"Enter any acceptable CSS value; 125px, 5vw, calc(30% - 10px), clamp(50px, "
|
2724 |
+
"5vw + 10px, 155px), 12% ..."
|
2725 |
msgstr ""
|
2726 |
|
2727 |
+
#: controls/ooohboi-tabbr.php:277
|
2728 |
msgid "Tabs Wrapper Border"
|
2729 |
msgstr ""
|
2730 |
|
2731 |
+
#: controls/ooohboi-tabbr.php:291
|
2732 |
msgid "Tab title"
|
2733 |
msgstr ""
|
2734 |
|
2735 |
+
#: controls/ooohboi-tabbr.php:292
|
2736 |
msgid "Style up tab title"
|
2737 |
msgstr ""
|
2738 |
|
2739 |
+
#: controls/ooohboi-tabbr.php:445
|
2740 |
msgid "Active"
|
2741 |
msgstr ""
|
2742 |
|
2743 |
+
#: controls/ooohboi-tabbr.php:485
|
2744 |
msgid "Tab container"
|
2745 |
msgstr ""
|
2746 |
|
2747 |
+
#: controls/ooohboi-tabbr.php:486
|
2748 |
msgid "Style up the tab container"
|
2749 |
msgstr ""
|
2750 |
|
2751 |
+
#: controls/ooohboi-tabbr.php:578
|
2752 |
msgid "Inset border"
|
2753 |
msgstr ""
|
2754 |
|
2755 |
+
#: controls/ooohboi-tabbr.php:599
|
2756 |
msgid "Max-height"
|
2757 |
msgstr ""
|
2758 |
|
2759 |
+
#: controls/ooohboi-tabbr.php:615
|
2760 |
msgid "Scroll behaviour"
|
2761 |
msgstr ""
|
2762 |
|
3026 |
msgid "%sStyle up your tabs like a rock star%s"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: inc/common-functions.php:260
|
3030 |
+
#, php-format
|
3031 |
+
msgid "%sStyle up the Post Content widget elements%s"
|
3032 |
+
msgstr ""
|
3033 |
+
|
3034 |
+
#: inc/common-functions.php:268
|
3035 |
msgid "Manage JS Libraries"
|
3036 |
msgstr ""
|
3037 |
|
3038 |
+
#: inc/common-functions.php:274
|
3039 |
#, php-format
|
3040 |
msgid ""
|
3041 |
"%sThe following libraries are currently available with Steroids for "
|
3043 |
"OFF.%s"
|
3044 |
msgstr ""
|
3045 |
|
3046 |
+
#: inc/common-functions.php:280
|
3047 |
msgid "LOCOMOTIVE SCROLL"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
+
#: inc/common-functions.php:281
|
3051 |
#, php-format
|
3052 |
msgid ""
|
3053 |
"%1$sDetection of elements in viewport and smooth scrolling with parallax.%3$s"
|
3054 |
"%4$sSOURCE%5$s%2$s"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
+
#: inc/common-functions.php:292
|
3058 |
msgid "Enable for Tablets"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
+
#: inc/common-functions.php:293
|
3062 |
msgid "Enable for Mobiles"
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: inc/common-functions.php:302
|
3066 |
msgid "Multiplier"
|
3067 |
msgstr ""
|
3068 |
|
3069 |
+
#: inc/common-functions.php:303
|
3070 |
#, php-format
|
3071 |
msgid "%sBoost/reduce scrolling speed. 1 is the default.%s"
|
3072 |
msgstr ""
|
3073 |
|
3074 |
+
#: inc/common-functions.php:312
|
3075 |
msgid "Refresh on resize?"
|
3076 |
msgstr ""
|
3077 |
|
3078 |
+
#: inc/common-functions.php:313
|
3079 |
msgid ""
|
3080 |
"Things get messy on resize. That will do the silent page refresh upon the "
|
3081 |
"window resize/orientationchange."
|
3082 |
msgstr ""
|
3083 |
|
3084 |
+
#: inc/common-functions.php:320
|
3085 |
msgid "Enable freehand mode?"
|
3086 |
msgstr ""
|
3087 |
|
3088 |
+
#: inc/common-functions.php:321
|
3089 |
#, php-format
|
3090 |
msgid ""
|
3091 |
"That removes all the default %sdata-scroll-section%s attributes so you can "
|
3092 |
"set them at will."
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: inc/common-functions.php:332
|
3096 |
#, php-format
|
3097 |
msgid ""
|
3098 |
"%1$s Cross-browser JavaScript library/API which is used to create and "
|
3100 |
"%2$s"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
+
#: inc/common-functions.php:339
|
3104 |
#, php-format
|
3105 |
msgid ""
|
3106 |
"%1$s A lightweight JavaScript animation library with a simple, yet powerful "
|
3107 |
"API.%3$s%4$sSOURCE%5$s%2$s"
|
3108 |
msgstr ""
|
3109 |
|
3110 |
+
#: inc/common-functions.php:346
|
3111 |
#, php-format
|
3112 |
msgid ""
|
3113 |
"%1$s Create badass fluid and smooth transitions between your website's pages."
|
3114 |
"%3$s%4$sSOURCE%5$s%2$s"
|
3115 |
msgstr ""
|
3116 |
|
3117 |
+
#: inc/common-functions.php:353
|
3118 |
#, php-format
|
3119 |
msgid ""
|
3120 |
"%1$sGreenSock's GSAP JavaScript animation library (including Draggable).%3$s"
|
3121 |
"%4$sSOURCE%5$s%2$s"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
+
#: inc/common-functions.php:360
|
3125 |
#, php-format
|
3126 |
msgid "%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s"
|
3127 |
msgstr ""
|
3128 |
|
3129 |
+
#: inc/common-functions.php:367
|
3130 |
#, php-format
|
3131 |
msgid ""
|
3132 |
"%1$sAnimates the scroll position of the window or a DOM element.%3$s"
|
3133 |
"%4$sSOURCE%5$s%2$s"
|
3134 |
msgstr ""
|
3135 |
|
3136 |
+
#: inc/common-functions.php:374
|
3137 |
#, php-format
|
3138 |
msgid ""
|
3139 |
"%1$sAnimate anything (SVG, DOM, canvas, generic objects, whatever) along a "
|
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:
|
6 |
* Author: OoohBoi
|
7 |
* Author URI: https://www.youtube.com/c/OoohBoi
|
8 |
* Text Domain: ooohboi-steroids
|
@@ -33,7 +33,7 @@ final class OoohBoi_Steroids {
|
|
33 |
*
|
34 |
* @var string The plugin version.
|
35 |
*/
|
36 |
-
const VERSION = '
|
37 |
|
38 |
/**
|
39 |
* Minimum Elementor Version
|
@@ -366,7 +366,7 @@ final class OoohBoi_Steroids {
|
|
366 |
'OoohBoi_Butter_Button' => 'ob_use_butterbutton', 'OoohBoi_Perspektive' => 'ob_use_perspektive', 'OoohBoi_Shadough' => 'ob_use_shadough', 'OoohBoi_PhotoMorph' => 'ob_use_photomorph', 'OoohBoi_Commentz' => 'ob_use_commentz',
|
367 |
'OoohBoi_SpaceRat' => 'ob_use_spacerat', 'OoohBoi_Imbox' => 'ob_use_imbox', 'OoohBoi_Icobox' => 'ob_use_icobox', 'OoohBoi_Hover_Animator' => 'ob_use_hoveranimator', 'OoohBoi_Kontrolz' => 'ob_use_kontrolz',
|
368 |
'OoohBoi_Widget_Stalker' => 'ob_use_widgetstalker', 'OoohBoi_Pseudo' => 'ob_use_pseudo', 'OoohBoi_Bullet' => 'ob_use_bullet', 'OoohBoi_Container_Extras' => 'ob_use_container_extras',
|
369 |
-
'OoohBoi_Counterz' => 'ob_use_counterz', 'OoohBoi_Tabbr' => 'ob_use_tabbr'/*, 'OoohBoi_Interactor' => 'ob_use_interactor'*/ ];
|
370 |
|
371 |
/* since 1.9.1 & Elementor 3.6+ */
|
372 |
$exclude_with_containers = [];
|
@@ -410,9 +410,9 @@ final class OoohBoi_Steroids {
|
|
410 |
$mq = 'all';
|
411 |
if( 'auto' === $theme ) $mq = '(prefers-color-scheme: dark)';
|
412 |
|
413 |
-
wp_enqueue_style( 'ooohboi-steroids-styles-editor-dark', self::ooohboi_dark_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '
|
414 |
|
415 |
-
} else wp_enqueue_style( 'ooohboi-steroids-styles-dark', self::ooohboi_light_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '
|
416 |
|
417 |
}
|
418 |
public static function ooohboi_dark_stylesheet_url() {
|
@@ -439,7 +439,7 @@ final class OoohBoi_Steroids {
|
|
439 |
}
|
440 |
// -----------------------------
|
441 |
|
442 |
-
wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '
|
443 |
|
444 |
}
|
445 |
|
@@ -459,7 +459,7 @@ final class OoohBoi_Steroids {
|
|
459 |
|
460 |
$ele_is_preview = \Elementor\Plugin::$instance->preview->is_preview_mode();
|
461 |
|
462 |
-
wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids
|
463 |
|
464 |
// locomotive scroll
|
465 |
if( 1 === self::$sfe_lib_locomotive ) {
|
@@ -538,7 +538,8 @@ final class OoohBoi_Steroids {
|
|
538 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-oh-animator.php'; // OoohBoi Animator
|
539 |
/*include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-interactor.php';*/ // OoohBoi Interactor
|
540 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-counterz.php'; // OoohBoi Counterz
|
541 |
-
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-tabbr.php'; // OoohBoi Tabbr
|
|
|
542 |
// ----------
|
543 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
|
544 |
}
|
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: 2.0.0
|
6 |
* Author: OoohBoi
|
7 |
* Author URI: https://www.youtube.com/c/OoohBoi
|
8 |
* Text Domain: ooohboi-steroids
|
33 |
*
|
34 |
* @var string The plugin version.
|
35 |
*/
|
36 |
+
const VERSION = '2.0.0';
|
37 |
|
38 |
/**
|
39 |
* Minimum Elementor Version
|
366 |
'OoohBoi_Butter_Button' => 'ob_use_butterbutton', 'OoohBoi_Perspektive' => 'ob_use_perspektive', 'OoohBoi_Shadough' => 'ob_use_shadough', 'OoohBoi_PhotoMorph' => 'ob_use_photomorph', 'OoohBoi_Commentz' => 'ob_use_commentz',
|
367 |
'OoohBoi_SpaceRat' => 'ob_use_spacerat', 'OoohBoi_Imbox' => 'ob_use_imbox', 'OoohBoi_Icobox' => 'ob_use_icobox', 'OoohBoi_Hover_Animator' => 'ob_use_hoveranimator', 'OoohBoi_Kontrolz' => 'ob_use_kontrolz',
|
368 |
'OoohBoi_Widget_Stalker' => 'ob_use_widgetstalker', 'OoohBoi_Pseudo' => 'ob_use_pseudo', 'OoohBoi_Bullet' => 'ob_use_bullet', 'OoohBoi_Container_Extras' => 'ob_use_container_extras',
|
369 |
+
'OoohBoi_Counterz' => 'ob_use_counterz', 'OoohBoi_Tabbr' => 'ob_use_tabbr', 'OoohBoi_Postman' => 'ob_use_postman'/*, 'OoohBoi_Interactor' => 'ob_use_interactor'*/ ];
|
370 |
|
371 |
/* since 1.9.1 & Elementor 3.6+ */
|
372 |
$exclude_with_containers = [];
|
410 |
$mq = 'all';
|
411 |
if( 'auto' === $theme ) $mq = '(prefers-color-scheme: dark)';
|
412 |
|
413 |
+
wp_enqueue_style( 'ooohboi-steroids-styles-editor-dark', self::ooohboi_dark_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '04072022', $mq );
|
414 |
|
415 |
+
} else wp_enqueue_style( 'ooohboi-steroids-styles-dark', self::ooohboi_light_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '04072022' );
|
416 |
|
417 |
}
|
418 |
public static function ooohboi_dark_stylesheet_url() {
|
439 |
}
|
440 |
// -----------------------------
|
441 |
|
442 |
+
wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '07072022' );
|
443 |
|
444 |
}
|
445 |
|
459 |
|
460 |
$ele_is_preview = \Elementor\Plugin::$instance->preview->is_preview_mode();
|
461 |
|
462 |
+
wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids.js', __FILE__ ), [ 'jquery' ], self::VERSION . '07072022', true );
|
463 |
|
464 |
// locomotive scroll
|
465 |
if( 1 === self::$sfe_lib_locomotive ) {
|
538 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-oh-animator.php'; // OoohBoi Animator
|
539 |
/*include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-interactor.php';*/ // OoohBoi Interactor
|
540 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-counterz.php'; // OoohBoi Counterz
|
541 |
+
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-tabbr.php'; // OoohBoi Tabbr
|
542 |
+
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-postman.php'; // OoohBoi Postman
|
543 |
// ----------
|
544 |
include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
|
545 |
}
|
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: 6.0
|
7 |
-
Stable tag:
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0
|
@@ -17,7 +17,7 @@ An awesome set of tools, options and settings that expand Elementor defaults. In
|
|
17 |
|
18 |
= What is new? =
|
19 |
|
20 |
-
Added
|
21 |
|
22 |
== Installation ==
|
23 |
|
@@ -42,6 +42,11 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
|
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
|
|
|
|
45 |
= 1.9.9 =
|
46 |
- New: TABBR - Style up Tabs widget like a rock star!
|
47 |
- New: COUNTERZ - More options to the Counter widget (Elementor PRO)
|
4 |
Donate link: https://www.paypal.me/ooohboi
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 2.0.0
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0
|
17 |
|
18 |
= What is new? =
|
19 |
|
20 |
+
Added 1 new extension : POSTMAN
|
21 |
|
22 |
== Installation ==
|
23 |
|
42 |
|
43 |
== Changelog ==
|
44 |
|
45 |
+
= 2.0.0 =
|
46 |
+
- New extension: POSTMAN - Style up Text Editor or Posts widget content (headings, paragraph, lists, blockquotes)
|
47 |
+
- Improvement: TABBR - Place tabs any side vert/horiz
|
48 |
+
- Improvement: GLIDER - Bugs fixed, easy control from any link on page
|
49 |
+
|
50 |
= 1.9.9 =
|
51 |
- New: TABBR - Style up Tabs widget like a rock star!
|
52 |
- New: COUNTERZ - More options to the Counter widget (Elementor PRO)
|