Premium Addons for Elementor - Version 2.0.1

Version Description

  • New: Premium Image Button widget.
  • Tweak: Added badge option for Pricing Table widget.
  • Tweak: Added icon List option for Pricing Table widget.
  • Tweak: Added currency vertical align option for Pricing Table widget.
  • Tweak: Added button size option for Button widget.
  • Tweak: Added display inline or block option for Dual Header widget.
  • Tweak: Added Maps open marker automatically option for Google Maps.
  • Tweak: Added vertical and horizontal position option to icon and text for Video Box widget.
  • Tweak: Added text shadow option to video description for Video Box widget.
  • Tweak: Inline Documentations and options usability.
  • Fix: Counter animations with icon position right.
  • Fix: Counter border color when icon color is set.
  • Fix: Countdown background size scale bug.
  • Fix: Countdown digits horizontal and vertical align.
  • Fix: Dual header fixed clipped background bug.
  • Fix: Maps Multiple maps in one page bug.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0 to 2.0.1

admin/assets/pa-elements-font/css/pa-elements.css CHANGED
@@ -22,7 +22,9 @@
22
  -webkit-font-smoothing: antialiased;
23
  -moz-osx-font-smoothing: grayscale;
24
  }
25
-
 
 
26
  .pa-pricing-table:before {
27
  content: "\e905";
28
  }
@@ -76,4 +78,4 @@
76
  }
77
  .pa-banner:before {
78
  content: "\e910";
79
- }
22
  -webkit-font-smoothing: antialiased;
23
  -moz-osx-font-smoothing: grayscale;
24
  }
25
+ .pa-image-button:before {
26
+ content: "\e912";
27
+ }
28
  .pa-pricing-table:before {
29
  content: "\e905";
30
  }
78
  }
79
  .pa-banner:before {
80
  content: "\e910";
81
+ }
admin/assets/pa-elements-font/fonts/pa-elements.eot CHANGED
Binary file
admin/assets/pa-elements-font/fonts/pa-elements.svg CHANGED
@@ -25,4 +25,5 @@
25
  <glyph unicode="&#xe90f;" glyph-name="blog" d="M900.76 781.103h-200.029c-11.508 0-20.714-9.206-20.714-20.714s9.206-20.714 20.714-20.714h200.029c22.597 0 41.010-18.413 41.010-41.010v-514.302c0-22.597-18.413-41.010-41.010-41.010h-777.311c-22.597 0-41.010 18.413-41.010 41.010v514.302c0 22.597 18.413 41.010 41.010 41.010h202.959c11.508 0 20.714 9.206 20.714 20.714s-9.206 20.714-20.714 20.714h-203.168c-45.404 0-82.439-37.035-82.439-82.439v-514.302c0-45.404 37.035-82.439 82.439-82.439h368.046v-124.495h-171.992c-11.508 0-20.714-9.206-20.714-20.714s9.206-20.714 20.714-20.714h385.203c11.508 0 20.714 9.206 20.714 20.714s-9.206 20.714-20.714 20.714h-171.992v124.495h368.046c45.404 0 82.439 37.035 82.439 82.439v514.302c0.418 45.404-36.826 82.439-82.23 82.439zM628.754 878.607c0 44.776-36.407 81.393-81.393 81.393h-70.931c-44.776 0-81.393-36.407-81.393-81.393v-48.752c0-1.255 0.209-2.511 0.418-3.557-0.209-1.255-0.418-2.302-0.418-3.557v-404.244c0-4.603 1.465-8.997 4.185-12.554l96.039-126.169c3.975-5.231 10.043-8.16 16.53-8.16s12.554 2.929 16.53 8.16l96.039 126.169c2.72 3.557 4.185 7.951 4.185 12.554v404.871c0 1.046-0.209 2.302-0.418 3.348 0.209 1.046 0.418 2.092 0.418 3.348v48.543h0.209zM436.884 809.141h54.611v-367h-54.611v367zM512.209 326.434l-56.703 74.488h113.406l-56.703-74.488zM587.534 442.141h-54.611v367h54.611v-367zM587.534 850.57h-150.65v28.038c0 21.97 17.994 39.964 39.964 39.964h70.931c21.97 0 39.964-17.994 39.964-39.964v-28.038c0 0-0.209 0-0.209 0z" />
26
  <glyph unicode="&#xe910;" glyph-name="banner" d="M922.942 426.125c-20.551 20.551-53.972 20.515-74.522 0l-271.731-271.731-37.447-137.34-9.163-9.163c-6.85-6.85-6.868-17.902-0.106-24.806l-0.088-0.353 0.335 0.088c3.425-3.372 7.874-5.085 12.341-5.085 4.52 0 9.039 1.73 12.482 5.173l9.181 9.181 137.322 37.447 271.713 271.731c20.551 20.551 20.551 53.99 0 74.54l-50.317 50.317zM617.454 145.214l180.842 180.842 74.911-74.911-180.842-180.842-74.911 74.911zM601.512 111.228l56.85-56.85-78.177-21.327 21.327 78.177zM948.277 326.25l-50.123-50.123-74.911 74.893 50.123 50.123c6.797 6.797 17.832 6.78 24.611 0.018l50.317-50.317c6.78-6.78 6.78-17.832-0.018-24.594zM380.804 678.665c0 54.219-44.103 98.322-98.322 98.322s-98.322-44.103-98.322-98.322c0-54.201 44.103-98.304 98.322-98.304s98.322 44.103 98.322 98.304zM219.471 678.665c0 34.745 28.266 63.011 63.011 63.011s63.011-28.284 63.011-63.011-28.266-62.994-63.011-62.994-63.011 28.266-63.011 62.994zM110.345 270.989c3.478-3.972 8.351-5.985 13.241-5.985 4.131 0 8.298 1.448 11.652 4.396l288.009 253.564 146.873-146.856c6.903-6.903 18.061-6.903 24.964 0s6.903 18.061 0 24.964l-49.876 49.858 162.269 177.699 145.867-129.66c7.309-6.497 18.45-5.826 24.929 1.465 6.479 7.274 5.826 18.45-1.465 24.911l-158.897 141.241c-7.239 6.444-18.273 5.879-24.77-1.289l-172.915-189.387-83.738 83.738c-6.603 6.585-17.161 6.903-24.152 0.777l-300.42-264.51c-7.309-6.444-8.033-17.602-1.571-24.929zM1006.345 918.246h-988.69c-9.746 0-17.655-7.892-17.655-17.655v-776.828c0-9.763 7.91-17.655 17.655-17.655h459.034c9.746 0 17.655 7.892 17.655 17.655s-7.91 17.655-17.655 17.655h-441.379v741.517h953.379v-423.724c0-9.763 7.91-17.655 17.655-17.655s17.655 7.892 17.655 17.655v441.379c0 9.746-7.91 17.655-17.655 17.655z" />
27
  <glyph unicode="&#xe911;" glyph-name="contact-form" d="M829.086 249.751c-4.061 0-8.123 1.486-11.293 4.491l-189.994 178.239c-6.637 6.208-6.967 16.675-0.726 23.312 6.241 6.703 16.642 7 23.345 0.726l189.994-178.239c6.637-6.208 6.967-16.675 0.726-23.312-3.269-3.467-7.627-5.217-12.052-5.217zM194.881 249.751c-4.392 0-8.783 1.75-12.052 5.217-6.241 6.637-5.91 17.104 0.726 23.312l190.060 178.239c6.67 6.208 17.137 5.944 23.345-0.726 6.241-6.637 5.91-17.104-0.726-23.312l-190.060-178.239c-3.17-3.005-7.231-4.491-11.293-4.491zM941.451 84.026h-858.903c-45.501 0-82.549 37.015-82.549 82.549v562.883c0 45.534 37.048 82.549 82.549 82.549h858.903c45.501 0 82.549-37.015 82.549-82.549v-562.883c0-45.534-37.048-82.549-82.549-82.549zM82.549 778.987c-27.307 0-49.529-22.222-49.529-49.529v-562.883c0-27.307 22.222-49.529 49.529-49.529h858.903c27.307 0 49.529 22.222 49.529 49.529v562.883c0 27.307-22.222 49.529-49.529 49.529h-858.903zM512 365.055c-21.958 0-43.916 7.297-60.624 21.859l-423.97 369.851c-6.868 5.977-7.594 16.411-1.618 23.312 6.043 6.868 16.444 7.495 23.312 1.585l423.97-369.818c21.099-18.392 56.76-18.392 77.827 0l423.442 369.224c6.835 5.977 17.236 5.316 23.312-1.585 5.977-6.901 5.283-17.302-1.585-23.312l-423.442-369.224c-16.741-14.595-38.666-21.892-60.624-21.892z" />
 
28
  </font></defs></svg>
25
  <glyph unicode="&#xe90f;" glyph-name="blog" d="M900.76 781.103h-200.029c-11.508 0-20.714-9.206-20.714-20.714s9.206-20.714 20.714-20.714h200.029c22.597 0 41.010-18.413 41.010-41.010v-514.302c0-22.597-18.413-41.010-41.010-41.010h-777.311c-22.597 0-41.010 18.413-41.010 41.010v514.302c0 22.597 18.413 41.010 41.010 41.010h202.959c11.508 0 20.714 9.206 20.714 20.714s-9.206 20.714-20.714 20.714h-203.168c-45.404 0-82.439-37.035-82.439-82.439v-514.302c0-45.404 37.035-82.439 82.439-82.439h368.046v-124.495h-171.992c-11.508 0-20.714-9.206-20.714-20.714s9.206-20.714 20.714-20.714h385.203c11.508 0 20.714 9.206 20.714 20.714s-9.206 20.714-20.714 20.714h-171.992v124.495h368.046c45.404 0 82.439 37.035 82.439 82.439v514.302c0.418 45.404-36.826 82.439-82.23 82.439zM628.754 878.607c0 44.776-36.407 81.393-81.393 81.393h-70.931c-44.776 0-81.393-36.407-81.393-81.393v-48.752c0-1.255 0.209-2.511 0.418-3.557-0.209-1.255-0.418-2.302-0.418-3.557v-404.244c0-4.603 1.465-8.997 4.185-12.554l96.039-126.169c3.975-5.231 10.043-8.16 16.53-8.16s12.554 2.929 16.53 8.16l96.039 126.169c2.72 3.557 4.185 7.951 4.185 12.554v404.871c0 1.046-0.209 2.302-0.418 3.348 0.209 1.046 0.418 2.092 0.418 3.348v48.543h0.209zM436.884 809.141h54.611v-367h-54.611v367zM512.209 326.434l-56.703 74.488h113.406l-56.703-74.488zM587.534 442.141h-54.611v367h54.611v-367zM587.534 850.57h-150.65v28.038c0 21.97 17.994 39.964 39.964 39.964h70.931c21.97 0 39.964-17.994 39.964-39.964v-28.038c0 0-0.209 0-0.209 0z" />
26
  <glyph unicode="&#xe910;" glyph-name="banner" d="M922.942 426.125c-20.551 20.551-53.972 20.515-74.522 0l-271.731-271.731-37.447-137.34-9.163-9.163c-6.85-6.85-6.868-17.902-0.106-24.806l-0.088-0.353 0.335 0.088c3.425-3.372 7.874-5.085 12.341-5.085 4.52 0 9.039 1.73 12.482 5.173l9.181 9.181 137.322 37.447 271.713 271.731c20.551 20.551 20.551 53.99 0 74.54l-50.317 50.317zM617.454 145.214l180.842 180.842 74.911-74.911-180.842-180.842-74.911 74.911zM601.512 111.228l56.85-56.85-78.177-21.327 21.327 78.177zM948.277 326.25l-50.123-50.123-74.911 74.893 50.123 50.123c6.797 6.797 17.832 6.78 24.611 0.018l50.317-50.317c6.78-6.78 6.78-17.832-0.018-24.594zM380.804 678.665c0 54.219-44.103 98.322-98.322 98.322s-98.322-44.103-98.322-98.322c0-54.201 44.103-98.304 98.322-98.304s98.322 44.103 98.322 98.304zM219.471 678.665c0 34.745 28.266 63.011 63.011 63.011s63.011-28.284 63.011-63.011-28.266-62.994-63.011-62.994-63.011 28.266-63.011 62.994zM110.345 270.989c3.478-3.972 8.351-5.985 13.241-5.985 4.131 0 8.298 1.448 11.652 4.396l288.009 253.564 146.873-146.856c6.903-6.903 18.061-6.903 24.964 0s6.903 18.061 0 24.964l-49.876 49.858 162.269 177.699 145.867-129.66c7.309-6.497 18.45-5.826 24.929 1.465 6.479 7.274 5.826 18.45-1.465 24.911l-158.897 141.241c-7.239 6.444-18.273 5.879-24.77-1.289l-172.915-189.387-83.738 83.738c-6.603 6.585-17.161 6.903-24.152 0.777l-300.42-264.51c-7.309-6.444-8.033-17.602-1.571-24.929zM1006.345 918.246h-988.69c-9.746 0-17.655-7.892-17.655-17.655v-776.828c0-9.763 7.91-17.655 17.655-17.655h459.034c9.746 0 17.655 7.892 17.655 17.655s-7.91 17.655-17.655 17.655h-441.379v741.517h953.379v-423.724c0-9.763 7.91-17.655 17.655-17.655s17.655 7.892 17.655 17.655v441.379c0 9.746-7.91 17.655-17.655 17.655z" />
27
  <glyph unicode="&#xe911;" glyph-name="contact-form" d="M829.086 249.751c-4.061 0-8.123 1.486-11.293 4.491l-189.994 178.239c-6.637 6.208-6.967 16.675-0.726 23.312 6.241 6.703 16.642 7 23.345 0.726l189.994-178.239c6.637-6.208 6.967-16.675 0.726-23.312-3.269-3.467-7.627-5.217-12.052-5.217zM194.881 249.751c-4.392 0-8.783 1.75-12.052 5.217-6.241 6.637-5.91 17.104 0.726 23.312l190.060 178.239c6.67 6.208 17.137 5.944 23.345-0.726 6.241-6.637 5.91-17.104-0.726-23.312l-190.060-178.239c-3.17-3.005-7.231-4.491-11.293-4.491zM941.451 84.026h-858.903c-45.501 0-82.549 37.015-82.549 82.549v562.883c0 45.534 37.048 82.549 82.549 82.549h858.903c45.501 0 82.549-37.015 82.549-82.549v-562.883c0-45.534-37.048-82.549-82.549-82.549zM82.549 778.987c-27.307 0-49.529-22.222-49.529-49.529v-562.883c0-27.307 22.222-49.529 49.529-49.529h858.903c27.307 0 49.529 22.222 49.529 49.529v562.883c0 27.307-22.222 49.529-49.529 49.529h-858.903zM512 365.055c-21.958 0-43.916 7.297-60.624 21.859l-423.97 369.851c-6.868 5.977-7.594 16.411-1.618 23.312 6.043 6.868 16.444 7.495 23.312 1.585l423.97-369.818c21.099-18.392 56.76-18.392 77.827 0l423.442 369.224c6.835 5.977 17.236 5.316 23.312-1.585 5.977-6.901 5.283-17.302-1.585-23.312l-423.442-369.224c-16.741-14.595-38.666-21.892-60.624-21.892z" />
28
+ <glyph unicode="&#xe912;" glyph-name="image-button" d="M1006.345 854.069h-988.69c-10.593 0-17.655-5.297-17.655-14.124v-607.338c0-7.062 7.062-14.124 17.655-14.124h988.69c10.593 0 17.655 5.297 17.655 14.124v607.338c0 8.828-7.062 14.124-17.655 14.124zM988.69 246.731h-953.379v579.090h953.379v-579.090zM323.090 583.945c42.372 0 77.683 35.31 77.683 77.683s-35.31 77.683-77.683 77.683-77.683-35.31-77.683-77.683 35.31-77.683 77.683-77.683zM323.090 711.062c28.248 0 49.434-22.952 49.434-49.434 0-28.248-22.952-49.434-49.434-49.434s-49.434 22.952-49.434 49.434 21.186 49.434 49.434 49.434zM197.738 333.241c3.531 0 7.062 1.766 8.828 3.531l227.752 201.269 144.772-144.772c5.297-5.297 14.124-5.297 19.421 0s5.297 14.124 0 19.421l-67.090 67.090 128.883 141.241 157.131-144.772c5.297-5.297 14.124-5.297 19.421 0s5.297 14.124 0 19.421l-167.724 153.6c-3.531 1.766-7.062 3.531-10.593 3.531s-7.062-1.766-10.593-5.297l-135.945-146.538-67.090 67.090c-5.297 5.297-14.124 5.297-19.421 0l-238.345-210.097c-5.297-5.297-7.062-14.124-1.766-19.421 3.531-3.531 7.062-5.297 12.359-5.297zM967.503 117.848l-195.972 195.972c-3.531 3.531-7.062 3.531-10.593 1.766s-5.297-5.297-5.297-8.828v-271.89c0-3.531 1.766-7.062 5.297-8.828s7.062-1.766 10.593 1.766l49.434 38.841 44.138-77.683c1.766-3.531 5.297-5.297 8.828-5.297 1.766 0 3.531 0 3.531 1.766l58.262 30.014c1.766 1.766 3.531 3.531 5.297 5.297 0 1.766 0 5.297 0 7.062l-40.607 74.152h61.793c3.531 0 7.062 1.766 8.828 5.297 0 3.531-1.766 8.828-3.531 10.593zM764.469 453.297c-5.297 0-10.593-3.531-10.593-10.593v-58.262c0-5.297 3.531-10.593 10.593-10.593s10.593 3.531 10.593 10.593v58.262c-1.766 7.062-5.297 10.593-10.593 10.593zM685.021 317.352h-58.262c-5.297 0-10.593-3.531-10.593-10.593 0-5.297 3.531-10.593 10.593-10.593h58.262c5.297 0 10.593 3.531 10.593 10.593s-5.297 10.593-10.593 10.593zM900.414 317.352h-58.262c-5.297 0-10.593-3.531-10.593-10.593 0-5.297 3.531-10.593 10.593-10.593h58.262c5.297 0 10.593 3.531 10.593 10.593s-5.297 10.593-10.593 10.593zM715.034 368.552l-42.372 42.372c-3.531 3.531-10.593 3.531-14.124 0s-3.531-10.593 0-14.124l42.372-42.372c1.766-1.766 5.297-3.531 7.062-3.531s5.297 1.766 7.062 3.531c3.531 5.297 3.531 10.593 0 14.124zM715.034 259.090c-3.531 3.531-10.593 3.531-14.124 0l-42.372-42.372c-3.531-3.531-3.531-10.593 0-14.124 1.766-1.766 5.297-3.531 7.062-3.531s5.297 1.766 7.062 3.531l42.372 42.372c3.531 3.531 3.531 10.593 0 14.124zM868.634 410.924c-3.531 3.531-10.593 3.531-14.124 0l-42.372-42.372c-3.531-3.531-3.531-10.593 0-14.124 1.766-1.766 5.297-3.531 7.062-3.531s5.297 1.766 7.062 3.531l42.372 42.372c3.531 3.531 3.531 10.593 0 14.124z" />
29
  </font></defs></svg>
admin/assets/pa-elements-font/fonts/pa-elements.ttf CHANGED
Binary file
admin/assets/pa-elements-font/fonts/pa-elements.woff CHANGED
Binary file
admin/settings-page.php CHANGED
@@ -2,10 +2,9 @@
2
 
3
  if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
4
 
