Shortcodes and extra features for Phlox theme - Version 2.4.18

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Shortcodes and extra features for Phlox theme
Version 2.4.18
Comparing to
See all releases

Code changes from version 2.4.16 to 2.4.18

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, fram
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.3.0
10
- Stable tag: 2.4.16
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -155,51 +155,55 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
155
 
156
  == Changelog ==
157
 
158
- = Version 2.4.16 / 15.01.2020) =
 
 
 
 
159
  - [Improvement]: Some improvements for testimonial element applied.
160
 
161
- = Version 2.4.12 / 01.11.2019) =
162
  - [Improvement]: Some improvements for button element applied.
163
 
164
- = Version 2.4.11 / 03.10.2019) =
165
  - [Fix]: An issue with mega menu fixed.
166
 
167
- = Version 2.4.8 / 25.08.2019) =
168
  - [Improvement]: An issue while installing some bundled plugins fixed.
169
 
170
- = Version 2.4.7 / 01.08.2019) =
171
  - [Improvement]: Improvements in the layout of templates kit.
172
 
173
- = Version 2.4.6 / 17.07.2019) =
174
  - [Improvement]: Some style improvements in info box element applied.
175
  - [Fix]: Fix an issue with genral headings typography fixed.
176
 
177
- = Version 2.4.4 / 11.06.2019) =
178
  - [New]: Introducing single page builder.
179
  - [Fix]: Minor bug fixes and performance improvements.
180
 
181
- = Version 2.4.2 / 05.05.2019) =
182
  - [New]: Export and import options added to customizer.
183
  - [Improvement]: Improvements in accordion element.
184
 
185
- = Version 2.4.1 / 30.04.2019) =
186
  - [Fix]: An issue with importing some menu labels fixed.
187
  - [Improvement]: Improvements in Phlox shop applied.
188
 
189
- = Version 2.3.11 / 03.01.2019) =
190
  - [Improvement]: Changing the google analytic tracking option to tracking ID option.
191
  - [New]: Addig new options for background and color hover effect for recent posts element.
192
  - [Fix]: An issue with post formats fixed.
193
 
194
- = Version 2.3.7 / 06.01.2019) =
195
  - [Fix]: New option for changing the border color of header section added to page options.
196
 
197
- = Version 2.3.6 / 27.12.2018) =
198
  - [Fix]: Fixing an issue on gmap while zoom with scroll option is enabled.
199
  - [New]: Adding preload option to post elements.
200
  - [New]: Adding new preload preview options for image element.
201
 
202
- = Version 2.3.0 / 19.11.2018) =
203
  - [Fix]: Fixing some undefined variables.
204
  - [New]: Introducing Templates Kit Library.
205
  - [New]: New preload options added to advanced image element, plus, adding max width and height options.
@@ -209,81 +213,81 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
209
  - [Improvement]: Improvement in retrieving and displaying the list of demos applied.
210
  - [New]: New top header options added to page options.
211
 
212
- = Version 2.2.22 / 16.09.2018) =
213
  - [Fix]: Minor bugs fixed.
214
 
215
- = Version 2.2.21 / 02.09.2018) =
216
  - [Fix]: Minor bugs fixed.
217
 
218
- = Version 2.2.20 / 23.08.2018) =
219
  - [Fix]: Fixing some PHP notices while Elementor Pro was activated for the first time.
220
 
221
- = Version 2.2.18 / 20.08.2018) =
222
  - [Fix]: Minor bugs fixed.
223
 
224
- = Version 2.2.17 / 15.08.2018) =
225
  - [Fix]: Minor bugs fixed.
226
 
227
- = Version 2.2.16 / 09.08.2018) =
228
  - [Fix]: An issue with importer fixed.
229
 
230
- = Version 2.2.13 / 31.07.2018) =
231
  - [Improvement]: Improvement for Elementor page builder applied.
232
 
233
- = Version 2.2.12 / 21.07.2018) =
234
  - [New]: Adding Custom CSS field to all Elementor elements.
235
  - [New]: Adding video tutorials to Phlox dashboard.
236
 
237
- = Version 2.2.9 / 09.07.2018) =
238
  - [Improvement]: Improvement in admin dashboard for displaying the latest changes.
239
  - [Fix]: Some minor bugs fixed.
240
 
241
- = Version 2.2.8 / 05.07.2018) =
242
  - [New]: Adding Custom CSS field to all Elementor elements.
243
  - [New]: Adding video tutorials to Phlox dashboard.
244
  - [Improvement]: Improvement in Phlox dashboard and demo importer.
245
  - [Improvement]: Now you can filter the recommended plugins in Phlox dashboard.
246
  - [Improvement]: Better plugin dependency management.
247
 
248
- = Version 2.2.7 / 27.06.2018) =
249
  - [New]: Introducing brand new demo importer.
250
  - [Improvement]: Improvement in responsive images.
251
  - [Improvement]: Improvement in preloading images which result in faster page loading speed.
252
  - [Fix]: An issue with Gallery element fixed.
253
  - [Fix]: Minor bugs fixed.
254
 
255
- = Version 2.2.3 / 14.06.2018) =
256
  - [New]: New elements "Modern Heading" and "Mailchimp" for Elementor page builder added.
257
  - [Fix]: Minor bugs fixed.
258
 
259
- = Version 2.2.1 / 05.06.2018) =
260
  - [New]: New element "Flexible List" for Elementor page builder added.
261
  - [Fix]: An issue in SiteOrigin Text element fixed.
262
 
263
- = Version 2.2.0 / 31.05.2018) =
264
  - [New]: Two new elements for Elementor page builder added (Accordion and Tabs).
265
  - [Improvement]: Improvement in testimonial and staff elements for Elementor page builder.
266
 
267
- = Version 2.1.9 / 26.05.2018) =
268
  - [New]: Three new elements for Elementor page builder added (Blockquote, Testimonial and Slider).
269
 
270
- = Version 2.1.8 / 24.05.2018) =
271
  - [New]: Two new elements for Elementor page builder added (video and audio).
272
 
273
- = Version 2.1.7 / 23.05.2018) =
274
  - [New]: 10 new elements for Elementor page builder added.
275
  - [Improvement]: Under the hood improvements.
276
 
277
- = Version 2.1.6 / 16.05.2018) =
278
  - [Improvement]: Improvement in image preloading.
279
  - [Improvement]: Under the hood improvements.
280
 
281
- = Version 2.1.1 / 09.04.2018) =
282
  - [Fix]: Bug fix and improvements for setup wizard.
283
  - [New]: Introducing Recent Product Element for Woocommerce.
284
  - [Improvement]: Make recent portfolios element compatible with ajax loadmore.
285
 
286
- = Version 2.0.9 / 13.03.2018) =
287
  - [New]: Adding an option for marker icon in gmap element.
288
  - [Fix]: Fixing a fatal error while saving the post with wordpress-seo enabled.
289
  - [New]: Added star rating to testimonial element.
@@ -291,18 +295,18 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
291
  - [Improvement]: Adding animation tab and options to Visual Composer.
292
  - [Improvement]: Improvement in subtitle option in recent posts element.
293
 
294
- = Version 2.0.6 / 17.02.2018) =
295
  - [Fix]: Fixed an issue with post slider that excludes the first blog post.
296
  - [Fix]: The warning message in timeline and masonry blog layout fixed.
297
  - [New]: Adding lazyload option for image element
298
 
299
- = Version 2.0.5 / 13.02.2018) =
300
  - [New]: New options in permalink page for changing the default slug of taxonomies.
301
  - [Fix]: A PHP warning in search page fixed.
302
  - [New]: Adding some hooks to replace custom logo images on pages if custom logo was specified
303
  - [New]: New Metafields For Header and footer options.
304
 
305
- = Version 2.0.0 / 23.01.2018) =
306
  - [Improvement]: Improvement in setup wizard.
307
  - [Improvement]: Optimization, improvement and new size options in image element.
308
  - [Improvement]: Improvement in timeline element.
@@ -316,7 +320,7 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
316
  - [New]: Custom search functionality and options added.
