Version Description
- Fixed: SVG icons size option not working in all widgets.
- Fixed: Feature List icon and item not aligned in Pricing Table widget.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 3.8.2 |
Comparing to | |
See all releases |
Code changes from version 3.8.1 to 3.8.2
- admin/includes/version-control.php +1 -1
- assets/frontend/css/premium-addons.css +24 -3
- premium-addons-for-elementor.php +3 -3
- readme.txt +7 -2
- widgets/premium-button.php +10 -8
- widgets/premium-image-button.php +6 -4
- widgets/premium-modalbox.php +4 -2
- widgets/premium-pricing-table.php +13 -6
- widgets/premium-title.php +4 -5
admin/includes/version-control.php
CHANGED
@@ -92,7 +92,7 @@ class Version_Control {
|
|
92 |
<tr class="pa-roll-row">
|
93 |
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
|
94 |
<td>
|
95 |
-
<div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.8.
|
96 |
<p class="pa-roll-desc">
|
97 |
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
|
98 |
</p>
|
92 |
<tr class="pa-roll-row">
|
93 |
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
|
94 |
<td>
|
95 |
+
<div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.8.1', 'premium-addons-for-elementor') ); ?></div>
|
96 |
<p class="pa-roll-desc">
|
97 |
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
|
98 |
</p>
|
assets/frontend/css/premium-addons.css
CHANGED
@@ -705,7 +705,7 @@
|
|
705 |
}
|
706 |
/**************** Premium Carousel **************/
|
707 |
/************************************************/
|
708 |
-
.premium-carousel-wrapper a.carousel-arrow, .premium-carousel-wrapper a.ver-carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-
|
709 |
display: -ms-flexbox;
|
710 |
display: -webkit-flex;
|
711 |
display: -moz-flex;
|
@@ -740,7 +740,7 @@
|
|
740 |
.premium-carousel-wrapper .premium-carousel-content-hidden {
|
741 |
visibility: hidden;
|
742 |
}
|
743 |
-
.premium-carousel-wrapper a.carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow {
|
744 |
top: 50%;
|
745 |
}
|
746 |
.premium-carousel-wrapper a.ver-carousel-arrow {
|
@@ -2271,8 +2271,24 @@
|
|
2271 |
display: block;
|
2272 |
}
|
2273 |
.premium-pricing-list {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2274 |
list-style-type: none;
|
2275 |
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2276 |
}
|
2277 |
.premium-pricing-slashed-price-value {
|
2278 |
display: inline-block;
|
@@ -2537,8 +2553,8 @@
|
|
2537 |
display: -webkit-box;
|
2538 |
display: -webkit-flex;
|
2539 |
display: -ms-flexbox;
|
2540 |
-
justify-content: center;
|
2541 |
display: flex;
|
|
|
2542 |
align-items: center;
|
2543 |
}
|
2544 |
.premium-button-text-icon-wrapper span, .premium-button-text-icon-wrapper, .premium-button-text-icon-wrapper i{
|
@@ -3296,6 +3312,11 @@
|
|
3296 |
.pa-gallery-img-container video {
|
3297 |
-o-object-fit: contain;
|
3298 |
object-fit: contain;
|
|
|
|
|
|
|
|
|
|
|
3299 |
}
|
3300 |
@-webkit-keyframes spin {
|
3301 |
0% {
|
705 |
}
|
706 |
/**************** Premium Carousel **************/
|
707 |
/************************************************/
|
708 |
+
.premium-carousel-wrapper a.carousel-arrow, .premium-carousel-wrapper a.ver-carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow {
|
709 |
display: -ms-flexbox;
|
710 |
display: -webkit-flex;
|
711 |
display: -moz-flex;
|
740 |
.premium-carousel-wrapper .premium-carousel-content-hidden {
|
741 |
visibility: hidden;
|
742 |
}
|
743 |
+
.premium-carousel-wrapper a.carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow {
|
744 |
top: 50%;
|
745 |
}
|
746 |
.premium-carousel-wrapper a.ver-carousel-arrow {
|
2271 |
display: block;
|
2272 |
}
|
2273 |
.premium-pricing-list {
|
2274 |
+
display: -webkit-box;
|
2275 |
+
display: -webkit-flex;
|
2276 |
+
display: -ms-flexbox;
|
2277 |
+
display: flex;
|
2278 |
+
-webkit-flex-direction: column;
|
2279 |
+
-ms-flex-direction: column;
|
2280 |
+
flex-direction: column;
|
2281 |
list-style-type: none;
|
2282 |
margin: 0;
|
2283 |
+
}
|
2284 |
+
.premium-pricing-list li {
|
2285 |
+
display: -webkit-box;
|
2286 |
+
display: -webkit-flex;
|
2287 |
+
display: -ms-flexbox;
|
2288 |
+
display: flex;
|
2289 |
+
-webkit-align-items: center;
|
2290 |
+
-ms-flex-align: center;
|
2291 |
+
align-items: center;
|
2292 |
}
|
2293 |
.premium-pricing-slashed-price-value {
|
2294 |
display: inline-block;
|
2553 |
display: -webkit-box;
|
2554 |
display: -webkit-flex;
|
2555 |
display: -ms-flexbox;
|
|
|
2556 |
display: flex;
|
2557 |
+
justify-content: center;
|
2558 |
align-items: center;
|
2559 |
}
|
2560 |
.premium-button-text-icon-wrapper span, .premium-button-text-icon-wrapper, .premium-button-text-icon-wrapper i{
|
3312 |
.pa-gallery-img-container video {
|
3313 |
-o-object-fit: contain;
|
3314 |
object-fit: contain;
|
3315 |
+
}
|
3316 |
+
.pa-gallery-icons-inner-container svg,
|
3317 |
+
.pa-gallery-icons-caption-cell svg {
|
3318 |
+
width: 14px;
|
3319 |
+
height: 14px;
|
3320 |
}
|
3321 |
@-webkit-keyframes spin {
|
3322 |
0% {
|
premium-addons-for-elementor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Premium Addons for Elementor
|
4 |
Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
|
5 |
Plugin URI: https://premiumaddons.com
|
6 |
-
Version: 3.8.
|
7 |
Author: Leap13
|
8 |
Author URI: https://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
@@ -14,12 +14,12 @@ License: GNU General Public License v3.0
|
|
14 |
if ( ! defined('ABSPATH') ) exit; // No access of directly access
|
15 |
|
16 |
// Define Constants
|
17 |
-
define('PREMIUM_ADDONS_VERSION', '3.8.
|
18 |
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
|
19 |
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
|
20 |
define('PREMIUM_ADDONS_FILE', __FILE__);
|
21 |
define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
|
22 |
-
define('PREMIUM_ADDONS_STABLE_VERSION', '3.8.
|
23 |
|
24 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
25 |
|
3 |
Plugin Name: Premium Addons for Elementor
|
4 |
Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
|
5 |
Plugin URI: https://premiumaddons.com
|
6 |
+
Version: 3.8.2
|
7 |
Author: Leap13
|
8 |
Author URI: https://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
14 |
if ( ! defined('ABSPATH') ) exit; // No access of directly access
|
15 |
|
16 |
// Define Constants
|
17 |
+
define('PREMIUM_ADDONS_VERSION', '3.8.2');
|
18 |
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
|
19 |
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
|
20 |
define('PREMIUM_ADDONS_FILE', __FILE__);
|
21 |
define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
|
22 |
+
define('PREMIUM_ADDONS_STABLE_VERSION', '3.8.1');
|
23 |
|
24 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
25 |
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
=== Premium Addons for Elementor ===
|
2 |
Contributors: Leap13, Rimoun
|
3 |
Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, Page Builder, Widgets, Elementor Widgets
|
4 |
Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme
|
5 |
Requires at Least: 4.5
|
6 |
Tested Up To: 5.2.4
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable Tag: 3.8.
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
@@ -175,6 +175,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
|
|
175 |
|
176 |
== Changelog ==
|
177 |
|
|
|
|
|
|
|
|
|
|
|
178 |
= 3.8.1 =
|
179 |
|
180 |
- Fixed: Add new items in feature list not working in Premium Pricing Table.
|
1 |
+
=== Premium Addons for Elementor ===
|
2 |
Contributors: Leap13, Rimoun
|
3 |
Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, Page Builder, Widgets, Elementor Widgets
|
4 |
Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme
|
5 |
Requires at Least: 4.5
|
6 |
Tested Up To: 5.2.4
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable Tag: 3.8.2
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
175 |
|
176 |
== Changelog ==
|
177 |
|
178 |
+
= 3.8.2 =
|
179 |
+
|
180 |
+
- Fixed: SVG icons size option not working in all widgets.
|
181 |
+
- Fixed: Feature List icon and item not aligned in Pricing Table widget.
|
182 |
+
|
183 |
= 3.8.1 =
|
184 |
|
185 |
- Fixed: Add new items in feature list not working in Premium Pricing Table.
|
widgets/premium-button.php
CHANGED
@@ -267,7 +267,7 @@ class Premium_Button extends Widget_Base {
|
|
267 |
]
|
268 |
);
|
269 |
|
270 |
-
$this->
|
271 |
[
|
272 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
273 |
'type' => Controls_Manager::SLIDER,
|
@@ -277,11 +277,12 @@ class Premium_Button extends Widget_Base {
|
|
277 |
],
|
278 |
'selectors' => [
|
279 |
'{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
|
|
280 |
]
|
281 |
]
|
282 |
);
|
283 |
|
284 |
-
$this->
|
285 |
[
|
286 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
287 |
'type' => Controls_Manager::SLIDER,
|
@@ -290,12 +291,13 @@ class Premium_Button extends Widget_Base {
|
|
290 |
],
|
291 |
'selectors' => [
|
292 |
'{{WRAPPER}} .premium-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
|
|
293 |
]
|
294 |
]
|
295 |
);
|
296 |
|
297 |
if( ! $this->check_rtl() ) {
|
298 |
-
$this->
|
299 |
[
|
300 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
301 |
'type' => Controls_Manager::SLIDER,
|
@@ -314,7 +316,7 @@ class Premium_Button extends Widget_Base {
|
|
314 |
]
|
315 |
);
|
316 |
|
317 |
-
$this->
|
318 |
[
|
319 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
320 |
'type' => Controls_Manager::SLIDER,
|
@@ -335,7 +337,7 @@ class Premium_Button extends Widget_Base {
|
|
335 |
}
|
336 |
|
337 |
if( $this->check_rtl() ) {
|
338 |
-
$this->
|
339 |
[
|
340 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
341 |
'type' => Controls_Manager::SLIDER,
|
@@ -354,7 +356,7 @@ class Premium_Button extends Widget_Base {
|
|
354 |
]
|
355 |
);
|
356 |
|
357 |
-
$this->
|
358 |
[
|
359 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
360 |
'type' => Controls_Manager::SLIDER,
|
@@ -374,7 +376,7 @@ class Premium_Button extends Widget_Base {
|
|
374 |
);
|
375 |
}
|
376 |
|
377 |
-
$this->
|
378 |
[
|
379 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
380 |
'type' => Controls_Manager::SLIDER,
|
@@ -395,7 +397,7 @@ class Premium_Button extends Widget_Base {
|
|
395 |
]
|
396 |
);
|
397 |
|
398 |
-
$this->
|
399 |
[
|
400 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
401 |
'type' => Controls_Manager::SLIDER,
|
267 |
]
|
268 |
);
|
269 |
|
270 |
+
$this->add_responsive_control('premium_button_icon_before_size',
|
271 |
[
|
272 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
273 |
'type' => Controls_Manager::SLIDER,
|
277 |
],
|
278 |
'selectors' => [
|
279 |
'{{WRAPPER}} .premium-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
280 |
+
'{{WRAPPER}} .premium-button-text-icon-wrapper svg' => 'width: {{SIZE}}px; height: {{SIZE}}px',
|
281 |
]
|
282 |
]
|
283 |
);
|
284 |
|
285 |
+
$this->add_responsive_control('premium_button_icon_style4_size',
|
286 |
[
|
287 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
288 |
'type' => Controls_Manager::SLIDER,
|
291 |
],
|
292 |
'selectors' => [
|
293 |
'{{WRAPPER}} .premium-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
294 |
+
'{{WRAPPER}} .premium-button-style4-icon-wrapper svg' => 'width: {{SIZE}}px; height: {{SIZE}}px'
|
295 |
]
|
296 |
]
|
297 |
);
|
298 |
|
299 |
if( ! $this->check_rtl() ) {
|
300 |
+
$this->add_responsive_control('premium_button_icon_before_spacing',
|
301 |
[
|
302 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
303 |
'type' => Controls_Manager::SLIDER,
|
316 |
]
|
317 |
);
|
318 |
|
319 |
+
$this->add_responsive_control('premium_button_icon_after_spacing',
|
320 |
[
|
321 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
322 |
'type' => Controls_Manager::SLIDER,
|
337 |
}
|
338 |
|
339 |
if( $this->check_rtl() ) {
|
340 |
+
$this->add_responsive_control('premium_button_icon_rtl_before_spacing',
|
341 |
[
|
342 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
343 |
'type' => Controls_Manager::SLIDER,
|
356 |
]
|
357 |
);
|
358 |
|
359 |
+
$this->add_responsive_control('premium_button_icon_rtl_after_spacing',
|
360 |
[
|
361 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
362 |
'type' => Controls_Manager::SLIDER,
|
376 |
);
|
377 |
}
|
378 |
|
379 |
+
$this->add_responsive_control('premium_button_icon_style3_before_transition',
|
380 |
[
|
381 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
382 |
'type' => Controls_Manager::SLIDER,
|
397 |
]
|
398 |
);
|
399 |
|
400 |
+
$this->add_responsive_control('premium_button_icon_style3_after_transition',
|
401 |
[
|
402 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
403 |
'type' => Controls_Manager::SLIDER,
|
widgets/premium-image-button.php
CHANGED
@@ -255,7 +255,7 @@ class Premium_Image_Button extends Widget_Base {
|
|
255 |
]
|
256 |
);
|
257 |
|
258 |
-
$this->
|
259 |
[
|
260 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
261 |
'type' => Controls_Manager::SLIDER,
|
@@ -265,11 +265,12 @@ class Premium_Image_Button extends Widget_Base {
|
|
265 |
],
|
266 |
'selectors' => [
|
267 |
'{{WRAPPER}} .premium-image-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
|
|
268 |
]
|
269 |
]
|
270 |
);
|
271 |
|
272 |
-
$this->
|
273 |
[
|
274 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
275 |
'type' => Controls_Manager::SLIDER,
|
@@ -278,11 +279,12 @@ class Premium_Image_Button extends Widget_Base {
|
|
278 |
],
|
279 |
'selectors' => [
|
280 |
'{{WRAPPER}} .premium-image-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
|
|
281 |
]
|
282 |
]
|
283 |
);
|
284 |
|
285 |
-
$this->
|
286 |
[
|
287 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
288 |
'type' => Controls_Manager::SLIDER,
|
@@ -301,7 +303,7 @@ class Premium_Image_Button extends Widget_Base {
|
|
301 |
]
|
302 |
);
|
303 |
|
304 |
-
$this->
|
305 |
[
|
306 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
307 |
'type' => Controls_Manager::SLIDER,
|
255 |
]
|
256 |
);
|
257 |
|
258 |
+
$this->add_responsive_control('premium_image_button_icon_before_size',
|
259 |
[
|
260 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
261 |
'type' => Controls_Manager::SLIDER,
|
265 |
],
|
266 |
'selectors' => [
|
267 |
'{{WRAPPER}} .premium-image-button-text-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
268 |
+
'{{WRAPPER}} .premium-image-button-text-icon-wrapper svg' => 'width: {{SIZE}}px; height: {{SIZE}}px',
|
269 |
]
|
270 |
]
|
271 |
);
|
272 |
|
273 |
+
$this->add_responsive_control('premium_image_button_icon_style4_size',
|
274 |
[
|
275 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
276 |
'type' => Controls_Manager::SLIDER,
|
279 |
],
|
280 |
'selectors' => [
|
281 |
'{{WRAPPER}} .premium-image-button-style4-icon-wrapper i' => 'font-size: {{SIZE}}px',
|
282 |
+
'{{WRAPPER}} .premium-image-button-style4-icon-wrapper svg' => 'width: {{SIZE}}px; height: {{SIZE}}px',
|
283 |
]
|
284 |
]
|
285 |
);
|
286 |
|
287 |
+
$this->add_responsive_control('premium_image_button_icon_before_spacing',
|
288 |
[
|
289 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
290 |
'type' => Controls_Manager::SLIDER,
|
303 |
]
|
304 |
);
|
305 |
|
306 |
+
$this->add_responsive_control('premium_image_button_icon_after_spacing',
|
307 |
[
|
308 |
'label' => __('Icon Spacing', 'premium-addons-for-elementor'),
|
309 |
'type' => Controls_Manager::SLIDER,
|
widgets/premium-modalbox.php
CHANGED
@@ -121,7 +121,8 @@ class Premium_Modalbox extends Widget_Base {
|
|
121 |
'premium_modal_box_header_switcher' => 'yes'
|
122 |
],
|
123 |
'selectors' => [
|
124 |
-
'{{WRAPPER}} .premium-modal-box-modal-title i
|
|
|
125 |
]
|
126 |
]
|
127 |
);
|
@@ -324,7 +325,8 @@ class Premium_Modalbox extends Widget_Base {
|
|
324 |
'premium_modal_box_icon_switcher' => 'yes'
|
325 |
],
|
326 |
'selectors' => [
|
327 |
-
'{{WRAPPER}} .premium-modal-box-button-selector i
|
|
|
328 |
]
|
329 |
]
|
330 |
);
|
121 |
'premium_modal_box_header_switcher' => 'yes'
|
122 |
],
|
123 |
'selectors' => [
|
124 |
+
'{{WRAPPER}} .premium-modal-box-modal-title i'=> 'font-size: {{SIZE}}{{UNIT}}',
|
125 |
+
'{{WRAPPER}} .premium-modal-box-modal-title svg'=> 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}',
|
126 |
]
|
127 |
]
|
128 |
);
|
325 |
'premium_modal_box_icon_switcher' => 'yes'
|
326 |
],
|
327 |
'selectors' => [
|
328 |
+
'{{WRAPPER}} .premium-modal-box-button-selector i'=> 'font-size: {{SIZE}}px',
|
329 |
+
'{{WRAPPER}} .premium-modal-box-button-selector svg'=> 'width: {{SIZE}}px; height: {{SIZE}}px',
|
330 |
]
|
331 |
]
|
332 |
);
|
widgets/premium-pricing-table.php
CHANGED
@@ -268,8 +268,13 @@ class Premium_Pricing_Table extends Widget_Base {
|
|
268 |
'icon' => 'fa fa-align-right',
|
269 |
],
|
270 |
],
|
|
|
|
|
|
|
|
|
|
|
271 |
'selectors' => [
|
272 |
-
'{{WRAPPER}} .premium-pricing-list' => '
|
273 |
],
|
274 |
'default' => 'center',
|
275 |
]
|
@@ -553,7 +558,7 @@ class Premium_Pricing_Table extends Widget_Base {
|
|
553 |
]
|
554 |
);
|
555 |
|
556 |
-
$this->
|
557 |
[
|
558 |
'label' => __('Size', 'premium-addons-for-elementor'),
|
559 |
'type' => Controls_Manager::SLIDER,
|
@@ -561,7 +566,8 @@ class Premium_Pricing_Table extends Widget_Base {
|
|
561 |
'size' => 25,
|
562 |
],
|
563 |
'selectors' => [
|
564 |
-
'{{WRAPPER}} .premium-pricing-icon-container' => 'font-size: {{SIZE}}px',
|
|
|
565 |
]
|
566 |
]
|
567 |
);
|
@@ -1169,17 +1175,18 @@ class Premium_Pricing_Table extends Widget_Base {
|
|
1169 |
]
|
1170 |
);
|
1171 |
|
1172 |
-
$this->
|
1173 |
[
|
1174 |
'label' => __('Size', 'premium-addons-for-elementor'),
|
1175 |
'type' => Controls_Manager::SLIDER,
|
1176 |
'selectors' => [
|
1177 |
'{{WRAPPER}} .premium-pricing-list i' => 'font-size: {{SIZE}}px',
|
|
|
1178 |
]
|
1179 |
]
|
1180 |
);
|
1181 |
|
1182 |
-
$this->
|
1183 |
[
|
1184 |
'label' => __('Spacing', 'premium-addons-for-elementor'),
|
1185 |
'type' => Controls_Manager::SLIDER,
|
@@ -1192,7 +1199,7 @@ class Premium_Pricing_Table extends Widget_Base {
|
|
1192 |
]
|
1193 |
);
|
1194 |
|
1195 |
-
$this->
|
1196 |
[
|
1197 |
'label' => __('Vertical Spacing', 'premium-addons-for-elementor'),
|
1198 |
'type' => Controls_Manager::SLIDER,
|
268 |
'icon' => 'fa fa-align-right',
|
269 |
],
|
270 |
],
|
271 |
+
'selectors_dictionary' => [
|
272 |
+
'left' => 'flex-start',
|
273 |
+
'center' => 'center',
|
274 |
+
'right' => 'flex-end',
|
275 |
+
],
|
276 |
'selectors' => [
|
277 |
+
'{{WRAPPER}} .premium-pricing-list li' => 'justify-content: {{VALUE}}',
|
278 |
],
|
279 |
'default' => 'center',
|
280 |
]
|
558 |
]
|
559 |
);
|
560 |
|
561 |
+
$this->add_responsive_control('premium_pricing_icon_size',
|
562 |
[
|
563 |
'label' => __('Size', 'premium-addons-for-elementor'),
|
564 |
'type' => Controls_Manager::SLIDER,
|
566 |
'size' => 25,
|
567 |
],
|
568 |
'selectors' => [
|
569 |
+
'{{WRAPPER}} .premium-pricing-icon-container i' => 'font-size: {{SIZE}}px',
|
570 |
+
'{{WRAPPER}} .premium-pricing-icon-container svg' => 'width: {{SIZE}}px; height: {{SIZE}}px'
|
571 |
]
|
572 |
]
|
573 |
);
|
1175 |
]
|
1176 |
);
|
1177 |
|
1178 |
+
$this->add_responsive_control('premium_pricing_list_icon_size',
|
1179 |
[
|
1180 |
'label' => __('Size', 'premium-addons-for-elementor'),
|
1181 |
'type' => Controls_Manager::SLIDER,
|
1182 |
'selectors' => [
|
1183 |
'{{WRAPPER}} .premium-pricing-list i' => 'font-size: {{SIZE}}px',
|
1184 |
+
'{{WRAPPER}} .premium-pricing-list svg' => 'width: {{SIZE}}px; height: {{SIZE}}px',
|
1185 |
]
|
1186 |
]
|
1187 |
);
|
1188 |
|
1189 |
+
$this->add_responsive_control('premium_pricing_list_icon_spacing',
|
1190 |
[
|
1191 |
'label' => __('Spacing', 'premium-addons-for-elementor'),
|
1192 |
'type' => Controls_Manager::SLIDER,
|
1199 |
]
|
1200 |
);
|
1201 |
|
1202 |
+
$this->add_responsive_control('premium_pricing_list_item_margin',
|
1203 |
[
|
1204 |
'label' => __('Vertical Spacing', 'premium-addons-for-elementor'),
|
1205 |
'type' => Controls_Manager::SLIDER,
|
widgets/premium-title.php
CHANGED
@@ -146,11 +146,9 @@ class Premium_Title extends Widget_Base {
|
|
146 |
]
|
147 |
);
|
148 |
|
149 |
-
|
150 |
-
|
151 |
/*Style 8*/
|
152 |
/*Stripe Width*/
|
153 |
-
$this->
|
154 |
[
|
155 |
'label' => __('Stripe Width (PX)', 'premium-addons-for-elementor'),
|
156 |
'type' => Controls_Manager::SLIDER,
|
@@ -478,13 +476,14 @@ class Premium_Title extends Widget_Base {
|
|
478 |
);
|
479 |
|
480 |
/*Icon Size*/
|
481 |
-
$this->
|
482 |
[
|
483 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
484 |
'type' => Controls_Manager::SLIDER,
|
485 |
'size_units' => ['px', 'em', '%'],
|
486 |
'selectors' => [
|
487 |
-
'{{WRAPPER}} .premium-title-
|
|
|
488 |
]
|
489 |
]
|
490 |
);
|
146 |
]
|
147 |
);
|
148 |
|
|
|
|
|
149 |
/*Style 8*/
|
150 |
/*Stripe Width*/
|
151 |
+
$this->add_responsive_control('premium_title_style7_strip_width',
|
152 |
[
|
153 |
'label' => __('Stripe Width (PX)', 'premium-addons-for-elementor'),
|
154 |
'type' => Controls_Manager::SLIDER,
|
476 |
);
|
477 |
|
478 |
/*Icon Size*/
|
479 |
+
$this->add_responsive_control('premium_title_icon_size',
|
480 |
[
|
481 |
'label' => __('Icon Size', 'premium-addons-for-elementor'),
|
482 |
'type' => Controls_Manager::SLIDER,
|
483 |
'size_units' => ['px', 'em', '%'],
|
484 |
'selectors' => [
|
485 |
+
'{{WRAPPER}} .premium-title-header i' => 'font-size: {{SIZE}}{{UNIT}}',
|
486 |
+
'{{WRAPPER}} .premium-title-header svg' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}'
|
487 |
]
|
488 |
]
|
489 |
);
|