5
-
6
  class PA_admin_settings {
7
 
8
- public $pa_elements_keys = ['premium-banner', 'premium-blog','premium-carousel', 'premium-countdown','premium-counter','premium-dual-header','premium-fancytext','premium-image-separator','premium-maps','premium-modalbox','premium-person','premium-progressbar','premium-testimonials','premium-title','premium-videobox','premium-pricing-table','premium-button','premium-contactform', 'premium-map-api'];
9
 
10
  private $pa_default_settings;
11
 
@@ -288,6 +287,16 @@ class PA_admin_settings {
288
  </label>
289
  </td>
290
  </tr>
 
 
 
 
 
 
 
 
 
 
291
  </tbody>
292
  </table>
293
  <input type="submit" value="Save Settings" class="button pa-btn pa-save-button">
@@ -355,6 +364,7 @@ class PA_admin_settings {
355
  'premium-pricing-table' => intval( $settings['premium-pricing-table'] ? 1 : 0),
356
  'premium-button' => intval( $settings['premium-button'] ? 1 : 0),
357
  'premium-contactform' => intval( $settings['premium-contactform'] ? 1 : 0),
 
358
  'premium-map-api' => $settings['premium-map-api'],
359
  'wisdom_registered_setting' => 1,
360
  );
2
 
3
  if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
4
 
 
5
  class PA_admin_settings {
6
 
7
+ public $pa_elements_keys = ['premium-banner', 'premium-blog','premium-carousel', 'premium-countdown','premium-counter','premium-dual-header','premium-fancytext','premium-image-separator','premium-maps','premium-modalbox','premium-person','premium-progressbar','premium-testimonials','premium-title','premium-videobox','premium-pricing-table','premium-button','premium-contactform', 'premium-image-button', 'premium-map-api'];
8
 
9
  private $pa_default_settings;
10
 
287
  </label>
288
  </td>
289
  </tr>
290
+
291
+ <tr>
292
+ <th><?php echo esc_html__('Premium Image Button', 'premium_elementor'); ?></th>
293
+ <td>
294
+ <label class="switch">
295
+ <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
296
+ <span class="slider round"></span>
297
+ </label>
298
+ </td>
299
+ </tr>
300
  </tbody>
301
  </table>
302
  <input type="submit" value="Save Settings" class="button pa-btn pa-save-button">
364
  'premium-pricing-table' => intval( $settings['premium-pricing-table'] ? 1 : 0),
365
  'premium-button' => intval( $settings['premium-button'] ? 1 : 0),
366
  'premium-contactform' => intval( $settings['premium-contactform'] ? 1 : 0),
367
+ 'premium-image-button' => intval( $settings['premium-image-button'] ? 1 : 0),
368
  'premium-map-api' => $settings['premium-map-api'],
369
  'wisdom_registered_setting' => 1,
370
  );
assets/css/animate.css DELETED
@@ -1,1579 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /*!
4
- * animate.css -http://daneden.me/animate
5
- * Version - 3.5.2
6
- * Licensed under the MIT license - http://opensource.org/licenses/MIT
7
- *
8
- * Copyright (c) 2017 Daniel Eden
9
- */
10
-
11
- .animated {
12
- animation-duration: 1s;
13
- animation-fill-mode: both;
14
- }
15
-
16
- .animated.infinite {
17
- animation-iteration-count: infinite;
18
- }
19
-
20
- .animated.hinge {
21
- animation-duration: 2s;
22
- }
23
-
24
- .animated.flipOutX,
25
- .animated.flipOutY,
26
- .animated.bounceIn,
27
- .animated.bounceOut {
28
- animation-duration: .75s;
29
- }
30
-
31
- @keyframes bounce {
32
- from, 20%, 53%, 80%, to {
33
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
34
- transform: translate3d(0,0,0);
35
- }
36
-
37
- 40%, 43% {
38
- animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
39
- transform: translate3d(0, -30px, 0);
40
- }
41
-
42
- 70% {
43
- animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
44
- transform: translate3d(0, -15px, 0);
45
- }
46
-
47
- 90% {
48
- transform: translate3d(0,-4px,0);
49
- }
50
- }
51
-
52
- .bounce {
53
- animation-name: bounce;
54
- transform-origin: center bottom;
55
- }
56
-
57
- @keyframes flash {
58
- from, 50%, to {
59
- opacity: 1;
60
- }
61
-
62
- 25%, 75% {
63
- opacity: 0;
64
- }
65
- }
66
-
67
- .flash {
68
- animation-name: flash;
69
- }
70
-
71
- /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
72
-
73
- @keyframes pulse {
74
- from {
75
- transform: scale3d(1, 1, 1);
76
- }
77
-
78
- 50% {
79
- transform: scale3d(1.05, 1.05, 1.05);
80
- }
81
-
82
- to {
83
- transform: scale3d(1, 1, 1);
84
- }
85
- }
86
-
87
- .pulse {
88
- animation-name: pulse;
89
- }
90
-
91
- @keyframes rubberBand {
92
- from {
93
- transform: scale3d(1, 1, 1);
94
- }
95
-
96
- 30% {
97
- transform: scale3d(1.25, 0.75, 1);
98
- }
99
-
100
- 40% {
101
- transform: scale3d(0.75, 1.25, 1);
102
- }
103
-
104
- 50% {
105
- transform: scale3d(1.15, 0.85, 1);
106
- }
107
-
108
- 65% {
109
- transform: scale3d(.95, 1.05, 1);
110
- }
111
-
112
- 75% {
113
- transform: scale3d(1.05, .95, 1);
114
- }
115
-
116
- to {
117
- transform: scale3d(1, 1, 1);
118
- }
119
- }
120
-
121
- .rubberBand {
122
- animation-name: rubberBand;
123
- }
124
-
125
- @keyframes shake {
126
- from, to {
127
- transform: translate3d(0, 0, 0);
128
- }
129
-
130
- 10%, 30%, 50%, 70%, 90% {
131
- transform: translate3d(-10px, 0, 0);
132
- }
133
-
134
- 20%, 40%, 60%, 80% {
135
- transform: translate3d(10px, 0, 0);
136
- }
137
- }
138
-
139
- .shake {
140
- animation-name: shake;
141
- }
142
-
143
- @keyframes headShake {
144
- 0% {
145
- transform: translateX(0);
146
- }
147
-
148
- 6.5% {
149
- transform: translateX(-6px) rotateY(-9deg);
150
- }
151
-
152
- 18.5% {
153
- transform: translateX(5px) rotateY(7deg);
154
- }
155
-
156
- 31.5% {
157
- transform: translateX(-3px) rotateY(-5deg);
158
- }
159
-
160
- 43.5% {
161
- transform: translateX(2px) rotateY(3deg);
162
- }
163
-
164
- 50% {
165
- transform: translateX(0);
166
- }
167
- }
168
-
169
- .headShake {
170
- animation-timing-function: ease-in-out;
171
- animation-name: headShake;
172
- }
173
-
174
- @keyframes swing {
175
- 20% {
176
- transform: rotate3d(0, 0, 1, 15deg);
177
- }
178
-
179
- 40% {
180
- transform: rotate3d(0, 0, 1, -10deg);
181
- }
182
-
183
- 60% {
184
- transform: rotate3d(0, 0, 1, 5deg);
185
- }
186
-
187
- 80% {
188
- transform: rotate3d(0, 0, 1, -5deg);
189
- }
190
-
191
- to {
192
- transform: rotate3d(0, 0, 1, 0deg);
193
- }
194
- }
195
-
196
- .swing {
197
- transform-origin: top center;
198
- animation-name: swing;
199
- }
200
-
201
- @keyframes tada {
202
- from {
203
- transform: scale3d(1, 1, 1);
204
- }
205
-
206
- 10%, 20% {
207
- transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
208
- }
209
-
210
- 30%, 50%, 70%, 90% {
211
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
212
- }
213
-
214
- 40%, 60%, 80% {
215
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
216
- }
217
-
218
- to {
219
- transform: scale3d(1, 1, 1);
220
- }
221
- }
222
-
223
- .tada {
224
- animation-name: tada;
225
- }
226
-
227
- /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
228
-
229
- @keyframes wobble {
230
- from {
231
- transform: none;
232
- }
233
-
234
- 15% {
235
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
236
- }
237
-
238
- 30% {
239
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
240
- }
241
-
242
- 45% {
243
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
244
- }
245
-
246
- 60% {
247
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
248
- }
249
-
250
- 75% {
251
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
252
- }
253
-
254
- to {
255
- transform: none;
256
- }
257
- }
258
-
259
- .wobble {
260
- animation-name: wobble;
261
- }
262
-
263
- @keyframes jello {
264
- from, 11.1%, to {
265
- transform: none;
266
- }
267
-
268
- 22.2% {
269
- transform: skewX(-12.5deg) skewY(-12.5deg);
270
- }
271
-
272
- 33.3% {
273
- transform: skewX(6.25deg) skewY(6.25deg);
274
- }
275
-
276
- 44.4% {
277
- transform: skewX(-3.125deg) skewY(-3.125deg);
278
- }
279
-
280
- 55.5% {
281
- transform: skewX(1.5625deg) skewY(1.5625deg);
282
- }
283
-
284
- 66.6% {
285
- transform: skewX(-0.78125deg) skewY(-0.78125deg);
286
- }
287
-
288
- 77.7% {
289
- transform: skewX(0.390625deg) skewY(0.390625deg);
290
- }
291
-
292
- 88.8% {
293
- transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
294
- }
295
- }
296
-
297
- .jello {
298
- animation-name: jello;
299
- transform-origin: center;
300
- }
301
-
302
- @keyframes bounceIn {
303
- from, 20%, 40%, 60%, 80%, to {
304
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
305
- }
306
-
307
- 0% {
308
- opacity: 0;
309
- transform: scale3d(.3, .3, .3);
310
- }
311
-
312
- 20% {
313
- transform: scale3d(1.1, 1.1, 1.1);
314
- }
315
-
316
- 40% {
317
- transform: scale3d(.9, .9, .9);
318
- }
319
-
320
- 60% {
321
- opacity: 1;
322
- transform: scale3d(1.03, 1.03, 1.03);
323
- }
324
-
325
- 80% {
326
- transform: scale3d(.97, .97, .97);
327
- }
328
-
329
- to {
330
- opacity: 1;
331
- transform: scale3d(1, 1, 1);
332
- }
333
- }
334
-
335
- .bounceIn {
336
- animation-name: bounceIn;
337
- }
338
-
339
- @keyframes bounceInDown {
340
- from, 60%, 75%, 90%, to {
341
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
342
- }
343
-
344
- 0% {
345
- opacity: 0;
346
- transform: translate3d(0, -3000px, 0);
347
- }
348
-
349
- 60% {
350
- opacity: 1;
351
- transform: translate3d(0, 25px, 0);
352
- }
353
-
354
- 75% {
355
- transform: translate3d(0, -10px, 0);
356
- }
357
-
358
- 90% {
359
- transform: translate3d(0, 5px, 0);
360
- }
361
-
362
- to {
363
- transform: none;
364
- }
365
- }
366
-
367
- .bounceInDown {
368
- animation-name: bounceInDown;
369
- }
370
-
371
- @keyframes bounceInLeft {
372
- from, 60%, 75%, 90%, to {
373
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
374
- }
375
-
376
- 0% {
377
- opacity: 0;
378
- transform: translate3d(-3000px, 0, 0);
379
- }
380
-
381
- 60% {
382
- opacity: 1;
383
- transform: translate3d(25px, 0, 0);
384
- }
385
-
386
- 75% {
387
- transform: translate3d(-10px, 0, 0);
388
- }
389
-
390
- 90% {
391
- transform: translate3d(5px, 0, 0);
392
- }
393
-
394
- to {
395
- transform: none;
396
- }
397
- }
398
-
399
- .bounceInLeft {
400
- animation-name: bounceInLeft;
401
- }
402
-
403
- @keyframes bounceInRight {
404
- from, 60%, 75%, 90%, to {
405
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
406
- }
407
-
408
- from {
409
- opacity: 0;
410
- transform: translate3d(3000px, 0, 0);
411
- }
412
-
413
- 60% {
414
- opacity: 1;
415
- transform: translate3d(-25px, 0, 0);
416
- }
417
-
418
- 75% {
419
- transform: translate3d(10px, 0, 0);
420
- }
421
-
422
- 90% {
423
- transform: translate3d(-5px, 0, 0);
424
- }
425
-
426
- to {
427
- transform: none;
428
- }
429
- }
430
-
431
- .bounceInRight {
432
- animation-name: bounceInRight;
433
- }
434
-
435
- @keyframes bounceInUp {
436
- from, 60%, 75%, 90%, to {
437
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
438
- }
439
-
440
- from {
441
- opacity: 0;
442
- transform: translate3d(0, 3000px, 0);
443
- }
444
-
445
- 60% {
446
- opacity: 1;
447
- transform: translate3d(0, -20px, 0);
448
- }
449
-
450
- 75% {
451
- transform: translate3d(0, 10px, 0);
452
- }
453
-
454
- 90% {
455
- transform: translate3d(0, -5px, 0);
456
- }
457
-
458
- to {
459
- transform: translate3d(0, 0, 0);
460
- }
461
- }
462
-
463
- .bounceInUp {
464
- animation-name: bounceInUp;
465
- }
466
-
467
- @keyframes bounceOut {
468
- 20% {
469
- transform: scale3d(.9, .9, .9);
470
- }
471
-
472
- 50%, 55% {
473
- opacity: 1;
474
- transform: scale3d(1.1, 1.1, 1.1);
475
- }
476
-
477
- to {
478
- opacity: 0;
479
- transform: scale3d(.3, .3, .3);
480
- }
481
- }
482
-
483
- .bounceOut {
484
- animation-name: bounceOut;
485
- }
486
-
487
- @keyframes bounceOutDown {
488
- 20% {
489
- transform: translate3d(0, 10px, 0);
490
- }
491
-
492
- 40%, 45% {
493
- opacity: 1;
494
- transform: translate3d(0, -20px, 0);
495
- }
496
-
497
- to {
498
- opacity: 0;
499
- transform: translate3d(0, 2000px, 0);
500
- }
501
- }
502
-
503
- .bounceOutDown {
504
- animation-name: bounceOutDown;
505
- }
506
-
507
- @keyframes bounceOutLeft {
508
- 20% {
509
- opacity: 1;
510
- transform: translate3d(20px, 0, 0);
511
- }
512
-
513
- to {
514
- opacity: 0;
515
- transform: translate3d(-2000px, 0, 0);
516
- }
517
- }
518
-
519
- .bounceOutLeft {
520
- animation-name: bounceOutLeft;
521
- }
522
-
523
- @keyframes bounceOutRight {
524
- 20% {
525
- opacity: 1;
526
- transform: translate3d(-20px, 0, 0);
527
- }
528
-
529
- to {
530
- opacity: 0;
531
- transform: translate3d(2000px, 0, 0);
532
- }
533
- }
534
-
535
- .bounceOutRight {
536
- animation-name: bounceOutRight;
537
- }
538
-
539
- @keyframes bounceOutUp {
540
- 20% {
541
- transform: translate3d(0, -10px, 0);
542
- }
543
-
544
- 40%, 45% {
545
- opacity: 1;
546
- transform: translate3d(0, 20px, 0);
547
- }
548
-
549
- to {
550
- opacity: 0;
551
- transform: translate3d(0, -2000px, 0);
552
- }
553
- }
554
-
555
- .bounceOutUp {
556
- animation-name: bounceOutUp;
557
- }
558
-
559
- @keyframes fadeIn {
560
- from {
561
- opacity: 0;
562
- }
563
-
564
- to {
565
- opacity: 1;
566
- }
567
- }
568
-
569
- .fadeIn {
570
- animation-name: fadeIn;
571
- }
572
-
573
- @keyframes fadeInDown {
574
- from {
575
- opacity: 0;
576
- transform: translate3d(0, -100%, 0);
577
- }
578
-
579
- to {
580
- opacity: 1;
581
- transform: none;
582
- }
583
- }
584
-
585
- .fadeInDown {
586
- animation-name: fadeInDown;
587
- }
588
-
589
- @keyframes fadeInDownBig {
590
- from {
591
- opacity: 0;
592
- transform: translate3d(0, -2000px, 0);
593
- }
594
-
595
- to {
596
- opacity: 1;
597
- transform: none;
598
- }
599
- }
600
-
601
- .fadeInDownBig {
602
- animation-name: fadeInDownBig;
603
- }
604
-
605
- @keyframes fadeInLeft {
606
- from {
607
- opacity: 0;
608
- transform: translate3d(-100%, 0, 0);
609
- }
610
-
611
- to {
612
- opacity: 1;
613
- transform: none;
614
- }
615
- }
616
-
617
- .fadeInLeft {
618
- animation-name: fadeInLeft;
619
- }
620
-
621
- @keyframes fadeInLeftBig {
622
- from {
623
- opacity: 0;
624
- transform: translate3d(-2000px, 0, 0);
625
- }
626
-
627
- to {
628
- opacity: 1;
629
- transform: none;
630
- }
631
- }
632
-
633
- .fadeInLeftBig {
634
- animation-name: fadeInLeftBig;
635
- }
636
-
637
- @keyframes fadeInRight {
638
- from {
639
- opacity: 0;
640
- transform: translate3d(100%, 0, 0);
641
- }
642
-
643
- to {
644
- opacity: 1;
645
- transform: none;
646
- }
647
- }
648
-
649
- .fadeInRight {
650
- animation-name: fadeInRight;
651
- }
652
-
653
- @keyframes fadeInRightBig {
654
- from {
655
- opacity: 0;
656
- transform: translate3d(2000px, 0, 0);
657
- }
658
-
659
- to {
660
- opacity: 1;
661
- transform: none;
662
- }
663
- }
664
-
665
- .fadeInRightBig {
666
- animation-name: fadeInRightBig;
667
- }
668
-
669
- @keyframes fadeInUp {
670
- from {
671
- opacity: 0;
672
- transform: translate3d(0, 100%, 0);
673
- }
674
-
675
- to {
676
- opacity: 1;
677
- transform: none;
678
- }
679
- }
680
-
681
- .fadeInUp {
682
- animation-name: fadeInUp;
683
- }
684
-
685
- @keyframes fadeInUpBig {
686
- from {
687
- opacity: 0;
688
- transform: translate3d(0, 2000px, 0);
689
- }
690
-
691
- to {
692
- opacity: 1;
693
- transform: none;
694
- }
695
- }
696
-
697
- .fadeInUpBig {
698
- animation-name: fadeInUpBig;
699
- }
700
-
701
- @keyframes fadeOut {
702
- from {
703
- opacity: 1;
704
- }
705
-
706
- to {
707
- opacity: 0;
708
- }
709
- }
710
-
711
- .fadeOut {
712
- animation-name: fadeOut;
713
- }
714
-
715
- @keyframes fadeOutDown {
716
- from {
717
- opacity: 1;
718
- }
719
-
720
- to {
721
- opacity: 0;
722
- transform: translate3d(0, 100%, 0);
723
- }
724
- }
725
-
726
- .fadeOutDown {
727
- animation-name: fadeOutDown;
728
- }
729
-
730
- @keyframes fadeOutDownBig {
731
- from {
732
- opacity: 1;
733
- }
734
-
735
- to {
736
- opacity: 0;
737
- transform: translate3d(0, 2000px, 0);
738
- }
739
- }
740
-
741
- .fadeOutDownBig {
742
- animation-name: fadeOutDownBig;
743
- }
744
-
745
- @keyframes fadeOutLeft {
746
- from {
747
- opacity: 1;
748
- }
749
-
750
- to {
751
- opacity: 0;
752
- transform: translate3d(-100%, 0, 0);
753
- }
754
- }
755
-
756
- .fadeOutLeft {
757
- animation-name: fadeOutLeft;
758
- }
759
-
760
- @keyframes fadeOutLeftBig {
761
- from {
762
- opacity: 1;
763
- }
764
-
765
- to {
766
- opacity: 0;
767
- transform: translate3d(-2000px, 0, 0);
768
- }
769
- }
770
-
771
- .fadeOutLeftBig {
772
- animation-name: fadeOutLeftBig;
773
- }
774
-
775
- @keyframes fadeOutRight {
776
- from {
777
- opacity: 1;
778
- }
779
-
780
- to {
781
- opacity: 0;
782
- transform: translate3d(100%, 0, 0);
783
- }
784
- }
785
-
786
- .fadeOutRight {
787
- animation-name: fadeOutRight;
788
- }
789
-
790
- @keyframes fadeOutRightBig {
791
- from {
792
- opacity: 1;
793
- }
794
-
795
- to {
796
- opacity: 0;
797
- transform: translate3d(2000px, 0, 0);
798
- }
799
- }
800
-
801
- .fadeOutRightBig {
802
- animation-name: fadeOutRightBig;
803
- }
804
-
805
- @keyframes fadeOutUp {
806
- from {
807
- opacity: 1;
808
- }
809
-
810
- to {
811
- opacity: 0;
812
- transform: translate3d(0, -100%, 0);
813
- }
814
- }
815
-
816
- .fadeOutUp {
817
- animation-name: fadeOutUp;
818
- }
819
-
820
- @keyframes fadeOutUpBig {
821
- from {
822
- opacity: 1;
823
- }
824
-
825
- to {
826
- opacity: 0;
827
- transform: translate3d(0, -2000px, 0);
828
- }
829
- }
830
-
831
- .fadeOutUpBig {
832
- animation-name: fadeOutUpBig;
833
- }
834
-
835
- @keyframes flip {
836
- from {
837
- transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
838
- animation-timing-function: ease-out;
839
- }
840
-
841
- 40% {
842
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
843
- animation-timing-function: ease-out;
844
- }
845
-
846
- 50% {
847
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
848
- animation-timing-function: ease-in;
849
- }
850
-
851
- 80% {
852
- transform: perspective(400px) scale3d(.95, .95, .95);
853
- animation-timing-function: ease-in;
854
- }
855
-
856
- to {
857
- transform: perspective(400px);
858
- animation-timing-function: ease-in;
859
- }
860
- }
861
-
862
- .animated.flip {
863
- -webkit-backface-visibility: visible;
864
- backface-visibility: visible;
865
- animation-name: flip;
866
- }
867
-
868
- @keyframes flipInX {
869
- from {
870
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
871
- animation-timing-function: ease-in;
872
- opacity: 0;
873
- }
874
-
875
- 40% {
876
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
877
- animation-timing-function: ease-in;
878
- }
879
-
880
- 60% {
881
- transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
882
- opacity: 1;
883
- }
884
-
885
- 80% {
886
- transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
887
- }
888
-
889
- to {
890
- transform: perspective(400px);
891
- }
892
- }
893
-
894
- .flipInX {
895
- -webkit-backface-visibility: visible !important;
896
- backface-visibility: visible !important;
897
- animation-name: flipInX;
898
- }
899
-
900
- @keyframes flipInY {
901
- from {
902
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
903
- animation-timing-function: ease-in;
904
- opacity: 0;
905
- }
906
-
907
- 40% {
908
- transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
909
- animation-timing-function: ease-in;
910
- }
911
-
912
- 60% {
913
- transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
914
- opacity: 1;
915
- }
916
-
917
- 80% {
918
- transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
919
- }
920
-
921
- to {
922
- transform: perspective(400px);
923
- }
924
- }
925
-
926
- .flipInY {
927
- -webkit-backface-visibility: visible !important;
928
- backface-visibility: visible !important;
929
- animation-name: flipInY;
930
- }
931
-
932
- @keyframes flipOutX {
933
- from {
934
- transform: perspective(400px);
935
- }
936
-
937
- 30% {
938
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
939
- opacity: 1;
940
- }
941
-
942
- to {
943
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
944
- opacity: 0;
945
- }
946
- }
947
-
948
- .flipOutX {
949
- animation-name: flipOutX;
950
- -webkit-backface-visibility: visible !important;
951
- backface-visibility: visible !important;
952
- }
953
-
954
- @keyframes flipOutY {
955
- from {
956
- transform: perspective(400px);
957
- }
958
-
959
- 30% {
960
- transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
961
- opacity: 1;
962
- }
963
-
964
- to {
965
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
966
- opacity: 0;
967
- }
968
- }
969
-
970
- .flipOutY {
971
- -webkit-backface-visibility: visible !important;
972
- backface-visibility: visible !important;
973
- animation-name: flipOutY;
974
- }
975
-
976
- @keyframes lightSpeedIn {
977
- from {
978
- transform: translate3d(100%, 0, 0) skewX(-30deg);
979
- opacity: 0;
980
- }
981
-
982
- 60% {
983
- transform: skewX(20deg);
984
- opacity: 1;
985
- }
986
-
987
- 80% {
988
- transform: skewX(-5deg);
989
- opacity: 1;
990
- }
991
-
992
- to {
993
- transform: none;
994
- opacity: 1;
995
- }
996
- }
997
-
998
- .lightSpeedIn {
999
- animation-name: lightSpeedIn;
1000
- animation-timing-function: ease-out;
1001
- }
1002
-
1003
- @keyframes lightSpeedOut {
1004
- from {
1005
- opacity: 1;
1006
- }
1007
-
1008
- to {
1009
- transform: translate3d(100%, 0, 0) skewX(30deg);
1010
- opacity: 0;
1011
- }
1012
- }
1013
-
1014
- .lightSpeedOut {
1015
- animation-name: lightSpeedOut;
1016
- animation-timing-function: ease-in;
1017
- }
1018
-
1019
- @keyframes rotateIn {
1020
- from {
1021
- transform-origin: center;
1022
- transform: rotate3d(0, 0, 1, -200deg);
1023
- opacity: 0;
1024
- }
1025
-
1026
- to {
1027
- transform-origin: center;
1028
- transform: none;
1029
- opacity: 1;
1030
- }
1031
- }
1032
-
1033
- .rotateIn {
1034
- animation-name: rotateIn;
1035
- }
1036
-
1037
- @keyframes rotateInDownLeft {
1038
- from {
1039
- transform-origin: left bottom;
1040
- transform: rotate3d(0, 0, 1, -45deg);
1041
- opacity: 0;
1042
- }
1043
-
1044
- to {
1045
- transform-origin: left bottom;
1046
- transform: none;
1047
- opacity: 1;
1048
- }
1049
- }
1050
-
1051
- .rotateInDownLeft {
1052
- animation-name: rotateInDownLeft;
1053
- }
1054
-
1055
- @keyframes rotateInDownRight {
1056
- from {
1057
- transform-origin: right bottom;
1058
- transform: rotate3d(0, 0, 1, 45deg);
1059
- opacity: 0;
1060
- }
1061
-
1062
- to {
1063
- transform-origin: right bottom;
1064
- transform: none;
1065
- opacity: 1;
1066
- }
1067
- }
1068
-
1069
- .rotateInDownRight {
1070
- animation-name: rotateInDownRight;
1071
- }
1072
-
1073
- @keyframes rotateInUpLeft {
1074
- from {
1075
- transform-origin: left bottom;
1076
- transform: rotate3d(0, 0, 1, 45deg);
1077
- opacity: 0;
1078
- }
1079
-
1080
- to {
1081
- transform-origin: left bottom;
1082
- transform: none;
1083
- opacity: 1;
1084
- }
1085
- }
1086
-
1087
- .rotateInUpLeft {
1088
- animation-name: rotateInUpLeft;
1089
- }
1090
-
1091
- @keyframes rotateInUpRight {
1092
- from {
1093
- transform-origin: right bottom;
1094
- transform: rotate3d(0, 0, 1, -90deg);
1095
- opacity: 0;
1096
- }
1097
-
1098
- to {
1099
- transform-origin: right bottom;
1100
- transform: none;
1101
- opacity: 1;
1102
- }
1103
- }
1104
-
1105
- .rotateInUpRight {
1106
- animation-name: rotateInUpRight;
1107
- }
1108
-
1109
- @keyframes rotateOut {
1110
- from {
1111
- transform-origin: center;
1112
- opacity: 1;
1113
- }
1114
-
1115
- to {
1116
- transform-origin: center;
1117
- transform: rotate3d(0, 0, 1, 200deg);
1118
- opacity: 0;
1119
- }
1120
- }
1121
-
1122
- .rotateOut {
1123
- animation-name: rotateOut;
1124
- }
1125
-
1126
- @keyframes rotateOutDownLeft {
1127
- from {
1128
- transform-origin: left bottom;
1129
- opacity: 1;
1130
- }
1131
-
1132
- to {
1133
- transform-origin: left bottom;
1134
- transform: rotate3d(0, 0, 1, 45deg);
1135
- opacity: 0;
1136
- }
1137
- }
1138
-
1139
- .rotateOutDownLeft {
1140
- animation-name: rotateOutDownLeft;
1141
- }
1142
-
1143
- @keyframes rotateOutDownRight {
1144
- from {
1145
- transform-origin: right bottom;
1146
- opacity: 1;
1147
- }
1148
-
1149
- to {
1150
- transform-origin: right bottom;
1151
- transform: rotate3d(0, 0, 1, -45deg);
1152
- opacity: 0;
1153
- }
1154
- }
1155
-
1156
- .rotateOutDownRight {
1157
- animation-name: rotateOutDownRight;
1158
- }
1159
-
1160
- @keyframes rotateOutUpLeft {
1161
- from {
1162
- transform-origin: left bottom;
1163
- opacity: 1;
1164
- }
1165
-
1166
- to {
1167
- transform-origin: left bottom;
1168
- transform: rotate3d(0, 0, 1, -45deg);
1169
- opacity: 0;
1170
- }
1171
- }
1172
-
1173
- .rotateOutUpLeft {
1174
- animation-name: rotateOutUpLeft;
1175
- }
1176
-
1177
- @keyframes rotateOutUpRight {
1178
- from {
1179
- transform-origin: right bottom;
1180
- opacity: 1;
1181
- }
1182
-
1183
- to {
1184
- transform-origin: right bottom;
1185
- transform: rotate3d(0, 0, 1, 90deg);
1186
- opacity: 0;
1187
- }
1188
- }
1189
-
1190
- .rotateOutUpRight {
1191
- animation-name: rotateOutUpRight;
1192
- }
1193
-
1194
- @keyframes hinge {
1195
- 0% {
1196
- transform-origin: top left;
1197
- animation-timing-function: ease-in-out;
1198
- }
1199
-
1200
- 20%, 60% {
1201
- transform: rotate3d(0, 0, 1, 80deg);
1202
- transform-origin: top left;
1203
- animation-timing-function: ease-in-out;
1204
- }
1205
-
1206
- 40%, 80% {
1207
- transform: rotate3d(0, 0, 1, 60deg);
1208
- transform-origin: top left;
1209
- animation-timing-function: ease-in-out;
1210
- opacity: 1;
1211
- }
1212
-
1213
- to {
1214
- transform: translate3d(0, 700px, 0);
1215
- opacity: 0;
1216
- }
1217
- }
1218
-
1219
- .hinge {
1220
- animation-name: hinge;
1221
- }
1222
-
1223
- @keyframes jackInTheBox {
1224
- from {
1225
- opacity: 0;
1226
- transform: scale(0.1) rotate(30deg);
1227
- transform-origin: center bottom;
1228
- }
1229
-
1230
- 50% {
1231
- transform: rotate(-10deg);
1232
- }
1233
-
1234
- 70% {
1235
- transform: rotate(3deg);
1236
- }
1237
-
1238
- to {
1239
- opacity: 1;
1240
- transform: scale(1);
1241
- }
1242
- }
1243
-
1244
- .jackInTheBox {
1245
- animation-name: jackInTheBox;
1246
- }
1247
-
1248
- /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
1249
-
1250
- @keyframes rollIn {
1251
- from {
1252
- opacity: 0;
1253
- transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
1254
- }
1255
-
1256
- to {
1257
- opacity: 1;
1258
- transform: none;
1259
- }
1260
- }
1261
-
1262
- .rollIn {
1263
- animation-name: rollIn;
1264
- }
1265
-
1266
- /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
1267
-
1268
- @keyframes rollOut {
1269
- from {
1270
- opacity: 1;
1271
- }
1272
-
1273
- to {
1274
- opacity: 0;
1275
- transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
1276
- }
1277
- }
1278
-
1279
- .rollOut {
1280
- animation-name: rollOut;
1281
- }
1282
-
1283
- @keyframes zoomIn {
1284
- from {
1285
- opacity: 0;
1286
- transform: scale3d(.3, .3, .3);
1287
- }
1288
-
1289
- 50% {
1290
- opacity: 1;
1291
- }
1292
- }
1293
-
1294
- .zoomIn {
1295
- animation-name: zoomIn;
1296
- }
1297
-
1298
- @keyframes zoomInDown {
1299
- from {
1300
- opacity: 0;
1301
- transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
1302
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1303
- }
1304
-
1305
- 60% {
1306
- opacity: 1;
1307
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
1308
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1309
- }
1310
- }
1311
-
1312
- .zoomInDown {
1313
- animation-name: zoomInDown;
1314
- }
1315
-
1316
- @keyframes zoomInLeft {
1317
- from {
1318
- opacity: 0;
1319
- transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
1320
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1321
- }
1322
-
1323
- 60% {
1324
- opacity: 1;
1325
- transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
1326
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1327
- }
1328
- }
1329
-
1330
- .zoomInLeft {
1331
- animation-name: zoomInLeft;
1332
- }
1333
-
1334
- @keyframes zoomInRight {
1335
- from {
1336
- opacity: 0;
1337
- transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
1338
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1339
- }
1340
-
1341
- 60% {
1342
- opacity: 1;
1343
- transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
1344
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1345
- }
1346
- }
1347
-
1348
- .zoomInRight {
1349
- animation-name: zoomInRight;
1350
- }
1351
-
1352
- @keyframes zoomInUp {
1353
- from {
1354
- opacity: 0;
1355
- transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
1356
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1357
- }
1358
-
1359
- 60% {
1360
- opacity: 1;
1361
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
1362
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1363
- }
1364
- }
1365
-
1366
- .zoomInUp {
1367
- animation-name: zoomInUp;
1368
- }
1369
-
1370
- @keyframes zoomOut {
1371
- from {
1372
- opacity: 1;
1373
- }
1374
-
1375
- 50% {
1376
- opacity: 0;
1377
- transform: scale3d(.3, .3, .3);
1378
- }
1379
-
1380
- to {
1381
- opacity: 0;
1382
- }
1383
- }
1384
-
1385
- .zoomOut {
1386
- animation-name: zoomOut;
1387
- }
1388
-
1389
- @keyframes zoomOutDown {
1390
- 40% {
1391
- opacity: 1;
1392
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
1393
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1394
- }
1395
-
1396
- to {
1397
- opacity: 0;
1398
- transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
1399
- transform-origin: center bottom;
1400
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1401
- }
1402
- }
1403
-
1404
- .zoomOutDown {
1405
- animation-name: zoomOutDown;
1406
- }
1407
-
1408
- @keyframes zoomOutLeft {
1409
- 40% {
1410
- opacity: 1;
1411
- transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
1412
- }
1413
-
1414
- to {
1415
- opacity: 0;
1416
- transform: scale(.1) translate3d(-2000px, 0, 0);
1417
- transform-origin: left center;
1418
- }
1419
- }
1420
-
1421
- .zoomOutLeft {
1422
- animation-name: zoomOutLeft;
1423
- }
1424
-
1425
- @keyframes zoomOutRight {
1426
- 40% {
1427
- opacity: 1;
1428
- transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
1429
- }
1430
-
1431
- to {
1432
- opacity: 0;
1433
- transform: scale(.1) translate3d(2000px, 0, 0);
1434
- transform-origin: right center;
1435
- }
1436
- }
1437
-
1438
- .zoomOutRight {
1439
- animation-name: zoomOutRight;
1440
- }
1441
-
1442
- @keyframes zoomOutUp {
1443
- 40% {
1444
- opacity: 1;
1445
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
1446
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1447
- }
1448
-
1449
- to {
1450
- opacity: 0;
1451
- transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
1452
- transform-origin: center bottom;
1453
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1454
- }
1455
- }
1456
-
1457
- .zoomOutUp {
1458
- animation-name: zoomOutUp;
1459
- }
1460
-
1461
- @keyframes slideInDown {
1462
- from {
1463
- transform: translate3d(0, -100%, 0);
1464
- visibility: visible;
1465
- }
1466
-
1467
- to {
1468
- transform: translate3d(0, 0, 0);
1469
- }
1470
- }
1471
-
1472
- .slideInDown {
1473
- animation-name: slideInDown;
1474
- }
1475
-
1476
- @keyframes slideInLeft {
1477
- from {
1478
- transform: translate3d(-100%, 0, 0);
1479
- visibility: visible;
1480
- }
1481
-
1482
- to {
1483
- transform: translate3d(0, 0, 0);
1484
- }
1485
- }
1486
-
1487
- .slideInLeft {
1488
- animation-name: slideInLeft;
1489
- }
1490
-
1491
- @keyframes slideInRight {
1492
- from {
1493
- transform: translate3d(100%, 0, 0);
1494
- visibility: visible;
1495
- }
1496
-
1497
- to {
1498
- transform: translate3d(0, 0, 0);
1499
- }
1500
- }
1501
-
1502
- .slideInRight {
1503
- animation-name: slideInRight;
1504
- }
1505
-
1506
- @keyframes slideInUp {
1507
- from {
1508
- transform: translate3d(0, 100%, 0);
1509
- visibility: visible;
1510
- }
1511
-
1512
- to {
1513
- transform: translate3d(0, 0, 0);
1514
- }
1515
- }
1516
-
1517
- .slideInUp {
1518
- animation-name: slideInUp;
1519
- }
1520
-
1521
- @keyframes slideOutDown {
1522
- from {
1523
- transform: translate3d(0, 0, 0);
1524
- }
1525
-
1526
- to {
1527
- visibility: hidden;
1528
- transform: translate3d(0, 100%, 0);
1529
- }
1530
- }
1531
-
1532
- .slideOutDown {
1533
- animation-name: slideOutDown;
1534
- }
1535
-
1536
- @keyframes slideOutLeft {
1537
- from {
1538
- transform: translate3d(0, 0, 0);
1539
- }
1540
-
1541
- to {
1542
- visibility: hidden;
1543
- transform: translate3d(-100%, 0, 0);
1544
- }
1545
- }
1546
-
1547
- .slideOutLeft {
1548
- animation-name: slideOutLeft;
1549
- }
1550
-
1551
- @keyframes slideOutRight {
1552
- from {
1553
- transform: translate3d(0, 0, 0);
1554
- }
1555
-
1556
- to {
1557
- visibility: hidden;
1558
- transform: translate3d(100%, 0, 0);
1559
- }
1560
- }
1561
-
1562
- .slideOutRight {
1563
- animation-name: slideOutRight;
1564
- }
1565
-
1566
- @keyframes slideOutUp {
1567
- from {
1568
- transform: translate3d(0, 0, 0);
1569
- }
1570
-
1571
- to {
1572
- visibility: hidden;
1573
- transform: translate3d(0, -100%, 0);
1574
- }
1575
- }
1576
-
1577
- .slideOutUp {
1578
- animation-name: slideOutUp;
1579
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/elementor-preview-style.css DELETED
@@ -1,11 +0,0 @@
1
-
2
- /*
3
- * In carousel preview iframe pabel edit overly displayed none
4
- */
5
- .premium-carousel-wrapper .elementor-element-overlay {
6
- display: none;
7
- }
8
-
9
- #elementor-template-library-modal .elementor-button {
10
- color: red;
11
- }
 
 
 
 
 
 
 
 
 
 
 
assets/css/premium-addons.css CHANGED
@@ -601,6 +601,7 @@
601
 
602
  .countdown span.pre_countdown-amount {
603
  font-size: 36px;
 
604
  }
605
 
606
  .countdown .pre_time-mid {
@@ -1264,20 +1265,25 @@ button.close {
1264
  .premium-video-box-play-icon-container {
1265
  position: absolute;
1266
  z-index: 1;
1267
- top: 50%;
1268
- left: 50%;
1269
  cursor: pointer;
1270
  transform: translate(-50%,-50%);
1271
  }
1272
  .premium-video-box-description-container {
1273
  position: absolute;
1274
  z-index: 1;
1275
- left: 50%;
1276
- width: 100%;
1277
  text-align: center;
1278
  cursor: pointer;
1279
  transform: translate(-50%,-50%);
1280
  }
 
 
 
 
 
 
 
 
1281
  /*Play Icon Style*/
1282
  .premium-video-box-play-icon{
1283
  padding: 15px;
@@ -1803,6 +1809,11 @@ button.close {
1803
  padding: 0;
1804
  margin: 0;
1805
  display: inline-block;
 
 
 
 
 
1806
  }
1807
  .premium-dual-header-first-clip,
1808
  .premium-dual-header-second-clip {
@@ -1828,9 +1839,60 @@ button.close {
1828
  -ms-transition: all 0.3s ease-in-out;
1829
  transition: all 0.3s ease-in-out;
1830
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1831
  .premium-pricing-button-container {
1832
  display: block;
1833
  }
 
 
 
 
1834
  .premium-pricing-description-container li{
1835
  list-style-position: inside;
1836
  text-indent: -40px;
@@ -1856,68 +1918,51 @@ button.close {
1856
  }
1857
  /**************** Premium Google Maps ******************/
1858
  /*******************************************************/
 
 
 
 
1859
  .premium-maps-info-title,
1860
  .premium-maps-info-desc {
1861
  margin: 0;
1862
  padding: 0;
1863
  }
1864
- /**************** Premium Button ***********************/
1865
- /*******************************************************/
1866
- .premium-button-left {
1867
- text-align: left;
1868
- }
1869
- .premium-button-right {
1870
- text-align: right;
1871
- }
1872
- .premium-button-center {
1873
- text-align: center;
1874
- }
1875
- .premium-button-justify .premium-button {
1876
- width: 100%;
1877
  text-align: center;
1878
  }
 
 
1879
  .premium-button {
1880
  display: inline-block;
1881
  position: relative;
1882
- font-size: 15px;
1883
  overflow: hidden;
1884
- line-height: 1;
1885
- padding: 12px 24px;
1886
- background: #6ec1e4;
1887
  -webkit-transition: all 0.2s ease-in-out !important;
1888
  -moz-transition: all 0.2s ease-in-out !important;
1889
  -ms-transition: all 0.2s ease-in-out !important;
1890
  -o-transition: all 0.2s ease-in-out !important;
1891
  transition: all 0.2s ease-in-out !important;
1892
  }
1893
- .premium-button.premium-button-style2-shutinhor:before ,
1894
- .premium-button.premium-button-style2-shutinver:before ,
1895
- .premium-button.premium-button-style2-scshutinhor:before ,
1896
- .premium-button.premium-button-style2-scshutinver:before,
1897
- .premium-button-style5-radialin:before,
1898
- .premium-button-style5-rectin:before{
1899
- background: #6ec1e4;
1900
  }
1901
- .premium-button-style1-bottom:before,
1902
- .premium-button-style1-top:before,
1903
- .premium-button-style1-right:before,
1904
- .premium-button-style1-left:before,
1905
- .premium-button-style2-shutouthor:before,
1906
- .premium-button-style2-shutoutver:before,
1907
- .premium-button-style2-shutinhor,
1908
- .premium-button-style2-shutinver,
1909
- .premium-button-style2-scshutinhor,
1910
- .premium-button-style2-scshutinver,
1911
- .premium-button-style2-scshutouthor:before,
1912
- .premium-button-style2-scshutoutver:before,
1913
- .premium-button-style3-left:hover,
1914
- .premium-button-style3-right:hover,
1915
- .premium-button-style4-icon-wrapper,
1916
- .premium-button-style5-radialin,
1917
- .premium-button-style5-radialout:before,
1918
- .premium-button-style5-rectin,
1919
- .premium-button-style5-rectout:before {
1920
- background: #7a7a7a;
1921
  }
1922
  .premium-button-text {
1923
  display: inline-block;
@@ -1933,8 +1978,8 @@ button.close {
1933
  .premium-button-style2-shutinver,
1934
  .premium-button-style2-scshutouthor,
1935
  .premium-button-style2-scshutoutver,
1936
- .premium-button-style2-scshutinhor,
1937
- .premium-button-style2-scshutinver,
1938
  .premium-button-style5-radialin,
1939
  .premium-button-style5-radialout,
1940
  .premium-button-style5-rectin,
@@ -1958,10 +2003,10 @@ button.close {
1958
  .premium-button-style2-shutinver:before,
1959
  .premium-button-style2-shutouthor:before,
1960
  .premium-button-style2-shutoutver:before,
1961
- .premium-button-style2-scshutinhor:before,
1962
- .premium-button-style2-scshutinver:before,
1963
  .premium-button-style2-scshutouthor:before,
1964
  .premium-button-style2-scshutoutver:before,
 
 
1965
  .premium-button-style5-radialin:before,
1966
  .premium-button-style5-radialout:before,
1967
  .premium-button-style5-rectin:before,
@@ -2053,15 +2098,13 @@ button.close {
2053
  -webkit-transform-origin: 50% 50%;
2054
  transform-origin: 50% 50%;
2055
  }
2056
- .premium-button-style2-shutinhor:before,
2057
- .premium-button-style2-scshutinhor:before{
2058
  -webkit-transform: scaleX(1);
2059
  transform: scaleX(1);
2060
  -webkit-transform-origin: 50%;
2061
  transform-origin: 50%;
2062
  }
2063
- .premium-button-style2-shutinver:before,
2064
- .premium-button-style2-scshutinver:before{
2065
  -webkit-transform: scaleY(1);
2066
  transform: scaleY(1);
2067
  -webkit-transform-origin: 50%;
@@ -2083,18 +2126,10 @@ button.close {
2083
  -webkit-transform: scaleX(0);
2084
  transform: scaleX(0);
2085
  }
2086
- .premium-button-style2-scshutinhor:hover:before{
2087
- -webkit-transform: scaleX(0.07);
2088
- transform: scaleX(0.07);
2089
- }
2090
  .premium-button-style2-shutinver:hover:before{
2091
  -webkit-transform: scaleY(0);
2092
  transform: scaleY(0);
2093
  }
2094
- .premium-button-style2-scshutinver:hover:before{
2095
- -webkit-transform: scaleY(0.2);
2096
- transform: scaleY(0.2);
2097
- }
2098
  .premium-button-style2-scshutouthor:hover:before{
2099
  -webkit-transform: scaleX(0.9);
2100
  transform: scaleX(0.9);
@@ -2103,31 +2138,51 @@ button.close {
2103
  -webkit-transform: scaleY(0.8);
2104
  transform: scaleY(0.8);
2105
  }
2106
- .premium-button-style3-left i,
2107
- .premium-button-style3-right i{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2108
  opacity: 0;
2109
  -webkit-transform: translateX(-5px);
2110
  transform: translateX(-5px);
2111
- -webkit-transition: all 0.2s ease-in-out;
2112
- -moz-transition: all 0.2s ease-in-out;
2113
- -ms-transition: all 0.2s ease-in-out;
2114
- -o-transition: all 0.2s ease-in-out;
2115
- transition: all 0.2s ease-in-out;
2116
  }
2117
- .premium-button-style3-right i{
2118
  -webkit-transform: translateX(5px);
2119
  transform: translateX(5px);
2120
  }
2121
- .premium-button-style3-right:hover i {
2122
  opacity: 1;
2123
- -webkit-transform: translateX(-10px);
2124
- transform: translateX(-10px);
2125
  }
2126
- .premium-button-style3-left:hover i {
2127
  opacity: 1;
2128
- -webkit-transform: translateX(10px);
2129
- transform: translateX(10px);
2130
  }
 
2131
  .premium-button-text-icon-wrapper,
2132
  .premium-button-text-icon-wrapper i{
2133
  -webkit-transition: all 0.2s ease-in-out;
@@ -2204,7 +2259,7 @@ button.close {
2204
  transform: translateX(-100%);
2205
  opacity: 0;
2206
  }
2207
- /**************** Contact Form7 ******************/
2208
  /*************************************************/
2209
  .premium_border_animation1 .wpcf7-span::after {
2210
  display: block;
@@ -2221,4 +2276,339 @@ button.close {
2221
  }
2222
  .premium_border_animation1 .wpcf7-span.is-focused::after {
2223
  width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2224
  }
601
 
602
  .countdown span.pre_countdown-amount {
603
  font-size: 36px;
604
+ line-height: 1;
605
  }
606
 
607
  .countdown .pre_time-mid {
1265
  .premium-video-box-play-icon-container {
1266
  position: absolute;
1267
  z-index: 1;
 
 
1268
  cursor: pointer;
1269
  transform: translate(-50%,-50%);
1270
  }
1271
  .premium-video-box-description-container {
1272
  position: absolute;
1273
  z-index: 1;
1274
+ padding: 5px;
 
1275
  text-align: center;
1276
  cursor: pointer;
1277
  transform: translate(-50%,-50%);
1278
  }
1279
+ .premium-video-box-text {
1280
+ margin-bottom: 0 !important;
1281
+ -webkit-transition: all 0.3s ease-in-out;
1282
+ -moz-transition: all 0.3s ease-in-out;
1283
+ -o-transition: all 0.3s ease-in-out;
1284
+ -ms-transition: all 0.3s ease-in-out;
1285
+ transition: all 0.3s ease-in-out;
1286
+ }
1287
  /*Play Icon Style*/
1288
  .premium-video-box-play-icon{
1289
  padding: 15px;
1809
  padding: 0;
1810
  margin: 0;
1811
  display: inline-block;
1812
+ -webkit-transform: translate(0,0);
1813
+ transform: translate(0,0);
1814
+ }
1815
+ .premium-dual-header-first-container {
1816
+ margin-right: 5px;
1817
  }
1818
  .premium-dual-header-first-clip,
1819
  .premium-dual-header-second-clip {
1839
  -ms-transition: all 0.3s ease-in-out;
1840
  transition: all 0.3s ease-in-out;
1841
  }
1842
+ .premium-badge-left,
1843
+ .premium-badge-right {
1844
+ position:absolute;
1845
+ top: 0;
1846
+ }
1847
+ .premium-badge-right {
1848
+ right: 0;
1849
+ }
1850
+ .premium-badge-left {
1851
+ left: 0;
1852
+ }
1853
+ .premium-badge-left .corner {
1854
+ width: 0;
1855
+ height: 0;
1856
+ border-top: 150px solid;
1857
+ border-bottom: 150px solid transparent;
1858
+ border-right: 150px solid transparent;
1859
+ }
1860
+ .premium-badge-right .corner {
1861
+ width: 0;
1862
+ height: 0;
1863
+ border-bottom: 150px solid transparent;
1864
+ border-right: 150px solid;
1865
+ border-left: 150px solid transparent;
1866
+ }
1867
+ .premium-badge-left span,
1868
+ .premium-badge-right span{
1869
+ position:absolute;
1870
+ top: 35px;
1871
+ width: 100px;
1872
+ text-align: center;
1873
+ -webkit-transform: rotate(-45deg);
1874
+ transform: rotate(-45deg);
1875
+ display:block;
1876
+ }
1877
+ .premium-badge-right span {
1878
+ -webkit-transform: rotate(45deg);
1879
+ transform: rotate(45deg);
1880
+ right: 0;
1881
+ }
1882
+ .premium-pricing-price-currency {
1883
+ position: relative;
1884
+ }
1885
+ .premium-pricing-icon-container {
1886
+ display: inline-block;
1887
+ line-height: 0;
1888
+ }
1889
  .premium-pricing-button-container {
1890
  display: block;
1891
  }
1892
+ .premium-pricing-list {
1893
+ list-style-type: none;
1894
+ margin: 0;
1895
+ }
1896
  .premium-pricing-description-container li{
1897
  list-style-position: inside;
1898
  text-indent: -40px;
1918
  }
1919
  /**************** Premium Google Maps ******************/
1920
  /*******************************************************/
1921
+ .premium-maps-info-container {
1922
+ margin-top: 10px;
1923
+ margin-bottom: 10px;
1924
+ }
1925
  .premium-maps-info-title,
1926
  .premium-maps-info-desc {
1927
  margin: 0;
1928
  padding: 0;
1929
  }
1930
+ .premium-maps-container .gm-style-iw {
 
 
 
 
 
 
 
 
 
 
 
 
1931
  text-align: center;
1932
  }
1933
+ /**************** Premium Button ***********************/
1934
+ /*******************************************************/
1935
  .premium-button {
1936
  display: inline-block;
1937
  position: relative;
 
1938
  overflow: hidden;
 
 
 
1939
  -webkit-transition: all 0.2s ease-in-out !important;
1940
  -moz-transition: all 0.2s ease-in-out !important;
1941
  -ms-transition: all 0.2s ease-in-out !important;
1942
  -o-transition: all 0.2s ease-in-out !important;
1943
  transition: all 0.2s ease-in-out !important;
1944
  }
1945
+ .premium-button.premium-button-sm {
1946
+ padding: 12px 24px;
1947
+ font-size: 14px;
1948
+ line-height: 1;
 
 
 
1949
  }
1950
+ .premium-button.premium-button-md {
1951
+ padding: 14px 26px;
1952
+ font-size: 16px;
1953
+ line-height: 1.2;
1954
+ }
1955
+ .premium-button.premium-button-lg {
1956
+ padding: 16px 28px;
1957
+ font-size: 18px;
1958
+ line-height: 1.3333;
1959
+ }
1960
+ .premium-button.premium-button-block {
1961
+ font-size: 15px;
1962
+ line-height: 1;
1963
+ padding: 12px 24px;
1964
+ width: 100%;
1965
+ text-align: center;
 
 
 
 
1966
  }
1967
  .premium-button-text {
1968
  display: inline-block;
1978
  .premium-button-style2-shutinver,
1979
  .premium-button-style2-scshutouthor,
1980
  .premium-button-style2-scshutoutver,
1981
+ .premium-button-style2-dshutinhor,
1982
+ .premium-button-style2-dshutinver,
1983
  .premium-button-style5-radialin,
1984
  .premium-button-style5-radialout,
1985
  .premium-button-style5-rectin,
2003
  .premium-button-style2-shutinver:before,
2004
  .premium-button-style2-shutouthor:before,
2005
  .premium-button-style2-shutoutver:before,
 
 
2006
  .premium-button-style2-scshutouthor:before,
2007
  .premium-button-style2-scshutoutver:before,
2008
+ .premium-button-style2-dshutinhor:before,
2009
+ .premium-button-style2-dshutinver:before,
2010
  .premium-button-style5-radialin:before,
2011
  .premium-button-style5-radialout:before,
2012
  .premium-button-style5-rectin:before,
2098
  -webkit-transform-origin: 50% 50%;
2099
  transform-origin: 50% 50%;
2100
  }
2101
+ .premium-button-style2-shutinhor:before{
 
2102
  -webkit-transform: scaleX(1);
2103
  transform: scaleX(1);
2104
  -webkit-transform-origin: 50%;
2105
  transform-origin: 50%;
2106
  }
2107
+ .premium-button-style2-shutinver:before{
 
2108
  -webkit-transform: scaleY(1);
2109
  transform: scaleY(1);
2110
  -webkit-transform-origin: 50%;
2126
  -webkit-transform: scaleX(0);
2127
  transform: scaleX(0);
2128
  }
 
 
 
 
2129
  .premium-button-style2-shutinver:hover:before{
2130
  -webkit-transform: scaleY(0);
2131
  transform: scaleY(0);
2132
  }
 
 
 
 
2133
  .premium-button-style2-scshutouthor:hover:before{
2134
  -webkit-transform: scaleX(0.9);
2135
  transform: scaleX(0.9);
2138
  -webkit-transform: scaleY(0.8);
2139
  transform: scaleY(0.8);
2140
  }
2141
+ /*Diagonal*/
2142
+ .premium-button-style2-dshutinhor:before,
2143
+ .premium-button-style2-dshutinver:before {
2144
+ top: 50%;
2145
+ left: 50%;
2146
+ width: 120%;
2147
+ height: 0%;
2148
+ -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
2149
+ transform: translateX(-50%) translateY(-50%) rotate(-45deg);
2150
+ -webkit-transform-origin: 50%;
2151
+ transform-origin: 50%;
2152
+ -webkit-transition-property: all;
2153
+ transition-property: all;
2154
+ }
2155
+ .premium-button-style2-dshutinver:before {
2156
+ -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
2157
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
2158
+ }
2159
+ .premium-button-style2-dshutinhor:hover:before,
2160
+ .premium-button-style2-dshutinver:hover:before{
2161
+ height: 220%;
2162
+ }
2163
+
2164
+ .premium-button-style3-before i,
2165
+ .premium-button-style3-after i{
2166
  opacity: 0;
2167
  -webkit-transform: translateX(-5px);
2168
  transform: translateX(-5px);
2169
+ -webkit-transition: all 0.5s ease-in-out;
2170
+ -moz-transition: all 0.5s ease-in-out;
2171
+ -ms-transition: all 0.5s ease-in-out;
2172
+ -o-transition: all 0.5s ease-in-out;
2173
+ transition: all 0.5s ease-in-out;
2174
  }
2175
+ .premium-button-style3-after i{
2176
  -webkit-transform: translateX(5px);
2177
  transform: translateX(5px);
2178
  }
2179
+ .premium-button-style3-after:hover i {
2180
  opacity: 1;
 
 
2181
  }
2182
+ .premium-button-style3-before:hover i {
2183
  opacity: 1;
 
 
2184
  }
2185
+ .premium-button-text-icon-wrapper span,
2186
  .premium-button-text-icon-wrapper,
2187
  .premium-button-text-icon-wrapper i{
2188
  -webkit-transition: all 0.2s ease-in-out;
2259
  transform: translateX(-100%);
2260
  opacity: 0;
2261
  }
2262
+ /**************** Premium Contact Form7 **********/
2263
  /*************************************************/
2264
  .premium_border_animation1 .wpcf7-span::after {
2265
  display: block;
2276
  }
2277
  .premium_border_animation1 .wpcf7-span.is-focused::after {
2278
  width: 100%;
2279
+ }
2280
+ /**************** Premium Image Button ***********/
2281
+ /*************************************************/
2282
+ .premium-image-button {
2283
+ display: inline-block;
2284
+ position: relative;
2285
+ overflow: hidden;
2286
+ background: #6ec1e4;
2287
+ -webkit-transition: all 0.2s ease-in-out !important;
2288
+ -moz-transition: all 0.2s ease-in-out !important;
2289
+ -ms-transition: all 0.2s ease-in-out !important;
2290
+ -o-transition: all 0.2s ease-in-out !important;
2291
+ transition: all 0.2s ease-in-out !important;
2292
+ }
2293
+ /*Default background for slide styles*/
2294
+ .premium-image-button:hover,
2295
+ .premium-image-button-style4-icon-wrapper,
2296
+ .premium-image-button-style1-top:before,
2297
+ .premium-image-button-style1-bottom:before,
2298
+ .premium-image-button-style1-left:before,
2299
+ .premium-image-button-style1-right:before
2300
+ {
2301
+ background-color: #54595f;
2302
+ }
2303
+
2304
+ .premium-image-button.premium-image-button-sm {
2305
+ padding: 12px 24px;
2306
+ font-size: 14px;
2307
+ line-height: 1;
2308
+ }
2309
+ .premium-image-button.premium-image-button-md {
2310
+ padding: 14px 26px;
2311
+ font-size: 16px;
2312
+ line-height: 1.2;
2313
+ }
2314
+ .premium-image-button.premium-image-button-lg {
2315
+ padding: 16px 28px;
2316
+ font-size: 18px;
2317
+ line-height: 1.3333;
2318
+ }
2319
+ .premium-image-button.premium-image-button-block {
2320
+ font-size: 15px;
2321
+ line-height: 1;
2322
+ padding: 12px 24px;
2323
+ width: 100%;
2324
+ text-align: center;
2325
+ }
2326
+ .premium-image-button-text-icon-wrapper {
2327
+ position: relative;
2328
+ z-index: 3;
2329
+ }
2330
+ .premium-image-button-text-icon-wrapper span,
2331
+ .premium-image-button-text-icon-wrapper,
2332
+ .premium-image-button-text-icon-wrapper i{
2333
+ -webkit-transition: all 0.2s ease-in-out;
2334
+ -moz-transition: all 0.2s ease-in-out;
2335
+ -ms-transition: all 0.2s ease-in-out;
2336
+ -o-transition: all 0.2s ease-in-out;
2337
+ transition: all 0.2s ease-in-out;
2338
+ }
2339
+ .premium-image-button-style1-bottom:before,
2340
+ .premium-image-button-style1-top:before,
2341
+ .premium-image-button-style1-left:before,
2342
+ .premium-image-button-style1-right:before {
2343
+ -webkit-transition: all 0.2s ease-in-out;
2344
+ -moz-transition: all 0.2s ease-in-out;
2345
+ -ms-transition: all 0.2s ease-in-out;
2346
+ -o-transition: all 0.2s ease-in-out;
2347
+ transition: all 0.2s ease-in-out;
2348
+ }
2349
+ .premium-image-button-style1-bottom:before {
2350
+ content: "";
2351
+ position: absolute;
2352
+ width: 100%;
2353
+ height: 0;
2354
+ top: 0;
2355
+ left: 0;
2356
+ }
2357
+ .premium-image-button-style1-top:before {
2358
+ content: "";
2359
+ position: absolute;
2360
+ width: 100%;
2361
+ height: 0;
2362
+ bottom: 0;
2363
+ left: 0;
2364
+ }
2365
+ .premium-image-button-style1-right:before {
2366
+ content: "";
2367
+ position: absolute;
2368
+ width: 0;
2369
+ height: 100%;
2370
+ bottom: 0;
2371
+ left: 0;
2372
+ }
2373
+ .premium-image-button-style1-left:before {
2374
+ content: "";
2375
+ position: absolute;
2376
+ width: 0;
2377
+ height: 100%;
2378
+ top: 0;
2379
+ right: 0;
2380
+ }
2381
+ .premium-image-button-style1-bottom:hover:before {
2382
+ height: 100%;
2383
+ }
2384
+ .premium-image-button-style1-top:hover:before {
2385
+ height: 100%;
2386
+ }
2387
+ .premium-image-button-style1-right:hover:before {
2388
+ width: 100%;
2389
+ }
2390
+ .premium-image-button-style1-left:hover:before {
2391
+ width: 100%;
2392
+ }
2393
+ .premium-image-button-diagonal-effect-top:before,
2394
+ .premium-image-button-diagonal-effect-bottom:before,
2395
+ .premium-image-button-diagonal-effect-left:before,
2396
+ .premium-image-button-diagonal-effect-right:before {
2397
+ position: absolute;
2398
+ top: 0px;
2399
+ left: 0px;
2400
+ width: 100%;
2401
+ height: 100%;
2402
+ content: "";
2403
+ z-index: 1;
2404
+ background: rgba(255,255,255,0.2);
2405
+ -webkit-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2406
+ -moz-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2407
+ -o-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2408
+ -ms-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2409
+ transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2410
+ -webkit-transition: all 0.8s ease-out;
2411
+ -moz-transition: all 0.8s ease-out;
2412
+ -o-transition: all 0.8s ease-out;
2413
+ -ms-transition: all 0.8s ease-out;
2414
+ transition: all 0.8s ease-out;
2415
+ }
2416
+ .premium-image-button-diagonal-effect-right:hover:before,
2417
+ .premium-image-button-diagonal-effect-left:before {
2418
+ -webkit-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
2419
+ -moz-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
2420
+ -o-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
2421
+ -ms-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
2422
+ transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
2423
+ }
2424
+ .premium-image-button-diagonal-effect-left:hover:before,
2425
+ .premium-image-button-diagonal-effect-right:before {
2426
+ -webkit-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
2427
+ -moz-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
2428
+ -o-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
2429
+ -ms-transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
2430
+ transform: scale3d(14,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
2431
+ }
2432
+
2433
+ .premium-image-button-diagonal-effect-top:hover:before,
2434
+ .premium-image-button-diagonal-effect-bottom:before {
2435
+ -webkit-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2436
+ -moz-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2437
+ -o-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2438
+ -ms-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2439
+ transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-150%,0);
2440
+ }
2441
+ .premium-image-button-diagonal-effect-bottom:hover:before,
2442
+ .premium-image-button-diagonal-effect-top:before {
2443
+ -webkit-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,150%,0);
2444
+ -moz-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,150%,0);
2445
+ -o-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,150%,0);
2446
+ -ms-transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,150%,0);
2447
+ transform: scale3d(14,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,150%,0);
2448
+ }
2449
+ .premium-image-button-style4-icon-wrapper {
2450
+ position: absolute;
2451
+ z-index: 2;
2452
+ width: 100%;
2453
+ text-align: center;
2454
+ display: flex;
2455
+ align-items: center;
2456
+ justify-content: center;
2457
+ height: 100%;
2458
+ opacity: 0;
2459
+ -webkit-transition: all 0.3s ease-in-out;
2460
+ -moz-transition: all 0.3s ease-in-out;
2461
+ -ms-transition: all 0.3s ease-in-out;
2462
+ -o-transition: all 0.3s ease-in-out;
2463
+ transition: all 0.3s ease-in-out;
2464
+ }
2465
+ .premium-image-button-style4-icon-wrapper.top {
2466
+ bottom: -100%;
2467
+ left: 0;
2468
+ }
2469
+ .premium-image-button-style4-icon-wrapper.bottom {
2470
+ top: -100%;
2471
+ left: 0;
2472
+ }
2473
+ .premium-image-button-style4-icon-wrapper.left {
2474
+ top: 0;
2475
+ left: -100%;
2476
+ }
2477
+ .premium-image-button-style4-icon-wrapper.right {
2478
+ top: 0;
2479
+ right: -100%;
2480
+ }
2481
+ .premium-image-button-style4-bottom:hover .premium-image-button-style4-icon-wrapper {
2482
+ top: 0;
2483
+ opacity: 1;
2484
+ }
2485
+ .premium-image-button-style4-top:hover .premium-image-button-style4-icon-wrapper {
2486
+ bottom: 0;
2487
+ opacity: 1;
2488
+ }
2489
+ .premium-image-button-style4-left:hover .premium-image-button-style4-icon-wrapper {
2490
+ left: 0;
2491
+ opacity: 1;
2492
+ }
2493
+ .premium-image-button-style4-right:hover .premium-image-button-style4-icon-wrapper {
2494
+ right: 0;
2495
+ opacity: 1;
2496
+ }
2497
+ .premium-image-button-style4-bottom:hover .premium-image-button-text-icon-wrapper{
2498
+ -webkit-transform: translateY(100%);
2499
+ transform: translateY(100%);
2500
+ opacity: 0;
2501
+ }
2502
+ .premium-image-button-style4-top:hover .premium-image-button-text-icon-wrapper{
2503
+ -webkit-transform: translateY(-100%);
2504
+ transform: translateY(-100%);
2505
+ opacity: 0;
2506
+ }
2507
+ .premium-image-button-style4-left:hover .premium-image-button-text-icon-wrapper{
2508
+ -webkit-transform: translateX(100%);
2509
+ transform: translateX(100%);
2510
+ opacity: 0;
2511
+ }
2512
+ .premium-image-button-style4-right:hover .premium-image-button-text-icon-wrapper{
2513
+ -webkit-transform: translateX(-100%);
2514
+ transform: translateX(-100%);
2515
+ opacity: 0;
2516
+ }
2517
+ .premium-image-button-overlap-effect-horizontal:before,
2518
+ .premium-image-button-overlap-effect-vertical:before {
2519
+ position: absolute;
2520
+ content: "";
2521
+ top: 0;
2522
+ left: 0;
2523
+ width: 100%;
2524
+ height: 100%;
2525
+ opacity: 0;
2526
+ -webkit-transition: all 1s ease-in-out;
2527
+ -moz-transition: all 1s ease-in-out;
2528
+ -ms-transition: all 1s ease-in-out;
2529
+ -o-transition: all 1s ease-in-out;
2530
+ transition: all 1s ease-in-out;
2531
+ background: rgba(255,255,255,0.2);
2532
+ animation-name: premium-overlap-effect-done;
2533
+ animation-duration: 1s;
2534
+ }
2535
+ .premium-image-button-overlap-effect-vertical:before {
2536
+ animation-name: premium-overlap-ver-effect-done;
2537
+ animation-duration: 1s;
2538
+ }
2539
+ .premium-image-button-overlap-effect-horizontal:hover:before {
2540
+ animation-name: premium-overlap-effect;
2541
+ animation-duration: 1s;
2542
+ }
2543
+ .premium-image-button-overlap-effect-vertical:hover:before {
2544
+ animation-name: premium-overlap-ver-effect;
2545
+ animation-duration: 1s;
2546
+ }
2547
+ @keyframes premium-overlap-effect{
2548
+ 0% {
2549
+ opacity: 0;
2550
+ -webkit-transform: rotateY(0deg);
2551
+ transform: rotateY(0deg);
2552
+ }
2553
+ 50% {
2554
+ opacity: 1;
2555
+ -webkit-transform: rotateY(180deg);
2556
+ transform: rotateY(180deg);
2557
+ }
2558
+ 100% {
2559
+ opacity: 0;
2560
+ -webkit-transform: rotateY(360deg);
2561
+ transform: rotateY(360deg);
2562
+ }
2563
+ }
2564
+ @keyframes premium-overlap-effect-done{
2565
+ 0% {
2566
+ opacity: 0;
2567
+ -webkit-transform: rotateY(0deg);
2568
+ transform: rotateY(0deg);
2569
+ }
2570
+ 50% {
2571
+ opacity: 1;
2572
+ -webkit-transform: rotateY(180deg);
2573
+ transform: rotateY(180deg);
2574
+ }
2575
+ 100% {
2576
+ opacity: 0;
2577
+ -webkit-transform: rotateY(360deg);
2578
+ transform: rotateY(360deg);
2579
+ }
2580
+ }
2581
+ @keyframes premium-overlap-ver-effect{
2582
+ 0% {
2583
+ opacity: 0;
2584
+ -webkit-transform: rotateX(0deg);
2585
+ transform: rotateX(0deg);
2586
+ }
2587
+ 50% {
2588
+ opacity: 1;
2589
+ -webkit-transform: rotateX(180deg);
2590
+ transform: rotateX(180deg);
2591
+ }
2592
+ 100% {
2593
+ opacity: 0;
2594
+ -webkit-transform: rotateX(360deg);
2595
+ transform: rotateX(360deg);
2596
+ }
2597
+ }
2598
+ @keyframes premium-overlap-ver-effect-done{
2599
+ 0% {
2600
+ opacity: 0;
2601
+ -webkit-transform: rotateX(0deg);
2602
+ transform: rotateX(0deg);
2603
+ }
2604
+ 50% {
2605
+ opacity: 1;
2606
+ -webkit-transform: rotateX(180deg);
2607
+ transform: rotateX(180deg);
2608
+ }
2609
+ 100% {
2610
+ opacity: 0;
2611
+ -webkit-transform: rotateX(360deg);
2612
+ transform: rotateX(360deg);
2613
+ }
2614
  }
assets/js/lib/jquerycountdown.js CHANGED
@@ -813,4 +813,4 @@
813
  return periods;
814
  }
815
  });
816
- })(jQuery);
813
  return periods;
814
  }
815
  });
816
+ })(jQuery);
premium-addons.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 2.0
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-leap13
@@ -97,8 +97,6 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
97
  add_action( 'elementor/init', array( $this, 'initiate_elementor_addons' ) );
98
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'premium_addons_widget_register') );
99
  add_action( 'wp_enqueue_scripts', array( $this, 'premium_addons_required_assets' ) );