317
  - [New]: Added options and functionality for custom 404 page.
318
 
319
- = Version 1.7.2 / 02.12.2017) =
320
  - [New]: Secondary and optional logo image added for sticky header.
321
  - [New]: Adding new option for header background color while header is sticky.
322
  - [New]: Install plugins tab added to phlox welcome page.
@@ -327,7 +331,7 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
327
  - [Fix]: An issue with "Instagram feed" widget fixed.
328
  - [Fix]: An issue with GMap widget fixed.
329
 
330
- = Version 1.7.0 / 14.11.2017) =
331
  - [Fix]: An issue with recent post elements on single post page fixed.
332
  - [Fix]: Live preview for header action buttons while editing in customizer.
333
  - [New]: Add new functionalities to WordPress video playlist.
@@ -337,7 +341,7 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
337
  - [Fix]: A typo in testimonial name fixed.
338
  - [Improvement]: Default load more type for recent grid element changed.
339
 
340
- = Version 1.6.4 / 1.11.2017) =
341
  - [Improvement]: Major improvements for page title setting were applied.
342
  - [Improvement]: Several improvements for setup wizard were applied.
343
 
@@ -421,4 +425,4 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
421
 
422
  == Upgrade Notice ==
423
 
424
- = 2.4.16 =
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.3.0
10
+ Stable tag: 2.4.18
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
155
 
156
  == Changelog ==
157
 
158
+ = Version 2.4.18 / (03.02.2020) =
159
+ - [Improvement]: Some improvements for modern heading element applied.
160
+ - [Improvement]: Improvements for dark mode styles in Elementor panel applied.
161
+
162
+ = Version 2.4.16 / (15.01.2020) =
163
  - [Improvement]: Some improvements for testimonial element applied.
164
 
165
+ = Version 2.4.12 / (01.11.2019) =
166
  - [Improvement]: Some improvements for button element applied.
167
 
168
+ = Version 2.4.11 / (03.10.2019) =
169
  - [Fix]: An issue with mega menu fixed.
170
 
171
+ = Version 2.4.8 / (25.08.2019) =
172
  - [Improvement]: An issue while installing some bundled plugins fixed.
173
 
174
+ = Version 2.4.7 / (01.08.2019) =
175
  - [Improvement]: Improvements in the layout of templates kit.
176
 
177
+ = Version 2.4.6 / (17.07.2019) =
178
  - [Improvement]: Some style improvements in info box element applied.
179
  - [Fix]: Fix an issue with genral headings typography fixed.
180
 
181
+ = Version 2.4.4 / (11.06.2019) =
182
  - [New]: Introducing single page builder.
183
  - [Fix]: Minor bug fixes and performance improvements.
184
 
185
+ = Version 2.4.2 / (05.05.2019) =
186
  - [New]: Export and import options added to customizer.
187
  - [Improvement]: Improvements in accordion element.
188
 
189
+ = Version 2.4.1 / (30.04.2019) =
190
  - [Fix]: An issue with importing some menu labels fixed.
191
  - [Improvement]: Improvements in Phlox shop applied.
192
 
193
+ = Version 2.3.11 / (03.01.2019) =
194
  - [Improvement]: Changing the google analytic tracking option to tracking ID option.
195
  - [New]: Addig new options for background and color hover effect for recent posts element.
196
  - [Fix]: An issue with post formats fixed.
197
 
198
+ = Version 2.3.7 / (06.01.2019) =
199
  - [Fix]: New option for changing the border color of header section added to page options.
200
 
201
+ = Version 2.3.6 / (27.12.2018) =
202
  - [Fix]: Fixing an issue on gmap while zoom with scroll option is enabled.
203
  - [New]: Adding preload option to post elements.
204
  - [New]: Adding new preload preview options for image element.
205
 
206
+ = Version 2.3.0 / (19.11.2018) =
207
  - [Fix]: Fixing some undefined variables.
208
  - [New]: Introducing Templates Kit Library.
209
  - [New]: New preload options added to advanced image element, plus, adding max width and height options.
213
  - [Improvement]: Improvement in retrieving and displaying the list of demos applied.
214
  - [New]: New top header options added to page options.
215
 
216
+ = Version 2.2.22 / (16.09.2018) =
217
  - [Fix]: Minor bugs fixed.
218
 
219
+ = Version 2.2.21 / (02.09.2018) =
220
  - [Fix]: Minor bugs fixed.
221
 
222
+ = Version 2.2.20 / (23.08.2018) =
223
  - [Fix]: Fixing some PHP notices while Elementor Pro was activated for the first time.
224
 
225
+ = Version 2.2.18 / (20.08.2018) =
226
  - [Fix]: Minor bugs fixed.
227
 
228
+ = Version 2.2.17 / (15.08.2018) =
229
  - [Fix]: Minor bugs fixed.
230
 
231
+ = Version 2.2.16 / (09.08.2018) =
232
  - [Fix]: An issue with importer fixed.
233
 
234
+ = Version 2.2.13 / (31.07.2018) =
235
  - [Improvement]: Improvement for Elementor page builder applied.
236
 
237
+ = Version 2.2.12 / (21.07.2018) =
238
  - [New]: Adding Custom CSS field to all Elementor elements.
239
  - [New]: Adding video tutorials to Phlox dashboard.
240
 
241
+ = Version 2.2.9 / (09.07.2018) =
242
  - [Improvement]: Improvement in admin dashboard for displaying the latest changes.
243
  - [Fix]: Some minor bugs fixed.
244
 
245
+ = Version 2.2.8 / (05.07.2018) =
246
  - [New]: Adding Custom CSS field to all Elementor elements.
247
  - [New]: Adding video tutorials to Phlox dashboard.
248
  - [Improvement]: Improvement in Phlox dashboard and demo importer.
249
  - [Improvement]: Now you can filter the recommended plugins in Phlox dashboard.
250
  - [Improvement]: Better plugin dependency management.
251
 
252
+ = Version 2.2.7 / (27.06.2018) =
253
  - [New]: Introducing brand new demo importer.
254
  - [Improvement]: Improvement in responsive images.
255
  - [Improvement]: Improvement in preloading images which result in faster page loading speed.
256
  - [Fix]: An issue with Gallery element fixed.
257
  - [Fix]: Minor bugs fixed.
258
 
259
+ = Version 2.2.3 / (14.06.2018) =
260
  - [New]: New elements "Modern Heading" and "Mailchimp" for Elementor page builder added.
261
  - [Fix]: Minor bugs fixed.
262
 
263
+ = Version 2.2.1 / (05.06.2018) =
264
  - [New]: New element "Flexible List" for Elementor page builder added.
265
  - [Fix]: An issue in SiteOrigin Text element fixed.
266
 
267
+ = Version 2.2.0 / (31.05.2018) =
268
  - [New]: Two new elements for Elementor page builder added (Accordion and Tabs).
269
  - [Improvement]: Improvement in testimonial and staff elements for Elementor page builder.
270
 
271
+ = Version 2.1.9 / (26.05.2018) =
272
  - [New]: Three new elements for Elementor page builder added (Blockquote, Testimonial and Slider).
273
 
274
+ = Version 2.1.8 / (24.05.2018) =
275
  - [New]: Two new elements for Elementor page builder added (video and audio).
276
 
277
+ = Version 2.1.7 / (23.05.2018) =
278
  - [New]: 10 new elements for Elementor page builder added.
279
  - [Improvement]: Under the hood improvements.
280
 
281
+ = Version 2.1.6 / (16.05.2018) =
282
  - [Improvement]: Improvement in image preloading.
283
  - [Improvement]: Under the hood improvements.
284
 
285
+ = Version 2.1.1 / (09.04.2018) =
286
  - [Fix]: Bug fix and improvements for setup wizard.
287
  - [New]: Introducing Recent Product Element for Woocommerce.
288
  - [Improvement]: Make recent portfolios element compatible with ajax loadmore.
289
 
290
+ = Version 2.0.9 / (13.03.2018) =
291
  - [New]: Adding an option for marker icon in gmap element.
