Premium Addons for Elementor - Version 2.7.7

Version Description

  • Tweak: Added hover color option to trigger button icon and text in Premium Modal Box widget.
Download this release

Release Info

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

Code changes from version 2.7.6 to 2.7.7

admin/settings/version-control.php CHANGED
@@ -79,7 +79,7 @@ class PA_Version_Control {
79
  <tr class="pa-roll-row">
80
  <th>Rollback Version</th>
81
  <td>
82
- <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.7.5</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
83
  <p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
84
  </td>
85
  </tr>
79
  <tr class="pa-roll-row">
80
  <th>Rollback Version</th>
81
  <td>
82
+ <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.7.6</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
83
  <p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
84
  </td>
85
  </tr>
assets/css/premium-addons.css CHANGED
@@ -1042,6 +1042,12 @@ a.premium-image-separator-link:active {
1042
  background-image: none;
1043
  border: 1px solid transparent;
1044
  }
 
 
 
 
 
 
1045
  .premium-btn-md {
1046
  padding: 8px 14px;
1047
  font-size: 16px;
@@ -1249,7 +1255,7 @@ button.premium-modal-box-modal-close {
1249
  }
1250
  /**************** Premium Progress Bar ****************/
1251
  /******************************************************/
1252
- .premium-progressbar-container{
1253
  position:relative;
1254
  }
1255
  .premium-progressbar-progress {
@@ -1294,7 +1300,7 @@ button.premium-modal-box-modal-close {
1294
  overflow: hidden;
1295
  line-height: 20px;
1296
  }
1297
- .clearfix {
1298
  clear: both;
1299
  }
1300
  /*Progress Bar Style*/
1042
  background-image: none;
1043
  border: 1px solid transparent;
1044
  }
1045
+ .premium-modal-box-button-selector i {
1046
+ -webkit-transition: all 0.3s ease-in-out;
1047
+ -moz-transition: all 0.3s ease-in-out;
1048
+ -ms-transition: all 0.3s ease-in-out;
1049
+ transition: all 0.3s ease-in-out;
1050
+ }
1051
  .premium-btn-md {
1052
  padding: 8px 14px;
1053
  font-size: 16px;
1255
  }
1256
  /**************** Premium Progress Bar ****************/
1257
  /******************************************************/
1258
+ .premium-progressbar-container {
1259
  position:relative;
1260
  }
1261
  .premium-progressbar-progress {
1300
  overflow: hidden;
1301
  line-height: 20px;
1302
  }
1303
+ .premium-progressbar-container .clearfix {
1304
  clear: both;
1305
  }
1306
  /*Progress Bar Style*/
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 20+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 2.7.6
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
@@ -22,12 +22,12 @@ if (! function_exists('add_action')) {
22
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
23
 
24
 
25
- define('PREMIUM_ADDONS_VERSION', '2.7.6');
26
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
  define('PREMIUM_ADDONS_FILE', __FILE__);
29
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
- define('PREMIUM_ADDONS_STABLE_VERSION', '2.7.5');
31
 
32
  if( ! class_exists('Premium_Addons_Elementor') ) {
33
  /*
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 20+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 2.7.7
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
  Text Domain: premium-addons-for-elementor
22
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
23
 
24
 
25
+ define('PREMIUM_ADDONS_VERSION', '2.7.7');
26
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
  define('PREMIUM_ADDONS_FILE', __FILE__);
29
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
+ define('PREMIUM_ADDONS_STABLE_VERSION', '2.7.6');
31
 
32
  if( ! class_exists('Premium_Addons_Elementor') ) {
33
  /*
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
- Stable tag: 2.7.6
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -137,6 +137,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
137
 
138
  == Changelog ==
139
 
 
 
 
 
140
  = 2.7.6 =
141
 
142
  - Tweak: Disable tooltips option in Premium Vertical Scroll widget.
5
  Requires at least: 4.5
6
  Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
+ Stable tag: 2.7.7
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
137
 
138
  == Changelog ==
139
 
140
+ = 2.7.7 =
141
+
142
+ - Tweak: Added hover color option to trigger button icon and text in Premium Modal Box widget.
143
+
144
  = 2.7.6 =
145
 
146
  - Tweak: Disable tooltips option in Premium Vertical Scroll widget.
widgets/premium-modalbox.php CHANGED
@@ -506,6 +506,23 @@ class Premium_Modalbox extends Widget_Base {
506
  ]
507
  );
508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  $this->add_control('premium_modal_box_button_icon_color',
510
  [
511
  'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
@@ -522,6 +539,23 @@ class Premium_Modalbox extends Widget_Base {
522
  ]
523
  ]
524
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
525
 
526
  /*Selector Text Typography*/
527
  $this->add_group_control(
506
  ]
507
  );
508
 
509
+ $this->add_control('premium_modal_box_button_text_color_hover',
510
+ [
511
+ 'label' => esc_html__('Hover Color', 'premium-addons-for-elementor'),
512
+ 'type' => Controls_Manager::COLOR,
513
+ 'scheme' => [
514
+ 'type' => Scheme_Color::get_type(),
515
+ 'value' => Scheme_Color::COLOR_2,
516
+ ],
517
+ 'selectors' => [
518
+ '{{WRAPPER}} .premium-modal-box-button-selector:hover, {{WRAPPER}} .premium-modal-box-text-selector:hover' => 'color:{{VALUE}};',
519
+ ],
520
+ 'condition' => [
521
+ 'premium_modal_box_display_on' => ['button', 'text'],
522
+ ]
523
+ ]
524
+ );
525
+
526
  $this->add_control('premium_modal_box_button_icon_color',
527
  [
528
  'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
539
  ]
540
  ]
541
  );
542
+
543
+ $this->add_control('premium_modal_box_button_icon_hover_color',
544
+ [
545
+ 'label' => esc_html__('Icon Hover Color', 'premium-addons-for-elementor'),
546
+ 'type' => Controls_Manager::COLOR,
547
+ 'scheme' => [
548
+ 'type' => Scheme_Color::get_type(),
549
+ 'value' => Scheme_Color::COLOR_2,
550
+ ],
551
+ 'selectors' => [
552
+ '{{WRAPPER}} .premium-modal-box-button-selector:hover i' => 'color:{{VALUE}};',
553
+ ],
554
+ 'condition' => [
555
+ 'premium_modal_box_display_on' => ['button'],
556
+ ]
557
+ ]
558
+ );
559
 
560
  /*Selector Text Typography*/
561
  $this->add_group_control(