100
- add_action( 'elementor/frontend/after_register_styles', array( $this, 'frontendafter_style') );
101
- add_action( 'elementor/preview/enqueue_styles', array( $this, 'elementor_preview_styles' ) );
102
  add_filter( 'plugin_row_meta', [ $this, 'plugin_row_meta' ], 10, 2 );
103
  }
104
 
@@ -114,11 +112,7 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
114
 
115
  wp_enqueue_script('google-maps-script','https://maps.googleapis.com/maps/api/js?key='.$premium_maps_api , array(), '1.0', false);
116
 
117
- wp_enqueue_style( 'fontAwesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', array(), '4.7.0', 'all' );
118
-
119
  wp_enqueue_style( 'premium-addons-css', PREMIUM_ADDONS_URL . 'assets/css/premium-addons.css', array(), '1.0', 'all' );
120
-
121
- wp_enqueue_style( 'animate-css', PREMIUM_ADDONS_URL . 'assets/css/animate.css', array(), '1.6.0', 'all' );
122
 
123
  wp_enqueue_script('premium-addons-js', PREMIUM_ADDONS_URL .'assets/js/premium-addons.js', array( 'jquery' ), '2.1.0', true );
124
 
@@ -137,28 +131,14 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
137
  }
138
  }
139
 
140
- /**
141
- * Deregister for the default animations.min.css file
142
- * @since 1.0
143
- */
144
- public function frontendafter_style() {
145
- wp_deregister_style( 'elementor-animations' );
146
- }
147
-
148
-
149
-
150
- // CSS THAT DISPLAYS ONLY WHEN EDITOR IS OPEN ON IFRAME
151
- public function elementor_preview_styles() {
152
- wp_enqueue_style( 'elementor-edit-preview', PREMIUM_ADDONS_URL .'assets/css/elementor-preview-style.css' );
153
- }
154
-
155
  public function premium_addons_widget_register() {
156
  $this->initiate_elementor_addons();
157
  $this->premium_addons_widgets_area();
158
  }
159
 
160
  private function premium_addons_widgets_area() {
161
- $pa_elements_keys = ['premium-banner', 'premium-blog','premium-carousel', 'premium-countdown','premium-counter','premium-dual-header','premium-fancytext','premium-image-separator','premium-maps','premium-modalbox','premium-person','premium-progressbar','premium-testimonials','premium-title','premium-videobox', 'premium-pricing-table', 'premium-contactform', 'premium-button'];
162
 
163
  $pa_default_settings = array_fill_keys( $pa_elements_keys, true );
164
 
@@ -231,6 +211,9 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
231
  }
232
  if( function_exists('wpcf7') && $check_component_active['premium-contactform'] ) {
233
  require_once( PREMIUM_ADDONS_PATH. 'widgets/premium-contactform.php' );
 
 
 
234
  }
235
  }
236
 
3
  Plugin Name: Premium Addons for Elementor
4
  Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 2.0.1
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-leap13
97
  add_action( 'elementor/init', array( $this, 'initiate_elementor_addons' ) );
98
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'premium_addons_widget_register') );
99
  add_action( 'wp_enqueue_scripts', array( $this, 'premium_addons_required_assets' ) );
 
 
100
  add_filter( 'plugin_row_meta', [ $this, 'plugin_row_meta' ], 10, 2 );
101
  }
102
 
112
 
113
  wp_enqueue_script('google-maps-script','https://maps.googleapis.com/maps/api/js?key='.$premium_maps_api , array(), '1.0', false);
114
 
 
 
115
  wp_enqueue_style( 'premium-addons-css', PREMIUM_ADDONS_URL . 'assets/css/premium-addons.css', array(), '1.0', 'all' );
 
 
116
 
117
  wp_enqueue_script('premium-addons-js', PREMIUM_ADDONS_URL .'assets/js/premium-addons.js', array( 'jquery' ), '2.1.0', true );
118
 
131
  }
132
  }
133
 
134
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  public function premium_addons_widget_register() {
136
  $this->initiate_elementor_addons();
137
  $this->premium_addons_widgets_area();
138
  }
139
 
140
  private function premium_addons_widgets_area() {
141
+ $pa_elements_keys = ['premium-banner', 'premium-blog','premium-carousel', 'premium-countdown','premium-counter','premium-dual-header','premium-fancytext','premium-image-separator','premium-maps','premium-modalbox','premium-person','premium-progressbar','premium-testimonials','premium-title','premium-videobox', 'premium-pricing-table', 'premium-contactform', 'premium-button', 'premium-image-button'];
142
 
143
  $pa_default_settings = array_fill_keys( $pa_elements_keys, true );
144
 
211
  }
212
  if( function_exists('wpcf7') && $check_component_active['premium-contactform'] ) {
213
  require_once( PREMIUM_ADDONS_PATH. 'widgets/premium-contactform.php' );
214
+ }
215
+ if( $check_component_active['premium-image-button'] ) {
216
+ require_once( PREMIUM_ADDONS_PATH. 'widgets/premium-image-button.php' );
217
  }
218
  }
219
 
readme.txt CHANGED
@@ -8,15 +8,15 @@ Requires PHP: 5.4
8
  License: GPL v3.0
9
  License URI: https://opensource.org/licenses/GPL-3.0
10
 
11
- 18 Premium Addons for Elementor Page Builder.
12
 
13
  == Description ==
14
- Premium Addons Plugin extends Elementor Page Builder capabilities with 18 fully customizable premium elements that helps you build impressive websites with no coding required.
15
 
16
 
17
  ### Features
18
 
19
- * 18+ Fully Customizable Elements.
20
  * Options panel for enabling desired elements only for faster performance.
21
  * Free Support through online forums.
22
 