292
  - [Fix]: Fixing a fatal error while saving the post with wordpress-seo enabled.
293
  - [New]: Added star rating to testimonial element.
295
  - [Improvement]: Adding animation tab and options to Visual Composer.
296
  - [Improvement]: Improvement in subtitle option in recent posts element.
297
 
298
+ = Version 2.0.6 / (17.02.2018) =
299
  - [Fix]: Fixed an issue with post slider that excludes the first blog post.
300
  - [Fix]: The warning message in timeline and masonry blog layout fixed.
301
  - [New]: Adding lazyload option for image element
302
 
303
+ = Version 2.0.5 / (13.02.2018) =
304
  - [New]: New options in permalink page for changing the default slug of taxonomies.
305
  - [Fix]: A PHP warning in search page fixed.
306
  - [New]: Adding some hooks to replace custom logo images on pages if custom logo was specified
307
  - [New]: New Metafields For Header and footer options.
308
 
309
+ = Version 2.0.0 / (23.01.2018) =
310
  - [Improvement]: Improvement in setup wizard.
311
  - [Improvement]: Optimization, improvement and new size options in image element.
312
  - [Improvement]: Improvement in timeline element.
320
  - [New]: Custom search functionality and options added.
321
  - [New]: Added options and functionality for custom 404 page.
322
 
323
+ = Version 1.7.2 / (02.12.2017) =
324
  - [New]: Secondary and optional logo image added for sticky header.
325
  - [New]: Adding new option for header background color while header is sticky.
326
  - [New]: Install plugins tab added to phlox welcome page.
331
  - [Fix]: An issue with "Instagram feed" widget fixed.
332
  - [Fix]: An issue with GMap widget fixed.
333
 
334
+ = Version 1.7.0 / (14.11.2017) =
335
  - [Fix]: An issue with recent post elements on single post page fixed.
336
  - [Fix]: Live preview for header action buttons while editing in customizer.
337
  - [New]: Add new functionalities to WordPress video playlist.
341
  - [Fix]: A typo in testimonial name fixed.
342
  - [Improvement]: Default load more type for recent grid element changed.
343
 
344
+ = Version 1.6.4 / (1.11.2017) =
345
  - [Improvement]: Major improvements for page title setting were applied.
346
  - [Improvement]: Several improvements for setup wizard were applied.
347
 
425
 
426
  == Upgrade Notice ==
427
 
428
+ = 2.4.18 =
admin/assets/css/elementor-editor.css CHANGED
@@ -212,7 +212,7 @@ div[id*="elementor-panel-category-auxin-"] .elementor-element:hover .icon > i:af
212
 
213
 
214
  .auxin #elementor-panel-category-element-pack .elementor-element .icon{
215
- color: #888;
216
  }
217
  .auxin #elementor-panel-category-element-pack .elementor-element:hover .icon,
218
  .auxin #elementor-panel-category-element-pack .elementor-element:hover .title{
@@ -264,6 +264,23 @@ div[class*="elementor-control-aux_pro"]:before{
264
  color: #aaa;
265
  }
266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
  /* Go pro notice in pro control sections
268
  --------------------------*/
269
  .auxin-elementor-panel-notice{
212
 
213
 
214
  .auxin #elementor-panel-category-element-pack .elementor-element .icon{
215
+ color: #000;
216
  }
217
  .auxin #elementor-panel-category-element-pack .elementor-element:hover .icon,
218
  .auxin #elementor-panel-category-element-pack .elementor-element:hover .title{
264
  color: #aaa;
265
  }
266
 
267
+ @media (prefers-color-scheme: dark) {
268
+ .elementor-element .auxin-badge:after,
269
+ .elementor-element .auxin-badge-pro:after,
270
+ .auxin .elementor-element .icon .bdt-widget-icon:after,
271
+ .auxin-pro div[class*="elementor-control-aux_core"]:before,
272
+ .auxin-pro div[class*="elementor-control-aux_pro"]:before{
273
+ border-color:#555;
274
+ color: #999;
275
+ }
276
+
277
+ .auxin-pro .elementor-element .auxin-badge-pro,
278
+ div[id*="elementor-panel-category-auxin-"] .elementor-element .icon,
279
+ div[id*="elementor-panel-category-auxin-"] .elementor-element .title {
280
+ color: #e0e1e3;
281
+ }
282
+ }
283
+
284
  /* Go pro notice in pro control sections
285
  --------------------------*/
