OoohBoi Steroids for Elementor - Version 1.9.9

Version Description

  • New: TABBR - Style up Tabs widget like a rock star!
  • New: COUNTERZ - More options to the Counter widget (Elementor PRO)
  • New: HOVERANIMATOR - Disable on touch based devices
Download this release

Release Info

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

Code changes from version 1.9.7 to 1.9.9

assets/css/editor-dark.css CHANGED
@@ -30,7 +30,9 @@
30
  .elementor-control-_ob_bullet:after,
31
  .elementor-control-_ob_container_extras:after,
32
  .elementor-control-_ob_animator_section_title:after,
33
- .elementor-control-_ob_steroids_interactor:after {
 
 
34
  content: "";
35
  position: absolute;
36
  height: 20px;
@@ -94,7 +96,9 @@
94
  .rtl .elementor-control-_ob_bullet:after,
95
  .rtl .elementor-control-_ob_container_extras:after,
96
  .rtl .elementor-control-_ob_animator_section_title:after,
97
- .rtl .elementor-control-_ob_steroids_interactor:after {
 
 
98
  left: 20px;
99
  right: unset;
100
  }
30
  .elementor-control-_ob_bullet:after,
31
  .elementor-control-_ob_container_extras:after,
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;
96
  .rtl .elementor-control-_ob_bullet:after,
97
  .rtl .elementor-control-_ob_container_extras:after,
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
  }
assets/css/editor.css CHANGED
@@ -30,7 +30,9 @@
30
  .elementor-control-_ob_bullet:after,
31
  .elementor-control-_ob_container_extras:after,
32
  .elementor-control-_ob_animator_section_title:after,
33
- .elementor-control-_ob_steroids_interactor:after {
 
 
34
  content: "";
35
  position: absolute;
36
  height: 20px;
@@ -94,7 +96,9 @@
94
  .rtl .elementor-control-_ob_bullet:after,
95
  .rtl .elementor-control-_ob_container_extras:after,
96
  .rtl .elementor-control-_ob_animator_section_title:after,
97
- .rtl .elementor-control-_ob_steroids_interactor:after {
 
 
98
  left: 20px;
99
  right: unset;
100
  }
30
  .elementor-control-_ob_bullet:after,
31
  .elementor-control-_ob_container_extras:after,
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;
96
  .rtl .elementor-control-_ob_bullet:after,
97
  .rtl .elementor-control-_ob_container_extras:after,
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
  }
assets/css/main.css CHANGED
@@ -421,4 +421,67 @@ body:not(.elementor-editor-active) .fade-in.elementor-column.effect-fade-in,
421
  body:not(.elementor-editor-active) [data-element_type="widget"].fade-in.effect-fade-in .elementor-widget-container {
422
  opacity: 1;
423
  }
424
- /* -------------------------- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
  body:not(.elementor-editor-active) [data-element_type="widget"].fade-in.effect-fade-in .elementor-widget-container {
422
  opacity: 1;
423
  }
424
+ /* -------------------------- */
425
+
426
+ /* tabbr */
427
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-element .elementor-tabs,
428
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-element .elementor-tabs-wrapper {
429
+ display: flex;
430
+ }
431
+
432
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-tabs-view-vertical .elementor-tabs-wrapper {
433
+ width: unset !important;
434
+ }
435
+
436
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-element .elementor-tab-title,
437
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-title::before,
438
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-title::after {
439
+ border-width: 0;
440
+ }
441
+
442
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr.elementor-element .elementor-tab-desktop-title .ob-tabbr-tab-wrap::before {
443
+ content: '';
444
+ position: absolute;
445
+ inset: 0;
446
+ }
447
+
448
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-title::before,
449
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-title::after {
450
+ display: none;
451
+ }
452
+
453
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tabs-content-wrapper,
454
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-content {
455
+ position: relative;
456
+ border: 0;
457
+ }
458
+
459
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-content p:last-child {
460
+ margin-bottom: 0;
461
+ }
462
+
463
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tabs-content-wrapper::before,
464
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-content::before {
465
+ content: '';
466
+ position: absolute;
467
+ inset: 0;
468
+ }
469
+
470
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tabs-content-wrapper .elementor-tab-title {
471
+ display: none;
472
+ }
473
+
474
+ .elementor [data-widget_type="tabs.default"].ob-use-tabbr .elementor-tab-content.elementor-active {
475
+ -webkit-animation: 0.3s ease 0s normal forwards 1 fadein;
476
+ animation: 0.3s ease 0s normal forwards 1 fadein;
477
+ }
478
+
479
+ @keyframes fadein {
480
+ 0% { opacity: 0; }
481
+ 100% { opacity: 1; }
482
+ }
483
+
484
+ @-webkit-keyframes fadein {
485
+ 0% { opacity: 0; }
486
+ 100% { opacity: 1; }
487
+ }
assets/js/counterz-min.js ADDED
@@ -0,0 +1 @@
 
1
+ "use strict";!function(e,n){e(n).on("elementor/frontend/init",(function(){var n,t=elementorModules.frontend.handlers.Base;n=t.extend({onInit:function(){t.prototype.onInit.apply(this,arguments),this.isCounterz()&&this.$element.addClass("ob-use-counterz")},isCounterz:function(){return"yes"===this.getElementSettings("_ob_use_counterz")},onElementChange:function(e){"_ob_use_counterz"===e&&("yes"===this.getElementSettings("_ob_use_counterz")?this.$element.addClass("ob-use-counterz"):this.$element.removeClass("ob-use-counterz"))}});var o={"counter.default":n};e.each(o,(function(e,n){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})}))}))}))}(jQuery,window);
assets/js/counterz.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Counterz;
11
+
12
+ Counterz = ModuleHandler.extend( {
13
+
14
+ onInit: function() {
15
+ ModuleHandler.prototype.onInit.apply( this, arguments );
16
+ if( this.isCounterz() ) {
17
+ this.$element.addClass( 'ob-use-counterz' );
18
+ }
19
+ },
20
+
21
+ isCounterz: function() {
22
+ return ( this.getElementSettings( '_ob_use_counterz' ) === 'yes' );
23
+ },
24
+
25
+ onElementChange: function( changedProp ) {
26
+ if( changedProp === '_ob_use_counterz' ) {
27
+ if( 'yes' === this.getElementSettings( '_ob_use_counterz' ) ) this.$element.addClass( 'ob-use-counterz' );
28
+ else this.$element.removeClass( 'ob-use-counterz' );
29
+ }
30
+ },
31
+
32
+ } );
33
+
34
+ var handlersList = {
35
+ 'counter.default': Counterz,
36
+ };
37
+
38
+ $.each( handlersList, function( widgetName, handlerClass ) {
39
+ elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widgetName, function( $scope ) {
40
+ elementorFrontend.elementsHandler.addHandler( handlerClass, { $element: $scope } );
41
+ } );
42
+ } );
43
+
44
+ } );
45
+
46
+
47
+ } ( jQuery, window ) );
assets/js/hoveranimator-min.js CHANGED
@@ -1 +1 @@
1
- "use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var t,o=elementorModules.frontend.handlers.Base;t=o.extend({onInit:function(){o.prototype.onInit.apply(this,arguments),this.isHoverAnimatorContainer()&&this.$element.addClass("ob-is-hoveranimator"),this.isHoverAnimatorWidget()&&(this.$element.addClass("ob-is-hoveranimal"),this.run())},isHoverAnimatorContainer:function(){return"yes"===this.getElementSettings("_ob_column_hoveranimator")},isHoverAnimatorWidget:function(){return"yes"===this.getElementSettings("_ob_allow_hoveranimator")},onElementChange:function(e){"_ob_column_hoveranimator"===e&&("yes"===this.getElementSettings("_ob_column_hoveranimator")?this.$element.addClass("ob-is-hoveranimator"):this.$element.removeClass("ob-is-hoveranimator")),"_ob_allow_hoveranimator"===e&&("yes"===this.getElementSettings("_ob_allow_hoveranimator")?(this.$element.addClass("ob-is-hoveranimal"),this.run()):this.$element.removeClass("ob-is-hoveranimal")),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_y_hover_alt","_ob_hoveranimator_x_hover","_ob_hoveranimator_x_hover_alt","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&function(){this.run()}},runHoverAnimator:function(){var t=this.$element.find(".elementor-widget-container"),o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var n,r,i=o.data("id"),a=this.getElementSettings("_ob_hoveranimator_opacity_hover")||1,s=this.getElementSettings("_ob_hoveranimator_y_hover")||0,_=this.getElementSettings("_ob_hoveranimator_y_hover_alt")||"",h=this.getElementSettings("_ob_hoveranimator_x_hover")||0,m=this.getElementSettings("_ob_hoveranimator_x_hover_alt")||"",l=this.getElementSettings("_ob_hoveranimator_rot_hover")||0,v=this.getElementSettings("_ob_hoveranimator_scalex_hover")||1,c=this.getElementSettings("_ob_hoveranimator_scaley_hover")||1,d=this.getElementSettings("_ob_hoveranimator_blur_hover")||0;r=""!=e.trim(m)&&void 0!==m?"calc("+m+")":h.size+h.unit,n=""!=e.trim(_)&&void 0!==_?"calc("+_+")":s.size+s.unit;var u={opacity:a.size,top:n,left:r,transform:"rotate("+l.size+"deg) scaleX("+v.size+") scaleY("+c.size+")",filter:"blur("+d.size+d.unit+")"};o.on("mouseenter."+i,(function(){t.css(u)})),o.on("mouseleave."+i,(function(){t.removeAttr("style")}))}},run:function(){this.isHoverAnimatorWidget()&&this.runHoverAnimator()}});var n={container:t,column:t,widget:t};e.each(n,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}))}(jQuery,window);
1
+ "use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var t,o=elementorModules.frontend.handlers.Base;t=o.extend({can_hover:window.matchMedia("(hover: hover)").matches,onInit:function(){if(o.prototype.onInit.apply(this,arguments),this.isHoverAnimatorContainer()&&this.$element.addClass("ob-is-hoveranimator"),this.isHoverAnimatorWidget()){if(!this.isEdit&&!this.can_hover&&"yes"===this.getElementSettings("_ob_allow_hoveranimator_touch"))return void this.$element.removeClass("ob-is-hoveranimal");this.$element.addClass("ob-is-hoveranimal"),this.run()}},isHoverAnimatorContainer:function(){return"yes"===this.getElementSettings("_ob_column_hoveranimator")},isHoverAnimatorWidget:function(){return"yes"===this.getElementSettings("_ob_allow_hoveranimator")},onElementChange:function(e){"_ob_column_hoveranimator"===e&&("yes"===this.getElementSettings("_ob_column_hoveranimator")?this.$element.addClass("ob-is-hoveranimator"):this.$element.removeClass("ob-is-hoveranimator")),"_ob_allow_hoveranimator"===e&&("yes"===this.getElementSettings("_ob_allow_hoveranimator")?(this.$element.addClass("ob-is-hoveranimal"),this.run()):this.$element.removeClass("ob-is-hoveranimal")),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_y_hover_alt","_ob_hoveranimator_x_hover","_ob_hoveranimator_x_hover_alt","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&function(){this.run()}},runHoverAnimator:function(){var t=this.$element.find(".elementor-widget-container"),o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var n,i,r=o.data("id"),a=this.getElementSettings("_ob_hoveranimator_opacity_hover")||1,s=this.getElementSettings("_ob_hoveranimator_y_hover")||0,_=this.getElementSettings("_ob_hoveranimator_y_hover_alt")||"",h=this.getElementSettings("_ob_hoveranimator_x_hover")||0,m=this.getElementSettings("_ob_hoveranimator_x_hover_alt")||"",l=this.getElementSettings("_ob_hoveranimator_rot_hover")||0,v=this.getElementSettings("_ob_hoveranimator_scalex_hover")||1,c=this.getElementSettings("_ob_hoveranimator_scaley_hover")||1,d=this.getElementSettings("_ob_hoveranimator_blur_hover")||0;i=""!=e.trim(m)&&void 0!==m?"calc("+m+")":h.size+h.unit,n=""!=e.trim(_)&&void 0!==_?"calc("+_+")":s.size+s.unit;var u={opacity:a.size,top:n,left:i,transform:"rotate("+l.size+"deg) scaleX("+v.size+") scaleY("+c.size+")",filter:"blur("+d.size+d.unit+")"};o.on("mouseenter."+r,(function(){t.css(u)})),o.on("mouseleave."+r,(function(){t.removeAttr("style")}))}},run:function(){this.isHoverAnimatorWidget()&&this.runHoverAnimator()}});var n={container:t,column:t,widget:t};e.each(n,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}))}(jQuery,window);
assets/js/hoveranimator.js CHANGED
@@ -26,6 +26,8 @@
26
 
27
  HoverAnimator = ModuleHandler.extend( {
28
 
 
 
29
  onInit: function() {
30
 
31
  ModuleHandler.prototype.onInit.apply( this, arguments );
@@ -34,6 +36,12 @@
34
  this.$element.addClass( 'ob-is-hoveranimator' );
35
  }
36
  if( this.isHoverAnimatorWidget() ) {
 
 
 
 
 
 
37
  this.$element.addClass( 'ob-is-hoveranimal' );
38
  this.run();
39
  }
@@ -72,6 +80,7 @@
72
  runHoverAnimator: function() {
73
 
74
  var myself = this.$element.find( '.elementor-widget-container' );
 
75
  var parent_column = myself.parent().closest( '.ob-is-hoveranimator' );
76
  if( parent_column.length ) {
77
 
@@ -94,25 +103,27 @@
94
  if( '' != $.trim( pos_y_alt ) && undefined !== pos_y_alt ) top_alt = 'calc(' + pos_y_alt + ')';
95
  else top_alt = pos_y.size + pos_y.unit;
96
 
97
- var hover_css = {
98
  'opacity': opacity.size,
99
  'top': top_alt,
100
  'left': left_alt,
101
  'transform': 'rotate(' + rot.size + 'deg) scaleX(' + scale_x.size + ') scaleY(' + scale_y.size + ')',
102
  'filter': 'blur(' + blur.size + blur.unit + ')'
103
  };
 
104
  parent_column.on( 'mouseenter.' + col_id, function() {
105
  myself.css( hover_css );
106
  } );
107
  parent_column.on( 'mouseleave.' + col_id, function() {
108
  myself.removeAttr( 'style' );
109
  } );
 
110
  }
111
 
112
  },
113
 
114
  run: function() {
115
- if( this.isHoverAnimatorWidget() ) this.runHoverAnimator();
116
  },
117
 
118
  } );
26
 
27
  HoverAnimator = ModuleHandler.extend( {
28
 
29
+ can_hover: window.matchMedia( '(hover: hover)' ).matches,
30
+
31
  onInit: function() {
32
 
33
  ModuleHandler.prototype.onInit.apply( this, arguments );
36
  this.$element.addClass( 'ob-is-hoveranimator' );
37
  }
38
  if( this.isHoverAnimatorWidget() ) {
39
+
40
+ if( ! this.isEdit && ! this.can_hover && 'yes' === this.getElementSettings( '_ob_allow_hoveranimator_touch' ) ) {
41
+ this.$element.removeClass( 'ob-is-hoveranimal' );
42
+ return;
43
+ }
44
+
45
  this.$element.addClass( 'ob-is-hoveranimal' );
46
  this.run();
47
  }
80
  runHoverAnimator: function() {
81
 
82
  var myself = this.$element.find( '.elementor-widget-container' );
83
+
84
  var parent_column = myself.parent().closest( '.ob-is-hoveranimator' );
85
  if( parent_column.length ) {
86
 
103
  if( '' != $.trim( pos_y_alt ) && undefined !== pos_y_alt ) top_alt = 'calc(' + pos_y_alt + ')';
104
  else top_alt = pos_y.size + pos_y.unit;
105
 
106
+ var hover_css = {
107
  'opacity': opacity.size,
108
  'top': top_alt,
109
  'left': left_alt,
110
  'transform': 'rotate(' + rot.size + 'deg) scaleX(' + scale_x.size + ') scaleY(' + scale_y.size + ')',
111
  'filter': 'blur(' + blur.size + blur.unit + ')'
112
  };
113
+
114
  parent_column.on( 'mouseenter.' + col_id, function() {
115
  myself.css( hover_css );
116
  } );
117
  parent_column.on( 'mouseleave.' + col_id, function() {
118
  myself.removeAttr( 'style' );
119
  } );
120
+
121
  }
122
 
123
  },
124
 
125
  run: function() {
126
+ if( this.isHoverAnimatorWidget() ) this.runHoverAnimator();
127
  },
128
 
129
  } );