@@ -41,6 +41,7 @@ Premium Addons Plugin extends Elementor Page Builder capabilities with 18 fully
41
  16. [Premium Button](https://premiumaddons.com/premium-button-element-elementor-page-builder/)
42
  17. [Premium Contact Form 7](https://premiumaddons.com/premium-contact-form-7-element-elementor-page-builder/)
43
  18. [Premium Pricing Table](https://premiumaddons.com/premium-pricing-table-element-elementor-page-builder/)
 
44
 
45
  == Installation ==
46
 
@@ -72,6 +73,25 @@ Premium Addons for Elementor is light weight and we also gave you the control to
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  = 2.0 =
76
 
77
  - Added: Premium Pricing Table widget.
8
  License: GPL v3.0
9
  License URI: https://opensource.org/licenses/GPL-3.0
10
 
11
+ 19 Premium Addons for Elementor Page Builder.
12
 
13
  == Description ==
14
+ Premium Addons Plugin extends Elementor Page Builder capabilities with 19 fully customizable premium elements that helps you build impressive websites with no coding required.
15
 
16
 
17
  ### Features
18
 
19
+ * 19+ Fully Customizable Elements.
20
  * Options panel for enabling desired elements only for faster performance.
21
  * Free Support through online forums.
22
 
41
  16. [Premium Button](https://premiumaddons.com/premium-button-element-elementor-page-builder/)
42
  17. [Premium Contact Form 7](https://premiumaddons.com/premium-contact-form-7-element-elementor-page-builder/)
43
  18. [Premium Pricing Table](https://premiumaddons.com/premium-pricing-table-element-elementor-page-builder/)
44
+ 19. [Premium Image Button](https://premiumaddons.com/premium-image-button-element-for-elementor-page-builder/)
45
 
46
  == Installation ==
47
 
73
 
74
  == Changelog ==
75
 
76
+ = 2.0.1 =
77
+
78
+ - New: Premium Image Button widget.
79
+ - Tweak: Added badge option for Pricing Table widget.
80
+ - Tweak: Added icon List option for Pricing Table widget.
81
+ - Tweak: Added currency vertical align option for Pricing Table widget.
82
+ - Tweak: Added button size option for Button widget.
83
+ - Tweak: Added display inline or block option for Dual Header widget.
84
+ - Tweak: Added Maps open marker automatically option for Google Maps.
85
+ - Tweak: Added vertical and horizontal position option to icon and text for Video Box widget.
86
+ - Tweak: Added text shadow option to video description for Video Box widget.
87
+ - Tweak: Inline Documentations and options usability.
88
+ - Fix: Counter animations with icon position right.
89
+ - Fix: Counter border color when icon color is set.
90
+ - Fix: Countdown background size scale bug.
91
+ - Fix: Countdown digits horizontal and vertical align.
92
+ - Fix: Dual header fixed clipped background bug.
93
+ - Fix: Maps Multiple maps in one page bug.
94
+
95
  = 2.0 =
96
 
97
  - Added: Premium Pricing Table widget.
widgets/premium-banner.php CHANGED
@@ -325,7 +325,7 @@ class Premium_Banner_Widget extends Widget_Base {
325
  $this->start_controls_section(
326
  'premium_banner_opacity_style',
327
  [
328
- 'label' => esc_html__( 'Image Style', 'premium_elementor' ),
329
  'tab' => Controls_Manager::TAB_STYLE
330
  ]
331
  );
@@ -378,7 +378,7 @@ class Premium_Banner_Widget extends Widget_Base {
378
  $this->start_controls_section(
379
  'premium_banner_title_style',
380
  [
381
- 'label' => esc_html__( 'Title Style', 'premium_elementor' ),
382
  'tab' => Controls_Manager::TAB_STYLE
383
  ]
384
  );
@@ -412,7 +412,7 @@ class Premium_Banner_Widget extends Widget_Base {
412
  $this->start_controls_section(
413
  'premium_banner_styles_of_content',
414
  [
415
- 'label' => esc_html__( 'Description Style', 'premium_elementor' ),
416
  'tab' => Controls_Manager::TAB_STYLE
417
  ]
418
  );
325
  $this->start_controls_section(
326
  'premium_banner_opacity_style',
327
  [
328
+ 'label' => esc_html__( 'Image', 'premium_elementor' ),
329
  'tab' => Controls_Manager::TAB_STYLE
330
  ]
331
  );
378
  $this->start_controls_section(
379
  'premium_banner_title_style',
380
  [
381
+ 'label' => esc_html__( 'Title', 'premium_elementor' ),
382
  'tab' => Controls_Manager::TAB_STYLE
383
  ]
384
  );
412
  $this->start_controls_section(
413
  'premium_banner_styles_of_content',
414
  [
415
+ 'label' => esc_html__( 'Description', 'premium_elementor' ),
416
  'tab' => Controls_Manager::TAB_STYLE
417
  ]
418
  );
widgets/premium-blog.php CHANGED
@@ -38,7 +38,7 @@ class Premium_Blog_Widget extends Widget_Base
38
  /* Start Content Section */
39
  $this->start_controls_section('premium_blog_general_settings',
40
  [
41
- 'label' => esc_html__('Premium Blog', 'premium_elementor'),
42
  ]
43
  );
44
 
@@ -258,7 +258,7 @@ class Premium_Blog_Widget extends Widget_Base
258
  /*Start Color Style Section*/
259
  $this->start_controls_section('premium_blog_image_style_section',
260
  [
261
- 'label' => esc_html__('Image Style', 'premium_elementor'),
262
  'tab' => Controls_Manager::TAB_STYLE,
263
  ]
264
  );
@@ -316,7 +316,7 @@ class Premium_Blog_Widget extends Widget_Base
316
 
317
  $this->start_controls_section('premium_blog_title_style_section',
318
  [
319
- 'label' => esc_html__('Title Style', 'premium_elementor'),
320
  'tab' => Controls_Manager::TAB_STYLE,
321
  ]
322
  );
@@ -364,7 +364,7 @@ class Premium_Blog_Widget extends Widget_Base
364
 
365
  $this->start_controls_section('premium_blog_meta_style_section',
366
  [
367
- 'label' => esc_html__('Meta Style', 'premium_elementor'),
368
  'tab' => Controls_Manager::TAB_STYLE,
369
  ]
370
  );
@@ -412,7 +412,7 @@ class Premium_Blog_Widget extends Widget_Base
412
 
413
  $this->start_controls_section('premium_blog_content_style_section',
414
  [
415
- 'label' => esc_html__('Content Style', 'premium_elementor'),
416
  'tab' => Controls_Manager::TAB_STYLE,
417
  ]
418
  );
@@ -459,7 +459,7 @@ class Premium_Blog_Widget extends Widget_Base
459
 
460
  $this->start_controls_section('premium_blog_tags_style_section',
461
  [
462
- 'label' => esc_html__('Tags Style', 'premium_elementor'),
463
  'tab' => Controls_Manager::TAB_STYLE,
464
  ]
465
  );
@@ -509,7 +509,7 @@ class Premium_Blog_Widget extends Widget_Base
509
  /*Post Format Icon*/
510
  $this->start_controls_section('premium_blog_format_style_section',
511
  [
512
- 'label' => esc_html__('Post Format Icon Style', 'premium_elementor'),
513
  'tab' => Controls_Manager::TAB_STYLE,
514
  ]
515
  );
38
  /* Start Content Section */
39
  $this->start_controls_section('premium_blog_general_settings',
40
  [
41
+ 'label' => esc_html__('Thumbnail Settings', 'premium_elementor'),
42
  ]
43
  );
44
 
258
  /*Start Color Style Section*/
259
  $this->start_controls_section('premium_blog_image_style_section',
260
  [
261
+ 'label' => esc_html__('Image', 'premium_elementor'),
262
  'tab' => Controls_Manager::TAB_STYLE,
263
  ]
264
  );
316
 
317
  $this->start_controls_section('premium_blog_title_style_section',
318
  [
319
+ 'label' => esc_html__('Title', 'premium_elementor'),
320
  'tab' => Controls_Manager::TAB_STYLE,
321
  ]
322
  );
364
 
365
  $this->start_controls_section('premium_blog_meta_style_section',
366
  [
367
+ 'label' => esc_html__('Meta', 'premium_elementor'),
368
  'tab' => Controls_Manager::TAB_STYLE,
369
  ]
370
  );
412
 
413
  $this->start_controls_section('premium_blog_content_style_section',
414
  [
415
+ 'label' => esc_html__('Content', 'premium_elementor'),
416
  'tab' => Controls_Manager::TAB_STYLE,
417
  ]
418
  );
459
 
460
  $this->start_controls_section('premium_blog_tags_style_section',
461
  [
462
+ 'label' => esc_html__('Tags', 'premium_elementor'),
463
  'tab' => Controls_Manager::TAB_STYLE,
464
  ]
465
  );
509
  /*Post Format Icon*/
510
  $this->start_controls_section('premium_blog_format_style_section',
511
  [
512
+ 'label' => esc_html__('Post Format Icon', 'premium_elementor'),
513
  'tab' => Controls_Manager::TAB_STYLE,
514
  ]
515
  );
widgets/premium-button.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Button_Widget extends Widget_Base
34
  /*Start Button Content Section */
35
  $this->start_controls_section('premium_button_general_section',
36
  [
37
- 'label' => esc_html__('Premium Button', 'premium_elementor'),
38
  ]
39
  );
40
 
@@ -63,106 +63,6 @@ class Premium_Button_Widget extends Widget_Base
63
 
64
  $this->add_inline_editing_attributes( 'premium_button_text', 'none' );
65
 
66
- /*Button Icon Switcher*/
67
- $this->add_control('premium_button_icon_switcher',
68
- [
69
- 'label' => esc_html__('Button Icon', 'premium_elementor'),
70
- 'type' => Controls_Manager::SWITCHER,
71
- 'description' => esc_html__('Enable or disable button icon','premium_elementor'),
72
- ]
73
- );
74
-
75
- /*Button Icon Selection*/
76
- $this->add_control('premium_button_icon_selection',
77
- [
78
- 'label' => esc_html__('Icon', 'premium_elementor'),
79
- 'type' => Controls_Manager::ICON,
80
- 'condition' => [
81
- 'premium_button_icon_switcher' => 'yes'
82
- ],
83
- 'label_block' => true,
84
- ]
85
- );
86
-
87
- $this->add_control('premium_button_icon_position',
88
- [
89
- 'label' => esc_html__('Icon Position', 'premium_elementor'),
90
- 'type' => Controls_Manager::SELECT,
91
- 'default' => 'before',
92
- 'options' => [
93
- 'before' => esc_html__('Before'),
94
- 'after' => esc_html__('After'),
95
- ],
96
- 'condition' => [
97
- 'premium_button_icon_switcher' => 'yes'
98
- ],
99
- 'label_block' => true,
100
- ]
101
- );
102
-
103
- $this->add_control('premium_button_icon_before_size',
104
- [
105
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
106
- 'type' => Controls_Manager::SLIDER,
107
- 'condition' => [
108
- 'premium_button_icon_switcher' => 'yes',
109
- ],
110
- 'selectors' => [
111
- '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
112
- ]
113
- ]
114
- );
115
-
116
- $this->add_control('premium_button_icon_before_spacing',
117
- [
118
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
119
- 'type' => Controls_Manager::SLIDER,
120
- 'condition' => [
121
- 'premium_button_icon_switcher' => 'yes',
122
- 'premium_button_icon_position' => 'before',
123
- ],
124
- 'selectors' => [
125
- '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'margin-right: {{SIZE}}px',
126
- ],
127
- 'separator' => 'after',
128
- ]
129
- );
130
-
131
- $this->add_control('premium_button_icon_after_spacing',
132
- [
133
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
134
- 'type' => Controls_Manager::SLIDER,
135
- 'condition' => [
136
- 'premium_button_icon_switcher' => 'yes',
137
- 'premium_button_icon_position' => 'after',
138
- ],
139
- 'selectors' => [
140
- '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'margin-left: {{SIZE}}px',
141
- ],
142
- 'separator' => 'after',
143
- ]
144
- );
145
-
146
- $this->add_control('premium_button_event_switcher',
147
- [
148
- 'label' => esc_html__('Button onclick Event', 'premium_elementor'),
149
- 'type' => Controls_Manager::SWITCHER,
150
- 'separator' => 'before',
151
- ]
152
- );
153
-
154
-
155
- $this->add_control('premium_button_event_function',
156
- [
157
- 'label' => esc_html__('Example: myFunction();', 'premium_elementor'),
158
- 'type' => Controls_Manager::TEXTAREA,
159
- 'condition' => [
160
- 'premium_button_event_switcher' => 'yes',
161
- ],
162
- ]
163
- );
164
-
165
-
166
  /*Button Hover Effect*/
167
  $this->add_control('premium_button_hover_effect',
168
  [
@@ -178,7 +78,6 @@ class Premium_Button_Widget extends Widget_Base
178
  'style5' => esc_html__('In & Out'),
179
  ],
180
  'label_block' => true,
181
- 'separator' => 'before',
182
  ]
183
  );
184
 
@@ -188,8 +87,8 @@ class Premium_Button_Widget extends Widget_Base
188
  'type' => Controls_Manager::SELECT,
189
  'default' => 'bottom',
190
  'options' => [
191
- 'top' => esc_html__('Bottom to Top'),
192
  'bottom' => esc_html__('Top to Bottom'),
 
193
  'left' => esc_html__('Right to Left'),
194
  'right' => esc_html__('Left to Right'),
195
  ],
@@ -210,10 +109,12 @@ class Premium_Button_Widget extends Widget_Base
210
  'shutinver' => esc_html__('Shutter in Vertical'),
211
  'shutoutver' => esc_html__('Shutter out Horizontal'),
212
  'shutouthor' => esc_html__('Shutter out Vertical'),
213
- 'scshutinver' => esc_html__('Scaled Shutter in Vertical'),
214
- 'scshutinhor' => esc_html__('Scaled Shutter in Horizontal'),
215
- 'scshutoutver' => esc_html__('Scaled Shutter out Vertical'),
216
- 'scshutouthor' => esc_html__('Scaled Shutter out Horizontal'),
 
 
217
  ],
218
  'condition' => [
219
  'premium_button_hover_effect' => 'style2',
@@ -222,117 +123,273 @@ class Premium_Button_Widget extends Widget_Base
222
  ]
223
  );
224
 
225
- $this->add_control('premium_button_style3_dir',
226
  [
227
- 'label' => esc_html__('Icon Transation Direction', 'premium_elementor'),
228
  'type' => Controls_Manager::SELECT,
229
- 'default' => 'left',
230
  'options' => [
231
- 'left' => esc_html__('Left to Right'),
232
- 'right' => esc_html__('Right to Left'),
 
 
233
  ],
234
  'condition' => [
235
- 'premium_button_hover_effect' => 'style3',
236
  ],
237
  'label_block' => true,
238
  ]
239
  );
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  $this->add_control('premium_button_style4_icon_selection',
242
  [
243
  'label' => esc_html__('Icon', 'premium_elementor'),
244
  'type' => Controls_Manager::ICON,
 
245
  'condition' => [
246
- 'premium_button_hover_effect' => 'style4',
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  ],
248
- 'default' => 'fa fa-bars',
 
 
 
249
  'label_block' => true,
250
  ]
251
  );
252
 
253
- $this->add_control('premium_button_style4_icon_size',
254
  [
255
  'label' => esc_html__('Icon Size', 'premium_elementor'),
256
  'type' => Controls_Manager::SLIDER,
257
  'condition' => [
258
- 'premium_button_hover_effect' => 'style4',
259
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  'selectors' => [
261
  '{{WRAPPER}} .premium-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
262
  ]
263
  ]
264
  );
265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
 
267
- $this->add_control('premium_button_style4_dir',
268
  [
269
- 'label' => esc_html__('Slide Direction', 'premium_elementor'),
270
- 'type' => Controls_Manager::SELECT,
271
- 'default' => 'bottom',
272
- 'options' => [
273
- 'top' => esc_html__('Top'),
274
- 'bottom' => esc_html__('Bottom'),
275
- 'left' => esc_html__('Left'),
276
- 'right' => esc_html__('Right'),
277
- ],
278
  'condition' => [
279
- 'premium_button_hover_effect' => 'style4',
280
- ],
281
- 'label_block' => true,
282
- ]
 
 
 
 
 
 
 
 
283
  );
284
 
285
- $this->add_control('premium_button_style5_dir',
286
  [
287
- 'label' => esc_html__('Style', 'premium_elementor'),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
288
  'type' => Controls_Manager::SELECT,
289
- 'default' => 'radialin',
290
  'options' => [
291
- 'radialin' => esc_html__('Radial In'),
292
- 'radialout' => esc_html__('Radial Out'),
293
- 'rectin' => esc_html__('Rectangle In'),
294
- 'rectout' => esc_html__('Rectangle Out'),
295
- ],
296
- 'condition' => [
297
- 'premium_button_hover_effect' => 'style5',
298
  ],
299
  'label_block' => true,
 
300
  ]
301
  );
302
 
 
303
  $this->add_responsive_control('premium_button_align',
304
  [
305
- 'label' => __( 'Button Alignment', 'elementor' ),
306
- 'type' => Controls_Manager::CHOOSE,
307
- 'options' => [
308
  'left' => [
309
  'title' => __( 'Left', 'elementor' ),
310
- 'icon' => 'fa fa-align-left',
311
  ],
312
  'center' => [
313
  'title' => __( 'Center', 'elementor' ),
314
- 'icon' => 'fa fa-align-center',
315
  ],
316
  'right' => [
317
  'title' => __( 'Right', 'elementor' ),
318
- 'icon' => 'fa fa-align-right',
319
- ],
320
- 'justify' => [
321
- 'title' => __( 'Justified', 'elementor' ),
322
- 'icon' => 'fa fa-align-justify',
323
  ],
324
  ],
 
 
 
325
  'default' => 'left',
326
  ]
327
  );
328
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  /*End Button General Section*/
330
  $this->end_controls_section();
331
 
332
  /*Start Styling Section*/
333
  $this->start_controls_section('premium_button_style_section',
334
  [
335
- 'label' => esc_html__('Button Style', 'premium_elementor'),
336
  'tab' => Controls_Manager::TAB_STYLE,
337
  ]
338
  );
@@ -379,16 +436,22 @@ class Premium_Button_Widget extends Widget_Base
379
  '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'color: {{VALUE}};',
380
  ],
381
  'condition' => [
382
- 'premium_button_icon_switcher' => 'yes'
 
383
  ]
384
  ]);
385
 
386
- $this->add_group_control(
387
- Group_Control_Background::get_type(),
388
  [
389
- 'name' => 'premium_button_background',
390
- 'types' => [ 'classic' , 'gradient' ],
391
- 'selector' => '{{WRAPPER}} .premium-button, {{WRAPPER}} .premium-button.premium-button-style2-shutinhor:before , {{WRAPPER}} .premium-button.premium-button-style2-shutinver:before , {{WRAPPER}} .premium-button.premium-button-style2-scshutinhor:before , {{WRAPPER}} .premium-button.premium-button-style2-scshutinver:before, {{WRAPPER}} .premium-button-style5-radialin:before , {{WRAPPER}} .premium-button-style5-rectin:before',
 
 
 
 
 
 
392
  ]
393
  );
394
 
@@ -407,10 +470,6 @@ class Premium_Button_Widget extends Widget_Base
407
  'label' => esc_html__('Border Radius', 'premium_elementor'),
408
  'type' => Controls_Manager::SLIDER,
409
  'size_units' => ['px', '%' ,'em'],
410
- 'default' => [
411
- 'unit' => 'px',
412
- 'size' => 3,
413
- ],
414
  'selectors' => [
415
  '{{WRAPPER}} .premium-button' => 'border-radius: {{SIZE}}{{UNIT}};'
416
  ]
@@ -447,7 +506,8 @@ class Premium_Button_Widget extends Widget_Base
447
  'name' => 'premium_button_icon_shadow_normal',
448
  'selector' => '{{WRAPPER}} .premium-button-text-icon-wrapper i',
449
  'condition' => [
450
- 'premium_button_icon_switcher' => 'yes'
 
451
  ]
452
  ]
453
  );
@@ -486,7 +546,7 @@ class Premium_Button_Widget extends Widget_Base
486
  'type' => Controls_Manager::COLOR,
487
  'scheme' => [
488
  'type' => Scheme_Color::get_type(),
489
- 'value' => Scheme_Color::COLOR_2,
490
  ],
491
  'selectors' => [
492
  '{{WRAPPER}} .premium-button:hover' => 'color: {{VALUE}};',
@@ -515,7 +575,7 @@ class Premium_Button_Widget extends Widget_Base
515
 
516
  $this->add_control('premium_button_style4_icon_color',
517
  [
518
- 'label' => esc_html__('Slide Icon Color', 'premium_elementor'),
519
  'type' => Controls_Manager::COLOR,
520
  'scheme' => [
521
  'type' => Scheme_Color::get_type(),
@@ -528,31 +588,42 @@ class Premium_Button_Widget extends Widget_Base
528
  'premium_button_hover_effect' => 'style4'
529
  ]
530
  ]);
531
-
532
- $this->add_group_control(
533
- Group_Control_Background::get_type(),
534
- [
535
- 'name' => 'premium_button_background_none_hover',
536
- 'types' => [ 'classic' , 'gradient' ],
537
- 'selector' => '{{WRAPPER}} .premium-button-none:hover',
538
- 'condition' => [
 
 
 
 
 
539
  'premium_button_hover_effect' => 'none'
540
- ]
541
  ]
542
- );
 
543
 
544
- $this->add_group_control(
545
- Group_Control_Background::get_type(),
546
  [
547
- 'name' => 'premium_button_background_style1_hover',
548
- 'types' => [ 'classic' , 'gradient' ],
549
- 'selector' => ''
550
- . '{{WRAPPER}} .premium-button-style1-bottom:before, {{WRAPPER}} .premium-button-style1-top:before, {{WRAPPER}} .premium-button-style1-right:before, {{WRAPPER}} .premium-button-style1-left:before, {{WRAPPER}} .premium-button-style2-shutouthor:before, {{WRAPPER}} .premium-button-style2-shutoutver:before, {{WRAPPER}} .premium-button-style2-shutinhor, {{WRAPPER}} .premium-button-style2-shutinver , {{WRAPPER}} .premium-button-style2-scshutinhor , {{WRAPPER}} .premium-button-style2-scshutinver , {{WRAPPER}} .premium-button-style2-scshutouthor:before , {{WRAPPER}} .premium-button-style2-scshutoutver:before, {{WRAPPER}} .premium-button-style3-left:hover , {{WRAPPER}} .premium-button-style3-right:hover,{{WRAPPER}} .premium-button-style4-icon-wrapper , {{WRAPPER}} .premium-button-style5-radialin , {{WRAPPER}} .premium-button-style5-radialout:before, {{WRAPPER}} .premium-button-style5-rectin , {{WRAPPER}} .premium-button-style5-rectout:before',
 
 
 
 
 
 
551
  'condition' => [
552
  'premium_button_hover_effect' => ['style1', 'style2', 'style3', 'style4', 'style5']
553
- ]
554
  ]
555
  );
 
556
  /*Button Border*/
557
  $this->add_group_control(
558
  Group_Control_Border::get_type(),
@@ -568,10 +639,6 @@ class Premium_Button_Widget extends Widget_Base
568
  'label' => esc_html__('Border Radius', 'premium_elementor'),
569
  'type' => Controls_Manager::SLIDER,
570
  'size_units' => ['px', '%' ,'em'],
571
- 'default' => [
572
- 'unit' => 'px',
573
- 'size' => 3,
574
- ],
575
  'selectors' => [
576
  '{{WRAPPER}} .premium-button:hover' => 'border-radius: {{SIZE}}{{UNIT}};'
577
  ]
@@ -606,9 +673,22 @@ class Premium_Button_Widget extends Widget_Base
606
  [
607
  'label' => esc_html__('Icon Shadow','premium_elementor'),
608
  'name' => 'premium_button_icon_shadow_hover',
609
- 'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper i, {{WRAPPER}} .premium-button:hover .premium-button-style4-icon-wrapper',
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  'condition' => [
611
- 'premium_button_icon_switcher' => 'yes'
612
  ]
613
  ]
614
  );
@@ -654,7 +734,7 @@ class Premium_Button_Widget extends Widget_Base
654
 
655
  $button_url = $settings['premium_button_link']['url'];
656
 
657
- $button_align = 'premium-button-' . $settings['premium_button_align'];
658
 
659
  $button_event = $settings['premium_button_event_function'];
660
 
@@ -667,20 +747,18 @@ class Premium_Button_Widget extends Widget_Base
667
  } elseif ($settings['premium_button_hover_effect'] == 'style2'){
668
  $style_dir = 'premium-button-style2-' . $settings['premium_button_style2_dir'];
669
  } elseif ($settings['premium_button_hover_effect'] == 'style3') {
670
- $style_dir = 'premium-button-style3-' . $settings['premium_button_style3_dir'];
671
  } elseif ($settings['premium_button_hover_effect'] == 'style4') {
672
  $style_dir = 'premium-button-style4-' . $settings['premium_button_style4_dir'];
 
673
  } elseif ($settings['premium_button_hover_effect'] == 'style5'){
674
  $style_dir = 'premium-button-style5-' . $settings['premium_button_style5_dir'];
675
- }
676
-
677
-
678
-
679
  ?>
680
 
681
- <div class="premium-button-container <?php echo esc_attr($button_align); ?>">
682
- <a class="premium-button <?php echo esc_attr($style_dir);?>" href="<?php echo esc_url($button_url); ?>"<?php if(!empty($settings['premium_button_link']['is_external'])) : ?>target="_blank"<?php endif; ?><?php if(!empty($settings['premium_button_link']['nofollow'])) : ?>rel="nofollow"<?php endif; ?><?php if(!empty($settings['premium_button_event_function']) && $settings['premium_button_event_switcher']) : ?> onclick="<?php echo esc_js($button_event); ?>"<?php endif ?>><div class="premium-button-text-icon-wrapper"><?php if($settings['premium_button_icon_switcher'] && $settings['premium_button_icon_position'] == 'before' &&!empty($settings['premium_button_icon_selection'])) : ?><i class="fa <?php echo esc_attr($button_icon); ?>"></i><?php endif; ?><span <?php echo $this->get_render_attribute_string( 'premium_button_text' ); ?>><?php echo $button_text; ?></span><?php if($settings['premium_button_icon_switcher'] && $settings['premium_button_icon_position'] == 'after' && !empty($settings['premium_button_icon_selection'])) : ?><i class="fa <?php echo esc_attr($button_icon); ?>"></i><?php endif; ?></div>
683
- <?php if($settings['premium_button_hover_effect'] == 'style4') : ?><div class="premium-button-style4-icon-wrapper <?php echo esc_attr($settings['premium_button_style4_dir']); ?>"><i class="fa <?php echo esc_attr($settings['premium_button_style4_icon_selection'])?>"></i></div><?php endif; ?></a>
684
  </div>
685
 
686
  <?php
34
  /*Start Button Content Section */
35
  $this->start_controls_section('premium_button_general_section',
36
  [
37
+ 'label' => esc_html__('Button Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
63
 
64
  $this->add_inline_editing_attributes( 'premium_button_text', 'none' );
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  /*Button Hover Effect*/
67
  $this->add_control('premium_button_hover_effect',
68
  [
78
  'style5' => esc_html__('In & Out'),
79
  ],
80
  'label_block' => true,
 
81
  ]
82
  );
83
 
87
  'type' => Controls_Manager::SELECT,
88
  'default' => 'bottom',
89
  'options' => [
 
90
  'bottom' => esc_html__('Top to Bottom'),
91
+ 'top' => esc_html__('Bottom to Top'),
92
  'left' => esc_html__('Right to Left'),
93
  'right' => esc_html__('Left to Right'),
94
  ],
109
  'shutinver' => esc_html__('Shutter in Vertical'),
110
  'shutoutver' => esc_html__('Shutter out Horizontal'),
111
  'shutouthor' => esc_html__('Shutter out Vertical'),
112
+ 'scshutoutver' => esc_html__('Scaled Shutter Vertical'),
113
+ 'scshutouthor' => esc_html__('Scaled Shutter Horizontal'),
114
+ 'dshutinver' => esc_html__('Tilted Left'),
115
+ 'dshutinhor' => esc_html__('Tilted Right'),
116
+
117
+
118
  ],
119
  'condition' => [
120
  'premium_button_hover_effect' => 'style2',
123
  ]
124
  );
125
 
126
+ $this->add_control('premium_button_style4_dir',
127
  [
128
+ 'label' => esc_html__('Slide Direction', 'premium_elementor'),
129
  'type' => Controls_Manager::SELECT,
130
+ 'default' => 'bottom',
131
  'options' => [
132
+ 'top' => esc_html__('Top'),
133
+ 'bottom' => esc_html__('Bottom'),
134
+ 'left' => esc_html__('Left'),
135
+ 'right' => esc_html__('Right'),
136
  ],
137
  'condition' => [
138
+ 'premium_button_hover_effect' => 'style4',
139
  ],
140
  'label_block' => true,
141
  ]
142
  );
143
 
144
+ $this->add_control('premium_button_style5_dir',
145
+ [
146
+ 'label' => esc_html__('Style', 'premium_elementor'),
147
+ 'type' => Controls_Manager::SELECT,
148
+ 'default' => 'radialin',
149
+ 'options' => [
150
+ 'radialin' => esc_html__('Radial In'),
151
+ 'radialout' => esc_html__('Radial Out'),
152
+ 'rectin' => esc_html__('Rectangle In'),
153
+ 'rectout' => esc_html__('Rectangle Out'),
154
+ ],
155
+ 'condition' => [
156
+ 'premium_button_hover_effect' => 'style5',
157
+ ],
158
+ 'label_block' => true,
159
+ ]
160
+ );
161
+
162
+ /*Button Icon Switcher*/
163
+ $this->add_control('premium_button_icon_switcher',
164
+ [
165
+ 'label' => esc_html__('Button Icon', 'premium_elementor'),
166
+ 'type' => Controls_Manager::SWITCHER,
167
+ 'condition' => [
168
+ 'premium_button_hover_effect!' => 'style4'
169
+ ],
170
+ 'description' => esc_html__('Enable or disable button icon','premium_elementor'),
171
+ ]
172
+ );
173
+
174
+ /*Button Icon Selection*/
175
+ $this->add_control('premium_button_icon_selection',
176
+ [
177
+ 'label' => esc_html__('Icon', 'premium_elementor'),
178
+ 'type' => Controls_Manager::ICON,
179
+ 'default' => 'fa fa-bars',
180
+ 'condition' => [
181
+ 'premium_button_icon_switcher' => 'yes',
182
+ 'premium_button_hover_effect!' => 'style4'
183
+ ],
184
+ 'label_block' => true,
185
+ ]
186
+ );
187
+
188
+ /*Style 4 Icon Selection*/
189
  $this->add_control('premium_button_style4_icon_selection',
190
  [
191
  'label' => esc_html__('Icon', 'premium_elementor'),
192
  'type' => Controls_Manager::ICON,
193
+ 'default' => 'fa fa-bars',
194
  'condition' => [
195
+ 'premium_button_hover_effect' => 'style4'
196
+ ],
197
+ 'label_block' => true,
198
+ ]
199
+ );
200
+
201
+ $this->add_control('premium_button_icon_position',
202
+ [
203
+ 'label' => esc_html__('Icon Position', 'premium_elementor'),
204
+ 'type' => Controls_Manager::SELECT,
205
+ 'default' => 'before',
206
+ 'options' => [
207
+ 'before' => esc_html__('Before'),
208
+ 'after' => esc_html__('After'),
209
  ],
210
+ 'condition' => [
211
+ 'premium_button_icon_switcher' => 'yes',
212
+ 'premium_button_hover_effect!' => 'style4',
213
+ ],
214
  'label_block' => true,
215
  ]
216
  );
217
 
218
+ $this->add_control('premium_button_icon_before_size',
219
  [
220
  'label' => esc_html__('Icon Size', 'premium_elementor'),
221
  'type' => Controls_Manager::SLIDER,
222
  'condition' => [
223
+ 'premium_button_icon_switcher' => 'yes',
224
+ 'premium_button_hover_effect!' => 'style4'
225
+ ],
226
+ 'selectors' => [
227
+ '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
228
+ ]
229
+ ]
230
+ );
231
+
232
+ $this->add_control('premium_button_icon_style4_size',
233
+ [
234
+ 'label' => esc_html__('Icon Size', 'premium_elementor'),
235
+ 'type' => Controls_Manager::SLIDER,
236
+ 'condition' => [
237
+ 'premium_button_hover_effect' => 'style4'
238
+ ],
239
  'selectors' => [
240
  '{{WRAPPER}} .premium-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
241
  ]
242
  ]
243
  );
244
 
245
+ $this->add_control('premium_button_icon_before_spacing',
246
+ [
247
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
248
+ 'type' => Controls_Manager::SLIDER,
249
+ 'condition' => [
250
+ 'premium_button_icon_switcher' => 'yes',
251
+ 'premium_button_icon_position' => 'before',
252
+ 'premium_button_hover_effect!' => ['style3', 'style4']
253
+ ],
254
+ 'default' => [
255
+ 'size' => 15
256
+ ],
257
+ 'selectors' => [
258
+ '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'margin-right: {{SIZE}}px',
259
+ ],
260
+ 'separator' => 'after',
261
+ ]
262
+ );
263
 
264
+ $this->add_control('premium_button_icon_after_spacing',
265
  [
266
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
267
+ 'type' => Controls_Manager::SLIDER,
 
 
 
 
 
 
 
268
  'condition' => [
269
+ 'premium_button_icon_switcher' => 'yes',
270
+ 'premium_button_icon_position' => 'after',
271
+ 'premium_button_hover_effect!' => ['style3', 'style4']
272
+ ],
273
+ 'default' => [
274
+ 'size' => 15
275
+ ],
276
+ 'selectors' => [
277
+ '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'margin-left: {{SIZE}}px',
278
+ ],
279
+ 'separator' => 'after',
280
+ ]
281
  );
282
 
283
+ $this->add_control('premium_button_icon_style3_before_transition',
284
  [
285
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
286
+ 'type' => Controls_Manager::SLIDER,
287
+ 'condition' => [
288
+ 'premium_button_icon_switcher' => 'yes',
289
+ 'premium_button_icon_position' => 'before',
290
+ 'premium_button_hover_effect' => 'style3'
291
+ ],
292
+ 'range' => [
293
+ 'px' => [
294
+ 'min' => -50,
295
+ 'max' => 50,
296
+ ]
297
+ ],
298
+ 'selectors' => [
299
+ '{{WRAPPER}} .premium-button-style3-before:hover i' => '-webkit-transform: translateX({{SIZE}}{{UNIT}}); transform: translateX({{SIZE}}{{UNIT}});',
300
+ ],
301
+ ]
302
+ );
303
+
304
+ $this->add_control('premium_button_icon_style3_after_transition',
305
+ [
306
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
307
+ 'type' => Controls_Manager::SLIDER,
308
+ 'condition' => [
309
+ 'premium_button_icon_switcher' => 'yes',
310
+ 'premium_button_icon_position!'=> 'before',
311
+ 'premium_button_hover_effect' => 'style3'
312
+ ],
313
+ 'range' => [
314
+ 'px' => [
315
+ 'min' => -50,
316
+ 'max' => 50,
317
+ ]
318
+ ],
319
+ 'selectors' => [
320
+ '{{WRAPPER}} .premium-button-style3-after:hover i' => '-webkit-transform: translateX({{SIZE}}{{UNIT}}); transform: translateX({{SIZE}}{{UNIT}});',
321
+ ],
322
+ ]
323
+ );
324
+
325
+ /*Button Size*/
326
+ $this->add_control('premium_button_size',
327
+ [
328
+ 'label' => esc_html__('Button Size', 'premium_elementor'),
329
  'type' => Controls_Manager::SELECT,
330
+ 'default' => 'sm',
331
  'options' => [
332
+ 'sm' => esc_html__('Small'),
333
+ 'md' => esc_html__('Medium'),
334
+ 'lg' => esc_html__('Large'),
335
+ 'block' => esc_html__('Block'),
 
 
 
336
  ],
337
  'label_block' => true,
338
+ 'separator' => 'before',
339
  ]
340
  );
341
 
342
+ /*Button Align*/
343
  $this->add_responsive_control('premium_button_align',
344
  [
345
+ 'label' => __( 'Button Alignment', 'elementor' ),
346
+ 'type' => Controls_Manager::CHOOSE,
347
+ 'options' => [
348
  'left' => [
349
  'title' => __( 'Left', 'elementor' ),
350
+ 'icon' => 'fa fa-align-left',
351
  ],
352
  'center' => [
353
  'title' => __( 'Center', 'elementor' ),
354
+ 'icon' => 'fa fa-align-center',
355
  ],
356
  'right' => [
357
  'title' => __( 'Right', 'elementor' ),
358
+ 'icon' => 'fa fa-align-right',
 
 
 
 
359
  ],
360
  ],
361
+ 'selectors' => [
362
+ '{{WRAPPER}} .premium-button-container' => 'text-align: {{VALUE}}',
363
+ ],
364
  'default' => 'left',
365
  ]
366
  );
367
 
368
+ $this->add_control('premium_button_event_switcher',
369
+ [
370
+ 'label' => esc_html__('Button onclick Event', 'premium_elementor'),
371
+ 'type' => Controls_Manager::SWITCHER,
372
+ 'separator' => 'before',
373
+ ]
374
+ );
375
+
376
+ $this->add_control('premium_button_event_function',
377
+ [
378
+ 'label' => esc_html__('Example: myFunction();', 'premium_elementor'),
379
+ 'type' => Controls_Manager::TEXTAREA,
380
+ 'condition' => [
381
+ 'premium_button_event_switcher' => 'yes',
382
+ ],
383
+ ]
384
+ );
385
+
386
  /*End Button General Section*/
387
  $this->end_controls_section();
388
 
389
  /*Start Styling Section*/
390
  $this->start_controls_section('premium_button_style_section',
391
  [
392
+ 'label' => esc_html__('Button', 'premium_elementor'),
393
  'tab' => Controls_Manager::TAB_STYLE,
394
  ]
395
  );
436
  '{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'color: {{VALUE}};',
437
  ],
438
  'condition' => [
439
+ 'premium_button_icon_switcher' => 'yes',
440
+ 'premium_button_hover_effect!' => ['style3','style4']
441
  ]
442
  ]);
443
 
444
+ $this->add_control('premium_button_background_normal',
 
445
  [
446
+ 'label' => esc_html__('Background Color', 'premium_elementor'),
447
+ 'type' => Controls_Manager::COLOR,
448
+ 'scheme' => [
449
+ 'type' => Scheme_Color::get_type(),
450
+ 'value' => Scheme_Color::COLOR_1,
451
+ ],
452
+ 'selectors' => [
453
+ '{{WRAPPER}} .premium-button, {{WRAPPER}} .premium-button.premium-button-style2-shutinhor:before , {{WRAPPER}} .premium-button.premium-button-style2-shutinver:before , {{WRAPPER}} .premium-button-style5-radialin:before , {{WRAPPER}} .premium-button-style5-rectin:before' => 'background-color: {{VALUE}};',
454
+ ]
455
  ]
456
  );
457
 
470
  'label' => esc_html__('Border Radius', 'premium_elementor'),
471
  'type' => Controls_Manager::SLIDER,
472
  'size_units' => ['px', '%' ,'em'],
 
 
 
 
473
  'selectors' => [
474
  '{{WRAPPER}} .premium-button' => 'border-radius: {{SIZE}}{{UNIT}};'
475
  ]
506
  'name' => 'premium_button_icon_shadow_normal',
507
  'selector' => '{{WRAPPER}} .premium-button-text-icon-wrapper i',
508
  'condition' => [
509
+ 'premium_button_icon_switcher' => 'yes',
510
+ 'premium_button_hover_effect!' => ['style3', 'style4']
511
  ]
512
  ]
513
  );
546
  'type' => Controls_Manager::COLOR,
547
  'scheme' => [
548
  'type' => Scheme_Color::get_type(),
549
+ 'value' => Scheme_Color::COLOR_1,
550
  ],
551
  'selectors' => [
552
  '{{WRAPPER}} .premium-button:hover' => 'color: {{VALUE}};',
575
 
576
  $this->add_control('premium_button_style4_icon_color',
577
  [
578
+ 'label' => esc_html__('Icon Color', 'premium_elementor'),
579
  'type' => Controls_Manager::COLOR,
580
  'scheme' => [
581
  'type' => Scheme_Color::get_type(),
588
  'premium_button_hover_effect' => 'style4'
589
  ]
590
  ]);
591
+
592
+ $this->add_control('premium_button_background_none_hover',
593
+ [
594
+ 'label' => esc_html__('Background Color', 'premium_elementor'),
595
+ 'type' => Controls_Manager::COLOR,
596
+ 'scheme' => [
597
+ 'type' => Scheme_Color::get_type(),
598
+ 'value' => Scheme_Color::COLOR_2,
599
+ ],
600
+ 'selectors' => [
601
+ '{{WRAPPER}} .premium-button-none:hover' => 'background-color: {{VALUE}};',
602
+ ],
603
+ 'condition' => [
604
  'premium_button_hover_effect' => 'none'
 
605
  ]
606
+ ]
607
+ );
608
 
609
+ $this->add_control('premium_button_background_hover',
 
610
  [
611
+ 'label' => esc_html__('Background Color', 'premium_elementor'),
612
+ 'type' => Controls_Manager::COLOR,
613
+ 'scheme' => [
614
+ 'type' => Scheme_Color::get_type(),
615
+ 'value' => Scheme_Color::COLOR_3
616
+ ],
617
+ 'selectors' => [
618
+ ''
619
+ . '{{WRAPPER}} .premium-button-style1-bottom:before, {{WRAPPER}} .premium-button-style1-top:before, {{WRAPPER}} .premium-button-style1-right:before, {{WRAPPER}} .premium-button-style1-left:before, {{WRAPPER}} .premium-button-style2-shutouthor:before, {{WRAPPER}} .premium-button-style2-shutoutver:before, {{WRAPPER}} .premium-button-style2-shutinhor, {{WRAPPER}} .premium-button-style2-shutinver , {{WRAPPER}} .premium-button-style2-dshutinhor:before , {{WRAPPER}} .premium-button-style2-dshutinver:before , {{WRAPPER}} .premium-button-style2-scshutouthor:before , {{WRAPPER}} .premium-button-style2-scshutoutver:before, {{WRAPPER}} .premium-button-style3-after:hover , {{WRAPPER}} .premium-button-style3-before:hover,{{WRAPPER}} .premium-button-style4-icon-wrapper , {{WRAPPER}} .premium-button-style5-radialin , {{WRAPPER}} .premium-button-style5-radialout:before, {{WRAPPER}} .premium-button-style5-rectin , {{WRAPPER}} .premium-button-style5-rectout:before' => 'background-color: {{VALUE}};',
620
+ ],
621
  'condition' => [
622
  'premium_button_hover_effect' => ['style1', 'style2', 'style3', 'style4', 'style5']
623
+ ]
624
  ]
625
  );
626
+
627
  /*Button Border*/
628
  $this->add_group_control(
629
  Group_Control_Border::get_type(),
639
  'label' => esc_html__('Border Radius', 'premium_elementor'),
640
  'type' => Controls_Manager::SLIDER,
641
  'size_units' => ['px', '%' ,'em'],
 
 
 
 
642
  'selectors' => [
643
  '{{WRAPPER}} .premium-button:hover' => 'border-radius: {{SIZE}}{{UNIT}};'
644
  ]
673
  [
674
  'label' => esc_html__('Icon Shadow','premium_elementor'),
675
  'name' => 'premium_button_icon_shadow_hover',
676
+ 'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper i',
677
+ 'condition' => [
678
+ 'premium_button_icon_switcher' => 'yes',
679
+ 'premium_button_hover_effect!' => 'style4',
680
+ ]
681
+ ]
682
+ );
683
+
684
+ $this->add_group_control(
685
+ Group_Control_Text_Shadow::get_type(),
686
+ [
687
+ 'label' => esc_html__('Icon Shadow','premium_elementor'),
688
+ 'name' => 'premium_button_style4_icon_shadow_hover',
689
+ 'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-style4-icon-wrapper',
690
  'condition' => [
691
+ 'premium_button_hover_effect' => 'style4',
692
  ]
693
  ]
694
  );
734
 
735
  $button_url = $settings['premium_button_link']['url'];
736
 
737
+ $button_size = 'premium-button-' . $settings['premium_button_size'];
738
 
739
  $button_event = $settings['premium_button_event_function'];
740
 
747
  } elseif ($settings['premium_button_hover_effect'] == 'style2'){
748
  $style_dir = 'premium-button-style2-' . $settings['premium_button_style2_dir'];
749
  } elseif ($settings['premium_button_hover_effect'] == 'style3') {
750
+ $style_dir = 'premium-button-style3-' . $settings['premium_button_icon_position'];
751
  } elseif ($settings['premium_button_hover_effect'] == 'style4') {
752
  $style_dir = 'premium-button-style4-' . $settings['premium_button_style4_dir'];
753
+ $slide_icon = $settings['premium_button_style4_icon_selection'];
754
  } elseif ($settings['premium_button_hover_effect'] == 'style5'){
755
  $style_dir = 'premium-button-style5-' . $settings['premium_button_style5_dir'];
756
+ }
 
 
 