286
  .auxin-elementor-panel-notice{
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.4.16 (2020-01-15)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
1
+ /*! Phlox Core Plugin - v2.4.18 (2020-02-03)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
admin/includes/classes/class-auxels-plugin-check-update.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  /**
3
  *
4
- * @package MasterSlider
5
- * @author averta [averta.net]
6
- * @license LICENSE.txt
7
- * @link http://masterslider.com
8
- * @copyright Copyright © 2014 averta
 
9
  */
10
 
11
  // no direct access allowed
1
  <?php
2
  /**
3
  *
4
+ *
5
+ * @package Auxin
6
+ * @license LICENSE.txt
7
+ * @author averta
8
+ * @link http://phlox.pro/
9
+ * @copyright (c) 2010-2020 averta
10
  */
11
 
12
  // no direct access allowed
auxin-elements.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
- * Version: 2.4.16
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
+ * Version: 2.4.18
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/classes/class-auxels-import.php CHANGED
@@ -2,7 +2,6 @@
2
  /**
3
  * Class for importing and exporting theme options
4
  */
5
-
6
  class Auxels_Import {
7
 
8
  /**
@@ -16,7 +15,7 @@ class Auxels_Import {
16
  function __construct(){
17
  // Add a radio option for exporting auxin options to wp export options.
18
  add_action( 'export_filters', array( $this, 'export_filters' ) );
19
- // Process the check field for auxin options while export submited
20
  add_filter( 'export_args', array( $this, 'export_args' ) );
21
 
22
  // adding options to export file
@@ -43,14 +42,13 @@ class Auxels_Import {
43
  /**
44
  * Process the check field for auxin options
45
  *
46
- * @param [type] $args [description]
47
- * @return [type] [description]
48
  */
49
  public function export_args( $args ){
50
 
51
  if ( ! empty( $_GET['auxin-options'] ) ) {
52
  $args['auxin-options'] = true;
53
- return $args;
54
  }
55
 
56
  return $args;
@@ -81,6 +79,15 @@ class Auxels_Import {
81
  }
82
  }
83
 
 
 
 
 
 
 
 
 
 
84
 
85
  /**
86
  * Import the options based on parsed data from xml file
@@ -109,20 +116,10 @@ class Auxels_Import {
109
 
110
  }
111
 
112
-
113
- /**
114
- * Retrieves the list of options we intended to include in export file
115
- */
116
- public function get_export_option_list(){
117
- return array(
118
- 'theme_options' => THEME_ID . '_theme_options'
119
- );
120
- }
121
-
122
-
123
  /**
124
  * Print the data in cdata and utf8 format
125
- * @param string $str
 
126
  */
127
  function wxr_cdata( $str ) {
128
  if ( ! seems_utf8( $str ) ) {
2
  /**
3
  * Class for importing and exporting theme options
4
  */
 
5
  class Auxels_Import {
6
 
7
  /**
15
  function __construct(){
16
  // Add a radio option for exporting auxin options to wp export options.
17
  add_action( 'export_filters', array( $this, 'export_filters' ) );
18
+ // Process the check field for auxin options while export submitted
19
  add_filter( 'export_args', array( $this, 'export_args' ) );
20
 
21
  // adding options to export file
42
  /**
43
  * Process the check field for auxin options
44
  *
45
+ * @param array $args
46
+ * @return mixed
47
  */
48
  public function export_args( $args ){
49
 
50
  if ( ! empty( $_GET['auxin-options'] ) ) {
51
  $args['auxin-options'] = true;
 
52
  }
53
 
54
  return $args;
79
  }
80
  }
81
 
82
+ /**
83
+ * Retrieves the list of options we intended to include in export file
84
+ */
85
+ public function get_export_option_list(){
86
+ return array(
87
+ 'theme_options' => THEME_ID . '_theme_options'
88
+ );
89
+ }
90
+
91
 
92
  /**
93
  * Import the options based on parsed data from xml file
116
 
117
  }
118
 
 
 
 
 
 
 
 
 
 
 
 
119
  /**
120
  * Print the data in cdata and utf8 format
121
+ * @param string $str
122
+ * @return string
123
  */
124
  function wxr_cdata( $str ) {
125
  if ( ! seems_utf8( $str ) ) {
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.4.16' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.4.18' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/modules/common.php CHANGED
@@ -743,11 +743,24 @@ selector .child-element{ margin: 10px; }
743
  $widget->start_controls_section(
744
  'aux_core_general_extra',
745
  array(
746
- 'label' => __( 'Extra', 'auxin-elements' ),
747
  'tab' => Controls_Manager::TAB_ADVANCED
748
  )
749
  );
750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
751
  $widget->add_responsive_control(
752
  'aux_max_width',
753
  array(
743
  $widget->start_controls_section(
744
  'aux_core_general_extra',
745
  array(
746
+ 'label' => __( 'Dimensions (extra)', 'auxin-elements' ),
747
  'tab' => Controls_Manager::TAB_ADVANCED
748
  )
749
  );
750
 
751
+ $widget->add_responsive_control(
752
+ 'flex_grow',
753
+ [
754
+ 'label' => __( 'Grow in width', 'auxin-elements' ),
755
+ 'type' => Controls_Manager::NUMBER,
756
+ 'min' => 0,
757
+ 'selectors' => [
758
+ '{{WRAPPER}}' => 'flex-grow: {{VALUE}};'
759
+ ],
760
+ 'label_block' => false
761
+ ]
762
+ );
763
+
764
  $widget->add_responsive_control(
765
  'aux_max_width',
766
  array(
includes/elementor/widgets/heading-modern.php CHANGED
@@ -4,13 +4,8 @@ namespace Auxin\Plugin\CoreElements\Elementor\Elements;
4
  use Elementor\Plugin;
5
  use Elementor\Widget_Base;
6
  use Elementor\Controls_Manager;
7
- use Elementor\Group_Control_Image_Size;
8
  use Elementor\Group_Control_Typography;
9
- use Elementor\Scheme_Color;
10
  use Elementor\Scheme_Typography;
11
- use Elementor\Utils;
12
- use Elementor\Control_Media;
13
- use Elementor\Group_Control_Border;
14
  use Elementor\Group_Control_Box_Shadow;
15
  use Elementor\Group_Control_Text_Shadow;
16
  use Elementor\Group_Control_Background;
@@ -215,28 +210,8 @@ class ModernHeading extends Widget_Base {
215
  $this->end_controls_section();
216
 
217
 
218
- $this->start_controls_section(
219
- 'description_primary_section',
220
- array(
221
- 'label' => __('Description', 'auxin-elements' ),
222
- )
223
- );
224
-
225
- $this->add_control(
226
- 'description',
227
- array(
228
- 'label' => __( 'Description', 'auxin-elements' ),
229
- 'type' => Controls_Manager::WYSIWYG,
230
- 'dynamic' => array(
231
- 'active' => true
232
- ),
233
- 'label_block' => true,
234
- 'separator' => 'before'
235
- )
236
- );
237
-
238
- $this->end_controls_section();
239
-
240
 
241
  $this->start_controls_section(
242
  'title_secondary_section',
@@ -320,6 +295,31 @@ class ModernHeading extends Widget_Base {
320
 
321
  $this->end_controls_section();
322
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
  /*-----------------------------------------------------------------------------------*/
325
  /* Style TAB
@@ -332,10 +332,29 @@ class ModernHeading extends Widget_Base {
332
  'title_style_section',
333
  array(
334
  'label' => __( 'Heading', 'auxin-elements' ),
335
- 'tab' => Controls_Manager::TAB_STYLE
 
336
  )
337
  );
338
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
  $this->add_responsive_control(
340
  'title_color',
341
  array(
@@ -347,10 +366,37 @@ class ModernHeading extends Widget_Base {
347
  )
348
  );
349
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  $this->add_responsive_control(
351
  'title_hover_color',
352
  array(
353
- 'label' => __( 'Hover Color', 'auxin-elements' ),
354
  'type' => Controls_Manager::COLOR,
355
  'selectors' => array(
356
  '{{WRAPPER}} .aux-modern-heading-primary:hover' => 'color: {{VALUE}};',
@@ -359,34 +405,63 @@ class ModernHeading extends Widget_Base {
359
  );
360
 
361
  $this->add_group_control(
362
- Group_Control_Typography::get_type(),
363
- array(
364
- 'name' => 'title_typography',
365
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
366
- 'selector' => '{{WRAPPER}} .aux-modern-heading-primary'
367
- )
368
  );
369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  $this->add_responsive_control(
371
  'title_margin',
372
- array(
373
  'label' => __( 'Margin', 'auxin-elements' ),
374
  'type' => Controls_Manager::DIMENSIONS,
375
- 'size_units' => array( 'px', 'em' ),
376
- 'allowed_dimensions' => 'all',
377
- 'selectors' => array(
378
  '{{WRAPPER}} .aux-modern-heading-primary' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
379
- )
380
- )
 
381
  );
382
 
383
- $this->add_group_control(
384
- Group_Control_Text_Shadow::get_type(),
385
- array(
386
- 'name' => 'title_text_shadow',
387
- 'label' => __( 'Text Shadow', 'auxin-elements' ),
388
- 'selector' => '{{WRAPPER}} .aux-modern-heading-primary'
389
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
390
  );
391
 
392
  $this->add_responsive_control(
@@ -425,12 +500,46 @@ class ModernHeading extends Widget_Base {
425
 
426
  $this->start_controls_section(
427
  'title2_style_heading',
428
- array(
429
  'label' => __( 'Secondary Heading', 'auxin-elements' ),
430
- 'tab' => Controls_Manager::TAB_STYLE
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  )
432
  );
433
 
 
 
 
 
 
 
 
 
 
434
  $this->add_responsive_control(
435
  'title2_color',
436
  array(
@@ -442,10 +551,37 @@ class ModernHeading extends Widget_Base {
442
  )
443
  );
444
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  $this->add_responsive_control(
446
  'title2_hover_color',
447
  array(
448
- 'label' => __( 'Hover Color', 'auxin-elements' ),
449
  'type' => Controls_Manager::COLOR,
450
  'selectors' => array(
451
  '{{WRAPPER}} .aux-modern-heading-secondary:hover' => 'color: {{VALUE}};',
@@ -454,34 +590,63 @@ class ModernHeading extends Widget_Base {
454
  );
455
 
456
  $this->add_group_control(
457
- Group_Control_Typography::get_type(),
458
- array(
459
- 'name' => 'title2_typography',
460
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
461
- 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary'
462
- )
 
 
 
 
 
 
 
 
 
463
  );
464
 
 
 
 
 
465
  $this->add_responsive_control(
466
  'title2_margin',
467
- array(
468
- 'label' => __( 'Text Margin', 'auxin-elements' ),
469
  'type' => Controls_Manager::DIMENSIONS,
470
- 'size_units' => array( 'px', 'em' ),
471
- 'allowed_dimensions' => 'all',
472
- 'selectors' => array(
473
  '{{WRAPPER}} .aux-modern-heading-secondary' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
474
- )
475
- )
 
476
  );
477
 
478
- $this->add_group_control(
479
- Group_Control_Text_Shadow::get_type(),
480
- array(
481
- 'name' => 'title2_text_shadow',
482
- 'label' => __( 'Text Shadow', 'auxin-elements' ),
483
- 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary',
484
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
485
  );
486
 
487
  $this->add_responsive_control(
@@ -513,18 +678,39 @@ class ModernHeading extends Widget_Base {
513
  )
514
  );
515
 
 
 
 
516
  /* Secondary Highlighted Style
517
  /*-------------------------------------*/
518
 
519
- $this->add_control(
520
  'title2_highlighted_style_heading',
 
 
 
 
 
 
 
 
 
521
  array(
522
- 'label' => __( 'Highlighted Text', 'auxin-elements' ),
523
- 'type' => Controls_Manager::HEADING,
524
- 'separator' => 'before',
525
  )
526
  );
527
 
 
 
 
 
 
 
 
 
 
528
  $this->add_responsive_control(
529
  'title2_highlighted_color',
530
  array(
@@ -536,10 +722,37 @@ class ModernHeading extends Widget_Base {
536
  )
537
  );
538
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
539
  $this->add_responsive_control(
540
  'title2_highlighted_hover_color',
541
  array(
542
- 'label' => __( 'Hover Color', 'auxin-elements' ),
543
  'type' => Controls_Manager::COLOR,
544
  'selectors' => array(
545
  '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight:hover' => 'color: {{VALUE}};',
@@ -548,33 +761,91 @@ class ModernHeading extends Widget_Base {
548
  );
549
 
550
  $this->add_group_control(
551
- Group_Control_Typography::get_type(),
552
- array(
553
- 'name' => 'title2_highlighted_typography',
554
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
555
- 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight'
556
- )
557
  );
558
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  $this->add_responsive_control(
560
  'title2_highlighted_margin',
561
- array(
562
  'label' => __( 'Margin', 'auxin-elements' ),
563
  'type' => Controls_Manager::DIMENSIONS,
564
- 'size_units' => array( 'px', 'em' ),
565
- 'allowed_dimensions' => 'all',
566
- 'selectors' => array(
567
  '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
568
- )
569
- )
 
570
  );
571
 
572
- $this->add_group_control(
573
- Group_Control_Text_Shadow::get_type(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  array(
575
- 'name' => 'title2_highlighted_text_shadow',
576
- 'label' => __( 'Text Shadow', 'auxin-elements' ),
577
- 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
578
  )
579
  );
580
 
@@ -585,10 +856,13 @@ class ModernHeading extends Widget_Base {
585
 
586
  $this->start_controls_section(
587
  'divider_style_section',
588
- array(
589
  'label' => __( 'Divider', 'auxin-elements' ),
590
- 'tab' => Controls_Manager::TAB_STYLE
591
- )
 
 
 
592
  );
593
 
594
  $this->add_responsive_control(
@@ -604,9 +878,6 @@ class ModernHeading extends Widget_Base {
604
  ),
605
  'selectors' => array(
606
  '{{WRAPPER}} .aux-modern-heading-divider' => 'height: {{SIZE}}{{UNIT}};'
607
- ),
608
- 'condition' => array(
609
- 'divider' => 'yes'
610
  )
611
  )
612
  );
@@ -629,9 +900,6 @@ class ModernHeading extends Widget_Base {
629
  ),
630
  'selectors' => array(
631
  '{{WRAPPER}} .aux-modern-heading-divider' => 'width: {{SIZE}}{{UNIT}};'
632
- ),
633
- 'condition' => array(
634
- 'divider' => 'yes'
635
  )
636
  )
637
  );
@@ -656,9 +924,6 @@ class ModernHeading extends Widget_Base {
656
  'type' => Controls_Manager::COLOR,
657
  'selectors' => array(
658
  '{{WRAPPER}} .aux-modern-heading-divider' => 'background-color: {{VALUE}};'
659
- ),
660
- 'condition' => array(
661
- 'divider' => 'yes'
662
  )
663
  )
664
  );
@@ -668,9 +933,6 @@ class ModernHeading extends Widget_Base {
668
  array(
669
  'name' => 'divider_shadow',
670
  'selector' => '{{WRAPPER}} .aux-modern-heading-divider',
671
- 'condition' => array(
672
- 'divider' => 'yes'
673
- ),
674
  'separator' => 'before'
675
  )
676
  );
@@ -680,10 +942,7 @@ class ModernHeading extends Widget_Base {
680
  array(
681
  'name' => 'divider_backgoundcolor',
682
  'label' => __( 'Background', 'auxin-elements' ),
683
- 'selector' => '{{WRAPPER}} .aux-modern-heading-divider',
684
- 'condition' => array(
685
- 'divider' => 'yes'
686
- )
687
  )
688
  );
689
 
@@ -696,7 +955,8 @@ class ModernHeading extends Widget_Base {
696
  'description_style_section',
697
  array(
698
  'label' => __( 'Description', 'auxin-elements' ),
699
- 'tab' => Controls_Manager::TAB_STYLE
 
700
  )
701
  );
702
 
4
  use Elementor\Plugin;
5
  use Elementor\Widget_Base;
6
  use Elementor\Controls_Manager;
 
7
  use Elementor\Group_Control_Typography;
 
8
  use Elementor\Scheme_Typography;
 
 
 
9
  use Elementor\Group_Control_Box_Shadow;
10
  use Elementor\Group_Control_Text_Shadow;
11
  use Elementor\Group_Control_Background;
210
  $this->end_controls_section();
211
 
212
 
213
+ /* Secondary heading
214
+ /*-------------------------------------*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
 
216
  $this->start_controls_section(
217
  'title_secondary_section',
295
 
296
  $this->end_controls_section();
297
 
298
+ /* Description
299
+ /*-------------------------------------*/
300
+
301
+ $this->start_controls_section(
302
+ 'description_primary_section',
303
+ array(
304
+ 'label' => __('Description', 'auxin-elements' ),
305
+ )
306
+ );
307
+
308
+ $this->add_control(
309
+ 'description',
310
+ array(
311
+ 'label' => __( 'Description', 'auxin-elements' ),
312
+ 'type' => Controls_Manager::WYSIWYG,
313
+ 'dynamic' => array(
314
+ 'active' => true
315
+ ),
316
+ 'label_block' => true,
317
+ 'separator' => 'before'
318
+ )
319
+ );
320
+
321
+ $this->end_controls_section();
322
+
323
 
324
  /*-----------------------------------------------------------------------------------*/
325
  /* Style TAB
332
  'title_style_section',
333
  array(
334
  'label' => __( 'Heading', 'auxin-elements' ),
335
+ 'tab' => Controls_Manager::TAB_STYLE,
336
+ 'condition' => ['title!' => '']
337
  )
338
  );
339
 
340
+ $this->add_group_control(
341
+ Group_Control_Typography::get_type(),
342
+ array(
343
+ 'name' => 'title_typography',
344
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
345
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-primary'
346
+ )
347
+ );
348
+
349
+ $this->start_controls_tabs( 'title_tabs' );
350
+
351
+ $this->start_controls_tab(
352
+ 'title_tab_normal_state',
353
+ [
354
+ 'label' => __( 'Normal', 'auxin-elements' ),
355
+ ]
356
+ );
357
+
358
  $this->add_responsive_control(
359
  'title_color',
360
  array(
366
  )
367
  );
368
 
369
+ $this->add_group_control(
370
+ Group_Control_Text_Shadow::get_type(),
371
+ [
372
+ 'name' => 'title_text_shadow',
373
+ 'label' => __( 'Text Shadow', 'auxin-elements' ),
374
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-primary'
375
+ ]
376
+ );
377
+
378
+ $this->add_group_control(
379
+ Group_Control_Background::get_type(),
380
+ [
381
+ 'name' => 'title_background',
382
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-primary',
383
+ 'types' => [ 'classic', 'gradient']
384
+ ]
385
+ );
386
+
387
+ $this->end_controls_tab();
388
+
389
+ $this->start_controls_tab(
390
+ 'title_tab_hover_state',
391
+ [
392
+ 'label' => __( 'Hover', 'auxin-elements' ),
393
+ ]
394
+ );
395
+
396
  $this->add_responsive_control(
397
  'title_hover_color',
398
  array(
399
+ 'label' => __( 'Color', 'auxin-elements' ),
400
  'type' => Controls_Manager::COLOR,
401
  'selectors' => array(
402
  '{{WRAPPER}} .aux-modern-heading-primary:hover' => 'color: {{VALUE}};',
405
  );
406
 
407
  $this->add_group_control(
408
+ Group_Control_Text_Shadow::get_type(),
409
+ [
410
+ 'name' => 'title_hover_text_shadow',
411
+ 'label' => __( 'Text Shadow', 'auxin-elements' ),
412
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-primary:hover'
413
+ ]
414
  );
415
 
416
+ $this->add_group_control(
417
+ Group_Control_Background::get_type(),
418
+ [
419
+ 'name' => 'title_hover_background',
420
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-primary:hover',
421
+ 'types' => [ 'classic', 'gradient']
422
+ ]
423
+ );
424
+
425
+ $this->end_controls_tab();
426
+
427
+ $this->end_controls_tabs();
428
+
429
  $this->add_responsive_control(
430
  'title_margin',
431
+ [
432
  'label' => __( 'Margin', 'auxin-elements' ),
433
  'type' => Controls_Manager::DIMENSIONS,
434
+ 'size_units' => [ 'px', 'em', '%' ],
435
+ 'selectors' => [
 
436
  '{{WRAPPER}} .aux-modern-heading-primary' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
437
+ ],
438
+ 'separator' => 'before'
439
+ ]
440
  );
441
 
442
+ $this->add_responsive_control(
443
+ 'title_padding',
444
+ [
445
+ 'label' => __( 'Padding', 'auxin-elements' ),
446
+ 'type' => Controls_Manager::DIMENSIONS,
447
+ 'size_units' => [ 'px', 'em', '%' ],
448
+ 'selectors' => [
449
+ '{{WRAPPER}} .aux-modern-heading-primary' => 'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
450
+ ]
451
+ ]
452
+ );
453
+
454
+ $this->add_responsive_control(
455
+ 'title_border_radius',
456
+ [
457
+ 'label' => __( 'Border radius', 'auxin-elements' ),
458
+ 'type' => Controls_Manager::DIMENSIONS,
459
+ 'size_units' => [ 'px', 'em', '%' ],
460
+ 'allowed_dimensions' => 'all',
461
+ 'selectors' => [
462
+ '{{WRAPPER}} .aux-modern-heading-primary' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
463
+ ]
464
+ ]
465
  );
466
 
467
  $this->add_responsive_control(
500
 
501
  $this->start_controls_section(
502
  'title2_style_heading',
503
+ [
504
  'label' => __( 'Secondary Heading', 'auxin-elements' ),
505
+ 'tab' => Controls_Manager::TAB_STYLE,
506
+
507
+ 'conditions' =>
508
+ [
509
+ 'relation' => 'or',
510
+ 'terms' => [
511
+ [
512
+ 'name' => 'title_secondary_before',
513
+ 'operator' => '!==',
514
+ 'value' => '',
515
+ ], [
516
+ 'name' => 'title_secondary_after',
517
+ 'operator' => '!==',
518
+ 'value' => '',
519
+ ]
520
+ ]
521
+ ]
522
+ ]
523
+ );
524
+
525
+ $this->add_group_control(
526
+ Group_Control_Typography::get_type(),
527
+ array(
528
+ 'name' => 'title2_typography',
529
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
530
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary'
531
  )
532
  );
533
 
534
+ $this->start_controls_tabs( 'title2_tabs' );
535
+
536
+ $this->start_controls_tab(
537
+ 'title2_tab_normal_state',
538
+ [
539
+ 'label' => __( 'Normal', 'auxin-elements' ),
540
+ ]
541
+ );
542
+
543
  $this->add_responsive_control(
544
  'title2_color',
545
  array(
551
  )
552
  );
553
 
554
+ $this->add_group_control(
555
+ Group_Control_Text_Shadow::get_type(),
556
+ [
557
+ 'name' => 'title2_text_shadow',
558
+ 'label' => __( 'Text Shadow', 'auxin-elements' ),
559
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary'
560
+ ]
561
+ );
562
+
563
+ $this->add_group_control(
564
+ Group_Control_Background::get_type(),
565
+ [
566
+ 'name' => 'title2_background',
567
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary',
568
+ 'types' => [ 'classic', 'gradient']
569
+ ]
570
+ );
571
+
572
+ $this->end_controls_tab();
573
+
574
+ $this->start_controls_tab(
575
+ 'title2_tab_hover_state',
576
+ [
577
+ 'label' => __( 'Hover', 'auxin-elements' ),
578
+ ]
579
+ );
580
+
581
  $this->add_responsive_control(
582
  'title2_hover_color',
583
  array(
584
+ 'label' => __( 'Color', 'auxin-elements' ),
585
  'type' => Controls_Manager::COLOR,
586
  'selectors' => array(
587
  '{{WRAPPER}} .aux-modern-heading-secondary:hover' => 'color: {{VALUE}};',
590
  );
591
 
592
  $this->add_group_control(
593
+ Group_Control_Text_Shadow::get_type(),
594
+ [
595
+ 'name' => 'title2_hover_text_shadow',
596
+ 'label' => __( 'Text Shadow', 'auxin-elements' ),
597
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary:hover'
598
+ ]
599
+ );
600
+
601
+ $this->add_group_control(
602
+ Group_Control_Background::get_type(),
603
+ [
604
+ 'name' => 'title2_hover_background',
605
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary:hover',
606
+ 'types' => [ 'classic', 'gradient']
607
+ ]
608
  );
609
 
610
+ $this->end_controls_tab();
611
+
612
+ $this->end_controls_tabs();
613
+
614
  $this->add_responsive_control(
615
  'title2_margin',
616
+ [
617
+ 'label' => __( 'Margin', 'auxin-elements' ),
618
  'type' => Controls_Manager::DIMENSIONS,
619
+ 'size_units' => [ 'px', 'em', '%' ],
620
+ 'selectors' => [
 
621
  '{{WRAPPER}} .aux-modern-heading-secondary' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
622
+ ],
623
+ 'separator' => 'before'
624
+ ]
625
  );
626
 
627
+ $this->add_responsive_control(
628
+ 'title2_padding',
629
+ [
630
+ 'label' => __( 'Padding', 'auxin-elements' ),
631
+ 'type' => Controls_Manager::DIMENSIONS,
632
+ 'size_units' => [ 'px', 'em', '%' ],
633
+ 'selectors' => [
634
+ '{{WRAPPER}} .aux-modern-heading-secondary' => 'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
635
+ ]
636
+ ]
637
+ );
638
+
639
+ $this->add_responsive_control(
640
+ 'title2_border_radius',
641
+ [
642
+ 'label' => __( 'Border radius', 'auxin-elements' ),
643
+ 'type' => Controls_Manager::DIMENSIONS,
644
+ 'size_units' => [ 'px', 'em', '%' ],
645
+ 'allowed_dimensions' => 'all',
646
+ 'selectors' => [
647
+ '{{WRAPPER}} .aux-modern-heading-secondary' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
648
+ ]
649
+ ]
650
  );
651
 
652
  $this->add_responsive_control(
678
  )
679
  );
680
 
681
+ $this->end_controls_section();
682
+
683
+
684
  /* Secondary Highlighted Style
685
  /*-------------------------------------*/
686
 
687
+ $this->start_controls_section(
688
  'title2_highlighted_style_heading',
689
+ [
690
+ 'label' => __( 'Secondary Heading - Highlighted', 'auxin-elements' ),
691
+ 'tab' => Controls_Manager::TAB_STYLE,
692
+ 'condition' => [ 'title_secondary_highlight!' => '' ]
693
+ ]
694
+ );
695
+
696
+ $this->add_group_control(
697
+ Group_Control_Typography::get_type(),
698
  array(
699
+ 'name' => 'title2_highlighted_typography',
700
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
701
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight'
702
  )
703
  );
704
 
705
+ $this->start_controls_tabs( 'title2_highlighted_tabs' );
706
+
707
+ $this->start_controls_tab(
708
+ 'title2_highlighted_tab_normal_state',
709
+ [
710
+ 'label' => __( 'Normal', 'auxin-elements' ),
711
+ ]
712
+ );
713
+
714
  $this->add_responsive_control(
715
  'title2_highlighted_color',
716
  array(
722
  )
723
  );
724
 
725
+ $this->add_group_control(
726
+ Group_Control_Text_Shadow::get_type(),
727
+ [
728
+ 'name' => 'title2_highlighted_text_shadow',
729
+ 'label' => __( 'Text Shadow', 'auxin-elements' ),
730
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight'
731
+ ]
732
+ );
733
+
734
+ $this->add_group_control(
735
+ Group_Control_Background::get_type(),
736
+ [
737
+ 'name' => 'title2_highlighted_background',
738
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight',
739
+ 'types' => [ 'classic', 'gradient']
740
+ ]
741
+ );
742
+
743
+ $this->end_controls_tab();
744
+
745
+ $this->start_controls_tab(
746
+ 'title2_highlighted_tab_hover_state',
747
+ [
748
+ 'label' => __( 'Hover', 'auxin-elements' ),
749
+ ]
750
+ );
751
+
752
  $this->add_responsive_control(
753
  'title2_highlighted_hover_color',
754
  array(
755
+ 'label' => __( 'Color', 'auxin-elements' ),
756
  'type' => Controls_Manager::COLOR,
757
  'selectors' => array(
758
  '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight:hover' => 'color: {{VALUE}};',
761
  );
762
 
763
  $this->add_group_control(
764
+ Group_Control_Text_Shadow::get_type(),
765
+ [
766
+ 'name' => 'title2_highlighted_hover_text_shadow',
767
+ 'label' => __( 'Text Shadow', 'auxin-elements' ),
768
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight:hover'
769
+ ]
770
  );
771
 
772
+ $this->add_group_control(
773
+ Group_Control_Background::get_type(),
774
+ [
775
+ 'name' => 'title2_highlighted_hover_background',
776
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight:hover',
777
+ 'types' => [ 'classic', 'gradient']
778
+ ]
779
+ );
780
+
781
+ $this->end_controls_tab();
782
+
783
+ $this->end_controls_tabs();
784
+
785
  $this->add_responsive_control(
786
  'title2_highlighted_margin',
787
+ [
788
  'label' => __( 'Margin', 'auxin-elements' ),
789
  'type' => Controls_Manager::DIMENSIONS,
790
+ 'size_units' => [ 'px', 'em', '%' ],
791
+ 'selectors' => [
 
792
  '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
793
+ ],
794
+ 'separator' => 'before'
795
+ ]
796
  );
797
 
798
+ $this->add_responsive_control(
799
+ 'title2_highlighted_padding',
800
+ [
801
+ 'label' => __( 'Padding', 'auxin-elements' ),
802
+ 'type' => Controls_Manager::DIMENSIONS,
803
+ 'size_units' => [ 'px', 'em', '%' ],
804
+ 'selectors' => [
805
+ '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight' => 'padding:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
806
+ ]
807
+ ]
808
+ );
809
+
810
+ $this->add_responsive_control(
811
+ 'title2_highlighted_border_radius',
812
+ [
813
+ 'label' => __( 'Border radius', 'auxin-elements' ),
814
+ 'type' => Controls_Manager::DIMENSIONS,
815
+ 'size_units' => [ 'px', 'em', '%' ],
816
+ 'allowed_dimensions' => 'all',
817
+ 'selectors' => [
818
+ '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
819
+ ]
820
+ ]
821
+ );
822
+
823
+ $this->add_responsive_control(
824
+ 'title2_highlighted_width',
825
  array(
826
+ 'label' => __('Max Width','auxin-elements' ),
827
+ 'type' => Controls_Manager::SLIDER,
828
+ 'size_units' => array('px', 'em','%'),
829
+ 'range' => array(
830
+ '%' => array(
831
+ 'min' => 1,
832
+ 'max' => 100,
833
+ 'step' => 1
834
+ ),
835
+ 'em' => array(
836
+ 'min' => 1,
837
+ 'max' => 100,
838
+ 'step' => 1
839
+ ),
840
+ 'px' => array(
841
+ 'min' => 1,
842
+ 'max' => 1600,
843
+ 'step' => 1
844
+ )
845
+ ),
846
+ 'selectors' => array(
847
+ '{{WRAPPER}} .aux-modern-heading-secondary .aux-head-highlight' => 'max-width:{{SIZE}}{{UNIT}};'
848
+ )
849
  )
850
  );
851
 
856
 
857
  $this->start_controls_section(
858
  'divider_style_section',
859
+ [
860
  'label' => __( 'Divider', 'auxin-elements' ),
861
+ 'tab' => Controls_Manager::TAB_STYLE,
862
+ 'condition' => [
863
+ 'divider' => 'yes'
864
+ ]
865
+ ]
866
  );
867
 
868
  $this->add_responsive_control(
878
  ),
879
  'selectors' => array(
880
  '{{WRAPPER}} .aux-modern-heading-divider' => 'height: {{SIZE}}{{UNIT}};'
 
 
 
881
  )
882
  )
883
  );
900
  ),
901
  'selectors' => array(
902
  '{{WRAPPER}} .aux-modern-heading-divider' => 'width: {{SIZE}}{{UNIT}};'
 
 
 
903
  )
904
  )
905
  );
924
  'type' => Controls_Manager::COLOR,
925
  'selectors' => array(
926
  '{{WRAPPER}} .aux-modern-heading-divider' => 'background-color: {{VALUE}};'
 
 
 
927
  )
928
  )
929
  );
933
  array(
934
  'name' => 'divider_shadow',
935
  'selector' => '{{WRAPPER}} .aux-modern-heading-divider',
 
 
 
936
  'separator' => 'before'
937
  )
938
  );
942
  array(
943
  'name' => 'divider_backgoundcolor',
944
  'label' => __( 'Background', 'auxin-elements' ),
945
+ 'selector' => '{{WRAPPER}} .aux-modern-heading-divider'
 
 
 
946
  )
947
  );
948
 
955
  'description_style_section',
956
  array(
957
  'label' => __( 'Description', 'auxin-elements' ),
958
+ 'tab' => Controls_Manager::TAB_STYLE,
959
+ 'condition' => [ 'description!' => '' ]
960
  )
961
  );
962
 
includes/elementor/widgets/mailchimp.php CHANGED
@@ -6,6 +6,8 @@ use Elementor\Widget_Base;
6
  use Elementor\Controls_Manager;
7
  use Elementor\Group_Control_Image_Size;
8
  use Elementor\Group_Control_Typography;
 
 
9
  use Elementor\Scheme_Color;
10
  use Elementor\Scheme_Typography;
11
  use Elementor\Utils;
@@ -123,49 +125,640 @@ class MailChimp extends Widget_Base {
123
 
124
  $this->start_controls_section(
125
  'forms_section',
126
- array(
127
  'label' => __('Form', 'auxin-elements' ),
128
- )
129
  );
130
 
131
  $this->add_control(
132
  'form_type',
133
- array(
134
  'label' => __( 'Form Type', 'auxin-elements' ),
135
  'type' => Controls_Manager::SELECT,
136
  'default' => 'default',
137
- 'options' => array(
138
  'default' => __( 'Defaults' , 'auxin-elements' ),
139
  'custom' => __( 'Custom' , 'auxin-elements' )
140
- )
141
- )
142
  );
143
 
144
  $this->add_control(
145
  'form_id',
146
- array(
147
  'label' => __( 'MailChimp Sign-Up Form', 'auxin-elements' ),
148
  'label_block' => true,
149
  'type' => Controls_Manager::SELECT,
150
  'default' => 0,
151
  'options' => $this->get_forms(),
152
- 'condition' => array(
153
- 'form_type' => array('default')
154
- )
155
- )
156
  );
157
 
158
  $this->add_control(
159
  'html',
160
- array(
161
  'label' => __( 'Custom Form', 'auxin-elements' ),
162
  'type' => Controls_Manager::CODE,
163
  'language' => 'html',
164
  'description' => __( 'Enter your custom form markup', 'auxin-elements' ),
165
- 'condition' => array(
166
- 'form_type' => array('custom')
167
- )
168
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  );
170
 
171
  $this->end_controls_section();
6
  use Elementor\Controls_Manager;
7
  use Elementor\Group_Control_Image_Size;
8
  use Elementor\Group_Control_Typography;
9
+ use Elementor\Group_Control_Background;
10
+ use Elementor\Group_Control_Box_Shadow;
11
  use Elementor\Scheme_Color;
12
  use Elementor\Scheme_Typography;
13
  use Elementor\Utils;
125
 
126
  $this->start_controls_section(
127
  'forms_section',
128
+ [
129
  'label' => __('Form', 'auxin-elements' ),
130
+ ]
131
  );
132
 
133
  $this->add_control(
134
  'form_type',
135
+ [
136
  'label' => __( 'Form Type', 'auxin-elements' ),
137
  'type' => Controls_Manager::SELECT,
138
  'default' => 'default',
139
+ 'options' => [
140
  'default' => __( 'Defaults' , 'auxin-elements' ),
141
  'custom' => __( 'Custom' , 'auxin-elements' )
142
+ ]
143
+ ]
144
  );
145
 
146
  $this->add_control(
147
  'form_id',
148
+ [
149
  'label' => __( 'MailChimp Sign-Up Form', 'auxin-elements' ),
150
  'label_block' => true,
151
  'type' => Controls_Manager::SELECT,
152
  'default' => 0,
153
  'options' => $this->get_forms(),
154
+ 'condition' => [
155
+ 'form_type' => ['default']
156
+ ]
157
+ ]
158
  );
159
 
160
  $this->add_control(
161
  'html',
162
+ [
163
  'label' => __( 'Custom Form', 'auxin-elements' ),
164
  'type' => Controls_Manager::CODE,
165
  'language' => 'html',
166
  'description' => __( 'Enter your custom form markup', 'auxin-elements' ),
167
+ 'condition' => [
168
+ 'form_type' => ['custom']
169
+ ]
170
+ ]
171
+ );
172
+
173
+ $this->end_controls_section();
174
+
175
+ /*-----------------------------------------------------------------------------------*/
176
+ /* Style TAB
177
+ /*-----------------------------------------------------------------------------------*/
178
+
179
+ $this->start_controls_section(
180
+ 'text_input_section',
181
+ [
182
+ 'label' => __('Input', 'auxin-elements' ),
183
+ 'tab' => Controls_Manager::TAB_STYLE,
184
+ ]
185
+ );
186
+
187
+ $this->add_group_control(
188
+ Group_Control_Typography::get_type(),
189
+ [
190
+ 'name' => 'input_typography',
191
+ 'label' => __( 'Typography', 'auxin-elements' ),
192
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
193
+ 'selector' => '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]',
194
+ ]
195
+ );
196
+
197
+ $this->add_control(
198
+ 'input_color',
199
+ [
200
+ 'label' => __( 'Color', 'auxin-elements' ),
201
+ 'type' => Controls_Manager::COLOR,
202
+ 'selectors' => [
203
+ '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]' => 'color: {{VALUE}};',
204
+ ]
205
+ ]
206
+ );
207
+
208
+ $this->add_responsive_control(
209
+ 'text_input_width',
210
+ [
211
+ 'label' => __( 'Width', 'auxin-elements' ),
212
+ 'size_units' => [ 'px','em', '%'],
213
+ 'type' => Controls_Manager::SLIDER,
214
+ 'range' => [
215
+ 'px' => [
216
+ 'min' => 0,
217
+ 'max' => 1000,
218
+ 'step' => 5,
219
+ ],
220
+ '%' => [
221
+ 'min' => 0,
222
+ 'max' => 100,
223
+ ],
224
+ 'em' => [
225
+ 'min' => 0,
226
+ 'max' => 100,
227
+ ],
228
+ ],
229
+ 'selectors' => [
230
+ '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]' => 'width: {{SIZE}}{{UNIT}};',
231
+ ],
232
+ ]
233
+ );
234
+
235
+ $this->add_responsive_control(
236
+ 'text_input_max_width',
237
+ [
238
+ 'label' => __( 'Max Width', 'auxin-elements' ),
239
+ 'size_units' => [ 'px','em', '%'],
240
+ 'type' => Controls_Manager::SLIDER,
241
+ 'range' => [
242
+ 'px' => [
243
+ 'min' => 0,
244
+ 'max' => 1000,
245
+ 'step' => 5
246
+ ],
247
+ '%' => [
248
+ 'min' => 0,
249
+ 'max' => 100
250
+ ],
251
+ 'em' => [
252
+ 'min' => 0,
253
+ 'max' => 100
254
+ ]
255
+ ],
256
+ 'selectors' => [
257
+ '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]' => 'max-width: {{SIZE}}{{UNIT}};',
258
+ ]
259
+ ]
260
+ );
261
+
262
+ $this->add_responsive_control(
263
+ 'text_input_height',
264
+ [
265
+ 'label' => __( 'Height', 'auxin-elements' ),
266
+ 'size_units' => [ 'px', 'em'],
267
+ 'type' => Controls_Manager::SLIDER,
268
+ 'range' => [
269
+ 'px' => [
270
+ 'min' => 0,
271
+ 'max' => 1000,
272
+ 'step' => 5
273
+ ],
274
+ '%' => [
275
+ 'min' => 0,
276
+ 'max' => 100
277
+ ],
278
+ 'em' => [
279
+ 'min' => 0,
280
+ 'max' => 100
281
+ ]
282
+ ],
283
+ 'selectors' => [
284
+ '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]' => 'height: {{VALUE}}{{UNIT}};',
285
+ ],
286
+ 'separator' => 'after'
287
+ ]
288
+ );
289
+
290
+
291
+ $this->add_group_control(
292
+ Group_Control_Border::get_type(),
293
+ [
294
+ 'name' => 'input_border',
295
+ 'selector' => '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]'
296
+ ]
297
+ );
298
+
299
+ $this->add_responsive_control(
300
+ 'input_border_radius',
301
+ [
302
+ 'label' => __( 'Border Radius', 'auxin-elements' ),
303
+ 'type' => Controls_Manager::DIMENSIONS,
304
+ 'size_units' => [ 'px', '%' ],
305
+ 'selectors' => [
306
+ '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
307
+ ],
308
+ ]
309
+ );
310
+
311
+ $this->add_responsive_control(
312
+ 'input_padding',
313
+ [
314
+ 'label' => __( 'Padding', 'auxin-elements' ),
315
+ 'type' => Controls_Manager::DIMENSIONS,
316
+ 'size_units' => [ 'px', '%', 'em' ],
317
+ 'selectors' => [
318
+ '{{WRAPPER}} .mc4wp-form input[type="text"],{{WRAPPER}} .mc4wp-form input[type="email"]' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
319
+ ],
320
+ 'separator' => 'after'
321
+ ]
322
+ );
323
+
324
+ // Background and Box Shadow for input - START
325
+ $this->start_controls_tabs( 'input_tabs' );
326
+
327
+ $this->start_controls_tab(
328
+ 'input_tab_normal_state',
329
+ [
330
+ 'label' => __( 'Normal', 'auxin-elements' ),
331
+ ]
332
+ );
333
+
334
+ $this->add_group_control(
335
+ Group_Control_Background::get_type(),
336
+ [
337
+ 'name' => 'input_background',
338
+ 'selector' => '{{WRAPPER}} .mc4wp-form input[type="text"], {{WRAPPER}} .mc4wp-form input[type="email"]',
339
+ 'types' => [ 'classic', 'gradient']
340
+ ]
341
+ );
342
+
343
+ $this->add_group_control(
344
+ Group_Control_Box_Shadow::get_type(),
345
+ [
346
+ 'name' => 'input_box_shadow',
347
+ 'selector' => '{{WRAPPER}} .mc4wp-form input[type="text"], {{WRAPPER}} .mc4wp-form input[type="email"]'
348
+ ]
349
+ );
350
+
351
+ $this->end_controls_tab();
352
+
353
+ $this->start_controls_tab(
354
+ 'input_tab_hover_state',
355
+ [
356
+ 'label' => __( 'Hover', 'auxin-elements' ),
357