assets/js/interactor.js CHANGED
@@ -18,9 +18,6 @@
18
  ModuleHandler.prototype.onInit.apply( this, arguments );
19
 
20
  if( this.isInteractorObject() ) {
21
-
22
-
23
-
24
  this.$element.addClass( 'ob-is-interactor' );
25
  this.run();
26
  }
@@ -42,10 +39,6 @@
42
  }
43
  },
44
 
45
- bindEvents: function() {
46
-
47
- },
48
-
49
  run: function() {
50
  if( this.isInteractorObject() ) this.deployInteractor();
51
  },
@@ -210,5 +203,4 @@
210
 
211
  } );
212
 
213
-
214
- } ( jQuery, window ) );
18
  ModuleHandler.prototype.onInit.apply( this, arguments );
19
 
20
  if( this.isInteractorObject() ) {
 
 
 
21
  this.$element.addClass( 'ob-is-interactor' );
22
  this.run();
23
  }
39
  }
40
  },
41
 
 
 
 
 
42
  run: function() {
43
  if( this.isInteractorObject() ) this.deployInteractor();
44
  },
203
 
204
  } );
205
 
206
+ } ( jQuery, window ) );
 
assets/js/ob-steroids-editor.js CHANGED
@@ -1,9 +1,8 @@
1
  /* Elementor editor JS */
2
-
3
  'use strict';
4
 