757
  ?>
758
 
759
+ <div class="premium-button-container">
760
+ <a class="premium-button <?php echo esc_attr($button_size); ?> <?php echo esc_attr($style_dir);?>" href="<?php echo esc_url($button_url); ?>"<?php if(!empty($settings['premium_button_link']['is_external'])) : ?>target="_blank"<?php endif; ?><?php if(!empty($settings['premium_button_link']['nofollow'])) : ?>rel="nofollow"<?php endif; ?><?php if(!empty($settings['premium_button_event_function']) && $settings['premium_button_event_switcher']) : ?> onclick="<?php echo esc_js($button_event); ?>"<?php endif ?>><div class="premium-button-text-icon-wrapper"><?php if($settings['premium_button_icon_switcher'] && $settings['premium_button_icon_position'] == 'before'&& $settings['premium_button_hover_effect'] != 'style4' &&!empty($settings['premium_button_icon_selection'])) : ?><i class="fa <?php echo esc_attr($button_icon); ?>"></i><?php endif; ?><span <?php echo $this->get_render_attribute_string( 'premium_button_text' ); ?>><?php echo $button_text; ?></span><?php if($settings['premium_button_icon_switcher'] && $settings['premium_button_icon_position'] == 'after' && $settings['premium_button_hover_effect'] != 'style4' &&!empty($settings['premium_button_icon_selection'])) : ?><i class="fa <?php echo esc_attr($button_icon); ?>"></i><?php endif; ?></div>
761
+ <?php if($settings['premium_button_hover_effect'] == 'style4') : ?><div class="premium-button-style4-icon-wrapper <?php echo esc_attr($settings['premium_button_style4_dir']); ?>"><i class="fa <?php echo esc_attr($slide_icon); ?>"></i></div><?php endif; ?></a>
762
  </div>
763
 
764
  <?php
widgets/premium-carousel.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Carousel_Widget extends Widget_Base {
34
  $this->start_controls_section(
35
  'premium-carousel-global-settings',
36
  [
37
- 'label' => esc_html__( 'Premium Carousel' , 'premium_elementor' )
38
  ]
39
  );
40
 
@@ -168,7 +168,7 @@ class Premium_Carousel_Widget extends Widget_Base {
168
  $this->start_controls_section(
169
  'premium_carousel_navigation',
170
  [
171
- 'label' => esc_html__( 'Navigation Styles', 'premium_elementor' ),
172
  'tab' => Controls_Manager::TAB_STYLE
173
  ]
174
  );
34
  $this->start_controls_section(
35
  'premium-carousel-global-settings',
36
  [
37
+ 'label' => esc_html__( 'Carousel Settings' , 'premium_elementor' )
38
  ]
39
  );
40
 
168
  $this->start_controls_section(
169
  'premium_carousel_navigation',
170
  [
171
+ 'label' => esc_html__( 'Navigation', 'premium_elementor' ),
172
  'tab' => Controls_Manager::TAB_STYLE
173
  ]
174
  );
widgets/premium-contactform.php CHANGED
@@ -46,7 +46,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
46
  $this->start_controls_section(
47
  'section_contact_form_styles',
48
  [
49
- 'label' => esc_html__( 'Form Style', 'premium-elements' ),
50
  'tab' => Controls_Manager::TAB_STYLE
51
  ]
52
  );
@@ -193,7 +193,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
193
  $this->start_controls_section(
194
  'section_contact_form_typography',
195
  [
196
- 'label' => esc_html__( 'Labels Style', 'premium-elements' ),
197
  'tab' => Controls_Manager::TAB_STYLE
198
  ]
199
  );
@@ -284,7 +284,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
284
  $this->start_controls_section(
285
  'section_contact_form_submit_button_styles',
286
  [
287
- 'label' => esc_html__( 'Button Style', 'premium-elements' ),
288
  'tab' => Controls_Manager::TAB_STYLE
289
  ]
290
  );
46
  $this->start_controls_section(
47
  'section_contact_form_styles',
48
  [
49
+ 'label' => esc_html__( 'Form', 'premium-elements' ),
50
  'tab' => Controls_Manager::TAB_STYLE
51
  ]
52
  );
193
  $this->start_controls_section(
194
  'section_contact_form_typography',
195
  [
196
+ 'label' => esc_html__( 'Labels', 'premium-elements' ),
197
  'tab' => Controls_Manager::TAB_STYLE
198
  ]
199
  );
284
  $this->start_controls_section(
285
  'section_contact_form_submit_button_styles',
286
  [
287
+ 'label' => esc_html__( 'Button', 'premium-elements' ),
288
  'tab' => Controls_Manager::TAB_STYLE
289
  ]
290
  );
widgets/premium-countdown.php CHANGED
@@ -31,7 +31,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
31
  $this->start_controls_section(
32
  'premium_countdown_global_settings',
33
  [
34
- 'label' => esc_html__( 'Premium Countdown', 'premium_elementor' )
35
  ]
36
  );
37
 
@@ -297,7 +297,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
297
  $this->start_controls_section(
298
  'premium_countdown_typhography',
299
  [
300
- 'label' => esc_html__( 'Digit Style' , 'premium_elementor' ),
301
  'tab' => Controls_Manager::TAB_STYLE
302
  ]
303
  );
@@ -342,59 +342,50 @@ class Premium_Counter_Down_Widget extends Widget_Base {
342
  ]
343
  ]
344
  );
345
-
346
- $this->add_responsive_control(
347
  'premium_countdown_digit_bg_size',
348
  [
349
  'label' => esc_html__( 'Background Size', 'premium_elementor' ),
350
  'type' => Controls_Manager::SLIDER,
351
- 'default' => [
352
- 'size' => 50,
353
- ],
354
  'range' => [
355
  'px' => [
356
  'min' => 1,
357
- 'max' => 200,
358
  ]
359
  ],
360
  'selectors' => [
361
- '{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-amount' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};'
362
  ]
363
  ]
364
  );
365
 
366
  $this->add_group_control(
367
- Group_Control_Border::get_type(),
368
- [
369
- 'name' => 'premium_countdown_digits_border',
370
- 'selector' => '{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-amount',
371
- ]);
372
-
373
- $this->add_responsive_control(
374
- 'premium_countdown_digit_border_radius',
375
- [
376
- 'label' => esc_html__( 'Border Radius', 'premium_elementor' ),
377
- 'type' => Controls_Manager::SLIDER,
378
- 'default' => [
379
- 'size' => 2,
380
- ],
381
- 'range' => [
382
- 'px' => [
383
- 'min' => 1,
384
- 'max' => 100,
385
- ],
386
- ],
387
- 'selectors' => [
388
- '{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-amount' => 'border-radius: {{SIZE}}%;'
389
- ]
390
- ]
391
- );
392
 
393
  $this->end_controls_section();
394
 
395
  $this->start_controls_section('premium_countdown_unit_style',
396
  [
397
- 'label' => esc_html__('Unit Style', 'premium_elementor'),
398
  'tab' => Controls_Manager::TAB_STYLE,
399
  ]
400
  );
31
  $this->start_controls_section(
32
  'premium_countdown_global_settings',
33
  [
34
+ 'label' => esc_html__( 'Countdown Settings', 'premium_elementor' )
35
  ]
36
  );
37
 
297
  $this->start_controls_section(
298
  'premium_countdown_typhography',
299
  [
300
+ 'label' => esc_html__( 'Digits' , 'premium_elementor' ),
301
  'tab' => Controls_Manager::TAB_STYLE
302
  ]
303
  );
342
  ]
343
  ]
344
  );
345
+
346
+ $this->add_responsive_control(
347
  'premium_countdown_digit_bg_size',
348
  [
349
  'label' => esc_html__( 'Background Size', 'premium_elementor' ),
350
  'type' => Controls_Manager::SLIDER,
351
+ 'default' => [
352
+ 'size' => 15
353
+ ],
354
  'range' => [
355
  'px' => [
356
  'min' => 1,
357
+ 'max' => 400,
358
  ]
359
  ],
360
  'selectors' => [
361
+ '{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-amount' => 'padding: {{SIZE}}px;'
362
  ]
363
  ]
364
  );
365
 
366
  $this->add_group_control(
367
+ Group_Control_Border::get_type(),
368
+ [
369
+ 'name' => 'premium_countdown_digits_border',
370
+ 'selector' => '{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-amount',
371
+ ]);
372
+
373
+ $this->add_control('premium_countdown_digit_border_radius',
374
+ [
375
+ 'label' => esc_html__('Border Radius', 'premium_elementor'),
376
+ 'type' => Controls_Manager::SLIDER,
377
+ 'size_units' => ['px', '%', 'em'],
378
+ 'selectors' => [
379
+ '{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-amount' => 'border-radius: {{SIZE}}{{UNIT}};'
380
+ ]
381
+ ]
382
+ );
 
 
 
 
 
 
 
 
 
383
 
384
  $this->end_controls_section();
385
 
386
  $this->start_controls_section('premium_countdown_unit_style',
387
  [
388
+ 'label' => esc_html__('Unit', 'premium_elementor'),
389
  'tab' => Controls_Manager::TAB_STYLE,
390
  ]
391
  );
widgets/premium-counter.php CHANGED
@@ -30,7 +30,7 @@ class Premium_Counter_Widget extends Widget_Base {
30
  protected function _register_controls() {
31
  $this->start_controls_section('premium_counter_global_settings',
32
  [
33
- 'label' => esc_html__( 'Premium Counter', 'premium_elementor' )
34
  ]
35
  );
36
 
@@ -124,7 +124,7 @@ class Premium_Counter_Widget extends Widget_Base {
124
  'value' => Scheme_Color::COLOR_1,
125
  ],
126
  'selectors' => [
127
- '{{WRAPPER}} .premium-counter-area .premium-counter-icon .icon' => 'color: {{VALUE}};'
128
  ],
129
  'condition' => [
130
  'premium_counter_icon_image' => 'icon'
@@ -343,7 +343,7 @@ class Premium_Counter_Widget extends Widget_Base {
343
 
344
  $this->start_controls_section('premium_counter_title_style',
345
  [
346
- 'label' => esc_html__( 'Title Style' , 'premium_elementor' ),
347
  'tab' => Controls_Manager::TAB_STYLE
348
  ]
349
  );
@@ -376,7 +376,7 @@ class Premium_Counter_Widget extends Widget_Base {
376
 
377
  $this->start_controls_section('premium_counter_value_style',
378
  [
379
- 'label' => esc_html__('Value Style', 'premium_elementor'),
380
  'tab' => Controls_Manager::TAB_STYLE,
381
  ]
382
  );
@@ -409,7 +409,7 @@ class Premium_Counter_Widget extends Widget_Base {
409
 
410
  $this->start_controls_section('premium_counter_suffix_prefix_style',
411
  [
412
- 'label' => esc_html__('Suffix & Prefix Style', 'premium_elementor'),
413
  'tab' => Controls_Manager::TAB_STYLE,
414
  ]
415
  );
@@ -535,9 +535,9 @@ class Premium_Counter_Widget extends Widget_Base {
535
  <?php else: ?>
536
 
537
  <?php if( !empty( $settings['premium_counter_icon'] ) || !empty( $settings['pct_image_upload'] ) ) : ?>
538
- <div class="premium-counter-icon<?php echo $left; ?>">
539
  <span data-animation="<?php echo $animation; ?>" class="icon<?php echo $flex_width; ?><?php echo $icon_style; ?>"><?php echo $icon_image; ?></span>
540
- </div>
541
  <?php endif; ?>
542
 
543
  <div class="premium-init-wrapper<?php echo $left; ?>">
30
  protected function _register_controls() {
31
  $this->start_controls_section('premium_counter_global_settings',
32
  [
33
+ 'label' => esc_html__( 'Display Options', 'premium_elementor' )
34
  ]
35
  );
36
 
124
  'value' => Scheme_Color::COLOR_1,
125
  ],
126
  'selectors' => [
127
+ '{{WRAPPER}} .premium-counter-area .premium-counter-icon .icon i' => 'color: {{VALUE}};'
128
  ],
129
  'condition' => [
130
  'premium_counter_icon_image' => 'icon'
343
 
344
  $this->start_controls_section('premium_counter_title_style',
345
  [
346
+ 'label' => esc_html__( 'Title' , 'premium_elementor' ),
347
  'tab' => Controls_Manager::TAB_STYLE
348
  ]
349
  );
376
 
377
  $this->start_controls_section('premium_counter_value_style',
378
  [
379
+ 'label' => esc_html__('Value', 'premium_elementor'),
380
  'tab' => Controls_Manager::TAB_STYLE,
381
  ]
382
  );
409
 
410
  $this->start_controls_section('premium_counter_suffix_prefix_style',
411
  [
412
+ 'label' => esc_html__('Suffix & Prefix', 'premium_elementor'),
413
  'tab' => Controls_Manager::TAB_STYLE,
414
  ]
415
  );
535
  <?php else: ?>
536
 
537
  <?php if( !empty( $settings['premium_counter_icon'] ) || !empty( $settings['pct_image_upload'] ) ) : ?>
538
+ <div class="premium-counter-icon<?php echo $left; ?>">
539
  <span data-animation="<?php echo $animation; ?>" class="icon<?php echo $flex_width; ?><?php echo $icon_style; ?>"><?php echo $icon_image; ?></span>
540
+ </div>
541
  <?php endif; ?>
542
 
543
  <div class="premium-init-wrapper<?php echo $left; ?>">
widgets/premium-dual-header.php CHANGED
@@ -34,7 +34,24 @@ class Premium_Dual_Header_Widget extends Widget_Base
34
  /*Start General Section*/
35
  $this->start_controls_section('premium_dual_header_general_settings',
36
  [
37
- 'label' => esc_html__('Premium Dual Header', 'premium_elementor')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ]
39
  );
40
 
@@ -127,7 +144,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
127
  /*Start First Header Styling Section*/
128
  $this->start_controls_section('premium_dual_header_first_style',
129
  [
130
- 'label' => esc_html__('First Header Style', 'premium_elementor'),
131
  'tab' => Controls_Manager::TAB_STYLE,
132
  ]
133
  );
@@ -261,7 +278,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
261
  /*Start First Header Styling Section*/
262
  $this->start_controls_section('premium_dual_header_second_style',
263
  [
264
- 'label' => esc_html__('Second Header Style', 'premium_elementor'),
265
  'tab' => Controls_Manager::TAB_STYLE,
266
  ]
267
  );
@@ -400,19 +417,20 @@ class Premium_Dual_Header_Widget extends Widget_Base
400
  $settings = $this->get_settings();
401
  $first_title_tag = $settings['premium_dual_header_first_header_tag'];
402
  $second_title_tag = $settings['premium_dual_header_second_header_tag'];
 
403
  $first_clip = '';
404
  $second_clip = '';
405
  if( $settings['premium_dual_header_first_back_clip'] === 'clipped' ) : $first_clip = "premium-dual-header-first-clip"; endif;
406
  if( $settings['premium_dual_header_second_back_clip'] === 'clipped' ) : $second_clip = "premium-dual-header-second-clip"; endif;
407
 
408
- $full_first_title_tag = '<' . $first_title_tag . ' class="premium-dual-header-first-header ' . $first_clip . '">' . $settings['premium_dual_header_first_header_text'] . '</' . $settings['premium_dual_header_first_header_tag'] . '>';
409
 
410
- $full_second_title_tag = '<' . $second_title_tag . ' class="premium-dual-header-second-header ' . $second_clip . '">' . $settings['premium_dual_header_second_header_text'] . '</' . $settings['premium_dual_header_second_header_tag'] . '>';
411
  ?>
412
 
413
  <div class="premium-dual-header-container">
414
- <?php if ( !empty ( $settings['premium_dual_header_first_header_text'] ) ) : echo $full_first_title_tag; endif; ?>
415
- <?php if ( !empty ( $settings['premium_dual_header_second_header_text'] ) ) : echo $full_second_title_tag; endif; ?>
416
  </div>
417
 
418
  <?php
34
  /*Start General Section*/
35
  $this->start_controls_section('premium_dual_header_general_settings',
36
  [
37
+ 'label' => esc_html__('Content Settings', 'premium_elementor')
38
+ ]
39
+ );
40
+
41
+ /*Text Align*/
42
+ $this->add_control('premium_dual_header_position',
43
+ [
44
+ 'label' => esc_html__( 'Headers Position', 'elementor' ),
45
+ 'type' => Controls_Manager::SELECT,
46
+ 'options' => [
47
+ 'inline' => esc_html__('Next to Each Other', 'premium_elementor'),
48
+ 'block' => esc_html__('Below Each Other', 'premium_elementor'),
49
+ ],
50
+ 'default' => 'inline',
51
+ 'selectors' => [
52
+ '{{WRAPPER}} .premium-dual-header-first-container, {{WRAPPER}} .premium-dual-header-second-container' => 'display: {{VALUE}};',
53
+ ],
54
+ 'label_block' => true
55
  ]
56
  );
57
 
144
  /*Start First Header Styling Section*/
145
  $this->start_controls_section('premium_dual_header_first_style',
146
  [
147
+ 'label' => esc_html__('First Header', 'premium_elementor'),
148
  'tab' => Controls_Manager::TAB_STYLE,
149
  ]
150
  );
278
  /*Start First Header Styling Section*/
279
  $this->start_controls_section('premium_dual_header_second_style',
280
  [
281
+ 'label' => esc_html__('Second Header', 'premium_elementor'),
282
  'tab' => Controls_Manager::TAB_STYLE,
283
  ]
284
  );
417
  $settings = $this->get_settings();
418
  $first_title_tag = $settings['premium_dual_header_first_header_tag'];
419
  $second_title_tag = $settings['premium_dual_header_second_header_tag'];
420
+ $first_title_text = $settings['premium_dual_header_first_header_text'] . ' ';
421
  $first_clip = '';
422
  $second_clip = '';
423
  if( $settings['premium_dual_header_first_back_clip'] === 'clipped' ) : $first_clip = "premium-dual-header-first-clip"; endif;
424
  if( $settings['premium_dual_header_second_back_clip'] === 'clipped' ) : $second_clip = "premium-dual-header-second-clip"; endif;
425
 
426
+ $full_first_title_tag = '<' . $first_title_tag . ' class="premium-dual-header-first-header ' . $first_clip . '">' . $first_title_text . '</' . $settings['premium_dual_header_first_header_tag'] . '> ';
427
 
428
+ $full_second_title_tag = '<' . $second_title_tag . ' class="premium-dual-header-second-header ' . $second_clip . '">' . $settings['premium_dual_header_second_header_text'] . '</' . $settings['premium_dual_header_second_header_tag'] . '>';
429
  ?>
430
 
431
  <div class="premium-dual-header-container">
432
+ <div class="premium-dual-header-first-container"><?php if ( !empty ( $settings['premium_dual_header_first_header_text'] ) ) : echo $full_first_title_tag; endif; ?></div>
433
+ <div class="premium-dual-header-second-container"><?php if ( !empty ( $settings['premium_dual_header_second_header_text'] ) ) : echo $full_second_title_tag; endif; ?></div>
434
  </div>
435
 
436
  <?php
widgets/premium-fancytext.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
34
  /*Start Text Content Section*/
35
  $this->start_controls_section('premium_fancy_text_content',
36
  [
37
- 'label' => esc_html__('Premium Fancy Text', 'premium_elementor'),
38
  ]
39
  );
40
 
@@ -281,7 +281,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
281
  /*Start Fancy Text Settings Tab*/
282
  $this->start_controls_section('premium_fancy_text_style_tab',
283
  [
284
- 'label' => esc_html__('Fancy Text Style', 'premium_elementor'),
285
  'tab' => Controls_Manager::TAB_STYLE,
286
  ]
287
  );
@@ -330,7 +330,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
330
  /*Start Prefix Suffix Text Settings Tab*/
331
  $this->start_controls_section('premium_prefix_suffix_style_tab',
332
  [
333
- 'label' => esc_html__('Prefix & Suffix Text Style', 'premium_elementor'),
334
  'tab' => Controls_Manager::TAB_STYLE,
335
  ]
336
  );
34
  /*Start Text Content Section*/
35
  $this->start_controls_section('premium_fancy_text_content',
36
  [
37
+ 'label' => esc_html__('Text Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
281
  /*Start Fancy Text Settings Tab*/
282
  $this->start_controls_section('premium_fancy_text_style_tab',
283
  [
284
+ 'label' => esc_html__('Fancy Text', 'premium_elementor'),
285
  'tab' => Controls_Manager::TAB_STYLE,
286
  ]
287
  );
330
  /*Start Prefix Suffix Text Settings Tab*/
331
  $this->start_controls_section('premium_prefix_suffix_style_tab',
332
  [
333
+ 'label' => esc_html__('Prefix & Suffix Text', 'premium_elementor'),
334
  'tab' => Controls_Manager::TAB_STYLE,
335
  ]
336
  );
widgets/premium-image-button.php ADDED
@@ -0,0 +1,738 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Elementor;
3
+
4
+ if ( ! defined( 'ABSPATH' ) ) exit; // If this file is called directly, abort.
5
+
6
+ class Premium_Image_Button_Widget extends Widget_Base
7
+ {
8
+ protected $templateInstance;
9
+
10
+ public function getTemplateInstance() {
11
+ return $this->templateInstance = premium_Template_Tags::getInstance();
12
+ }
13
+
14
+ public function get_name() {
15
+ return 'premium-addon-image-button';
16
+ }
17
+
18
+ public function get_title() {
19
+ return esc_html__('Premium Image Button', 'premium_elementor');
20
+ }
21
+
22
+ public function get_icon() {
23
+ return 'pa-image-button';
24
+ }
25
+
26
+ public function get_categories() {
27
+ return [ 'premium-elements' ];
28
+ }
29
+
30
+ // Adding the controls fields for the premium image button
31
+ // This will controls the animation, colors and background, dimensions etc
32
+ protected function _register_controls() {
33
+
34
+ /*Start Button Content Section */
35
+ $this->start_controls_section('premium_image_button_general_section',
36
+ [
37
+ 'label' => esc_html__('Button Settings', 'premium_elementor'),
38
+ ]
39
+ );
40
+
41
+ /*Button Text*/
42
+ $this->add_control('premium_image_button_text',
43
+ [
44
+ 'label' => esc_html__('Button Text', 'premium_elementor'),
45
+ 'type' => Controls_Manager::TEXT,
46
+ 'default' => esc_html__('Click Here','premium_elementor'),
47
+ 'label_block' => true,
48
+ ]
49
+ );
50
+
51
+ $this->add_control('premium_image_button_link',
52
+ [
53
+ 'label' => esc_html__('URL', 'premium_elementor'),
54
+ 'type' => Controls_Manager::URL,
55
+ 'default' => [
56
+ 'url' => '#',
57
+ ],
58
+ 'placeholder' => 'https://premiumaddons.com/',
59
+ 'label_block' => true,
60
+ 'separator' => 'after',
61
+ ]
62
+ );
63
+
64
+ $this->add_inline_editing_attributes( 'premium_image_button_text', 'none' );
65
+
66
+ /*Button Hover Effect*/
67
+ $this->add_control('premium_image_button_hover_effect',
68
+ [
69
+ 'label' => esc_html__('Button Hover Effect', 'premium_elementor'),
70
+ 'type' => Controls_Manager::SELECT,
71
+ 'default' => 'none',
72
+ 'options' => [
73
+ 'none' => esc_html__('None'),
74
+ 'style1' => esc_html__('Background Slide'),
75
+ 'style3' => esc_html__('Diagonal Slide'),
76
+ 'style4' => esc_html__('Icon Slide'),
77
+ 'style5' => esc_html__('Overlap'),
78
+ ],
79
+ 'label_block' => true,
80
+ ]
81
+ );
82
+
83
+ $this->add_control('premium_image_button_style1_dir',
84
+ [
85
+ 'label' => esc_html__('Slide Direction', 'premium_elementor'),
86
+ 'type' => Controls_Manager::SELECT,
87
+ 'default' => 'bottom',
88
+ 'options' => [
89
+ 'bottom' => esc_html__('Top to Bottom'),
90
+ 'top' => esc_html__('Bottom to Top'),
91
+ 'left' => esc_html__('Right to Left'),
92
+ 'right' => esc_html__('Left to Right'),
93
+ ],
94
+ 'condition' => [
95
+ 'premium_image_button_hover_effect' => 'style1',
96
+ ],
97
+ 'label_block' => true,
98
+ ]
99
+ );
100
+
101
+ $this->add_control('premium_image_button_style3_dir',
102
+ [
103
+ 'label' => esc_html__('Slide Direction', 'premium_elementor'),
104
+ 'type' => Controls_Manager::SELECT,
105
+ 'default' => 'bottom',
106
+ 'options' => [
107
+ 'top' => esc_html__('Bottom Left to Top Right'),
108
+ 'bottom' => esc_html__('Top Right to Bottom Left'),
109
+ 'left' => esc_html__('Top Left to Bottom Right'),
110
+ 'right' => esc_html__('Bottom Right to Top Left'),
111
+ ],
112
+ 'condition' => [
113
+ 'premium_image_button_hover_effect' => 'style3',
114
+ ],
115
+ 'label_block' => true,
116
+ ]
117
+ );
118
+
119
+ $this->add_control('premium_image_button_style4_dir',
120
+ [
121
+ 'label' => esc_html__('Slide Direction', 'premium_elementor'),
122
+ 'type' => Controls_Manager::SELECT,
123
+ 'default' => 'bottom',
124
+ 'options' => [
125
+ 'top' => esc_html__('Bottom to Top'),
126
+ 'bottom' => esc_html__('Top to Bottom'),
127
+ 'left' => esc_html__('Left to Right'),
128
+ 'right' => esc_html__('Right to Left'),
129
+ ],
130
+ 'condition' => [
131
+ 'premium_image_button_hover_effect' => 'style4',
132
+ ],
133
+ 'label_block' => true,
134
+ ]
135
+ );
136
+
137
+ $this->add_control('premium_image_button_style5_dir',
138
+ [
139
+ 'label' => esc_html__('Overlap Direction', 'premium_elementor'),
140
+ 'type' => Controls_Manager::SELECT,
141
+ 'default' => 'horizontal',
142
+ 'options' => [
143
+ 'horizontal' => esc_html__('Horizontal'),
144
+ 'vertical' => esc_html__('Vertical'),
145
+ ],
146
+ 'condition' => [
147
+ 'premium_image_button_hover_effect' => 'style5',
148
+ ],
149
+ 'label_block' => true,
150
+ ]
151
+ );
152
+
153
+ /*Button Icon Switcher*/
154
+ $this->add_control('premium_image_button_icon_switcher',
155
+ [
156
+ 'label' => esc_html__('Button Icon', 'premium_elementor'),
157
+ 'type' => Controls_Manager::SWITCHER,
158
+ 'condition' => [
159
+ 'premium_image_button_hover_effect!' => 'style4'
160
+ ],
161
+ 'description' => esc_html__('Enable or disable button icon','premium_elementor'),
162
+ ]
163
+ );
164
+
165
+ /*Button Icon Selection*/
166
+ $this->add_control('premium_image_button_icon_selection',
167
+ [
168
+ 'label' => esc_html__('Icon', 'premium_elementor'),
169
+ 'type' => Controls_Manager::ICON,
170
+ 'default' => 'fa fa-bars',
171
+ 'condition' => [
172
+ 'premium_image_button_icon_switcher' => 'yes',
173
+ 'premium_image_button_hover_effect!' => 'style4'
174
+ ],
175
+ 'label_block' => true,
176
+ ]
177
+ );
178
+
179
+ $this->add_control('premium_image_button_style4_icon_selection',
180
+ [
181
+ 'label' => esc_html__('Icon', 'premium_elementor'),
182
+ 'type' => Controls_Manager::ICON,
183
+ 'default' => 'fa fa-bars',
184
+ 'condition' => [
185
+ 'premium_image_button_hover_effect' => 'style4'
186
+ ],
187
+ 'label_block' => true,
188
+ ]
189
+ );
190
+
191
+ $this->add_control('premium_image_button_icon_position',
192
+ [
193
+ 'label' => esc_html__('Icon Position', 'premium_elementor'),
194
+ 'type' => Controls_Manager::SELECT,
195
+ 'default' => 'before',
196
+ 'options' => [
197
+ 'before' => esc_html__('Before'),
198
+ 'after' => esc_html__('After'),
199
+ ],
200
+ 'condition' => [
201
+ 'premium_image_button_icon_switcher' => 'yes',
202
+ 'premium_image_button_hover_effect!' => 'style4'
203
+ ],
204
+ 'label_block' => true,
205
+ ]
206
+ );
207
+
208
+ $this->add_control('premium_image_button_icon_before_size',
209
+ [
210
+ 'label' => esc_html__('Icon Size', 'premium_elementor'),
211
+ 'type' => Controls_Manager::SLIDER,
212
+ 'condition' => [
213
+ 'premium_image_button_icon_switcher' => 'yes',
214
+ 'premium_image_button_hover_effect!' => 'style4'
215
+ ],
216
+ 'selectors' => [
217
+ '{{WRAPPER}} .premium-image-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
218
+ ]
219
+ ]
220
+ );
221
+
222
+ $this->add_control('premium_image_button_icon_style4_size',
223
+ [
224
+ 'label' => esc_html__('Icon Size', 'premium_elementor'),
225
+ 'type' => Controls_Manager::SLIDER,
226
+ 'condition' => [
227
+ 'premium_image_button_hover_effect' => 'style4'
228
+ ],
229
+ 'selectors' => [
230
+ '{{WRAPPER}} .premium-image-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
231
+ ]
232
+ ]
233
+ );
234
+
235
+ $this->add_control('premium_image_button_icon_before_spacing',
236
+ [
237
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
238
+ 'type' => Controls_Manager::SLIDER,
239
+ 'condition' => [
240
+ 'premium_image_button_icon_switcher' => 'yes',
241
+ 'premium_image_button_icon_position' => 'before',
242
+ 'premium_image_button_hover_effect!' => 'style4'
243
+ ],
244
+ 'default' => [
245
+ 'size' => 15
246
+ ],
247
+ 'selectors' => [
248
+ '{{WRAPPER}} .premium-image-button-text-icon-wrapper i' => 'margin-right: {{SIZE}}px',
249
+ ],
250
+ 'separator' => 'after',
251
+ ]
252
+ );
253
+
254
+ $this->add_control('premium_image_button_icon_after_spacing',
255
+ [
256
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
257
+ 'type' => Controls_Manager::SLIDER,
258
+ 'condition' => [
259
+ 'premium_image_button_icon_switcher' => 'yes',
260
+ 'premium_image_button_icon_position' => 'after',
261
+ 'premium_image_button_hover_effect!' => 'style4'
262
+ ],
263
+ 'default' => [
264
+ 'size' => 15
265
+ ],
266
+ 'selectors' => [
267
+ '{{WRAPPER}} .premium-image-button-text-icon-wrapper i' => 'margin-left: {{SIZE}}px',
268
+ ],
269
+ 'separator' => 'after',
270
+ ]
271
+ );
272
+
273
+ /*Button Size*/
274
+ $this->add_control('premium_image_button_size',
275
+ [
276
+ 'label' => esc_html__('Button Size', 'premium_elementor'),
277
+ 'type' => Controls_Manager::SELECT,
278
+ 'default' => 'sm',
279
+ 'options' => [
280
+ 'sm' => esc_html__('Small'),
281
+ 'md' => esc_html__('Medium'),
282
+ 'lg' => esc_html__('Large'),
283
+ 'block' => esc_html__('Block'),
284
+ ],
285
+ 'label_block' => true,
286
+ 'separator' => 'before',
287
+ ]
288
+ );
289
+
290
+ /*Button Align*/
291
+ $this->add_responsive_control('premium_image_button_align',
292
+ [
293
+ 'label' => __( 'Button Alignment', 'elementor' ),
294
+ 'type' => Controls_Manager::CHOOSE,
295
+ 'options' => [
296
+ 'left' => [
297
+ 'title' => __( 'Left', 'elementor' ),
298
+ 'icon' => 'fa fa-align-left',
299
+ ],
300
+ 'center' => [
301
+ 'title' => __( 'Center', 'elementor' ),
302
+ 'icon' => 'fa fa-align-center',
303
+ ],
304
+ 'right' => [
305
+ 'title' => __( 'Right', 'elementor' ),
306
+ 'icon' => 'fa fa-align-right',
307
+ ],
308
+ ],
309
+ 'selectors' => [
310
+ '{{WRAPPER}} .premium-image-button-container' => 'text-align: {{VALUE}}',
311
+ ],
312
+ 'default' => 'left',
313
+ ]
314
+ );
315
+
316
+ $this->add_control('premium_image_button_event_switcher',
317
+ [
318
+ 'label' => esc_html__('Image onclick Event', 'premium_elementor'),
319
+ 'type' => Controls_Manager::SWITCHER,
320
+ 'separator' => 'before',
321
+ ]
322
+ );
323
+
324
+ $this->add_control('premium_image_button_event_function',
325
+ [
326
+ 'label' => esc_html__('Example: myFunction();', 'premium_elementor'),
327
+ 'type' => Controls_Manager::TEXTAREA,
328
+ 'condition' => [
329
+ 'premium_image_button_event_switcher' => 'yes',
330
+ ],
331
+ ]
332
+ );
333
+
334
+ /*End Image Button General Section*/
335
+ $this->end_controls_section();
336
+
337
+ /*Start Styling Section*/
338
+ $this->start_controls_section('premium_image_button_style_section',
339
+ [
340
+ 'label' => esc_html__('Button', 'premium_elementor'),
341
+ 'tab' => Controls_Manager::TAB_STYLE,
342
+ ]
343
+ );
344
+
345
+ $this->add_group_control(
346
+ Group_Control_Typography::get_type(),
347
+ [
348
+ 'name' => 'premium_image_button_typo',
349
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
350
+ 'selector' => '{{WRAPPER}} .premium-image-button',
351
+ ]
352
+ );
353
+
354
+ $this->start_controls_tabs('premium_image_button_style_tabs');
355
+
356
+ $this->start_controls_tab('premium_image_button_style_normal',
357
+ [
358
+ 'label' => esc_html__('Normal', 'premium_elementor'),
359
+ ]
360
+ );
361
+
362
+ $this->add_control('premium_image_button_text_color_normal',
363
+ [
364
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
365
+ 'type' => Controls_Manager::COLOR,
366
+ 'scheme' => [
367
+ 'type' => Scheme_Color::get_type(),
368
+ 'value' => Scheme_Color::COLOR_2,
369
+ ],
370
+ 'selectors' => [
371
+ '{{WRAPPER}} .premium-image-button .premium-image-button-text-icon-wrapper' => 'color: {{VALUE}};',
372
+ ]
373
+ ]);
374
+
375
+ $this->add_control('premium_image_button_icon_color_normal',
376
+ [
377
+ 'label' => esc_html__('Icon Color', 'premium_elementor'),
378
+ 'type' => Controls_Manager::COLOR,
379
+ 'scheme' => [
380
+ 'type' => Scheme_Color::get_type(),
381
+ 'value' => Scheme_Color::COLOR_2,
382
+ ],
383
+ 'selectors' => [
384
+ '{{WRAPPER}} .premium-image-button-text-icon-wrapper i' => 'color: {{VALUE}};',
385
+ ],
386
+ 'condition' => [
387
+ 'premium_image_button_icon_switcher' => 'yes',
388
+ 'premium_image_button_hover_effect!' => 'style4'
389
+ ]
390
+ ]);
391
+
392
+
393
+ $this->add_group_control(
394
+ Group_Control_Background::get_type(),
395
+ [
396
+ 'name' => 'premium_image_button_background',
397
+ 'types' => [ 'classic' , 'gradient' ],
398
+ 'selector' => '{{WRAPPER}} .premium-image-button',
399
+ ]
400
+ );
401
+
402
+ /*Button Border*/
403
+ $this->add_group_control(
404
+ Group_Control_Border::get_type(),
405
+ [
406
+ 'name' => 'premium_image_button_border_normal',
407
+ 'selector' => '{{WRAPPER}} .premium-image-button',
408
+ ]
409
+ );
410
+
411
+ /*Button Border Radius*/
412
+ $this->add_control('premium_image_button_border_radius_normal',
413
+ [
414
+ 'label' => esc_html__('Border Radius', 'premium_elementor'),
415
+ 'type' => Controls_Manager::SLIDER,
416
+ 'size_units' => ['px', '%' ,'em'],
417
+ 'selectors' => [
418
+ '{{WRAPPER}} .premium-image-button' => 'border-radius: {{SIZE}}{{UNIT}};'
419
+ ]
420
+ ]
421
+ );
422
+
423
+ /*Button Margin*/
424
+ $this->add_control('premium_image_button_margin_normal',
425
+ [
426
+ 'label' => esc_html__('Margin', 'premium_elementor'),
427
+ 'type' => Controls_Manager::DIMENSIONS,
428
+ 'size_units' => ['px', 'em', '%'],
429
+ 'selectors' => [
430
+ '{{WRAPPER}} .premium-image-button' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
431
+ ]
432
+ ]);
433
+
434
+ /*Button Padding*/
435
+ $this->add_control('premium_image_button_padding_normal',
436
+ [
437
+ 'label' => esc_html__('Padding', 'premium_elementor'),
438
+ 'type' => Controls_Manager::DIMENSIONS,
439
+ 'size_units' => ['px', 'em', '%'],
440
+ 'selectors' => [
441
+ '{{WRAPPER}} .premium-image-button, {{WRAPPER}} .premium-image-button-effect-container' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
442
+ ]
443
+ ]);
444
+
445
+ /*Icon Shadow*/
446
+ $this->add_group_control(
447
+ Group_Control_Text_Shadow::get_type(),
448
+ [
449
+ 'label' => esc_html__('Icon Shadow','premium_elementor'),
450
+ 'name' => 'premium_image_button_icon_shadow_normal',
451
+ 'selector' => '{{WRAPPER}} .premium-image-button-text-icon-wrapper i',
452
+ 'condition' => [
453
+ 'premium_image_button_icon_switcher' => 'yes',
454
+ 'premium_image_button_hover_effect!' => 'style4'
455
+
456
+ ]
457
+ ]
458
+ );
459
+
460
+ /*Text Shadow*/
461
+ $this->add_group_control(
462
+ Group_Control_Text_Shadow::get_type(),
463
+ [
464
+ 'label' => esc_html__('Text Shadow','premium_elementor'),
465
+ 'name' => 'premium_image_button_text_shadow_normal',
466
+ 'selector' => '{{WRAPPER}} .premium-image-button-text-icon-wrapper span',
467
+ ]
468
+ );
469
+
470
+ /*Button Shadow*/
471
+ $this->add_group_control(
472
+ Group_Control_Box_Shadow::get_type(),
473
+ [
474
+ 'label' => esc_html__('Button Shadow','premium_elementor'),
475
+ 'name' => 'premium_image_button_box_shadow_normal',
476
+ 'selector' => '{{WRAPPER}} .premium-image-button',
477
+ ]
478
+ );
479
+
480
+ $this->end_controls_tab();
481
+
482
+ $this->start_controls_tab('premium_image_button_style_hover',
483
+ [
484
+ 'label' => esc_html__('Hover', 'premium_elementor'),
485
+ ]
486
+ );
487
+
488
+ $this->add_control('premium_image_button_text_color_hover',
489
+ [
490
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
491
+ 'type' => Controls_Manager::COLOR,
492
+ 'scheme' => [
493
+ 'type' => Scheme_Color::get_type(),
494
+ 'value' => Scheme_Color::COLOR_1,
495
+ ],
496
+ 'selectors' => [
497
+ '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper' => 'color: {{VALUE}};',
498
+ ],
499
+ 'condition' => [
500
+ 'premium_image_button_hover_effect!' => 'style4'
501
+ ]
502
+ ]);
503
+
504
+ $this->add_control('premium_image_button_icon_color_hover',
505
+ [
506
+ 'label' => esc_html__('Icon Color', 'premium_elementor'),
507
+ 'type' => Controls_Manager::COLOR,
508
+ 'scheme' => [
509
+ 'type' => Scheme_Color::get_type(),
510
+ 'value' => Scheme_Color::COLOR_1,
511
+ ],
512
+ 'selectors' => [
513
+ '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper i' => 'color: {{VALUE}};',
514
+ ],
515
+ 'condition' => [
516
+ 'premium_image_button_icon_switcher' => 'yes',
517
+ 'premium_image_button_hover_effect!' => 'style4'
518
+ ]
519
+ ]);
520
+
521
+ $this->add_control('premium_image_button_style4_icon_color',
522
+ [
523
+ 'label' => esc_html__('Icon Color', 'premium_elementor'),
524
+ 'type' => Controls_Manager::COLOR,
525
+ 'scheme' => [
526
+ 'type' => Scheme_Color::get_type(),
527
+ 'value' => Scheme_Color::COLOR_1,
528
+ ],
529
+ 'selectors' => [
530
+ '{{WRAPPER}} .premium-image-button:hover .premium-image-button-style4-icon-wrapper' => 'color: {{VALUE}};',
531
+ ],
532
+ 'condition' => [
533
+ 'premium_image_button_hover_effect' => 'style4'
534
+ ]
535
+ ]);
536
+
537
+ $this->add_control('premium_image_button_diagonal_overlay_color',
538
+ [
539
+ 'label' => esc_html__('Overlay Color', 'premium_elementor'),
540
+ 'type' => Controls_Manager::COLOR,
541
+ 'scheme' => [
542
+ 'type' => Scheme_Color::get_type(),
543
+ 'value' => Scheme_Color::COLOR_1,
544
+ ],
545
+ 'selectors' => [
546
+ '{{WRAPPER}} .premium-image-button-diagonal-effect-top:before, {{WRAPPER}} .premium-image-button-diagonal-effect-bottom:before, {{WRAPPER}} .premium-image-button-diagonal-effect-left:before, {{WRAPPER}} .premium-image-button-diagonal-effect-right:before' => 'background-color: {{VALUE}};',
547
+ ],
548
+ 'condition' => [
549
+ 'premium_image_button_hover_effect' => 'style3'
550
+ ]
551
+ ]);
552
+
553
+
554
+ $this->add_control('premium_image_button_overlap_overlay_color',
555
+ [
556
+ 'label' => esc_html__('Overlay Color', 'premium_elementor'),
557
+ 'type' => Controls_Manager::COLOR,
558
+ 'scheme' => [
559
+ 'type' => Scheme_Color::get_type(),
560
+ 'value' => Scheme_Color::COLOR_1,
561
+ ],
562
+ 'selectors' => [
563
+ '{{WRAPPER}} .premium-image-button-overlap-effect-horizontal:before, {{WRAPPER}} .premium-image-button-overlap-effect-vertical:before' => 'background-color: {{VALUE}};',
564
+ ],
565
+ 'condition' => [
566
+ 'premium_image_button_hover_effect' => 'style5'
567
+ ]
568
+ ]);
569
+
570
+ $this->add_group_control(
571
+ Group_Control_Background::get_type(),
572
+ [
573
+ 'name' => 'premium_image_button_background_hover',
574
+ 'types' => [ 'classic' , 'gradient' ],
575
+ 'selector' => '{{WRAPPER}} .premium-image-button-none:hover, {{WRAPPER}} .premium-image-button-style4-icon-wrapper,{{WRAPPER}} .premium-image-button-style1-top:before,{{WRAPPER}} .premium-image-button-style1-bottom:before,{{WRAPPER}} .premium-image-button-style1-left:before,{{WRAPPER}} .premium-image-button-style1-right:before,{{WRAPPER}} .premium-image-button-diagonal-effect-right:hover, {{WRAPPER}} .premium-image-button-diagonal-effect-top:hover, {{WRAPPER}} .premium-image-button-diagonal-effect-left:hover, {{WRAPPER}} .premium-image-button-diagonal-effect-bottom:hover,{{WRAPPER}} .premium-image-button-overlap-effect-horizontal:hover, {{WRAPPER}} .premium-image-button-overlap-effect-vertical:hover',
576
+ ]
577
+ );
578
+
579
+ /*Overlay Color*/
580
+ $this->add_control('premium_image_button_overlay_color',
581
+ [
582
+ 'label' => esc_html__('Overlay Color', 'premium_elementor'),
583
+ 'type' => Controls_Manager::COLOR,
584
+ 'scheme' => [
585
+ 'type' => Scheme_Color::get_type(),
586
+ 'value' => Scheme_Color::COLOR_1,
587
+ ],
588
+ 'condition' => [
589
+ 'premium_image_button_overlay_switcher' => 'yes'
590
+ ],
591
+ 'selectors' => [
592
+ '{{WRAPPER}} .premium-image-button-squares-effect:before, {{WRAPPER}} .premium-image-button-squares-effect:after,{{WRAPPER}} .premium-image-button-squares-square-container:before, {{WRAPPER}} .premium-image-button-squares-square-container:after' => 'background-color: {{VALUE}};',
593
+ ]
594
+ ]
595
+ );
596
+
597
+ /*Button Border*/
598
+ $this->add_group_control(
599
+ Group_Control_Border::get_type(),
600
+ [
601
+ 'name' => 'premium_image_button_border_hover',
602
+ 'selector' => '{{WRAPPER}} .premium-image-button:hover',
603
+ ]
604
+ );
605
+
606
+ /*Button Border Radius*/
607
+ $this->add_control('premium_image_button_border_radius_hover',
608
+ [
609
+ 'label' => esc_html__('Border Radius', 'premium_elementor'),
610
+ 'type' => Controls_Manager::SLIDER,
611
+ 'size_units' => ['px', '%' ,'em'],
612
+ 'selectors' => [
613
+ '{{WRAPPER}} .premium-image-button:hover' => 'border-radius: {{SIZE}}{{UNIT}};'
614
+ ]
615
+ ]
616
+ );
617
+
618
+ /*Button Margin*/
619
+ $this->add_control('premium_image_button_margin_hover',
620
+ [
621
+ 'label' => esc_html__('Margin', 'premium_elementor'),
622
+ 'type' => Controls_Manager::DIMENSIONS,
623
+ 'size_units' => ['px', 'em', '%'],
624
+ 'selectors' => [
625
+ '{{WRAPPER}} .premium-image-button:hover' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
626
+ ]
627
+ ]);
628
+
629
+ /*Button Padding*/
630
+ $this->add_control('premium_image_button_padding_hover',
631
+ [
632
+ 'label' => esc_html__('Padding', 'premium_elementor'),
633
+ 'type' => Controls_Manager::DIMENSIONS,
634
+ 'size_units' => ['px', 'em', '%'],
635
+ 'selectors' => [
636
+ '{{WRAPPER}} .premium-image-button:hover' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
637
+ ]
638
+ ]);
639
+
640
+ /*Icon Shadow*/
641
+ $this->add_group_control(
642
+ Group_Control_Text_Shadow::get_type(),
643
+ [
644
+ 'label' => esc_html__('Icon Shadow','premium_elementor'),
645
+ 'name' => 'premium_image_button_icon_shadow_hover',
646
+ 'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper i',
647
+ 'condition' => [
648
+ 'premium_image_button_icon_switcher' => 'yes',
649
+ 'premium_image_button_hover_effect!' => 'style4'
650
+ ]
651
+ ]
652
+ );
653
+
654
+ $this->add_group_control(
655
+ Group_Control_Text_Shadow::get_type(),
656
+ [
657
+ 'label' => esc_html__('Icon Shadow','premium_elementor'),
658
+ 'name' => 'premium_image_button_style4_icon_shadow_hover',
659
+ 'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-style4-icon-wrapper i',
660
+ 'condition' => [
661
+ 'premium_image_button_hover_effect' => 'style4'
662
+ ]
663
+ ]
664
+ );
665
+
666
+ /*Text Shadow*/
667
+ $this->add_group_control(
668
+ Group_Control_Text_Shadow::get_type(),
669
+ [
670
+ 'label' => esc_html__('Text Shadow','premium_elementor'),
671
+ 'name' => 'premium_image_button_text_shadow_hover',
672
+ 'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper span',
673
+ 'condition' => [
674
+ 'premium_image_button_hover_effect!' => 'style4'
675
+ ]
676
+ ]
677
+ );
678
+
679
+ /*Button Shadow*/
680
+ $this->add_group_control(
681
+ Group_Control_Box_Shadow::get_type(),
682
+ [
683
+ 'label' => esc_html__('Button Shadow','premium_elementor'),
684
+ 'name' => 'premium_image_button_box_shadow_hover',
685
+ 'selector' => '{{WRAPPER}} .premium-image-button:hover',
686
+ ]
687
+ );
688
+
689
+
690
+
691
+ $this->end_controls_tab();
692
+
693
+ $this->end_controls_tabs();
694
+
695
+ /*End Labels Settings Section*/
696
+ $this->end_controls_section();
697
+ }
698
+
699
+ protected function render($instance = [])
700
+ {
701
+ // get our input from the widget settings.
702
+ $settings = $this->get_settings();
703
+
704
+ $image_link = $settings['premium_image_button_link']['url'];
705
+
706
+ $button_text = $settings['premium_image_button_text'];
707
+
708
+ $button_size = 'premium-image-button-' . $settings['premium_image_button_size'];
709
+
710
+ $button_icon = $settings['premium_image_button_icon_selection'];
711
+
712
+ $image_event = $settings['premium_image_button_event_function'];
713
+
714
+ if ($settings['premium_image_button_hover_effect'] == 'none'){
715
+ $style_dir = 'premium-image-button-none';
716
+ } elseif($settings['premium_image_button_hover_effect'] == 'style1'){
717
+ $style_dir = 'premium-image-button-style1-' . $settings['premium_image_button_style1_dir'];
718
+ } elseif($settings['premium_image_button_hover_effect'] == 'style3'){
719
+ $style_dir = 'premium-image-button-diagonal-effect-' . $settings['premium_image_button_style3_dir'];
720
+ } elseif($settings['premium_image_button_hover_effect'] == 'style4'){
721
+ $style_dir = 'premium-image-button-style4-' . $settings['premium_image_button_style4_dir'];
722
+ } elseif($settings['premium_image_button_hover_effect'] == 'style5'){
723
+ $style_dir = 'premium-image-button-overlap-effect-' . $settings['premium_image_button_style5_dir'];
724
+ }
725
+
726
+ ?>
727
+ <div class="premium-image-button-container">
728
+ <a class="premium-image-button <?php echo esc_attr($button_size); ?> <?php echo esc_attr($style_dir); ?>" href="<?php echo esc_url($image_link); ?>"<?php if(!empty($settings['premium_image_button_link']['is_external'])) : ?>target="_blank"<?php endif; ?><?php if(!empty($settings['premium_image_button_link']['nofollow'])) : ?>rel="nofollow"<?php endif; ?><?php if(!empty($settings['premium_image_button_event_function']) && $settings['premium_image_button_event_switcher']) : ?> onclick="<?php echo esc_js($image_event); ?>"<?php endif ?>><div class="premium-image-button-text-icon-wrapper"><?php if($settings['premium_image_button_icon_switcher'] && $settings['premium_image_button_hover_effect'] != 'style4' &&$settings['premium_image_button_icon_position'] == 'before' &&!empty($settings['premium_image_button_icon_selection'])) : ?><i class="fa <?php echo esc_attr($button_icon); ?>"></i><?php endif; ?><span <?php echo $this->get_render_attribute_string( 'premium_image_button_text' ); ?>><?php echo $button_text; ?></span><?php if($settings['premium_image_button_icon_switcher'] && $settings['premium_image_button_hover_effect'] != 'style4' &&$settings['premium_image_button_icon_position'] == 'after' && !empty($settings['premium_image_button_icon_selection'])) : ?><i class="fa <?php echo esc_attr($button_icon); ?>"></i><?php endif; ?></div>
729
+ <?php if($settings['premium_image_button_hover_effect'] == 'style4') : ?><div class="premium-image-button-style4-icon-wrapper <?php echo esc_attr($settings['premium_image_button_style4_dir']); ?>"><i class="fa <?php echo esc_attr($button_icon); ?>"></i></div><?php endif; ?>
730
+ </a>
731
+
732
+ </div>
733
+
734
+
735
+ <?php
736
+ }
737
+ }
738
+ Plugin::instance()->widgets_manager->register_widget_type(new Premium_Image_Button_Widget());
widgets/premium-imageseparator.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Image_Separator_Widget extends Widget_Base
34
  /* Start Content Section */
35
  $this->start_controls_section('premium_image_separator_general_settings',
36
  [
37
- 'label' => esc_html__('Premium Image Separator', 'premium_elementor')
38
  ]
39
  );
40
 
34
  /* Start Content Section */
35
  $this->start_controls_section('premium_image_separator_general_settings',
36
  [
37
+ 'label' => esc_html__('Image Settings', 'premium_elementor')
38
  ]
39
  );
40
 
widgets/premium-maps.php CHANGED
@@ -39,7 +39,7 @@ class Premium_Maps_Widget extends Widget_Base
39
  /* Start Map Settings Section */
40
  $this->start_controls_section('premium_maps_map_settings',
41
  [
42
- 'label' => esc_html__('Premium Maps', 'premium_elementor'),
43
  ]
44
  );
45
 
@@ -201,6 +201,13 @@ class Premium_Maps_Widget extends Widget_Base
201
  'type' => Controls_Manager::SWITCHER,
202
  ]
203
  );
 
 
 
 
 
 
 
204
 
205
  $this->add_control('premium_maps_map_type',
206
  [
@@ -239,7 +246,7 @@ class Premium_Maps_Widget extends Widget_Base
239
  /*Start Map Style Section*/
240
  $this->start_controls_section('premium_maps_box_style',
241
  [
242
- 'label' => esc_html__('Map Style', 'premium_elementor'),
243
  'tab' => Controls_Manager::TAB_STYLE,
244
  ]
245
  );
@@ -303,7 +310,7 @@ class Premium_Maps_Widget extends Widget_Base
303
  /*Start Title Style Section*/
304
  $this->start_controls_section('premium_maps_pin_title_style',
305
  [
306
- 'label' => esc_html__('Pin Title Style', 'premium_elementor'),
307
  'tab' => Controls_Manager::TAB_STYLE,
308
  ]
309
  );
@@ -387,7 +394,7 @@ class Premium_Maps_Widget extends Widget_Base
387
  /*Start Pin Style Section*/
388
  $this->start_controls_section('premium_maps_pin_text_style',
389
  [
390
- 'label' => esc_html__('Pin Content Style', 'premium_elementor'),
391
  'tab' => Controls_Manager::TAB_STYLE,
392
  ]
393
  );
@@ -506,7 +513,7 @@ class Premium_Maps_Widget extends Widget_Base
506
  $map_type_control = 'false';
507
  }
508
  ?>
509
- <div id="premium-map-script-trriger"></div>
510
  <div class="premium-maps-container" id="premium-maps-container">
511
  <div id="premium-maps-map-<?php echo esc_attr($this->get_id()); ?>" class="premium_maps_map_height"></div>
512
  </div>
@@ -514,11 +521,11 @@ class Premium_Maps_Widget extends Widget_Base
514
 
515
 
516
  <script>
517
- var premium_mapDiv = document.getElementById('premium-map-script-trriger');
518
  google.maps.event.addDomListener(premium_mapDiv, 'click', initMap);
519
  google.maps.event.addDomListener(window, 'load', initMap);
520
  jQuery(document).ready(function( $ ) {
521
- premium_mapDiv.click();
522
  });
523
 
524
  function initMap(){
@@ -538,9 +545,9 @@ class Premium_Maps_Widget extends Widget_Base
538
  <?php if( !empty( $settings['premium_maps_custom_styling'] ) ){ echo $map_custom_style; }?>
539
  });
540
 
541
- var infowindow = new google.maps.InfoWindow();
542
 
543
- var marker, i;
544
 
545
  for (i = 0; i < locations.length; i++) {
546
  marker = new google.maps.Marker({
@@ -548,8 +555,13 @@ class Premium_Maps_Widget extends Widget_Base
548
  icon: locations[i][4],
549
  map: map
550
  });
551
-
552
- google.maps.event.addListener(marker, 'click', (function(marker, i) {
 
 
 
 
 
553
  return function() {
554
  infowindow.setContent("<div class='premium-maps-info-container'><p class='premium-maps-info-title'>" + locations[i][0] + "</p><p class='premium-maps-info-desc'>" + locations[i][1] + "</p></div>");
555
  infowindow.open(map, marker);
39
  /* Start Map Settings Section */
40
  $this->start_controls_section('premium_maps_map_settings',
41
  [
42
+ 'label' => esc_html__('Center Location', 'premium_elementor'),
43
  ]
44
  );
45
 
201
  'type' => Controls_Manager::SWITCHER,
202
  ]
203
  );
204
+
205
+ $this->add_control('premium_maps_marker_open',
206
+ [
207
+ 'label' => esc_html__( 'Enable Marker Automatic Open', 'premium_elementor' ),
208
+ 'type' => Controls_Manager::SWITCHER,
209
+ ]
210
+ );
211
 
212
  $this->add_control('premium_maps_map_type',
213
  [
246
  /*Start Map Style Section*/
247
  $this->start_controls_section('premium_maps_box_style',
248
  [
249
+ 'label' => esc_html__('Map', 'premium_elementor'),
250
  'tab' => Controls_Manager::TAB_STYLE,
251
  ]
252
  );
310
  /*Start Title Style Section*/
311
  $this->start_controls_section('premium_maps_pin_title_style',
312
  [
313
+ 'label' => esc_html__('Pin Title', 'premium_elementor'),
314
  'tab' => Controls_Manager::TAB_STYLE,
315
  ]
316
  );
394
  /*Start Pin Style Section*/
395
  $this->start_controls_section('premium_maps_pin_text_style',
396
  [
397
+ 'label' => esc_html__('Pin Content', 'premium_elementor'),
398
  'tab' => Controls_Manager::TAB_STYLE,
399
  ]
400
  );
513
  $map_type_control = 'false';
514
  }
515
  ?>
516
+ <div id="premium-map-script-trriger-<?php echo esc_attr($this->get_id()); ?>"></div>
517
  <div class="premium-maps-container" id="premium-maps-container">
518
  <div id="premium-maps-map-<?php echo esc_attr($this->get_id()); ?>" class="premium_maps_map_height"></div>
519
  </div>
521
 
522
 
523
  <script>
524
+ var premium_mapDiv = document.getElementById('premium-map-script-trriger-<?php echo esc_attr($this->get_id()); ?>');
525
  google.maps.event.addDomListener(premium_mapDiv, 'click', initMap);
526
  google.maps.event.addDomListener(window, 'load', initMap);
527
  jQuery(document).ready(function( $ ) {
528
+ initMap();
529
  });
530
 
531
  function initMap(){
545
  <?php if( !empty( $settings['premium_maps_custom_styling'] ) ){ echo $map_custom_style; }?>
546
  });
547
 
548
+
549
 
550
+ var marker, i, infowindow;
551
 
552
  for (i = 0; i < locations.length; i++) {
553
  marker = new google.maps.Marker({
555
  icon: locations[i][4],
556
  map: map
557
  });
558
+ infowindow = new google.maps.InfoWindow({
559
+ content: "<div class='premium-maps-info-container'><p class='premium-maps-info-title'>" + locations[i][0] + "</p><p class='premium-maps-info-desc'>" + locations[i][1] + "</p></div>"
560
+ });
561
+ <?php if( $settings['premium_maps_marker_open'] == 'yes' ) : ?>
562
+ infowindow.open(map, marker);
563
+ <?php endif; ?>
564
+ google.maps.event.addListener(marker, 'click', (function(marker, i) {
565
  return function() {
566
  infowindow.setContent("<div class='premium-maps-info-container'><p class='premium-maps-info-title'>" + locations[i][0] + "</p><p class='premium-maps-info-desc'>" + locations[i][1] + "</p></div>");
567
  infowindow.open(map, marker);
widgets/premium-modalbox.php CHANGED
@@ -36,7 +36,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
36
 
37
  $this->start_controls_section('premium_modal_box_selector_content_section',
38
  [
39
- 'label' => esc_html__('Premium Modal Box', 'premium_elementor'),
40
  ]
41
  );
42
 
@@ -267,7 +267,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
267
  /*Selector Style*/
268
  $this->start_controls_section('premium_modal_box_selector_style_section',
269
  [
270
- 'label' => esc_html__('Selector Style', 'premium_elementor'),
271
  'tab' => Controls_Manager::TAB_STYLE,
272
  'condition' => [
273
  'premium_modal_box_display_on!' => 'pageload',
@@ -477,7 +477,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
477
 
478
  $this->start_controls_section('premium_modal_box_style',
479
  [
480
- 'label' => esc_html__('Modal Box Style', 'premium_elementor'),
481
  'tab' => Controls_Manager::TAB_STYLE,
482
  ]
483
  );
@@ -584,7 +584,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
584
  /*Start Header Seettings Section*/
585
  $this->start_controls_section('premium_modal_box_header_settings',
586
  [
587
- 'label' => esc_html__('Heading Style', 'premium_elementor'),
588
  'tab' => Controls_Manager::TAB_STYLE,
589
  ]
590
  );
@@ -618,7 +618,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
618
  /*Start Close Button Section*/
619
  $this->start_controls_section('premium_modal_box_upper_close_button_section',
620
  [
621
- 'label' => esc_html__('Upper Close Button Style', 'premium_elementor'),
622
  'tab' => Controls_Manager::TAB_STYLE,
623
  'condition' => [
624
  'premium_modal_box_upper_close' => 'yes',
@@ -767,7 +767,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
767
  /*Start Close Button Section*/
768
  $this->start_controls_section('premium_modal_box_lower_close_button_section',
769
  [
770
- 'label' => esc_html__('Lower Close Button Style', 'premium_elementor'),
771
  'tab' => Controls_Manager::TAB_STYLE,
772
  'condition' => [
773
  'premium_modal_box_lower_close' => 'yes',
36
 
37
  $this->start_controls_section('premium_modal_box_selector_content_section',
38
  [
39
+ 'label' => esc_html__('Modal Box Settings', 'premium_elementor'),
40
  ]
41
  );
42
 
267
  /*Selector Style*/
268
  $this->start_controls_section('premium_modal_box_selector_style_section',
269
  [
270
+ 'label' => esc_html__('Selector', 'premium_elementor'),
271
  'tab' => Controls_Manager::TAB_STYLE,
272
  'condition' => [
273
  'premium_modal_box_display_on!' => 'pageload',
477
 
478
  $this->start_controls_section('premium_modal_box_style',
479
  [
480
+ 'label' => esc_html__('Modal Box', 'premium_elementor'),
481
  'tab' => Controls_Manager::TAB_STYLE,
482
  ]
483
  );
584
  /*Start Header Seettings Section*/
585
  $this->start_controls_section('premium_modal_box_header_settings',
586
  [
587
+ 'label' => esc_html__('Heading', 'premium_elementor'),
588
  'tab' => Controls_Manager::TAB_STYLE,
589
  ]
590
  );
618
  /*Start Close Button Section*/
619
  $this->start_controls_section('premium_modal_box_upper_close_button_section',
620
  [
621
+ 'label' => esc_html__('Upper Close Button', 'premium_elementor'),
622
  'tab' => Controls_Manager::TAB_STYLE,
623
  'condition' => [
624
  'premium_modal_box_upper_close' => 'yes',
767
  /*Start Close Button Section*/
768
  $this->start_controls_section('premium_modal_box_lower_close_button_section',
769
  [
770
+ 'label' => esc_html__('Lower Close Button', 'premium_elementor'),
771
  'tab' => Controls_Manager::TAB_STYLE,
772
  'condition' => [
773
  'premium_modal_box_lower_close' => 'yes',
widgets/premium-person.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Person_Widget extends Widget_Base
34
  /*Start Premium Person Section*/
35
  $this->start_controls_section('premium_person_general_settings',
36
  [
37
- 'label' => esc_html__('Premium Person', 'premium_elementor')
38
  ]
39
  );
40
 
@@ -302,10 +302,54 @@ class Premium_Person_Widget extends Widget_Base
302
  /*End Social Links Section*/
303
  $this->end_controls_section();
304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  /*Start Name Style Section*/
306
  $this->start_controls_section('premium_person_name_style',
307
  [
308
- 'label' => esc_html__('Name Style', 'premium_elementor'),
309
  'tab' => Controls_Manager::TAB_STYLE,
310
  ]
311
  );
@@ -342,7 +386,7 @@ class Premium_Person_Widget extends Widget_Base
342
  /*Start Title Style Section*/
343
  $this->start_controls_section('premium_person_title_style',
344
  [
345
- 'label' => esc_html__('Job Title Style', 'premium_elementor'),
346
  'tab' => Controls_Manager::TAB_STYLE,
347
  ]
348
  );
@@ -378,7 +422,7 @@ class Premium_Person_Widget extends Widget_Base
378
  /*Start Description Style Section*/
379
  $this->start_controls_section('premium_person_description_style',
380
  [
381
- 'label' => esc_html__('Description Style', 'premium_elementor'),
382
  'tab' => Controls_Manager::TAB_STYLE,
383
  ]
384
  );
@@ -414,7 +458,7 @@ class Premium_Person_Widget extends Widget_Base
414
  /*Start Social Icon Style Section*/
415
  $this->start_controls_section('premium_person_social_icon_style',
416
  [
417
- 'label' => esc_html__('Social Icons Style', 'premium_elementor'),
418
  'tab' => Controls_Manager::TAB_STYLE,
419
  ]
420
  );
@@ -452,49 +496,6 @@ class Premium_Person_Widget extends Widget_Base
452
  /*End Description Style Section*/
453
  $this->end_controls_section();
454
 
455
- /*Start Content Style Section*/
456
- $this->start_controls_section('premium_person_general_style',
457
- [
458
- 'label' => esc_html__('Content Style', 'premium_elementor'),
459
- 'tab' => Controls_Manager::TAB_STYLE,
460
- ]
461
- );
462
-
463
- /*Content Background Color*/
464
- $this->add_control('premium_person_content_background_color',
465
- [
466
- 'label' => esc_html__('Content Background Color', 'premium_elementor'),
467
- 'type' => Controls_Manager::COLOR,
468
- 'default' => '#f5f5f5',
469
- 'selectors' => [
470
- '{{WRAPPER}} .premium-person-info' => 'background-color: {{VALUE}};',
471
- ]
472
- ]
473
- );
474
-
475
- /*Border Bottom Width*/
476
- $this->add_control('premium_person_border_bottom_width',
477
- [
478
- 'label' => esc_html__('Border Bottom Width (PX)', 'premium_elementor'),
479
- 'type' => Controls_Manager::SLIDER,
480
- 'range' => [
481
- 'px' => [
482
- 'min' => 0,
483
- 'max' => 700,
484
- ]
485
- ],
486
- 'default' => [
487
- 'size' => 20,
488
- ],
489
- 'label_block' => true,
490
- 'selectors' => [
491
- '{{WRAPPER}} .premium-person-info' => 'bottom: {{SIZE}}px;',
492
- ]
493
- ]
494
- );
495
-
496
- /*End General Style Section*/
497
- $this->end_controls_section();
498
  }
499
 
500
  protected function render($instance = [])
34
  /*Start Premium Person Section*/
35
  $this->start_controls_section('premium_person_general_settings',
36
  [
37
+ 'label' => esc_html__('Person Image', 'premium_elementor')
38
  ]
39
  );
40
 
302
  /*End Social Links Section*/
303
  $this->end_controls_section();
304
 
305
+ /*Start Content Style Section*/
306
+ $this->start_controls_section('premium_person_general_style',
307
+ [
308
+ 'label' => esc_html__('Content', 'premium_elementor'),
309
+ 'tab' => Controls_Manager::TAB_STYLE,
310
+ ]
311
+ );
312
+
313
+ /*Content Background Color*/
314
+ $this->add_control('premium_person_content_background_color',
315
+ [
316
+ 'label' => esc_html__('Content Background Color', 'premium_elementor'),
317
+ 'type' => Controls_Manager::COLOR,
318
+ 'default' => '#f5f5f5',
319
+ 'selectors' => [
320
+ '{{WRAPPER}} .premium-person-info' => 'background-color: {{VALUE}};',
321
+ ]
322
+ ]
323
+ );
324
+
325
+ /*Border Bottom Width*/
326
+ $this->add_control('premium_person_border_bottom_width',
327
+ [
328
+ 'label' => esc_html__('Border Bottom Width (PX)', 'premium_elementor'),
329
+ 'type' => Controls_Manager::SLIDER,
330
+ 'range' => [
331
+ 'px' => [
332
+ 'min' => 0,
333
+ 'max' => 700,
334
+ ]
335
+ ],
336
+ 'default' => [
337
+ 'size' => 20,
338
+ ],
339
+ 'label_block' => true,
340
+ 'selectors' => [
341
+ '{{WRAPPER}} .premium-person-info' => 'bottom: {{SIZE}}px;',
342
+ ]
343
+ ]
344
+ );
345
+
346
+ /*End Content Style Section*/
347
+ $this->end_controls_section();
348
+
349
  /*Start Name Style Section*/
350
  $this->start_controls_section('premium_person_name_style',
351
  [
352
+ 'label' => esc_html__('Name', 'premium_elementor'),
353
  'tab' => Controls_Manager::TAB_STYLE,
354
  ]
355
  );
386
  /*Start Title Style Section*/
387
  $this->start_controls_section('premium_person_title_style',
388
  [
389
+ 'label' => esc_html__('Job Title', 'premium_elementor'),
390
  'tab' => Controls_Manager::TAB_STYLE,
391
  ]
392
  );
422
  /*Start Description Style Section*/
423
  $this->start_controls_section('premium_person_description_style',
424
  [
425
+ 'label' => esc_html__('Description', 'premium_elementor'),
426
  'tab' => Controls_Manager::TAB_STYLE,
427
  ]
428
  );
458
  /*Start Social Icon Style Section*/
459
  $this->start_controls_section('premium_person_social_icon_style',
460
  [
461
+ 'label' => esc_html__('Social Icons', 'premium_elementor'),
462
  'tab' => Controls_Manager::TAB_STYLE,
463
  ]
464
  );
496
  /*End Description Style Section*/
497
  $this->end_controls_section();
498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
  }
500
 
501
  protected function render($instance = [])
widgets/premium-pricing-table.php CHANGED
@@ -35,10 +35,17 @@ class Premium_Pricing_Table_Widget extends Widget_Base
35
  /* Start Title Settings Section */
36
  $this->start_controls_section('premium_pricing_table_title',
37
  [
38
- 'label' => esc_html__('Premium Pricing Table', 'premium_elementor'),
39
  ]
40
  );
41
 
 
 
 
 
 
 
 
42
  $this->add_control('premium_pricing_table_title_switcher',
43
  [
44
  'label' => esc_html__('Title', 'premium_elementor'),
@@ -55,11 +62,18 @@ class Premium_Pricing_Table_Widget extends Widget_Base
55
  ]
56
  );
57
 
 
 
 
 
 
 
 
 
58
  $this->add_control('premium_pricing_table_description_switcher',
59
  [
60
  'label' => esc_html__('Description', 'premium_elementor'),
61
  'type' => Controls_Manager::SWITCHER,
62
- 'default' => 'yes',
63
  ]
64
  );
65
 
@@ -71,12 +85,39 @@ class Premium_Pricing_Table_Widget extends Widget_Base
71
  ]
72
  );
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  $this->end_controls_section();
75
 
76
  /*Title Content Section*/
77
  $this->start_controls_section('premium_pricing_table_title_section',
78
  [
79
- 'label' => esc_html__('Title Content', 'premium_elementor'),
80
  'condition' => [
81
  'premium_pricing_table_title_switcher' => 'yes',
82
  ]
@@ -118,7 +159,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
118
  /*Price Content Section*/
119
  $this->start_controls_section('premium_pricing_table_price_section',
120
  [
121
- 'label' => esc_html__('Price Content', 'premium_elementor'),
122
  'condition' => [
123
  'premium_pricing_table_price_switcher' => 'yes',
124
  ]
@@ -148,7 +189,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
148
  /*Price Separator*/
149
  $this->add_control('premium_pricing_table_price_separator',
150
  [
151
- 'label' => esc_html__('Separator', 'premium_elementor'),
152
  'default' => '/',
153
  'type' => Controls_Manager::TEXT,
154
  'label_block' => true,
@@ -167,10 +208,81 @@ class Premium_Pricing_Table_Widget extends Widget_Base
167
 
168
  $this->end_controls_section();
169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  /*Description Content Section*/
171
  $this->start_controls_section('premium_pricing_table_description_section',
172
  [
173
- 'label' => esc_html__('Description Content', 'premium_elementor'),
174
  'condition' => [
175
  'premium_pricing_table_description_switcher' => 'yes',
176
  ]
@@ -192,7 +304,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
192
  /*Button Content Section*/
193
  $this->start_controls_section('premium_pricing_table_button_section',
194
  [
195
- 'label' => esc_html__('Button Content', 'premium_elementor'),
196
  'condition' => [
197
  'premium_pricing_table_button_switcher' => 'yes',
198
  ]
@@ -210,15 +322,6 @@ class Premium_Pricing_Table_Widget extends Widget_Base
210
  ]
211
  );
212
 
213
- /*Button Url Switcher*/
214
- $this->add_control('premium_pricing_table_button_url_switcher',
215
- [
216
- 'label' => esc_html__('URL', 'premium_elementor'),
217
- 'type' => Controls_Manager::SWITCHER,
218
- 'description' => esc_html__('Add a custom link or select an existing page link','premium_elementor'),
219
- ]
220
- );
221
-
222
  /*Button Url Type*/
223
  $this->add_control('premium_pricing_table_button_url_type',
224
  [
@@ -229,9 +332,6 @@ class Premium_Pricing_Table_Widget extends Widget_Base
229
  'link' => esc_html__('Link to Existing Content', 'premium_elementor'),
230
  ],
231
  'default' => 'url',
232
- 'condition' => [
233
- 'premium_pricing_table_button_url_switcher' => 'yes',
234
- ],
235
  'label_block' => true,
236
  ]
237
  );
@@ -243,7 +343,6 @@ class Premium_Pricing_Table_Widget extends Widget_Base
243
  'label' => esc_html__('URL', 'premium_elementor'),
244
  'type' => Controls_Manager::TEXT,
245
  'condition' => [
246
- 'premium_pricing_table_button_url_switcher' => 'yes',
247
  'premium_pricing_table_button_url_type' => 'url',
248
  ],
249
  'label_block' => true,
@@ -257,7 +356,6 @@ class Premium_Pricing_Table_Widget extends Widget_Base
257
  'type' => Controls_Manager::SELECT,
258
  'options' => $this->getTemplateInstance()->get_all_post(),
259
  'condition' => [
260
- 'premium_pricing_table_button_url_switcher' => 'yes',
261
  'premium_pricing_table_button_url_type' => 'link',
262
  ],
263
  'label_block' => true,
@@ -278,21 +376,89 @@ class Premium_Pricing_Table_Widget extends Widget_Base
278
  'top' => esc_html('Top'),
279
  ],
280
  'default' => esc_html__('blank','premium_elementor'),
281
- 'condition' => [
282
- 'premium_pricing_table_button_url_switcher' => 'yes',
283
- ],
284
  'label_block' => true,
285
  ]
286
  );
287
 
288
  /*End Button Settings Section*/
289
  $this->end_controls_section();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
 
291
  /*Start Styling Section*/
292
  /*Start Box Style Settings*/
293
  $this->start_controls_section('premium_pricing_box_style_settings',
294
  [
295
- 'label' => esc_html__('Box Style', 'premium_elementor'),
296
  'tab' => Controls_Manager::TAB_STYLE,
297
  ]
298
  );
@@ -363,7 +529,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
363
  'type' => Controls_Manager::DIMENSIONS,
364
  'size_units' => ['px', 'em', '%'],
365
  'default' => [
366
- 'top' => 64,
367
  'right' => 64,
368
  'bottom'=> 64,
369
  'left' => 64,
@@ -440,7 +606,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
440
  'type' => Controls_Manager::DIMENSIONS,
441
  'size_units' => ['px', 'em', '%'],
442
  'default' => [
443
- 'top' => 64,
444
  'right' => 64,
445
  'bottom'=> 64,
446
  'left' => 64,
@@ -459,18 +625,133 @@ class Premium_Pricing_Table_Widget extends Widget_Base
459
  /*End Box Style Settings*/
460
  $this->end_controls_section();
461
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
462
  /*Start Title Style Settings */
463
  $this->start_controls_section('premium_pricing_title_style_settings',
464
  [
465
- 'label' => esc_html__('Title Style', 'premium_elementor'),
466
  'tab' => Controls_Manager::TAB_STYLE,
 
 
 
467
  ]
468
  );
469
 
470
  /*Title Color*/
471
  $this->add_control('premium_pricing_title_color',
472
  [
473
- 'label' => esc_html__('Color', 'premium_elementor'),
474
  'type' => Controls_Manager::COLOR,
475
  'scheme' => [
476
  'type' => Scheme_Color::get_type(),
@@ -521,7 +802,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
521
  ]
522
  );
523
 
524
- /*Title Margin*/
525
  $this->add_control('premium_pricing_title_padding',
526
  [
527
  'label' => esc_html__('Padding', 'premium_elementor'),
@@ -547,37 +828,14 @@ class Premium_Pricing_Table_Widget extends Widget_Base
547
  /*Start Price Style Settings */
548
  $this->start_controls_section('premium_pricing_price_style_settings',
549
  [
550
- 'label' => esc_html__('Price Style', 'premium_elementor'),
551
  'tab' => Controls_Manager::TAB_STYLE,
 
 
 
552
  ]
553
  );
554
-
555
- /*Price Selection*/
556
- $this->add_control('premium_pricing_price_style_selection',
557
- [
558
- 'type' => Controls_Manager::CHOOSE,
559
- 'options' => [
560
- 'currency' => [
561
- 'title' => __( 'Currency', 'elementor' ),
562
- 'icon' => 'fa fa-usd',
563
- ],
564
- 'value' => [
565
- 'title' => __( 'Value', 'elementor' ),
566
- 'icon' => 'fa fa-money',
567
- ],
568
- 'separator' => [
569
- 'title' => __( 'Separator', 'elementor' ),
570
- 'icon' => 'fa fa-window-minimize',
571
- ],
572
- 'duration' => [
573
- 'title' => __( 'Duration', 'elementor' ),
574
- 'icon' => 'fa fa-clock-o',
575
- ],
576
- ],
577
- 'default' => 'currency',
578
- ]
579
- );
580
-
581
  /*Currency Color*/
582
  $this->add_control('premium_pricing_currency_color',
583
  [
@@ -590,31 +848,62 @@ class Premium_Pricing_Table_Widget extends Widget_Base
590
  'selectors' => [
591
  '{{WRAPPER}} .premium-pricing-price-currency' => 'color: {{VALUE}};'
592
  ],
593
- 'condition' => [
594
- 'premium_pricing_price_style_selection' => 'currency'
595
- ]
596
  ]
597
  );
598
 
599
  /*Currency Typo*/
600
  $this->add_group_control(
601
  Group_Control_Typography::get_type(),
602
- [
 
603
  'name' => 'currency_typo',
604
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
605
  'selector' => '{{WRAPPER}} .premium-pricing-price-currency',
606
- 'condition' => [
607
- 'premium_pricing_price_style_selection' => 'currency'
608
- ],
609
- ]
610
- );
611
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
612
 
 
 
 
 
 
 
 
 
 
 
 
613
 
614
  /*Price Color*/
615
  $this->add_control('premium_pricing_price_color',
616
  [
617
- 'label' => esc_html__('Color', 'premium_elementor'),
618
  'type' => Controls_Manager::COLOR,
619
  'scheme' => [
620
  'type' => Scheme_Color::get_type(),
@@ -623,9 +912,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
623
  'selectors' => [
624
  '{{WRAPPER}} .premium-pricing-price-value' => 'color: {{VALUE}};'
625
  ],
626
- 'condition' => [
627
- 'premium_pricing_price_style_selection' => 'value'
628
- ]
629
  ]
630
  );
631
 
@@ -633,19 +920,28 @@ class Premium_Pricing_Table_Widget extends Widget_Base
633
  $this->add_group_control(
634
  Group_Control_Typography::get_type(),
635
  [
 
636
  'name' => 'price_typo',
637
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
638
  'selector' => '{{WRAPPER}} .premium-pricing-price-value',
639
- 'condition' => [
640
- 'premium_pricing_price_style_selection' => 'value'
641
- ]
 
 
 
 
 
 
 
642
  ]
643
- );
 
644
 
645
  /*Separator Color*/
646
  $this->add_control('premium_pricing_sep_color',
647
  [
648
- 'label' => esc_html__('Color', 'premium_elementor'),
649
  'type' => Controls_Manager::COLOR,
650
  'scheme' => [
651
  'type' => Scheme_Color::get_type(),
@@ -654,9 +950,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
654
  'selectors' => [
655
  '{{WRAPPER}} .premium-pricing-price-separator' => 'color: {{VALUE}};'
656
  ],
657
- 'condition' => [
658
- 'premium_pricing_price_style_selection' => 'separator'
659
- ]
660
  ]
661
  );
662
 
@@ -664,19 +958,28 @@ class Premium_Pricing_Table_Widget extends Widget_Base
664
  $this->add_group_control(
665
  Group_Control_Typography::get_type(),
666
  [
 
667
  'name' => 'separator_typo',
668
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
669
  'selector' => '{{WRAPPER}} .premium-pricing-price-separator',
670
- 'condition' => [
671
- 'premium_pricing_price_style_selection' => 'separator'
672
- ]
673
  ]
674
  );
675
 
 
 
 
 
 
 
 
 
 
 
 
676
  /*Duration Color*/
677
  $this->add_control('premium_pricing_dur_color',
678
  [
679
- 'label' => esc_html__('Color', 'premium_elementor'),
680
  'type' => Controls_Manager::COLOR,
681
  'scheme' => [
682
  'type' => Scheme_Color::get_type(),
@@ -685,9 +988,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
685
  'selectors' => [
686
  '{{WRAPPER}} .premium-pricing-price-duration' => 'color: {{VALUE}};'
687
  ],
688
- 'condition' => [
689
- 'premium_pricing_price_style_selection' => 'duration'
690
- ]
691
  ]
692
  );
693
 
@@ -695,15 +996,25 @@ class Premium_Pricing_Table_Widget extends Widget_Base
695
  $this->add_group_control(
696
  Group_Control_Typography::get_type(),
697
  [
 
698
  'name' => 'duration_typo',
699
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
700
  'selector' => '{{WRAPPER}} .premium-pricing-price-duration',
701
- 'condition' => [
702
- 'premium_pricing_price_style_selection' => 'duration'
703
- ]
704
  ]
705
  );
706
 
 
 
 
 
 
 
 
 
 
 
 
 
707
  /*Price Background*/
708
  $this->add_group_control(
709
  Group_Control_Background::get_type(),
@@ -716,7 +1027,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
716
  );
717
 
718
  /*Price Margin*/
719
- $this->add_control('premium_pricing_price_margin',
720
  [
721
  'label' => esc_html__('Margin', 'premium_elementor'),
722
  'type' => Controls_Manager::DIMENSIONS,
@@ -750,18 +1061,165 @@ class Premium_Pricing_Table_Widget extends Widget_Base
750
  /*End Price Style Settings */
751
  $this->end_controls_section();
752
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
  /*Start Description Style Settings */
754
  $this->start_controls_section('premium_pricing_description_style_settings',
755
  [
756
- 'label' => esc_html__('Description Style', 'premium_elementor'),
757
  'tab' => Controls_Manager::TAB_STYLE,
 
 
 
758
  ]
759
  );
760
 
761
  /*Description Color*/
762
  $this->add_control('premium_pricing_desc_color',
763
  [
764
- 'label' => esc_html__('Color', 'premium_elementor'),
765
  'type' => Controls_Manager::COLOR,
766
  'scheme' => [
767
  'type' => Scheme_Color::get_type(),
@@ -831,15 +1289,18 @@ class Premium_Pricing_Table_Widget extends Widget_Base
831
  /*Start Button Style Settings */
832
  $this->start_controls_section('premium_pricing_button_style_settings',
833
  [
834
- 'label' => esc_html__('Button Style', 'premium_elementor'),
835
  'tab' => Controls_Manager::TAB_STYLE,
 
 
 
836
  ]
837
  );
838
 
839
  /*Button Color*/
840
  $this->add_control('premium_pricing_button_color',
841
  [
842
- 'label' => esc_html__('Color', 'premium_elementor'),
843
  'type' => Controls_Manager::COLOR,
844
  'scheme' => [
845
  'type' => Scheme_Color::get_type(),
@@ -1008,6 +1469,79 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1008
 
1009
  /*End Button Style Section*/
1010
  $this->end_controls_section();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1011
  }
1012
 
1013
  protected function render($instance = [])
@@ -1017,7 +1551,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1017
 
1018
  $title_tag = $settings['premium_pricing_table_title_size'];
1019
  $link_type = $settings['premium_pricing_table_button_url_type'];
1020
-
1021
  if($link_type == 'link'){
1022
  $link_url = get_permalink($settings['premium_pricing_table_button_link_existing_content']);
1023
  } elseif ($link_type == 'url') {
@@ -1026,6 +1560,14 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1026
  ?>
1027
 
1028
  <div class="premium-pricing-table-container">
 
 
 
 
 
 
 
 
1029
  <?php if($settings['premium_pricing_table_title_switcher'] == 'yes') : ?>
1030
  <<?php echo $title_tag;?> class="premium-pricing-table-title"><?php echo $settings['premium_pricing_table_title_text'];?></<?php echo $title_tag;?>><?php endif; ?>
1031
  <?php if($settings['premium_pricing_table_price_switcher'] == 'yes') : ?>
@@ -1035,7 +1577,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1035
  </span>
1036
  <span class="premium-pricing-price-value">
1037
  <?php echo $settings['premium_pricing_table_price_value']; ?>
1038
- </span>
1039
  <span class="premium-pricing-price-separator">
1040
  <?php echo $settings['premium_pricing_table_price_separator']; ?>
1041
  </span>
@@ -1044,6 +1586,14 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1044
  </span>
1045
  </div>
1046
  <?php endif; ?>
 
 
 
 
 
 
 
 
1047
  <?php if($settings['premium_pricing_table_description_switcher'] == 'yes') : ?>
1048
  <div class="premium-pricing-description-container">
1049
  <?php echo $settings['premium_pricing_table_description_text']; ?>
35
  /* Start Title Settings Section */
36
  $this->start_controls_section('premium_pricing_table_title',
37
  [
38
+ 'label' => esc_html__('Display Options', 'premium_elementor'),
39
  ]
40
  );
41
 
42
+ $this->add_control('premium_pricing_table_icon_switcher',
43
+ [
44
+ 'label' => esc_html__('Icon', 'premium_elementor'),
45
+ 'type' => Controls_Manager::SWITCHER,
46
+ ]
47
+ );
48
+
49
  $this->add_control('premium_pricing_table_title_switcher',
50
  [
51
  'label' => esc_html__('Title', 'premium_elementor'),
62
  ]
63
  );
64
 
65
+ $this->add_control('premium_pricing_table_list_switcher',
66
+ [
67
+ 'label' => esc_html__('Icon List', 'premium_elementor'),
68
+ 'type' => Controls_Manager::SWITCHER,
69
+ 'default' => 'yes',
70
+ ]
71
+ );
72
+
73
  $this->add_control('premium_pricing_table_description_switcher',
74
  [
75
  'label' => esc_html__('Description', 'premium_elementor'),
76
  'type' => Controls_Manager::SWITCHER,
 
77
  ]
78
  );
79
 
85
  ]
86
  );
87
 
88
+ $this->add_control('premium_pricing_table_badge_switcher',
89
+ [
90
+ 'label' => esc_html__('Badge', 'premium_elementor'),
91
+ 'type' => Controls_Manager::SWITCHER,
92
+ ]
93
+ );
94
+
95
+ $this->end_controls_section();
96
+
97
+ /*Title Content Section*/
98
+ $this->start_controls_section('premium_pricing_table_icon_section',
99
+ [
100
+ 'label' => esc_html__('Icon', 'premium_elementor'),
101
+ 'condition' => [
102
+ 'premium_pricing_table_icon_switcher' => 'yes',
103
+ ]
104
+ ]
105
+ );
106
+
107
+ $this->add_control('premium_pricing_table_icon_selection',
108
+ [
109
+ 'label' => esc_html__('Select an Icon', 'premium_elementor'),
110
+ 'type' => Controls_Manager::ICON,
111
+ 'default' => 'fa fa-check'
112
+ ]
113
+ );
114
+
115
  $this->end_controls_section();
116
 
117
  /*Title Content Section*/
118
  $this->start_controls_section('premium_pricing_table_title_section',
119
  [
120
+ 'label' => esc_html__('Title', 'premium_elementor'),
121
  'condition' => [
122
  'premium_pricing_table_title_switcher' => 'yes',
123
  ]
159
  /*Price Content Section*/
160
  $this->start_controls_section('premium_pricing_table_price_section',
161
  [
162
+ 'label' => esc_html__('Price', 'premium_elementor'),
163
  'condition' => [
164
  'premium_pricing_table_price_switcher' => 'yes',
165
  ]
189
  /*Price Separator*/
190
  $this->add_control('premium_pricing_table_price_separator',
191
  [
192
+ 'label' => esc_html__('Divider', 'premium_elementor'),
193
  'default' => '/',
194
  'type' => Controls_Manager::TEXT,
195
  'label_block' => true,
208
 
209
  $this->end_controls_section();
210
 
211
+ /*Icon List Content Section*/
212
+ $this->start_controls_section('premium_pricing_table_list_section',
213
+ [
214
+ 'label' => esc_html__('Icon List', 'premium_elementor'),
215
+ 'condition' => [
216
+ 'premium_pricing_table_list_switcher' => 'yes',
217
+ ]
218
+ ]
219
+ );
220
+
221
+ $this->add_control('premium_fancy_text_list_items',
222
+ [
223
+ 'label' => esc_html__( 'Icon List Items', 'premium_elementor' ),
224
+ 'type' => Controls_Manager::REPEATER,
225
+ 'default' => [
226
+ [
227
+ 'premium_pricing_list_item_icon' => 'fa fa-check',
228
+ 'premium_pricing_list_item_text' => esc_html__( 'Item 1', 'premium_elementor' ),
229
+ ],
230
+ [
231
+ 'premium_pricing_list_item_icon' => 'fa fa-check',
232
+ 'premium_pricing_list_item_text' => esc_html__( 'Item 2', 'premium_elementor' ),
233
+ ],
234
+ [
235
+ 'premium_pricing_list_item_icon' => 'fa fa-check',
236
+ 'premium_pricing_list_item_text' => esc_html__( 'Item 3', 'premium_elementor' ),
237
+ ],
238
+ ],
239
+ 'fields' => [
240
+ [
241
+ 'name' => 'premium_pricing_list_item_icon',
242
+ 'label' => esc_html__( 'Item Icon', 'premium_elementor' ),
243
+ 'type' => Controls_Manager::ICON,
244
+ ],
245
+ [
246
+ 'name' => 'premium_pricing_list_item_text',
247
+ 'label' => esc_html__( 'Item Text', 'premium_elementor' ),
248
+ 'type' => Controls_Manager::TEXT,
249
+ 'label_block' => true,
250
+ ],
251
+ ],
252
+ ]
253
+ );
254
+
255
+ $this->add_responsive_control('premium_pricing_table_list_align',
256
+ [
257
+ 'label' => __( 'List Alignment', 'elementor' ),
258
+ 'type' => Controls_Manager::CHOOSE,
259
+ 'options' => [
260
+ 'left' => [
261
+ 'title' => __( 'Left', 'elementor' ),
262
+ 'icon' => 'fa fa-align-left',
263
+ ],
264
+ 'center' => [
265
+ 'title' => __( 'Center', 'elementor' ),
266
+ 'icon' => 'fa fa-align-center',
267
+ ],
268
+ 'right' => [
269
+ 'title' => __( 'Right', 'elementor' ),
270
+ 'icon' => 'fa fa-align-right',
271
+ ],
272
+ ],
273
+ 'selectors' => [
274
+ '{{WRAPPER}} .premium-pricing-list' => 'text-align: {{VALUE}}',
275
+ ],
276
+ 'default' => 'center',
277
+ ]
278
+ );
279
+
280
+ $this->end_controls_section();
281
+
282
  /*Description Content Section*/
283
  $this->start_controls_section('premium_pricing_table_description_section',
284
  [
285
+ 'label' => esc_html__('Description', 'premium_elementor'),
286
  'condition' => [
287
  'premium_pricing_table_description_switcher' => 'yes',
288
  ]
304
  /*Button Content Section*/
305
  $this->start_controls_section('premium_pricing_table_button_section',
306
  [
307
+ 'label' => esc_html__('Button', 'premium_elementor'),
308
  'condition' => [
309
  'premium_pricing_table_button_switcher' => 'yes',
310
  ]
322
  ]
323
  );
324
 
 
 
 
 
 
 
 
 
 
325
  /*Button Url Type*/
326
  $this->add_control('premium_pricing_table_button_url_type',
327
  [
332
  'link' => esc_html__('Link to Existing Content', 'premium_elementor'),
333
  ],
334
  'default' => 'url',
 
 
 
335
  'label_block' => true,
336
  ]
337
  );
343
  'label' => esc_html__('URL', 'premium_elementor'),
344
  'type' => Controls_Manager::TEXT,
345
  'condition' => [
 
346
  'premium_pricing_table_button_url_type' => 'url',
347
  ],
348
  'label_block' => true,
356
  'type' => Controls_Manager::SELECT,
357
  'options' => $this->getTemplateInstance()->get_all_post(),
358
  'condition' => [
 
359
  'premium_pricing_table_button_url_type' => 'link',
360
  ],
361
  'label_block' => true,
376
  'top' => esc_html('Top'),
377
  ],
378
  'default' => esc_html__('blank','premium_elementor'),
 
 
 
379
  'label_block' => true,
380
  ]
381
  );
382
 
383
  /*End Button Settings Section*/
384
  $this->end_controls_section();
385
+
386
+ /*Button Content Section*/
387
+ $this->start_controls_section('premium_pricing_table_bagde_section',
388
+ [
389
+ 'label' => esc_html__('Badge', 'premium_elementor'),
390
+ 'condition' => [
391
+ 'premium_pricing_table_badge_switcher' => 'yes',
392
+ ]
393
+ ]
394
+ );
395
+
396
+ $this->add_control('premium_pricing_table_badge_position',
397
+ [
398
+ 'label' => esc_html__('Badge Position', 'premium_elementor'),
399
+ 'type' => Controls_Manager::SELECT,
400
+ 'options' => [
401
+ 'right' => esc_html__('Right', 'premium_elementor'),
402
+ 'left' => esc_html__('Left', 'premium_elementor'),
403
+ ],
404
+ 'default' => 'right',
405
+ ]
406
+ );
407
+
408
+ $this->add_control('premium_pricing_table_badge_text',
409
+ [
410
+ 'label' => esc_html__('Badge Text', 'premium_elementor'),
411
+ 'default' => esc_html__('20% Offer', 'premium_elementor'),
412
+ 'type' => Controls_Manager::TEXT,
413
+ 'label_block' => true,
414
+ ]
415
+ );
416
+
417
+ $this->add_control('premium_pricing_table_badge_left_size',
418
+ [
419
+ 'label' => esc_html__('Badge Size', 'premium_elementor'),
420
+ 'type' => Controls_Manager::SLIDER,
421
+ 'range' => [
422
+ 'px' => [
423
+ 'min' => 1,
424
+ 'max' => 300,
425
+ ],
426
+ ],
427
+ 'selectors' => [
428
+ '{{WRAPPER}} .premium-badge-left .corner' => 'border-top-width: {{SIZE}}px; border-bottom-width: {{SIZE}}px; border-right-width: {{SIZE}}px;'
429
+ ],
430
+ 'condition' => [
431
+ 'premium_pricing_table_badge_position' => 'left'
432
+ ]
433
+ ]
434
+ );
435
+
436
+ $this->add_control('premium_pricing_table_badge_right_size',
437
+ [
438
+ 'label' => esc_html__('Badge Size', 'premium_elementor'),
439
+ 'type' => Controls_Manager::SLIDER,
440
+ 'range' => [
441
+ 'px' => [
442
+ 'min' => 1,
443
+ 'max' => 300,
444
+ ],
445
+ ],
446
+ 'selectors' => [
447
+ '{{WRAPPER}} .premium-badge-right .corner' => 'border-right-width: {{SIZE}}px; border-bottom-width: {{SIZE}}px; border-left-width: {{SIZE}}px;'
448
+ ],
449
+ 'condition' => [
450
+ 'premium_pricing_table_badge_position' => 'right'
451
+ ]
452
+ ]
453
+ );
454
+
455
+ $this->end_controls_section();
456
 
457
  /*Start Styling Section*/
458
  /*Start Box Style Settings*/
459
  $this->start_controls_section('premium_pricing_box_style_settings',
460
  [
461
+ 'label' => esc_html__('Box', 'premium_elementor'),
462
  'tab' => Controls_Manager::TAB_STYLE,
463
  ]
464
  );
529
  'type' => Controls_Manager::DIMENSIONS,
530
  'size_units' => ['px', 'em', '%'],
531
  'default' => [
532
+ 'top' => 0,
533
  'right' => 64,
534
  'bottom'=> 64,
535
  'left' => 64,
606
  'type' => Controls_Manager::DIMENSIONS,
607
  'size_units' => ['px', 'em', '%'],
608
  'default' => [
609
+ 'top' => 0,
610
  'right' => 64,
611
  'bottom'=> 64,
612
  'left' => 64,
625
  /*End Box Style Settings*/
626
  $this->end_controls_section();
627
 
628
+ /*Start Icon Style Settings */
629
+ $this->start_controls_section('premium_pricing_icon_style_settings',
630
+ [
631
+ 'label' => esc_html__('Icon', 'premium_elementor'),
632
+ 'tab' => Controls_Manager::TAB_STYLE,
633
+ 'condition' => [
634
+ 'premium_pricing_table_icon_switcher' => 'yes',
635
+ ]
636
+ ]
637
+ );
638
+
639
+ /*Icon Color*/
640
+ $this->add_control('premium_pricing_icon_color',
641
+ [
642
+ 'label' => esc_html__('Icon Color', 'premium_elementor'),
643
+ 'type' => Controls_Manager::COLOR,
644
+ 'scheme' => [
645
+ 'type' => Scheme_Color::get_type(),
646
+ 'value' => Scheme_Color::COLOR_1,
647
+ ],
648
+ 'selectors' => [
649
+ '{{WRAPPER}} .premium-pricing-icon-container' => 'color: {{VALUE}};'
650
+ ]
651
+ ]
652
+ );
653
+
654
+ $this->add_control('premium_pricing_icon_size',
655
+ [
656
+ 'label' => esc_html__('Size', 'premium_elementor'),
657
+ 'type' => Controls_Manager::SLIDER,
658
+ 'default' => [
659
+ 'size' => 25,
660
+ ],
661
+ 'selectors' => [
662
+ '{{WRAPPER}} .premium-pricing-icon-container' => 'font-size: {{SIZE}}px',
663
+ ]
664
+ ]
665
+ );
666
+
667
+ /*Icon Background*/
668
+ $this->add_group_control(
669
+ Group_Control_Background::get_type(),
670
+ [
671
+ 'name' => 'premium_pricing_table_icon_background',
672
+ 'types' => [ 'classic' , 'gradient' ],
673
+ 'selector' => '{{WRAPPER}} .premium-pricing-icon-container',
674
+ ]
675
+ );
676
+
677
+ /*Icon Border*/
678
+ $this->add_group_control(
679
+ Group_Control_Border::get_type(),
680
+ [
681
+ 'name' => 'premium_pricing_icon_border',
682
+ 'selector' => '{{WRAPPER}} .premium-pricing-icon-container',
683
+ ]
684
+ );
685
+
686
+ /*Icon Border Radius*/
687
+ $this->add_control('premium_pricing_icon_border_radius',
688
+ [
689
+ 'label' => esc_html__('Border Radius', 'premium_elementor'),
690
+ 'type' => Controls_Manager::SLIDER,
691
+ 'size_units' => ['px', '%' ,'em'],
692
+ 'selectors' => [
693
+ '{{WRAPPER}} .premium-pricing-icon-container' => 'border-radius: {{SIZE}}{{UNIT}};'
694
+ ]
695
+ ]
696
+ );
697
+
698
+ /*Icon Margin*/
699
+ $this->add_control('premium_pricing_icon_margin',
700
+ [
701
+ 'label' => esc_html__('Margin', 'premium_elementor'),
702
+ 'type' => Controls_Manager::DIMENSIONS,
703
+ 'size_units' => ['px', 'em', '%'],
704
+ 'default' => [
705
+ 'top' => 50,
706
+ 'right' => 0,
707
+ 'bottom'=> 0,
708
+ 'left' => 0,
709
+ 'unit' => 'px',
710
+ ],
711
+ 'selectors' => [
712
+ '{{WRAPPER}} .premium-pricing-icon-container' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
713
+ ]
714
+ ]
715
+ );
716
+
717
+ /*Icon Padding*/
718
+ $this->add_control('premium_pricing_icon_padding',
719
+ [
720
+ 'label' => esc_html__('Padding', 'premium_elementor'),
721
+ 'type' => Controls_Manager::DIMENSIONS,
722
+ 'size_units' => ['px', 'em', '%'],
723
+ 'default' => [
724
+ 'top' => 0,
725
+ 'right' => 0,
726
+ 'bottom'=> 0,
727
+ 'left' => 0,
728
+ 'unit' => 'px',
729
+ ],
730
+ 'selectors' => [
731
+ '{{WRAPPER}} .premium-pricing-icon-container' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
732
+ ]
733
+ ]
734
+ );
735
+
736
+ /*End Icon Style Settings */
737
+ $this->end_controls_section();
738
+
739
+
740
  /*Start Title Style Settings */
741
  $this->start_controls_section('premium_pricing_title_style_settings',
742
  [
743
+ 'label' => esc_html__('Title', 'premium_elementor'),
744
  'tab' => Controls_Manager::TAB_STYLE,
745
+ 'condition' => [
746
+ 'premium_pricing_table_title_switcher' => 'yes',
747
+ ]
748
  ]
749
  );
750
 
751
  /*Title Color*/
752
  $this->add_control('premium_pricing_title_color',
753
  [
754
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
755
  'type' => Controls_Manager::COLOR,
756
  'scheme' => [
757
  'type' => Scheme_Color::get_type(),
802
  ]
803
  );
804
 
805
+ /*Title Padding*/
806
  $this->add_control('premium_pricing_title_padding',
807
  [
808
  'label' => esc_html__('Padding', 'premium_elementor'),
828
  /*Start Price Style Settings */
829
  $this->start_controls_section('premium_pricing_price_style_settings',
830
  [
831
+ 'label' => esc_html__('Price', 'premium_elementor'),
832
  'tab' => Controls_Manager::TAB_STYLE,
833
+ 'condition' => [
834
+ 'premium_pricing_table_price_switcher' => 'yes',
835
+ ]
836
  ]
837
  );
838
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
839
  /*Currency Color*/
840
  $this->add_control('premium_pricing_currency_color',
841
  [
848
  'selectors' => [
849
  '{{WRAPPER}} .premium-pricing-price-currency' => 'color: {{VALUE}};'
850
  ],
 
 
 
851
  ]
852
  );
853
 
854
  /*Currency Typo*/
855
  $this->add_group_control(
856
  Group_Control_Typography::get_type(),
857
+ [
858
+ 'label' => esc_html__('Currency Typography', 'premium_elementor'),
859
  'name' => 'currency_typo',
860
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
861
  'selector' => '{{WRAPPER}} .premium-pricing-price-currency',
862
+ ]
863
+ );
 
 
 
864
 
865
+ $this->add_responsive_control('premium_pricing_currency_align',
866
+ [
867
+ 'label' => esc_html__( 'Vertical Align', 'elementor' ),
868
+ 'type' => Controls_Manager::CHOOSE,
869
+ 'options' => [
870
+ 'top' => [
871
+ 'title'=> esc_html__( 'Top', 'elementor' ),
872
+ 'icon' => 'fa fa-long-arrow-up',
873
+ ],
874
+ 'unset' => [
875
+ 'title'=> esc_html__( 'Unset', 'elementor' ),
876
+ 'icon' => 'fa fa-align-justify',
877
+ ],
878
+ 'bottom' => [
879
+ 'title'=> esc_html__( 'Bottom', 'elementor' ),
880
+ 'icon' => 'fa fa-long-arrow-down',
881
+ ],
882
+ ],
883
+ 'default' => 'unset',
884
+ 'selectors' => [
885
+ '{{WRAPPER}} .premium-pricing-price-currency' => 'vertical-align: {{VALUE}};',
886
+ ],
887
+ 'label_block' => false
888
+ ]
889
+ );
890
 
891
+ $this->add_control('premium_pricing_currency_margin',
892
+ [
893
+ 'label' => esc_html__('Currency Margin', 'premium_elementor'),
894
+ 'type' => Controls_Manager::DIMENSIONS,
895
+ 'size_units' => ['px', 'em', '%'],
896
+ 'selectors' => [
897
+ '{{WRAPPER}} .premium-pricing-price-currency' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
898
+ 'separator' => 'after'
899
+ ]
900
+ ]
901
+ );
902
 
903
  /*Price Color*/
904
  $this->add_control('premium_pricing_price_color',
905
  [
906
+ 'label' => esc_html__('Price Color', 'premium_elementor'),
907
  'type' => Controls_Manager::COLOR,
908
  'scheme' => [
909
  'type' => Scheme_Color::get_type(),
912
  'selectors' => [
913
  '{{WRAPPER}} .premium-pricing-price-value' => 'color: {{VALUE}};'
914
  ],
915
+ 'separator' => 'before'
 
 
916
  ]
917
  );
918
 
920
  $this->add_group_control(
921
  Group_Control_Typography::get_type(),
922
  [
923
+ 'label' => esc_html__('Price Typography', 'premium_elementor'),
924
  'name' => 'price_typo',
925
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
926
  'selector' => '{{WRAPPER}} .premium-pricing-price-value',
927
+ ]
928
+ );
929
+
930
+ $this->add_control('premium_pricing_price_margin',
931
+ [
932
+ 'label' => esc_html__('Price Margin', 'premium_elementor'),
933
+ 'type' => Controls_Manager::DIMENSIONS,
934
+ 'size_units' => ['px', 'em', '%'],
935
+ 'selectors' => [
936
+ '{{WRAPPER}} .premium-pricing-price-value' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
937
  ]
938
+ ]
939
+ );
940
 
941
  /*Separator Color*/
942
  $this->add_control('premium_pricing_sep_color',
943
  [
944
+ 'label' => esc_html__('Divider Color', 'premium_elementor'),
945
  'type' => Controls_Manager::COLOR,
946
  'scheme' => [
947
  'type' => Scheme_Color::get_type(),
950
  'selectors' => [
951
  '{{WRAPPER}} .premium-pricing-price-separator' => 'color: {{VALUE}};'
952
  ],
953
+ 'separator' => 'before'
 
 
954
  ]
955
  );
956
 
958
  $this->add_group_control(
959
  Group_Control_Typography::get_type(),
960
  [
961
+ 'label' => esc_html__('Divider Typography', 'premium_elementor'),
962
  'name' => 'separator_typo',
963
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
964
  'selector' => '{{WRAPPER}} .premium-pricing-price-separator',
 
 
 
965
  ]
966
  );
967
 
968
+ $this->add_control('premium_pricing_sep_margin',
969
+ [
970
+ 'label' => esc_html__('Divider Margin', 'premium_elementor'),
971
+ 'type' => Controls_Manager::DIMENSIONS,
972
+ 'size_units' => ['px', 'em', '%'],
973
+ 'selectors' => [
974
+ '{{WRAPPER}} .premium-pricing-price-separator' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
975
+ ]
976
+ ]
977
+ );
978
+
979
  /*Duration Color*/
980
  $this->add_control('premium_pricing_dur_color',
981
  [
982
+ 'label' => esc_html__('Duration Color', 'premium_elementor'),
983
  'type' => Controls_Manager::COLOR,
984
  'scheme' => [
985
  'type' => Scheme_Color::get_type(),
988
  'selectors' => [
989
  '{{WRAPPER}} .premium-pricing-price-duration' => 'color: {{VALUE}};'
990
  ],
991
+ 'separator' => 'before'
 
 
992
  ]
993
  );
994
 
996
  $this->add_group_control(
997
  Group_Control_Typography::get_type(),
998
  [
999
+ 'label' => esc_html__('Duration Typography', 'premium_elementor'),
1000
  'name' => 'duration_typo',
1001
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1002
  'selector' => '{{WRAPPER}} .premium-pricing-price-duration',
 
 
 
1003
  ]
1004
  );
1005
 
1006
+ $this->add_control('premium_pricing_dur_margin',
1007
+ [
1008
+ 'label' => esc_html__('Duration Margin', 'premium_elementor'),
1009
+ 'type' => Controls_Manager::DIMENSIONS,
1010
+ 'size_units' => ['px', 'em', '%'],
1011
+ 'selectors' => [
1012
+ '{{WRAPPER}} .premium-pricing-price-duration' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1013
+ 'separator' => 'after'
1014
+ ]
1015
+ ]
1016
+ );
1017
+
1018
  /*Price Background*/
1019
  $this->add_group_control(
1020
  Group_Control_Background::get_type(),
1027
  );
1028
 
1029
  /*Price Margin*/
1030
+ $this->add_control('premium_pricing_price_container_margin',
1031
  [
1032
  'label' => esc_html__('Margin', 'premium_elementor'),
1033
  'type' => Controls_Manager::DIMENSIONS,
1061
  /*End Price Style Settings */
1062
  $this->end_controls_section();
1063
 
1064
+ /*Start List Style Settings */
1065
+ $this->start_controls_section('premium_pricing_list_style_settings',
1066
+ [
1067
+ 'label' => esc_html__('List', 'premium_elementor'),
1068
+ 'tab' => Controls_Manager::TAB_STYLE,
1069
+ 'condition' => [
1070
+ 'premium_pricing_table_list_switcher' => 'yes',
1071
+ ]
1072
+ ]
1073
+ );
1074
+
1075
+ /*Button Color*/
1076
+ $this->add_control('premium_pricing_list_icon_color',
1077
+ [
1078
+ 'label' => esc_html__('Icon Color', 'premium_elementor'),
1079
+ 'type' => Controls_Manager::COLOR,
1080
+ 'scheme' => [
1081
+ 'type' => Scheme_Color::get_type(),
1082
+ 'value' => Scheme_Color::COLOR_1,
1083
+ ],
1084
+ 'selectors' => [
1085
+ '{{WRAPPER}} .premium-pricing-list i' => 'color: {{VALUE}};'
1086
+ ]
1087
+ ]
1088
+ );
1089
+
1090
+ $this->add_control('premium_pricing_list_text_color',
1091
+ [
1092
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
1093
+ 'type' => Controls_Manager::COLOR,
1094
+ 'scheme' => [
1095
+ 'type' => Scheme_Color::get_type(),
1096
+ 'value' => Scheme_Color::COLOR_2,
1097
+ ],
1098
+ 'selectors' => [
1099
+ '{{WRAPPER}} .premium-pricing-list .premium-pricing-list-span' => 'color: {{VALUE}};'
1100
+ ]
1101
+ ]
1102
+ );
1103
+
1104
+ $this->add_group_control(
1105
+ Group_Control_Typography::get_type(),
1106
+ [
1107
+ 'name' => 'list_typo',
1108
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1109
+ 'selector' => '{{WRAPPER}} .premium-pricing-list .premium-pricing-list-span',
1110
+ ]
1111
+ );
1112
+
1113
+ $this->add_control('premium_pricing_list_icon_size',
1114
+ [
1115
+ 'label' => esc_html__('Icon Size', 'premium_elementor'),
1116
+ 'type' => Controls_Manager::SLIDER,
1117
+ 'selectors' => [
1118
+ '{{WRAPPER}} .premium-pricing-list i' => 'font-size: {{SIZE}}px',
1119
+ ]
1120
+ ]
1121
+ );
1122
+
1123
+ $this->add_control('premium_pricing_list_icon_spacing',
1124
+ [
1125
+ 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
1126
+ 'type' => Controls_Manager::SLIDER,
1127
+ 'default' => [
1128
+ 'size' => 5
1129
+ ],
1130
+ 'selectors' => [
1131
+ '{{WRAPPER}} .premium-pricing-list i' => 'margin-right: {{SIZE}}px',
1132
+ ],
1133
+ ]
1134
+ );
1135
+
1136
+ $this->add_control('premium_pricing_list_item_margin',
1137
+ [
1138
+ 'label' => esc_html__('Space Between', 'premium_elementor'),
1139
+ 'type' => Controls_Manager::SLIDER,
1140
+ 'selectors' => [
1141
+ '{{WRAPPER}} .premium-pricing-list li' => 'margin-bottom: {{SIZE}}px;'
1142
+ ],
1143
+ 'separator' => 'after'
1144
+ ]);
1145
+
1146
+ $this->add_group_control(
1147
+ Group_Control_Background::get_type(),
1148
+ [
1149
+ 'name' => 'premium_pricing_list_background',
1150
+ 'types' => [ 'classic' , 'gradient' ],
1151
+ 'selector' => '{{WRAPPER}} .premium-pricing-list-container',
1152
+ ]
1153
+ );
1154
+
1155
+ /*List Border*/
1156
+ $this->add_group_control(
1157
+ Group_Control_Border::get_type(),
1158
+ [
1159
+ 'name' => 'premium_pricing_list_border',
1160
+ 'selector' => '{{WRAPPER}} .premium-pricing-list-container',
1161
+ ]
1162
+ );
1163
+
1164
+ /*List Border Radius*/
1165
+ $this->add_control('premium_pricing_list_border_radius',
1166
+ [
1167
+ 'label' => esc_html__('Border Radius', 'premium_elementor'),
1168
+ 'type' => Controls_Manager::SLIDER,
1169
+ 'size_units' => ['px', 'em' , '%'],
1170
+ 'selectors' => [
1171
+ '{{WRAPPER}} .premium-pricing-list-container' => 'border-radius: {{SIZE}}{{UNIT}};'
1172
+ ]
1173
+ ]
1174
+ );
1175
+
1176
+ /*List Margin*/
1177
+ $this->add_control('premium_pricing_list_margin',
1178
+ [
1179
+ 'label' => esc_html__('Margin', 'premium_elementor'),
1180
+ 'type' => Controls_Manager::DIMENSIONS,
1181
+ 'size_units' => ['px', 'em', '%'],
1182
+ 'default' => [
1183
+ 'top' => 16,
1184
+ 'right' => 0,
1185
+ 'bottom' => 16,
1186
+ 'left' => 0,
1187
+ 'unit' => 'px',
1188
+ ],
1189
+ 'selectors' => [
1190
+ '{{WRAPPER}} .premium-pricing-list-container' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
1191
+ ]
1192
+ ]);
1193
+
1194
+ /*List Padding*/
1195
+ $this->add_control('premium_pricing_list_padding',
1196
+ [
1197
+ 'label' => esc_html__('Padding', 'premium_elementor'),
1198
+ 'type' => Controls_Manager::DIMENSIONS,
1199
+ 'size_units' => ['px', 'em', '%'],
1200
+ 'selectors' => [
1201
+ '{{WRAPPER}} .premium-pricing-list-container' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
1202
+ ]
1203
+ ]);
1204
+
1205
+
1206
+ $this->end_controls_section();
1207
+
1208
  /*Start Description Style Settings */
1209
  $this->start_controls_section('premium_pricing_description_style_settings',
1210
  [
1211
+ 'label' => esc_html__('Description', 'premium_elementor'),
1212
  'tab' => Controls_Manager::TAB_STYLE,
1213
+ 'condition' => [
1214
+ 'premium_pricing_table_description_switcher' => 'yes',
1215
+ ]
1216
  ]
1217
  );
1218
 
1219
  /*Description Color*/
1220
  $this->add_control('premium_pricing_desc_color',
1221
  [
1222
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
1223
  'type' => Controls_Manager::COLOR,
1224
  'scheme' => [
1225
  'type' => Scheme_Color::get_type(),
1289
  /*Start Button Style Settings */
1290
  $this->start_controls_section('premium_pricing_button_style_settings',
1291
  [
1292
+ 'label' => esc_html__('Button', 'premium_elementor'),
1293
  'tab' => Controls_Manager::TAB_STYLE,
1294
+ 'condition' => [
1295
+ 'premium_pricing_table_button_switcher' => 'yes',
1296
+ ]
1297
  ]
1298
  );
1299
 
1300
  /*Button Color*/
1301
  $this->add_control('premium_pricing_button_color',
1302
  [
1303
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
1304
  'type' => Controls_Manager::COLOR,
1305
  'scheme' => [
1306
  'type' => Scheme_Color::get_type(),
1469
 
1470
  /*End Button Style Section*/
1471
  $this->end_controls_section();
1472
+
1473
+ $this->start_controls_section('premium_pricing_table_badge_style',
1474
+ [
1475
+ 'label' => esc_html__('Badge', 'premium_elementor'),
1476
+ 'tab' => Controls_Manager::TAB_STYLE,
1477
+ 'condition' => [
1478
+ 'premium_pricing_table_badge_switcher' => 'yes'
1479
+ ]
1480
+ ]
1481
+ );
1482
+
1483
+ /*Badge Color*/
1484
+ $this->add_control('premium_pricing_badge_left_color',
1485
+ [
1486
+ 'label' => esc_html__('Badge Color', 'premium_elementor'),
1487
+ 'type' => Controls_Manager::COLOR,
1488
+ 'scheme' => [
1489
+ 'type' => Scheme_Color::get_type(),
1490
+ 'value' => Scheme_Color::COLOR_1,
1491
+ ],
1492
+ 'selectors' => [
1493
+ '{{WRAPPER}} .premium-badge-left .corner' => 'border-top-color: {{VALUE}};'
1494
+ ],
1495
+ 'condition' => [
1496
+ 'premium_pricing_table_badge_position' => 'left'
1497
+ ]
1498
+ ]
1499
+ );
1500
+
1501
+ $this->add_control('premium_pricing_badge_right_color',
1502
+ [
1503
+ 'label' => esc_html__('Badge Color', 'premium_elementor'),
1504
+ 'type' => Controls_Manager::COLOR,
1505
+ 'scheme' => [
1506
+ 'type' => Scheme_Color::get_type(),
1507
+ 'value' => Scheme_Color::COLOR_1,
1508
+ ],
1509
+ 'selectors' => [
1510
+ '{{WRAPPER}} .premium-badge-right .corner' => 'border-right-color: {{VALUE}};'
1511
+ ],
1512
+ 'condition' => [
1513
+ 'premium_pricing_table_badge_position' => 'right'
1514
+ ]
1515
+ ]
1516
+ );
1517
+
1518
+ $this->add_control('premium_pricing_badge_text_color',
1519
+ [
1520
+ 'label' => esc_html__('Text Color', 'premium_elementor'),
1521
+ 'type' => Controls_Manager::COLOR,
1522
+ 'scheme' => [
1523
+ 'type' => Scheme_Color::get_type(),
1524
+ 'value' => Scheme_Color::COLOR_2,
1525
+ ],
1526
+ 'selectors' => [
1527
+ '{{WRAPPER}} .premium-pricing-badge-container .corner span' => 'color: {{VALUE}};'
1528
+ ]
1529
+ ]
1530
+ );
1531
+
1532
+
1533
+ $this->add_group_control(
1534
+ Group_Control_Typography::get_type(),
1535
+ [
1536
+ 'name' => 'badge_text_typo',
1537
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1538
+ 'selector' => '{{WRAPPER}} .premium-pricing-badge-container .corner span',
1539
+ ]
1540
+ );
1541
+
1542
+ $this->end_controls_section();
1543
+
1544
+
1545
  }
1546
 
1547
  protected function render($instance = [])
1551
 
1552
  $title_tag = $settings['premium_pricing_table_title_size'];
1553
  $link_type = $settings['premium_pricing_table_button_url_type'];
1554
+ $badge_position = 'premium-badge-' . $settings['premium_pricing_table_badge_position'];
1555
  if($link_type == 'link'){
1556
  $link_url = get_permalink($settings['premium_pricing_table_button_link_existing_content']);
1557
  } elseif ($link_type == 'url') {
1560
  ?>
1561
 
1562
  <div class="premium-pricing-table-container">
1563
+ <?php if($settings['premium_pricing_table_badge_switcher']) : ?>
1564
+ <div class="premium-pricing-badge-container <?php echo esc_attr($badge_position); ?>">
1565
+ <div class="corner"><span><?php echo $settings['premium_pricing_table_badge_text']; ?></span></div>
1566
+ </div>
1567
+ <?php endif; ?>
1568
+ <?php if($settings['premium_pricing_table_icon_switcher'] == 'yes') : ?>
1569
+ <div class="premium-pricing-icon-container"><i class="<?php echo esc_attr( $settings['premium_pricing_table_icon_selection'] ); ?>"></i></div>
1570
+ <?php endif; ?>
1571
  <?php if($settings['premium_pricing_table_title_switcher'] == 'yes') : ?>
1572
  <<?php echo $title_tag;?> class="premium-pricing-table-title"><?php echo $settings['premium_pricing_table_title_text'];?></<?php echo $title_tag;?>><?php endif; ?>
1573
  <?php if($settings['premium_pricing_table_price_switcher'] == 'yes') : ?>
1577
  </span>
1578
  <span class="premium-pricing-price-value">
1579
  <?php echo $settings['premium_pricing_table_price_value']; ?>
1580
+ </span>
1581
  <span class="premium-pricing-price-separator">
1582
  <?php echo $settings['premium_pricing_table_price_separator']; ?>
1583
  </span>
1586
  </span>
1587
  </div>
1588
  <?php endif; ?>
1589
+ <?php if($settings['premium_pricing_table_list_switcher'] == 'yes') : ?>
1590
+ <div class="premium-pricing-list-container">
1591
+ <ul class="premium-pricing-list">
1592
+ <?php foreach($settings['premium_fancy_text_list_items'] as $item): echo '<li>' . '<i class="' . esc_attr($item['premium_pricing_list_item_icon']) . '">' . '</i>' . '<span class="premium-pricing-list-span">' . esc_attr($item['premium_pricing_list_item_text']) . '</span>' . '</li>'; ?>
1593
+ <?php endforeach; ?>
1594
+ </ul>
1595
+ </div>
1596
+ <?php endif; ?>
1597
  <?php if($settings['premium_pricing_table_description_switcher'] == 'yes') : ?>
1598
  <div class="premium-pricing-description-container">
1599
  <?php echo $settings['premium_pricing_table_description_text']; ?>
widgets/premium-progressbar.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Progressbar_Widget extends Widget_Base
34
  /* Start Progress Content Section */
35
  $this->start_controls_section('premium_progressbar_labels',
36
  [
37
- 'label' => esc_html__('Premium Progress Bar', 'premium_elementor'),
38
  ]
39
  );
40
 
@@ -76,7 +76,7 @@ class Premium_Progressbar_Widget extends Widget_Base
76
  /*Progress Bar Style*/
77
  $this->add_control('premium_progressbar_progress_style',
78
  [
79
- 'label' => esc_html__('Progress Bar Style', 'premium_elementor'),
80
  'type' => Controls_Manager::SELECT,
81
  'default' => 'solid',
82
  'options' => [
@@ -189,7 +189,7 @@ class Premium_Progressbar_Widget extends Widget_Base
189
  /*Start Labels Settings Section*/
190
  $this->start_controls_section('premium_progressbar_labels_section',
191
  [
192
- 'label' => esc_html__('Labels Style', 'premium_elementor'),
193
  'tab' => Controls_Manager::TAB_STYLE,
194
  ]
195
  );
34
  /* Start Progress Content Section */
35
  $this->start_controls_section('premium_progressbar_labels',
36
  [
37
+ 'label' => esc_html__('Progress Bar Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
76
  /*Progress Bar Style*/
77
  $this->add_control('premium_progressbar_progress_style',
78
  [
79
+ 'label' => esc_html__('Progress Bar', 'premium_elementor'),
80
  'type' => Controls_Manager::SELECT,
81
  'default' => 'solid',
82
  'options' => [
189
  /*Start Labels Settings Section*/
190
  $this->start_controls_section('premium_progressbar_labels_section',
191
  [
192
+ 'label' => esc_html__('Labels', 'premium_elementor'),
193
  'tab' => Controls_Manager::TAB_STYLE,
194
  ]
195
  );
widgets/premium-testimonials.php CHANGED
@@ -188,7 +188,7 @@ class Premium_Testimonials_Widget extends Widget_Base
188
  /*Image Styling*/
189
  $this->start_controls_section('premium_testimonial_image_style',
190
  [
191
- 'label' => esc_html__('Image Style', 'premium_elementor'),
192
  'tab' => Controls_Manager::TAB_STYLE,
193
  ]
194
  );
@@ -256,7 +256,7 @@ class Premium_Testimonials_Widget extends Widget_Base
256
  /*Start Person Settings Section*/
257
  $this->start_controls_section('premium_testimonials_person_style',
258
  [
259
- 'label' => esc_html__('Person Name Style', 'premium_elementor'),
260
  'tab' => Controls_Manager::TAB_STYLE,
261
  ]
262
  );
@@ -306,7 +306,7 @@ class Premium_Testimonials_Widget extends Widget_Base
306
  /*Start Company Settings Section*/
307
  $this->start_controls_section('premium_testimonial_company_style',
308
  [
309
- 'label' => esc_html__('Company Name Style', 'premium_elementor'),
310
  'tab' => Controls_Manager::TAB_STYLE,
311
  ]
312
  );
@@ -342,7 +342,7 @@ class Premium_Testimonials_Widget extends Widget_Base
342
  /*Start Content Settings Section*/
343
  $this->start_controls_section('premium_testimonial_content_style',
344
  [
345
- 'label' => esc_html__('Testimonial Content Style', 'premium_elementor'),
346
  'tab' => Controls_Manager::TAB_STYLE,
347
  ]
348
  );
@@ -398,7 +398,7 @@ class Premium_Testimonials_Widget extends Widget_Base
398
  /*Start Quotes Style Section*/
399
  $this->start_controls_section('premium_testimonial_quotes',
400
  [
401
- 'label' => esc_html__('Quotation Mark Style', 'premium_elementor'),
402
  'tab' => Controls_Manager::TAB_STYLE,
403
  ]
404
  );
188
  /*Image Styling*/
189
  $this->start_controls_section('premium_testimonial_image_style',
190
  [
191
+ 'label' => esc_html__('Image', 'premium_elementor'),
192
  'tab' => Controls_Manager::TAB_STYLE,
193
  ]
194
  );
256
  /*Start Person Settings Section*/
257
  $this->start_controls_section('premium_testimonials_person_style',
258
  [
259
+ 'label' => esc_html__('Person Name', 'premium_elementor'),
260
  'tab' => Controls_Manager::TAB_STYLE,
261
  ]
262
  );
306
  /*Start Company Settings Section*/
307
  $this->start_controls_section('premium_testimonial_company_style',
308
  [
309
+ 'label' => esc_html__('Company Name', 'premium_elementor'),
310
  'tab' => Controls_Manager::TAB_STYLE,
311
  ]
312
  );
342
  /*Start Content Settings Section*/
343
  $this->start_controls_section('premium_testimonial_content_style',
344
  [
345
+ 'label' => esc_html__('Testimonial Content', 'premium_elementor'),
346
  'tab' => Controls_Manager::TAB_STYLE,
347
  ]
348
  );
398
  /*Start Quotes Style Section*/
399
  $this->start_controls_section('premium_testimonial_quotes',
400
  [
401
+ 'label' => esc_html__('Quotation Mark', 'premium_elementor'),
402
  'tab' => Controls_Manager::TAB_STYLE,
403
  ]
404
  );
widgets/premium-title.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Title_Widget extends Widget_Base
34
  /* Start Title General Settings Section */
35
  $this->start_controls_section('premium_title_content',
36
  [
37
- 'label' => esc_html__('Premium Title', 'premium_elementor'),
38
  ]
39
  );
40
 
@@ -240,7 +240,7 @@ class Premium_Title_Widget extends Widget_Base
240
  /*Start Styling Section*/
241
  $this->start_controls_section('premium_title_style_section',
242
  [
243
- 'label' => esc_html__('Title Style', 'premium_elementor'),
244
  'tab' => Controls_Manager::TAB_STYLE,
245
  ]
246
  );
@@ -564,7 +564,7 @@ class Premium_Title_Widget extends Widget_Base
564
  <?php if( !empty( $settings['premium_title_icon'] ) && $settings['premium_title_icon_switcher'] ) : ?>
565
  <i class="premium-title-icon <?php echo $settings['premium_title_icon'];?>"></i>
566
  <?php endif; ?>
567
- <?php echo $settings['premium_title_text']; ?>
568
  </<?php echo $title_tag; ?>>
569
  </div>
570
 
34
  /* Start Title General Settings Section */
35
  $this->start_controls_section('premium_title_content',
36
  [
37
+ 'label' => esc_html__('Title Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
240
  /*Start Styling Section*/
241
  $this->start_controls_section('premium_title_style_section',
242
  [
243
+ 'label' => esc_html__('Title', 'premium_elementor'),
244
  'tab' => Controls_Manager::TAB_STYLE,
245
  ]
246
  );
564
  <?php if( !empty( $settings['premium_title_icon'] ) && $settings['premium_title_icon_switcher'] ) : ?>
565
  <i class="premium-title-icon <?php echo $settings['premium_title_icon'];?>"></i>
566
  <?php endif; ?>
567
+ <?php echo esc_html($settings['premium_title_text']); ?>
568
  </<?php echo $title_tag; ?>>
569
  </div>
570
 
widgets/premium-videobox.php CHANGED
@@ -34,7 +34,7 @@ class Premium_Video_Box_Widget extends Widget_Base
34
  /* Start Image Settings Section */
35
  $this->start_controls_section('premium_video_box_image_settings',
36
  [
37
- 'label' => esc_html__('Video Box Image', 'premium_elementor'),
38
  ]
39
  );
40
 
@@ -67,16 +67,100 @@ class Premium_Video_Box_Widget extends Widget_Base
67
  [
68
  'label' => esc_html__('Play Icon', 'premium_elementor'),
69
  'type' => Controls_Manager::SWITCHER,
 
70
  ]
71
  );
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  /*End Play Icon Settings*/
74
  $this->end_controls_section();
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  /*Start Video Settings Section*/
77
  $this->start_controls_section('premium_video_box_video_settings_section',
78
  [
79
- 'label' => esc_html__('Video', 'premium_elementor'),
80
  ]
81
  );
82
 
@@ -133,44 +217,10 @@ class Premium_Video_Box_Widget extends Widget_Base
133
  /*End Video Settings Section*/
134
  $this->end_controls_section();
135
 
136
- /*Start Description Text Section*/
137
- $this->start_controls_section('premium_video_box_description_text_section',
138
- [
139
- 'label' => esc_html__('Video Text', 'premium_elementor'),
140
- ]
141
- );
142
-
143
- /*Description Text*/
144
- $this->add_control('premium_video_box_description_text',
145
- [
146
- 'label' => esc_html__('Text', 'premium_elementor'),
147
- 'type' => Controls_Manager::TEXTAREA,
148
- 'label_block' => true,
149
- ]
150
- );
151
-
152
- /*Description Top Position*/
153
- $this->add_control('premium_video_box_description_position',
154
- [
155
- 'label' => esc_html__('Text Position', 'premium_elementor'),
156
- 'type' => Controls_Manager::SLIDER,
157
- 'label_block' => true,
158
- 'default' => [
159
- 'size' => 50,
160
- ],
161
- 'selectors' => [
162
- '{{WRAPPER}} .premium-video-box-description-container' => 'top: {{SIZE}}%;',
163
- ]
164
- ]
165
- );
166
-
167
- /*End Description Text Section*/
168
- $this->end_controls_section();
169
-
170
  /*Start Text Below Icon Style Section*/
171
  $this->start_controls_section('premium_video_box_text_style_section',
172
  [
173
- 'label' => esc_html__('Video Box Style','premium_elementor'),
174
  'tab' => Controls_Manager::TAB_STYLE,
175
  ]
176
  );
@@ -234,6 +284,21 @@ class Premium_Video_Box_Widget extends Widget_Base
234
  ]
235
  );
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  /*Play Icon Size*/
238
  $this->add_control('premium_video_box_play_icon_size',
239
  [
@@ -322,7 +387,7 @@ class Premium_Video_Box_Widget extends Widget_Base
322
  /*Start Video Text Style*/
323
  $this->start_controls_section('premium_video_box_text_style',
324
  [
325
- 'label' => esc_html__('Video Text Style', 'premium_elementor'),
326
  'tab' => Controls_Manager::TAB_STYLE,
327
  ]
328
  );
@@ -342,6 +407,36 @@ class Premium_Video_Box_Widget extends Widget_Base
342
  ]
343
  );
344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
  /*Text Typography*/
346
  $this->add_group_control(
347
  Group_Control_Typography::get_type(),
@@ -352,6 +447,25 @@ class Premium_Video_Box_Widget extends Widget_Base
352
  ]
353
  );
354
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  /*End Video Text Style*/
356
  $this->end_controls_section();
357
  }
@@ -413,8 +527,11 @@ class Premium_Video_Box_Widget extends Widget_Base
413
  'opacity': '1',
414
  'visibility': 'visible'
415
  } );
416
- } )
417
- });;
 
 
 
418
  </script>
419
 
420
  <?php
34
  /* Start Image Settings Section */
35
  $this->start_controls_section('premium_video_box_image_settings',
36
  [
37
+ 'label' => esc_html__('Video Box Content', 'premium_elementor'),
38
  ]
39
  );
40
 
67
  [
68
  'label' => esc_html__('Play Icon', 'premium_elementor'),
69
  'type' => Controls_Manager::SWITCHER,
70
+ 'default' => 'yes'
71
  ]
72
  );
73
 
74
+ $this->add_control('premium_video_box_icon_ver_position',
75
+ [
76
+ 'label' => esc_html__('Vertical Position', 'premium_elementor'),
77
+ 'type' => Controls_Manager::SLIDER,
78
+ 'label_block' => true,
79
+ 'default' => [
80
+ 'size' => 50,
81
+ ],
82
+ 'condition' => [
83
+ 'premium_video_box_play_icon_switcher' => 'yes',
84
+ ],
85
+ 'selectors' => [
86
+ '{{WRAPPER}} .premium-video-box-play-icon-container' => 'top: {{SIZE}}%;',
87
+ ]
88
+ ]
89
+ );
90
+
91
+ $this->add_control('premium_video_box_icon_hor_position',
92
+ [
93
+ 'label' => esc_html__('Horizontal Position', 'premium_elementor'),
94
+ 'type' => Controls_Manager::SLIDER,
95
+ 'label_block' => true,
96
+ 'default' => [
97
+ 'size' => 50,
98
+ ],
99
+ 'condition' => [
100
+ 'premium_video_box_play_icon_switcher' => 'yes',
101
+ ],
102
+ 'selectors' => [
103
+ '{{WRAPPER}} .premium-video-box-play-icon-container' => 'left: {{SIZE}}%;',
104
+ ]
105
+ ]
106
+ );
107
+
108
  /*End Play Icon Settings*/
109
  $this->end_controls_section();
110
 
111
+ /*Start Description Text Section*/
112
+ $this->start_controls_section('premium_video_box_description_text_section',
113
+ [
114
+ 'label' => esc_html__('Video Text', 'premium_elementor'),
115
+ ]
116
+ );
117
+
118
+ /*Description Text*/
119
+ $this->add_control('premium_video_box_description_text',
120
+ [
121
+ 'label' => esc_html__('Text', 'premium_elementor'),
122
+ 'type' => Controls_Manager::TEXTAREA,
123
+ 'label_block' => true,
124
+ ]
125
+ );
126
+
127
+ /*Description Top Position*/
128
+ $this->add_control('premium_video_box_description_ver_position',
129
+ [
130
+ 'label' => esc_html__('Vertical Position', 'premium_elementor'),
131
+ 'type' => Controls_Manager::SLIDER,
132
+ 'label_block' => true,
133
+ 'default' => [
134
+ 'size' => 60,
135
+ ],
136
+ 'selectors' => [
137
+ '{{WRAPPER}} .premium-video-box-description-container' => 'top: {{SIZE}}%;',
138
+ ]
139
+ ]
140
+ );
141
+
142
+ $this->add_control('premium_video_box_description_hor_position',
143
+ [
144
+ 'label' => esc_html__('Horizontal Position', 'premium_elementor'),
145
+ 'type' => Controls_Manager::SLIDER,
146
+ 'label_block' => true,
147
+ 'default' => [
148
+ 'size' => 50,
149
+ ],
150
+ 'selectors' => [
151
+ '{{WRAPPER}} .premium-video-box-description-container' => 'left: {{SIZE}}%;',
152
+ ]
153
+ ]
154
+ );
155
+
156
+ /*End Description Text Section*/
157
+ $this->end_controls_section();
158
+
159
+
160
  /*Start Video Settings Section*/
161
  $this->start_controls_section('premium_video_box_video_settings_section',
162
  [
163
+ 'label' => esc_html__('Video Type', 'premium_elementor'),
164
  ]
165
  );
166
 
217
  /*End Video Settings Section*/
218
  $this->end_controls_section();
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  /*Start Text Below Icon Style Section*/
221
  $this->start_controls_section('premium_video_box_text_style_section',
222
  [
223
+ 'label' => esc_html__('Video Box','premium_elementor'),
224
  'tab' => Controls_Manager::TAB_STYLE,
225
  ]
226
  );
284
  ]
285
  );
286
 
287
+ /*Play Icon Color*/
288
+ $this->add_control('premium_video_box_play_icon_color_hover',
289
+ [
290
+ 'label' => esc_html__('Icon Hover Color', 'premium_elementor'),
291
+ 'type' => Controls_Manager::COLOR,
292
+ 'scheme' => [
293
+ 'type' => Scheme_Color::get_type(),
294
+ 'value' => Scheme_Color::COLOR_2,
295
+ ],
296
+ 'selectors' => [
297
+ '{{WRAPPER}} .premium-video-box-play-icon-container:hover .premium-video-box-play-icon' => 'color: {{VALUE}};',
298
+ ]
299
+ ]
300
+ );
301
+
302
  /*Play Icon Size*/
303
  $this->add_control('premium_video_box_play_icon_size',
304
  [
387
  /*Start Video Text Style*/
388
  $this->start_controls_section('premium_video_box_text_style',
389
  [
390
+ 'label' => esc_html__('Video Text', 'premium_elementor'),
391
  'tab' => Controls_Manager::TAB_STYLE,
392
  ]
393
  );
407
  ]
408
  );
409
 
410
+ /*Text Hover Color*/
411
+ $this->add_control('premium_video_box_text_color_hover',
412
+ [
413
+ 'label' => esc_html__('Text Hover Color', 'premium_elementor'),
414
+ 'type' => Controls_Manager::COLOR,
415
+ 'scheme' => [
416
+ 'type' => Scheme_Color::get_type(),
417
+ 'value' => Scheme_Color::COLOR_1,
418
+ ],
419
+ 'selectors' => [
420
+ '{{WRAPPER}} .premium-video-box-description-container:hover .premium-video-box-text' => 'color: {{VALUE}};',
421
+ ]
422
+ ]
423
+ );
424
+
425
+ /*Text Hover Color*/
426
+ $this->add_control('premium_video_box_text_background_color',
427
+ [
428
+ 'label' => esc_html__('Background Color', 'premium_elementor'),
429
+ 'type' => Controls_Manager::COLOR,
430
+ 'scheme' => [
431
+ 'type' => Scheme_Color::get_type(),
432
+ 'value' => Scheme_Color::COLOR_2,
433
+ ],
434
+ 'selectors' => [
435
+ '{{WRAPPER}} .premium-video-box-description-container' => 'background-color: {{VALUE}};',
436
+ ]
437
+ ]
438
+ );
439
+
440
  /*Text Typography*/
441
  $this->add_group_control(
442
  Group_Control_Typography::get_type(),
447
  ]
448
  );
449
 
450
+ $this->add_responsive_control('premium_video_box_text_padding',
451
+ [
452
+ 'label' => esc_html__('Padding', 'premium_elementor'),
453
+ 'type' => Controls_Manager::DIMENSIONS,
454
+ 'size_units' => [ 'px', 'em', '%' ],
455
+ 'selectors' => [
456
+ '{{WRAPPER}} .premium-video-box-description-container' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
457
+ ],
458
+ ]
459
+ );
460
+
461
+ $this->add_group_control(
462
+ Group_Control_Text_Shadow::get_type(),
463
+ [
464
+ 'name' => 'premium_text_shadow',
465
+ 'selector' => '.premium-video-box-text'
466
+ ]
467
+ );
468
+
469
  /*End Video Text Style*/
470
  $this->end_controls_section();
471
  }
527
  'opacity': '1',
528
  'visibility': 'visible'
529
  } );
530
+ setTimeout(function(){
531
+ $("#premium-video-box-container-<?php echo esc_attr( $this->get_id() ); ?> iframe" ).attr('src', $("#premium-video-box-container-<?php echo esc_attr( $this->get_id() ); ?> iframe").attr('src') + '?autoplay=1'); ;
532
+ },600);
533
+ });
534
+ });
535
  </script>
536
 
537
  <?php