5
  ( function ( $, w ) {
6
-
7
  var $window = $( w );
8
 
9
  var switch_editor_style = function() {
1
  /* Elementor editor JS */
 
2
  'use strict';
3
 
4
  ( function ( $, w ) {
5
+
6
  var $window = $( w );
7
 
8
  var switch_editor_style = function() {
assets/js/tabbr-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.isTabbr()&&(this.$element.addClass("ob-use-tabbr"),this.run())},isTabbr:function(){return"yes"===this.getElementSettings("_ob_use_tabbr")},onElementChange:function(e){"_ob_use_tabbr"===e&&("yes"===this.getElementSettings("_ob_use_tabbr")?(this.$element.addClass("ob-use-tabbr"),this.run()):this.$element.removeClass("ob-use-tabbr"))},run:function(){this.isTabbr()&&(this.$element.find(".elementor-tabs-wrapper > .elementor-tab-title > span.ob-tabbr-tab-wrap").length||this.$element.find(".elementor-tabs-wrapper > .elementor-tab-title").wrapInner('<span class="ob-tabbr-tab-wrap"></span>'))}});var r={"tabs.default":t};e.each(r,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}))}(jQuery,window);
assets/js/tabbr.js ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Tabbr;
11
+
12
+ Tabbr = ModuleHandler.extend( {
13
+
14
+ onInit: function() {
15
+ ModuleHandler.prototype.onInit.apply( this, arguments );
16
+ if( this.isTabbr() ) {
17
+ this.$element.addClass( 'ob-use-tabbr' );
18
+ this.run();
19
+ }
20
+ },
21
+
22
+ isTabbr: function() {
23
+ return ( this.getElementSettings( '_ob_use_tabbr' ) === 'yes' );
24
+ },
25
+
26
+ onElementChange: function( changedProp ) {
27
+ if( changedProp === '_ob_use_tabbr' ) {
28
+ if( 'yes' === this.getElementSettings( '_ob_use_tabbr' ) ) {
29
+ this.$element.addClass( 'ob-use-tabbr' );
30
+ this.run();
31
+ }
32
+ else this.$element.removeClass( 'ob-use-tabbr' );
33
+ }
34
+ },
35
+
36
+ run: function() {
37
+
38
+ if( ! this.isTabbr() ) return;
39
+
40
+ // wrap .elementor-tab-title content with span
41
+ if( this.$element.find( '.elementor-tabs-wrapper > .elementor-tab-title > span.ob-tabbr-tab-wrap' ).length ) return;
42
+ this.$element.find( '.elementor-tabs-wrapper > .elementor-tab-title' ).wrapInner( '<span class="ob-tabbr-tab-wrap"></span>' );
43
+
44
+ },
45
+
46
+ } );
47
+
48
+ var handlersList = {
49
+ 'tabs.default': Tabbr,
50
+ };
51
+
52
+ $.each( handlersList, function( widgetName, handlerClass ) {
53
+ elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widgetName, function( $scope ) {
54
+ elementorFrontend.elementsHandler.addHandler( handlerClass, { $element: $scope } );
55
+ } );
56
+ } );
57
+
58
+ } );
59
+
60
+
61
+ } ( jQuery, window ) );
controls/ooohboi-counterz.php ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ use Elementor\Controls_Manager;
3
+ use Elementor\Element_Base;
4
+ use Elementor\Group_Control_Background;
5
+ use Elementor\Group_Control_Border;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit; // Exit if accessed directly.
9
+ }
10
+
11
+ /**
12
+ * Main OoohBoi Counterz
13
+ *
14
+ * The main class that initiates and runs the plugin.
15
+ *
16
+ * @since 1.9.8
17
+ */
18
+ class OoohBoi_Counterz {
19
+
20
+ static $should_script_enqueue = false;
21
+
22
+ /**
23
+ * Initialize
24
+ *
25
+ * @since 1.9.8
26
+ *
27
+ * @access public
28
+ */
29
+ public static function init() {
30
+
31
+ add_action( 'elementor/element/counter/section_title/after_section_end', [ __CLASS__, 'ooohboi_counterz_opts' ], 10, 1 );
32
+ add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
33
+
34
+ /* should enqueue? */
35
+ add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
36
+ /* add script */
37
+ add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
38
+
39
+ }
40
+
41
+ /* enqueue script JS */
42
+ public static function enqueue_scripts() {
43
+
44
+ $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/counterz-min.js';
45
+
46
+ if( file_exists( $extension_js ) ) {
47
+ wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
48
+ }
49
+
50
+ }
51
+ /* should enqueue? */
52
+ public static function should_script_enqueue( $element ) {
53
+
54
+ if( self::$should_script_enqueue ) return;
55
+
56
+ if( 'yes' == $element->get_settings_for_display( '_ob_use_counterz' ) ) {
57
+
58
+ self::$should_script_enqueue = true;
59
+ self::enqueue_scripts();
60
+
61
+ remove_action( 'elementor/element/counter/section_title/after_section_end', [ __CLASS__, 'should_script_enqueue' ] );
62
+ }
63
+ }
64
+
65
+ public static function add_attributes( $element ) {
66
+
67
+ if( ! in_array( $element->get_name(), [ 'counter' ] ) ) return;
68
+ $settings = $element->get_settings();
69
+ $is_counterz = isset( $settings[ '_ob_use_counterz' ] ) ? $settings[ '_ob_use_counterz' ] : '';
70
+
71
+ if( 'yes' === $settings[ '_ob_use_counterz' ] )
72
+ $element->add_render_attribute( '_wrapper', 'class', 'ob-use-counterz' );
73
+
74
+ }
75
+
76
+ public static function ooohboi_counterz_opts( Element_Base $element ) {
77
+
78
+ $element->start_controls_section(
79
+ '_ob_counterz_title',
80
+ [
81
+ 'label' => 'C O U N T E R Z',
82
+ 'tab' => Controls_Manager::TAB_STYLE,
83
+ 'hide_in_inner' => true,
84
+ ]
85
+ );
86
+
87
+ // --------------------------------------------------------------------------------------------- CONTROL: Use Counterz
88
+ $element->add_control(
89
+ '_ob_use_counterz',
90
+ [
91
+ 'label' => esc_html__( 'Enable Counterz?', 'ooohboi-steroids' ),
92
+ 'separator' => 'after',
93
+ 'type' => Controls_Manager::SWITCHER,
94
+ 'label_on' => esc_html__( 'Yes', 'ooohboi-steroids' ),
95
+ 'label_off' => esc_html__( 'No', 'ooohboi-steroids' ),
96
+ 'return_value' => 'yes',
97
+ 'default' => 'yes',
98
+ 'frontend_available' => true,
99
+ ]
100
+ );
101
+
102
+ // --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
103
+ $element->add_control(
104
+ '_ob_use_counterz_fake_descr_1',
105
+ [
106
+ 'type' => Controls_Manager::RAW_HTML,
107
+ 'label' => __( 'Numbers', 'ooohboi-steroids' ),
108
+ 'raw' => __( 'Additional options to the Numbers element', 'ooohboi-steroids' ),
109
+ 'content_classes' => 'elementor-control-field-description',
110
+ 'condition' => [
111
+ '_ob_use_counterz' => 'yes',
112
+ ],
113
+ ]
114
+ );
115
+ // ------------------------------------------------------------------------- CONTROL: Numbers alignment
116
+ $element->add_responsive_control(
117
+ '_ob_counterz_numbers_align',
118
+ [
119
+ 'label' => __( 'Align numbers', 'ooohboi-steroids' ),
120
+ 'type' => Controls_Manager::SELECT,
121
+ 'default' => 'center',
122
+ 'options' => [
123
+ 'flex-start' => __( 'Start', 'ooohboi-steroids' ),
124
+ 'center' => __( 'Center', 'ooohboi-steroids' ),
125
+ 'flex-end' => __( 'End', 'ooohboi-steroids' ),
126
+ 'space-between' => __( 'Space Between', 'ooohboi-steroids' ),
127
+ 'space-around' => __( 'Space Around', 'ooohboi-steroids' ),
128
+ 'space-evenly' => __( 'Space Evenly', 'ooohboi-steroids' ),
129
+ ],
130
+ 'selectors' => [
131
+ '{{WRAPPER}}.ob-use-counterz span[class*="elementor-counter-number"]' => 'flex-grow: unset;',
132
+ '{{WRAPPER}}.ob-use-counterz .elementor-counter-number-wrapper' => 'justify-content: {{VALUE}};',
133
+ ],
134
+ 'condition' => [
135
+ '_ob_use_counterz' => 'yes',
136
+ ],
137
+ ]
138
+ );
139
+ // ------------------------------------------------------------------------- CONTROL: Counterz title MARGIN
140
+ $element->add_responsive_control(
141
+ '_ob_counterz_numbers_marginz',
142
+ [
143
+ 'label' => __( 'Margin', 'ooohboi-steroids' ),
144
+ 'type' => Controls_Manager::DIMENSIONS,
145
+ 'size_units' => [ 'px', 'em', '%' ],
146
+ 'default' => [
147
+ 'unit' => 'px',
148
+ 'size' => 0,
149
+ ],
150
+ 'selectors' => [
151
+ '{{WRAPPER}}.ob-use-counterz .elementor-counter-number-wrapper' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
152
+ ],
153
+ 'condition' => [
154
+ '_ob_use_counterz' => 'yes',
155
+ ],
156
+ ]
157
+ );
158
+
159
+ // ------------------------------------------------------------------------- CONTROL: Counterz title PADDING
160
+ $element->add_responsive_control(
161
+ '_ob_counterz_numbers_padding',
162
+ [
163
+ 'label' => __( 'Padding', 'ooohboi-steroids' ),
164
+ 'type' => Controls_Manager::DIMENSIONS,
165
+ 'size_units' => [ 'px', 'em', '%' ],
166
+ 'default' => [
167
+ 'unit' => 'px',
168
+ 'size' => 0,
169
+ ],
170
+ 'selectors' => [
171
+ '{{WRAPPER}}.ob-use-counterz .elementor-counter-number-wrapper' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
172
+ ],
173
+ 'condition' => [
174
+ '_ob_use_counterz' => 'yes',
175
+ ],
176
+ ]
177
+ );
178
+ // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND
179
+ $element->add_group_control(
180
+ Group_Control_Background::get_type(),
181
+ [
182
+ 'name' => '_ob_counterz_numbers_bg',
183
+ 'selector' => '{{WRAPPER}}.ob-use-counterz .elementor-counter-number-wrapper',
184
+ 'condition' => [
185
+ '_ob_use_counterz' => 'yes',
186
+ ],
187
+ ]
188
+ );
189
+ // --------------------------------------------------------------------------------------------- CONTROL BORDER Regular
190
+ $element->add_group_control(
191
+ Group_Control_Border::get_type(),
192
+ [
193
+ 'name' => '_ob_counterz_numbers_border',
194
+ 'label' => __( 'Border', 'ooohboi-steroids' ),
195
+ 'separator' => 'before',
196
+ 'selector' => '{{WRAPPER}}.ob-use-counterz .elementor-counter-number-wrapper',
197
+ 'condition' => [
198
+ '_ob_use_counterz' => 'yes',
199
+ ],
200
+ ]
201
+ );
202
+
203
+
204
+ // --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
205
+ $element->add_control(
206
+ '_ob_use_counterz_fake_descr_2',
207
+ [
208
+ 'type' => Controls_Manager::RAW_HTML,
209
+ 'label' => __( 'Title', 'ooohboi-steroids' ),
210
+ 'raw' => __( 'Additional options to the Title element', 'ooohboi-steroids' ),
211
+ 'content_classes' => 'elementor-control-field-description',
212
+ 'condition' => [
213
+ '_ob_use_counterz' => 'yes',
214
+ ],
215
+ ]
216
+ );
217
+
218
+ // ------------------------------------------------------------------------- CONTROL: Counterz title alignment
219
+ $element->add_responsive_control(
220
+ '_ob_counterz_title_align',
221
+ [
222
+ 'label' => __( 'Align title', 'ooohboi-steroids' ),
223
+ 'type' => Controls_Manager::SELECT,
224
+ 'default' => 'center',
225
+ 'options' => [
226
+ 'left' => __( 'Left', 'ooohboi-steroids' ),
227
+ 'center' => __( 'Center', 'ooohboi-steroids' ),
228
+ 'right' => __( 'Right', 'ooohboi-steroids' ),
229
+ ],
230
+ 'selectors' => [
231
+ '{{WRAPPER}}.ob-use-counterz .elementor-counter-title' => 'text-align: {{VALUE}};',
232
+ ],
233
+ 'condition' => [
234
+ '_ob_use_counterz' => 'yes',
235
+ ],
236
+ ]
237
+ );
238
+ // ------------------------------------------------------------------------- CONTROL: Counterz title MARGIN
239
+ $element->add_responsive_control(
240
+ '_ob_counterz_title_marginz',
241
+ [
242
+ 'label' => __( 'Margin', 'ooohboi-steroids' ),
243
+ 'type' => Controls_Manager::DIMENSIONS,
244
+ 'size_units' => [ 'px', 'em', '%' ],
245
+ 'default' => [
246
+ 'unit' => 'px',
247
+ 'size' => 0,
248
+ ],
249
+ 'selectors' => [
250
+ '{{WRAPPER}}.ob-use-counterz .elementor-counter-title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
251
+ ],
252
+ 'condition' => [
253
+ '_ob_use_counterz' => 'yes',
254
+ ],
255
+ ]
256
+ );
257
+
258
+ // ------------------------------------------------------------------------- CONTROL: Counterz title PADDING
259
+ $element->add_responsive_control(
260
+ '_ob_counterz_title_padding',
261
+ [
262
+ 'label' => __( 'Padding', 'ooohboi-steroids' ),
263
+ 'type' => Controls_Manager::DIMENSIONS,
264
+ 'size_units' => [ 'px', 'em', '%' ],
265
+ 'default' => [
266
+ 'unit' => 'px',
267
+ 'size' => 0,
268
+ ],
269
+ 'selectors' => [
270
+ '{{WRAPPER}}.ob-use-counterz .elementor-counter-title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
271
+ ],
272
+ 'condition' => [
273
+ '_ob_use_counterz' => 'yes',
274
+ ],
275
+ ]
276
+ );
277
+ // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND
278
+ $element->add_group_control(
279
+ Group_Control_Background::get_type(),
280
+ [
281
+ 'name' => '_ob_counterz_title_bg',
282
+ 'selector' => '{{WRAPPER}}.ob-use-counterz .elementor-counter-title',
283
+ 'condition' => [
284
+ '_ob_use_counterz' => 'yes',
285
+ ],
286
+ ]
287
+ );
288
+ // --------------------------------------------------------------------------------------------- CONTROL BORDER Regular
289
+ $element->add_group_control(
290
+ Group_Control_Border::get_type(),
291
+ [
292
+ 'name' => '_ob_counterz_title_border',
293
+ 'label' => __( 'Border', 'ooohboi-steroids' ),
294
+ 'separator' => 'before',
295
+ 'selector' => '{{WRAPPER}}.ob-use-counterz .elementor-counter-title',
296
+ 'condition' => [
297
+ '_ob_use_counterz' => 'yes',
298
+ ],
299
+ ]
300
+ );
301
+
302
+
303
+ $element->end_controls_section();
304
+
305
+ }
306
+
307
+ }
controls/ooohboi-harakiri.php CHANGED
@@ -340,7 +340,7 @@ class OoohBoi_Harakiri {
340
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND Regular
341
  if( 'heading' === $element->get_name() ) {
342
 
343
- // --------------------------------------------------------------------------------------------- ScrollTrigger Description
344
  $element->add_control(
345
  '_ob_harakiri_clip_bg_block_desc',
346
  [
340
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND Regular
341
  if( 'heading' === $element->get_name() ) {
342
 
343
+ // --------------------------------------------------------------------------------------------- Description
344
  $element->add_control(
345
  '_ob_harakiri_clip_bg_block_desc',
346
  [
controls/ooohboi-hover-animator.php CHANGED
@@ -52,7 +52,7 @@ class OoohBoi_Hover_Animator {
52
  /* enqueue script JS */
53
  public static function enqueue_scripts() {
54
 
55
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/hoveranimator-min.js';
56
 
57
  if( file_exists( $extension_js ) ) {
58
  wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
@@ -190,6 +190,24 @@ class OoohBoi_Hover_Animator {
190
  'frontend_available' => true,
191
  ]
192
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  // --------------------------------------------------------------------------------------------- CONTROL OPACITY
194
  $element->add_control(
195
  '_ob_hoveranimator_opacity_popover',
52
  /* enqueue script JS */
53
  public static function enqueue_scripts() {
54
 
55
+ $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/hoveranimator.js';
56
 
57
  if( file_exists( $extension_js ) ) {
58
  wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
190
  'frontend_available' => true,
191
  ]
192
  );
193
+
194
+ $element->add_control(
195
+ '_ob_allow_hoveranimator_touch',
196
+ [
197
+ 'label' => sprintf( __( 'Disable on touch devices?%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
198
+
199
+ 'description' => __( 'The effect is visible on touch based devices only. Developer tools can simulate touch devices!', 'ooohboi-steroids' ),
200
+ 'type' => Controls_Manager::SWITCHER,
201
+ 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
202
+ 'label_off' => __( 'No', 'ooohboi-steroids' ),
203
+ 'return_value' => 'yes',
204
+ 'default' => 'no',
205
+ 'frontend_available' => true,
206
+ 'condition' => [
207
+ '_ob_allow_hoveranimator' => 'yes',
208
+ ],
209
+ ]
210
+ );
211
  // --------------------------------------------------------------------------------------------- CONTROL OPACITY
212
  $element->add_control(
213
  '_ob_hoveranimator_opacity_popover',
controls/ooohboi-tabbr.php ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ use Elementor\Controls_Manager;
3
+ use Elementor\Element_Base;
4
+ use Elementor\Group_Control_Background;
5
+ use Elementor\Group_Control_Border;
6
+ use Elementor\Core\Breakpoints\Manager as Breakpoints_Manager;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ /**
13
+ * Main OoohBoi Tabbr
14
+ *
15
+ * The main class that initiates and runs the plugin.
16
+ *
17
+ * @since 1.9.9
18
+ */
19
+ class OoohBoi_Tabbr {
20
+
21
+ static $should_script_enqueue = false;
22
+
23
+ /**
24
+ * Initialize
25
+ *
26
+ * @since 1.9.9
27
+ *
28
+ * @access public
29
+ */
30
+ public static function init() {
31
+
32
+ add_action( 'elementor/element/tabs/section_tabs_style/before_section_end', [ __CLASS__, 'ooohboi_tabbr_opts' ], 10, 1 );
33
+ add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
34
+
35
+ /* should enqueue? */
36
+ add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
37
+ /* add script */
38
+ add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
39
+
40
+ }
41
+
42
+ /* enqueue script JS */
43
+ public static function enqueue_scripts() {
44
+
45
+ $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/tabbr-min.js';
46
+
47
+ if( file_exists( $extension_js ) ) {
48
+ wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
49
+ }
50
+
51
+ }
52
+ /* should enqueue? */
53
+ public static function should_script_enqueue( $element ) {
54
+
55
+ if( self::$should_script_enqueue ) return;
56
+
57
+ if( 'yes' == $element->get_settings_for_display( '_ob_use_tabbr' ) ) {
58
+
59
+ self::$should_script_enqueue = true;
60
+ self::enqueue_scripts();
61
+
62
+ remove_action( 'elementor/element/tabs/section_tabs_style/before_section_end', [ __CLASS__, 'should_script_enqueue' ] );
63
+ }
64
+ }
65
+
66
+ public static function add_attributes( $element ) {
67
+
68
+ if( ! in_array( $element->get_name(), [ 'counter' ] ) ) return;
69
+ $settings = $element->get_settings();
70
+ $is_tabbr = isset( $settings[ '_ob_use_tabbr' ] ) ? $settings[ '_ob_use_tabbr' ] : '';
71
+
72
+ if( 'yes' === $settings[ '_ob_use_tabbr' ] )
73
+ $element->add_render_attribute( '_wrapper', 'class', 'ob-use-tabbr' );
74
+
75
+ }
76
+
77
+ public static function ooohboi_tabbr_opts( Element_Base $element ) {
78
+
79
+ $element->add_control(
80
+ '_ob_tabbr_title',
81
+ [
82
+ 'label' => 'T A B B R',
83
+ 'type' => Controls_Manager::HEADING,
84
+ 'separator' => 'before',
85
+ ]
86
+ );
87
+
88
+ // --------------------------------------------------------------------------------------------- CONTROL: Use Tabbr
89
+ $element->add_control(
90
+ '_ob_use_tabbr',
91
+ [
92
+ 'label' => esc_html__( 'Enable Tabbr?', 'ooohboi-steroids' ),
93
+ 'separator' => 'after',
94
+ 'type' => Controls_Manager::SWITCHER,
95
+ 'label_on' => esc_html__( 'Yes', 'ooohboi-steroids' ),
96
+ 'label_off' => esc_html__( 'No', 'ooohboi-steroids' ),
97
+ 'return_value' => 'yes',
98
+ 'default' => 'no',
99
+ 'frontend_available' => true,
100
+ ]
101
+ );
102
+
103
+ // --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
104
+ $element->add_control(
105
+ '_ob_use_tabbr_fake_descr_0',
106
+ [
107
+ 'type' => Controls_Manager::RAW_HTML,
108
+ 'label' => __( 'Tabs general', 'ooohboi-steroids' ),
109
+ 'raw' => __( 'General settings for all tabs', 'ooohboi-steroids' ),
110
+ 'content_classes' => 'elementor-control-field-description',
111
+ 'condition' => [
112
+ '_ob_use_tabbr' => 'yes',
113
+ ],
114
+ ]
115
+ );
116
+
117
+ // ------------------------------------------------------------------------- CONTROL: Tabs position
118
+ $element->add_responsive_control(
119
+ '_ob_tabbr_tabs_position',
120
+ [
121
+ 'label' => __( 'Tabs position', 'ooohboi-steroids' ),
122
+ 'type' => Controls_Manager::SELECT,
123
+ 'default' => 'row',
124
+ 'options' => [
125
+ 'column' => __( 'Top or Bottom', 'ooohboi-steroids' ),
126
+ 'row' => __( 'Left or Right', 'ooohboi-steroids' ),
127
+ ],
128
+ 'selectors' => [
129
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs' => 'flex-direction: {{VALUE}}{{_ob_tabbr_tabs_order.VALUE}};',
130
+ ],
131
+ 'condition' => [
132
+ '_ob_use_tabbr' => 'yes',
133
+ ],
134
+
135
+ 'device_args' => [
136
+ Breakpoints_Manager::BREAKPOINT_KEY_TABLET => [
137
+ 'selectors' => [
138
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs' => 'flex-direction: {{_ob_tabbr_tabs_position_tablet.VALUE}}{{_ob_tabbr_tabs_order_tablet.VALUE}};',
139
+ ],
140
+ 'condition' => [
141
+ '_ob_use_tabbr' => 'yes',
142
+ ],
143
+ ],
144
+ Breakpoints_Manager::BREAKPOINT_KEY_MOBILE => [
145
+ 'selectors' => [
146
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs' => 'flex-direction: {{_ob_tabbr_tabs_position_mobile.VALUE}}{{_ob_tabbr_tabs_order_mobile.VALUE}};',
147
+ ],
148
+ 'condition' => [
149
+ '_ob_use_tabbr' => 'yes',
150
+ ],
151
+ ],
152
+ ],
153
+
154
+ ]
155
+ );
156
+
157
+ // ------------------------------------------------------------------------- CONTROL: Tabs order
158
+ $element->add_responsive_control(
159
+ '_ob_tabbr_tabs_order',
160
+ [
161
+ 'label' => __( 'Tabs order', 'ooohboi-steroids' ),
162
+ 'type' => Controls_Manager::SELECT,
163
+ 'default' => '',
164
+ 'options' => [
165
+ ' ' => __( 'TABS -- CONTENT', 'ooohboi-steroids' ),
166
+ '-reverse' => __( 'CONTENT -- TABS', 'ooohboi-steroids' ),
167
+ ],
168
+ 'condition' => [
169
+ '_ob_use_tabbr' => 'yes',
170
+ ],
171
+ ]
172
+ );
173
+
174
+ // ------------------------------------------------------------------------- CONTROL: Tabs order
175
+ $element->add_responsive_control(
176
+ '_ob_tabbr_tabs_stack',
177
+ [
178
+ 'label' => __( 'Tabs stack', 'ooohboi-steroids' ),
179
+ 'type' => Controls_Manager::SELECT,
180
+ 'default' => 'column',
181
+ 'options' => [
182
+ 'row' => __( 'Horizontal', 'ooohboi-steroids' ),
183
+ 'column' => __( 'Vertical', 'ooohboi-steroids' ),
184
+ ],
185
+ 'selectors' => [
186
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'flex-direction: {{VALUE}};',
187
+ ],
188
+ 'condition' => [
189
+ '_ob_use_tabbr' => 'yes',
190
+ ],
191
+ ]
192
+ );
193
+
194
+ // ------------------------------------------------------------------------- CONTROL: Tabs alignment
195
+ $element->add_responsive_control(
196
+ '_ob_tabbr_tabs_alignment',
197
+ [
198
+ 'label' => __( 'Tabs alignment', 'ooohboi-steroids' ),
199
+ 'description' => __( 'BEWARE! This will override the default (non-responsive) tabs alignment!', 'ooohboi-steroids' ),
200
+ 'type' => Controls_Manager::SELECT,
201
+ 'default' => 'flex-start',
202
+ 'options' => [
203
+ 'flex-start' => __( 'Start', 'ooohboi-steroids' ),
204
+ 'center' => __( 'Center', 'ooohboi-steroids' ),
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',
212
+ ],
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',
220
+ ],
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',
228
+ ],
229
+ ],
230
+ ],
231
+ ]
232
+ );
233
+
234
+ // --------------------------------------------------------------------------------------------- CONTROL: Tabbr tab width (vertical only!!!)
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' => '200px',
242
+ 'selectors' => [
243
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper' => 'min-width: {{VALUE}};',
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-element .elementor-tabs-wrapper' => 'min-width: {{_ob_tab_width_tablet.VALUE}};',
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-element .elementor-tabs-wrapper' => 'min-width: {{_ob_tab_width_mobile.VALUE}};',
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
+ // ------------------------------------------------------------------------- CONTROL: Tabs wrappr MARGIN
293
+ $element->add_responsive_control(
294
+ '_ob_tabs_wrappr_margin',
295
+ [
296
+ 'label' => __( 'Tabs Wrapper Margin', 'ooohboi-steroids' ),
297
+ 'type' => Controls_Manager::DIMENSIONS,
298
+ 'size_units' => [ 'px', 'em', '%' ],
299
+ 'default' => [
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 Wrapper Border', 'ooohboi-steroids' ),
318
+ 'separator' => 'before',
319
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tabs-wrapper',
320
+ 'condition' => [
321
+ '_ob_use_tabbr' => 'yes',
322
+ ],
323
+ ]
324
+ );
325
+
326
+ // --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
327
+ $element->add_control(
328
+ '_ob_use_tabbr_fake_descr_1',
329
+ [
330
+ 'type' => Controls_Manager::RAW_HTML,
331
+ 'label' => __( 'Tab title', 'ooohboi-steroids' ),
332
+ 'raw' => __( 'Style up tab title', 'ooohboi-steroids' ),
333
+ 'content_classes' => 'elementor-control-field-description',
334
+ 'condition' => [
335
+ '_ob_use_tabbr' => 'yes',
336
+ ],
337
+ ]
338
+ );
339
+
340
+ // ------------------------------------------------------------------------- CONTROL: Tabbr text orientation
341
+ $element->add_responsive_control(
342
+ '_ob_tabbr_writing_mode',
343
+ [
344
+ 'label' => __( 'Writing Mode', 'ooohboi-steroids' ),
345
+ 'type' => Controls_Manager::SELECT,
346
+ 'default' => 'inherit',
347
+ 'options' => [
348
+ 'vertical-lr' => __( 'Vertical LR', 'ooohboi-steroids' ),
349
+ 'vertical-rl' => __( 'Vertical RL', 'ooohboi-steroids' ),
350
+ 'inherit' => __( 'Normal', 'ooohboi-steroids' ),
351
+ ],
352
+ 'selectors' => [
353
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title' => 'writing-mode: {{VALUE}}; display: flex; align-items: center;',
354
+ ],
355
+ 'condition' => [
356
+ '_ob_use_tabbr' => 'yes',
357
+ ],
358
+ ]
359
+ );
360
+
361
+ $element->add_responsive_control(
362
+ '_ob_tabbr_make_inline',
363
+ [
364
+ 'label' => __( 'Flip', 'ooohboi-steroids' ),
365
+ 'type' => Controls_Manager::SELECT,
366
+ 'default' => 'no',
367
+ 'options' => [
368
+ 'yes' => __( 'Yes', 'ooohboi-steroids' ),
369
+ 'no' => __( 'No', 'ooohboi-steroids' ),
370
+ ],
371
+ 'selectors_dictionary' => [
372
+ 'yes' => 'rotate(180deg)',
373
+ 'no' => 'rotate(0deg)',
374
+ ],
375
+ 'selectors' => [
376
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title' => 'transform: {{VALUE}};',
377
+ ],
378
+ 'condition' => [
379
+ '_ob_use_tabbr' => 'yes',
380
+ ],
381
+ ]
382
+ );
383
+
384
+ // ------------------------------------------------------------------------- CONTROL: Tabbr tab PADDING
385
+ $element->add_responsive_control(
386
+ '_ob_tabbr_padding',
387
+ [
388
+ 'label' => __( 'Padding', 'ooohboi-steroids' ),
389
+ 'type' => Controls_Manager::DIMENSIONS,
390
+ 'size_units' => [ 'px', 'em', '%' ],
391
+ 'default' => [
392
+ 'unit' => 'px',
393
+ 'size' => 0,
394
+ ],
395
+ 'selectors' => [
396
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
397
+ ],
398
+ 'condition' => [
399
+ '_ob_use_tabbr' => 'yes',
400
+ ],
401
+ ]
402
+ );
403
+
404
+ // ------------------------------------------------------------------------- CONTROL: Tabbr tab MARGIN
405
+ $element->add_responsive_control(
406
+ '_ob_tabbr_margin',
407
+ [
408
+ 'label' => __( 'Margin', 'ooohboi-steroids' ),
409
+ 'type' => Controls_Manager::DIMENSIONS,
410
+ 'size_units' => [ 'px', 'em', '%' ],
411
+ 'default' => [
412
+ 'unit' => 'px',
413
+ 'size' => 0,
414
+ ],
415
+ 'selectors' => [
416
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
417
+ ],
418
+ 'condition' => [
419
+ '_ob_use_tabbr' => 'yes',
420
+ ],
421
+ ]
422
+ );
423
+
424
+ // ------------------------------------------------------------------------- CONTROL: border radius
425
+ $element->add_responsive_control(
426
+ '_ob_tabbr_bord_rad',
427
+ [
428
+ 'label' => __( 'Border Radius', 'ooohboi-steroids' ),
429
+ 'type' => Controls_Manager::DIMENSIONS,
430
+ 'size_units' => [ 'px', '%' ],
431
+ 'selectors' => [
432
+ '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
433
+ ],
434
+ 'condition' => [
435
+ '_ob_use_tabbr' => 'yes',
436
+ ],
437
+ ]
438
+ );
439
+
440
+ // --------------------------------------------------------------------------------------------- START 2 TABS: normal and active
441
+ $element->start_controls_tabs( '_ob_tabbr_tabs' );
442
+
443
+ // --------------------------------------------------------------------------------------------- START TAB normal
444
+ $element->start_controls_tab(
445
+ '_ob_ob_tabbr_tab_normal',
446
+ [
447
+ 'label' => __( 'Normal', 'ooohboi-steroids' ),
448
+ ]
449
+ );
450
+
451
+ // --------------------------------------------------------------------------------------------- Tabbr tab BACKGROUND
452
+ $element->add_group_control(
453
+ Group_Control_Background::get_type(),
454
+ [
455
+ 'name' => '_ob_tabbr_bg_normal',
456
+ 'types' => [ 'classic', 'gradient' ],
457
+ 'exclude' => [ 'image' ],
458
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title',
459
+ 'condition' => [
460
+ '_ob_use_tabbr' => 'yes',
461
+ ],
462
+ ]
463
+ );
464
+ // --------------------------------------------------------------------------------------------- Tabbr tab BORDER
465
+ $element->add_group_control(
466
+ Group_Control_Border::get_type(),
467
+ [
468
+ 'name' => '_ob_tabbr_border_normal',
469
+ 'label' => __( 'Border', 'ooohboi-steroids' ),
470
+ 'separator' => 'before',
471
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title .ob-tabbr-tab-wrap::before',
472
+ 'condition' => [
473
+ '_ob_use_tabbr' => 'yes',
474
+ ],
475
+ ]
476
+ );
477
+
478
+ $element->end_controls_tab(); // Normal tab end
479
+
480
+ // --------------------------------------------------------------------------------------------- START TAB Active ------------------------------- >>>>>
481
+
482
+ $element->start_controls_tab(
483
+ '_ob_ob_tabbr_tab_active',
484
+ [
485
+ 'label' => __( 'Active', 'ooohboi-steroids' ),
486
+ ]
487
+ );
488
+
489
+ // --------------------------------------------------------------------------------------------- Tabbr tab BACKGROUND
490
+ $element->add_group_control(
491
+ Group_Control_Background::get_type(),
492
+ [
493
+ 'name' => '_ob_tabbr_bg_active',
494
+ 'types' => [ 'classic', 'gradient' ],
495
+ 'exclude' => [ 'image' ],
496
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title.elementor-active',
497
+ 'condition' => [
498
+ '_ob_use_tabbr' => 'yes',
499
+ ],
500
+ ]
501
+ );
502
+ // --------------------------------------------------------------------------------------------- Tabbr tab BORDER
503
+ $element->add_group_control(
504
+ Group_Control_Border::get_type(),
505
+ [
506
+ 'name' => '_ob_tabbr_border_active',
507
+ 'label' => __( 'Border', 'ooohboi-steroids' ),
508
+ 'separator' => 'before',
509
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr.elementor-element .elementor-tab-desktop-title.elementor-active .ob-tabbr-tab-wrap::before',
510
+ 'condition' => [
511
+ '_ob_use_tabbr' => 'yes',
512
+ ],
513
+ ]
514
+ );
515
+
516
+ $element->end_controls_tab(); // Active tab end
517
+
518
+ $element->end_controls_tabs(); // normal and active tabs end
519
+
520
+ // --------------------------------------------------------------------------------------------- CONTROL Description - Faker !!!!!
521
+ $element->add_control(
522
+ '_ob_use_tabbr_fake_descr_2',
523
+ [
524
+ 'type' => Controls_Manager::RAW_HTML,
525
+ 'label' => __( 'Tab container', 'ooohboi-steroids' ),
526
+ 'raw' => __( 'Style up the tab container', 'ooohboi-steroids' ),
527
+ 'content_classes' => 'elementor-control-field-description',
528
+ 'condition' => [
529
+ '_ob_use_tabbr' => 'yes',
530
+ ],
531
+ ]
532
+ );
533
+
534
+ // ------------------------------------------------------------------------- CONTROL: Content PADDING
535
+ $element->add_responsive_control(
536
+ '_ob_tabbr_cont_padding',
537
+ [
538
+ 'label' => __( 'Padding', 'ooohboi-steroids' ),
539
+ 'type' => Controls_Manager::DIMENSIONS,
540
+ 'size_units' => [ 'px', 'em', '%' ],
541
+ 'default' => [
542
+ 'unit' => 'px',
543
+ 'size' => 20,
544
+ ],
545
+ 'selectors' => [
546
+ '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
547
+ ],
548
+ 'condition' => [
549
+ '_ob_use_tabbr' => 'yes',
550
+ ],
551
+ ]
552
+ );
553
+
554
+ // ------------------------------------------------------------------------- CONTROL: Content MARGIN
555
+ $element->add_responsive_control(
556
+ '_ob_tabbr_cont_margin',
557
+ [
558
+ 'label' => __( 'Margin', 'ooohboi-steroids' ),
559
+ 'type' => Controls_Manager::DIMENSIONS,
560
+ 'size_units' => [ 'px', 'em', '%' ],
561
+ 'default' => [
562
+ 'unit' => 'px',
563
+ 'size' => 0,
564
+ ],
565
+ 'selectors' => [
566
+ '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
567
+ ],
568
+ 'condition' => [
569
+ '_ob_use_tabbr' => 'yes',
570
+ ],
571
+ ]
572
+ );
573
+
574
+ // --------------------------------------------------------------------------------------------- Content BACKGROUND
575
+ $element->add_group_control(
576
+ Group_Control_Background::get_type(),
577
+ [
578
+ 'name' => '_ob_tabbr_cont_bg',
579
+ 'types' => [ 'classic', 'gradient', 'video', 'slideshow' ],
580
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content',
581
+ 'condition' => [
582
+ '_ob_use_tabbr' => 'yes',
583
+ ],
584
+ ]
585
+ );
586
+ // --------------------------------------------------------------------------------------------- Content BORDER
587
+ $element->add_group_control(
588
+ Group_Control_Border::get_type(),
589
+ [
590
+ 'name' => '_ob_tabbr_cont_border_fake',
591
+ 'label' => __( 'Border', 'ooohboi-steroids' ),
592
+ 'separator' => 'before',
593
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content::before',
594
+ 'condition' => [
595
+ '_ob_use_tabbr' => 'yes',
596
+ '_ob_tabbr_cont_max_height' => '',
597
+ ],
598
+ ]
599
+ );
600
+ // --------------------------------------------------------------------------------------------- Content BORDER real
601
+ $element->add_group_control(
602
+ Group_Control_Border::get_type(),
603
+ [
604
+ 'name' => '_ob_tabbr_cont_border_real',
605
+ 'label' => __( 'Border', 'ooohboi-steroids' ),
606
+ 'separator' => 'before',
607
+ 'selector' => '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content',
608
+ 'condition' => [
609
+ '_ob_use_tabbr' => 'yes',
610
+ '_ob_tabbr_cont_max_height!' => '',
611
+ ],
612
+ ]
613
+ );
614
+ // ------------------------------------------------------------------------- CONTROL: fake BORDER inset
615
+ $element->add_responsive_control(
616
+ '_ob_tabbr_cont_inset_border',
617
+ [
618
+ 'label' => __( 'Inset border', 'ooohboi-steroids' ),
619
+ 'type' => Controls_Manager::DIMENSIONS,
620
+ 'size_units' => [ 'px', 'em', '%' ],
621
+ 'default' => [
622
+ 'unit' => 'px',
623
+ 'size' => 0,
624
+ ],
625
+ 'selectors' => [
626
+ '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content::before' => 'inset: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
627
+ ],
628
+ 'condition' => [
629
+ '_ob_use_tabbr' => 'yes',
630
+ '_ob_tabbr_cont_max_height' => '',
631
+ ],
632
+ ]
633
+ );
634
+
635
+ // --------------------------------------------------------------------------------------------- CONTENT max-height
636
+ $element->add_responsive_control(
637
+ '_ob_tabbr_cont_max_height',
638
+ [
639
+ 'label' => __( 'Max-height', 'ooohboi-steroids' ),
640
+ 'description' => __( 'Enter any acceptable CSS value; 125px, 5vw, calc(30% - 10px), clamp(50px, 5vw + 10px, 155px), 12% ...', 'ooohboi-steroids' ),
641
+ 'type' => Controls_Manager::TEXT,
642
+ 'selectors' => [
643
+ '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content' => 'max-height: {{VALUE}};',
644
+ ],
645
+ 'condition' => [
646
+ '_ob_use_tabbr' => 'yes',
647
+ ],
648
+ ]
649
+ );
650
+
651
+ // ------------------------------------------------------------------------- CONTENT max-height and scroll content
652
+ $element->add_responsive_control(
653
+ '_ob_tabbr_scroll_behaviour',
654
+ [
655
+ 'label' => __( 'Scroll behaviour', 'ooohboi-steroids' ),
656
+ 'type' => Controls_Manager::SELECT,
657
+ 'default' => 'auto',
658
+ 'options' => [
659
+ 'hidden' => __( 'Hidden', 'ooohboi-steroids' ),
660
+ 'auto' => __( 'Auto', 'ooohboi-steroids' ),
661
+ ],
662
+ 'selectors' => [
663
+ '{{WRAPPER}}.ob-use-tabbr .elementor-tab-content' => 'overflow-y: {{VALUE}};',
664
+ ],
665
+ 'condition' => [
666
+ '_ob_use_tabbr' => 'yes',
667
+ '_ob_tabbr_cont_max_height!' => '',
668
+ ],
669
+ ]
670
+ );
671
+
672
+ }
673
+
674
+ }
inc/common-functions.php CHANGED
@@ -239,6 +239,20 @@ $fields[] = array(
239
  'default' => 'yes',
240
  ),
241
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  ),
243
  );
244
 
239
  'default' => 'yes',
240
  ),
241
  */
242
+ array(
243
+ 'id' => 'ob_use_counterz',
244
+ 'title' => 'COUNTERZ',
245
+ 'type' => 'switcher',
246
+ 'description' => sprintf( __( '%sMore styling options to the Counter widget%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
247
+ 'default' => 'yes',
248
+ ),
249
+ array(
250
+ 'id' => 'ob_use_tabbr',
251
+ 'title' => 'TABBR',
252
+ 'type' => 'switcher',
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
 
inc/img/tabbr.png ADDED
Binary file
inc/info/ob-landing.php CHANGED
@@ -10,18 +10,22 @@
10
 
11
  <div class="col-8">
12
 
13
- <h3>What's new in v1.9.7?</h3>
14
  <p>
15
- <strong>Fixes, improvements and maintenance</strong>
16
  </p>
17
  <p>
18
- HARAKIRI extension now brings support for clip-text and text indentation
 
19
  </p>
20
  <p>
21
- CONTAINER EXTRAS - Container's calc() width now properly works with full-width and boxed width
22
  </p>
23
  <p>
24
- INTERACTOR extension temporarily disabled until bug resolved
 
 
 
25
  </p>
26
 
27
  <h3>Since v1.9.6 and below</h3>
10
 
11
  <div class="col-8">
12
 
13
+ <h3>What's new in v1.9.9?</h3>
14
  <p>
15
+ <strong>2 brand new extensions: TABBR and COUNTERZ + improvements</strong>
16
  </p>
17
  <p>
18
+ 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.
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/tabbr.png'; ?>" alt="Tabbr" />
23
  </p>
24
  <p>
25
+ Frustrated by the lack of options to the Counter widget? Sure you are. COUNTERZ extension will make it shine again.
26
+ </p>
27
+ <p>
28
+ HOVERANIMATOR extension can now be disabled for the touch based devices...
29
  </p>
30
 
31
  <h3>Since v1.9.6 and below</h3>
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-06-19 11:09+0200\n"
6
- "PO-Revision-Date: 2022-06-19 11:09+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -35,16 +35,18 @@ msgstr ""
35
  #: controls/ooohboi-breaking-bad.php:482 controls/ooohboi-breaking-bad.php:557
36
  #: controls/ooohboi-bullet.php:51 controls/ooohboi-butter-button.php:102
37
  #: controls/ooohboi-commentz.php:101 controls/ooohboi-commentz.php:1138
38
- #: controls/ooohboi-container-extras.php:102 controls/ooohboi-glider.php:121
39
- #: controls/ooohboi-glider.php:135 controls/ooohboi-glider.php:188
40
- #: controls/ooohboi-glider.php:421 controls/ooohboi-glider.php:581
41
- #: controls/ooohboi-glider.php:662 controls/ooohboi-glider.php:683
42
- #: controls/ooohboi-glider.php:705 controls/ooohboi-glider.php:745
43
- #: controls/ooohboi-glider.php:780 controls/ooohboi-glider.php:798
44
- #: controls/ooohboi-glider.php:817 controls/ooohboi-glider.php:836
45
- #: controls/ooohboi-harakiri.php:95 controls/ooohboi-harakiri.php:149
46
- #: controls/ooohboi-harakiri.php:397 controls/ooohboi-hover-animator.php:112
47
- #: controls/ooohboi-hover-animator.php:186 controls/ooohboi-icobox.php:96
 
 
48
  #: controls/ooohboi-icobox.php:112 controls/ooohboi-icobox.php:247
49
  #: controls/ooohboi-imbox.php:97 controls/ooohboi-imbox.php:135
50
  #: controls/ooohboi-imbox.php:431 controls/ooohboi-interactor.php:103
@@ -60,6 +62,7 @@ msgstr ""
60
  #: controls/ooohboi-photomorph.php:173 controls/ooohboi-pseudo.php:114
61
  #: controls/ooohboi-searchcop.php:79 controls/ooohboi-shadough.php:50
62
  #: controls/ooohboi-spacerat.php:101 controls/ooohboi-spacerat.php:378
 
63
  #: controls/ooohboi-widget-stalker.php:114
64
  #: inc/exopite-simple-options/fields/upload.php:131
65
  msgid "Yes"
@@ -69,16 +72,18 @@ msgstr ""
69
  #: controls/ooohboi-breaking-bad.php:483 controls/ooohboi-breaking-bad.php:558
70
  #: controls/ooohboi-bullet.php:52 controls/ooohboi-butter-button.php:103
71
  #: controls/ooohboi-commentz.php:102 controls/ooohboi-commentz.php:1139
72
- #: controls/ooohboi-container-extras.php:103 controls/ooohboi-glider.php:122
73
- #: controls/ooohboi-glider.php:136 controls/ooohboi-glider.php:189
74
- #: controls/ooohboi-glider.php:422 controls/ooohboi-glider.php:582
75
- #: controls/ooohboi-glider.php:663 controls/ooohboi-glider.php:684
76
- #: controls/ooohboi-glider.php:706 controls/ooohboi-glider.php:746
77
- #: controls/ooohboi-glider.php:781 controls/ooohboi-glider.php:799
78
- #: controls/ooohboi-glider.php:818 controls/ooohboi-glider.php:837
79
- #: controls/ooohboi-harakiri.php:96 controls/ooohboi-harakiri.php:150
80
- #: controls/ooohboi-harakiri.php:398 controls/ooohboi-hover-animator.php:113
81
- #: controls/ooohboi-hover-animator.php:187 controls/ooohboi-icobox.php:97
 
 
82
  #: controls/ooohboi-icobox.php:113 controls/ooohboi-icobox.php:248
83
  #: controls/ooohboi-imbox.php:98 controls/ooohboi-imbox.php:136
84
  #: controls/ooohboi-imbox.php:432 controls/ooohboi-interactor.php:104
@@ -94,6 +99,7 @@ msgstr ""
94
  #: controls/ooohboi-photomorph.php:174 controls/ooohboi-pseudo.php:115
95
  #: controls/ooohboi-searchcop.php:80 controls/ooohboi-shadough.php:51
96
  #: controls/ooohboi-spacerat.php:102 controls/ooohboi-spacerat.php:379
 
97
  #: controls/ooohboi-widget-stalker.php:115
98
  #: inc/exopite-simple-options/fields/upload.php:129
99
  msgid "No"
@@ -106,7 +112,8 @@ msgstr ""
106
  #: controls/ooohboi-breaking-bad.php:108 controls/ooohboi-breaking-bad.php:154
107
  #: controls/ooohboi-breaking-bad.php:337 controls/ooohboi-breaking-bad.php:466
108
  #: controls/ooohboi-breaking-bad.php:591 controls/ooohboi-breaking-bad.php:615
109
- #: controls/ooohboi-imbox.php:114
 
110
  msgid "Start"
111
  msgstr ""
112
 
@@ -114,30 +121,35 @@ msgstr ""
114
  #: controls/ooohboi-breaking-bad.php:315 controls/ooohboi-breaking-bad.php:338
115
  #: controls/ooohboi-breaking-bad.php:467 controls/ooohboi-breaking-bad.php:592
116
  #: controls/ooohboi-breaking-bad.php:616 controls/ooohboi-commentz.php:166
117
- #: controls/ooohboi-commentz.php:707 controls/ooohboi-imbox.php:115
 
118
  #: controls/ooohboi-oh-animator.php:353 controls/ooohboi-oh-animator.php:403
119
  #: controls/ooohboi-oh-animator.php:465 controls/ooohboi-oh-animator.php:514
120
- #: controls/ooohboi-widget-stalker.php:265
121
  msgid "Center"
122
  msgstr ""
123
 
124
  #: controls/ooohboi-breaking-bad.php:110 controls/ooohboi-breaking-bad.php:156
125
  #: controls/ooohboi-breaking-bad.php:316 controls/ooohboi-breaking-bad.php:339
126
  #: controls/ooohboi-breaking-bad.php:468 controls/ooohboi-breaking-bad.php:593
127
- #: controls/ooohboi-breaking-bad.php:617 controls/ooohboi-imbox.php:116
 
128
  #: controls/ooohboi-widget-stalker.php:266
129
  msgid "End"
130
  msgstr ""
131
 
132
  #: controls/ooohboi-breaking-bad.php:111 controls/ooohboi-breaking-bad.php:594
 
133
  msgid "Space Between"
134
  msgstr ""
135
 
136
  #: controls/ooohboi-breaking-bad.php:112 controls/ooohboi-breaking-bad.php:595
 
137
  msgid "Space Around"
138
  msgstr ""
139
 
140
  #: controls/ooohboi-breaking-bad.php:113 controls/ooohboi-breaking-bad.php:596
 
141
  msgid "Space Evenly"
142
  msgstr ""
143
 
@@ -189,8 +201,8 @@ msgid "Units"
189
  msgstr ""
190
 
191
  #: controls/ooohboi-breaking-bad.php:249
192
- #: controls/ooohboi-container-extras.php:114
193
- #: controls/ooohboi-container-extras.php:132
194
  #: controls/ooohboi-interactor.php:205 controls/ooohboi-overlaiz.php:78
195
  #: controls/ooohboi-overlaiz.php:588 controls/ooohboi-overlay-underlay.php:218
196
  #: controls/ooohboi-overlay-underlay.php:632
@@ -231,7 +243,8 @@ msgstr ""
231
  #: controls/ooohboi-overlay-underlay.php:612
232
  #: controls/ooohboi-overlay-underlay.php:1243 controls/ooohboi-pseudo.php:640
233
  #: controls/ooohboi-pseudo.php:1286 controls/ooohboi-spacerat.php:254
234
- #: controls/ooohboi-videomasq.php:105 controls/ooohboi-widget-stalker.php:263
 
235
  msgid "Auto"
236
  msgstr ""
237
 
@@ -306,7 +319,8 @@ msgstr ""
306
  #: controls/ooohboi-oh-animator.php:633 controls/ooohboi-oh-animator.php:658
307
  #: controls/ooohboi-oh-animator.php:683 controls/ooohboi-oh-animator.php:770
308
  #: controls/ooohboi-oh-animator.php:1056 controls/ooohboi-oh-animator.php:1173
309
- #: controls/ooohboi-spacerat.php:126 controls/ooohboi-teleporter.php:78
 
310
  msgid "None"
311
  msgstr ""
312
 
@@ -380,8 +394,10 @@ msgstr ""
380
 
381
  #: controls/ooohboi-butter-button.php:175 controls/ooohboi-commentz.php:183
382
  #: controls/ooohboi-commentz.php:792 controls/ooohboi-commentz.php:1031
 
383
  #: controls/ooohboi-glider.php:335 controls/ooohboi-kontrolz.php:107
384
- #: controls/ooohboi-paginini.php:59
 
385
  msgid "Padding"
386
  msgstr ""
387
 
@@ -389,7 +405,8 @@ msgstr ""
389
  #: controls/ooohboi-harakiri.php:378 controls/ooohboi-overlay-underlay.php:177
390
  #: controls/ooohboi-overlay-underlay.php:817
391
  #: controls/ooohboi-photomorph.php:112 controls/ooohboi-pseudo.php:186
392
- #: controls/ooohboi-pseudo.php:845 controls/ooohboi-teleporter.php:129
 
393
  msgid "Normal"
394
  msgstr ""
395
 
@@ -419,6 +436,7 @@ msgstr ""
419
  #: controls/ooohboi-butter-button.php:267
420
  #: controls/ooohboi-butter-button.php:398 controls/ooohboi-commentz.php:285
421
  #: controls/ooohboi-commentz.php:466 controls/ooohboi-commentz.php:988
 
422
  #: controls/ooohboi-imbox.php:230 controls/ooohboi-imbox.php:244
423
  #: controls/ooohboi-imbox.php:376 controls/ooohboi-imbox.php:390
424
  #: controls/ooohboi-overlaiz.php:371 controls/ooohboi-overlaiz.php:390
@@ -428,7 +446,9 @@ msgstr ""
428
  #: controls/ooohboi-overlay-underlay.php:1141 controls/ooohboi-paginini.php:146
429
  #: controls/ooohboi-paginini.php:195 controls/ooohboi-pseudo.php:518
430
  #: controls/ooohboi-pseudo.php:536 controls/ooohboi-pseudo.php:1165
431
- #: controls/ooohboi-pseudo.php:1183
 
 
432
  msgid "Border"
433
  msgstr ""
434
 
@@ -442,7 +462,7 @@ msgstr ""
442
  #: controls/ooohboi-overlay-underlay.php:520
443
  #: controls/ooohboi-overlay-underlay.php:1153 controls/ooohboi-paginini.php:154
444
  #: controls/ooohboi-paginini.php:203 controls/ooohboi-pseudo.php:548
445
- #: controls/ooohboi-pseudo.php:1195
446
  msgid "Border Radius"
447
  msgstr ""
448
 
@@ -492,17 +512,21 @@ msgid "Text alignment"
492
  msgstr ""
493
 
494
  #: controls/ooohboi-commentz.php:165 controls/ooohboi-commentz.php:706
 
495
  msgid "Left"
496
  msgstr ""
497
 
498
  #: controls/ooohboi-commentz.php:167 controls/ooohboi-commentz.php:708
 
499
  msgid "Right"
500
  msgstr ""
501
 
502
  #: controls/ooohboi-commentz.php:203 controls/ooohboi-commentz.php:642
503
  #: controls/ooohboi-commentz.php:809 controls/ooohboi-commentz.php:948
504
  #: controls/ooohboi-commentz.php:1051 controls/ooohboi-commentz.php:1115
 
505
  #: controls/ooohboi-oh-animator.php:302 controls/ooohboi-paginini.php:75
 
506
  #: controls/ooohboi-widget-stalker.php:240
507
  msgid "Margin"
508
  msgstr ""
@@ -650,32 +674,60 @@ msgid ""
650
  "not be posted!"
651
  msgstr ""
652
 
653
- #: controls/ooohboi-container-extras.php:98
654
  msgid "Enable Container Extras?"
655
  msgstr ""
656
 
657
- #: controls/ooohboi-container-extras.php:99
658
  msgid "Get some more flexibility on Containers width"
659
  msgstr ""
660
 
661
- #: controls/ooohboi-container-extras.php:119
662
- #: controls/ooohboi-container-extras.php:137
663
- #: controls/ooohboi-container-extras.php:155
664
- #: controls/ooohboi-container-extras.php:175
665
  msgid ""
666
  "You can enter any acceptable CSS value ( 50em, 25vw, 42.1% ) or the "
667
  "expression ( 100% - 300px, 55vw - 150px, 15rem - 20px ). NO calc() needed, "
668
  "it will be added automatically!"
669
  msgstr ""
670
 
671
- #: controls/ooohboi-container-extras.php:150
672
  msgid "Max-width"
673
  msgstr ""
674
 
675
- #: controls/ooohboi-container-extras.php:170
676
  msgid "Calc Min Height"
677
  msgstr ""
678
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679
  #: controls/ooohboi-glider.php:117
680
  msgid "Create Slider?"
681
  msgstr ""
@@ -904,19 +956,19 @@ msgstr ""
904
  msgid "Color - HOVER"
905
  msgstr ""
906
 
907
- #: controls/ooohboi-harakiri.php:121
908
  msgid "Writing Mode"
909
  msgstr ""
910
 
911
- #: controls/ooohboi-harakiri.php:127
912
  msgid "Vertical LR"
913
  msgstr ""
914
 
915
- #: controls/ooohboi-harakiri.php:128
916
  msgid "Vertical RL"
917
  msgstr ""
918
 
919
- #: controls/ooohboi-harakiri.php:145
920
  msgid "Flip"
921
  msgstr ""
922
 
@@ -928,11 +980,11 @@ msgid "Height"
928
  msgstr ""
929
 
930
  #: controls/ooohboi-harakiri.php:174 controls/ooohboi-harakiri.php:295
931
- #: controls/ooohboi-hover-animator.php:324
932
- #: controls/ooohboi-hover-animator.php:521
933
- #: controls/ooohboi-hover-animator.php:718
934
- #: controls/ooohboi-hover-animator.php:968
935
- #: controls/ooohboi-hover-animator.php:1134 controls/ooohboi-interactor.php:138
936
  #: controls/ooohboi-interactor.php:253 controls/ooohboi-overlaiz.php:537
937
  #: controls/ooohboi-overlaiz.php:567 controls/ooohboi-overlay-underlay.php:581
938
  #: controls/ooohboi-overlay-underlay.php:611
@@ -1091,7 +1143,7 @@ msgstr ""
1091
 
1092
  #: controls/ooohboi-hover-animator.php:140 controls/ooohboi-icobox.php:81
1093
  #: controls/ooohboi-imbox.php:82 controls/ooohboi-perspektive.php:263
1094
- #: controls/ooohboi-teleporter.php:368
1095
  msgid "Hidden"
1096
  msgstr ""
1097
 
@@ -1105,7 +1157,18 @@ msgid ""
1105
  "column."
1106
  msgstr ""
1107
 
1108
- #: controls/ooohboi-hover-animator.php:197 controls/ooohboi-interactor.php:209
 
 
 
 
 
 
 
 
 
 
 
1109
  #: controls/ooohboi-oh-animator.php:773
1110
  #: controls/ooohboi-overlay-underlay.php:138
1111
  #: controls/ooohboi-overlay-underlay.php:778 controls/ooohboi-pseudo.php:147
@@ -1113,86 +1176,86 @@ msgstr ""
1113
  msgid "Opacity"
1114
  msgstr ""
1115
 
1116
- #: controls/ooohboi-hover-animator.php:213
1117
  msgid "Opacity Normal"
1118
  msgstr ""
1119
 
1120
- #: controls/ooohboi-hover-animator.php:238
1121
  msgid "Opacity Hover"
1122
  msgstr ""
1123
 
1124
- #: controls/ooohboi-hover-animator.php:260
1125
- #: controls/ooohboi-hover-animator.php:457
1126
- #: controls/ooohboi-hover-animator.php:654
1127
- #: controls/ooohboi-hover-animator.php:904
1128
- #: controls/ooohboi-hover-animator.php:1070 controls/ooohboi-interactor.php:223
1129
  #: controls/ooohboi-oh-animator.php:1208
1130
  msgid "Duration"
1131
  msgstr ""
1132
 
1133
- #: controls/ooohboi-hover-animator.php:289
1134
- #: controls/ooohboi-hover-animator.php:486
1135
- #: controls/ooohboi-hover-animator.php:683
1136
- #: controls/ooohboi-hover-animator.php:933
1137
- #: controls/ooohboi-hover-animator.php:1099 controls/ooohboi-interactor.php:235
1138
  #: controls/ooohboi-oh-animator.php:1224
1139
  msgid "Delay"
1140
  msgstr ""
1141
 
1142
- #: controls/ooohboi-hover-animator.php:318
1143
- #: controls/ooohboi-hover-animator.php:515
1144
- #: controls/ooohboi-hover-animator.php:712
1145
- #: controls/ooohboi-hover-animator.php:962
1146
- #: controls/ooohboi-hover-animator.php:1128 controls/ooohboi-interactor.php:247
1147
  msgid "Easing"
1148
  msgstr ""
1149
 
1150
- #: controls/ooohboi-hover-animator.php:325
1151
- #: controls/ooohboi-hover-animator.php:522
1152
- #: controls/ooohboi-hover-animator.php:719
1153
- #: controls/ooohboi-hover-animator.php:969
1154
- #: controls/ooohboi-hover-animator.php:1135 controls/ooohboi-interactor.php:254
1155
  #: controls/ooohboi-photomorph.php:221
1156
  msgid "Ease-in"
1157
  msgstr ""
1158
 
1159
- #: controls/ooohboi-hover-animator.php:326
1160
- #: controls/ooohboi-hover-animator.php:523
1161
- #: controls/ooohboi-hover-animator.php:720
1162
- #: controls/ooohboi-hover-animator.php:970
1163
- #: controls/ooohboi-hover-animator.php:1136 controls/ooohboi-interactor.php:255
1164
  #: controls/ooohboi-photomorph.php:222
1165
  msgid "Ease-out"
1166
  msgstr ""
1167
 
1168
- #: controls/ooohboi-hover-animator.php:327
1169
- #: controls/ooohboi-hover-animator.php:524
1170
- #: controls/ooohboi-hover-animator.php:721
1171
- #: controls/ooohboi-hover-animator.php:971
1172
- #: controls/ooohboi-hover-animator.php:1137 controls/ooohboi-interactor.php:256
1173
  #: controls/ooohboi-photomorph.php:223
1174
  msgid "Ease-in-out"
1175
  msgstr ""
1176
 
1177
- #: controls/ooohboi-hover-animator.php:347
1178
  #: controls/ooohboi-overlay-underlay.php:340
1179
  #: controls/ooohboi-overlay-underlay.php:976 controls/ooohboi-pseudo.php:358
1180
  #: controls/ooohboi-pseudo.php:1010
1181
  msgid "Offset Top"
1182
  msgstr ""
1183
 
1184
- #: controls/ooohboi-hover-animator.php:363
1185
  msgid "Offset Top Normal"
1186
  msgstr ""
1187
 
1188
- #: controls/ooohboi-hover-animator.php:395
1189
  msgid "Calc Offset Top Normal"
1190
  msgstr ""
1191
 
1192
- #: controls/ooohboi-hover-animator.php:396
1193
- #: controls/ooohboi-hover-animator.php:443
1194
- #: controls/ooohboi-hover-animator.php:593
1195
- #: controls/ooohboi-hover-animator.php:640 controls/ooohboi-overlaiz.php:130
1196
  #: controls/ooohboi-overlaiz.php:197 controls/ooohboi-overlaiz.php:264
1197
  #: controls/ooohboi-overlaiz.php:331 controls/ooohboi-overlay-underlay.php:263
1198
  #: controls/ooohboi-overlay-underlay.php:385
@@ -1204,75 +1267,75 @@ msgstr ""
1204
  msgid "Enter CSS calc value only! Like: 100% - 50px or 100% + 2em"
1205
  msgstr ""
1206
 
1207
- #: controls/ooohboi-hover-animator.php:413
1208
  msgid "Offset Top Hover"
1209
  msgstr ""
1210
 
1211
- #: controls/ooohboi-hover-animator.php:442
1212
  msgid "Calc Offset Top Hover"
1213
  msgstr ""
1214
 
1215
- #: controls/ooohboi-hover-animator.php:544
1216
  #: controls/ooohboi-overlay-underlay.php:401
1217
  #: controls/ooohboi-overlay-underlay.php:1035 controls/ooohboi-pseudo.php:423
1218
  #: controls/ooohboi-pseudo.php:1073
1219
  msgid "Offset Left"
1220
  msgstr ""
1221
 
1222
- #: controls/ooohboi-hover-animator.php:560
1223
  msgid "Offset Left Normal"
1224
  msgstr ""
1225
 
1226
- #: controls/ooohboi-hover-animator.php:592
1227
  msgid "Calc Offset Left Normal"
1228
  msgstr ""
1229
 
1230
- #: controls/ooohboi-hover-animator.php:610
1231
  msgid "Offset Left Hover"
1232
  msgstr ""
1233
 
1234
- #: controls/ooohboi-hover-animator.php:639
1235
  msgid "Calc Offset Left Hover"
1236
  msgstr ""
1237
 
1238
- #: controls/ooohboi-hover-animator.php:741
1239
  msgid "Transforms"
1240
  msgstr ""
1241
 
1242
- #: controls/ooohboi-hover-animator.php:756
1243
  msgid "ScaleX Normal"
1244
  msgstr ""
1245
 
1246
- #: controls/ooohboi-hover-animator.php:782
1247
  msgid "ScaleX Hover"
1248
  msgstr ""
1249
 
1250
- #: controls/ooohboi-hover-animator.php:805
1251
  msgid "ScaleY Normal"
1252
  msgstr ""
1253
 
1254
- #: controls/ooohboi-hover-animator.php:831
1255
  msgid "ScaleY Hover"
1256
  msgstr ""
1257
 
1258
- #: controls/ooohboi-hover-animator.php:854
1259
  msgid "Rotation Normal"
1260
  msgstr ""
1261
 
1262
- #: controls/ooohboi-hover-animator.php:880
1263
  msgid "Rotation Hover"
1264
  msgstr ""
1265
 
1266
- #: controls/ooohboi-hover-animator.php:991 controls/ooohboi-shadough.php:123
1267
  #: controls/ooohboi-spacerat.php:474
1268
  msgid "Blur"
1269
  msgstr ""
1270
 
1271
- #: controls/ooohboi-hover-animator.php:1007
1272
  msgid "Blur Normal"
1273
  msgstr ""
1274
 
1275
- #: controls/ooohboi-hover-animator.php:1040
1276
  msgid "Blur Hover"
1277
  msgstr ""
1278
 
@@ -2458,6 +2521,80 @@ msgstr ""
2458
  msgid "Define Shadow"
2459
  msgstr ""
2460
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2461
  #: controls/ooohboi-teleporter.php:61
2462
  msgid "Enable Teleporter"
2463
  msgstr ""
@@ -2714,68 +2851,78 @@ msgid ""
2714
  "Elementor 3.6 and above)%s"
2715
  msgstr ""
2716
 
2717
- #: inc/common-functions.php:247
2718
- msgid "Manage JS Libraries"
 
2719
  msgstr ""
2720
 
2721
  #: inc/common-functions.php:253
2722
  #, php-format
 
 
 
 
 
 
 
 
 
2723
  msgid ""
2724
  "%sThe following libraries are currently available with Steroids for "
2725
  "Elementor add-on. Enable or disable particular library by switching it ON or "
2726
  "OFF.%s"
2727
  msgstr ""
2728
 
2729
- #: inc/common-functions.php:259
2730
  msgid "LOCOMOTIVE SCROLL"
2731
  msgstr ""
2732
 
2733
- #: inc/common-functions.php:260
2734
  #, php-format
2735
  msgid ""
2736
  "%1$sDetection of elements in viewport and smooth scrolling with parallax.%3$s"
2737
  "%4$sSOURCE%5$s%2$s"
2738
  msgstr ""
2739
 
2740
- #: inc/common-functions.php:271
2741
  msgid "Enable for Tablets"
2742
  msgstr ""
2743
 
2744
- #: inc/common-functions.php:272
2745
  msgid "Enable for Mobiles"
2746
  msgstr ""
2747
 
2748
- #: inc/common-functions.php:281
2749
  msgid "Multiplier"
2750
  msgstr ""
2751
 
2752
- #: inc/common-functions.php:282
2753
  #, php-format
2754
  msgid "%sBoost/reduce scrolling speed. 1 is the default.%s"
2755
  msgstr ""
2756
 
2757
- #: inc/common-functions.php:291
2758
  msgid "Refresh on resize?"
2759
  msgstr ""
2760
 
2761
- #: inc/common-functions.php:292
2762
  msgid ""
2763
  "Things get messy on resize. That will do the silent page refresh upon the "
2764
  "window resize/orientationchange."
2765
  msgstr ""
2766
 
2767
- #: inc/common-functions.php:299
2768
  msgid "Enable freehand mode?"
2769
  msgstr ""
2770
 
2771
- #: inc/common-functions.php:300
2772
  #, php-format
2773
  msgid ""
2774
  "That removes all the default %sdata-scroll-section%s attributes so you can "
2775
  "set them at will."
2776
  msgstr ""
2777
 
2778
- #: inc/common-functions.php:311
2779
  #, php-format
2780
  msgid ""
2781
  "%1$s Cross-browser JavaScript library/API which is used to create and "
@@ -2783,40 +2930,40 @@ msgid ""
2783
  "%2$s"
2784
  msgstr ""
2785
 
2786
- #: inc/common-functions.php:318
2787
  #, php-format
2788
  msgid ""
2789
  "%1$s A lightweight JavaScript animation library with a simple, yet powerful "
2790
  "API.%3$s%4$sSOURCE%5$s%2$s"
2791
  msgstr ""
2792
 
2793
- #: inc/common-functions.php:325
2794
  #, php-format
2795
  msgid ""
2796
  "%1$s Create badass fluid and smooth transitions between your website's pages."
2797
  "%3$s%4$sSOURCE%5$s%2$s"
2798
  msgstr ""
2799
 
2800
- #: inc/common-functions.php:332
2801
  #, php-format
2802
  msgid ""
2803
  "%1$sGreenSock's GSAP JavaScript animation library (including Draggable).%3$s"
2804
  "%4$sSOURCE%5$s%2$s"
2805
  msgstr ""
2806
 
2807
- #: inc/common-functions.php:339
2808
  #, php-format
2809
  msgid "%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s"
2810
  msgstr ""
2811
 
2812
- #: inc/common-functions.php:346
2813
  #, php-format
2814
  msgid ""
2815
  "%1$sAnimates the scroll position of the window or a DOM element.%3$s"
2816
  "%4$sSOURCE%5$s%2$s"
2817
  msgstr ""
2818
 
2819
- #: inc/common-functions.php:353
2820
  #, php-format
2821
  msgid ""
2822
  "%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-02 13:14+0200\n"
6
+ "PO-Revision-Date: 2022-07-02 13:14+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
35
  #: controls/ooohboi-breaking-bad.php:482 controls/ooohboi-breaking-bad.php:557
36
  #: controls/ooohboi-bullet.php:51 controls/ooohboi-butter-button.php:102
37
  #: controls/ooohboi-commentz.php:101 controls/ooohboi-commentz.php:1138
38
+ #: controls/ooohboi-container-extras.php:98 controls/ooohboi-counterz.php:94
39
+ #: controls/ooohboi-glider.php:121 controls/ooohboi-glider.php:135
40
+ #: controls/ooohboi-glider.php:188 controls/ooohboi-glider.php:421
41
+ #: controls/ooohboi-glider.php:581 controls/ooohboi-glider.php:662
42
+ #: controls/ooohboi-glider.php:683 controls/ooohboi-glider.php:705
43
+ #: controls/ooohboi-glider.php:745 controls/ooohboi-glider.php:780
44
+ #: controls/ooohboi-glider.php:798 controls/ooohboi-glider.php:817
45
+ #: controls/ooohboi-glider.php:836 controls/ooohboi-harakiri.php:95
46
+ #: controls/ooohboi-harakiri.php:149 controls/ooohboi-harakiri.php:397
47
+ #: controls/ooohboi-hover-animator.php:112
48
+ #: controls/ooohboi-hover-animator.php:186
49
+ #: controls/ooohboi-hover-animator.php:201 controls/ooohboi-icobox.php:96
50
  #: controls/ooohboi-icobox.php:112 controls/ooohboi-icobox.php:247
51
  #: controls/ooohboi-imbox.php:97 controls/ooohboi-imbox.php:135
52
  #: controls/ooohboi-imbox.php:431 controls/ooohboi-interactor.php:103
62
  #: controls/ooohboi-photomorph.php:173 controls/ooohboi-pseudo.php:114
63
  #: controls/ooohboi-searchcop.php:79 controls/ooohboi-shadough.php:50
64
  #: controls/ooohboi-spacerat.php:101 controls/ooohboi-spacerat.php:378
65
+ #: controls/ooohboi-tabbr.php:94 controls/ooohboi-tabbr.php:145
66
  #: controls/ooohboi-widget-stalker.php:114
67
  #: inc/exopite-simple-options/fields/upload.php:131
68
  msgid "Yes"
72
  #: controls/ooohboi-breaking-bad.php:483 controls/ooohboi-breaking-bad.php:558
73
  #: controls/ooohboi-bullet.php:52 controls/ooohboi-butter-button.php:103
74
  #: controls/ooohboi-commentz.php:102 controls/ooohboi-commentz.php:1139
75
+ #: controls/ooohboi-container-extras.php:99 controls/ooohboi-counterz.php:95
76
+ #: controls/ooohboi-glider.php:122 controls/ooohboi-glider.php:136
77
+ #: controls/ooohboi-glider.php:189 controls/ooohboi-glider.php:422
78
+ #: controls/ooohboi-glider.php:582 controls/ooohboi-glider.php:663
79
+ #: controls/ooohboi-glider.php:684 controls/ooohboi-glider.php:706
80
+ #: controls/ooohboi-glider.php:746 controls/ooohboi-glider.php:781
81
+ #: controls/ooohboi-glider.php:799 controls/ooohboi-glider.php:818
82
+ #: controls/ooohboi-glider.php:837 controls/ooohboi-harakiri.php:96
83
+ #: controls/ooohboi-harakiri.php:150 controls/ooohboi-harakiri.php:398
84
+ #: controls/ooohboi-hover-animator.php:113
85
+ #: controls/ooohboi-hover-animator.php:187
86
+ #: controls/ooohboi-hover-animator.php:202 controls/ooohboi-icobox.php:97
87
  #: controls/ooohboi-icobox.php:113 controls/ooohboi-icobox.php:248
88
  #: controls/ooohboi-imbox.php:98 controls/ooohboi-imbox.php:136
89
  #: controls/ooohboi-imbox.php:432 controls/ooohboi-interactor.php:104
99
  #: controls/ooohboi-photomorph.php:174 controls/ooohboi-pseudo.php:115
100
  #: controls/ooohboi-searchcop.php:80 controls/ooohboi-shadough.php:51
101
  #: controls/ooohboi-spacerat.php:102 controls/ooohboi-spacerat.php:379
102
+ #: controls/ooohboi-tabbr.php:95 controls/ooohboi-tabbr.php:146
103
  #: controls/ooohboi-widget-stalker.php:115
104
  #: inc/exopite-simple-options/fields/upload.php:129
105
  msgid "No"
112
  #: controls/ooohboi-breaking-bad.php:108 controls/ooohboi-breaking-bad.php:154
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:189
117
  msgid "Start"
118
  msgstr ""
119
 
121
  #: controls/ooohboi-breaking-bad.php:315 controls/ooohboi-breaking-bad.php:338
122
  #: controls/ooohboi-breaking-bad.php:467 controls/ooohboi-breaking-bad.php:592
123
  #: controls/ooohboi-breaking-bad.php:616 controls/ooohboi-commentz.php:166
124
+ #: controls/ooohboi-commentz.php:707 controls/ooohboi-counterz.php:124
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:190 controls/ooohboi-widget-stalker.php:265
129
  msgid "Center"
130
  msgstr ""
131
 
132
  #: controls/ooohboi-breaking-bad.php:110 controls/ooohboi-breaking-bad.php:156
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:191
137
  #: controls/ooohboi-widget-stalker.php:266
138
  msgid "End"
139
  msgstr ""
140
 
141
  #: controls/ooohboi-breaking-bad.php:111 controls/ooohboi-breaking-bad.php:594
142
+ #: controls/ooohboi-counterz.php:126
143
  msgid "Space Between"
144
  msgstr ""
145
 
146
  #: controls/ooohboi-breaking-bad.php:112 controls/ooohboi-breaking-bad.php:595
147
+ #: controls/ooohboi-counterz.php:127
148
  msgid "Space Around"
149
  msgstr ""
150
 
151
  #: controls/ooohboi-breaking-bad.php:113 controls/ooohboi-breaking-bad.php:596
152
+ #: controls/ooohboi-counterz.php:128
153
  msgid "Space Evenly"
154
  msgstr ""
155
 
201
  msgstr ""
202
 
203
  #: controls/ooohboi-breaking-bad.php:249
204
+ #: controls/ooohboi-container-extras.php:110
205
+ #: controls/ooohboi-container-extras.php:128
206
  #: controls/ooohboi-interactor.php:205 controls/ooohboi-overlaiz.php:78
207
  #: controls/ooohboi-overlaiz.php:588 controls/ooohboi-overlay-underlay.php:218
208
  #: controls/ooohboi-overlay-underlay.php:632
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:549 controls/ooohboi-videomasq.php:105
247
+ #: controls/ooohboi-widget-stalker.php:263
248
  msgid "Auto"
249
  msgstr ""
250
 
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-tabbr.php:192
323
+ #: controls/ooohboi-teleporter.php:78
324
  msgid "None"
325
  msgstr ""
326
 
394
 
395
  #: controls/ooohboi-butter-button.php:175 controls/ooohboi-commentz.php:183
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-tabbr.php:277
400
+ #: controls/ooohboi-tabbr.php:427
401
  msgid "Padding"
402
  msgstr ""
403
 
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:126
409
+ #: controls/ooohboi-tabbr.php:336 controls/ooohboi-teleporter.php:129
410
  msgid "Normal"
411
  msgstr ""
412
 
436
  #: controls/ooohboi-butter-button.php:267
437
  #: controls/ooohboi-butter-button.php:398 controls/ooohboi-commentz.php:285
438
  #: controls/ooohboi-commentz.php:466 controls/ooohboi-commentz.php:988
439
+ #: controls/ooohboi-counterz.php:194 controls/ooohboi-counterz.php:293
440
  #: controls/ooohboi-imbox.php:230 controls/ooohboi-imbox.php:244
441
  #: controls/ooohboi-imbox.php:376 controls/ooohboi-imbox.php:390
442
  #: controls/ooohboi-overlaiz.php:371 controls/ooohboi-overlaiz.php:390
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:358
450
+ #: controls/ooohboi-tabbr.php:396 controls/ooohboi-tabbr.php:480
451
+ #: controls/ooohboi-tabbr.php:494
452
  msgid "Border"
453
  msgstr ""
454
 
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:317
466
  msgid "Border Radius"
467
  msgstr ""
468
 
512
  msgstr ""
513
 
514
  #: controls/ooohboi-commentz.php:165 controls/ooohboi-commentz.php:706
515
+ #: controls/ooohboi-counterz.php:226
516
  msgid "Left"
517
  msgstr ""
518
 
519
  #: controls/ooohboi-commentz.php:167 controls/ooohboi-commentz.php:708
520
+ #: controls/ooohboi-counterz.php:228
521
  msgid "Right"
522
  msgstr ""
523
 
524
  #: controls/ooohboi-commentz.php:203 controls/ooohboi-commentz.php:642
525
  #: controls/ooohboi-commentz.php:809 controls/ooohboi-commentz.php:948
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:297 controls/ooohboi-tabbr.php:447
530
  #: controls/ooohboi-widget-stalker.php:240
531
  msgid "Margin"
532
  msgstr ""
674
  "not be posted!"
675
  msgstr ""
676
 
677
+ #: controls/ooohboi-container-extras.php:94
678
  msgid "Enable Container Extras?"
679
  msgstr ""
680
 
681
+ #: controls/ooohboi-container-extras.php:95
682
  msgid "Get some more flexibility on Containers width"
683
  msgstr ""
684
 
685
+ #: controls/ooohboi-container-extras.php:115
686
+ #: controls/ooohboi-container-extras.php:133
687
+ #: controls/ooohboi-container-extras.php:151
688
+ #: controls/ooohboi-container-extras.php:171
689
  msgid ""
690
  "You can enter any acceptable CSS value ( 50em, 25vw, 42.1% ) or the "
691
  "expression ( 100% - 300px, 55vw - 150px, 15rem - 20px ). NO calc() needed, "
692
  "it will be added automatically!"
693
  msgstr ""
694
 
695
+ #: controls/ooohboi-container-extras.php:146
696
  msgid "Max-width"
697
  msgstr ""
698
 
699
+ #: controls/ooohboi-container-extras.php:166
700
  msgid "Calc Min Height"
701
  msgstr ""
702
 
703
+ #: controls/ooohboi-counterz.php:91
704
+ msgid "Enable Counterz?"
705
+ msgstr ""
706
+
707
+ #: controls/ooohboi-counterz.php:107
708
+ msgid "Numbers"
709
+ msgstr ""
710
+
711
+ #: controls/ooohboi-counterz.php:108
712
+ msgid "Additional options to the Numbers element"
713
+ msgstr ""
714
+
715
+ #: controls/ooohboi-counterz.php:119
716
+ msgid "Align numbers"
717
+ msgstr ""
718
+
719
+ #: controls/ooohboi-counterz.php:209
720
+ msgid "Title"
721
+ msgstr ""
722
+
723
+ #: controls/ooohboi-counterz.php:210
724
+ msgid "Additional options to the Title element"
725
+ msgstr ""
726
+
727
+ #: controls/ooohboi-counterz.php:222
728
+ msgid "Align title"
729
+ msgstr ""
730
+
731
  #: controls/ooohboi-glider.php:117
732
  msgid "Create Slider?"
733
  msgstr ""
956
  msgid "Color - HOVER"
957
  msgstr ""
958
 
959
+ #: controls/ooohboi-harakiri.php:121 controls/ooohboi-tabbr.php:120
960
  msgid "Writing Mode"
961
  msgstr ""
962
 
963
+ #: controls/ooohboi-harakiri.php:127 controls/ooohboi-tabbr.php:124
964
  msgid "Vertical LR"
965
  msgstr ""
966
 
967
+ #: controls/ooohboi-harakiri.php:128 controls/ooohboi-tabbr.php:125
968
  msgid "Vertical RL"
969
  msgstr ""
970
 
971
+ #: controls/ooohboi-harakiri.php:145 controls/ooohboi-tabbr.php:141
972
  msgid "Flip"
973
  msgstr ""
974
 
980
  msgstr ""
981
 
982
  #: controls/ooohboi-harakiri.php:174 controls/ooohboi-harakiri.php:295
983
+ #: controls/ooohboi-hover-animator.php:342
984
+ #: controls/ooohboi-hover-animator.php:539
985
+ #: controls/ooohboi-hover-animator.php:736
986
+ #: controls/ooohboi-hover-animator.php:986
987
+ #: controls/ooohboi-hover-animator.php:1152 controls/ooohboi-interactor.php:138
988
  #: controls/ooohboi-interactor.php:253 controls/ooohboi-overlaiz.php:537
989
  #: controls/ooohboi-overlaiz.php:567 controls/ooohboi-overlay-underlay.php:581
990
  #: controls/ooohboi-overlay-underlay.php:611
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:548 controls/ooohboi-teleporter.php:368
1147
  msgid "Hidden"
1148
  msgstr ""
1149
 
1157
  "column."
1158
  msgstr ""
1159
 
1160
+ #: controls/ooohboi-hover-animator.php:197
1161
+ #, php-format
1162
+ msgid "Disable on touch devices?%sNEW!%s"
1163
+ msgstr ""
1164
+
1165
+ #: controls/ooohboi-hover-animator.php:199
1166
+ msgid ""
1167
+ "The effect is visible on touch based devices only. Developer tools can "
1168
+ "simulate touch devices!"
1169
+ msgstr ""
1170
+
1171
+ #: controls/ooohboi-hover-animator.php:215 controls/ooohboi-interactor.php:209
1172
  #: controls/ooohboi-oh-animator.php:773
1173
  #: controls/ooohboi-overlay-underlay.php:138
1174
  #: controls/ooohboi-overlay-underlay.php:778 controls/ooohboi-pseudo.php:147
1176
  msgid "Opacity"
1177
  msgstr ""
1178
 
1179
+ #: controls/ooohboi-hover-animator.php:231
1180
  msgid "Opacity Normal"
1181
  msgstr ""
1182
 
1183
+ #: controls/ooohboi-hover-animator.php:256
1184
  msgid "Opacity Hover"
1185
  msgstr ""
1186
 
1187
+ #: controls/ooohboi-hover-animator.php:278
1188
+ #: controls/ooohboi-hover-animator.php:475
1189
+ #: controls/ooohboi-hover-animator.php:672
1190
+ #: controls/ooohboi-hover-animator.php:922
1191
+ #: controls/ooohboi-hover-animator.php:1088 controls/ooohboi-interactor.php:223
1192
  #: controls/ooohboi-oh-animator.php:1208
1193
  msgid "Duration"
1194
  msgstr ""
1195
 
1196
+ #: controls/ooohboi-hover-animator.php:307
1197
+ #: controls/ooohboi-hover-animator.php:504
1198
+ #: controls/ooohboi-hover-animator.php:701
1199
+ #: controls/ooohboi-hover-animator.php:951
1200
+ #: controls/ooohboi-hover-animator.php:1117 controls/ooohboi-interactor.php:235
1201
  #: controls/ooohboi-oh-animator.php:1224
1202
  msgid "Delay"
1203
  msgstr ""
1204
 
1205
+ #: controls/ooohboi-hover-animator.php:336
1206
+ #: controls/ooohboi-hover-animator.php:533
1207
+ #: controls/ooohboi-hover-animator.php:730
1208
+ #: controls/ooohboi-hover-animator.php:980
1209
+ #: controls/ooohboi-hover-animator.php:1146 controls/ooohboi-interactor.php:247
1210
  msgid "Easing"
1211
  msgstr ""
1212
 
1213
+ #: controls/ooohboi-hover-animator.php:343
1214
+ #: controls/ooohboi-hover-animator.php:540
1215
+ #: controls/ooohboi-hover-animator.php:737
1216
+ #: controls/ooohboi-hover-animator.php:987
1217
+ #: controls/ooohboi-hover-animator.php:1153 controls/ooohboi-interactor.php:254
1218
  #: controls/ooohboi-photomorph.php:221
1219
  msgid "Ease-in"
1220
  msgstr ""
1221
 
1222
+ #: controls/ooohboi-hover-animator.php:344
1223
+ #: controls/ooohboi-hover-animator.php:541
1224
+ #: controls/ooohboi-hover-animator.php:738
1225
+ #: controls/ooohboi-hover-animator.php:988
1226
+ #: controls/ooohboi-hover-animator.php:1154 controls/ooohboi-interactor.php:255
1227
  #: controls/ooohboi-photomorph.php:222
1228
  msgid "Ease-out"
1229
  msgstr ""
1230
 
1231
+ #: controls/ooohboi-hover-animator.php:345
1232
+ #: controls/ooohboi-hover-animator.php:542
1233
+ #: controls/ooohboi-hover-animator.php:739
1234
+ #: controls/ooohboi-hover-animator.php:989
1235
+ #: controls/ooohboi-hover-animator.php:1155 controls/ooohboi-interactor.php:256
1236
  #: controls/ooohboi-photomorph.php:223
1237
  msgid "Ease-in-out"
1238
  msgstr ""
1239
 
1240
+ #: controls/ooohboi-hover-animator.php:365
1241
  #: controls/ooohboi-overlay-underlay.php:340
1242
  #: controls/ooohboi-overlay-underlay.php:976 controls/ooohboi-pseudo.php:358
1243
  #: controls/ooohboi-pseudo.php:1010
1244
  msgid "Offset Top"
1245
  msgstr ""
1246
 
1247
+ #: controls/ooohboi-hover-animator.php:381
1248
  msgid "Offset Top Normal"
1249
  msgstr ""
1250
 
1251
+ #: controls/ooohboi-hover-animator.php:413
1252
  msgid "Calc Offset Top Normal"
1253
  msgstr ""
1254
 
1255
+ #: controls/ooohboi-hover-animator.php:414
1256
+ #: controls/ooohboi-hover-animator.php:461
1257
+ #: controls/ooohboi-hover-animator.php:611
1258
+ #: controls/ooohboi-hover-animator.php:658 controls/ooohboi-overlaiz.php:130
1259
  #: controls/ooohboi-overlaiz.php:197 controls/ooohboi-overlaiz.php:264
1260
  #: controls/ooohboi-overlaiz.php:331 controls/ooohboi-overlay-underlay.php:263
1261
  #: controls/ooohboi-overlay-underlay.php:385
1267
  msgid "Enter CSS calc value only! Like: 100% - 50px or 100% + 2em"
1268
  msgstr ""
1269
 
1270
+ #: controls/ooohboi-hover-animator.php:431
1271
  msgid "Offset Top Hover"
1272
  msgstr ""
1273
 
1274
+ #: controls/ooohboi-hover-animator.php:460
1275
  msgid "Calc Offset Top Hover"
1276
  msgstr ""
1277
 
1278
+ #: controls/ooohboi-hover-animator.php:562
1279
  #: controls/ooohboi-overlay-underlay.php:401
1280
  #: controls/ooohboi-overlay-underlay.php:1035 controls/ooohboi-pseudo.php:423
1281
  #: controls/ooohboi-pseudo.php:1073
1282
  msgid "Offset Left"
1283
  msgstr ""
1284
 
1285
+ #: controls/ooohboi-hover-animator.php:578
1286
  msgid "Offset Left Normal"
1287
  msgstr ""
1288
 
1289
+ #: controls/ooohboi-hover-animator.php:610
1290
  msgid "Calc Offset Left Normal"
1291
  msgstr ""
1292
 
1293
+ #: controls/ooohboi-hover-animator.php:628
1294
  msgid "Offset Left Hover"
1295
  msgstr ""
1296
 
1297
+ #: controls/ooohboi-hover-animator.php:657
1298
  msgid "Calc Offset Left Hover"
1299
  msgstr ""
1300
 
1301
+ #: controls/ooohboi-hover-animator.php:759
1302
  msgid "Transforms"
1303
  msgstr ""
1304
 
1305
+ #: controls/ooohboi-hover-animator.php:774
1306
  msgid "ScaleX Normal"
1307
  msgstr ""
1308
 
1309
+ #: controls/ooohboi-hover-animator.php:800
1310
  msgid "ScaleX Hover"
1311
  msgstr ""
1312
 
1313
+ #: controls/ooohboi-hover-animator.php:823
1314
  msgid "ScaleY Normal"
1315
  msgstr ""
1316
 
1317
+ #: controls/ooohboi-hover-animator.php:849
1318
  msgid "ScaleY Hover"
1319
  msgstr ""
1320
 
1321
+ #: controls/ooohboi-hover-animator.php:872
1322
  msgid "Rotation Normal"
1323
  msgstr ""
1324
 
1325
+ #: controls/ooohboi-hover-animator.php:898
1326
  msgid "Rotation Hover"
1327
  msgstr ""
1328
 
1329
+ #: controls/ooohboi-hover-animator.php:1009 controls/ooohboi-shadough.php:123
1330
  #: controls/ooohboi-spacerat.php:474
1331
  msgid "Blur"
1332
  msgstr ""
1333
 
1334
+ #: controls/ooohboi-hover-animator.php:1025
1335
  msgid "Blur Normal"
1336
  msgstr ""
1337
 
1338
+ #: controls/ooohboi-hover-animator.php:1058
1339
  msgid "Blur Hover"
1340
  msgstr ""
1341
 
2521
  msgid "Define Shadow"
2522
  msgstr ""
2523
 
2524
+ #: controls/ooohboi-tabbr.php:91
2525
+ msgid "Enable Tabbr?"
2526
+ msgstr ""
2527
+
2528
+ #: controls/ooohboi-tabbr.php:107
2529
+ msgid "Tabs general"
2530
+ msgstr ""
2531
+
2532
+ #: controls/ooohboi-tabbr.php:108
2533
+ msgid "General settings for all tabs"
2534
+ msgstr ""
2535
+
2536
+ #: controls/ooohboi-tabbr.php:165
2537
+ msgid "Tab width"
2538
+ msgstr ""
2539
+
2540
+ #: controls/ooohboi-tabbr.php:166 controls/ooohboi-tabbr.php:529
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:184
2547
+ msgid "Tabs alignment"
2548
+ msgstr ""
2549
+
2550
+ #: controls/ooohboi-tabbr.php:185
2551
+ msgid "BEWARE! This will override the default (non-responsive) tabs alignment!"
2552
+ msgstr ""
2553
+
2554
+ #: controls/ooohboi-tabbr.php:208
2555
+ msgid "Tabs Wrapper Padding"
2556
+ msgstr ""
2557
+
2558
+ #: controls/ooohboi-tabbr.php:228
2559
+ msgid "Tabs Wrapper Margin"
2560
+ msgstr ""
2561
+
2562
+ #: controls/ooohboi-tabbr.php:249
2563
+ msgid "Tabs Wrapper Border"
2564
+ msgstr ""
2565
+
2566
+ #: controls/ooohboi-tabbr.php:263
2567
+ msgid "Tab title"
2568
+ msgstr ""
2569
+
2570
+ #: controls/ooohboi-tabbr.php:264
2571
+ msgid "Style up tab title"
2572
+ msgstr ""
2573
+
2574
+ #: controls/ooohboi-tabbr.php:374
2575
+ msgid "Active"
2576
+ msgstr ""
2577
+
2578
+ #: controls/ooohboi-tabbr.php:414
2579
+ msgid "Tab container"
2580
+ msgstr ""
2581
+
2582
+ #: controls/ooohboi-tabbr.php:415
2583
+ msgid "Style up the tab container"
2584
+ msgstr ""
2585
+
2586
+ #: controls/ooohboi-tabbr.php:507
2587
+ msgid "Inset border"
2588
+ msgstr ""
2589
+
2590
+ #: controls/ooohboi-tabbr.php:528
2591
+ msgid "Max-height"
2592
+ msgstr ""
2593
+
2594
+ #: controls/ooohboi-tabbr.php:544
2595
+ msgid "Scroll behaviour"
2596
+ msgstr ""
2597
+
2598
  #: controls/ooohboi-teleporter.php:61
2599
  msgid "Enable Teleporter"
2600
  msgstr ""
2851
  "Elementor 3.6 and above)%s"
2852
  msgstr ""
2853
 
2854
+ #: inc/common-functions.php:246
2855
+ #, php-format
2856
+ msgid "%sMore styling options to the Counter widget%s"
2857
  msgstr ""
2858
 
2859
  #: inc/common-functions.php:253
2860
  #, php-format
2861
+ msgid "%sStyle up your tabs like a rock star%s"
2862
+ msgstr ""
2863
+
2864
+ #: inc/common-functions.php:261
2865
+ msgid "Manage JS Libraries"
2866
+ msgstr ""
2867
+
2868
+ #: inc/common-functions.php:267
2869
+ #, php-format
2870
  msgid ""
2871
  "%sThe following libraries are currently available with Steroids for "
2872
  "Elementor add-on. Enable or disable particular library by switching it ON or "
2873
  "OFF.%s"
2874
  msgstr ""
2875
 
2876
+ #: inc/common-functions.php:273
2877
  msgid "LOCOMOTIVE SCROLL"
2878
  msgstr ""
2879
 
2880
+ #: inc/common-functions.php:274
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:285
2888
  msgid "Enable for Tablets"
2889
  msgstr ""
2890
 
2891
+ #: inc/common-functions.php:286
2892
  msgid "Enable for Mobiles"
2893
  msgstr ""
2894
 
2895
+ #: inc/common-functions.php:295
2896
  msgid "Multiplier"
2897
  msgstr ""
2898
 
2899
+ #: inc/common-functions.php:296
2900
  #, php-format
2901
  msgid "%sBoost/reduce scrolling speed. 1 is the default.%s"
2902
  msgstr ""
2903
 
2904
+ #: inc/common-functions.php:305
2905
  msgid "Refresh on resize?"
2906
  msgstr ""
2907
 
2908
+ #: inc/common-functions.php:306
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:313
2915
  msgid "Enable freehand mode?"
2916
  msgstr ""
2917
 
2918
+ #: inc/common-functions.php:314
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:325
2926
  #, php-format
2927
  msgid ""
2928
  "%1$s Cross-browser JavaScript library/API which is used to create and "
2930
  "%2$s"
2931
  msgstr ""
2932
 
2933
+ #: inc/common-functions.php:332
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:339
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:346
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:353
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:360
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:367
2967
  #, php-format
2968
  msgid ""
2969
  "%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: 1.9.7
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 = '1.9.7';
37
 
38
  /**
39
  * Minimum Elementor Version
@@ -236,19 +236,19 @@ final class OoohBoi_Steroids {
236
  add_action( 'elementor/frontend/after_register_styles', [ $this, 'ooohboi_register_styles' ] );
237
 
238
  // Editor Styles & Scripts
239
- add_action('elementor/editor/after_enqueue_scripts', function() {
240
 
241
  wp_enqueue_script(
242
  'ooohboi-steroids-editor',
243
- plugins_url( 'assets/js/ob-steroids-editor-min.js', __FILE__ ),
244
  [ 'elementor-editor', 'jquery' ],
245
- self::VERSION . '16012022',
246
  true
247
  );
248
  // data to JS via wp_localize_script
249
  $local_data = [
250
  'dark_stylesheet_url' => self::ooohboi_dark_stylesheet_url(),
251
- 'light_stylesheet_url' => self::ooohboi_light_stylesheet_url(),
252
  ];
253
  wp_localize_script(
254
  'ooohboi-steroids-editor',
@@ -365,7 +365,8 @@ final class OoohBoi_Steroids {
365
  'OoohBoi_Glider' => 'ob_use_glider', 'OoohBoi_PhotoGiraffe' => 'ob_use_photogiraffe', 'OoohBoi_Teleporter' => 'ob_use_teleporter', 'OoohBoi_SearchCop' => 'ob_use_searchcop', 'OoohBoi_Videomasq' => 'ob_use_videomasq',
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'/*, 'OoohBoi_Interactor' => 'ob_use_interactor'*/ ];
 
369
 
370
  /* since 1.9.1 & Elementor 3.6+ */
371
  $exclude_with_containers = [];
@@ -409,9 +410,9 @@ final class OoohBoi_Steroids {
409
  $mq = 'all';
410
  if( 'auto' === $theme ) $mq = '(prefers-color-scheme: dark)';
411
 
412
- wp_enqueue_style( 'ooohboi-steroids-styles-editor-dark', self::ooohboi_dark_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '17052022', $mq );
413
 
414
- } else wp_enqueue_style( 'ooohboi-steroids-styles-dark', self::ooohboi_light_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '17052022' );
415
 
416
  }
417
  public static function ooohboi_dark_stylesheet_url() {
@@ -438,7 +439,7 @@ final class OoohBoi_Steroids {
438
  }
439
  // -----------------------------
440
 
441
- wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '21042022' );
442
 
443
  }
444
 
@@ -535,7 +536,9 @@ final class OoohBoi_Steroids {
535
  // OoohBoi Container Extras ONLY IF ELEMENTOR >= ELEMENTOR_VERSION_CONTAINER
536
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-container-extras.php'; // OoohBoi Container Extras
537
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-oh-animator.php'; // OoohBoi Animator
538
- //include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-interactor.php'; // OoohBoi Interactor
 
 
539
  // ----------
540
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
541
  }
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
5
+ * Version: 1.9.9
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 = '1.9.9';
37
 
38
  /**
39
  * Minimum Elementor Version
236
  add_action( 'elementor/frontend/after_register_styles', [ $this, 'ooohboi_register_styles' ] );
237
 
238
  // Editor Styles & Scripts
239
+ add_action( 'elementor/editor/after_enqueue_scripts', function() {
240
 
241
  wp_enqueue_script(
242
  'ooohboi-steroids-editor',
243
+ plugins_url( 'assets/js/ob-steroids-editor.js', __FILE__ ),
244
  [ 'elementor-editor', 'jquery' ],
245
+ self::VERSION . '28062022z',
246
  true
247
  );
248
  // data to JS via wp_localize_script
249
  $local_data = [
250
  'dark_stylesheet_url' => self::ooohboi_dark_stylesheet_url(),
251
+ 'light_stylesheet_url' => self::ooohboi_light_stylesheet_url(),
252
  ];
253
  wp_localize_script(
254
  'ooohboi-steroids-editor',
365
  'OoohBoi_Glider' => 'ob_use_glider', 'OoohBoi_PhotoGiraffe' => 'ob_use_photogiraffe', 'OoohBoi_Teleporter' => 'ob_use_teleporter', 'OoohBoi_SearchCop' => 'ob_use_searchcop', 'OoohBoi_Videomasq' => 'ob_use_videomasq',
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
  $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 . '30062022', $mq );
414
 
415
+ } else wp_enqueue_style( 'ooohboi-steroids-styles-dark', self::ooohboi_light_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '30062022' );
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 . '03072022' );
443
 
444
  }
445
 
536
  // OoohBoi Container Extras ONLY IF ELEMENTOR >= ELEMENTOR_VERSION_CONTAINER
537
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-container-extras.php'; // OoohBoi Container Extras
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
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: OoohBoi
3
  Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost elements, overlapping columns
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
- Tested up to: 6.5
7
- Stable tag: 1.9.7
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
@@ -17,93 +17,7 @@ An awesome set of tools, options and settings that expand Elementor defaults. In
17
 
18
  = What is new? =
19
 
20
- Added new extensions : Oh! Animator (GSAP - ScrollTrigger animation), Container Extras, resolved issues that relate to the latest version of Elementor - 3.6+
21
-
22
- = In the package so far =
23
-
24
- 1. HARAKIRI
25
- Allows you to change the writing mode (CSS property writing-mode) of Elementor's Heading and Text Editor widgets.
26
-
27
- 2. POOPART
28
- Add an overlay or underlay ghost-element to any Elementor Widget. By adding a mask image to these, and/or combining them with CSS filters, blend mode, a wow effect is inevitable. Oh, yes, you can also resize and reposition these if you like.
29
-
30
- 3. OVERLAIZ (works up to Elementor 3.5.9, use Pseudo extension for Elementor 3.6 and above)
31
- From now on, you can move the Background Overlay in any direction, as well as to resize it. Creating overlapping columns is now piece of cake.
32
-
33
- 4. PAGININI
34
- Your frustration with styling up the posts pagination in Elementor is now officially over.
35
-
36
- 5. BREAKING BAD (works up to Elementor 3.5.9)
37
- Tailor the Section columns at will! Set the custom width, height and let them collapse naturally.
38
-
39
- 6. GLIDER
40
- Generate the slider out of Section and columns with one click only!
41
-
42
- 7. PHOTOGIRAFFE (works up to Elementor 3.5.9)
43
- Make any Image full-height
44
-
45
- 8. TELEPORTER (works up to Elementor 3.5.9)
46
- An awesome Coulmn hover controls
47
-
48
- 9. SEARCH COP
49
- Decide what to search for; posts only, pages only or everything.
50
-
51
- 10. VIDEOMASQ
52
- Add the SVG mask to the Section video background and let the video play inside any shape
53
-
54
- 11. BASELINE GRID
55
- Find it uder the Page Settings! It allows you to define the visual grid and thus ensure consistent vertical spacing with your typography and page elements.
56
-
57
- 12. BUTTER BUTTON
58
- From now on you can design awesome buttons in Elementor! Forget about those flat, boring and outdated buttons style, Butter Button brings fun!
59
-
60
- 13. PERSPEKTIVE
61
- A small set of options that allow you to move widgets in 3D space
62
-
63
- 14. SHADOUGH
64
- This extension allows you to create the shadow that conforms the shape.
65
-
66
- 15. PHOTOMORPH
67
- From now on you can add the clip-path to the Image widget for Normal and Hover state.
68
-
69
- 16. COMMENTZ
70
- Style up your Post Comments from Elementor.
71
-
72
- 17. SPACERAT
73
- Adds new shine to the Spacer widget.
74
-
75
- 18. IMBOX
76
- More controls to the Image Box widget.
77
-
78
- 19. HOVERANIMATOR
79
- Animate widgets on column's mouse-over event
80
-
81
- 20. KONTROLZ
82
- Allows you to additionaly style Image Carousel and Media Carousel controls.
83
-
84
- 21. WIDGET STALKER
85
- Stack widgets one after another inside the column.
86
-
87
- 22. ICOBOX
88
- More controls to the Icon Box widget.
89
-
90
- 23. PSEUDO
91
- Add and manage Column's pseudo elements. It's a PoopArt for Columns!
92
-
93
- 24. LOCOMOTION
94
- The power of Locomotive Scroll is now available in Elementor too!
95
-
96
- 25. GSAP, SCROLLTRIGGER & MORE
97
- The power of Locomotive Scroll is now available in Elementor too!
98
-
99
- 26. BULLET
100
- Moves the bullet of the Icon List widget to the top (fine tune with the margin)
101
-
102
- 27. CONTAINER EXTRAS
103
- Just a few settings atop to make the life with the Container element easier
104
-
105
- 28. OH! ANIMATOR
106
- Do those tricky GSAP-ScrollTrigger(ed) animations via the user-friendly interface
107
 
108
  == Installation ==
109
 
@@ -112,7 +26,7 @@ Do those tricky GSAP-ScrollTrigger(ed) animations via the user-friendly interfac
112
 
113
  == Upgrade Notice ==
114
 
115
- 1.9.7 - Beware of the changes to the language file!
116
 
117
  == Frequently Asked Questions ==
118
 
@@ -126,36 +40,13 @@ Rest assured, you won't miss them because there will always be an eye-catching i
126
 
127
  No, you don't. It'll work with both free version of Elementor and Elementor PRO.
128
 
129
- == Screenshots ==
130
-
131
- 1. HARAKIRI text options
132
- 2. POOPART interface
133
- 3. OVERLAIZ interface
134
- 4. HARAKIRI in action
135
- 5. POOPART composition
136
- 6. OVERLAIZ overlapping
137
- 7. PAGININI options
138
- 8. BREAKING BAD section
139
- 9. BREAKING BAD column
140
- 10. GLIDER interface
141
- 11. GLIDER as a Slider
142
- 12. PHOTOGIRAFFE option
143
- 13. TELEPORTER options
144
- 14. VIDEOMASQ options
145
- 15. BASELINE GRID options
146
- 16. BUTTER BUTTON options
147
- 17. PERSPEKTIVE options
148
- 18. SHADOUGH options
149
- 19. PHOTOMORPH options
150
- 20. COMMENTZ options
151
- 21. SPACERAT options
152
- 22. IMBOX Image options
153
- 23. IMBOX Content options
154
- 24. HOVERANIMATOR options
155
- 25. WIDGET STALKER options
156
-
157
  == Changelog ==
158
 
 
 
 
 
 
159
  = 1.9.7 =
160
  - Fix: CONTAINER EXTRAS - Fixed buggy custom container Width
161
  - New: HARAKIRI - Clip-text option added
3
  Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost elements, overlapping columns
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
+ Tested up to: 6.0
7
+ Stable tag: 1.9.9
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 2 new extensions : TABBR and COUNTERZ
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  == Installation ==
23
 
26
 
27
  == Upgrade Notice ==
28
 
29
+ 1.9.9 - Beware of the changes to the language file!
30
 
31
  == Frequently Asked Questions ==
32
 
40
 
41
  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)
48
+ - New: HOVERANIMATOR - Disable on touch based devices
49
+
50
  = 1.9.7 =
51
  - Fix: CONTAINER EXTRAS - Fixed buggy custom container Width
52
  - New: HARAKIRI - Clip-text option added