YITH WooCommerce Ajax Search - Version 1.7.0

Version Description

  • Released on 28 October 2019 =

  • New: Support for WordPress 5.3

  • New: Support for WooCommerce 3.8

  • Update: Plugin framework

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Search
Version 1.7.0
Comparing to
See all releases

Code changes from version 1.6.9 to 1.7.0

README.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: yithemes
4
  Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
  Requires at least: 4.0.0
6
- Tested up to: 5.2
7
- Stable tag: 1.6.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -138,259 +138,293 @@ If you have created your own language pack for YITH WooCommerce Ajax Search, or
138
  2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
139
 
140
  == Changelog ==
141
- = 1.6.9 - Released: Jul 25, 2019 =
142
- New: Support to WooCommerce 3.7.0
143
- Update: Plugin Core 3.3.7
144
 
145
- = 1.6.8 - Released: Jun 12, 2019 =
146
- Update: Plugin Core 3.3.1
 
147
 
148
- = 1.6.7 - Released: May 29, 2019 =
149
- Update: Plugin Core 3.1.29
150
 
151
- = 1.6.6 - Released: May 29, 2019 =
152
- Update: Plugin Core 3.2.1
153
 
154
- = 1.6.5 - Released: Apr 23, 2019 =
155
- Update: Plugin Core 3.1.29
156
 
157
- = 1.6.4 - Released: Apr 09, 2019 =
158
- New: Support to WooCommerce 3.6.0 RC1
159
- Update: Plugin Core 3.1.28
160
- Fix: Localization strings
161
 
162
- = 1.6.3 - Released: Jan 28, 2019 =
163
- Update: Plugin Core 3.1.15
164
 
165
- = 1.6.2 - Released: Dec 05, 2018 =
166
- New: Support to WordPress 5.0
167
- Update: Language files
168
- Update: Plugin Core 3.1.0
169
 
170
- = 1.6.1 - Released: Oct 23, 2018 =
171
- * Update: Plugin Core 3.0.27
172
 
173
- = 1.6.0 - Released: Oct 18, 2018 =
174
- * New: Support to WooCommerce 3.5.0 RC2
175
- * Update: Plugin Core 3.0.25
176
 
177
- = 1.5.9 - Released: Sep 26, 2018 =
178
- * Update: Plugin Core 3.0.23
179
 
180
- = 1.5.8 - Released: Jun 28, 2018 =
181
- * Update: Plugin Core 3.0.21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  * Fix: Fixed compatibility class loading
183
 
184
- = 1.5.7 - Released: Jun 28, 2018 =
 
185
  * Fix: Fixed compatibility class loading
186
- * Update: Plugin Core 3.0.16
 
 
187
 
188
- = 1.5.6 - Released: May 17, 2018 =
189
- * New: Support to WordPress 4.9.6 RC2
190
- * New: Support to WooCommerce 3.4.0 RC1
191
- * Update: Plugin Core 3.0.15
192
 
193
- = 1.5.5 - Released: Jan 31, 2018 =
194
- * New: Support to WooCommerce 3.3.x
 
195
  * Update: Plugin Core 3.0.11
196
 
197
- = 1.5.4 - Released: Nov 06, 2017 =
 
198
  * Update: Plugin Core
199
 
200
- = 1.5.3 - Released: May 25, 2017 =
201
- Fix: Plugin Core integration
202
- Update: Plugin Core
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
 
204
- = 1.5.2 - Released: Mar 31, 2017 =
205
- Fix: Query for visible product
206
- Update: Plugin Core
207
 
208
- = 1.5.1 - Released: Mar 28, 2017 =
209
- New: Support to WooCommerce 3.0 RC 2
210
- Update: Plugin Core
211
 
212
- = 1.5.0 - Released: Mar 06, 2017 =
213
- New: Support to WooCommerce 2.7 RC 1
214
- Update: Plugin Core
215
- Update: Languages files
216
 
217
- = 1.4.1 - Released: Oct 17, 2016 =
218
- * Added: Option to save the autocomplete results in a transient
219
- * Updated: Plugin Framework
220
 
221
- = 1.4.0 - Released: Jun 10, 2016 =
222
- * Added: Support to WooCommerce 2.6 RC1
223
- * Updated: Plugin Core Framework
224
 
225
- = 1.3.9 - Released: Dec 15, 2015 =
226
- * Added: Support to Wordpress 4.4
227
- * Updated: Plugin Core Framework
228
 
229
- = 1.3.8 - Released: Oct 30, 2015 =
230
- * Added: Add Plugin-Fw support for Essential Kit #1
231
 
232
- = 1.3.7 - Released: Sep 18, 2015 =
233
- * Updated: Changed Text Domain from 'yit' to 'yith-woocommerce-ajax-search'
234
- * Updated: Plugin Core Framework
235
 
236
- = 1.3.6 - Released: Aug 12, 2015 =
237
- * Added: Support to WooCommerce 2.4.2
238
- * Updated: Plugin Core Framework
239
 
240
- = 1.3.5 - Released: Aug 07, 2015 =
241
- * Added: Support more search elements on a page
242
 
243
- = 1.3.4 - Released: Jul 17, 2015 =
244
- * Fixed: Support to WPML
245
 
246
- = 1.3.3 - Released: Jul 07, 2015 =
247
- * Fixed: Called to WP_Widget construct
248
- * Fixed: Support to WPML
249
 
250
- = 1.3.2 - Released: Jun 15, 2015 =
251
 
252
- * Fixed: Backward compatibility with Autocomplete function
253
 
254
- = 1.3.1 - Released: Jun 10, 2015 =
255
 
256
- * Updated: Renamed Autocomplete function with YithAutocomplete
257
 
258
- = 1.3.0 - Released: Apr 24, 2015 =
259
 
260
- * Added: Wordpress 4.2 compatibility
261
- * Fixed: Shorcode output
262
- * Fixed: Wp security issue
263
 
264
- = 1.2.7 - Released: Apr 07, 2015 =
265
 
266
- * Updated: Plugin Core Framework
267
 
268
- = 1.2.6 - Released: Mar 30, 2015 =
269
 
270
- * Updated: Plugin Core Framework
271
- * Fixed: Loader image not hided after search
272
- * Fixed: Disabled submit when search string is empty
273
- * Fixed: Support to WPML in query string
274
 
275
- = 1.2.5 - Released: Mar 12, 2015 =
276
 
277
- * Fixed: Plugin installation bug
278
 
279
- = 1.2.4 - Released: Mar 04, 2015 =
280
 
281
- * Fixed: Minor bugs
282
 
283
- = 1.2.3 - Released: Mar 02, 2015 =
284
 
285
- * Added: Support to Wordpress 4.1.1
286
- * Fixed: Minor bugs
287
 
288
- = 1.2.2 - Released: Feb 12, 2015 =
289
 
290
- * Added: Support to WooCommerce 2.3.x
291
- * Fixed: Minor bugs
292
 
293
- = 1.2.1 - Released: Feb 06, 2015 =
294
 
295
- * Updated: Plugin Core Framework
296
 
297
- = 1.2.0 - Released: Jan 29, 2015 =
298
 
299
- * Updated: Plugin Core Framework
300
 
301
- = 1.1.3 - Released: Oct 16, 2014 =
302
 
303
- * Fixed: Javascript code in external file
304
 
305
- = 1.1.2 - Released: Sep 14, 2014 =
306
 
307
- * Fixed: Prevent undefined title index if the widget is called by the the_widget func
308
- * Updated: Autocomplete js library
309
- * Updated: Plugin Core Framework
310
 
311
- = 1.1.1 - Released: Feb 14, 2014 =
312
 
313
- * Fixed: Settings link doesn't work on WooCommerce 2.1.1
314
 
315
- = 1.1.0 - Released: Feb 12, 2013 =
316
 
317
- * Added: Support to WooCommerce 2.1.x
318
 
319
- = 1.0.0 - Released: Aug 01, 2013 =
320
 
321
  * Initial release
322
 
323
  == Upgrade notice ==
324
 
325
- = 1.3.2 - Released: Jun 15, 2015 =
326
 
327
- * Fixed: Backward compatibility with Autocomplete function
328
 
329
- = 1.3.1 - Released: Jun 10, 2015 =
330
 
331
- * Updated: Renamed Autocomplete function with YithAutocomplete
332
 
333
- = 1.3.0 - Released: Apr 24, 2015 =
334
 
335
- * Added: Wordpress 4.2 compatibility
336
- * Fixed: Shorcode output
337
- * Fixed: Wp security issue
338
 
339
- = 1.2.7 - Released: Apr 07, 2015 =
340
 
341
- * Updated: Plugin Core Framework
342
 
343
- = 1.2.6 - Released: Mar 30, 2015 =
344
 
345
- * Updated: Plugin Core Framework
346
- * Fixed: Loader image not hided after search
347
- * Fixed: Disabled submit when search string is empty
348
- * Fixed: Support to WPML in query string
349
 
350
- = 1.2.5 - Released: Mar 12, 2015 =
351
 
352
- * Fixed: Plugin installation bug
353
 
354
- = 1.2.4 - Released: Mar 04, 2015 =
355
 
356
- * Fixed: Minor bugs
357
 
358
- = 1.2.3 - Released: Mar 02, 2015 =
359
 
360
- * Added: Support to Wordpress 4.1.1
361
- * Fixed: Minor bugs
362
 
363
- = 1.2.2 - Released: Feb 12, 2015 =
364
 
365
- * Added: Support to WooCommerce 2.3.x
366
- * Fixed: Minor bugs
367
 
368
- = 1.2.1 - Released: Feb 06, 2015 =
369
 
370
- * Updated: Plugin Core Framework
371
 
372
- = 1.2.0 - Released: Jan 29, 2015 =
373
 
374
- * Updated: Plugin Core Framework
375
 
376
- = 1.1.3 - Released: Oct 16, 2014 =
377
 
378
- * Fixed: Javascript code in external file
379
 
380
- = 1.1.2 - Released: Sep 14, 2014 =
381
 
382
- * Fixed: Prevent undefined title index if the widget is called by the the_widget func
383
- * Updated: Autocomplete js library
384
- * Updated: Plugin Core Framework
385
 
386
- = 1.1.1 - Released: Feb 14, 2014 =
387
 
388
- * Fixed: Settings link doesn't work on WooCommerce 2.1.1
389
 
390
- = 1.1.0 - Released: Feb 12, 2013 =
391
 
392
- * Added: Support to WooCommerce 2.1.x
393
 
394
- = 1.0.0 - Released: Aug 01, 2013 =
395
 
396
  * Initial release
3
  Contributors: yithemes
4
  Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
5
  Requires at least: 4.0.0
6
+ Tested up to: 5.3
7
+ Stable tag: 1.7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
138
  2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
139
 
140
  == Changelog ==
141
+ = 1.7.0 - Released on 28 October 2019 =
 
 
142
 
143
+ * New: Support for WordPress 5.3
144
+ * New: Support for WooCommerce 3.8
145
+ * Update: Plugin framework
146
 
147
+ = 1.6.9 - Released on 25 July 2019 =
 
148
 
149
+ * New: Support for WooCommerce 3.7.0
150
+ * Update: Plugin framework
151
 
152
+ = 1.6.8 - Released on 12 June 2019 =
 
153
 
154
+ * Update: Plugin framework
 
 
 
155
 
156
+ = 1.6.7 - Released on 29 May 2019 =
 
157
 
158
+ * Update: Plugin framework
 
 
 
159
 
160
+ = 1.6.6 - Released on 29 May 2019 =
 
161
 
162
+ * Update: Plugin framework
 
 
163
 
164
+ = 1.6.5 - Released on 23 April 2019 =
 
165
 
166
+ * Update: Plugin framework
167
+
168
+ = 1.6.4 - Released on 09 April 2019 =
169
+
170
+ * New: Support for WooCommerce 3.6.0 RC1
171
+ * Update: Plugin framework
172
+ * Fix: Localization strings
173
+
174
+ = 1.6.3 - Released on 28 January 2019 =
175
+
176
+ * Update: Plugin framework
177
+
178
+ = 1.6.2 - Released on 05 December 2018 =
179
+
180
+ * New: Support for WordPress 5.0
181
+ * Update: Language files
182
+ * Update: Plugin framework
183
+
184
+ = 1.6.1 - Released on 23 Oct 2018 =
185
+ * Update: Plugin framework
186
+
187
+ = 1.6.0 - Released on 18 Oct 2018 =
188
+
189
+ * New: Support for WooCommerce 3.5.0
190
+ * Update: Plugin framework
191
+
192
+ = 1.5.9 - Released on 26 September 2018 =
193
+
194
+ * Update: Plugin framework
195
+
196
+ = 1.5.8 - Released on 28 June 2018 =
197
+
198
+ * Update: Plugin framework
199
  * Fix: Fixed compatibility class loading
200
 
201
+ = 1.5.7 - Released on 28 June 2018 =
202
+
203
  * Fix: Fixed compatibility class loading
204
+ * Update: Plugin framework
205
+
206
+ = 1.5.6 - Released on 17 May 2018 =
207
 
208
+ * New: Support for WordPress 4.9.6
209
+ * New: Support for WooCommerce 3.4.0
210
+ * Update: Plugin framework
 
211
 
212
+ = 1.5.5 - Released on 31 January 2018 =
213
+
214
+ * New: Support for WooCommerce 3.3
215
  * Update: Plugin Core 3.0.11
216
 
217
+ = 1.5.4 - Released on 06 Nov 2017 =
218
+
219
  * Update: Plugin Core
220
 
221
+ = 1.5.3 - Released on 25 May 2017 =
222
+
223
+ * Fix: Plugin Core integration
224
+ * Update: Plugin Core
225
+
226
+ = 1.5.2 - Released on 31 March 2017 =
227
+
228
+ * Fix: Query for visible product
229
+ * Update: Plugin Core
230
+
231
+ = 1.5.1 - Released on 28 March 2017 =
232
+
233
+ * New: Support for WooCommerce 3.0 RC 2
234
+ * Update: Plugin Core
235
+
236
+ = 1.5.0 - Released on 06 March 2017 =
237
+
238
+ * New: Support for WooCommerce 2.7 RC 1
239
+ * Update: Plugin Core
240
+ * Update: Languages files
241
+
242
+ = 1.4.1 - Released on 17 Oct 2016 =
243
+
244
+ * New: Option to save the autocomplete results in a transient
245
+ * Update: Plugin Framework
246
+
247
+ = 1.4.0 - Released on 10 June 2016 =
248
+
249
+ * New: Support for WooCommerce 2.6 RC1
250
+ * Update: Plugin framework
251
+
252
+ = 1.3.9 - Released on 15 December 2015 =
253
+
254
+ * New: Support for Wordpress 4.4
255
+ * Update: Plugin framework
256
 
257
+ = 1.3.8 - Released on 30 October 2015 =
 
 
258
 
259
+ * New: Add Plugin-Fw support for Essential Kit #1
 
 
260
 
261
+ = 1.3.7 - Released on 18 September 2015 =
 
 
 
262
 
263
+ * Update: Changed Text Domain from 'yit' to 'yith-woocommerce-ajax-search'
264
+ * Update: Plugin framework
 
265
 
266
+ = 1.3.6 - Released on 12 August 2015 =
 
 
267
 
268
+ * New: Support for WooCommerce 2.4.2
269
+ * Update: Plugin framework
 
270
 
271
+ = 1.3.5 - Released on 07 August 2015 =
 
272
 
273
+ * New: Support more search elements on a page
 
 
274
 
275
+ = 1.3.4 - Released on 17 July 2015 =
 
 
276
 
277
+ * Fix: Support for WPML
 
278
 
279
+ = 1.3.3 - Released on 07 July 2015 =
 
280
 
281
+ * Fix: Called to WP_Widget construct
282
+ * Fix: Support for WPML
 
283
 
284
+ = 1.3.2 - Released on 15 June 2015 =
285
 
286
+ * Fix: Backward compatibility with Autocomplete function
287
 
288
+ = 1.3.1 - Released on 10 June 2015 =
289
 
290
+ * Update: Renamed Autocomplete function with YithAutocomplete
291
 
292
+ = 1.3.0 - Released on 24 April 2015 =
293
 
294
+ * New: Wordpress 4.2 compatibility
295
+ * Fix: Shorcode output
296
+ * Fix: Wp security issue
297
 
298
+ = 1.2.7 - Released on 07 April 2015 =
299
 
300
+ * Update: Plugin framework
301
 
302
+ = 1.2.6 - Released on 30 March 2015 =
303
 
304
+ * Update: Plugin framework
305
+ * Fix: Loader image not hided after search
306
+ * Fix: Disabled submit when search string is empty
307
+ * Fix: Support for WPML in query string
308
 
309
+ = 1.2.5 - Released on 12 March 2015 =
310
 
311
+ * Fix: Plugin installation bug
312
 
313
+ = 1.2.4 - Released on 04 March 2015 =
314
 
315
+ * Fix: Minor bugs
316
 
317
+ = 1.2.3 - Released on 02 March 2015 =
318
 
319
+ * New: Support for Wordpress 4.1.1
320
+ * Fix: Minor bugs
321
 
322
+ = 1.2.2 - Released on 12 February 2015 =
323
 
324
+ * New: Support for WooCommerce 2.3
325
+ * Fix: Minor bugs
326
 
327
+ = 1.2.1 - Released on 06 February 2015 =
328
 
329
+ * Update: Plugin framework
330
 
331
+ = 1.2.0 - Released on 29 January 2015 =
332
 
333
+ * Update: Plugin framework
334
 
335
+ = 1.1.3 - Released on 16 October 2014 =
336
 
337
+ * Fix: Javascript code in external file
338
 
339
+ = 1.1.2 - Released on 14 September 2014 =
340
 
341
+ * Fix: Prevent undefined title index if the widget is called by the the_widget func
342
+ * Update: Autocomplete js library
343
+ * Update: Plugin framework
344
 
345
+ = 1.1.1 - Released on 14 February 2014 =
346
 
347
+ * Fix: Settings link doesn't work on WooCommerce 2.1.1
348
 
349
+ = 1.1.0 - Released on 12 February 2013 =
350
 
351
+ * New: Support for WooCommerce 2.1.x
352
 
353
+ = 1.0.0 - Released on 1 August 2013 =
354
 
355
  * Initial release
356
 
357
  == Upgrade notice ==
358
 
359
+ = 1.3.2 - Released on 15 June 2015 =
360
 
361
+ * Fix: Backward compatibility with Autocomplete function
362
 
363
+ = 1.3.1 - Released on 10 June 2015 =
364
 
365
+ * Update: Renamed Autocomplete function with YithAutocomplete
366
 
367
+ = 1.3.0 - Released on 24 April 2015 =
368
 
369
+ * New: Wordpress 4.2 compatibility
370
+ * Fix: Shortcode output
371
+ * Fix: Wp security issue
372
 
373
+ = 1.2.7 - Released on 07 April 2015 =
374
 
375
+ * Update: Plugin framework
376
 
377
+ = 1.2.6 - Released on 30 March 2015 =
378
 
379
+ * Update: Plugin framework
380
+ * Fix: Loader image not hided after search
381
+ * Fix: Disabled submit when search string is empty
382
+ * Fix: Support for WPML in query string
383
 
384
+ = 1.2.5 - Released on 12 March 2015 =
385
 
386
+ * Fix: Plugin installation bug
387
 
388
+ = 1.2.4 - Released on 4 March 2015 =
389
 
390
+ * Fix: Minor bugs
391
 
392
+ = 1.2.3 - Released on 02 March 2015 =
393
 
394
+ * New: Support for Wordpress 4.1.1
395
+ * Fix: Minor bugs
396
 
397
+ = 1.2.2 - Released on 12 February 2015 =
398
 
399
+ * New: Support for WooCommerce 2.3
400
+ * Fix: Minor bugs
401
 
402
+ = 1.2.1 - Released on 06 February 2015 =
403
 
404
+ * Update: Plugin framework
405
 
406
+ = 1.2.0 - Released on 29 January 2015 =
407
 
408
+ * Update: Plugin framework
409
 
410
+ = 1.1.3 - Released on 16 October 2014 =
411
 
412
+ * Fix: Javascript code in external file
413
 
414
+ = 1.1.2 - Released on 14 September 2014 =
415
 
416
+ * Update: Plugin framework
417
+ * Update: Autocomplete js library
418
+ * Fix: Prevent undefined title index if the widget is called by the the_widget func
419
 
420
+ = 1.1.1 - Released on 14 February 2014 =
421
 
422
+ * Fix: Settings link doesn't work on WooCommerce 2.1.1
423
 
424
+ = 1.1.0 - Released on 12 February 2013 =
425
 
426
+ * New: Support for WooCommerce 2.1.x
427
 
428
+ = 1.0.0 - Released on 1 August 2013 =
429
 
430
  * Initial release
init.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
5
  * Description: <code><strong>YITH WooCommerce Ajax Search</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
- * Version: 1.6.9
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
11
  * WC requires at least: 3.0.0
12
- * WC tested up to: 3.7.0
13
  */
14
 
15
 
@@ -67,7 +67,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
67
  if ( defined( 'YITH_WCAS_VERSION' ) ){
68
  return;
69
  }else{
70
- define( 'YITH_WCAS_VERSION', '1.6.9' );
71
  }
72
 
73
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Ajax Search
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
5
  * Description: <code><strong>YITH WooCommerce Ajax Search</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
+ * Version: 1.7.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-search
10
  * Domain Path: /languages/
11
  * WC requires at least: 3.0.0
12
+ * WC tested up to: 3.8.0
13
  */
14
 
15
 
67
  if ( defined( 'YITH_WCAS_VERSION' ) ){
68
  return;
69
  }else{
70
+ define( 'YITH_WCAS_VERSION', '1.7.0' );
71
  }
72
 
73
  if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
plugin-fw/assets/css/metaboxes.css CHANGED
@@ -1,188 +1,208 @@
1
  /* self-clear floats */
2
  .clearfix:after {
3
- content : ".";
4
- display : block;
5
- height : 0;
6
- clear : both;
7
- visibility : hidden;
8
- overflow : hidden;
9
  }
10
 
11
  /* ie.css */
12
  * html .clearfix { /* IE6 */
13
- height : 1%;
14
  }
15
 
16
  *:first-child + html .clearfix { /* IE7 */
17
- min-height : 1%;
18
  }
19
 
20
  .clearboth {
21
- clear : both
22
  }
23
 
24
  /* === TAB STYLE */
25
  .metaboxes-tab {
26
- margin : -6px -12px -8px;
27
  }
28
 
29
  .metaboxes-tab div.tabs-panel {
30
- height : auto;
31
- overflow : visible;
32
- margin-top : 0px;
33
- padding : 0 10px;
34
- background : none;
35
- border : 0;
36
  }
37
 
38
  .metaboxes-tab ul.metaboxes-tabs {
39
- background : #f1f1f1;
40
- margin : 0;
41
- padding : 10px 0 0 5px;
42
  }
43
 
44
  .metaboxes-tab ul.metaboxes-tabs li {
45
- float : left;
46
- background : #dedede;
47
- margin : 0 0 0 5px;
48
  }
49
 
50
  .metaboxes-tab ul.metaboxes-tabs li a {
51
- color : #555;
52
- text-decoration : none;
53
- padding : 8px 15px;
54
- display : block;
55
- box-shadow : none !important;
56
  }
57
 
58
  .metaboxes-tab ul.metaboxes-tabs li.tabs {
59
- background : #fff;
60
  }
61
 
62
  .metaboxes-tab p.field-row {
63
- margin : 20px 0;
64
  }
65
 
66
  .metaboxes-tab div.sep {
67
- height : 1px;
68
- background : #dfdfdf;
69
- clear : both;
70
- margin-left : -10px;
71
- margin-right : -10px;
72
  }
73
 
74
  .metaboxes-tab label {
75
- font-weight : bold;
76
- width : 160px;
77
- float : left;
78
- line-height : 23px;
79
- margin-left : -184px;
80
  }
81
 
82
  .metaboxes-tab label small {
83
- font-weight : normal;
84
- line-height : 15px;
85
- font-style : italic;
86
- color : #999;
87
- display : block;
88
  }
89
 
90
- .metaboxes-tab .yith-plugin-fw-radio__row{
91
  width: 100%;
92
  min-height: 20px;
93
  }
 
94
  .metaboxes-tab .yith-plugin-fw-radio__row label,
95
  .metaboxes-tab .yith-toggle-elements label,
96
  .metaboxes-tab .yith-add-box label {
97
- margin-left:0;
98
- font-weight:normal;
99
  }
 
 
 
 
 
 
 
 
 
 
 
 
100
  .metaboxes-tab.yith-plugin-ui .yith-add-box,
101
- .metaboxes-tab.yith-plugin-ui .yith-toggle-row{
102
- width : auto;
103
  }
 
104
  .metaboxes-tab .wp-picker-container label {
105
- font-weight : inherit;
106
- width : auto;
107
- float : none;
108
- line-height : inherit;
109
- margin-left : 0;
 
 
 
 
 
 
110
  }
111
 
112
  .metaboxes-tab input[type="checkbox"] {
113
- vertical-align : middle
114
  }
115
 
116
  .metaboxes-tab input.button-secondary, .metaboxes-tab input.checkbox {
117
- width : auto;
118
  }
119
 
120
  .metaboxes-tab p.field-row.textarea .description {
121
- vertical-align : top;
122
  }
123
 
124
  .metaboxes-tab p.field-row.checkbox {
125
- background : none;
126
  }
127
 
128
  .metaboxes-tab .the-metabox {
129
- margin : 20px 0;
130
- margin-left : 184px;
131
  }
132
 
133
  .metaboxes-tab .the-metabox.no-label {
134
- margin : 20px 0;
135
- margin-left : 0;
136
  }
137
 
138
  .metaboxes-tab hr {
139
- height : 0px;
140
- border-top : 1px solid #dadada;
141
- width : auto;
142
- margin-left : -10px;
143
- margin-right : -10px;
144
  }
145
 
146
  .metaboxes-tab .the-metabox p {
147
- margin : 0;
148
  }
149
 
150
  .metaboxes-tab .the-metabox:last-child {
151
- border-bottom : 0px;
152
  }
153
 
154
  .metaboxes-tab .the-metabox.checkbox {
155
- background : none;
156
  }
157
 
158
  .metaboxes-tab span.description.inline {
159
- display : inline-block;
160
- line-height : 23px;
161
- width : auto;
162
- vertical-align : middle;
163
- margin : 0;
164
  }
165
 
166
  .metaboxes-tab .slider label {
167
- padding : 15px 0;
168
  }
169
 
170
  /* sortable table posts */
171
 
172
  #the-list.ui-sortable tr:hover {
173
- cursor : move;
174
  }
175
 
176
  .the-metabox.preview {
177
- float : none;
178
  }
179
 
180
  .metaboxes-tab .the-metabox.no-label.preview {
181
- margin-left : 184px;
182
  }
183
 
184
  .metaboxes-tab .the-metabox.no-label.preview img {
185
- box-shadow : 0 1px 8px rgba(0, 0, 0, 0.2);
186
  }
187
 
188
  /**************************************
@@ -198,473 +218,504 @@
198
  .metaboxes-tab .yith-plugin-fw-text-input,
199
  .metaboxes-tab .yith-plugin-fw-text-array-table,
200
  .metaboxes-tab .yith-plugin-fw-textarea {
201
- width : 400px;
202
- max-width : 100%;
203
  }
204
- .metaboxes-tab.yith-plugin-ui input[type=number]{
 
205
  width: auto;
206
  min-width: 90px;
207
  }
 
 
 
 
 
 
 
 
 
 
208
  .metaboxes-tab .yith-plugin-fw-text-array-table input[type=text] {
209
- width : 100%;
 
 
 
 
 
 
 
 
 
 
 
210
  }
211
 
212
  /* wp editor */
213
  .the-metabox.textarea-editor .mceIframeContainer {
214
- background : #fff;
215
  }
216
 
 
217
  .the-metabox.textarea-editor label {
218
- margin-top : 24px;
219
  }
220
 
221
  /* categories */
222
  .categories-panel {
223
- width : 30%;
224
- float : left;
225
- margin-right : 4px;
226
  }
227
 
228
  .categories-panel .box {
229
- height : 200px;
230
- border : 1px solid #dfdfdf;
231
- background : #fff;
232
- padding : 6px 10px;
233
- overflow : auto;
234
  }
235
 
236
  .categories-panel ul {
237
- list-style : none;
238
- margin : 0;
239
  }
240
 
241
  .categories-panel ul li {
242
- line-height : 19px;
243
- margin : 0;
244
- padding : 0;
245
- word-wrap : break-word;
246
  }
247
 
248
  .categories-panel ul li label {
249
- font-weight : normal !important;
250
- margin-left : 0 !important;
251
  }
252
 
253
  .categories-panel input.newcategory {
254
- width : 100%;
255
- margin-bottom : 3px;
256
  }
257
 
258
  /* contact form */
259
  .contactform_item {
260
- border-style : solid;
261
- border-width : 1px;
262
- line-height : 1;
263
- margin-bottom : 20px;
264
- padding : 0;
265
- background-color : #f5f5f5;
266
- background-image : -moz-linear-gradient(center top, #f9f9f9, #f5f5f5);
267
- border-color : #dfdfdf;
268
- border-radius : 3px 3px 3px 3px;
269
- box-shadow : 0 1px 0 #fff inset;
270
- min-width : 255px;
271
- position : relative;
272
  }
273
 
274
  .contactform_item .handlediv {
275
- position : relative;
276
- top : -4px;
277
  }
278
 
279
  .contactform_item h3 {
280
- min-height : 21px;
281
- margin : 13px;
282
  }
283
 
284
  .contactform_item .inside {
285
- padding : 10px !important;
286
  }
287
 
288
  .contactform_item .deps {
289
- display : none;
290
  }
291
 
292
  .contactform_item .addoptions p.option {
293
- margin : 5px 0 5px 200px
294
  }
295
 
296
  .contactform_item .addoptions p label {
297
- width : 80px !important;
298
  }
299
 
300
  .contactform_item .add-field-option {
301
- margin-bottom : 10px !important;
302
  }
303
 
304
  .remove_item {
305
- float : right;
306
  }
307
 
308
  .metabox-sortable-placeholder {
309
- border : 1px dotted #dedede;
310
- margin : 10px 0
311
  }
312
 
313
  /* features tab */
314
  .featurestab_item {
315
- border-style : solid;
316
- border-width : 1px;
317
- line-height : 1;
318
- margin-bottom : 20px;
319
- padding : 0;
320
- background-color : #f5f5f5;
321
- background-image : -moz-linear-gradient(center top, #f9f9f9, #f5f5f5);
322
- border-color : #dfdfdf;
323
- border-radius : 3px 3px 3px 3px;
324
- box-shadow : 0 1px 0 #fff inset;
325
- min-width : 255px;
326
- position : relative;
327
  }
328
 
329
  .featurestab_item .handlediv {
330
- position : relative;
331
- top : -4px;
332
  }
333
 
334
  .featurestab_item h3 {
335
- min-height : 21px
336
  }
337
 
338
  .featurestab_item .inside {
339
- padding : 10px !important;
340
  }
341
 
342
  .featurestab_item .deps {
343
- display : none;
344
  }
345
 
346
  .featurestab_item .addoptions p.option {
347
- margin : 5px 0 5px 200px
348
  }
349
 
350
  .featurestab_item .addoptions p label {
351
- width : 80px !important;
352
  }
353
 
354
  .featurestab_item .add-field-option {
355
- margin-bottom : 10px !important;
356
  }
357
 
358
  .messages-panel.updated {
359
- margin : 10px 0px 10px !important;
360
- max-width : 1200px;
361
- border-radius : 5px;
362
- -webkit-box-sizing : border-box;
363
- box-sizing : border-box;
364
  }
365
 
366
  .ui-widget-overlay {
367
- background-image : none !important;
368
  }
369
 
370
  .the-metabox .icon_type {
371
- width : 30%;
372
- float : left;
373
- margin-right : 40px
374
  }
375
 
376
  #post-type-settings .category-list label {
377
- width : 187px;
378
  }
379
 
380
  .remove_cat {
381
- float : right;
382
- text-align : center;
383
- display : block;
384
- width : 20px;
385
- height : 20px;
386
- border-radius : 20px;
387
- font-weight : bold;
388
- font-size : 10px;
389
- background : #efefef;
390
- text-decoration : none;
391
  }
392
 
393
  /* typography */
394
  .the-metabox.typography .select_wrapper.font-family {
395
- width : 200px;
396
  }
397
 
398
  .the-metabox.typography .spinner_container {
399
- float : left;
400
- margin-right : 10px;
401
  }
402
 
403
  .the-metabox.typography .spinner_container input.number {
404
- width : 50px !important;
405
- -webkit-border-top-right-radius : 0px;
406
- -webkit-border-bottom-right-radius : 0px;
407
- -moz-border-radius-topright : 0px;
408
- -moz-border-radius-bottomright : 0px;
409
- border-top-right-radius : 0px;
410
- border-bottom-right-radius : 0px;
411
  }
412
 
413
  /* number */
414
  .the-metabox.number input.number {
415
- width : 50px !important;
416
  }
417
 
418
  /* number */
419
  .rm_number .number {
420
- width : 70px;
421
- text-align : right;
422
- -webkit-border-top-right-radius : 0px;
423
- -webkit-border-bottom-right-radius : 0px;
424
- -moz-border-radius-topright : 0px;
425
- -moz-border-radius-bottomright : 0px;
426
- border-top-right-radius : 0px;
427
- border-bottom-right-radius : 0px;
428
  }
429
 
430
  .spinner-wrapper {
431
- position : relative;
432
- height : 23px;
433
- overflow : hidden;
434
  }
435
 
436
  .spinner-wrapper input.number {
437
- float : left;
438
  }
439
 
440
  .spinner-wrapper .spinner-button {
441
- cursor : pointer;
442
- float : left;
443
- position : absolute;
444
- left : 69px;
445
- width : 15px;
446
- height : 12px;
447
- border : 1px solid #dfdfdf;
448
- background : #fff;
449
- margin : 0;
450
- padding : 0;
451
- line-height : 9999px;
452
- overflow : hidden;
453
- background : url('../images/spinner.png') no-repeat center -11px
454
  }
455
 
456
  .spinner-wrapper .spinner-button.button-plus {
457
- top : 0;
458
- -webkit-border-top-right-radius : 3px !important;
459
- -moz-border-radius-topright : 3px !important;
460
- border-top-right-radius : 3px !important;
461
  }
462
 
463
  .spinner-wrapper .spinner-button.button-minus {
464
- bottom : 0;
465
- background-position : center -30px;
466
- -webkit-border-bottom-right-radius : 3px !important;
467
- -moz-border-radius-bottomright : 3px !important;
468
- border-bottom-right-radius : 3px !important;
469
  }
470
 
471
  .spinner-wrapper .spinner-button.button-plus:active {
472
- background-position : center 0px;
473
  }
474
 
475
  .spinner-wrapper .spinner-button.button-minus:active {
476
- background-position : center -20px;
477
  }
478
 
479
  .rm_typography .spinner_container {
480
- float : left;
481
- margin-right : 10px;
482
  }
483
 
484
  .rm_typography .spinner-wrapper {
485
- height : 28px;
486
  }
487
 
488
  .rm_typography .spinner-wrapper input.number {
489
- height : 28px;
490
  }
491
 
492
  .rm_typography .spinner-wrapper .spinner-button.button-plus {
493
- height : 15px;
494
- background-position : center -10px;
495
  }
496
 
497
  .rm_typography .spinner-wrapper .spinner-button.button-minus {
498
- height : 14px;
499
  }
500
 
501
  .the-metabox .spinner-wrapper .spinner-button {
502
- left : 49px;
503
  }
504
 
505
  .the-metabox.typography .spinner-wrapper .spinner-button {
506
- left : 35px;
507
  }
508
 
509
  /* images */
510
  .the-metabox.images, .the-metabox.images label {
511
- margin-left : 0;
512
- display : block;
513
  }
514
 
515
  .the-metabox.images .slides-wrapper {
516
- clear : both;
517
  }
518
 
519
  .the-metabox.images .slides-wrapper li {
520
- position : relative;
521
  }
522
 
523
  .the-metabox.images a.delete {
524
- display : block;
525
- margin-left : 4px;
526
- text-decoration : none;
527
- font-weight : bold;
528
- color : red;
529
- position : absolute;
530
- top : 0;
531
- right : 0;
532
- width : 10px;
533
- height : 18px;
534
- z-index : 10;
535
- cursor : pointer !important;
536
  }
537
 
538
  /* wp editor */
539
  .wp_themeSkin iframe {
540
- background : #fff !important;
541
  }
542
 
543
  /* custom tabs */
544
  .customtab_item {
545
- border-style : solid;
546
- border-width : 1px;
547
- line-height : 1;
548
- margin-bottom : 20px;
549
- padding : 0;
550
- background-color : #f5f5f5;
551
- background-image : -moz-linear-gradient(center top, #f9f9f9, #f5f5f5);
552
- border-color : #dfdfdf;
553
- border-radius : 3px 3px 3px 3px;
554
- box-shadow : 0 1px 0 #fff inset;
555
- min-width : 255px;
556
- position : relative;
557
  }
558
 
559
  .customtab_item .handlediv {
560
- position : relative;
561
- top : -4px;
562
  }
563
 
564
  .customtab_item h3 {
565
- min-height : 21px
566
  }
567
 
568
  .customtab_item .inside {
569
- padding : 10px !important;
570
  }
571
 
572
  .customtab_item .deps {
573
- display : none;
574
  }
575
 
576
  .customtab_item .addoptions p.option {
577
- margin : 5px 0 5px 200px
578
  }
579
 
580
  .customtab_item .addoptions p label {
581
- width : 80px !important;
582
  }
583
 
584
  .customtab_item .add-field-option {
585
- margin-bottom : 10px !important;
586
  }
587
 
588
  .customtab_item .remove_item {
589
- float : right;
590
  }
591
 
592
  .metabox-sortable-placeholder {
593
- border : 1px dotted #dedede;
594
- margin : 10px 0
595
  }
596
 
597
  .the-metabox.customtabs {
598
- margin-left : 0;
599
  }
600
 
601
  #customtab_item_sample {
602
- display : none;
603
  }
604
 
605
  .the-metabox.customtabs .field-row {
606
- margin-bottom : 10px;
607
  }
608
 
609
  #yit_custom_tabs label {
610
- font-weight : normal;
611
- width : auto;
612
- float : none;
613
- line-height : auto;
614
- margin-left : 0;
615
  }
616
 
617
  .wp-admin p label input[type=radio] {
618
- width : 16px;
619
- margin-right : 10px;
620
- margin-top : 3px;
621
  }
622
 
623
  .wp-admin .form-field._preset_onsale_icon_field label input[type=radio] {
624
- margin-top : 0;
625
  }
626
 
627
  .the-metabox .spinner {
628
- margin-top : 5px;
629
- float : none;
630
  }
631
 
632
  /*sidebars*/
633
  #choose-sidebars.choose {
634
- margin-left : 0px;
635
  }
636
 
637
  #_active_page_options-container label, #_active_page_options-container p {
638
- display : inline-block;
639
- margin : 0px;
640
  }
641
 
642
  #_active_page_options-container label {
643
- margin-right : 10px;
644
- margin-top : 3px;
645
  }
646
 
647
  #_active_page_options-container {
648
- float : right;
649
- margin-right : 20px;
650
- margin-top : 5px;
651
- z-index : 9999 !important;
652
- position : absolute;
653
- right : 0;
654
  }
655
 
656
  /*-----------------------
657
  * Colorpicker - fix issues in combination with third-party themes or plugin (Basel, VC Addons, ...)
658
  */
659
  .metaboxes-tab .the-metabox.colorpicker {
660
- display : block;
661
- width : auto;
662
- height : auto;
663
- overflow : visible;
664
- top : auto;
665
- left : auto;
666
- background : transparent;
667
- position : static;
668
- z-index : 1;
669
- font-family : inherit;
 
 
 
 
 
 
 
 
670
  }
1
  /* self-clear floats */
2
  .clearfix:after {
3
+ content: ".";
4
+ display: block;
5
+ height: 0;
6
+ clear: both;
7
+ visibility: hidden;
8
+ overflow: hidden;
9
  }
10
 
11
  /* ie.css */
12
  * html .clearfix { /* IE6 */
13
+ height: 1%;
14
  }
15
 
16
  *:first-child + html .clearfix { /* IE7 */
17
+ min-height: 1%;
18
  }
19
 
20
  .clearboth {
21
+ clear: both
22
  }
23
 
24
  /* === TAB STYLE */
25
  .metaboxes-tab {
26
+ margin: -6px -12px -8px;
27
  }
28
 
29
  .metaboxes-tab div.tabs-panel {
30
+ height: auto;
31
+ overflow: visible;
32
+ margin-top: 0px;
33
+ padding: 0 10px;
34
+ background: none;
35
+ border: 0;
36
  }
37
 
38
  .metaboxes-tab ul.metaboxes-tabs {
39
+ background: #f1f1f1;
40
+ margin: 0;
41
+ padding: 10px 0 0 5px;
42
  }
43
 
44
  .metaboxes-tab ul.metaboxes-tabs li {
45
+ float: left;
46
+ background: #dedede;
47
+ margin: 0 0 0 5px;
48
  }
49
 
50
  .metaboxes-tab ul.metaboxes-tabs li a {
51
+ color: #555;
52
+ text-decoration: none;
53
+ padding: 8px 15px;
54
+ display: block;
55
+ box-shadow: none !important;
56
  }
57
 
58
  .metaboxes-tab ul.metaboxes-tabs li.tabs {
59
+ background: #fff;
60
  }
61
 
62
  .metaboxes-tab p.field-row {
63
+ margin: 20px 0;
64
  }
65
 
66
  .metaboxes-tab div.sep {
67
+ height: 1px;
68
+ background: #dfdfdf;
69
+ clear: both;
70
+ margin-left: -10px;
71
+ margin-right: -10px;
72
  }
73
 
74
  .metaboxes-tab label {
75
+ font-weight: bold;
76
+ width: 160px;
77
+ float: left;
78
+ line-height: 23px;
79
+ margin-left: -184px;
80
  }
81
 
82
  .metaboxes-tab label small {
83
+ font-weight: normal;
84
+ line-height: 15px;
85
+ font-style: italic;
86
+ color: #999;
87
+ display: block;
88
  }
89
 
90
+ .metaboxes-tab .yith-plugin-fw-radio__row {
91
  width: 100%;
92
  min-height: 20px;
93
  }
94
+
95
  .metaboxes-tab .yith-plugin-fw-radio__row label,
96
  .metaboxes-tab .yith-toggle-elements label,
97
  .metaboxes-tab .yith-add-box label {
98
+ margin-left: 0;
99
+ font-weight: normal;
100
  }
101
+
102
+ .metaboxes-tab.yith-plugin-ui h3 {
103
+ color: #2a8db0;
104
+ font-size: 15px;
105
+ text-transform: uppercase;
106
+ background-color: #fff;
107
+ padding: 35px 20px;
108
+ margin: 0px 0 0 -4px;
109
+ width: auto;
110
+ background: transparent;
111
+ }
112
+
113
  .metaboxes-tab.yith-plugin-ui .yith-add-box,
114
+ .metaboxes-tab.yith-plugin-ui .yith-toggle-row {
115
+ width: auto;
116
  }
117
+
118
  .metaboxes-tab .wp-picker-container label {
119
+ font-weight: inherit;
120
+ width: auto;
121
+ float: none;
122
+ line-height: inherit;
123
+ margin-left: 0;
124
+ }
125
+
126
+ .metaboxes-tab.yith-plugin-ui .yith-plugin-fw-radio__row label {
127
+ width: auto !important;
128
+ display: inline-block;
129
+ font-weight: normal;
130
  }
131
 
132
  .metaboxes-tab input[type="checkbox"] {
133
+ vertical-align: middle
134
  }
135
 
136
  .metaboxes-tab input.button-secondary, .metaboxes-tab input.checkbox {
137
+ width: auto;
138
  }
139
 
140
  .metaboxes-tab p.field-row.textarea .description {
141
+ vertical-align: top;
142
  }
143
 
144
  .metaboxes-tab p.field-row.checkbox {
145
+ background: none;
146
  }
147
 
148
  .metaboxes-tab .the-metabox {
149
+ margin: 20px 0;
150
+ margin-left: 184px;
151
  }
152
 
153
  .metaboxes-tab .the-metabox.no-label {
154
+ margin: 20px 0;
155
+ margin-left: 0;
156
  }
157
 
158
  .metaboxes-tab hr {
159
+ height: 0px;
160
+ border-top: 1px solid #dadada;
161
+ width: auto;
162
+ margin-left: -10px;
163
+ margin-right: -10px;
164
  }
165
 
166
  .metaboxes-tab .the-metabox p {
167
+ margin: 0;
168
  }
169
 
170
  .metaboxes-tab .the-metabox:last-child {
171
+ border-bottom: 0px;
172
  }
173
 
174
  .metaboxes-tab .the-metabox.checkbox {
175
+ background: none;
176
  }
177
 
178
  .metaboxes-tab span.description.inline {
179
+ display: inline-block;
180
+ line-height: 23px;
181
+ width: auto;
182
+ vertical-align: middle;
183
+ margin: 0;
184
  }
185
 
186
  .metaboxes-tab .slider label {
187
+ padding: 15px 0;
188
  }
189
 
190
  /* sortable table posts */
191
 
192
  #the-list.ui-sortable tr:hover {
193
+ cursor: move;
194
  }
195
 
196
  .the-metabox.preview {
197
+ float: none;
198
  }
199
 
200
  .metaboxes-tab .the-metabox.no-label.preview {
201
+ margin-left: 184px;
202
  }
203
 
204
  .metaboxes-tab .the-metabox.no-label.preview img {
205
+ box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
206
  }
207
 
208
  /**************************************
218
  .metaboxes-tab .yith-plugin-fw-text-input,
219
  .metaboxes-tab .yith-plugin-fw-text-array-table,
220
  .metaboxes-tab .yith-plugin-fw-textarea {
221
+ width: 400px;
222
+ max-width: 100%;
223
  }
224
+
225
+ .metaboxes-tab.yith-plugin-ui input[type=number] {
226
  width: auto;
227
  min-width: 90px;
228
  }
229
+
230
+ .metaboxes-tab.yith-plugin-ui p {
231
+ font-size: 14px;
232
+ }
233
+
234
+ .metaboxes-tab.yith-plugin-ui p.section-description {
235
+
236
+ margin: 0 20px 40px 18px;
237
+ }
238
+
239
  .metaboxes-tab .yith-plugin-fw-text-array-table input[type=text] {
240
+ width: 100%;
241
+ }
242
+
243
+ .metaboxes-tab.yith-plugin-ui .yith-add-box h3 {
244
+ padding: 0 0 30px 0;
245
+ font-weight: 600;
246
+ margin: 0;
247
+ }
248
+
249
+ .metaboxes-tab.yith-plugin-ui .select2-container--default .select2-selection--single {
250
+ border: 0;
251
+ margin: 0;
252
  }
253
 
254
  /* wp editor */
255
  .the-metabox.textarea-editor .mceIframeContainer {
256
+ background: #fff;
257
  }
258
 
259
+
260
  .the-metabox.textarea-editor label {
261
+ margin-top: 24px;
262
  }
263
 
264
  /* categories */
265
  .categories-panel {
266
+ width: 30%;
267
+ float: left;
268
+ margin-right: 4px;
269
  }
270
 
271
  .categories-panel .box {
272
+ height: 200px;
273
+ border: 1px solid #dfdfdf;
274
+ background: #fff;
275
+ padding: 6px 10px;
276
+ overflow: auto;
277
  }
278
 
279
  .categories-panel ul {
280
+ list-style: none;
281
+ margin: 0;
282
  }
283
 
284
  .categories-panel ul li {
285
+ line-height: 19px;
286
+ margin: 0;
287
+ padding: 0;
288
+ word-wrap: break-word;
289
  }
290
 
291
  .categories-panel ul li label {
292
+ font-weight: normal !important;
293
+ margin-left: 0 !important;
294
  }
295
 
296
  .categories-panel input.newcategory {
297
+ width: 100%;
298
+ margin-bottom: 3px;
299
  }
300
 
301
  /* contact form */
302
  .contactform_item {
303
+ border-style: solid;
304
+ border-width: 1px;
305
+ line-height: 1;
306
+ margin-bottom: 20px;
307
+ padding: 0;
308
+ background-color: #f5f5f5;
309
+ background-image: -moz-linear-gradient(center top, #f9f9f9, #f5f5f5);
310
+ border-color: #dfdfdf;
311
+ border-radius: 3px 3px 3px 3px;
312
+ box-shadow: 0 1px 0 #fff inset;
313
+ min-width: 255px;
314
+ position: relative;
315
  }
316
 
317
  .contactform_item .handlediv {
318
+ position: relative;
319
+ top: -4px;
320
  }
321
 
322
  .contactform_item h3 {
323
+ min-height: 21px;
324
+ margin: 13px;
325
  }
326
 
327
  .contactform_item .inside {
328
+ padding: 10px !important;
329
  }
330
 
331
  .contactform_item .deps {
332
+ display: none;
333
  }
334
 
335
  .contactform_item .addoptions p.option {
336
+ margin: 5px 0 5px 200px
337
  }
338
 
339
  .contactform_item .addoptions p label {
340
+ width: 80px !important;
341
  }
342
 
343
  .contactform_item .add-field-option {
344
+ margin-bottom: 10px !important;
345
  }
346
 
347
  .remove_item {
348
+ float: right;
349
  }
350
 
351
  .metabox-sortable-placeholder {
352
+ border: 1px dotted #dedede;
353
+ margin: 10px 0
354
  }
355
 
356
  /* features tab */
357
  .featurestab_item {
358
+ border-style: solid;
359
+ border-width: 1px;
360
+ line-height: 1;
361
+ margin-bottom: 20px;
362
+ padding: 0;
363
+ background-color: #f5f5f5;
364
+ background-image: -moz-linear-gradient(center top, #f9f9f9, #f5f5f5);
365
+ border-color: #dfdfdf;
366
+ border-radius: 3px 3px 3px 3px;
367
+ box-shadow: 0 1px 0 #fff inset;
368
+ min-width: 255px;
369
+ position: relative;
370
  }
371
 
372
  .featurestab_item .handlediv {
373
+ position: relative;
374
+ top: -4px;
375
  }
376
 
377
  .featurestab_item h3 {
378
+ min-height: 21px
379
  }
380
 
381
  .featurestab_item .inside {
382
+ padding: 10px !important;
383
  }
384
 
385
  .featurestab_item .deps {
386
+ display: none;
387
  }
388
 
389
  .featurestab_item .addoptions p.option {
390
+ margin: 5px 0 5px 200px
391
  }
392
 
393
  .featurestab_item .addoptions p label {
394
+ width: 80px !important;
395
  }
396
 
397
  .featurestab_item .add-field-option {
398
+ margin-bottom: 10px !important;
399
  }
400
 
401
  .messages-panel.updated {
402
+ margin: 10px 0px 10px !important;
403
+ max-width: 1200px;
404
+ border-radius: 5px;
405
+ -webkit-box-sizing: border-box;
406
+ box-sizing: border-box;
407
  }
408
 
409
  .ui-widget-overlay {
410
+ background-image: none !important;
411
  }
412
 
413
  .the-metabox .icon_type {
414
+ width: 30%;
415
+ float: left;
416
+ margin-right: 40px
417
  }
418
 
419
  #post-type-settings .category-list label {
420
+ width: 187px;
421
  }
422
 
423
  .remove_cat {
424
+ float: right;
425
+ text-align: center;
426
+ display: block;
427
+ width: 20px;
428
+ height: 20px;
429
+ border-radius: 20px;
430
+ font-weight: bold;
431
+ font-size: 10px;
432
+ background: #efefef;
433
+ text-decoration: none;
434
  }
435
 
436
  /* typography */
437
  .the-metabox.typography .select_wrapper.font-family {
438
+ width: 200px;
439
  }
440
 
441
  .the-metabox.typography .spinner_container {
442
+ float: left;
443
+ margin-right: 10px;
444
  }
445
 
446
  .the-metabox.typography .spinner_container input.number {
447
+ width: 50px !important;
448
+ -webkit-border-top-right-radius: 0px;
449
+ -webkit-border-bottom-right-radius: 0px;
450
+ -moz-border-radius-topright: 0px;
451
+ -moz-border-radius-bottomright: 0px;
452
+ border-top-right-radius: 0px;
453
+ border-bottom-right-radius: 0px;
454
  }
455
 
456
  /* number */
457
  .the-metabox.number input.number {
458
+ width: 50px !important;
459
  }
460
 
461
  /* number */
462
  .rm_number .number {
463
+ width: 70px;
464
+ text-align: right;
465
+ -webkit-border-top-right-radius: 0px;
466
+ -webkit-border-bottom-right-radius: 0px;
467
+ -moz-border-radius-topright: 0px;
468
+ -moz-border-radius-bottomright: 0px;
469
+ border-top-right-radius: 0px;
470
+ border-bottom-right-radius: 0px;
471
  }
472
 
473
  .spinner-wrapper {
474
+ position: relative;
475
+ height: 23px;
476
+ overflow: hidden;
477
  }
478
 
479
  .spinner-wrapper input.number {
480
+ float: left;
481
  }
482
 
483
  .spinner-wrapper .spinner-button {
484
+ cursor: pointer;
485
+ float: left;
486
+ position: absolute;
487
+ left: 69px;
488
+ width: 15px;
489
+ height: 12px;
490
+ border: 1px solid #dfdfdf;
491
+ background: #fff;
492
+ margin: 0;
493
+ padding: 0;
494
+ line-height: 9999px;
495
+ overflow: hidden;
496
+ background: url('../images/spinner.png') no-repeat center -11px
497
  }
498
 
499
  .spinner-wrapper .spinner-button.button-plus {
500
+ top: 0;
501
+ -webkit-border-top-right-radius: 3px !important;
502
+ -moz-border-radius-topright: 3px !important;
503
+ border-top-right-radius: 3px !important;
504
  }
505
 
506
  .spinner-wrapper .spinner-button.button-minus {
507
+ bottom: 0;
508
+ background-position: center -30px;
509
+ -webkit-border-bottom-right-radius: 3px !important;
510
+ -moz-border-radius-bottomright: 3px !important;
511
+ border-bottom-right-radius: 3px !important;
512
  }
513
 
514
  .spinner-wrapper .spinner-button.button-plus:active {
515
+ background-position: center 0px;
516
  }
517
 
518
  .spinner-wrapper .spinner-button.button-minus:active {
519
+ background-position: center -20px;
520
  }
521
 
522
  .rm_typography .spinner_container {
523
+ float: left;
524
+ margin-right: 10px;
525
  }
526
 
527
  .rm_typography .spinner-wrapper {
528
+ height: 28px;
529
  }
530
 
531
  .rm_typography .spinner-wrapper input.number {
532
+ height: 28px;
533
  }
534
 
535
  .rm_typography .spinner-wrapper .spinner-button.button-plus {
536
+ height: 15px;
537
+ background-position: center -10px;
538
  }
539
 
540
  .rm_typography .spinner-wrapper .spinner-button.button-minus {
541
+ height: 14px;
542
  }
543
 
544
  .the-metabox .spinner-wrapper .spinner-button {
545
+ left: 49px;
546
  }
547
 
548
  .the-metabox.typography .spinner-wrapper .spinner-button {
549
+ left: 35px;
550
  }
551
 
552
  /* images */
553
  .the-metabox.images, .the-metabox.images label {
554
+ margin-left: 0;
555
+ display: block;
556
  }
557
 
558
  .the-metabox.images .slides-wrapper {
559
+ clear: both;
560
  }
561
 
562
  .the-metabox.images .slides-wrapper li {
563
+ position: relative;
564
  }
565
 
566
  .the-metabox.images a.delete {
567
+ display: block;
568
+ margin-left: 4px;
569
+ text-decoration: none;
570
+ font-weight: bold;
571
+ color: red;
572
+ position: absolute;
573
+ top: 0;
574
+ right: 0;
575
+ width: 10px;
576
+ height: 18px;
577
+ z-index: 10;
578
+ cursor: pointer !important;
579
  }
580
 
581
  /* wp editor */
582
  .wp_themeSkin iframe {
583
+ background: #fff !important;
584
  }
585
 
586
  /* custom tabs */
587
  .customtab_item {
588
+ border-style: solid;
589
+ border-width: 1px;
590
+ line-height: 1;
591
+ margin-bottom: 20px;
592
+ padding: 0;
593
+ background-color: #f5f5f5;
594
+ background-image: -moz-linear-gradient(center top, #f9f9f9, #f5f5f5);
595
+ border-color: #dfdfdf;
596
+ border-radius: 3px 3px 3px 3px;
597
+ box-shadow: 0 1px 0 #fff inset;
598
+ min-width: 255px;
599
+ position: relative;
600
  }
601
 
602
  .customtab_item .handlediv {
603
+ position: relative;
604
+ top: -4px;
605
  }
606
 
607
  .customtab_item h3 {
608
+ min-height: 21px
609
  }
610
 
611
  .customtab_item .inside {
612
+ padding: 10px !important;
613
  }
614
 
615
  .customtab_item .deps {
616
+ display: none;
617
  }
618
 
619
  .customtab_item .addoptions p.option {
620
+ margin: 5px 0 5px 200px
621
  }
622
 
623
  .customtab_item .addoptions p label {
624
+ width: 80px !important;
625
  }
626
 
627
  .customtab_item .add-field-option {
628
+ margin-bottom: 10px !important;
629
  }
630
 
631
  .customtab_item .remove_item {
632
+ float: right;
633
  }
634
 
635
  .metabox-sortable-placeholder {
636
+ border: 1px dotted #dedede;
637
+ margin: 10px 0
638
  }
639
 
640
  .the-metabox.customtabs {
641
+ margin-left: 0;
642
  }
643
 
644
  #customtab_item_sample {
645
+ display: none;
646
  }
647
 
648
  .the-metabox.customtabs .field-row {
649
+ margin-bottom: 10px;
650
  }
651
 
652
  #yit_custom_tabs label {
653
+ font-weight: normal;
654
+ width: auto;
655
+ float: none;
656
+ line-height: auto;
657
+ margin-left: 0;
658
  }
659
 
660
  .wp-admin p label input[type=radio] {
661
+ width: 16px;
662
+ margin-right: 10px;
663
+ margin-top: 3px;
664
  }
665
 
666
  .wp-admin .form-field._preset_onsale_icon_field label input[type=radio] {
667
+ margin-top: 0;
668
  }
669
 
670
  .the-metabox .spinner {
671
+ margin-top: 5px;
672
+ float: none;
673
  }
674
 
675
  /*sidebars*/
676
  #choose-sidebars.choose {
677
+ margin-left: 0px;
678
  }
679
 
680
  #_active_page_options-container label, #_active_page_options-container p {
681
+ display: inline-block;
682
+ margin: 0px;
683
  }
684
 
685
  #_active_page_options-container label {
686
+ margin-right: 10px;
687
+ margin-top: 3px;
688
  }
689
 
690
  #_active_page_options-container {
691
+ float: right;
692
+ margin-right: 20px;
693
+ margin-top: 5px;
694
+ z-index: 9999 !important;
695
+ position: absolute;
696
+ right: 0;
697
  }
698
 
699
  /*-----------------------
700
  * Colorpicker - fix issues in combination with third-party themes or plugin (Basel, VC Addons, ...)
701
  */
702
  .metaboxes-tab .the-metabox.colorpicker {
703
+ display: block;
704
+ width: auto;
705
+ height: auto;
706
+ overflow: visible;
707
+ top: auto;
708
+ left: auto;
709
+ background: transparent;
710
+ position: static;
711
+ z-index: 1;
712
+ font-family: inherit;
713
+ }
714
+
715
+ .the-metabox.checkbox.checkboxgroup-start.clearfix {
716
+ margin: 40px 0 0 264px;
717
+ }
718
+
719
+ .the-metabox.checkbox.checkboxgroup.clearfix {
720
+ margin: 0 0 0 264px;
721
  }
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -1,203 +1,219 @@
1
  .yith-plugin-fw span.description {
2
- display : block;
3
- margin-top : 5px;
4
- font-size : 12px;
5
- color : #777;
6
- font-style : italic;
7
- clear : both;
8
  }
9
 
10
  .yith-plugin-fw span.description.inline {
11
- display : inline-block;
12
- margin : 0 0 0 5px;
13
  }
14
 
15
  .yith-disabled {
16
- opacity : 0.3;
17
- pointer-events : none;
18
  }
19
 
20
  .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper) {
21
- display : block;
22
- width : 100%;
23
  }
24
 
25
  .yith-plugin-fw-field-wrapper span.desc {
26
- display : block;
27
- width : 100%;
28
  }
29
 
30
  .yith-plugin-fw-title-field-wrapper h3.title {
31
- width : 100%;
32
  }
33
 
34
  .the-metabox .yith-plugin-fw-title-field-wrapper h3.title {
35
- float : left;
36
  }
37
 
 
 
 
 
 
 
38
  .yith-plugin-fw input[type=email],
39
  .yith-plugin-fw input[type=number],
40
  .yith-plugin-fw input[type=text]:not(.select2-search__field),
41
  .yith-plugin-fw select,
42
  .woocommerce .yith-plugin-fw table.form-table input[type=email],
43
  .woocommerce .yith-plugin-fw table.form-table input[type=number],
 
44
  .woocommerce .yith-plugin-fw table.form-table input[type=text]:not(.select2-search__field),
45
  .woocommerce .yith-plugin-fw table.form-table select {
46
- width : 400px;
47
- max-width : 100%;
48
- height : 30px;
49
- padding : 5px;
 
50
  }
51
 
52
  .woocommerce .yith-plugin-fw table.form-table input[type=text].wp-color-picker,
53
  .woocommerce .yith-plugin-fw table.form-table input[type=text].yith-plugin-fw-colorpicker,
54
  .yith-plugin-fw input[type=text].wp-color-picker,
55
  .yith-plugin-fw input[type=text].yith-plugin-fw-colorpicker {
56
- width : 6em;
57
- max-width : none;
58
- height : auto;
59
- padding : 3px 5px;
 
 
 
 
60
  }
61
 
62
  .woocommerce .yith-plugin-fw table.form-table input[type=text].colorpick,
63
  .yith-plugin-fw input[type=text].colorpick {
64
- width : 6em;
65
- max-width : none;
66
- height : auto;
67
- padding : 6px;
68
  }
69
 
70
  .yith-plugin-fw input.select2-search__field,
71
  .yith-plugin-fw .select2-container .select2-search--inline .select2-search__field,
72
  .woocommerce .yith-plugin-fw input.select2-search__field,
73
  .woocommerce .yith-plugin-fw table.form-table input.select2-search__field {
74
- padding : 3px;
 
 
 
 
75
  }
76
 
77
  .yith-plugin-fw textarea {
78
- width : 400px;
79
- max-width : 100%;
80
- padding : 5px;
81
  }
82
 
83
  /* ------------- ICONS ------------- */
84
  .yit-icons-manager-wrapper {
85
- width : 100%;
86
- max-width : 400px;
87
  }
88
 
89
  .yit-icons-manager-text {
90
- width : 100%;
91
  }
92
 
93
  .yit-icons-manager-icon-text {
94
- width : calc(100% - 35px) !important;
95
- height : 30px;
96
- float : left;
97
- margin : 0;
98
  }
99
 
100
  .yit-icons-manager-icon-preview {
101
- width : 30px;
102
- height : 30px;
103
- margin-right : 5px;
104
- float : left;
105
- padding-top : 6px;
106
- box-sizing : border-box;
107
- text-align : center;
108
- background : #f1f1f1;
109
  }
110
 
111
  .yit-icons-manager-list-wrapper {
112
- margin : 10px 0;
113
- box-shadow : 0 0 0 1px #ddd;
114
  }
115
 
116
  ul.yit-icons-manager-list {
117
- width : 100%;
118
- height : 300px;
119
- overflow-y : scroll;
120
- margin : 0;
121
  }
122
 
123
  ul.yit-icons-manager-list li {
124
- float : left;
125
- width : 30px;
126
- height : 30px;
127
- padding-top : 6px;
128
- box-sizing : border-box;
129
- text-align : center;
130
- background : #f1f1f1;
131
- margin : 1px;
132
- cursor : pointer;
133
  }
134
 
135
  ul.yit-icons-manager-list li:hover {
136
- background : #c5dcf6;
137
  }
138
 
139
  ul.yit-icons-manager-list li.active {
140
- background : #d4f0ff;
141
  }
142
 
143
  .yit-icons-manager-action-set-default {
144
- margin-bottom : 0;
145
  }
146
 
147
  .yit-icons-manager-default-icon-preview {
148
- height : 100%;
149
- display : inline-block;
150
- padding-left : 10px;
151
- border-left : 1px solid #ccc;
152
- margin-left : 10px;
153
  }
154
 
155
  /* ------- Text Array ------- */
156
  .yith-plugin-fw-text-array-table td {
157
- padding : 1px;
158
  }
159
 
160
  .yith-plugin-fw-text-array-table input[type=text],
161
  .woocommerce table.form-table table.yith-plugin-fw-text-array-table input[type=text] {
162
- width : 100%;
163
  }
164
 
165
  /* ------- Image Gallery ------- */
166
  .yith-plugin-fw .image-gallery ul li {
167
- display : inline-block;
168
- width : 80px;
169
- margin-left : 10px;
170
- position : relative;
171
  }
172
 
173
  .yith-plugin-fw .image-gallery ul li img {
174
- width : 80px;
175
- border : 1px solid #ccc;
176
  }
177
 
178
  .yith-plugin-fw .image-gallery ul li ul {
179
- position : absolute;
180
- top : -6px;
181
- right : -1px;
182
- width : 20px;
183
- height : 20px;
184
  }
185
 
186
  .yith-plugin-fw .image-gallery ul a.delete {
187
- background : url(../images/x.png) no-repeat;
188
- width : 20px;
189
- height : 20px;
190
- display : block;
191
- text-indent : -99999px;
192
  }
193
 
194
  /* ------- OnOff ------- */
195
  .yith-plugin-fw-onoff-container {
196
- display : inline-block;
197
  }
198
 
199
  .yith-plugin-fw-onoff-container input {
200
- display : none;
201
  }
202
 
203
  .yith-plugin-fw-onoff-container input + span {
@@ -215,192 +231,204 @@ ul.yit-icons-manager-list li.active {
215
 
216
 
217
  .yith-plugin-fw-onoff-container input + span:before {
218
- content : '';
219
- background : #fff;
220
- width : 16px;
221
- height : 16px;
222
- border-radius : 50%;
223
- position : absolute;
224
- top : 2px;
225
- left : 2px;
226
- transition : all 0.3s;
227
  }
228
 
229
  .yith-plugin-fw-onoff-container input:checked + span,
230
  .yith-plugin-fw-onoff-container input.onoffchecked + span {
231
- background : #0073aa;
232
  }
233
 
234
  .yith-plugin-fw-onoff-container input:checked + span:before,
235
  .yith-plugin-fw-onoff-container input.onoffchecked + span:before {
236
- left : 18px;
237
  }
238
 
239
  /* ------- Preview ------- */
240
  .yith-plugin-fw-preview-field {
241
- max-height : 200px;
242
  }
243
 
244
  /* ------- Radio ------- */
245
  .yith-plugin-fw-radio input[type=radio] {
246
- margin : 0 3px 0 0;
247
  }
248
 
249
  .yith-plugin-fw-radio__row {
250
- margin-bottom : 8px;
251
  }
252
 
253
  /* ------- Sidebar Layout ------- */
254
  .yith-plugin-fw-sidebar-layout input[type="radio"] {
255
- display : none;
256
- width : 0px;
257
  }
258
 
259
  .yith-plugin-fw-sidebar-layout input[type="radio"]:first-child {
260
- margin-right : -2px;
261
  }
262
 
263
  .yith-plugin-fw-sidebar-layout input[type="radio"] + img {
264
- border : 2px solid #fff;
265
- padding : 1px;
266
  }
267
 
268
  .yith-plugin-fw-sidebar-layout input[type="radio"] + img:hover {
269
- cursor : pointer;
270
  }
271
 
272
  .yith-plugin-fw-sidebar-layout input[checked] + img {
273
- border : 2px solid #f2ad35;
274
- padding : 1px;
275
  }
276
 
277
  .yith-plugin-fw-sidebar-layout select {
278
- vertical-align : 12px;
279
  }
280
 
281
  .yit-admin-panel-content-wrap .yith-plugin-fw-sidebar-layout label {
282
- font-weight : bold;
283
- width : 200px;
284
- float : left;
285
- line-height : 23px;
286
- margin-left : -230px;
287
  }
288
 
289
  /* ------- Slider ------- */
290
  .yith-plugin-fw .slider {
291
- padding-top : 20px;
292
  }
293
 
294
  .ui-slider .minCaption {
295
- position : absolute;
296
- right : 95%;
297
- top : -6px;
298
- margin-right : 11px;
299
  }
300
 
301
  .ui-slider .maxCaption {
302
- position : absolute;
303
- left : 95%;
304
- top : -6px;
305
- margin-left : 20px;
306
  }
307
 
308
  .ui-slider-horizontal .ui-slider-handle {
309
- background : #fff;
310
- border : 0px !important;
311
- top : -12px !important;
312
- border-radius : 50%;
313
- width : 27px !important;
314
- height : 27px !important;
315
- box-sizing : border-box;
316
- box-shadow : 0 1px 7px -1px rgba(0, 0, 0, 0.5);
317
- font-size : 13px;
318
- padding : 6px 0;
319
- font-weight : 600;
320
- color : #555;
321
- text-align : center;
322
  }
323
 
324
  .ui-slider.ui-widget-content {
325
- background : #ccc;
326
- border : none !important;
327
- height : 3px !important;
328
- border-radius : 3px !important;
329
- width : 90%;
330
- margin : 15px 5% 20px 5%;
331
  }
332
 
333
  .iris-slider-offset.ui-slider.ui-widget-content {
334
- background : transparent !important;
335
- height : auto !important;
336
  }
337
 
338
  .ui-slider.ui-widget-content .ui-widget-header {
339
- background : #4b93ff;
340
- left : 0px !important;
341
- -webkit-border-radius : 3px;
342
- -moz-border-radius : 3px;
343
- -khtml-border-radius : 3px;
344
- border-radius : 3px;
345
  }
346
 
347
  /* ------- Select2 ------- */
348
  .yith-plugin-fw-select2-wrapper {
349
- width : 400px;
350
  }
351
 
352
  /* ------- Textarea ------- */
353
  .yith-plugin-fw-textarea-editor-field-wrapper {
354
- max-width : 1000px;
355
- clear : both;
356
  }
357
 
358
  .yith-plugin-fw-textarea-editor-field-wrapper textarea.wp-editor-area,
359
  .woocommerce table.form-table .yith-plugin-fw-textarea-editor-field-wrapper textarea.wp-editor-area {
360
- width : 100%;
361
  }
362
 
363
  /* ------- Buttons ------- */
364
  .yith-plugin-fw-buttons-field-wrapper {
365
- margin-top : 7px;
366
  }
367
 
368
  /* ------- Select Images ------- */
369
  .yith-plugin-fw-select-images__list {
370
- margin : 0;
371
- display : flex;
372
- flex-wrap : wrap;
373
  }
374
 
375
  .yith-plugin-fw-select-images__item {
376
- width : calc(20% - 10px);
377
- min-width : 150px;
378
- margin : 0 10px 10px 0;
379
- padding : 10px;
380
- box-sizing : border-box;
381
- cursor : pointer;
382
- transition : all .3s;
383
- border : 2px solid #eee;
384
- display : flex;
385
- flex-direction : column;
386
- justify-content : space-between;
387
  }
388
 
389
  .yith-plugin-fw-select-images__item:hover,
390
  .yith-plugin-fw-select-images__item.yith-plugin-fw-select-images__item--selected {
391
- border-color : #07bcce;
392
  }
393
 
394
  .yith-plugin-fw-select-images__item__label {
395
- text-align : center;
396
- font-weight : 600;
397
- margin-bottom : 10px;
398
  }
399
 
400
  .yith-plugin-fw-select-images__item img {
401
- display : block;
402
- max-width : 100%;
403
- margin : 0 auto;
 
 
 
 
 
 
 
 
 
 
 
 
404
  }
405
 
406
  /****************
@@ -408,8 +436,8 @@ YITH UI
408
  ****************/
409
  @font-face {
410
  font-family: 'yith-icon';
411
- src: url('../fonts/yith-icon.eot?7ik896');
412
- src: url('../fonts/yith-icon.eot?7ik896#iefix') format('embedded-opentype'),
413
  url('../fonts/yith-icon.ttf?7ik896') format('truetype'),
414
  url('../fonts/yith-icon.woff?7ik896') format('woff'),
415
  url('../fonts/yith-icon.svg?7ik896#yith-icon') format('svg');
@@ -417,7 +445,7 @@ YITH UI
417
  font-style: normal;
418
  }
419
 
420
- [class^="icon-"], [class*=" icon-"] {
421
  /* use !important to prevent issues with browser extensions that change fonts */
422
  font-family: 'yith-icon' !important;
423
  speak: none;
@@ -431,92 +459,157 @@ YITH UI
431
  -webkit-font-smoothing: antialiased;
432
  -moz-osx-font-smoothing: grayscale;
433
  }
434
- .icon-drag:before {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  content: "\e90f";
436
- color: #d8d8d8;
 
 
 
 
 
 
 
 
 
 
437
  }
438
- .icon-arrow_down:before {
 
439
  content: "\e900";
440
- color: #d8d8d8;
441
  }
442
- .icon-arrow_left:before {
 
443
  content: "\e901";
444
- color: #d8d8d8;
445
  }
446
- .icon-arrow_right:before {
 
447
  content: "\e902";
448
- color: #d8d8d8;
449
  }
450
- .icon-arrow_up:before {
 
451
  content: "\e903";
452
- color: #d8d8d8;
453
  }
454
- .icon-calendar:before {
 
455
  content: "\e904";
456
- color: #d8d8d8;
457
  }
458
- .icon-check:before {
 
459
  content: "\e905";
460
- color: #d8d8d8;
461
  }
462
- .icon-close:before {
 
463
  content: "\e906";
464
- color: #d8d8d8;
465
  }
466
- .icon-edit:before {
 
467
  content: "\e907";
468
- color: #d8d8d8;
469
  }
470
- .icon-magnifier:before {
 
471
  content: "\e908";
472
- color: #d8d8d8;
473
  }
474
- .icon-pencil:before {
 
475
  content: "\e909";
476
- color: #d8d8d8;
477
  }
478
- .icon-plus:before {
 
479
  content: "\e90a";
480
- color: #d8d8d8;
481
  }
482
- .icon-update:before {
 
483
  content: "\e90b";
484
- color: #d8d8d8;
485
  }
486
- .icon-upload:before {
 
487
  content: "\e90c";
488
- color: #d8d8d8;
489
- }
490
- .icon-trash:before {
491
- content: "\e90d";
492
- color: #d8d8d8;
493
- }
494
- .icon-info:before {
495
- content: "\e90e";
496
- color: #d8d8d8;
497
- }
498
- .icon-reset:before {
499
- content: "\e910";
500
- color: #d8d8d8;
501
  }
502
- .yith-plugin-fw-banner{
 
503
  width: 100%;
504
  height: 75px;
505
  background: url('../images/banner-premium.png');
506
  }
507
- .yith-plugin-fw-banner.yith-plugin-fw-banner-free{
 
508
  height: 290px;
509
  background: url('../images/banner-free.png') no-repeat;
510
  }
511
- .yith-plugin-fw-banner.yith-plugin-fw-banner-free h1{
 
512
  max-width: auto;
513
- text-align:left;
514
  margin-left: 110px;
515
  padding-top: 15px;
516
  padding-bottom: 8px;
517
  }
518
 
519
- .yith-plugin-fw-banner h1{
520
  text-transform: uppercase;
521
  color: #0c5777;
522
  font-size: 15px;
@@ -527,45 +620,46 @@ YITH UI
527
  box-sizing: border-box;
528
  }
529
 
530
- .yith-plugin-fw-banner span{
531
- font-style:italic;
532
  display: block;
533
  font-size: 15px;
534
- color:#214249;
535
- text-transform:none;
536
  text-align: right;
537
  }
538
 
539
  .yith-plugin-fw-banner a,
540
- .yith-plugin-fw-banner a:focus{
541
  text-decoration: none;
542
  outline: none;
543
  box-shadow: none;
544
  }
545
 
546
- .yith-banners ul{
547
  list-style: none;
548
  margin-left: 10px;
549
  }
550
 
551
- .yith-banners ul li{
552
  display: inline-block;
553
  margin-left: 10px;
554
  }
555
- .yith-plugin-ui a{
 
556
  outline: none;
557
  box-shadow: none;
558
  }
559
 
560
- .yith-plugin-ui{
561
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
562
  }
563
 
564
- .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper{
565
- margin-top:10px;
566
  }
567
 
568
- .yith-plugin-ui .nav-tab{
569
  margin-left: 0px;
570
  margin-right: 2px;
571
  background-color: #336374;
@@ -574,46 +668,51 @@ YITH UI
574
  padding: 7px 20px;
575
  border: 0;
576
  }
577
- .yith-plugin-ui .nav-tab:first-child{
 
578
  border-left: 1px solid #d9d9d9;
579
  }
580
 
581
- .yith-plugin-ui .nav-tab.yith-premium{
582
  background-color: #be421c;
583
  }
584
- .yith-plugin-ui .nav-tab-active{
 
585
  background-color: #fff;
586
  color: #336374;
587
- border-bottom:1px solid #fff;
588
  }
589
- .yith-plugin-ui .nav-tab-active.yith-premium{
 
590
  background-color: #fff;
591
  color: #be421c;
592
  }
593
- .yith-plugin-ui #plugin-fw-wc{
 
594
  padding-top: 0px;
595
  }
596
 
597
- .yith-plugin-ui .form-table td{
598
  padding: 15px 20px;
599
  }
600
 
601
- .yith-plugin-ui.metaboxes-tab label{
602
  color: #33373b;
603
- font-size: 15px;
604
- margin-left: -310px;
605
  }
606
- .yith-plugin-ui.metaboxes-tab .the-metabox{
607
- margin: 40px 0 40px 290px;
608
- margin-left:327px;
609
 
 
 
 
610
  }
611
- .yith-plugin-ui.metaboxes-tab label{
612
- width:250px;
 
613
  font-weight: 600;
614
  }
615
 
616
- .yith-plugin-ui span.description{
617
  color: #716269;
618
  font-size: 14px;
619
  font-style: normal;
@@ -621,22 +720,25 @@ YITH UI
621
  margin-top: 15px;
622
  margin-left: 0;
623
  }
624
- #wpwrap .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-ui h2.nav-tab-wrapper {
 
625
  border: 0;
626
- border-bottom : 1px solid #ccc;
627
  margin-right: 15px;
 
628
  background-color: transparent;
629
  padding-left: 0;
630
  }
 
631
  .yith-plugin-ui #plugin-fw-wc table.form-table,
632
  .yith-plugin-ui #yith-plugin-fw-panel table.form-table,
633
- .yith-plugin-ui table.form-table{
634
  border: 1px solid #d8d8d8;
635
  border-top: 0;
636
  margin-bottom: 40px;
637
  }
638
 
639
- .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper{
640
  background-color: transparent;
641
  border: 0;
642
  text-transform: none;
@@ -653,12 +755,13 @@ YITH UI
653
  padding: 35px 20px;
654
  margin: 0px;
655
  }
656
- .yith-plugin-ui .yith-plugin-fw-custom-tab h2{
 
657
  border: 0px solid #d8d8d8;
658
  padding-left: 0;
659
  }
660
 
661
- .yith-plugin-ui #plugin-fw-wc table.form-table th, #yith-plugin-fw-panel table.form-table th.titledesc, .yith-plugin-ui #plugin-fw-wc table.form-table td, #yith-plugin-fw-panel table.form-table td.forminp {
662
  padding: 30px 20px;
663
  }
664
 
@@ -671,17 +774,17 @@ YITH UI
671
  padding-bottom: 5px;
672
  }
673
 
674
- .yith-plugin-ui #plugin-fw-wc h2 + div p, .yith-plugin-ui p.info-box{
675
  background: #f1f1f1;
676
  font-size: 14px;
677
  font-weight: 700;
678
  width: 40%;
679
- display:block;
680
  padding: 15px;
681
  margin-bottom: 0;
682
  }
683
 
684
- .yith-plugin-ui #plugin-fw-wc h2 + div p:before, .yith-plugin-ui p.info-box:before{
685
  content: "\e90e";
686
  font-family: yith-icon;
687
  font-size: 30px;
@@ -692,7 +795,7 @@ YITH UI
692
  margin-right: 15px;
693
  }
694
 
695
- .yith-plugin-ui h2:first-child{
696
  border-top: 0;
697
  }
698
 
@@ -713,10 +816,12 @@ YITH UI
713
  .yith-plugin-ui input[type=text],
714
  .yith-plugin-ui input[type=email],
715
  .yith-plugin-ui input[type=password],
 
716
  .yith-plugin-fw.yith-plugin-ui input[type=text]:not(.select2-search__field),
717
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field),
718
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select,
719
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea,
 
720
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=number],
721
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text] {
722
  border: 1px solid #d8d8d8;
@@ -727,16 +832,24 @@ YITH UI
727
  box-shadow: none;
728
  color: #716269;
729
  }
 
730
  .yith-plugin-ui textarea,
731
- .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea{
732
  height: auto;
733
  }
 
734
  .yith-plugin-ui table.form-table input[type=text].wp-color-picker,
735
- .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].wp-color-picker{
736
  border: 0;
737
  height: 30px;
738
- max-width: 60px;
 
 
 
 
739
 
 
 
740
  }
741
 
742
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].small-text,
@@ -752,27 +865,27 @@ YITH UI
752
  }
753
 
754
  .yith-plugin-ui select:focus,
755
- .yith-plugin-ui input[type=text]:focus {
756
- border-color: #a7d9ec;
757
  }
758
 
759
  .woocommerce .yith-plugin-ui table.form-table select,
760
- .yith-plugin-ui select{
761
  -webkit-appearance: none;
762
  line-height: 1.2em;
763
  min-height: 35px;
764
  background: url("../images/arrow_down.svg") no-repeat right center;
765
  background-size: 35px 13px;
766
  border-radius: 8px;
 
767
  }
768
 
769
- .yith-plugin-ui .form-table th{
770
- width: 280px;
771
  padding-right: 50px;
772
  }
773
 
774
  /** BUTTONS **/
775
- .yith-plugin-ui .tablenav .button.action,
776
  .wp-core-ui .yith-plugin-ui .button-primary,
777
  .wp-core-ui .yith-plugin-ui .button-secondary,
778
  .yith-plugin-ui .yith-add-button,
@@ -800,12 +913,14 @@ YITH UI
800
  line-height: 26px;
801
  display: inline-block;
802
  text-decoration: none;
 
803
  }
 
804
  .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
805
  .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button,
806
  .yith-plugin-ui .yith-plugin-fw-upload-button-reset,
807
  .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
808
- .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button{
809
  height: 38px;
810
  }
811
 
@@ -815,49 +930,55 @@ YITH UI
815
  .yith-plugin-ui .yith-save-button:focus,
816
  .yith-plugin-ui .yith-edit-button:focus,
817
  .yith-plugin-ui .yith-update-button:focus,
818
- .wp-core-ui .yith-plugin-ui .button-secondary:focus{
819
  outline: none;
820
  box-shadow: none;
821
  }
822
 
 
 
 
 
 
 
 
 
823
  /** button with inside a span with icon class */
824
- .yith-plugin-ui .button-secondary span.yith-icon{
825
  margin-left: 0px;
826
  margin-right: 10px;
827
  line-height: normal;
828
  }
829
 
830
- .yith-plugin-ui .button-secondary span.yith-icon:before{
831
  color: #656565;
832
  font-size: 15px;
833
  }
834
 
835
- .yith-plugin-ui .tablenav .button.action,
836
  .wp-core-ui .yith-plugin-ui .button:focus,
837
  .wp-core-ui .yith-plugin-ui .button-secondary:focus,
838
  .yith-plugin-ui .yith-save-button:hover,
839
  .wp-core-ui .yith-plugin-ui .button-secondary:hover,
840
- .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover{
841
  background-color: #cacaca;
842
  color: #515151;
843
  }
844
 
845
  .wp-core-ui .yith-plugin-ui .button-primary,
846
- .yith-plugin-ui .tablenav .button.action,
847
  .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all,
848
- .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button{
849
  background-color: #007694;
850
  color: #fff;
851
  }
852
 
853
- .yith-plugin-ui .tablenav .button.action:active,
854
- .yith-plugin-ui .tablenav .button.action:focus,
855
- .yith-plugin-ui .tablenav .button.action:hover,
856
  .yith-plugin-ui .yith-add-button,
857
  .wp-core-ui .yith-plugin-ui .button-primary:focus,
858
- .wp-core-ui .yith-plugin-ui .button-primary:hover{
859
  background-color: #375f6b;
860
  color: #fff;
 
861
  }
862
 
863
 
@@ -865,7 +986,7 @@ YITH UI
865
  .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus,
866
  .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:hover,
867
  .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:focus,
868
- .yith-plugin-ui .yith-plugin-fw-upload-button:hover{
869
  border-color: #007694;
870
  background: #007694;
871
  color: #fff;
@@ -878,13 +999,13 @@ YITH UI
878
  .yith-plugin-ui .yith-save-button:before,
879
  .yith-plugin-ui .yith-edit-button:before,
880
  .yith-plugin-ui .yith-update-button:before,
881
- .yith-plugin-ui .button-secondary:before{
882
  font-family: 'yith-icon';
883
  font-size: 10px;
884
  font-weight: 700;
885
  margin-right: 10px;
886
  vertical-align: bottom;
887
- display:inline-block;
888
  }
889
 
890
  /** yith-edit-button **/
@@ -892,25 +1013,30 @@ YITH UI
892
  background-color: #7f9298;
893
  color: #fff;
894
  }
 
895
  .yith-plugin-ui .yith-edit-button:focus,
896
  .yith-plugin-ui .yith-edit-button:hover {
897
  background-color: #718085;
898
  color: #fff;
899
  }
900
- .yith-plugin-ui .yith-edit-button:before{
 
901
  content: "\e907";
902
  }
 
903
  /** yith-update-button **/
904
  .yith-plugin-ui .yith-update-button {
905
  background-color: #94aa09;
906
  color: #fff;
907
  }
 
908
  .yith-plugin-ui .yith-update-button:focus,
909
  .yith-plugin-ui .yith-update-button:hover {
910
  background-color: #7a9009;
911
  color: #fff;
912
  }
913
- .yith-plugin-ui .yith-update-button:before{
 
914
  content: "\e90b";
915
  font-size: 15px;
916
  }
@@ -921,6 +1047,7 @@ YITH UI
921
  background-color: #267390;
922
  color: #fff;
923
  }
 
924
  .yith-plugin-ui .yith-save-button:focus,
925
  .yith-plugin-ui .yith-save-button:hover {
926
  background-color: #1c4863;
@@ -930,63 +1057,78 @@ YITH UI
930
 
931
  /** yith-remove-button **/
932
 
933
- .yith-plugin-ui .button-secondary.yith-remove-button:before{
934
  content: "\e90d";
935
  font-size: 15px;
936
  }
937
 
938
 
939
  /** yith-add-button **/
940
-
941
- .yith-plugin-ui .yith-add-button:before{
942
  content: "\e90a";
943
  }
944
 
 
 
 
 
 
 
 
 
 
 
 
945
  /** yith-plugin-fw-upload-button **/
946
- .yith-plugin-ui button.yith-plugin-fw-upload-button:before{
947
  content: "\e90c";
948
  font-family: 'yith-icon';
949
  font-size: 19px;
950
  font-weight: 400;
951
  margin-right: 10px;
952
  vertical-align: middle;
953
- display:inline-block;
954
  }
 
955
  /** SELECT 2 **/
956
  .yith-plugin-ui .select2-container,
957
- .yith-plugin-ui .select2-selection--single{
958
  height: auto;
959
  padding: 2px;
960
  outline: none;
961
  }
962
 
963
- .yith-plugin-ui .select2-selection--single{
964
  margin: 0;
965
  border: 0;
966
  }
967
 
968
  /* old panel*/
969
 
970
- .yith-plugin-ui span.select2.select2-container.select2-container--default{
971
  border: 1px solid #d8d8d8;
972
- border-radius:8px;
973
  }
974
- .yith-plugin-ui span.select2.select2-container.select2-container--default:hover,
975
- .yith-plugin-ui span.select2.select2-container.select2-container--default:active,
976
- .yith-plugin-ui span.select2.select2-container.select2-container--default:focus {
 
977
  border-color: #a7d9ec;
978
  }
979
- .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
 
980
  color: #fff;
981
  }
 
982
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].select2-search__field,
983
- .yith-plugin-ui .yith-plugin-fw table.form-table input.select2-search__field{
984
  border: 0;
985
  padding: 0;
986
  height: initial;
987
  }
 
988
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice,
989
- .yith-plugin-ui .select2-selection__choice{
990
  color: #fff;
991
  background-color: #4e8ba2;
992
  border-radius: 12px;
@@ -995,46 +1137,60 @@ YITH UI
995
  font-size: 13px;
996
  }
997
 
998
- .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow:before{
999
  content: "\e900";
1000
  font-family: 'yith-icon' !important;
1001
  line-height: 36px;
1002
  color: #d9d9d9;
1003
  }
1004
 
1005
- .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow b{
1006
  display: none;
1007
  }
 
1008
  .yith-plugin-ui .select2-container--open .select2-dropdown--below,
1009
  .yith-plugin-ui .select2-container--open .select2-dropdown--above,
1010
  .yith-plugin-fw-panel .select2-container--open .select2-dropdown--below,
1011
  .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above {
1012
  margin-top: 10px;
1013
  border-radius: 8px;
1014
- box-shadow:0 2px 4px 0 rgba(0,0,0,0.12),0 2px 10px 0 rgba(0,0,0,0.12) !important;
1015
  }
 
1016
  .yith-plugin-ui .select2-container--open .select2-dropdown--above,
1017
- .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above{
1018
  margin-top: -10px;
1019
  }
 
1020
  .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1021
  .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
1022
  .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1023
- .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--above .select2-selection--single{
1024
  border-radius: 8px;
1025
  }
 
1026
  .yith-plugin-ui .select2-results .select2-results__group, .select2-results .select2-results__option:first-child,
1027
- .yith-plugin-fw-panel .select2-results .select2-results__group, .select2-results .select2-results__option:first-child{
1028
  border-top-left-radius: 8px;
1029
  border-top-right-radius: 8px;
1030
  }
 
 
 
 
 
 
1031
  .yith-plugin-ui .select2-results .select2-results__group,
1032
  .yith-plugin-ui .select2-results .select2-results__option:last-child,
1033
  .yith-plugin-fw-panel .select2-results .select2-results__group,
1034
- .yith-plugin-fw-panel .select2-results .select2-results__option:last-child{
1035
  border-bottom-left-radius: 8px;
1036
  border-bottom-right-radius: 8px;
1037
  }
 
 
 
 
1038
  .yith-plugin-ui .select2-container--default .select2-results__option[data-selected=true],
1039
  .yith-plugin-ui .select2-container--default .select2-results__option[aria-selected=true],
1040
  .yith-plugin-fw-panel .select2-container--default .select2-results__option[data-selected=true],
@@ -1042,17 +1198,18 @@ YITH UI
1042
  background-color: #fff;
1043
  outline: none;
1044
  }
 
1045
  .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[aria-selected],
1046
  .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[data-selected],
1047
  .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[aria-selected],
1048
- .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[data-selected]{
1049
  background-color: #e8eff1;
1050
  color: #4e8ba2;
1051
  outline: none;
1052
  }
1053
 
1054
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
1055
- .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
1056
  float: right;
1057
  padding-left: 15px;
1058
  text-indent: -9999px;
@@ -1061,7 +1218,7 @@ YITH UI
1061
 
1062
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1063
  .woocommerce .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1064
- .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1065
  float: right;
1066
  color: #fff;
1067
  content: "\e906";
@@ -1071,54 +1228,59 @@ YITH UI
1071
  text-indent: 0;
1072
  }
1073
 
1074
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1075
  color: #000;
1076
  }
1077
 
1078
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after
1079
- .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after{
1080
  color: #000;
1081
  }
 
1082
  .yith-plugin-ui .select2-container .select2-selection--multiple,
1083
- .yith-plugin-ui .select2-container--default.select2-container--focus .select2-selection--multiple{
1084
  border: 0;
1085
  }
1086
 
1087
- .yith-plugin-fw .select2-search input[type=text]{
1088
  border: 0;
1089
  padding: 0;
1090
  height: auto;
1091
  }
1092
- .yith-plugin-ui .yith-plugin-fw-select-field-wrapper span.yith-icon.icon-magnifier,
1093
- .yith-plugin-fw-panel .yith-plugin-fw-select-field-wrapper span.yith-icon.icon-magnifier {
 
1094
  position: absolute;
1095
  padding-top: 5px;
1096
  }
1097
 
1098
- .yith-plugin-ui input[type=text].select2-search__field{
1099
  border: 0;
1100
  padding: 0;
1101
  height: 30px;
1102
  }
 
1103
  .yith-plugin-ui .select2-container--default .select2-search--dropdown .select2-search__field,
1104
- .yith-plugin-fw-panel .select2-container--default .select2-search--dropdown .select2-search__field {
1105
  border: 1px solid #d9d9d9;
1106
  border-radius: 8px;
1107
  box-shadow: none;
1108
  }
 
1109
  .yith-plugin-ui .select2-dropdown,
1110
- .yith-plugin-fw-panel .select2-dropdown{
1111
  border: 1px solid #d9d9d9;
1112
  }
 
1113
  /** RADIO BUTTON **/
1114
- .yith-plugin-ui [type="radio"]:checked,
1115
- .yith-plugin-ui [type="radio"]:not(:checked) {
1116
  position: absolute;
1117
  left: -9999px;
1118
  }
 
1119
  .yith-plugin-ui [type="radio"]:checked + label,
1120
- .yith-plugin-ui [type="radio"]:not(:checked) + label
1121
- {
1122
  position: relative;
1123
  padding-left: 35px;
1124
  cursor: pointer;
@@ -1127,8 +1289,9 @@ YITH UI
1127
  color: #716269;
1128
  font-size: 14px;
1129
  }
 
1130
  .yith-plugin-ui [type="radio"]:checked + label:before,
1131
- .yith-plugin-ui [type="radio"]:not(:checked) + label:before {
1132
  content: '';
1133
  position: absolute;
1134
  left: 0;
@@ -1139,6 +1302,7 @@ YITH UI
1139
  border-radius: 100%;
1140
  background: #fff;
1141
  }
 
1142
  .yith-plugin-ui [type="radio"]:checked + label:after,
1143
  .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1144
  content: '';
@@ -1152,11 +1316,13 @@ YITH UI
1152
  -webkit-transition: all 0.2s ease;
1153
  transition: all 0.2s ease;
1154
  }
 
1155
  .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1156
  opacity: 0;
1157
  -webkit-transform: scale(0);
1158
  transform: scale(0);
1159
  }
 
1160
  .yith-plugin-ui [type="radio"]:checked + label:after {
1161
  opacity: 1;
1162
  -webkit-transform: scale(1);
@@ -1174,15 +1340,19 @@ YITH UI
1174
  border-radius: 3px;
1175
  display: inline-block;
1176
  position: relative;
 
1177
  }
1178
- .yith-plugin-ui input[type="checkbox"]:checked{
 
1179
  background-color: #4e8ba2;
1180
  border-color: #488197;
1181
  }
 
1182
  .yith-plugin-ui .forminp-checkbox span.description.inline {
1183
  margin-left: 10px;
1184
  }
1185
- .yith-plugin-ui input[type="checkbox"]:checked:before{
 
1186
  display: none;
1187
  }
1188
 
@@ -1201,14 +1371,14 @@ YITH UI
1201
  display: none;
1202
  }
1203
 
1204
- .yith-plugin-ui .yith-plugin-fw-onoff-container input + span{
1205
  border: 1px solid #d8d8d8;
1206
  background-color: #fff;
1207
  width: 60px;
1208
  height: 24px;
1209
  }
1210
 
1211
- .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before{
1212
  background-color: #d8d8d8;
1213
  }
1214
 
@@ -1219,7 +1389,8 @@ YITH UI
1219
  left: 6px;
1220
  background-color: #d8d8d8;
1221
  }
1222
- .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after{
 
1223
  content: 'OFF';
1224
  width: 14px;
1225
  height: 14px;
@@ -1232,19 +1403,19 @@ YITH UI
1232
  }
1233
 
1234
  .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span,
1235
- .yith-plugin-ui .yith-plugin-fw-onoff-container input.onoffchecked + span{
1236
  background-color: #fff;
1237
  border-color: #98aa36;
1238
  }
1239
 
1240
  .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:before,
1241
- .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:before{
1242
  background-color: #98aa36;
1243
  left: 41px;
1244
  }
1245
 
1246
  .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after,
1247
- .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after{
1248
  content: 'ON';
1249
  color: #98aa36;
1250
  width: 14px;
@@ -1256,7 +1427,7 @@ YITH UI
1256
  margin-top: 5px;
1257
  }
1258
 
1259
- .yith-plugin-ui .yith-plugin-fw-onoff-container input + span{
1260
  text-indent: 0;
1261
  }
1262
 
@@ -1265,48 +1436,78 @@ YITH UI
1265
  DATEPICKER
1266
  */
1267
  .yith-plugin-ui div#ui-datepicker-div,
1268
- .yith-plugin-fw-panel div#ui-datepicker-div {
1269
  border: 0;
1270
- box-shadow:0 2px 4px 0 rgba(0,0,0,0.12),0 2px 10px 0 rgba(0,0,0,0.12) !important;
1271
  }
1272
 
1273
  .yith-plugin-ui .ui-datepicker-header.ui-widget-header,
1274
  .yith-plugin-fw-panel .ui-datepicker-header.ui-widget-header {
1275
- background:#4e8ba2;
1276
  color: #fff;
1277
  font-size: 11px;
1278
  line-height: 25px;
1279
- border:0;
1280
  min-height: 25px;
1281
  }
 
1282
  .yith-plugin-ui .ui-datepicker-title,
1283
- .yith-plugin-fw-panel .ui-datepicker-title{
1284
  line-height: 25px;
1285
  }
 
1286
  .yith-plugin-ui .ui-datepicker th,
1287
- .yith-plugin-fw-panel .ui-datepicker th{
1288
  color: #716269;
1289
  }
 
1290
  .yith-plugin-ui .ui-widget-header .ui-icon,
1291
  .yith-plugin-ui .ui-widget-header .ui-state-hover,
1292
- .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1293
- .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1294
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w,
1295
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e,
1296
  .yith-plugin-fw-panel .ui-widget-header .ui-icon,
1297
  .yith-plugin-fw-panel .ui-widget-header .ui-state-hover,
1298
- .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1299
- .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1300
  .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-w,
1301
- .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e{
1302
  background: none;
1303
  content: "";
1304
  border: 0;
1305
  text-indent: 0;
1306
- width:15px;
1307
  height: 20px;
1308
- display:block;
1309
- overflow:hidden;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1310
  }
1311
 
1312
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w:before,
@@ -1316,9 +1517,10 @@ DATEPICKER
1316
  font-family: 'yith-icon';
1317
  font-size: 12px;
1318
  font-weight: normal;
1319
- width:15px;
1320
- display:block;
1321
  }
 
1322
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e:before,
1323
  .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e:before {
1324
  content: "\e902";
@@ -1327,37 +1529,39 @@ DATEPICKER
1327
  font-family: 'yith-icon';
1328
  font-size: 12px;
1329
  font-weight: normal;
1330
- width:15px;
1331
- display:block;
1332
  }
1333
 
1334
  /* arrow */
1335
- .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1336
- .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1337
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1338
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-next-hover,
1339
- .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1340
- .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1341
  .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover,
1342
- .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-next-hover{
1343
  top: 1px;
1344
  cursor: pointer;
1345
  }
 
1346
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev,
1347
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1348
  .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev,
1349
- .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover{
1350
  left: 5px;
1351
  }
 
1352
  .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1353
  .yith-plugin-ui .ui-datepicker-next.ui-datepicker-next-hover,
1354
  .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1355
- .yith-plugin-fw-panel .ui-datepicker-next.ui-datepicker-next-hover{
1356
  right: 1px;
1357
  }
1358
 
1359
- .yith-plugin-ui .ui-datepicker table,
1360
- .yith-plugin-fw-panel .ui-datepicker table{
1361
  font-size: 10px;
1362
  }
1363
 
@@ -1366,11 +1570,12 @@ DATEPICKER
1366
  .yith-plugin-ui .ui-widget-header .ui-state-default,
1367
  .yith-plugin-fw-panel .ui-state-default,
1368
  .yith-plugin-fw-panel .ui-widget-content .ui-state-default,
1369
- .yith-plugin-fw-panel .ui-widget-header .ui-state-default{
1370
- background:#fff;
1371
  border: 1px solid #d9d9d9;
1372
 
1373
  }
 
1374
  .yith-plugin-ui .ui-state-hover,
1375
  .yith-plugin-ui .ui-widget-content .ui-state-hover,
1376
  .yith-plugin-ui a.ui-state-default:focus,
@@ -1380,12 +1585,13 @@ DATEPICKER
1380
  .yith-plugin-fw-panel .ui-widget-content .ui-state-hover,
1381
  .yith-plugin-fw-panel a.ui-state-default:focus,
1382
  .yith-plugin-fw-panel .ui-widget-content .ui-state-focus,
1383
- .yith-plugin-fw-panel .ui-widget-header .ui-state-focus{
1384
- background:#ebf1f3;
1385
- border:1px solid #bfd5dd;
1386
  outline: none;
1387
  box-shadow: none;
1388
  }
 
1389
  .yith-plugin-ui .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus,
1390
  .yith-plugin-fw-panel .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus {
1391
  background: none;
@@ -1393,31 +1599,50 @@ DATEPICKER
1393
  }
1394
 
1395
  /** colorpicker **/
 
 
 
 
1396
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .iris-picker,
1397
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-holder {
1398
  display: none !important;
1399
  }
1400
- .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap {
1401
- display: inline !important;
 
 
 
1402
  }
 
1403
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-active .iris-picker,
1404
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-active .wp-picker-holder {
1405
  display: block !important;
1406
  }
1407
- .woocommerce .yith-plugin-ui .iris-picker{
1408
- border:0;
 
1409
  margin-top: 20px;
1410
  }
 
1411
  .yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
1412
- border:0;
1413
  padding: 2px 5px;
1414
- height:30px;
1415
  }
1416
- .yith-plugin-ui .wp-color-result-text{
 
1417
  display: none;
1418
  }
1419
 
1420
  .yith-plugin-ui .wp-picker-container .wp-color-result.button{
 
 
 
 
 
 
 
 
1421
  width: 30px;
1422
  height: 30px;
1423
  border: 0;
@@ -1427,7 +1652,8 @@ DATEPICKER
1427
  display: inline-block;
1428
  vertical-align: middle;
1429
  }
1430
- .yith-plugin-ui .wp-picker-default-custom{
 
1431
  cursor: pointer;
1432
  width: 25px;
1433
  padding: 0 5px;
@@ -1435,6 +1661,7 @@ DATEPICKER
1435
  vertical-align: middle;
1436
  position: relative;
1437
  }
 
1438
  .yith-plugin-ui .wp-picker-default-custom input.button {
1439
  opacity: 0;
1440
  margin: 0;
@@ -1446,20 +1673,22 @@ DATEPICKER
1446
  bottom: 0;
1447
  z-index: 2;
1448
  }
1449
- .yith-plugin-ui .wp-picker-default-custom:before{
 
1450
  content: "\e910";
1451
  text-indent: 0;
1452
  font-family: 'yith-icon';
1453
  font-size: 20px;
1454
  color: #d8d8d8;
1455
  font-weight: normal;
1456
- width:15px;
1457
- display:block;
1458
  background: none;
1459
  line-height: 20px;
1460
  margin-left: 8px;
1461
  }
1462
- .yith-plugin-ui .wp-picker-container{
 
1463
  width: auto;
1464
  display: inline-block;
1465
  border: 1px solid #d9d9d9;
@@ -1467,26 +1696,26 @@ DATEPICKER
1467
  padding: 5px;
1468
  }
1469
 
1470
- .yith-plugin-ui .iris-picker .iris-square-inner{
1471
  box-shadow: none;
1472
  border: 1px solid #d9d9d9;
1473
  }
1474
 
1475
- .yith-plugin-ui .yith-single-colorpicker{
1476
  display: inline-block;
1477
  width: 220px;
1478
  }
1479
 
1480
- .yith-plugin-ui .yith-single-colorpicker > label{
1481
  display: block;
1482
  font-size: 11px;
1483
  font-weight: 600;
1484
- margin-bottom: 10px;
1485
  }
1486
 
1487
  /* RANGE SLIDER */
1488
- .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle{
1489
- top: -45px!important;
1490
  }
1491
 
1492
  .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle {
@@ -1508,6 +1737,7 @@ DATEPICKER
1508
  transition: opacity .3s ease-in-out 0s;
1509
  box-shadow: 0px 1px 7px 0px rgba(1, 1, 1, 0.13);
1510
  }
 
1511
  .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:before {
1512
  position: absolute;
1513
  bottom: -3px;
@@ -1522,10 +1752,12 @@ DATEPICKER
1522
  -ms-transform: rotate(-45deg);
1523
  transform: rotate(-45deg);
1524
  }
1525
- .yith-plugin-ui .ui-slider.ui-widget-content .ui-widget-header{
1526
- background: #4e8ba2 ;
 
1527
  }
1528
- .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:after{
 
1529
  content: '';
1530
  width: 17px;
1531
  height: 17px;
@@ -1536,12 +1768,13 @@ DATEPICKER
1536
  border-radius: 50%;
1537
  box-shadow: 0px 1px 6px 0px rgba(1, 1, 1, 0.25);
1538
  }
1539
- .yith-plugin-ui .ui-slider.ui-widget-content{
 
1540
  height: 5px !important;
1541
  }
1542
 
1543
- .yith-plugin-ui .ui-slider .minCaption,
1544
- .yith-plugin-ui .ui-slider .maxCaption {
1545
  font-weight: 700;
1546
  font-size: 12px;
1547
  }
@@ -1549,60 +1782,78 @@ DATEPICKER
1549
 
1550
  /* ADD_BOX AND TOGGLE */
1551
  .yith-plugin-ui .yith-add-box,
1552
- .yith-plugin-ui .yith-toggle-row{
1553
- width:70%;
1554
  border: 1px solid #d9d9d9;
1555
- box-shadow:none;
1556
  border-radius: 4px;
1557
  margin: 20px 0;
1558
  padding: 10px;
1559
  box-sizing: border-box;
1560
  background: white;
1561
  }
1562
- .yith-plugin-ui .yith-toggle-row{
 
1563
  cursor: pointer;
 
1564
  }
1565
- .yith-plugin-ui .yith-add-box{
1566
- padding: 30px 25px;
 
 
 
 
 
 
 
 
 
1567
  display: none;
1568
  }
1569
- .yith-plugin-ui .yith-toggle-title{
 
1570
  position: relative;
1571
  }
 
1572
  .yith-plugin-ui #plugin-fw-wc .yith-toggle-title h3,
1573
- .yith-plugin-ui .yith-toggle-title h3{
 
1574
  padding: 0px 20px 0px 25px;
1575
- margin: 0;
1576
- margin-top: 4px;
1577
  display: inline-block;
1578
  position: relative;
1579
  min-width: 173px;
1580
  box-sizing: border-box;
1581
  font-weight: 600;
1582
  font-size: 15px;
 
 
1583
  }
1584
 
1585
- .yith-plugin-ui .yith-toggle-title .subtitle{
1586
  padding-left: 0;
1587
- padding-top:8px;
1588
  font-size: 12px;
1589
  }
1590
 
1591
- .yith-plugin-ui .yith-toggle{
1592
  position: absolute;
1593
  width: 30px;
1594
- height: 30px;
1595
- display: block;
1596
  cursor: pointer;
1597
- left: 0px;
1598
- top: 4px;
1599
  bottom: 0;
 
 
 
1600
  }
1601
- .yith-plugin-ui .yith-toggle > span:before{
 
1602
  color: #405e69;
1603
  }
1604
 
1605
- .yith-plugin-ui .yith-toggle > span{
1606
  position: absolute;
1607
  right: 50%;
1608
  transition: transform .3s;
@@ -1610,133 +1861,170 @@ DATEPICKER
1610
  }
1611
 
1612
 
1613
- .yith-plugin-ui .yith-toggle-row-opened .yith-toggle span{
1614
- transform: rotateZ(90deg);
1615
  }
1616
 
1617
- .yith-plugin-ui .yith-toggle-content{
1618
  display: none;
1619
  position: relative;
1620
  padding: 30px 25px;
1621
  }
1622
- .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content{
 
1623
  /* display: block;*/
1624
  }
 
1625
  .yith-plugin-ui .yith-add-box-row,
1626
- .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row{
1627
  display: table;
1628
- margin-bottom: 20px;
1629
  }
 
1630
  .yith-plugin-ui .yith-add-box-row label,
1631
- .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row label{
1632
  display: table-cell;
1633
- width: 250px;
1634
- padding-right:40px;
1635
  color: #33373b;
1636
- font-size: 15px;
1637
  vertical-align: top;
1638
  font-weight: 600;
1639
  }
1640
-
 
 
1641
  .yith-plugin-ui .yith-add-box-row .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper),
1642
- .yith-plugin-ui .yith-toggle-row-opened .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper) {
1643
- /* display: table-cell;*/
1644
  width: auto;
1645
  float: none;
1646
  vertical-align: middle;
1647
  position: relative;
1648
  }
 
1649
  .yith-plugin-ui .yith-add-box-row span.yith-icon,
1650
- .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row span.yith-icon{
1651
  position: absolute;
1652
  right: 15px;
1653
  top: 0;
1654
  bottom: 0;
1655
  }
 
1656
  .yith-plugin-ui .yith-add-box-buttons,
1657
- .yith-plugin-ui .yith-toggle-content-buttons{
1658
  text-align: right;
1659
  }
 
1660
  .yith-plugin-ui .yith-toggle-onoff {
1661
  position: absolute;
1662
  cursor: pointer;
1663
  right: 0;
1664
  }
1665
- .yith-plugin-ui .ui-sortable .yith-toggle-onoff{
 
1666
  right: 30px;
1667
  }
1668
- .yith-plugin-ui .yith-toggle-row .icon-drag{
 
1669
  position: absolute;
1670
  right: 0;
1671
  top: 25%;
1672
  bottom: 0;
1673
  line-height: 1;
1674
  }
1675
- .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle{
1676
- top: auto;
1677
- }
1678
- .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle-onoff{
1679
  top: 25%;
1680
  }
1681
 
1682
  /** SPINNER **/
1683
- .yith-plugin-ui .spinner{
1684
  vertical-align: -5px;
1685
  float: none;
1686
  }
1687
 
1688
- .yith-plugin-ui .spinner.show{
1689
  visibility: visible;
1690
  }
1691
 
1692
  /* LIST TABLE */
1693
- .yith-plugin-ui .form-table .list-table td{
1694
  padding: 15px 0px;
1695
  }
1696
- .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table .bulkactions select{
 
1697
  border: 1px solid #d8d8d8;
1698
  max-width: 200px;
1699
  max-height: 30px;
1700
  padding: 0 10px;
 
1701
  }
1702
- .yith-plugin-ui .form-table .list-table th{
 
1703
  width: initial;
1704
  }
1705
 
1706
- .yith-plugin-ui #plugin-fw-wc table.form-table th.check-column{
1707
- padding-left: 3px;
1708
- }
1709
- .yith-plugin-ui #plugin-fw-wc table.wp-list-table tbody td{
1710
  padding-left: 20px;
1711
  }
1712
- .yith-plugin-ui .yith-plugin-fw-list-table h2{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1713
  border: 0;
1714
  padding: 35px 0 15px;
1715
  display: inline-block;
1716
  margin-right: 10px;
1717
  }
1718
- .yith-plugin-ui .form-table .yith-plugin-fw-list-table table th{
 
1719
  vertical-align: middle;
1720
  }
1721
- .yith-plugin-ui .yith-plugin-fw-list-table-container{
 
1722
  padding: 0 20px;
1723
  }
1724
- .yith-plugin-ui #doaction, .yith-plugin-ui #doaction2, .yith-plugin-ui #post-query-submit{
1725
- margin-left: 10px;
 
 
 
 
1726
  height: 33px;
 
 
1727
  }
1728
- .yith-plugin-ui .bulkactions{
 
1729
  margin: 10px 0;
1730
  }
1731
- .yith-plugin-ui .form-table td p.yith-section-description{
1732
- color:#716269;
 
1733
  margin-bottom: 20px;
1734
  }
1735
 
1736
  /** Time picker width*/
1737
  .yith-plugin-ui input.ui-timepicker-input {
1738
- width: 100px!important;
1739
  }
 
1740
  /** date format **/
1741
  .yith-plugin-ui .yith-plugin-fw-date-format code {
1742
  margin-left: 30px;
@@ -1753,7 +2041,7 @@ DATEPICKER
1753
  float: left;
1754
  }
1755
 
1756
- .yith-plugin-ui td.forminp-checkbox.two-cols fieldset:nth-child(2n+1){
1757
  clear: both;
1758
  }
1759
 
@@ -1763,49 +2051,54 @@ DATEPICKER
1763
  float: left;
1764
  }
1765
 
1766
- .yith-plugin-ui td.forminp-checkbox.three-cols fieldset:nth-child(3n+1){
1767
  clear: both;
1768
  }
1769
 
1770
-
1771
  .yith-plugin-fw-checkbox-field-wrapper {
1772
  display: inline-block !important;
1773
- width: 19px !important;
1774
- margin-right: 10px;
1775
  }
 
1776
  .yith-plugin-fw-checkbox-field-wrapper + span.description {
1777
  display: inline-block;
1778
  vertical-align: middle;
1779
  margin: 0;
1780
  }
 
1781
  .yith-plugin-ui span.description {
1782
  margin-top: 10px;
 
1783
  }
 
1784
  .yith-plugin-fw-option-with-description {
1785
  display: table-cell;
1786
  width: auto;
1787
  vertical-align: top;
1788
  }
 
1789
  /** YITH PANEL **/
1790
- .yith-plugin-ui #yith-plugin-fw-panel{
1791
  margin-top: -10px;
1792
  }
1793
- .yith-plugin-ui #plugin-fw-wc, .yith-plugin-ui #yith-plugin-fw-panel{
 
1794
  padding-top: 0;
1795
  }
1796
- .yith-plugin-ui .plugin-option tr{
 
1797
  border: 0;
1798
  }
1799
 
1800
- @media screen and (max-width: 1440px){
1801
  .yith-plugin-ui .yith-add-box,
1802
- .yith-plugin-ui .yith-toggle-row{
1803
  width: 80%;
1804
  }
1805
  }
1806
- @media screen and (max-width: 1024px){
 
1807
  .yith-plugin-ui .yith-add-box,
1808
- .yith-plugin-ui .yith-toggle-row{
1809
  width: 90%;
1810
  }
1811
 
@@ -1821,40 +2114,44 @@ DATEPICKER
1821
  float: left;
1822
  }
1823
 
1824
- .yith-plugin-ui td.forminp-checkbox.two-cols fieldset:nth-child(2n+1){
1825
  clear: both;
1826
  }
1827
 
1828
- .yith-plugin-ui td.forminp-checkbox.three-cols fieldset:nth-child(3n+1){
1829
  clear: initial;
1830
  }
1831
  }
1832
- @media screen and (max-width: 782px){
1833
- .yith-plugin-fw-banner.yith-plugin-fw-banner-free{
 
1834
  height: auto;
1835
  background-color: #a9c7d3;
1836
  }
1837
- .yith-plugin-fw-banner.yith-plugin-fw-banner-free ul{
 
1838
  width: 90%;
1839
  text-align: center;
1840
  }
1841
- .yith-plugin-fw-banner.yith-plugin-fw-banner-free li img{
 
1842
  width: 90%;
1843
  margin: 0 auto;
1844
  }
1845
- .yith-plugin-fw-banner h1{
 
1846
  line-height: 1.2em;
1847
  }
1848
 
1849
  .yith-plugin-ui .yith-add-box,
1850
- .yith-plugin-ui .yith-toggle-row{
1851
  width: 100%;
1852
  }
1853
 
1854
  .yith-plugin-ui td.forminp-checkbox.two-cols fieldset,
1855
- .yith-plugin-ui td.forminp-checkbox.three-cols fieldset{
1856
  width: 100%;
1857
  clear: initial;
1858
  }
1859
 
1860
- }
1
  .yith-plugin-fw span.description {
2
+ display: block;
3
+ margin-top: 5px;
4
+ font-size: 12px;
5
+ color: #777;
6
+ font-style: italic;
7
+ clear: both;
8
  }
9
 
10
  .yith-plugin-fw span.description.inline {
11
+ display: inline-block;
12
+ margin: 0 0 0 5px;
13
  }
14
 
15
  .yith-disabled {
16
+ opacity: 0.3;
17
+ pointer-events: none;
18
  }
19
 
20
  .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper) {
21
+ display: block;
22
+ width: 100%;
23
  }
24
 
25
  .yith-plugin-fw-field-wrapper span.desc {
26
+ display: block;
27
+ width: 100%;
28
  }
29
 
30
  .yith-plugin-fw-title-field-wrapper h3.title {
31
+ width: 100%;
32
  }
33
 
34
  .the-metabox .yith-plugin-fw-title-field-wrapper h3.title {
35
+ float: left;
36
  }
37
 
38
+ .yith-plugin-fw span.color-alpha {
39
+ height: 23px!important;
40
+ }
41
+ .yith-plugin-fw .wp-color-result-text{
42
+ height: 100%;
43
+ }
44
  .yith-plugin-fw input[type=email],
45
  .yith-plugin-fw input[type=number],
46
  .yith-plugin-fw input[type=text]:not(.select2-search__field),
47
  .yith-plugin-fw select,
48
  .woocommerce .yith-plugin-fw table.form-table input[type=email],
49
  .woocommerce .yith-plugin-fw table.form-table input[type=number],
50
+ .yith-plugin-ui input[type=password],
51
  .woocommerce .yith-plugin-fw table.form-table input[type=text]:not(.select2-search__field),
52
  .woocommerce .yith-plugin-fw table.form-table select {
53
+ width: 400px;
54
+ max-width: 100%;
55
+ height: 30px;
56
+ padding: 5px;
57
+ line-height: 1;
58
  }
59
 
60
  .woocommerce .yith-plugin-fw table.form-table input[type=text].wp-color-picker,
61
  .woocommerce .yith-plugin-fw table.form-table input[type=text].yith-plugin-fw-colorpicker,
62
  .yith-plugin-fw input[type=text].wp-color-picker,
63
  .yith-plugin-fw input[type=text].yith-plugin-fw-colorpicker {
64
+ width: 6em;
65
+ max-width: none;
66
+ height: auto;
67
+ padding: 3px 5px;
68
+ }
69
+
70
+ .wp-core-ui .yith-plugin-fw-colorpicker-field-wrapper button{
71
+ border-color: #7e8993;
72
  }
73
 
74
  .woocommerce .yith-plugin-fw table.form-table input[type=text].colorpick,
75
  .yith-plugin-fw input[type=text].colorpick {
76
+ width: 6em;
77
+ max-width: none;
78
+ height: auto;
79
+ padding: 6px;
80
  }
81
 
82
  .yith-plugin-fw input.select2-search__field,
83
  .yith-plugin-fw .select2-container .select2-search--inline .select2-search__field,
84
  .woocommerce .yith-plugin-fw input.select2-search__field,
85
  .woocommerce .yith-plugin-fw table.form-table input.select2-search__field {
86
+ padding: 3px;
87
+ }
88
+
89
+ .yith-plugin-fw .select2-container .select2-selection--single .select2-selection__rendered {
90
+ line-height: 27px;
91
  }
92
 
93
  .yith-plugin-fw textarea {
94
+ width: 400px;
95
+ max-width: 100%;
96
+ padding: 5px;
97
  }
98
 
99
  /* ------------- ICONS ------------- */
100
  .yit-icons-manager-wrapper {
101
+ width: 100%;
102
+ max-width: 400px;
103
  }
104
 
105
  .yit-icons-manager-text {
106
+ width: 100%;
107
  }
108
 
109
  .yit-icons-manager-icon-text {
110
+ width: calc(100% - 35px) !important;
111
+ height: 30px;
112
+ float: left;
113
+ margin: 0;
114
  }
115
 
116
  .yit-icons-manager-icon-preview {
117
+ width: 30px;
118
+ height: 30px;
119
+ margin-right: 5px;
120
+ float: left;
121
+ padding-top: 6px;
122
+ box-sizing: border-box;
123
+ text-align: center;
124
+ background: #f1f1f1;
125
  }
126
 
127
  .yit-icons-manager-list-wrapper {
128
+ margin: 10px 0;
129
+ box-shadow: 0 0 0 1px #ddd;
130
  }
131
 
132
  ul.yit-icons-manager-list {
133
+ width: 100%;
134
+ height: 300px;
135
+ overflow-y: scroll;
136
+ margin: 0;
137
  }
138
 
139
  ul.yit-icons-manager-list li {
140
+ float: left;
141
+ width: 30px;
142
+ height: 30px;
143
+ padding-top: 6px;
144
+ box-sizing: border-box;
145
+ text-align: center;
146
+ background: #f1f1f1;
147
+ margin: 1px;
148
+ cursor: pointer;
149
  }
150
 
151
  ul.yit-icons-manager-list li:hover {
152
+ background: #c5dcf6;
153
  }
154
 
155
  ul.yit-icons-manager-list li.active {
156
+ background: #d4f0ff;
157
  }
158
 
159
  .yit-icons-manager-action-set-default {
160
+ margin-bottom: 0;
161
  }
162
 
163
  .yit-icons-manager-default-icon-preview {
164
+ height: 100%;
165
+ display: inline-block;
166
+ padding-left: 10px;
167
+ border-left: 1px solid #ccc;
168
+ margin-left: 10px;
169
  }
170
 
171
  /* ------- Text Array ------- */
172
  .yith-plugin-fw-text-array-table td {
173
+ padding: 1px;
174
  }
175
 
176
  .yith-plugin-fw-text-array-table input[type=text],
177
  .woocommerce table.form-table table.yith-plugin-fw-text-array-table input[type=text] {
178
+ width: 100%;
179
  }
180
 
181
  /* ------- Image Gallery ------- */
182
  .yith-plugin-fw .image-gallery ul li {
183
+ display: inline-block;
184
+ width: 80px;
185
+ margin-left: 10px;
186
+ position: relative;
187
  }
188
 
189
  .yith-plugin-fw .image-gallery ul li img {
190
+ width: 80px;
191
+ border: 1px solid #ccc;
192
  }
193
 
194
  .yith-plugin-fw .image-gallery ul li ul {
195
+ position: absolute;
196
+ top: -6px;
197
+ right: -1px;
198
+ width: 20px;
199
+ height: 20px;
200
  }
201
 
202
  .yith-plugin-fw .image-gallery ul a.delete {
203
+ background: url(../images/x.png) no-repeat;
204
+ width: 20px;
205
+ height: 20px;
206
+ display: block;
207
+ text-indent: -99999px;
208
  }
209
 
210
  /* ------- OnOff ------- */
211
  .yith-plugin-fw-onoff-container {
212
+ display: inline-block;
213
  }
214
 
215
  .yith-plugin-fw-onoff-container input {
216
+ display: none;
217
  }
218
 
219
  .yith-plugin-fw-onoff-container input + span {
231
 
232
 
233
  .yith-plugin-fw-onoff-container input + span:before {
234
+ content: '';
235
+ background: #fff;
236
+ width: 16px;
237
+ height: 16px;
238
+ border-radius: 50%;
239
+ position: absolute;
240
+ top: 2px;
241
+ left: 2px;
242
+ transition: all 0.3s;
243
  }
244
 
245
  .yith-plugin-fw-onoff-container input:checked + span,
246
  .yith-plugin-fw-onoff-container input.onoffchecked + span {
247
+ background: #0073aa;
248
  }
249
 
250
  .yith-plugin-fw-onoff-container input:checked + span:before,
251
  .yith-plugin-fw-onoff-container input.onoffchecked + span:before {
252
+ left: 18px;
253
  }
254
 
255
  /* ------- Preview ------- */
256
  .yith-plugin-fw-preview-field {
257
+ max-height: 200px;
258
  }
259
 
260
  /* ------- Radio ------- */
261
  .yith-plugin-fw-radio input[type=radio] {
262
+ margin: 0 3px 0 0;
263
  }
264
 
265
  .yith-plugin-fw-radio__row {
266
+ margin-bottom: 8px;
267
  }
268
 
269
  /* ------- Sidebar Layout ------- */
270
  .yith-plugin-fw-sidebar-layout input[type="radio"] {
271
+ display: none;
272
+ width: 0px;
273
  }
274
 
275
  .yith-plugin-fw-sidebar-layout input[type="radio"]:first-child {
276
+ margin-right: -2px;
277
  }
278
 
279
  .yith-plugin-fw-sidebar-layout input[type="radio"] + img {
280
+ border: 2px solid #fff;
281
+ padding: 1px;
282
  }
283
 
284
  .yith-plugin-fw-sidebar-layout input[type="radio"] + img:hover {
285
+ cursor: pointer;
286
  }
287
 
288
  .yith-plugin-fw-sidebar-layout input[checked] + img {
289
+ border: 2px solid #f2ad35;
290
+ padding: 1px;
291
  }
292
 
293
  .yith-plugin-fw-sidebar-layout select {
294
+ vertical-align: 12px;
295
  }
296
 
297
  .yit-admin-panel-content-wrap .yith-plugin-fw-sidebar-layout label {
298
+ font-weight: bold;
299
+ width: 200px;
300
+ float: left;
301
+ line-height: 23px;
302
+ margin-left: -230px;
303
  }
304
 
305
  /* ------- Slider ------- */
306
  .yith-plugin-fw .slider {
307
+ padding-top: 20px;
308
  }
309
 
310
  .ui-slider .minCaption {
311
+ position: absolute;
312
+ right: 95%;
313
+ top: -6px;
314
+ margin-right: 11px;
315
  }
316
 
317
  .ui-slider .maxCaption {
318
+ position: absolute;
319
+ left: 95%;
320
+ top: -6px;
321
+ margin-left: 20px;
322
  }
323
 
324
  .ui-slider-horizontal .ui-slider-handle {
325
+ background: #fff;
326
+ border: 0px !important;
327
+ top: -12px !important;
328
+ border-radius: 50%;
329
+ width: 27px !important;
330
+ height: 27px !important;
331
+ box-sizing: border-box;
332
+ box-shadow: 0 1px 7px -1px rgba(0, 0, 0, 0.5);
333
+ font-size: 13px;
334
+ padding: 6px 0;
335
+ font-weight: 600;
336
+ color: #555;
337
+ text-align: center;
338
  }
339
 
340
  .ui-slider.ui-widget-content {
341
+ background: #ccc;
342
+ border: none !important;
343
+ height: 3px !important;
344
+ border-radius: 3px !important;
345
+ width: 90%;
346
+ margin: 15px 5% 20px 5%;
347
  }
348
 
349
  .iris-slider-offset.ui-slider.ui-widget-content {
350
+ background: transparent !important;
351
+ height: auto !important;
352
  }
353
 
354
  .ui-slider.ui-widget-content .ui-widget-header {
355
+ background: #4b93ff;
356
+ left: 0px !important;
357
+ -webkit-border-radius: 3px;
358
+ -moz-border-radius: 3px;
359
+ -khtml-border-radius: 3px;
360
+ border-radius: 3px;
361
  }
362
 
363
  /* ------- Select2 ------- */
364
  .yith-plugin-fw-select2-wrapper {
365
+ width: 400px;
366
  }
367
 
368
  /* ------- Textarea ------- */
369
  .yith-plugin-fw-textarea-editor-field-wrapper {
370
+ max-width: 1000px;
371
+ clear: both;
372
  }
373
 
374
  .yith-plugin-fw-textarea-editor-field-wrapper textarea.wp-editor-area,
375
  .woocommerce table.form-table .yith-plugin-fw-textarea-editor-field-wrapper textarea.wp-editor-area {
376
+ width: 100%;
377
  }
378
 
379
  /* ------- Buttons ------- */
380
  .yith-plugin-fw-buttons-field-wrapper {
381
+ margin-top: 7px;
382
  }
383
 
384
  /* ------- Select Images ------- */
385
  .yith-plugin-fw-select-images__list {
386
+ margin: 0;
387
+ display: flex;
388
+ flex-wrap: wrap;
389
  }
390
 
391
  .yith-plugin-fw-select-images__item {
392
+ width: calc(20% - 10px);
393
+ min-width: 150px;
394
+ margin: 0 10px 10px 0;
395
+ padding: 10px;
396
+ box-sizing: border-box;
397
+ cursor: pointer;
398
+ transition: all .3s;
399
+ border: 2px solid #eee;
400
+ display: flex;
401
+ flex-direction: column;
402
+ justify-content: space-between;
403
  }
404
 
405
  .yith-plugin-fw-select-images__item:hover,
406
  .yith-plugin-fw-select-images__item.yith-plugin-fw-select-images__item--selected {
407
+ border-color: #07bcce;
408
  }
409
 
410
  .yith-plugin-fw-select-images__item__label {
411
+ text-align: center;
412
+ font-weight: 600;
413
+ margin-bottom: 10px;
414
  }
415
 
416
  .yith-plugin-fw-select-images__item img {
417
+ display: block;
418
+ max-width: 100%;
419
+ margin: 0 auto;
420
+ }
421
+
422
+ /****************
423
+ WordPress 5.3 with old panel fixes
424
+ ****************/
425
+ .yith-plugin-fw-field-wrapper .select2-container .select2-selection--single {
426
+ height: auto;
427
+ line-height: 1;
428
+ }
429
+
430
+ .yith-plugin-fw-field-wrapper .select2-container .select2-selection--single .select2-selection__arrow{
431
+ height: 100%;
432
  }
433
 
434
  /****************
436
  ****************/
437
  @font-face {
438
  font-family: 'yith-icon';
439
+ src: url('../fonts/yith-icon.eot?7ik896');
440
+ src: url('../fonts/yith-icon.eot?7ik896#iefix') format('embedded-opentype'),
441
  url('../fonts/yith-icon.ttf?7ik896') format('truetype'),
442
  url('../fonts/yith-icon.woff?7ik896') format('woff'),
443
  url('../fonts/yith-icon.svg?7ik896#yith-icon') format('svg');
445
  font-style: normal;
446
  }
447
 
448
+ [class^="icon-"], [class*=" icon-"][class^="yith-icon-"], [class*=" yith-icon-"] {
449
  /* use !important to prevent issues with browser extensions that change fonts */
450
  font-family: 'yith-icon' !important;
451
  speak: none;
459
  -webkit-font-smoothing: antialiased;
460
  -moz-osx-font-smoothing: grayscale;
461
  }
462
+
463
+ .yith-icon-calendar_add:before {
464
+ content: "\e913";
465
+ color: #757575;
466
+ }
467
+
468
+ .yith-icon-calendar_money:before {
469
+ content: "\e914";
470
+ color: #757575;
471
+ }
472
+
473
+ .yith-icon-calendar2:before {
474
+ content: "\e915";
475
+ color: #757575;
476
+ }
477
+
478
+ .yith-icon-people:before {
479
+ content: "\e916";
480
+ color: #757575;
481
+ }
482
+
483
+ .yith-icon-shield_money:before {
484
+ content: "\e917";
485
+ color: #757575;
486
+ }
487
+
488
+ .yith-icon-time_check:before {
489
+ content: "\e918";
490
+ color: #757575;
491
+ }
492
+
493
+ .yith-icon-world_settings:before {
494
+ content: "\e919";
495
+ color: #757575;
496
+ }
497
+
498
+ .yith-icon-arrow_eye_closed:before {
499
+ content: "\e912";
500
+ color: #757575;
501
+ }
502
+
503
+ .yith-icon-arrow_eye:before {
504
+ content: "\e911";
505
+ color: #757575;
506
+ }
507
+
508
+ .yith-icon-reset:before {
509
+ content: "\e910";
510
+ color: #757575;
511
+ }
512
+
513
+ .yith-icon-drag:before {
514
  content: "\e90f";
515
+ color: #757575;
516
+ }
517
+
518
+ .yith-icon-trash:before {
519
+ content: "\e90d";
520
+ color: #757575;
521
+ }
522
+
523
+ .yith-icon-info:before {
524
+ content: "\e90e";
525
+ color: #757575;
526
  }
527
+
528
+ .yith-icon-arrow_down:before {
529
  content: "\e900";
530
+ color: #757575;
531
  }
532
+
533
+ .yith-icon-arrow_left:before {
534
  content: "\e901";
535
+ color: #757575;
536
  }
537
+
538
+ .yith-icon-arrow_right:before {
539
  content: "\e902";
540
+ color: #757575;
541
  }
542
+
543
+ .yith-icon-arrow_up:before {
544
  content: "\e903";
545
+ color: #757575;
546
  }
547
+
548
+ .yith-icon-calendar:before {
549
  content: "\e904";
550
+ color: #757575;
551
  }
552
+
553
+ .yith-icon-check:before {
554
  content: "\e905";
555
+ color: #757575;
556
  }
557
+
558
+ .yith-icon-close:before {
559
  content: "\e906";
560
+ color: #757575;
561
  }
562
+
563
+ .yith-icon-edit:before {
564
  content: "\e907";
565
+ color: #757575;
566
  }
567
+
568
+ .yith-icon-magnifier:before {
569
  content: "\e908";
570
+ color: #757575;
571
  }
572
+
573
+ .yith-icon-pencil:before {
574
  content: "\e909";
575
+ color: #757575;
576
  }
577
+
578
+ .yith-icon-plus:before {
579
  content: "\e90a";
580
+ color: #757575;
581
  }
582
+
583
+ .yith-icon-update:before {
584
  content: "\e90b";
585
+ color: #757575;
586
  }
587
+
588
+ .yith-icon-upload:before {
589
  content: "\e90c";
590
+ color: #757575;
 
 
 
 
 
 
 
 
 
 
 
 
591
  }
592
+
593
+ .yith-plugin-fw-banner {
594
  width: 100%;
595
  height: 75px;
596
  background: url('../images/banner-premium.png');
597
  }
598
+
599
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free {
600
  height: 290px;
601
  background: url('../images/banner-free.png') no-repeat;
602
  }
603
+
604
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free h1 {
605
  max-width: auto;
606
+ text-align: left;
607
  margin-left: 110px;
608
  padding-top: 15px;
609
  padding-bottom: 8px;
610
  }
611
 
612
+ .yith-plugin-fw-banner h1 {
613
  text-transform: uppercase;
614
  color: #0c5777;
615
  font-size: 15px;
620
  box-sizing: border-box;
621
  }
622
 
623
+ .yith-plugin-fw-banner span {
624
+ font-style: italic;
625
  display: block;
626
  font-size: 15px;
627
+ color: #214249;
628
+ text-transform: none;
629
  text-align: right;
630
  }
631
 
632
  .yith-plugin-fw-banner a,
633
+ .yith-plugin-fw-banner a:focus {
634
  text-decoration: none;
635
  outline: none;
636
  box-shadow: none;
637
  }
638
 
639
+ .yith-banners ul {
640
  list-style: none;
641
  margin-left: 10px;
642
  }
643
 
644
+ .yith-banners ul li {
645
  display: inline-block;
646
  margin-left: 10px;
647
  }
648
+
649
+ .yith-plugin-ui a {
650
  outline: none;
651
  box-shadow: none;
652
  }
653
 
654
+ .yith-plugin-ui {
655
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
656
  }
657
 
658
+ .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper {
659
+ margin-top: 10px;
660
  }
661
 
662
+ .yith-plugin-ui .nav-tab {
663
  margin-left: 0px;
664
  margin-right: 2px;
665
  background-color: #336374;
668
  padding: 7px 20px;
669
  border: 0;
670
  }
671
+
672
+ .yith-plugin-ui .nav-tab:first-child {
673
  border-left: 1px solid #d9d9d9;
674
  }
675
 
676
+ .yith-plugin-ui .nav-tab.yith-premium {
677
  background-color: #be421c;
678
  }
679
+
680
+ .yith-plugin-ui .nav-tab-active {
681
  background-color: #fff;
682
  color: #336374;
683
+ border-bottom: 1px solid #fff;
684
  }
685
+
686
+ .yith-plugin-ui .nav-tab-active.yith-premium {
687
  background-color: #fff;
688
  color: #be421c;
689
  }
690
+
691
+ .yith-plugin-ui #plugin-fw-wc {
692
  padding-top: 0px;
693
  }
694
 
695
+ .yith-plugin-ui .form-table td {
696
  padding: 15px 20px;
697
  }
698
 
699
+ .yith-plugin-ui.metaboxes-tab label {
700
  color: #33373b;
701
+ font-size: 14px;
702
+ margin-left: -248px;
703
  }
 
 
 
704
 
705
+ .yith-plugin-ui.metaboxes-tab .the-metabox {
706
+ margin: 40px 0 40px 290px;
707
+ margin-left: 264px;
708
  }
709
+
710
+ .yith-plugin-ui.metaboxes-tab label {
711
+ width: 200px;
712
  font-weight: 600;
713
  }
714
 
715
+ .yith-plugin-ui span.description {
716
  color: #716269;
717
  font-size: 14px;
718
  font-style: normal;
720
  margin-top: 15px;
721
  margin-left: 0;
722
  }
723
+
724
+ #wpwrap .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-ui h2.nav-tab-wrapper {
725
  border: 0;
726
+ border-bottom: 1px solid #ccc;
727
  margin-right: 15px;
728
+ margin-bottom: 0;
729
  background-color: transparent;
730
  padding-left: 0;
731
  }
732
+
733
  .yith-plugin-ui #plugin-fw-wc table.form-table,
734
  .yith-plugin-ui #yith-plugin-fw-panel table.form-table,
735
+ .yith-plugin-ui table.form-table {
736
  border: 1px solid #d8d8d8;
737
  border-top: 0;
738
  margin-bottom: 40px;
739
  }
740
 
741
+ .yith-plugin-ui #wpwrap h2.nav-tab-wrapper, .yith-plugin-ui #wpbody-content h2.nav-tab-wrapper {
742
  background-color: transparent;
743
  border: 0;
744
  text-transform: none;
755
  padding: 35px 20px;
756
  margin: 0px;
757
  }
758
+
759
+ .yith-plugin-ui .yith-plugin-fw-custom-tab h2 {
760
  border: 0px solid #d8d8d8;
761
  padding-left: 0;
762
  }
763
 
764
+ .yith-plugin-ui #plugin-fw-wc table.form-table th, #yith-plugin-fw-panel table.form-table th.titledesc, .yith-plugin-ui #plugin-fw-wc table.form-table td, #yith-plugin-fw-panel table.form-table td.forminp {
765
  padding: 30px 20px;
766
  }
767
 
774
  padding-bottom: 5px;
775
  }
776
 
777
+ .yith-plugin-ui #plugin-fw-wc h2 + div p, .yith-plugin-ui p.info-box {
778
  background: #f1f1f1;
779
  font-size: 14px;
780
  font-weight: 700;
781
  width: 40%;
782
+ display: block;
783
  padding: 15px;
784
  margin-bottom: 0;
785
  }
786
 
787
+ .yith-plugin-ui #plugin-fw-wc h2 + div p:before, .yith-plugin-ui p.info-box:before {
788
  content: "\e90e";
789
  font-family: yith-icon;
790
  font-size: 30px;
795
  margin-right: 15px;
796
  }
797
 
798
+ .yith-plugin-ui h2:first-child {
799
  border-top: 0;
800
  }
801
 
816
  .yith-plugin-ui input[type=text],
817
  .yith-plugin-ui input[type=email],
818
  .yith-plugin-ui input[type=password],
819
+ .yith-plugin-ui .search-box input[name="s"],
820
  .yith-plugin-fw.yith-plugin-ui input[type=text]:not(.select2-search__field),
821
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text]:not(.select2-search__field),
822
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table select,
823
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea,
824
+ .woocommerce .yith-plugin-fw table.form-table input[type=password],
825
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=number],
826
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text] {
827
  border: 1px solid #d8d8d8;
832
  box-shadow: none;
833
  color: #716269;
834
  }
835
+
836
  .yith-plugin-ui textarea,
837
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table textarea {
838
  height: auto;
839
  }
840
+
841
  .yith-plugin-ui table.form-table input[type=text].wp-color-picker,
842
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].wp-color-picker {
843
  border: 0;
844
  height: 30px;
845
+ max-width: 121px;
846
+ font-size: 11px;
847
+ padding: 0;
848
+
849
+ }
850
 
851
+ .yith-plugin-ui .search-box input[name="s"] {
852
+ height: 35px;
853
  }
854
 
855
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].small-text,
865
  }
866
 
867
  .yith-plugin-ui select:focus,
868
+ .yith-plugin-ui input:focus {
869
+ border-color: #a7d9ec !important;
870
  }
871
 
872
  .woocommerce .yith-plugin-ui table.form-table select,
873
+ .yith-plugin-ui select {
874
  -webkit-appearance: none;
875
  line-height: 1.2em;
876
  min-height: 35px;
877
  background: url("../images/arrow_down.svg") no-repeat right center;
878
  background-size: 35px 13px;
879
  border-radius: 8px;
880
+ padding-left: 10px;
881
  }
882
 
883
+ .yith-plugin-ui .form-table th {
884
+ width: 200px;
885
  padding-right: 50px;
886
  }
887
 
888
  /** BUTTONS **/
 
889
  .wp-core-ui .yith-plugin-ui .button-primary,
890
  .wp-core-ui .yith-plugin-ui .button-secondary,
891
  .yith-plugin-ui .yith-add-button,
913
  line-height: 26px;
914
  display: inline-block;
915
  text-decoration: none;
916
+ cursor: pointer;
917
  }
918
+
919
  .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
920
  .wp-core-ui .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button,
921
  .yith-plugin-ui .yith-plugin-fw-upload-button-reset,
922
  .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button-reset,
923
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button {
924
  height: 38px;
925
  }
926
 
930
  .yith-plugin-ui .yith-save-button:focus,
931
  .yith-plugin-ui .yith-edit-button:focus,
932
  .yith-plugin-ui .yith-update-button:focus,
933
+ .wp-core-ui .yith-plugin-ui .button-secondary:focus {
934
  outline: none;
935
  box-shadow: none;
936
  }
937
 
938
+ .wp-core-ui .yith-plugin-ui .button-xl {
939
+ padding: 0px 20px;
940
+ font-size: 14px;
941
+ line-height: 38px;
942
+ display: inline-block;
943
+ font-weight: 600;
944
+ }
945
+
946
  /** button with inside a span with icon class */
947
+ .yith-plugin-ui .button-secondary span.yith-icon {
948
  margin-left: 0px;
949
  margin-right: 10px;
950
  line-height: normal;
951
  }
952
 
953
+ .yith-plugin-ui .button-secondary span.yith-icon:before {
954
  color: #656565;
955
  font-size: 15px;
956
  }
957
 
958
+
959
  .wp-core-ui .yith-plugin-ui .button:focus,
960
  .wp-core-ui .yith-plugin-ui .button-secondary:focus,
961
  .yith-plugin-ui .yith-save-button:hover,
962
  .wp-core-ui .yith-plugin-ui .button-secondary:hover,
963
+ .yith-plugin-ui .yith-plugin-fw-upload-button-reset:hover {
964
  background-color: #cacaca;
965
  color: #515151;
966
  }
967
 
968
  .wp-core-ui .yith-plugin-ui .button-primary,
 
969
  .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all,
970
+ .yith-plugin-ui .button-secondary.yith-plugin-fw-upload-button {
971
  background-color: #007694;
972
  color: #fff;
973
  }
974
 
975
+
 
 
976
  .yith-plugin-ui .yith-add-button,
977
  .wp-core-ui .yith-plugin-ui .button-primary:focus,
978
+ .wp-core-ui .yith-plugin-ui .button-primary:hover {
979
  background-color: #375f6b;
980
  color: #fff;
981
+ cursor: pointer;
982
  }
983
 
984
 
986
  .wp-core-ui .yith-plugin-ui .yith-plugin-fw-upload-button:focus,
987
  .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:hover,
988
  .yith-plugin-ui .button-secondary.yith-plugin-fw-select-all:focus,
989
+ .yith-plugin-ui .yith-plugin-fw-upload-button:hover {
990
  border-color: #007694;
991
  background: #007694;
992
  color: #fff;
999
  .yith-plugin-ui .yith-save-button:before,
1000
  .yith-plugin-ui .yith-edit-button:before,
1001
  .yith-plugin-ui .yith-update-button:before,
1002
+ .yith-plugin-ui .button-secondary:before {
1003
  font-family: 'yith-icon';
1004
  font-size: 10px;
1005
  font-weight: 700;
1006
  margin-right: 10px;
1007
  vertical-align: bottom;
1008
+ display: inline-block;
1009
  }
1010
 
1011
  /** yith-edit-button **/
1013
  background-color: #7f9298;
1014
  color: #fff;
1015
  }
1016
+
1017
  .yith-plugin-ui .yith-edit-button:focus,
1018
  .yith-plugin-ui .yith-edit-button:hover {
1019
  background-color: #718085;
1020
  color: #fff;
1021
  }
1022
+
1023
+ .yith-plugin-ui .yith-edit-button:before {
1024
  content: "\e907";
1025
  }
1026
+
1027
  /** yith-update-button **/
1028
  .yith-plugin-ui .yith-update-button {
1029
  background-color: #94aa09;
1030
  color: #fff;
1031
  }
1032
+
1033
  .yith-plugin-ui .yith-update-button:focus,
1034
  .yith-plugin-ui .yith-update-button:hover {
1035
  background-color: #7a9009;
1036
  color: #fff;
1037
  }
1038
+
1039
+ .yith-plugin-ui .yith-update-button:before {
1040
  content: "\e90b";
1041
  font-size: 15px;
1042
  }
1047
  background-color: #267390;
1048
  color: #fff;
1049
  }
1050
+
1051
  .yith-plugin-ui .yith-save-button:focus,
1052
  .yith-plugin-ui .yith-save-button:hover {
1053
  background-color: #1c4863;
1057
 
1058
  /** yith-remove-button **/
1059
 
1060
+ .yith-plugin-ui .button-secondary.yith-remove-button:before {
1061
  content: "\e90d";
1062
  font-size: 15px;
1063
  }
1064
 
1065
 
1066
  /** yith-add-button **/
1067
+ .yith-plugin-ui .yith-add-button:before {
 
1068
  content: "\e90a";
1069
  }
1070
 
1071
+ .yith-plugin-ui .yith-add-button.closed {
1072
+ background-color: #fff;
1073
+ color: #375f6b;
1074
+ border: 1px solid #375f6b;
1075
+ }
1076
+
1077
+ .yith-plugin-ui .yith-add-button.closed:before {
1078
+ content: "\e906";
1079
+ }
1080
+
1081
+
1082
  /** yith-plugin-fw-upload-button **/
1083
+ .yith-plugin-ui button.yith-plugin-fw-upload-button:before {
1084
  content: "\e90c";
1085
  font-family: 'yith-icon';
1086
  font-size: 19px;
1087
  font-weight: 400;
1088
  margin-right: 10px;
1089
  vertical-align: middle;
1090
+ display: inline-block;
1091
  }
1092
+
1093
  /** SELECT 2 **/
1094
  .yith-plugin-ui .select2-container,
1095
+ .yith-plugin-ui .select2-selection--single {
1096
  height: auto;
1097
  padding: 2px;
1098
  outline: none;
1099
  }
1100
 
1101
+ .yith-plugin-ui .select2-selection--single {
1102
  margin: 0;
1103
  border: 0;
1104
  }
1105
 
1106
  /* old panel*/
1107
 
1108
+ .yith-plugin-ui span.select2.select2-container.select2-container--default {
1109
  border: 1px solid #d8d8d8;
1110
+ border-radius: 8px;
1111
  }
1112
+
1113
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:hover,
1114
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:active,
1115
+ .yith-plugin-ui span.select2.select2-container.select2-container--default:focus {
1116
  border-color: #a7d9ec;
1117
  }
1118
+
1119
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
1120
  color: #fff;
1121
  }
1122
+
1123
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].select2-search__field,
1124
+ .yith-plugin-ui .yith-plugin-fw table.form-table input.select2-search__field {
1125
  border: 0;
1126
  padding: 0;
1127
  height: initial;
1128
  }
1129
+
1130
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice,
1131
+ .yith-plugin-ui .select2-selection__choice {
1132
  color: #fff;
1133
  background-color: #4e8ba2;
1134
  border-radius: 12px;
1137
  font-size: 13px;
1138
  }
1139
 
1140
+ .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow:before {
1141
  content: "\e900";
1142
  font-family: 'yith-icon' !important;
1143
  line-height: 36px;
1144
  color: #d9d9d9;
1145
  }
1146
 
1147
+ .yith-plugin-ui .select2-container--default .select2-selection--single .select2-selection__arrow b {
1148
  display: none;
1149
  }
1150
+
1151
  .yith-plugin-ui .select2-container--open .select2-dropdown--below,
1152
  .yith-plugin-ui .select2-container--open .select2-dropdown--above,
1153
  .yith-plugin-fw-panel .select2-container--open .select2-dropdown--below,
1154
  .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above {
1155
  margin-top: 10px;
1156
  border-radius: 8px;
1157
+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
1158
  }
1159
+
1160
  .yith-plugin-ui .select2-container--open .select2-dropdown--above,
1161
+ .yith-plugin-fw-panel .select2-container--open .select2-dropdown--above {
1162
  margin-top: -10px;
1163
  }
1164
+
1165
  .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1166
  .yith-plugin-ui .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
1167
  .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
1168
+ .yith-plugin-fw-panel .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
1169
  border-radius: 8px;
1170
  }
1171
+
1172
  .yith-plugin-ui .select2-results .select2-results__group, .select2-results .select2-results__option:first-child,
1173
+ .yith-plugin-fw-panel .select2-results .select2-results__group, .select2-results .select2-results__option:first-child {
1174
  border-top-left-radius: 8px;
1175
  border-top-right-radius: 8px;
1176
  }
1177
+ .yith-plugin-ui .select2-results .select2-results__group, .select2-results .select2-results__option:last-child,
1178
+ .yith-plugin-fw-panel .select2-results .select2-results__group, .select2-results .select2-results__option:last-child,
1179
+ .yith-plugin-ui .select2-results .select2-results__group,
1180
+ .yith-plugin-ui .select2-results .select2-results__option:last-child,
1181
+ .yith-plugin-fw-panel .select2-results .select2-results__group,
1182
+ .yith-plugin-fw-panel .select2-results .select2-results__option:last-child,
1183
  .yith-plugin-ui .select2-results .select2-results__group,
1184
  .yith-plugin-ui .select2-results .select2-results__option:last-child,
1185
  .yith-plugin-fw-panel .select2-results .select2-results__group,
1186
+ .yith-plugin-fw-panel .select2-results .select2-results__option:last-child {
1187
  border-bottom-left-radius: 8px;
1188
  border-bottom-right-radius: 8px;
1189
  }
1190
+
1191
+ .yith-plugin-ui .select2-dropdown{
1192
+ border: 0;
1193
+ }
1194
  .yith-plugin-ui .select2-container--default .select2-results__option[data-selected=true],
1195
  .yith-plugin-ui .select2-container--default .select2-results__option[aria-selected=true],
1196
  .yith-plugin-fw-panel .select2-container--default .select2-results__option[data-selected=true],
1198
  background-color: #fff;
1199
  outline: none;
1200
  }
1201
+
1202
  .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[aria-selected],
1203
  .yith-plugin-ui .select2-container--default .select2-results__option--highlighted[data-selected],
1204
  .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[aria-selected],
1205
+ .yith-plugin-fw-panel .select2-container--default .select2-results__option--highlighted[data-selected] {
1206
  background-color: #e8eff1;
1207
  color: #4e8ba2;
1208
  outline: none;
1209
  }
1210
 
1211
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
1212
+ .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
1213
  float: right;
1214
  padding-left: 15px;
1215
  text-indent: -9999px;
1218
 
1219
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1220
  .woocommerce .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after,
1221
+ .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after {
1222
  float: right;
1223
  color: #fff;
1224
  content: "\e906";
1228
  text-indent: 0;
1229
  }
1230
 
1231
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after {
1232
  color: #000;
1233
  }
1234
 
1235
  .yith-plugin-ui .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after
1236
+ .yith-plugin-fw-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:after {
1237
  color: #000;
1238
  }
1239
+
1240
  .yith-plugin-ui .select2-container .select2-selection--multiple,
1241
+ .yith-plugin-ui .select2-container--default.select2-container--focus .select2-selection--multiple {
1242
  border: 0;
1243
  }
1244
 
1245
+ .yith-plugin-fw .select2-search input[type=text] {
1246
  border: 0;
1247
  padding: 0;
1248
  height: auto;
1249
  }
1250
+
1251
+ .yith-plugin-ui .yith-plugin-fw-select-field-wrapper span.yith-icon.yith-icon-magnifier,
1252
+ .yith-plugin-fw-panel .yith-plugin-fw-select-field-wrapper span.yith-icon.yith-icon-magnifier {
1253
  position: absolute;
1254
  padding-top: 5px;
1255
  }
1256
 
1257
+ .yith-plugin-ui input[type=text].select2-search__field {
1258
  border: 0;
1259
  padding: 0;
1260
  height: 30px;
1261
  }
1262
+
1263
  .yith-plugin-ui .select2-container--default .select2-search--dropdown .select2-search__field,
1264
+ .yith-plugin-fw-panel .select2-container--default .select2-search--dropdown .select2-search__field {
1265
  border: 1px solid #d9d9d9;
1266
  border-radius: 8px;
1267
  box-shadow: none;
1268
  }
1269
+
1270
  .yith-plugin-ui .select2-dropdown,
1271
+ .yith-plugin-fw-panel .select2-dropdown {
1272
  border: 1px solid #d9d9d9;
1273
  }
1274
+
1275
  /** RADIO BUTTON **/
1276
+ .yith-plugin-ui [type="radio"]:checked,
1277
+ .yith-plugin-ui [type="radio"]:not(:checked) {
1278
  position: absolute;
1279
  left: -9999px;
1280
  }
1281
+
1282
  .yith-plugin-ui [type="radio"]:checked + label,
1283
+ .yith-plugin-ui [type="radio"]:not(:checked) + label {
 
1284
  position: relative;
1285
  padding-left: 35px;
1286
  cursor: pointer;
1289
  color: #716269;
1290
  font-size: 14px;
1291
  }
1292
+
1293
  .yith-plugin-ui [type="radio"]:checked + label:before,
1294
+ .yith-plugin-ui [type="radio"]:not(:checked) + label:before {
1295
  content: '';
1296
  position: absolute;
1297
  left: 0;
1302
  border-radius: 100%;
1303
  background: #fff;
1304
  }
1305
+
1306
  .yith-plugin-ui [type="radio"]:checked + label:after,
1307
  .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1308
  content: '';
1316
  -webkit-transition: all 0.2s ease;
1317
  transition: all 0.2s ease;
1318
  }
1319
+
1320
  .yith-plugin-ui [type="radio"]:not(:checked) + label:after {
1321
  opacity: 0;
1322
  -webkit-transform: scale(0);
1323
  transform: scale(0);
1324
  }
1325
+
1326
  .yith-plugin-ui [type="radio"]:checked + label:after {
1327
  opacity: 1;
1328
  -webkit-transform: scale(1);
1340
  border-radius: 3px;
1341
  display: inline-block;
1342
  position: relative;
1343
+ margin-right: 10px;
1344
  }
1345
+
1346
+ .yith-plugin-ui input[type="checkbox"]:checked {
1347
  background-color: #4e8ba2;
1348
  border-color: #488197;
1349
  }
1350
+
1351
  .yith-plugin-ui .forminp-checkbox span.description.inline {
1352
  margin-left: 10px;
1353
  }
1354
+
1355
+ .yith-plugin-ui input[type="checkbox"]:checked:before {
1356
  display: none;
1357
  }
1358
 
1371
  display: none;
1372
  }
1373
 
1374
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
1375
  border: 1px solid #d8d8d8;
1376
  background-color: #fff;
1377
  width: 60px;
1378
  height: 24px;
1379
  }
1380
 
1381
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
1382
  background-color: #d8d8d8;
1383
  }
1384
 
1389
  left: 6px;
1390
  background-color: #d8d8d8;
1391
  }
1392
+
1393
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after {
1394
  content: 'OFF';
1395
  width: 14px;
1396
  height: 14px;
1403
  }
1404
 
1405
  .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span,
1406
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input.onoffchecked + span {
1407
  background-color: #fff;
1408
  border-color: #98aa36;
1409
  }
1410
 
1411
  .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:before,
1412
+ .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:before {
1413
  background-color: #98aa36;
1414
  left: 41px;
1415
  }
1416
 
1417
  .yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after,
1418
+ .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after {
1419
  content: 'ON';
1420
  color: #98aa36;
1421
  width: 14px;
1427
  margin-top: 5px;
1428
  }
1429
 
1430
+ .yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
1431
  text-indent: 0;
1432
  }
1433
 
1436
  DATEPICKER
1437
  */
1438
  .yith-plugin-ui div#ui-datepicker-div,
1439
+ .yith-plugin-fw-panel div#ui-datepicker-div {
1440
  border: 0;
1441
+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
1442
  }
1443
 
1444
  .yith-plugin-ui .ui-datepicker-header.ui-widget-header,
1445
  .yith-plugin-fw-panel .ui-datepicker-header.ui-widget-header {
1446
+ background: #4e8ba2;
1447
  color: #fff;
1448
  font-size: 11px;
1449
  line-height: 25px;
1450
+ border: 0;
1451
  min-height: 25px;
1452
  }
1453
+
1454
  .yith-plugin-ui .ui-datepicker-title,
1455
+ .yith-plugin-fw-panel .ui-datepicker-title {
1456
  line-height: 25px;
1457
  }
1458
+
1459
  .yith-plugin-ui .ui-datepicker th,
1460
+ .yith-plugin-fw-panel .ui-datepicker th {
1461
  color: #716269;
1462
  }
1463
+
1464
  .yith-plugin-ui .ui-widget-header .ui-icon,
1465
  .yith-plugin-ui .ui-widget-header .ui-state-hover,
1466
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1467
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1468
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w,
1469
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e,
1470
  .yith-plugin-fw-panel .ui-widget-header .ui-icon,
1471
  .yith-plugin-fw-panel .ui-widget-header .ui-state-hover,
1472
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1473
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1474
  .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-w,
1475
+ .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e {
1476
  background: none;
1477
  content: "";
1478
  border: 0;
1479
  text-indent: 0;
1480
+ width: 15px;
1481
  height: 20px;
1482
+ display: block;
1483
+ overflow: hidden;
1484
+ }
1485
+
1486
+ .yith-plugin-ui .yith-password-wrapper {
1487
+ display: inline-block;
1488
+ width: auto;
1489
+ position: relative;
1490
+ }
1491
+
1492
+ .yith-plugin-ui .yith-password-wrapper .yith-password-eye-closed:before,
1493
+ .yith-plugin-ui .yith-password-wrapper .yith-password-eye:before {
1494
+ content: '\e911';
1495
+ color: #999;
1496
+ font-family: 'yith-icon';
1497
+ font-size: 20px;
1498
+ font-weight: normal;
1499
+ width: 15px;
1500
+ display: block;
1501
+ position: absolute;
1502
+ right: 13px;
1503
+ top: 0;
1504
+ line-height: 38px;
1505
+ bottom: 0;
1506
+ cursor: pointer;
1507
+ }
1508
+
1509
+ .yith-plugin-ui .yith-password-wrapper .yith-password-eye-closed:before {
1510
+ content: '\e912';
1511
  }
1512
 
1513
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-w:before,
1517
  font-family: 'yith-icon';
1518
  font-size: 12px;
1519
  font-weight: normal;
1520
+ width: 15px;
1521
+ display: block;
1522
  }
1523
+
1524
  .yith-plugin-ui .ui-icon.ui-icon-circle-triangle-e:before,
1525
  .yith-plugin-fw-panel .ui-icon.ui-icon-circle-triangle-e:before {
1526
  content: "\e902";
1529
  font-family: 'yith-icon';
1530
  font-size: 12px;
1531
  font-weight: normal;
1532
+ width: 15px;
1533
+ display: block;
1534
  }
1535
 
1536
  /* arrow */
1537
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-prev,
1538
+ .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1539
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1540
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-next-hover,
1541
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-prev,
1542
+ .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1543
  .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover,
1544
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-next-hover {
1545
  top: 1px;
1546
  cursor: pointer;
1547
  }
1548
+
1549
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev,
1550
  .yith-plugin-ui .ui-datepicker-prev.ui-datepicker-prev-hover,
1551
  .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev,
1552
+ .yith-plugin-fw-panel .ui-datepicker-prev.ui-datepicker-prev-hover {
1553
  left: 5px;
1554
  }
1555
+
1556
  .yith-plugin-ui .ui-datepicker .ui-datepicker-next,
1557
  .yith-plugin-ui .ui-datepicker-next.ui-datepicker-next-hover,
1558
  .yith-plugin-fw-panel .ui-datepicker .ui-datepicker-next,
1559
+ .yith-plugin-fw-panel .ui-datepicker-next.ui-datepicker-next-hover {
1560
  right: 1px;
1561
  }
1562
 
1563
+ .yith-plugin-ui .ui-datepicker table,
1564
+ .yith-plugin-fw-panel .ui-datepicker table {
1565
  font-size: 10px;
1566
  }
1567
 
1570
  .yith-plugin-ui .ui-widget-header .ui-state-default,
1571
  .yith-plugin-fw-panel .ui-state-default,
1572
  .yith-plugin-fw-panel .ui-widget-content .ui-state-default,
1573
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-default {
1574
+ background: #fff;
1575
  border: 1px solid #d9d9d9;
1576
 
1577
  }
1578
+
1579
  .yith-plugin-ui .ui-state-hover,
1580
  .yith-plugin-ui .ui-widget-content .ui-state-hover,
1581
  .yith-plugin-ui a.ui-state-default:focus,
1585
  .yith-plugin-fw-panel .ui-widget-content .ui-state-hover,
1586
  .yith-plugin-fw-panel a.ui-state-default:focus,
1587
  .yith-plugin-fw-panel .ui-widget-content .ui-state-focus,
1588
+ .yith-plugin-fw-panel .ui-widget-header .ui-state-focus {
1589
+ background: #ebf1f3;
1590
+ border: 1px solid #bfd5dd;
1591
  outline: none;
1592
  box-shadow: none;
1593
  }
1594
+
1595
  .yith-plugin-ui .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus,
1596
  .yith-plugin-fw-panel .ui-widget-header .ui-state-hover, .woocommerce .yith-plugin-ui .ui-state-focus {
1597
  background: none;
1599
  }
1600
 
1601
  /** colorpicker **/
1602
+ .yith-plugin-ui .yith-plugin-fw-field-wrapper .yith-colorpicker-group:not(:first-child) {
1603
+ margin-top: 20px;
1604
+ }
1605
+
1606
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .iris-picker,
1607
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-holder {
1608
  display: none !important;
1609
  }
1610
+
1611
+ .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap,
1612
+ .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap > * {
1613
+ display: inline-block !important;
1614
+ vertical-align: middle;
1615
  }
1616
+
1617
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-active .iris-picker,
1618
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-active .wp-picker-holder {
1619
  display: block !important;
1620
  }
1621
+
1622
+ .woocommerce .yith-plugin-ui .iris-picker {
1623
+ border: 0;
1624
  margin-top: 20px;
1625
  }
1626
+
1627
  .yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
1628
+ border: 0;
1629
  padding: 2px 5px;
1630
+ height: 30px;
1631
  }
1632
+
1633
+ .yith-plugin-ui .wp-color-result-text {
1634
  display: none;
1635
  }
1636
 
1637
  .yith-plugin-ui .wp-picker-container .wp-color-result.button{
1638
+ height: 30px!important;
1639
+ }
1640
+
1641
+ .yith-plugin-ui .wp-picker-container .color-alpha {
1642
+ height: 28px!important;
1643
+ }
1644
+
1645
+ .yith-plugin-ui .wp-picker-container .wp-color-result.button {
1646
  width: 30px;
1647
  height: 30px;
1648
  border: 0;
1652
  display: inline-block;
1653
  vertical-align: middle;
1654
  }
1655
+
1656
+ .yith-plugin-ui .wp-picker-default-custom {
1657
  cursor: pointer;
1658
  width: 25px;
1659
  padding: 0 5px;
1661
  vertical-align: middle;
1662
  position: relative;
1663
  }
1664
+
1665
  .yith-plugin-ui .wp-picker-default-custom input.button {
1666
  opacity: 0;
1667
  margin: 0;
1673
  bottom: 0;
1674
  z-index: 2;
1675
  }
1676
+
1677
+ .yith-plugin-ui .wp-picker-default-custom:before {
1678
  content: "\e910";
1679
  text-indent: 0;
1680
  font-family: 'yith-icon';
1681
  font-size: 20px;
1682
  color: #d8d8d8;
1683
  font-weight: normal;
1684
+ width: 15px;
1685
+ display: block;
1686
  background: none;
1687
  line-height: 20px;
1688
  margin-left: 8px;
1689
  }
1690
+
1691
+ .yith-plugin-ui .wp-picker-container {
1692
  width: auto;
1693
  display: inline-block;
1694
  border: 1px solid #d9d9d9;
1696
  padding: 5px;
1697
  }
1698
 
1699
+ .yith-plugin-ui .iris-picker .iris-square-inner {
1700
  box-shadow: none;
1701
  border: 1px solid #d9d9d9;
1702
  }
1703
 
1704
+ .yith-plugin-ui .yith-single-colorpicker {
1705
  display: inline-block;
1706
  width: 220px;
1707
  }
1708
 
1709
+ .yith-plugin-ui .yith-single-colorpicker > label {
1710
  display: block;
1711
  font-size: 11px;
1712
  font-weight: 600;
1713
+ margin: 0 0 10px 0;
1714
  }
1715
 
1716
  /* RANGE SLIDER */
1717
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle {
1718
+ top: -45px !important;
1719
  }
1720
 
1721
  .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle {
1737
  transition: opacity .3s ease-in-out 0s;
1738
  box-shadow: 0px 1px 7px 0px rgba(1, 1, 1, 0.13);
1739
  }
1740
+
1741
  .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:before {
1742
  position: absolute;
1743
  bottom: -3px;
1752
  -ms-transform: rotate(-45deg);
1753
  transform: rotate(-45deg);
1754
  }
1755
+
1756
+ .yith-plugin-ui .ui-slider.ui-widget-content .ui-widget-header {
1757
+ background: #4e8ba2;
1758
  }
1759
+
1760
+ .yith-plugin-ui .ui-slider-horizontal .ui-slider-handle:after {
1761
  content: '';
1762
  width: 17px;
1763
  height: 17px;
1768
  border-radius: 50%;
1769
  box-shadow: 0px 1px 6px 0px rgba(1, 1, 1, 0.25);
1770
  }
1771
+
1772
+ .yith-plugin-ui .ui-slider.ui-widget-content {
1773
  height: 5px !important;
1774
  }
1775
 
1776
+ .yith-plugin-ui .ui-slider .minCaption,
1777
+ .yith-plugin-ui .ui-slider .maxCaption {
1778
  font-weight: 700;
1779
  font-size: 12px;
1780
  }
1782
 
1783
  /* ADD_BOX AND TOGGLE */
1784
  .yith-plugin-ui .yith-add-box,
1785
+ .yith-plugin-ui .yith-toggle-row {
1786
+ width: 70%;
1787
  border: 1px solid #d9d9d9;
1788
+ box-shadow: none;
1789
  border-radius: 4px;
1790
  margin: 20px 0;
1791
  padding: 10px;
1792
  box-sizing: border-box;
1793
  background: white;
1794
  }
1795
+
1796
+ .yith-plugin-ui .yith-toggle-row {
1797
  cursor: pointer;
1798
+ transition: all ease 0.5s;
1799
  }
1800
+
1801
+ .yith-plugin-ui .yith-toggle-row.highlight {
1802
+ transition: all ease 0.5s;
1803
+ /*box-shadow: 0 0 7px rgb(81, 117, 129);*/
1804
+ box-shadow: 0 0 7px rgb(30, 140, 190);
1805
+
1806
+ display: block;
1807
+ }
1808
+
1809
+ .yith-plugin-ui .yith-add-box {
1810
+ padding: 25px;
1811
  display: none;
1812
  }
1813
+
1814
+ .yith-plugin-ui .yith-toggle-title {
1815
  position: relative;
1816
  }
1817
+
1818
  .yith-plugin-ui #plugin-fw-wc .yith-toggle-title h3,
1819
+ .yith-plugin-ui.metaboxes-tab.yith-plugin-ui h3,
1820
+ .yith-plugin-ui .yith-toggle-title h3 {
1821
  padding: 0px 20px 0px 25px;
1822
+ margin: 3px 0;
1823
+
1824
  display: inline-block;
1825
  position: relative;
1826
  min-width: 173px;
1827
  box-sizing: border-box;
1828
  font-weight: 600;
1829
  font-size: 15px;
1830
+ color: #23282d;
1831
+ text-transform: inherit;
1832
  }
1833
 
1834
+ .yith-plugin-ui .yith-toggle-title .subtitle {
1835
  padding-left: 0;
1836
+ padding-top: 8px;
1837
  font-size: 12px;
1838
  }
1839
 
1840
+ .yith-plugin-ui .yith-toggle {
1841
  position: absolute;
1842
  width: 30px;
 
 
1843
  cursor: pointer;
1844
+ left: 0;
1845
+ top: 0;
1846
  bottom: 0;
1847
+ margin: auto;
1848
+ display: flex;
1849
+ align-items: center;
1850
  }
1851
+
1852
+ .yith-plugin-ui .yith-toggle > span:before {
1853
  color: #405e69;
1854
  }
1855
 
1856
+ .yith-plugin-ui .yith-toggle > span {
1857
  position: absolute;
1858
  right: 50%;
1859
  transition: transform .3s;
1861
  }
1862
 
1863
 
1864
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle span {
1865
+ transform: rotateZ(90deg);
1866
  }
1867
 
1868
+ .yith-plugin-ui .yith-toggle-content {
1869
  display: none;
1870
  position: relative;
1871
  padding: 30px 25px;
1872
  }
1873
+
1874
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content {
1875
  /* display: block;*/
1876
  }
1877
+
1878
  .yith-plugin-ui .yith-add-box-row,
1879
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row {
1880
  display: table;
1881
+ margin-bottom: 40px;
1882
  }
1883
+
1884
  .yith-plugin-ui .yith-add-box-row label,
1885
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row label {
1886
  display: table-cell;
1887
+ width: 200px;
1888
+ padding-right: 21px;
1889
  color: #33373b;
1890
+ font-size: 14px;
1891
  vertical-align: top;
1892
  font-weight: 600;
1893
  }
1894
+ .yith-plugin-ui .yith-plugin-fw-radio__row label{
1895
+ font-weight: 400!important;
1896
+ }
1897
  .yith-plugin-ui .yith-add-box-row .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper),
1898
+ .yith-plugin-ui .yith-toggle-row-opened .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper) {
1899
+ margin-top: 10px;
1900
  width: auto;
1901
  float: none;
1902
  vertical-align: middle;
1903
  position: relative;
1904
  }
1905
+
1906
  .yith-plugin-ui .yith-add-box-row span.yith-icon,
1907
+ .yith-plugin-ui .yith-toggle-row-opened .yith-toggle-content .yith-toggle-content-row span.yith-icon {
1908
  position: absolute;
1909
  right: 15px;
1910
  top: 0;
1911
  bottom: 0;
1912
  }
1913
+
1914
  .yith-plugin-ui .yith-add-box-buttons,
1915
+ .yith-plugin-ui .yith-toggle-content-buttons {
1916
  text-align: right;
1917
  }
1918
+
1919
  .yith-plugin-ui .yith-toggle-onoff {
1920
  position: absolute;
1921
  cursor: pointer;
1922
  right: 0;
1923
  }
1924
+
1925
+ .yith-plugin-ui .yith-toggle_wrapper.ui-sortable .yith-toggle-onoff {
1926
  right: 30px;
1927
  }
1928
+
1929
+ .yith-plugin-ui .yith-toggle-row .yith-icon-drag {
1930
  position: absolute;
1931
  right: 0;
1932
  top: 25%;
1933
  bottom: 0;
1934
  line-height: 1;
1935
  }
1936
+
1937
+ .yith-plugin-ui .yith-toggle-row.with-subtitle .yith-toggle-onoff {
 
 
1938
  top: 25%;
1939
  }
1940
 
1941
  /** SPINNER **/
1942
+ .yith-plugin-ui .spinner {
1943
  vertical-align: -5px;
1944
  float: none;
1945
  }
1946
 
1947
+ .yith-plugin-ui .spinner.show {
1948
  visibility: visible;
1949
  }
1950
 
1951
  /* LIST TABLE */
1952
+ .yith-plugin-ui .form-table .list-table td {
1953
  padding: 15px 0px;
1954
  }
1955
+
1956
+ .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table .bulkactions select {
1957
  border: 1px solid #d8d8d8;
1958
  max-width: 200px;
1959
  max-height: 30px;
1960
  padding: 0 10px;
1961
+ margin-right: 5px;
1962
  }
1963
+
1964
+ .yith-plugin-ui .form-table .list-table th {
1965
  width: initial;
1966
  }
1967
 
1968
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table tbody td {
 
 
 
1969
  padding-left: 20px;
1970
  }
1971
+
1972
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table th,
1973
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table td {
1974
+ padding: 15px 20px 15px 20px;
1975
+ }
1976
+
1977
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table thead td,
1978
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table thead th,
1979
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table tfoot td,
1980
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table tfoot th {
1981
+ padding: 3px 20px;
1982
+ }
1983
+
1984
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table thead a,
1985
+ .yith-plugin-ui #plugin-fw-wc table.wp-list-table tfoot a {
1986
+ padding-left: 0;
1987
+ }
1988
+
1989
+ .yith-plugin-ui .yith-plugin-fw-list-table h2 {
1990
  border: 0;
1991
  padding: 35px 0 15px;
1992
  display: inline-block;
1993
  margin-right: 10px;
1994
  }
1995
+
1996
+ .yith-plugin-ui .form-table .yith-plugin-fw-list-table table th {
1997
  vertical-align: middle;
1998
  }
1999
+
2000
+ .yith-plugin-ui .yith-plugin-fw-list-table-container {
2001
  padding: 0 20px;
2002
  }
2003
+
2004
+ .yith-plugin-ui #doaction, .yith-plugin-ui #doaction2,
2005
+ .yith-plugin-ui #post-query-submit,
2006
+ .yith-plugin-ui #search-submit,
2007
+ .yith-plugin-ui .button.filter-button {
2008
+ margin-left: 0;
2009
  height: 33px;
2010
+ padding: 0 10px;
2011
+ line-height: 33px;
2012
  }
2013
+
2014
+ .yith-plugin-ui .bulkactions {
2015
  margin: 10px 0;
2016
  }
2017
+
2018
+ .yith-plugin-ui .form-table td p.yith-section-description {
2019
+ color: #716269;
2020
  margin-bottom: 20px;
2021
  }
2022
 
2023
  /** Time picker width*/
2024
  .yith-plugin-ui input.ui-timepicker-input {
2025
+ width: 100px !important;
2026
  }
2027
+
2028
  /** date format **/
2029
  .yith-plugin-ui .yith-plugin-fw-date-format code {
2030
  margin-left: 30px;
2041
  float: left;
2042
  }
2043
 
2044
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset:nth-child(2n+1) {
2045
  clear: both;
2046
  }
2047
 
2051
  float: left;
2052
  }
2053
 
2054
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset:nth-child(3n+1) {
2055
  clear: both;
2056
  }
2057
 
 
2058
  .yith-plugin-fw-checkbox-field-wrapper {
2059
  display: inline-block !important;
 
 
2060
  }
2061
+
2062
  .yith-plugin-fw-checkbox-field-wrapper + span.description {
2063
  display: inline-block;
2064
  vertical-align: middle;
2065
  margin: 0;
2066
  }
2067
+
2068
  .yith-plugin-ui span.description {
2069
  margin-top: 10px;
2070
+ line-height: 20px;
2071
  }
2072
+
2073
  .yith-plugin-fw-option-with-description {
2074
  display: table-cell;
2075
  width: auto;
2076
  vertical-align: top;
2077
  }
2078
+
2079
  /** YITH PANEL **/
2080
+ .yith-plugin-ui #yith-plugin-fw-panel {
2081
  margin-top: -10px;
2082
  }
2083
+
2084
+ .yith-plugin-ui #plugin-fw-wc, .yith-plugin-ui #yith-plugin-fw-panel {
2085
  padding-top: 0;
2086
  }
2087
+
2088
+ .yith-plugin-ui .plugin-option tr {
2089
  border: 0;
2090
  }
2091
 
2092
+ @media screen and (max-width: 1440px) {
2093
  .yith-plugin-ui .yith-add-box,
2094
+ .yith-plugin-ui .yith-toggle-row {
2095
  width: 80%;
2096
  }
2097
  }
2098
+
2099
+ @media screen and (max-width: 1024px) {
2100
  .yith-plugin-ui .yith-add-box,
2101
+ .yith-plugin-ui .yith-toggle-row {
2102
  width: 90%;
2103
  }
2104
 
2114
  float: left;
2115
  }
2116
 
2117
+ .yith-plugin-ui td.forminp-checkbox.two-cols fieldset:nth-child(2n+1) {
2118
  clear: both;
2119
  }
2120
 
2121
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset:nth-child(3n+1) {
2122
  clear: initial;
2123
  }
2124
  }
2125
+
2126
+ @media screen and (max-width: 782px) {
2127
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free {
2128
  height: auto;
2129
  background-color: #a9c7d3;
2130
  }
2131
+
2132
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free ul {
2133
  width: 90%;
2134
  text-align: center;
2135
  }
2136
+
2137
+ .yith-plugin-fw-banner.yith-plugin-fw-banner-free li img {
2138
  width: 90%;
2139
  margin: 0 auto;
2140
  }
2141
+
2142
+ .yith-plugin-fw-banner h1 {
2143
  line-height: 1.2em;
2144
  }
2145
 
2146
  .yith-plugin-ui .yith-add-box,
2147
+ .yith-plugin-ui .yith-toggle-row {
2148
  width: 100%;
2149
  }
2150
 
2151
  .yith-plugin-ui td.forminp-checkbox.two-cols fieldset,
2152
+ .yith-plugin-ui td.forminp-checkbox.three-cols fieldset {
2153
  width: 100%;
2154
  clear: initial;
2155
  }
2156
 
2157
+ }
plugin-fw/assets/fonts/yith-icon.eot CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.svg CHANGED
@@ -24,4 +24,13 @@
24
  <glyph unicode="&#xe90e;" glyph-name="info" d="M511.957 92.471c-196.017 0-355.555 159.466-355.555 355.555 0 196.053 159.538 355.555 355.555 355.555 196.053 0 355.555-159.502 355.555-355.555 0-196.089-159.502-355.555-355.555-355.555zM511.957 874.692c-235.271 0-426.666-191.431-426.666-426.666 0-235.271 191.395-426.666 426.666-426.666 235.306 0 426.666 191.395 426.666 426.666 0 235.235-191.36 426.666-426.666 426.666zM476.402 270.248v177.777h35.555v-177.777h-35.555zM583.068 448.026v71.111h-213.333v-71.111h35.555v-248.888h213.333v71.111h-35.555v177.777zM494.179 661.359c9.813 0 17.778-8 17.778-17.778 0-9.813-7.964-17.778-17.778-17.778-9.778 0-17.778 7.964-17.778 17.778 0 9.778 8 17.778 17.778 17.778zM494.179 554.692c49.031 0 88.889 39.858 88.889 88.889 0 48.995-39.858 88.889-88.889 88.889-48.995 0-88.889-39.893-88.889-88.889 0-49.031 39.893-88.889 88.889-88.889z" />
25
  <glyph unicode="&#xe90f;" glyph-name="drag" d="M241.835 409.259h232.277v-232.277h-116.053l156.501-154.795 156.501 154.795h-119.467v232.277h233.813v-116.224l154.965 156.672-154.965 156.501v-119.467h-233.813v232.277h119.467l-156.501 154.795-156.501-154.795h116.053v-232.277h-232.277v119.467l-154.795-156.501 154.795-156.672z" />
26
  <glyph unicode="&#xe910;" glyph-name="reset" d="M188.928 400.384c23.211-158.379 159.573-280.405 324.267-280.405 118.613 0 228.352 64.341 286.379 167.936l-63.488 35.499c-45.227-80.555-130.56-130.731-222.891-130.731-120.491 0-221.525 84.139-248.149 196.608l40.107-40.107 51.541 51.541-135.168 135.168-135.168-135.168 51.541-51.541 51.029 51.2zM513.195 703.317c121.685 0 223.573-85.675 249.003-199.68l-43.179 43.179-51.541-51.541 135.168-135.168 135.168 135.168-51.541 51.541-48.981-48.981c-24.064 157.355-159.915 278.528-323.925 278.528-116.736 0-225.621-62.805-284.16-164.011l63.147-36.523c45.227 78.507 129.877 127.488 220.843 127.488z" />
 
 
 
 
 
 
 
 
 
27
  </font></defs></svg>
24
  <glyph unicode="&#xe90e;" glyph-name="info" d="M511.957 92.471c-196.017 0-355.555 159.466-355.555 355.555 0 196.053 159.538 355.555 355.555 355.555 196.053 0 355.555-159.502 355.555-355.555 0-196.089-159.502-355.555-355.555-355.555zM511.957 874.692c-235.271 0-426.666-191.431-426.666-426.666 0-235.271 191.395-426.666 426.666-426.666 235.306 0 426.666 191.395 426.666 426.666 0 235.235-191.36 426.666-426.666 426.666zM476.402 270.248v177.777h35.555v-177.777h-35.555zM583.068 448.026v71.111h-213.333v-71.111h35.555v-248.888h213.333v71.111h-35.555v177.777zM494.179 661.359c9.813 0 17.778-8 17.778-17.778 0-9.813-7.964-17.778-17.778-17.778-9.778 0-17.778 7.964-17.778 17.778 0 9.778 8 17.778 17.778 17.778zM494.179 554.692c49.031 0 88.889 39.858 88.889 88.889 0 48.995-39.858 88.889-88.889 88.889-48.995 0-88.889-39.893-88.889-88.889 0-49.031 39.893-88.889 88.889-88.889z" />
25
  <glyph unicode="&#xe90f;" glyph-name="drag" d="M241.835 409.259h232.277v-232.277h-116.053l156.501-154.795 156.501 154.795h-119.467v232.277h233.813v-116.224l154.965 156.672-154.965 156.501v-119.467h-233.813v232.277h119.467l-156.501 154.795-156.501-154.795h116.053v-232.277h-232.277v119.467l-154.795-156.501 154.795-156.672z" />
26
  <glyph unicode="&#xe910;" glyph-name="reset" d="M188.928 400.384c23.211-158.379 159.573-280.405 324.267-280.405 118.613 0 228.352 64.341 286.379 167.936l-63.488 35.499c-45.227-80.555-130.56-130.731-222.891-130.731-120.491 0-221.525 84.139-248.149 196.608l40.107-40.107 51.541 51.541-135.168 135.168-135.168-135.168 51.541-51.541 51.029 51.2zM513.195 703.317c121.685 0 223.573-85.675 249.003-199.68l-43.179 43.179-51.541-51.541 135.168-135.168 135.168 135.168-51.541 51.541-48.981-48.981c-24.064 157.355-159.915 278.528-323.925 278.528-116.736 0-225.621-62.805-284.16-164.011l63.147-36.523c45.227 78.507 129.877 127.488 220.843 127.488z" />
27
+ <glyph unicode="&#xe911;" glyph-name="arrow_eye" d="M512 184.32c147.797 0 288.939 82.603 408.235 238.933l17.408 22.869-17.408 22.869c-119.296 156.501-260.437 239.104-408.235 239.104s-289.109-82.603-408.235-239.104l-17.408-22.869 17.408-22.869c119.125-156.331 260.437-238.933 408.235-238.933zM512 632.661c116.395 0 230.059-64.341 330.411-186.539-100.352-122.027-214.187-186.368-330.411-186.368-116.395 0-230.059 64.341-330.411 186.539 100.181 122.027 214.016 186.368 330.411 186.368zM510.293 293.717c83.115 0 150.699 67.584 150.699 150.699s-67.584 150.699-150.699 150.699c-83.115 0-150.699-67.584-150.699-150.699s67.584-150.699 150.699-150.699zM510.293 519.68c41.472 0 75.264-33.792 75.264-75.264s-33.792-75.264-75.264-75.264c-41.472 0-75.264 33.792-75.264 75.264-0.171 41.472 33.621 75.264 75.264 75.264z" />
28
+ <glyph unicode="&#xe912;" glyph-name="arrow_eye_closed" d="M920.235 468.992c-119.296 156.501-260.437 239.104-408.235 239.104-57.296 0-113.616-12.423-168.047-36.743l70.881-53.755c32.024 9.991 64.493 15.065 97.166 15.065 116.395 0 230.059-64.341 330.411-186.54-27.682-33.661-56.393-62.906-85.893-87.648l61.426-46.583c35.519 31.508 69.722 68.681 102.292 111.363l17.408 22.868-17.41 22.869zM510.293 595.115c-18.676 0-36.564-3.422-53.081-9.656l203.208-154.107c0.37 4.306 0.572 8.661 0.572 13.063 0 83.116-67.584 150.7-150.699 150.7zM873.18 226.28l-713.387 541.013c-21.289 16.145-51.633 11.974-67.779-9.315s-11.976-51.633 9.315-67.779l123.489-93.652c-42.291-34.717-82.818-77.322-121.054-127.556l-17.408-22.869 17.408-22.869c119.125-156.332 260.437-238.933 408.235-238.933 65.911 0 130.495 16.445 192.411 48.517l110.302-83.651c8.743-6.63 19.011-9.834 29.196-9.834 14.619 0 29.068 6.6 38.583 19.147 16.147 21.291 11.977 51.635-9.312 67.78zM523.187 370.273c-4.192-0.73-8.497-1.121-12.894-1.121-38.915 0-71.067 29.756-74.882 67.688l87.776-66.567zM512 259.755c-116.395 0-230.059 64.34-330.411 186.539 33.684 41.028 68.92 75.481 105.271 103.204l79.536-60.319c-4.41-14.148-6.799-29.181-6.799-44.764 0-83.113 67.584-150.699 150.699-150.699 30.172 0 58.289 8.917 81.877 24.241l44.037-33.396c-40.75-16.406-82.321-24.806-124.209-24.806z" />
29
+ <glyph unicode="&#xe913;" glyph-name="calendar_add" d="M547.499 483.499h-70.997v-106.496h-106.325v-70.827h106.325v-106.496h70.997v106.496h106.325v70.827h-106.325zM902.315 802.816h-141.824v70.827h-70.997v-70.997h-354.816v70.997h-70.997v-70.997h-141.995v-780.459h780.459v780.629zM263.68 731.819v-70.997h70.997v70.997h354.816v-70.997h70.997v70.997h70.997v-106.496h-638.805v106.496h70.997zM192.683 93.184v461.312h638.635v-461.141h-638.635z" />
30
+ <glyph unicode="&#xe914;" glyph-name="calendar_money" d="M474.965 133.291h74.069v37.035c40.96 0 74.069 33.109 74.069 74.069v37.035c0 40.96-33.109 74.069-74.069 74.069h-74.069v37.035h148.139v74.069h-74.069v37.035h-74.069v-37.035c-40.96 0-74.069-33.109-74.069-74.069v-37.035c0-40.96 33.109-74.069 74.069-74.069h74.069v-37.035h-148.139v-74.069h74.069v-37.035zM252.928 873.643v-222.037h73.899v74.069h333.312v74.069h-333.312v73.899zM919.211 540.501v259.243h-148.139v73.899h-74.069v-222.037h74.069v74.069h74.069v-111.104h-666.283v111.104h37.035v74.069h-111.104v-777.387h814.421v518.144zM845.141 96.256h-666.283v444.245h666.283v-444.245z" />
31
+ <glyph unicode="&#xe915;" glyph-name="calendar2" d="M937.643 796.331h-154.795v77.312h-77.312v-232.107h77.312v77.312h77.483v-619.179h-696.661v619.179h38.741v77.483h-116.053v-773.973h851.285zM318.464 873.643h-77.312v-232.107h77.312v77.312h348.331v77.483h-348.331zM395.947 564.053h77.483v-77.483h-77.483v77.483zM550.741 564.053h77.483v-77.483h-77.483v77.483zM705.536 564.053h77.483v-77.483h-77.483v77.483zM241.152 409.259h77.483v-77.483h-77.483v77.483zM395.947 409.259h77.483v-77.483h-77.483v77.483zM550.741 409.259h77.483v-77.483h-77.483v77.483zM705.536 409.259h77.483v-77.483h-77.483v77.483zM241.152 254.464h77.483v-77.483h-77.483v77.483zM395.947 254.464h77.483v-77.483h-77.483v77.483zM550.741 254.464h77.483v-77.483h-77.483v77.483zM705.536 254.464h77.483v-77.483h-77.483v77.483z" />
32
+ <glyph unicode="&#xe916;" glyph-name="people" d="M263.68 696.32c0-39.211-31.787-70.997-70.997-70.997s-70.997 31.787-70.997 70.997c0 39.211 31.787 70.997 70.997 70.997s70.997-31.787 70.997-70.997zM121.685 128.683h70.997v212.821h35.499v-212.821h70.997v390.315h70.997v70.997h-212.992c-39.253 0-70.997-31.744-70.997-70.997v-177.323h35.499v-212.992zM902.315 696.32c0-39.211-31.787-70.997-70.997-70.997s-70.997 31.787-70.997 70.997c0 39.211 31.787 70.997 70.997 70.997s70.997-31.787 70.997-70.997zM866.816 589.824h-212.992v-70.997h70.997v-390.315h70.997v212.992h35.499v-212.821h70.997v212.821h35.499v177.493c-0.171 39.083-31.915 70.827-70.997 70.827zM582.997 696.32c0-39.211-31.787-70.997-70.997-70.997s-70.997 31.787-70.997 70.997c0 39.211 31.787 70.997 70.997 70.997s70.997-31.787 70.997-70.997zM405.504 518.997v-141.824h35.499v-248.32h141.824v248.149h35.499v141.824c0 39.253-31.744 70.997-70.997 70.997h-70.997c-38.912 0-70.827-31.744-70.827-70.827z" />
33
+ <glyph unicode="&#xe917;" glyph-name="shield_money" d="M146.091 837.12v-530.261l365.909-284.501 365.909 284.672v530.091h-219.477v-73.216h-36.523v109.739h-219.648v-109.739h-36.523v73.216h-219.648zM475.477 690.859v109.739h73.216v-109.739h182.955v73.216h73.216v-421.205l-292.864-227.669-292.693 227.669v421.035h73.216v-73.216h182.955zM548.523 324.949h-73.216c-20.139 0-36.523 16.384-36.523 36.523h-73.216c0-60.587 49.152-109.739 109.739-109.739v-36.523h73.216v36.523c60.587 0 109.739 49.152 109.739 109.739s-49.152 109.739-109.739 109.739h-73.216c-20.139 0-36.523 16.384-36.523 36.523s16.384 36.523 36.523 36.523h73.216c20.139 0 36.523-16.384 36.523-36.523h73.216c0 60.587-49.152 109.739-109.739 109.739v36.523h-73.216v-36.523c-60.587 0-109.739-49.152-109.739-109.739s49.152-109.739 109.739-109.739h73.216c20.139 0 36.523-16.384 36.523-36.523s-16.213-36.523-36.523-36.523z" />
34
+ <glyph unicode="&#xe918;" glyph-name="time_check" d="M86.528 448.341c-0.341-235.008 189.952-425.643 424.96-425.984s425.643 189.952 425.984 424.96c0.171 83.968-24.576 166.059-71.168 236.032l-60.075-63.488c22.528-39.765 37.035-83.627 42.325-129.195h-80.384v-84.651h80.384c-19.627-154.795-141.483-276.651-296.277-296.277v84.651h-84.651v-84.651c-154.795 19.456-276.821 141.483-296.277 296.277h84.651v84.651h-84.651c18.432 155.307 140.971 277.845 296.277 296.277v-82.603h84.651v81.749c46.251-5.803 90.795-21.163 130.731-44.885l61.44 61.44c-68.779 46.080-149.675 70.827-232.448 71.168-234.837-0.341-425.301-190.635-425.472-425.472zM414.549 605.355l-59.563-59.733 157.013-157.013 410.624 410.965-59.733 59.733-350.891-350.891z" />
35
+ <glyph unicode="&#xe919;" glyph-name="world_settings" d="M833.707 597.333l48.981 81.92-139.435 139.435-81.92-48.981c-8.875 4.267-18.091 7.851-27.648 11.435l-23.040 92.672h-98.645c-235.179-0.171-425.643-190.635-425.643-425.813s190.464-425.643 425.643-425.643h98.645l23.040 92.672c9.557 3.584 18.773 7.168 27.648 11.435l81.92-48.981 139.435 139.435-48.981 81.92c3.925 8.875 7.851 18.091 11.435 27.648l92.672 23.040v197.12l-92.672 23.040c-3.584 9.557-7.168 20.139-11.435 27.648zM319.659 448c0.171 35.669 3.243 71.339 9.216 106.496h147.627v-212.821h-147.627c-5.973 34.987-9.045 70.656-9.216 106.325zM476.501 795.989v-170.667h-129.877c28.16 86.699 75.264 150.869 129.877 170.667zM476.501 270.677v-171.008c-54.613 19.797-101.888 84.139-129.877 171.008h129.877zM547.499 547.669c55.125-20.309 83.456-81.579 63.147-136.704-10.752-29.184-33.792-52.224-63.147-63.147v199.851zM323.925 748.203c-22.869-38.4-40.277-79.701-51.712-122.709h-67.072c29.013 49.835 69.803 91.989 118.784 122.709zM173.568 554.496h83.797c-11.435-70.485-11.435-142.336 0-212.821h-83.797c-21.845 69.12-21.845 143.531 0 212.821zM205.141 270.677h67.072c11.435-43.179 29.013-84.651 51.712-123.051-48.981 30.72-89.771 73.045-118.784 123.051zM866.816 404.651l-77.312-19.456-5.632-19.115c-5.632-18.091-12.8-35.669-21.675-52.565l-9.557-17.749 40.789-68.096-61.099-61.44-68.437 41.301-17.749-9.557c-16.725-8.875-34.133-16.043-52.224-21.675l-19.456-5.632-19.115-77.312h-7.851v180.907c96.085 19.456 158.037 113.152 138.581 209.067-14.165 69.803-68.779 124.416-138.581 138.581v180.907h7.851l19.115-77.312 19.456-5.632c18.091-5.973 35.669-13.824 52.224-23.381l17.749-9.557 68.437 40.789 61.099-61.099-40.96-66.731 9.557-17.749c8.875-16.555 16.213-34.133 21.675-52.224l5.632-19.456 77.312-19.115 0.171-86.699z" />
36
  </font></defs></svg>
plugin-fw/assets/fonts/yith-icon.ttf CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.woff CHANGED
Binary file
plugin-fw/assets/js/yit-cpt-unlimited.js CHANGED
@@ -51,12 +51,13 @@
51
  // Do something with attachment.id and/or attachment.url here
52
  images.push( { id: attachment.id, url: attachment.url, title: attachment.title } );
53
  });
54
-
55
  // make AJAX request
56
  $.post( ajaxurl, {
57
  images: images,
58
  post_type: typenow,
59
- action: 'yit_cptu_multiuploader'
 
60
  }, function( data ){
61
  location.reload();
62
  });
51
  // Do something with attachment.id and/or attachment.url here
52
  images.push( { id: attachment.id, url: attachment.url, title: attachment.title } );
53
  });
54
+ console.log( button.data('nonce') );
55
  // make AJAX request
56
  $.post( ajaxurl, {
57
  images: images,
58
  post_type: typenow,
59
+ action: 'yit_cptu_multiuploader',
60
+ _ajax_nonce: button.data('nonce')
61
  }, function( data ){
62
  location.reload();
63
  });
plugin-fw/assets/js/yit-cpt-unlimited.min.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(d){d(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(g){g.preventDefault();var b=d(this),e=!1;b.next("span.spinner").css("display","inline-block");if(!c){var c=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0});c.on("select",function(){var f=[];c.state().get("selection").map(function(a){a=a.toJSON();f.push({id:a.id,url:a.url,title:a.title})});d.post(ajaxurl,{images:f,post_type:typenow,
2
- action:"yit_cptu_multiuploader"},function(a){location.reload()});b.next("span.spinner").css("display","inline-block");e=!0});c.on("close",function(){e||b.next("span.spinner").hide()})}c.open()})})(jQuery);
1
+ (function(c){c(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(f){f.preventDefault();var a=c(this),d=!1;a.next("span.spinner").css("display","inline-block");if(!b){var b=wp.media.frames.file_frame=wp.media({title:a.data("uploader_title"),button:{text:a.data("uploader_button_text")},library:{type:"image"},multiple:!0});b.on("select",function(){var e=[];b.state().get("selection").map(function(a){a=a.toJSON();e.push({id:a.id,url:a.url,title:a.title})});c.post(ajaxurl,{images:e,post_type:typenow,
2
+ action:"yit_cptu_multiuploader",_ajax_nonce:a.data("nonce")},function(a){location.reload()});a.next("span.spinner").css("display","inline-block");d=!0});b.on("close",function(){d||a.next("span.spinner").hide()})}b.open()})})(jQuery);
plugin-fw/assets/js/yith-colorpicker.min.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /**!
2
+ * wp-color-picker-alpha
3
+ *
4
+ * Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
5
+ * Only run in input and is defined data alpha in true
6
+ *
7
+ * Version: 2.1.3
8
+ * https://github.com/kallookoo/wp-color-picker-alpha
9
+ * Licensed under the GPLv2 license or later.
10
+ */
11
+ !function(t){if(!t.wp.wpColorPicker.prototype._hasAlpha){var o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",r='<div class="wp-picker-holder" />',e='<div class="wp-picker-container" />',a='<input type="button" class="button button-small" />',i=void 0!==wpColorPickerL10n.current;if(i)var n='<a tabindex="0" class="wp-color-result" />';else{n='<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>';var l="<label></label>",s='<span class="screen-reader-text"></span>'}Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);return this.error?"":(t.length<6&&(t=("00000"+t).substr(-6)),"#"+t)},t.widget("wp.wpColorPicker",t.wp.wpColorPicker,{_hasAlpha:!0,_create:function(){if(t.support.iris){var p=this,c=p.element;if(t.extend(p.options,c.data()),"hue"===p.options.type)return p._createHueOnly();p.close=t.proxy(p.close,p),p.initialValue=c.val(),c.addClass("wp-color-picker"),i?(c.hide().wrap(e),p.wrap=c.parent(),p.toggler=t(n).insertBefore(c).css({backgroundColor:p.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),p.pickerContainer=t(r).insertAfter(c),p.button=t(a).addClass("hidden")):(c.parent("label").length||(c.wrap(l),p.wrappingLabelText=t(s).insertBefore(c).text(wpColorPickerL10n.defaultLabel)),p.wrappingLabel=c.parent(),p.wrappingLabel.wrap(e),p.wrap=p.wrappingLabel.parent(),p.toggler=t(n).insertBefore(p.wrappingLabel).css({backgroundColor:p.initialValue}),p.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),p.pickerContainer=t(r).insertAfter(p.wrappingLabel),p.button=t(a)),p.options.defaultColor?(p.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString),i||p.button.attr("aria-label",wpColorPickerL10n.defaultAriaLabel)):(p.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),i||p.button.attr("aria-label",wpColorPickerL10n.clearAriaLabel)),i?c.wrap('<span class="wp-picker-input-wrap" />').after(p.button):(p.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(p.button),p.inputWrapper=c.closest(".wp-picker-input-wrap")),c.iris({target:p.pickerContainer,hide:p.options.hide,width:p.options.width,mode:p.options.mode,palettes:p.options.palettes,change:function(r,e){p.options.alpha?(p.toggler.css({"background-image":"url("+o+")"}),i?p.toggler.html('<span class="color-alpha" />'):(p.toggler.css({position:"relative"}),0==p.toggler.find("span.color-alpha").length&&p.toggler.append('<span class="color-alpha" />')),p.toggler.find("span.color-alpha").css({width:"30px",height:"24px",position:"absolute",top:0,left:0,"border-top-left-radius":"2px","border-bottom-left-radius":"2px",background:e.color.toString()})):p.toggler.css({backgroundColor:e.color.toString()}),t.isFunction(p.options.change)&&p.options.change.call(this,r,e)}}),c.val(p.initialValue),p._addListeners(),p.options.hide||p.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(t){t.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(r){(""===t(this).val()||o.element.hasClass("iris-error"))&&(o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),t.isFunction(o.options.clear)&&o.options.clear.call(this,r))}),o.button.on("click",function(r){t(this).hasClass("wp-picker-clear")?(o.element.val(""),o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),t.isFunction(o.options.clear)&&o.options.clear.call(this,r),o.element.trigger("change")):t(this).hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})}}),t.widget("a8c.iris",t.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data("alpha")||!1,this.element.is(":input")||(this.options.alpha=!1),void 0!==this.options.alpha&&this.options.alpha){var o=this,r=o.element,e=t('<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>').appendTo(o.picker.find(".iris-picker-inner")),a={aContainer:e,aSlider:e.find(".iris-slider-offset-alpha")};void 0!==r.data("custom-width")?o.options.customWidth=parseInt(r.data("custom-width"))||0:o.options.customWidth=100,o.options.defaultWidth=r.width(),(o._color._alpha<1||-1!=o._color.toString().indexOf("rgb"))&&r.width(parseInt(o.options.defaultWidth+o.options.customWidth)),t.each(a,function(t,r){o.controls[t]=r}),o.controls.square.css({"margin-right":"0"});var i=o.picker.width()-o.controls.square.width()-20,n=i/6,l=i/2-n;t.each(["aContainer","strip"],function(t,r){o.controls[r].width(l).css({"margin-left":n+"px"})}),o._initControls(),o._change()}},_initControls:function(){if(this._super(),this.options.alpha){var t=this;t.controls.aSlider.slider({orientation:"vertical",min:0,max:100,step:1,value:parseInt(100*t._color._alpha),slide:function(o,r){t._color._alpha=parseFloat(r.value/100),t._change.apply(t,arguments)}})}},_change:function(){this._super();var t=this,r=t.element;if(this.options.alpha){var e=t.controls,a=parseInt(100*t._color._alpha),i=t._color.toRgb(),n=["rgb("+i.r+","+i.g+","+i.b+") 0%","rgba("+i.r+","+i.g+","+i.b+", 0) 100%"],l=t.options.defaultWidth,s=t.options.customWidth,p=t.picker.closest(".wp-picker-container").find(".wp-color-result");e.aContainer.css({background:"linear-gradient(to bottom, "+n.join(", ")+"), url("+o+")"}),p.hasClass("wp-picker-open")&&(e.aSlider.slider("value",a),t._color._alpha<1?(e.strip.attr("style",e.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,"rgb($1$3$5)")),r.width(parseInt(l+s))):r.width(l))}(r.data("reset-alpha")||!1)&&t.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){t._color._alpha=1,t.active="external",t._change()}),r.trigger("change")},_addInputListeners:function(t){var o=this,r=function(r){var e=new Color(t.val()),a=t.val();t.removeClass("iris-error"),e.error?""!==a&&t.addClass("iris-error"):e.toString()!==o._color.toString()&&("keyup"===r.type&&a.match(/^[0-9a-fA-F]{3}$/)||o._setOption("color",e.toString()))};t.on("change",r).on("keyup",o._debounce(r,100)),o.options.hide&&t.on("focus",function(){o.show()})}})}}(jQuery),jQuery(document).ready(function(t){t(".color-picker").wpColorPicker()});
plugin-fw/assets/js/yith-enhanced-select.js CHANGED
@@ -68,6 +68,68 @@ jQuery( document ).ready( function ( $ ) {
68
  }
69
  } );
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  // TERM SEARCH
72
  $( '.yith-term-search' ).filter( ':not(.enhanced)' ).each( function () {
73
  var default_data = {
68
  }
69
  } );
70
 
71
+ // Customer Search
72
+ $( '.yith-customer-search' ).filter( ':not(.enhanced)' ).each( function () {
73
+ var default_data = {
74
+ action : 'woocommerce_json_search_customers',
75
+ security : yith_framework_enhanced_select_params.search_customers_nonce,
76
+ },
77
+ current_data = $.extend( default_data, $( this ).data() ),
78
+ select2_args = {
79
+ allowClear : $( this ).data( 'allow_clear' ) ? true : false,
80
+ placeholder : $( this ).data( 'placeholder' ),
81
+ minimumInputLength: $( this ).data( 'minimum_input_length' ) ? $( this ).data( 'minimum_input_length' ) : '3',
82
+ escapeMarkup : function ( m ) {
83
+ return m;
84
+ },
85
+ ajax : {
86
+ url : ajaxurl,
87
+ dataType : 'json',
88
+ quietMillis : 250,
89
+ data : function ( params ) {
90
+ var default_data_to_return = {
91
+ term: params.term
92
+ };
93
+
94
+ return $.extend( default_data_to_return, current_data );
95
+ },
96
+ processResults: function ( data ) {
97
+ var terms = [];
98
+ if ( data ) {
99
+ $.each( data, function ( id, text ) {
100
+ terms.push( { id: id, text: text } );
101
+ } );
102
+ }
103
+ return {
104
+ results: terms
105
+ };
106
+ },
107
+ cache : true
108
+ }
109
+ };
110
+
111
+ $( this ).select2( select2_args ).addClass( 'enhanced' );
112
+
113
+ if ( $( this ).data( 'sortable' ) ) {
114
+ var $select = $( this );
115
+ var $list = $( this ).next( '.select2-container' ).find( 'ul.select2-selection__rendered' );
116
+
117
+ $list.sortable( {
118
+ placeholder : 'ui-state-highlight select2-selection__choice',
119
+ forcePlaceholderSize: true,
120
+ items : 'li:not(.select2-search__field)',
121
+ tolerance : 'pointer',
122
+ stop : function () {
123
+ $( $list.find( '.select2-selection__choice' ).get().reverse() ).each( function () {
124
+ var id = $( this ).data( 'data' ).id;
125
+ var option = $select.find( 'option[value="' + id + '"]' )[ 0 ];
126
+ $select.prepend( option );
127
+ } );
128
+ }
129
+ } );
130
+ }
131
+ } );
132
+
133
  // TERM SEARCH
134
  $( '.yith-term-search' ).filter( ':not(.enhanced)' ).each( function () {
135
  var default_data = {
plugin-fw/assets/js/yith-enhanced-select.min.js CHANGED
@@ -1,8 +1 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,f,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var b=a[e];if(f.call(c,b,e,a))return{i:e,v:b}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,f,c){a!=Array.prototype&&a!=Object.prototype&&(a[f]=c.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,f,c,d){if(f){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];f=f(d);f!=d&&null!=f&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:f})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
- jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
5
- "3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
6
- items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?
7
- !0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");
8
- e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
1
+ jQuery(document).ready(function(c){"use strict";c(document.body).on("yith-framework-enhanced-select-init",function(){c(".yith-post-search").filter(":not(.enhanced)").each(function(){var e={action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a=c.extend(e,c(this).data()),t={allowClear:!!c(this).data("allow_clear"),placeholder:c(this).data("placeholder"),minimumInputLength:c(this).data("minimum_input_length")?c(this).data("minimum_input_length"):"3",escapeMarkup:function(e){return e},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(e){var t={term:e.term};return c.extend(t,a)},processResults:function(e){var a=[];return e&&c.each(e,function(e,t){a.push({id:e,text:t})}),{results:a}},cache:!0}};if(c(this).select2(t).addClass("enhanced"),c(this).data("sortable")){var n=c(this),i=c(this).next(".select2-container").find("ul.select2-selection__rendered");i.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){c(i.find(".select2-selection__choice").get().reverse()).each(function(){var e=c(this).data("data").id,t=n.find('option[value="'+e+'"]')[0];n.prepend(t)})}})}}),c(".yith-customer-search").filter(":not(.enhanced)").each(function(){var e={action:"woocommerce_json_search_customers",security:yith_framework_enhanced_select_params.search_customers_nonce},a=c.extend(e,c(this).data()),t={allowClear:!!c(this).data("allow_clear"),placeholder:c(this).data("placeholder"),minimumInputLength:c(this).data("minimum_input_length")?c(this).data("minimum_input_length"):"3",escapeMarkup:function(e){return e},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(e){var t={term:e.term};return c.extend(t,a)},processResults:function(e){var a=[];return e&&c.each(e,function(e,t){a.push({id:e,text:t})}),{results:a}},cache:!0}};if(c(this).select2(t).addClass("enhanced"),c(this).data("sortable")){var n=c(this),i=c(this).next(".select2-container").find("ul.select2-selection__rendered");i.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){c(i.find(".select2-selection__choice").get().reverse()).each(function(){var e=c(this).data("data").id,t=n.find('option[value="'+e+'"]')[0];n.prepend(t)})}})}}),c(".yith-term-search").filter(":not(.enhanced)").each(function(){var e={action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a=c.extend(e,c(this).data()),t={allowClear:!!c(this).data("allow_clear"),placeholder:c(this).data("placeholder"),minimumInputLength:c(this).data("minimum_input_length")?c(this).data("minimum_input_length"):"3",escapeMarkup:function(e){return e},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(e){var t={term:e.term};return c.extend(t,a)},processResults:function(e){var a=[];return e&&c.each(e,function(e,t){a.push({id:e,text:t})}),{results:a}},cache:!0}};if(c(this).select2(t).addClass("enhanced"),c(this).data("sortable")){var n=c(this),i=c(this).next(".select2-container").find("ul.select2-selection__rendered");i.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){c(i.find(".select2-selection__choice").get().reverse()).each(function(){var e=c(this).data("data").id,t=n.find('option[value="'+e+'"]')[0];n.prepend(t)})}})}})}).trigger("yith-framework-enhanced-select-init")});
 
 
 
 
 
 
 
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -405,16 +405,6 @@ jQuery( function ( $ ) {
405
  }
406
  );
407
 
408
- $.each( $checkgroup, function () {
409
- var children = $( this ).find( 'fieldset' );
410
- if ( children.length > 3 && children.length < 6 ) {
411
- $( this ).addClass( 'two-cols' )
412
- }
413
- if ( children.length > 6 ) {
414
- $( this ).addClass( 'three-cols' )
415
- }
416
- } );
417
-
418
  $( document.body ).trigger( 'yith-framework-enhanced-select-init' );
419
  };
420
 
@@ -444,9 +434,12 @@ jQuery( function ( $ ) {
444
  var toggle = $( this ),
445
  action = 'yith_plugin_fw_save_toggle_element',
446
  formdata = toggle.serializeToggleElement(),
447
- id = toggle.find( '.yith-toggle_wrapper' ).attr( 'id' ),
 
448
  current_tab = $.urlParam( 'tab' );
449
 
 
 
450
  if ( typeof array_keys != 'undefined' && array_keys.length > 0 ) {
451
  formdata.append( 'yith_toggle_elements_order_keys', array_keys );
452
  }
@@ -545,7 +538,7 @@ jQuery( function ( $ ) {
545
  _section = _toggle.closest( '.yith-toggle-row' ),
546
  _content = _section.find( '.yith-toggle-content' );
547
 
548
- if ( _toggle.hasClass( 'yith-plugin-fw-onoff' ) || _toggle.hasClass( 'icon-drag' ) ) {
549
  return false;
550
  }
551
 
@@ -560,17 +553,30 @@ jQuery( function ( $ ) {
560
  /**Add new box toggle**/
561
  $( document ).on( 'click', '.yith-add-box-button', function ( event ) {
562
  event.preventDefault();
563
- var target_id = $( this ).data( 'box_id' ),
564
- id = $( this ).closest( '.yith-toggle_wrapper' ).attr( 'id' );
565
- template = wp.template( 'yith-toggle-element-add-box-content-' + id );
 
 
 
 
566
  if ( '' !== target_id ) {
567
  $( '#' + target_id ).html( template( { index: 'box_id' } ) ).slideToggle();
 
 
 
 
 
 
 
 
568
  yith_fields_init();
569
- $( document ).trigger( 'yith-add-box-button-toggle', [ $( this ) ] );
570
  }
571
  } );
572
 
573
  $( document ).on( 'click', '.yith-add-box-buttons .yith-save-button', function ( event ) {
 
574
  event.preventDefault();
575
  var add_box = $( this ).parents( '.yith-add-box' ),
576
  id = $( this ).closest( '.yith-toggle_wrapper' ).attr( 'id' ),
@@ -579,7 +585,9 @@ jQuery( function ( $ ) {
579
  fields = add_box.find( ':input' ),
580
  counter = toggle_element.find( '.yith-toggle-row' ).length,
581
  hidden_obj = $( '<input type="hidden">' );
 
582
  hidden_obj.val( counter );
 
583
  $( document ).trigger( 'yith-toggle-change-counter', [ hidden_obj, add_box ] );
584
 
585
  counter = hidden_obj.val();
@@ -620,14 +628,27 @@ jQuery( function ( $ ) {
620
  var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
621
  $( document ).trigger( 'yith-toggle-element-item-before-add', [ add_box, toggle_el, form_is_valid ] );
622
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
623
 
624
- if ( form_is_valid.val() === 'yes' ) {
625
- $( toggle_element ).find( '.yith-toggle-elements' ).append( toggle_el );
626
- $( add_box ).find( '.yith-plugin-fw-datepicker' ).datepicker( 'destroy' );
627
- $( add_box ).html( '' ).toggle();
628
- toggle_element.saveToggleElement();
629
- yith_fields_init();
630
- }
631
  } );
632
 
633
  $( document ).on( 'click', '.yith-toggle-row .yith-save-button', function ( event ) {
@@ -635,7 +656,7 @@ jQuery( function ( $ ) {
635
  var toggle = $( this ).closest( '.toggle-element' ),
636
  toggle_row = $( this ).closest( '.yith-toggle-row' ),
637
  spinner = toggle_row.find( '.spinner' );
638
- toggle_row.formatToggleTitle();
639
 
640
  var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
641
  $( document ).trigger( 'yith-toggle-element-item-before-update', [ toggle, toggle_row, form_is_valid ] );
@@ -666,6 +687,18 @@ jQuery( function ( $ ) {
666
  $( this ).closest( '.yith-plugin-fw-radio' ).val( $( this ).val() ).trigger( 'change' );
667
  } );
668
 
 
 
 
 
 
 
 
 
 
 
 
 
669
  $( '.yith-plugin-fw-radio' ).each( function () {
670
  $( this ).val( $( this ).attr( 'value' ) );
671
  } );
405
  }
406
  );
407
 
 
 
 
 
 
 
 
 
 
 
408
  $( document.body ).trigger( 'yith-framework-enhanced-select-init' );
409
  };
410
 
434
  var toggle = $( this ),
435
  action = 'yith_plugin_fw_save_toggle_element',
436
  formdata = toggle.serializeToggleElement(),
437
+ wrapper = toggle.find( '.yith-toggle_wrapper' ),
438
+ id = wrapper.attr( 'id' ),
439
  current_tab = $.urlParam( 'tab' );
440
 
441
+ formdata.append( 'security', wrapper.data('nonce') );
442
+
443
  if ( typeof array_keys != 'undefined' && array_keys.length > 0 ) {
444
  formdata.append( 'yith_toggle_elements_order_keys', array_keys );
445
  }
538
  _section = _toggle.closest( '.yith-toggle-row' ),
539
  _content = _section.find( '.yith-toggle-content' );
540
 
541
+ if ( _toggle.hasClass( 'yith-plugin-fw-onoff' ) || _toggle.hasClass( 'yith-icon-drag' ) ) {
542
  return false;
543
  }
544
 
553
  /**Add new box toggle**/
554
  $( document ).on( 'click', '.yith-add-box-button', function ( event ) {
555
  event.preventDefault();
556
+ var $this = $( this ),
557
+ target_id = $this.data( 'box_id' ),
558
+ closed_label = $this.data('closed_label'),
559
+ label = $this.data('opened_label'),
560
+ id = $this.closest( '.yith-toggle_wrapper' ).attr( 'id' );
561
+ template = wp.template( 'yith-toggle-element-add-box-content-' + id );
562
+
563
  if ( '' !== target_id ) {
564
  $( '#' + target_id ).html( template( { index: 'box_id' } ) ).slideToggle();
565
+ if (closed_label !== '') {
566
+ if ($this.html() === closed_label) {
567
+ $this.html(label).removeClass('closed');
568
+ } else {
569
+ $this.html(closed_label).addClass('closed');
570
+ }
571
+ }
572
+
573
  yith_fields_init();
574
+ $( document ).trigger( 'yith-add-box-button-toggle', [ $this ] );
575
  }
576
  } );
577
 
578
  $( document ).on( 'click', '.yith-add-box-buttons .yith-save-button', function ( event ) {
579
+
580
  event.preventDefault();
581
  var add_box = $( this ).parents( '.yith-add-box' ),
582
  id = $( this ).closest( '.yith-toggle_wrapper' ).attr( 'id' ),
585
  fields = add_box.find( ':input' ),
586
  counter = toggle_element.find( '.yith-toggle-row' ).length,
587
  hidden_obj = $( '<input type="hidden">' );
588
+
589
  hidden_obj.val( counter );
590
+
591
  $( document ).trigger( 'yith-toggle-change-counter', [ hidden_obj, add_box ] );
592
 
593
  counter = hidden_obj.val();
628
  var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
629
  $( document ).trigger( 'yith-toggle-element-item-before-add', [ add_box, toggle_el, form_is_valid ] );
630
 
631
+ var delayInMilliseconds =1000; //1 second
632
+ setTimeout(function() {
633
+ if ( form_is_valid.val() === 'yes' ) {
634
+ $( toggle_element ).find( '.yith-toggle-elements' ).append( toggle_el );
635
+ $( add_box ).find( '.yith-plugin-fw-datepicker' ).datepicker( 'destroy' );
636
+ $( add_box ).html( '' );
637
+ $( add_box ).prev('.yith-add-box-button').trigger('click');
638
+ toggle_element.saveToggleElement();
639
+
640
+ var delayInMilliseconds =2000; //1 second
641
+ setTimeout(function() {
642
+ $( toggle_element ).find('.highlight').removeClass('highlight');
643
+ }, delayInMilliseconds);
644
+
645
+
646
+ yith_fields_init();
647
+ }
648
+ }, delayInMilliseconds );
649
+
650
+
651
 
 
 
 
 
 
 
 
652
  } );
653
 
654
  $( document ).on( 'click', '.yith-toggle-row .yith-save-button', function ( event ) {
656
  var toggle = $( this ).closest( '.toggle-element' ),
657
  toggle_row = $( this ).closest( '.yith-toggle-row' ),
658
  spinner = toggle_row.find( '.spinner' );
659
+ toggle_row.formatToggleTitle();
660
 
661
  var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
662
  $( document ).trigger( 'yith-toggle-element-item-before-update', [ toggle, toggle_row, form_is_valid ] );
687
  $( this ).closest( '.yith-plugin-fw-radio' ).val( $( this ).val() ).trigger( 'change' );
688
  } );
689
 
690
+ $(document).on('click', '.yith-password-eye', function () {
691
+ var $this = $(this),
692
+ inp = $(this).closest('.yith-password-wrapper').find('input');
693
+ if (inp.attr('type') === "password") {
694
+ inp.attr('type', 'text');
695
+ $this.addClass('yith-password-eye-closed');
696
+ } else {
697
+ inp.attr('type', 'password');
698
+ $this.removeClass('yith-password-eye-closed');
699
+ }
700
+ });
701
+
702
  $( '.yith-plugin-fw-radio' ).each( function () {
703
  $( this ).val( $( this ).attr( 'value' ) );
704
  } );
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1,27 +1,25 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,b){a instanceof String&&(a=String(a));for(var d=a.length,c=0;c<d;c++){var e=a[c];if(g.call(b,e,c,a))return{i:c,v:e}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,b){a!=Array.prototype&&a!=Object.prototype&&(a[g]=b.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,b,d){if(g){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var c=a[d];c in b||(b[c]={});b=b[c]}a=a[a.length-1];d=b[a];g=g(d);g!=d&&null!=g&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:g})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
4
- jQuery(function(a){var g=function(){var b=a(".yith-plugin-fw-datepicker"),d=a(".yith-plugin-fw-colorpicker"),c=a(".yith-plugin-fw-upload-img-url"),e=a(".add_media"),g=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),h=a(".yith-plugin-fw-sidebar-layout"),l=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),m=a(".codemirror"),p=a(".yit-icons-manager-wrapper"),q=a(".yith-plugin-ui td.forminp-checkbox");b.each(function(){var b=a(this).data();a(this).datepicker(b)});d.wpColorPicker({palettes:!1,
5
- width:200,mode:"hsl",clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});d.each(function(){var b=a(this).data("variations-label"),f=a(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),c=a(this).closest(".yith-single-colorpicker"),d=f.find(".wp-picker-input-wrap"),e=c.find(".wp-picker-input-wrap");d.length&&f.find("a.wp-color-result").attr("title",b);c.length&&c.find("a.wp-color-result").attr("title",b);d.find(".wp-picker-clear-custom").length||(b=a("<span/>").attr({class:"wp-picker-default-custom"}),
6
- d.find(".wp-picker-default").wrap(b));e.find(".wp-picker-clear-custom").length||(b=a("<span/>").attr({class:"wp-picker-default-custom"}),e.find(".wp-picker-default").wrap(b))});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(c.change(function(){var b=a(this).val(),f=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>f.length&&(f=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
7
- f.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):f.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var f=a(this).attr("id").replace(/-button$/,"");if(!k){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var k=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
8
- states:b});k.on("select",function(){var b=k.state().get("selection").first().toJSON();a("#"+f).val(b.url);a("#"+f+"-yith-attachment-id")&&a("#"+f+"-yith-attachment-id").val(b.id);c.trigger("change")})}k.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var f=a(this);b=f.attr("id");f=f.attr("id").replace(/-button-reset$/,"");b=a("#"+b).data("default");a("#"+f).val(b);c.trigger("change")}));e.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
9
- (a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var f=a(this);b=f.closest(".image-gallery");var k=b.find(".image_gallery_ids"),c=k.val(),d=b.find("ul.slides-wrapper"),e=wp.media.frames.image_gallery=wp.media({title:f.data("choose"),button:{text:f.data("update")},states:[new wp.media.controller.Library({title:f.data("choose"),filterable:"all",multiple:!0})]});e.on("select",function(){e.state().get("selection").map(function(a){a=a.toJSON();a.id&&(c=c?c+","+a.id:a.id,d.append('<li class="image" data-attachment_id="'+
10
- a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+f.data("delete")+'">x</a></li></ul></li>'))});k.val(c)});e.open()}),g.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(f,c){var k="";b.find("li.image").css("cursor",
11
- "default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),g.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),f=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var c="";a(this).closest("li.image").remove();f.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");c=c+b+","});b.val(c)}));h.each(function(){a(this).find("img").on("click",
12
- function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var d=a(this).data("type");a(this).parent().children(":radio").attr("checked",!1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof d)switch(d){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});
13
- l.each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),g=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+g)}})});m.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,
14
- mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});p.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),d=b.find(".yit-icons-manager-icon-text");
15
- b.on("click",".yit-icons-manager-list li",function(e){e=a(e.target).closest("li");var f=e.data("font"),k=e.data("icon"),g=e.data("key"),h=e.data("name");c.attr("data-font",f);c.attr("data-icon",k);c.attr("data-key",g);c.attr("data-name",h);d.val(f+":"+h);b.find(".yit-icons-manager-list li").removeClass("active");e.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})});a(document).on("click",".yith-plugin-fw-select-images__item",
16
- function(){var b=a(this),c=b.data("key"),d=b.closest(".yith-plugin-fw-select-images__wrapper"),e=d.find(".yith-plugin-fw-select-images__item");d=d.find("select").first();d.length&&(d.val(c),e.removeClass("yith-plugin-fw-select-images__item--selected"),b.addClass("yith-plugin-fw-select-images__item--selected"))});a(document.body).trigger("wc-enhanced-select-init");a(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",
17
- stop:function(b,c){b=jQuery(".ui-sortable-handle");var d=[];for(c=0;c<b.length;c++)d[c]=a(b[c]).data("item_key");0<d.length&&a(this).closest(".toggle-element").saveToggleElement(null,d)}});a.each(q,function(){var b=a(this).find("fieldset");3<b.length&&6>b.length&&a(this).addClass("two-cols");6<b.length&&a(this).addClass("three-cols")});a(document.body).trigger("yith-framework-enhanced-select-init")};g();a(document).on("click",".yith-plugin-fw-onoff-container span",function(){var b=a(this).prev("input");
18
- b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a.fn.saveToggleElement=function(b,d){var c=a(this),e="yith_plugin_fw_save_toggle_element",g=c.serializeToggleElement(),h=c.find(".yith-toggle_wrapper").attr("id"),l=a.urlParam("tab");"undefined"!=typeof d&&0<d.length&&g.append("yith_toggle_elements_order_keys",d);c.closest(".metaboxes-tab.yith-plugin-ui").length?(e="yith_plugin_fw_save_toggle_element_metabox",
19
- post_id=a(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=a(this).closest("form#post").find("#yit_metaboxes_nonce").val(),url=yith_framework_fw_fields.ajax_url+"?action="+e+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+h):url=yith_framework_fw_fields.admin_url+"?action="+e+"&tab="+l+"&toggle_id="+h;a.ajax({type:"POST",url:url,data:g,contentType:!1,processData:!1,success:function(d){b&&b.removeClass("show");a(document).trigger("yith_save_toggle_element_done",
20
- [d,c])}})};a.fn.serializeToggleElement=function(){var b=a(this),d=new FormData;b=a(b).find(":input").serializeArray();a.each(b,function(a,b){el_name=b.name;d.append(b.name,b.value)});return d};a.fn.formatToggleTitle=function(){var b=a(this),d=b.find(":input"),c=b.find("span.title").data("title_format"),e=b.find(".subtitle").data("subtitle_format"),g=/[^%%]+(?=[%%])/g;if("undefined"!=typeof c)var h=c.match(g);if("undefined"!=typeof e)var l=e.match(g);a.each(d,function(b,d){"undefined"!=typeof a(d).attr("id")&&
21
- ($field_id=a(d).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=a(d).val(),null!=h&&"undefined"!=typeof h&&-1!==h.indexOf($field_id)&&(c=c.replace("%%"+$field_id+"%%",$field_val)),null!=l&&"undefined"!=typeof l&&-1!==l.indexOf($field_id)&&(e=e.replace("%%"+$field_id+"%%",$field_val)))});""!==c&&b.find("span.title").html(c);""!==e&&b.find(".subtitle").html(e);a(document).trigger("yith-toggle-element-item-title",[b])};a.urlParam=function(a){a=
22
- (new RegExp("[?&]"+a+"=([^&#]*)")).exec(window.location.search);return null!==a?a[1]||0:!1};a(document).on("click",".yith-toggle-title",function(b){b=a(b.target);var d=b.closest(".yith-toggle-row"),c=d.find(".yith-toggle-content");if(b.hasClass("yith-plugin-fw-onoff")||b.hasClass("icon-drag"))return!1;d.is(".yith-toggle-row-opened")?c.slideUp(400):c.slideDown(400);d.toggleClass("yith-toggle-row-opened")});a(document).on("click",".yith-add-box-button",function(b){b.preventDefault();b=a(this).data("box_id");
23
- var d=a(this).closest(".yith-toggle_wrapper").attr("id");template=wp.template("yith-toggle-element-add-box-content-"+d);""!==b&&(a("#"+b).html(template({index:"box_id"})).slideToggle(),g(),a(document).trigger("yith-add-box-button-toggle",[a(this)]))});a(document).on("click",".yith-add-box-buttons .yith-save-button",function(b){b.preventDefault();b=a(this).parents(".yith-add-box");var d=a(this).closest(".yith-toggle_wrapper").attr("id"),c=b.find(".spinner"),e=a(this).parents(".toggle-element"),n=b.find(":input"),
24
- h=e.find(".yith-toggle-row").length,l=a('<input type="hidden">');l.val(h);a(document).trigger("yith-toggle-change-counter",[l,b]);h=l.val();d=wp.template("yith-toggle-element-item-"+d);var m=a(d({index:h}));c.addClass("show");a.each(n,function(b,c){"undefined"!=typeof a(c).attr("id")&&($field_id=a(c).attr("id"),$field_val=a(c).val(),"radio"==a(c).attr("type")?($field_id=$field_id.replace("new_",""),$field_id=$field_id.replace("-"+$field_val,""),$field_id=$field_id+"_dataindex-"+$field_val):$field_id=
25
- $field_id.replace("new_","")+"_"+h,a(c).is(":checked")&&a(m).find("#"+$field_id).prop("checked",!0),(a(c).hasClass("yith-post-search")||a(c).hasClass("yith-term-search"))&&a(m).find("#"+$field_id).html(a("#"+a(c).attr("id")).html()),a(m).find("#"+$field_id).val($field_val))});a(m).formatToggleTitle();c=a('<input type="hidden">').val("yes");a(document).trigger("yith-toggle-element-item-before-add",[b,m,c]);"yes"===c.val()&&(a(e).find(".yith-toggle-elements").append(m),a(b).find(".yith-plugin-fw-datepicker").datepicker("destroy"),
26
- a(b).html("").toggle(),e.saveToggleElement(),g())});a(document).on("click",".yith-toggle-row .yith-save-button",function(b){b.preventDefault();b=a(this).closest(".toggle-element");var d=a(this).closest(".yith-toggle-row"),c=d.find(".spinner");d.formatToggleTitle();var e=a('<input type="hidden">').val("yes");a(document).trigger("yith-toggle-element-item-before-update",[b,d,e]);"yes"===e.val()&&(c.addClass("show"),b.saveToggleElement(c))});a(document).on("click",".yith-toggle-row .yith-delete-button",
27
- function(b){b.preventDefault();b=a(this).closest(".toggle-element");a(this).closest(".yith-toggle-row").remove();b.saveToggleElement()});a(document).on("click",".yith-toggle-onoff",function(b){b.preventDefault();a(this).closest(".toggle-element").saveToggleElement()});a(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){a(this).closest(".yith-plugin-fw-radio").val(a(this).val()).trigger("change")});a(".yith-plugin-fw-radio").each(function(){a(this).val(a(this).attr("value"))})});
1
+ jQuery(function(a){var r=function(){var b=a(".yith-plugin-fw-datepicker"),c=a(".yith-plugin-fw-colorpicker"),d=a(".yith-plugin-fw-upload-img-url"),f=a(".add_media"),h=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),g=a(".yith-plugin-fw-sidebar-layout"),l=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),m=a(".codemirror"),n=a(".yit-icons-manager-wrapper");a(".yith-plugin-ui td.forminp-checkbox");b.each(function(){var b=a(this).data();a(this).datepicker(b)});c.wpColorPicker({palettes:!1,
2
+ width:200,mode:"hsl",clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});c.each(function(){var b=a(this).data("variations-label"),e=a(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),p=a(this).closest(".yith-single-colorpicker"),q=e.find(".wp-picker-input-wrap"),c=p.find(".wp-picker-input-wrap");q.length&&e.find("a.wp-color-result").attr("title",b);p.length&&p.find("a.wp-color-result").attr("title",b);q.find(".wp-picker-clear-custom").length||(b=a("<span/>").attr({"class":"wp-picker-default-custom"}),
3
+ q.find(".wp-picker-default").wrap(b));c.find(".wp-picker-clear-custom").length||(b=a("<span/>").attr({"class":"wp-picker-default-custom"}),c.find(".wp-picker-default").wrap(b))});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(d.change(function(){var b=a(this).val(),e=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>e.length&&(e=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
4
+ e.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):e.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var e=a(this).attr("id").replace(/-button$/,"");if(!k){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var k=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
5
+ states:b});k.on("select",function(){var b=k.state().get("selection").first().toJSON();a("#"+e).val(b.url);a("#"+e+"-yith-attachment-id")&&a("#"+e+"-yith-attachment-id").val(b.id);d.trigger("change")})}k.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var e=a(this);b=e.attr("id");e=e.attr("id").replace(/-button-reset$/,"");b=a("#"+b).data("default");a("#"+e).val(b);d.trigger("change")}));f.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
6
+ (a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var e=a(this);b=e.closest(".image-gallery");var c=b.find(".image_gallery_ids"),k=c.val(),d=b.find("ul.slides-wrapper"),f=wp.media.frames.image_gallery=wp.media({title:e.data("choose"),button:{text:e.data("update")},states:[new wp.media.controller.Library({title:e.data("choose"),filterable:"all",multiple:!0})]});f.on("select",function(){f.state().get("selection").map(function(a){a=a.toJSON();a.id&&(k=k?k+","+a.id:a.id,d.append('<li class="image" data-attachment_id="'+
7
+ a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+e.data("delete")+'">x</a></li></ul></li>'))});c.val(k)});f.open()}),h.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(e,c){var k="";b.find("li.image").css("cursor",
8
+ "default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),h.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),e=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var c="";a(this).closest("li.image").remove();e.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");c=c+b+","});b.val(c)}));g.each(function(){a(this).find("img").on("click",
9
+ function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),e=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var c=a(this).data("type");a(this).parent().children(":radio").attr("checked",!1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof c)switch(c){case "left":e.show();b.hide();break;case "right":b.show();e.hide();break;case "double":e.show();b.show();break;default:e.hide(),b.hide()}})});
10
+ l.each(function(){var b=a(this).data("val"),e=a(this).data("min"),c=a(this).data("max"),d=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:e,max:c,range:"min",step:d,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,e){a(this).find("input").val(e.value);a(this).find(".ui-slider-handle").text(e.value);a(this).siblings(".feedback").find("strong").text(e.value+f)}})});m.each(function(b,e){var c=CodeMirror.fromTextArea(e,{lineNumbers:1,
11
+ mode:"javascript",showCursorWhenSelecting:!0});a(e).data("codemirrorInstance",c)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});n.each(function(){var b=a(this),e=b.find(".yit-icons-manager-icon-preview").first(),c=b.find(".yit-icons-manager-icon-text");
12
+ b.on("click",".yit-icons-manager-list li",function(d){d=a(d.target).closest("li");var f=d.data("font"),k=d.data("icon"),h=d.data("key"),g=d.data("name");e.attr("data-font",f);e.attr("data-icon",k);e.attr("data-key",h);e.attr("data-name",g);c.val(f+":"+g);b.find(".yit-icons-manager-list li").removeClass("active");d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})});a(document).on("click",".yith-plugin-fw-select-images__item",
13
+ function(){var b=a(this),e=b.data("key"),c=b.closest(".yith-plugin-fw-select-images__wrapper"),d=c.find(".yith-plugin-fw-select-images__item");c=c.find("select").first();c.length&&(c.val(e),d.removeClass("yith-plugin-fw-select-images__item--selected"),b.addClass("yith-plugin-fw-select-images__item--selected"))});a(document.body).trigger("wc-enhanced-select-init");a(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",
14
+ stop:function(b,c){var e=jQuery(".ui-sortable-handle"),d,f=[];for(d=0;d<e.length;d++)f[d]=a(e[d]).data("item_key");0<f.length&&a(this).closest(".toggle-element").saveToggleElement(null,f)}});a(document.body).trigger("yith-framework-enhanced-select-init")};r();a(document).on("click",".yith-plugin-fw-onoff-container span",function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");
15
+ b.change()});a.fn.saveToggleElement=function(b,c){var d=a(this),f="yith_plugin_fw_save_toggle_element",h=d.serializeToggleElement(),g=d.find(".yith-toggle_wrapper"),l=g.attr("id"),m=a.urlParam("tab");h.append("security",g.data("nonce"));"undefined"!=typeof c&&0<c.length&&h.append("yith_toggle_elements_order_keys",c);d.closest(".metaboxes-tab.yith-plugin-ui").length?(f="yith_plugin_fw_save_toggle_element_metabox",post_id=a(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=a(this).closest("form#post").find("#yit_metaboxes_nonce").val(),
16
+ url=yith_framework_fw_fields.ajax_url+"?action="+f+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+l):url=yith_framework_fw_fields.admin_url+"?action="+f+"&tab="+m+"&toggle_id="+l;a.ajax({type:"POST",url:url,data:h,contentType:!1,processData:!1,success:function(c){b&&b.removeClass("show");a(document).trigger("yith_save_toggle_element_done",[c,d])}})};a.fn.serializeToggleElement=function(){var b=a(this),c=new FormData;b=a(b).find(":input").serializeArray();a.each(b,function(a,
17
+ b){el_name=b.name;c.append(b.name,b.value)});return c};a.fn.formatToggleTitle=function(){var b=a(this),c=b.find(":input"),d=b.find("span.title").data("title_format"),f=b.find(".subtitle").data("subtitle_format"),h=RegExp("[^%%]+(?=[%%])","g");if("undefined"!=typeof d)var g=d.match(h);if("undefined"!=typeof f)var l=f.match(h);a.each(c,function(b,c){"undefined"!=typeof a(c).attr("id")&&($field_id=a(c).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=
18
+ a(c).val(),null!=g&&"undefined"!=typeof g&&-1!==g.indexOf($field_id)&&(d=d.replace("%%"+$field_id+"%%",$field_val)),null!=l&&"undefined"!=typeof l&&-1!==l.indexOf($field_id)&&(f=f.replace("%%"+$field_id+"%%",$field_val)))});""!==d&&b.find("span.title").html(d);""!==f&&b.find(".subtitle").html(f);a(document).trigger("yith-toggle-element-item-title",[b])};a.urlParam=function(a){a=(new RegExp("[?&]"+a+"=([^&#]*)")).exec(window.location.search);return null!==a?a[1]||0:!1};a(document).on("click",".yith-toggle-title",
19
+ function(b){b=a(b.target);var c=b.closest(".yith-toggle-row"),d=c.find(".yith-toggle-content");if(b.hasClass("yith-plugin-fw-onoff")||b.hasClass("yith-icon-drag"))return!1;c.is(".yith-toggle-row-opened")?d.slideUp(400):d.slideDown(400);c.toggleClass("yith-toggle-row-opened")});a(document).on("click",".yith-add-box-button",function(b){b.preventDefault();b=a(this);var c=b.data("box_id"),d=b.data("closed_label"),f=b.data("opened_label"),h=b.closest(".yith-toggle_wrapper").attr("id");template=wp.template("yith-toggle-element-add-box-content-"+
20
+ h);""!==c&&(a("#"+c).html(template({index:"box_id"})).slideToggle(),""!==d&&(b.html()===d?b.html(f).removeClass("closed"):b.html(d).addClass("closed")),r(),a(document).trigger("yith-add-box-button-toggle",[b]))});a(document).on("click",".yith-add-box-buttons .yith-save-button",function(b){b.preventDefault();var c=a(this).parents(".yith-add-box"),d=a(this).closest(".yith-toggle_wrapper").attr("id");b=c.find(".spinner");var f=a(this).parents(".toggle-element"),h=c.find(":input"),g=f.find(".yith-toggle-row").length,
21
+ l=a('<input type="hidden">');l.val(g);a(document).trigger("yith-toggle-change-counter",[l,c]);g=l.val();d=wp.template("yith-toggle-element-item-"+d);var m=a(d({index:g}));b.addClass("show");a.each(h,function(b,c){"undefined"!=typeof a(c).attr("id")&&($field_id=a(c).attr("id"),$field_val=a(c).val(),"radio"==a(c).attr("type")?($field_id=$field_id.replace("new_",""),$field_id=$field_id.replace("-"+$field_val,""),$field_id=$field_id+"_dataindex-"+$field_val):$field_id=$field_id.replace("new_","")+"_"+
22
+ g,a(c).is(":checked")&&a(m).find("#"+$field_id).prop("checked",!0),(a(c).hasClass("yith-post-search")||a(c).hasClass("yith-term-search"))&&a(m).find("#"+$field_id).html(a("#"+a(c).attr("id")).html()),a(m).find("#"+$field_id).val($field_val))});a(m).formatToggleTitle();var n=a('<input type="hidden">').val("yes");a(document).trigger("yith-toggle-element-item-before-add",[c,m,n]);setTimeout(function(){"yes"===n.val()&&(a(f).find(".yith-toggle-elements").append(m),a(c).find(".yith-plugin-fw-datepicker").datepicker("destroy"),
23
+ a(c).html(""),a(c).prev(".yith-add-box-button").trigger("click"),f.saveToggleElement(),setTimeout(function(){a(f).find(".highlight").removeClass("highlight")},2E3),r())},1E3)});a(document).on("click",".yith-toggle-row .yith-save-button",function(b){b.preventDefault();b=a(this).closest(".toggle-element");var c=a(this).closest(".yith-toggle-row"),d=c.find(".spinner");c.formatToggleTitle();var f=a('<input type="hidden">').val("yes");a(document).trigger("yith-toggle-element-item-before-update",[b,c,f]);
24
+ "yes"===f.val()&&(d.addClass("show"),b.saveToggleElement(d))});a(document).on("click",".yith-toggle-row .yith-delete-button",function(b){b.preventDefault();b=a(this).closest(".toggle-element");a(this).closest(".yith-toggle-row").remove();b.saveToggleElement()});a(document).on("click",".yith-toggle-onoff",function(b){b.preventDefault();a(this).closest(".toggle-element").saveToggleElement()});a(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){a(this).closest(".yith-plugin-fw-radio").val(a(this).val()).trigger("change")});
25
+ a(document).on("click",".yith-password-eye",function(){var b=a(this),c=a(this).closest(".yith-password-wrapper").find("input");"password"===c.attr("type")?(c.attr("type","text"),b.addClass("yith-password-eye-closed")):(c.attr("type","password"),b.removeClass("yith-password-eye-closed"))});a(".yith-plugin-fw-radio").each(function(){a(this).val(a(this).attr("value"))})});
 
 
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.3.7
5
  * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
- * @version 3.3.6
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
@@ -123,4 +123,4 @@ if( ! function_exists( 'yit_get_upgrade_files' ) ){
123
 
124
  return $to_include;
125
  }
126
- }
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.3.11
5
  * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
+ * @version 3.3.11
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
123
 
124
  return $to_include;
125
  }
126
+ }
plugin-fw/lib/yit-assets.php CHANGED
@@ -50,8 +50,11 @@ if ( !class_exists( 'YIT_Assets' ) ) {
50
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
51
 
52
  //scripts
53
- wp_register_script( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/js/yith-fields' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker', 'wp-color-picker', 'codemirror', 'codemirror-javascript', 'jquery-ui-slider', 'jquery-ui-sortable' ), $this->version, true );
54
- wp_register_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'yith-plugin-fw-fields' ), $this->version, true );
 
 
 
55
  wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'jquery-ui-sortable', 'yith-plugin-fw-fields' ), $this->version, true );
56
  wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
57
  wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
@@ -85,6 +88,7 @@ if ( !class_exists( 'YIT_Assets' ) ) {
85
  'ajax_url' => admin_url( 'admin-ajax.php' ),
86
  'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
87
  'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
 
88
  ) );
89
 
90
  wp_localize_script( 'yith-plugin-fw-fields', 'yith_framework_fw_fields', array(
50
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
51
 
52
  //scripts
53
+ wp_register_script( 'yith-colorpicker', YIT_CORE_PLUGIN_URL . '/assets/js/yith-colorpicker.min.js', array( 'jquery', 'wp-color-picker' ), $this->version, true );
54
+
55
+ wp_register_script( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/js/yith-fields' . $suffix . '.js', array( 'jquery', 'jquery-ui-datepicker', 'yith-colorpicker', 'codemirror', 'codemirror-javascript', 'jquery-ui-slider', 'jquery-ui-sortable' ), $this->version, true );
56
+
57
+ wp_register_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'yith-plugin-fw-fields' ), $this->version, true );
58
  wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel' . $suffix . '.js', array( 'jquery', 'wp-color-picker', 'jquery-ui-sortable', 'yith-plugin-fw-fields' ), $this->version, true );
59
  wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
60
  wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
88
  'ajax_url' => admin_url( 'admin-ajax.php' ),
89
  'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
90
  'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
91
+ 'search_customers_nonce' => wp_create_nonce( 'search-customers' ),
92
  ) );
93
 
94
  wp_localize_script( 'yith-plugin-fw-fields', 'yith_framework_fw_fields', array(
plugin-fw/lib/yit-cpt-unlimited.php CHANGED
@@ -1590,8 +1590,9 @@ class YIT_CPT_Unlimited {
1590
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
1591
  */
1592
  public function admin_assets() {
 
1593
  wp_enqueue_media();
1594
- wp_enqueue_script( 'yit-cptu', YIT_CORE_PLUGIN_URL . '/assets/js/yit-cpt-unlimited.js', array('jquery'), '', true );
1595
  }
1596
 
1597
  /**
@@ -1619,6 +1620,7 @@ class YIT_CPT_Unlimited {
1619
  if ( $cptu != $this->_name || ! $this->_is_valid( $post_type ) ) {
1620
  return;
1621
  }
 
1622
  ?>
1623
  <script>
1624
  (function($) {
@@ -1629,7 +1631,8 @@ class YIT_CPT_Unlimited {
1629
  href: '#',
1630
  class: 'multi-uploader add-new-h2',
1631
  'data-uploader_title': '<?php printf( __( 'Add %s from images', 'yith-plugin-fw' ), $label_plural ) ?>',
1632
- 'data-uploader_button_text': '<?php printf( __( 'Add %s', 'yith-plugin-fw' ), $label_plural ) ?>'
 
1633
  }).text('<?php _e( 'Upload multiple files', 'yith-plugin-fw' ) ?>');
1634
 
1635
  var spinner = $('<span />', {
@@ -1652,6 +1655,9 @@ class YIT_CPT_Unlimited {
1652
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
1653
  */
1654
  public function post_multiuploader() {
 
 
 
1655
  if ( ! isset( $_REQUEST['images'] ) || ! isset( $_REQUEST['post_type'] ) && $this->_is_valid( $_REQUEST['post_type'] ) ) {
1656
  return;
1657
  }
1590
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
1591
  */
1592
  public function admin_assets() {
1593
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
1594
  wp_enqueue_media();
1595
+ wp_enqueue_script( 'yit-cptu', YIT_CORE_PLUGIN_URL . '/assets/js/yit-cpt-unlimited' . $suffix . 'js', array('jquery'), '', true );
1596
  }
1597
 
1598
  /**
1620
  if ( $cptu != $this->_name || ! $this->_is_valid( $post_type ) ) {
1621
  return;
1622
  }
1623
+
1624
  ?>
1625
  <script>
1626
  (function($) {
1631
  href: '#',
1632
  class: 'multi-uploader add-new-h2',
1633
  'data-uploader_title': '<?php printf( __( 'Add %s from images', 'yith-plugin-fw' ), $label_plural ) ?>',
1634
+ 'data-uploader_button_text': '<?php printf( __( 'Add %s', 'yith-plugin-fw' ), $label_plural ) ?>',
1635
+ 'data-nonce': '<?php echo wp_create_nonce( 'cpt-unlimited-multiuploader' ); ?>'
1636
  }).text('<?php _e( 'Upload multiple files', 'yith-plugin-fw' ) ?>');
1637
 
1638
  var spinner = $('<span />', {
1655
  * @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
1656
  */
1657
  public function post_multiuploader() {
1658
+
1659
+ check_ajax_referer( 'cpt-unlimited-multiuploader' );
1660
+
1661
  if ( ! isset( $_REQUEST['images'] ) || ! isset( $_REQUEST['post_type'] ) && $this->_is_valid( $_REQUEST['post_type'] ) ) {
1662
  return;
1663
  }
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -608,6 +608,13 @@ if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
608
  * @author Emanuela Castorina
609
  */
610
  public function save_toggle_element_options() {
 
 
 
 
 
 
 
611
  $posted = $_POST;
612
  $tabs = $this->get_available_tabs();
613
  $yit_options = $this->get_main_array_options();
@@ -615,7 +622,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
615
  $option_id = isset( $_REQUEST[ 'toggle_id' ] ) ? $_REQUEST[ 'toggle_id' ] : '';
616
  $updated = false;
617
 
618
- if ( !empty( $yit_options[ $current_tab ] ) && !empty( $option_id ) ) {
619
 
620
  $tab_options = $yit_options[ $current_tab ];
621
  foreach ( $tab_options as $key => $item ) {
608
  * @author Emanuela Castorina
609
  */
610
  public function save_toggle_element_options() {
611
+
612
+ check_ajax_referer( 'save-toggle-element', 'security' );
613
+
614
+ if( ! current_user_can( $this->settings['capability'] ) ){
615
+ wp_die( -1 );
616
+ }
617
+
618
  $posted = $_POST;
619
  $tabs = $this->get_available_tabs();
620
  $yit_options = $this->get_main_array_options();
622
  $option_id = isset( $_REQUEST[ 'toggle_id' ] ) ? $_REQUEST[ 'toggle_id' ] : '';
623
  $updated = false;
624
 
625
+ if ( ! empty( $yit_options[ $current_tab ] ) && ! empty( $option_id ) ) {
626
 
627
  $tab_options = $yit_options[ $current_tab ];
628
  foreach ( $tab_options as $key => $item ) {
plugin-fw/lib/yith-system-status.php CHANGED
@@ -81,6 +81,14 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
81
  return;
82
  }
83
 
 
 
 
 
 
 
 
 
84
  $system_info = get_option( 'yith_system_info' );
85
  $error_notice = ( $system_info['errors'] === true ? ' <span class="yith-system-info-menu update-plugins">!</span>' : '' );
86
 
@@ -103,6 +111,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
103
  'mbstring_enabled' => __( 'MultiByte String', 'yith-plugin-fw' ),
104
  'imagick_version' => __( 'ImageMagick Version', 'yith-plugin-fw' ),
105
  'gd_enabled' => __( 'GD Library', 'yith-plugin-fw' ),
 
106
  'opcache_enabled' => __( 'OPCache Save Comments', 'yith-plugin-fw' ),
107
  'url_fopen_enabled' => __( 'URL FOpen', 'yith-plugin-fw' ),
108
  );
@@ -158,6 +167,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
158
  */
159
  public function check_system_status() {
160
 
 
161
  if ( '' == get_option( 'yith_system_info' ) || ( isset( $_GET['page'] ) && $_GET['page'] == $this->_page ) ) {
162
 
163
  $this->add_requirements( __( 'YITH Plugins', 'yith-plugin-fw' ), array( 'min_wp_version' => '4.9', 'min_wc_version' => '3.4', 'min_php_version' => '5.6.20' ) );
@@ -179,6 +189,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
179
  case 'mbstring_enabled' :
180
  case 'simplexml_enabled':
181
  case 'gd_enabled':
 
182
  case 'url_fopen_enabled':
183
  case 'opcache_enabled' :
184
 
@@ -198,7 +209,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
198
  break;
199
 
200
  default:
201
- if ( ! version_compare( $value, $required_value, '>=' ) ) {
202
  $check_results[ $key ]['errors'][ $plugin_name ] = $required_value;
203
  $errors = true;
204
  }
@@ -295,13 +306,20 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
295
  */
296
  public function get_system_info() {
297
 
298
- //Get TLS version
299
- $ch = curl_init( 'https://www.howsmyssl.com/a/check' );
300
- curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
301
- $data = curl_exec( $ch );
302
- curl_close( $ch );
303
- $json = json_decode( $data );
304
- $tls = str_replace( 'TLS ', '', $json->tls_version );
 
 
 
 
 
 
 
305
 
306
  //Get PHP version
307
  preg_match( "#^\d+(\.\d+)*#", PHP_VERSION, $match );
@@ -313,15 +331,14 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
313
  $wp_memory_limit = max( $wp_memory_limit, $this->memory_size_to_num( @ini_get( 'memory_limit' ) ) );
314
  }
315
 
316
- $imagick_version = '0.0.0';
317
- if ( class_exists( 'Imagick' ) ) {
318
  preg_match( "/([0-9]+\.[0-9]+\.[0-9]+)/", Imagick::getVersion()['versionString'], $imatch );
319
  $imagick_version = $imatch[0];
320
  }
321
 
322
  return apply_filters( 'yith_system_additional_check', array(
323
  'min_wp_version' => get_bloginfo( 'version' ),
324
- 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : __( 'Not installed', 'yith-plugin-fw' ),
325
  'wp_memory_limit' => $wp_memory_limit,
326
  'min_php_version' => $php_version,
327
  'min_tls_version' => $tls,
@@ -330,6 +347,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
330
  'mbstring_enabled' => extension_loaded( 'mbstring' ),
331
  'simplexml_enabled' => extension_loaded( 'simplexml' ),
332
  'gd_enabled' => extension_loaded( 'gd' ) && function_exists( 'gd_info' ),
 
333
  'opcache_enabled' => ini_get( 'opcache.save_comments' ),
334
  'url_fopen_enabled' => ini_get( 'allow_url_fopen' ),
335
  ) );
@@ -347,8 +365,9 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
347
  * @author Alberto Ruggiero
348
  */
349
  public function memory_size_to_num( $memory_size ) {
350
- $unit = strtoupper( substr( $memory_size, - 1 ) );
351
- $size = substr( $memory_size, 0, - 1 );
 
352
  $multiplier = array(
353
  'P' => 5,
354
  'T' => 4,
@@ -356,8 +375,11 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
356
  'M' => 2,
357
  'K' => 1,
358
  );
359
- for ( $i = 1; $i <= $multiplier[ $unit ]; $i ++ ) {
360
- $size *= 1024;
 
 
 
361
  }
362
 
363
  return $size;
81
  return;
82
  }
83
 
84
+ /**
85
+ * Add to prevent trigger admin_init called directly
86
+ * wp-admin/admin-post.php?page=yith_system_info
87
+ */
88
+ if ( ! is_user_logged_in() ) {
89
+ return;
90
+ }
91
+
92
  $system_info = get_option( 'yith_system_info' );
93
  $error_notice = ( $system_info['errors'] === true ? ' <span class="yith-system-info-menu update-plugins">!</span>' : '' );
94
 
111
  'mbstring_enabled' => __( 'MultiByte String', 'yith-plugin-fw' ),
112
  'imagick_version' => __( 'ImageMagick Version', 'yith-plugin-fw' ),
113
  'gd_enabled' => __( 'GD Library', 'yith-plugin-fw' ),
114
+ 'iconv_enabled' => __( 'Iconv Module', 'yith-plugin-fw' ),
115
  'opcache_enabled' => __( 'OPCache Save Comments', 'yith-plugin-fw' ),
116
  'url_fopen_enabled' => __( 'URL FOpen', 'yith-plugin-fw' ),
117
  );
167
  */
168
  public function check_system_status() {
169
 
170
+
171
  if ( '' == get_option( 'yith_system_info' ) || ( isset( $_GET['page'] ) && $_GET['page'] == $this->_page ) ) {
172
 
173
  $this->add_requirements( __( 'YITH Plugins', 'yith-plugin-fw' ), array( 'min_wp_version' => '4.9', 'min_wc_version' => '3.4', 'min_php_version' => '5.6.20' ) );
189
  case 'mbstring_enabled' :
190
  case 'simplexml_enabled':
191
  case 'gd_enabled':
192
+ case 'iconv_enabled':
193
  case 'url_fopen_enabled':
194
  case 'opcache_enabled' :
195
 
209
  break;
210
 
211
  default:
212
+ if ( ! version_compare( $value, $required_value, '>=' ) && $value != 'n/a' ) {
213
  $check_results[ $key ]['errors'][ $plugin_name ] = $required_value;
214
  $errors = true;
215
  }
306
  */
307
  public function get_system_info() {
308
 
309
+ $tls = $imagick_version = 'n/a';
310
+
311
+ if ( function_exists( 'curl_init' ) && apply_filters( 'yith_system_status_check_ssl', true ) ) {
312
+ //Get TLS version
313
+ $ch = curl_init();
314
+ curl_setopt( $ch, CURLOPT_URL, 'https://www.howsmyssl.com/a/check' );
315
+ curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, 0 );
316
+ curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0 );
317
+ curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
318
+ $data = curl_exec( $ch );
319
+ curl_close( $ch );
320
+ $json = json_decode( $data );
321
+ $tls = $json != null ? str_replace( 'TLS ', '', $json->tls_version ) : '';
322
+ }
323
 
324
  //Get PHP version
325
  preg_match( "#^\d+(\.\d+)*#", PHP_VERSION, $match );
331
  $wp_memory_limit = max( $wp_memory_limit, $this->memory_size_to_num( @ini_get( 'memory_limit' ) ) );
332
  }
333
 
334
+ if ( class_exists( 'Imagick' ) && is_callable( array( 'Imagick', 'getVersion' ) ) ) {
 
335
  preg_match( "/([0-9]+\.[0-9]+\.[0-9]+)/", Imagick::getVersion()['versionString'], $imatch );
336
  $imagick_version = $imatch[0];
337
  }
338
 
339
  return apply_filters( 'yith_system_additional_check', array(
340
  'min_wp_version' => get_bloginfo( 'version' ),
341
+ 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : 'n/a',
342
  'wp_memory_limit' => $wp_memory_limit,
343
  'min_php_version' => $php_version,
344
  'min_tls_version' => $tls,
347
  'mbstring_enabled' => extension_loaded( 'mbstring' ),
348
  'simplexml_enabled' => extension_loaded( 'simplexml' ),
349
  'gd_enabled' => extension_loaded( 'gd' ) && function_exists( 'gd_info' ),
350
+ 'iconv_enabled' => extension_loaded( 'iconv' ),
351
  'opcache_enabled' => ini_get( 'opcache.save_comments' ),
352
  'url_fopen_enabled' => ini_get( 'allow_url_fopen' ),
353
  ) );
365
  * @author Alberto Ruggiero
366
  */
367
  public function memory_size_to_num( $memory_size ) {
368
+ $unit = strtoupper( substr( $memory_size, - 1 ) );
369
+ $size = substr( $memory_size, 0, - 1 );
370
+
371
  $multiplier = array(
372
  'P' => 5,
373
  'T' => 4,
375
  'M' => 2,
376
  'K' => 1,
377
  );
378
+
379
+ if ( isset( $multiplier[ $unit ] ) ) {
380
+ for ( $i = 1; $i <= $multiplier[ $unit ]; $i ++ ) {
381
+ $size *= 1024;
382
+ }
383
  }
384
 
385
  return $size;
plugin-fw/templates/fields/ajax-customers.php ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $field
11
+ *
12
+ * [Important Note] the stored value is:
13
+ * - array if WooCommerce version >= 3.0.0
14
+ * - string (comma-separated) otherwise
15
+ */
16
+
17
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
+
19
+ yith_plugin_fw_enqueue_enhanced_select();
20
+
21
+ $default_field = array(
22
+ 'id' => '',
23
+ 'name' => '',
24
+ 'class' => 'yith-customer-search',
25
+ 'no_value' => false,
26
+ 'multiple' => false,
27
+ 'data' => array(),
28
+ 'style' => 'width:400px',
29
+ 'value' => ''
30
+ );
31
+
32
+ foreach ( $default_field as $field_key => $field_value ) {
33
+ if ( empty( $field[ $field_key ] ) ) {
34
+ $field[ $field_key ] = $field_value;
35
+ }
36
+ }
37
+ unset( $field_key );
38
+ unset( $field_value );
39
+ extract( $field );
40
+ /**
41
+ * @var string $id
42
+ * @var string $class
43
+ * @var bool $no_value
44
+ * @var bool $multiple
45
+ * @var array $data
46
+ * @var string $name
47
+ * @var string $style
48
+ * @var string|array $value
49
+ */
50
+
51
+
52
+ if ( $no_value )
53
+ $value = array();
54
+
55
+ $default_data = array(
56
+ 'action' => 'woocommerce_json_search_customers',
57
+ 'placeholder' => __( 'Search Customers', 'yith-plugin-fw' ),
58
+ 'allow_clear' => false,
59
+ );
60
+ $data = wp_parse_args( $data, $default_data );
61
+ $show_id = isset( $data[ 'show_id' ] ) && $data[ 'show_id' ];
62
+
63
+ // separate select2 needed data and other data
64
+ $select2_custom_attributes = array();
65
+ $select2_data = array();
66
+ $select2_data_keys = array( 'placeholder', 'allow_clear', 'action' );
67
+ foreach ( $data as $d_key => $d_value ) {
68
+ if ( in_array( $d_key, $select2_data_keys ) ) {
69
+ $select2_data[ $d_key ] = $d_value;
70
+ } else {
71
+ $select2_custom_attributes[ 'data-' . $d_key ] = $d_value;
72
+ }
73
+ }
74
+
75
+ // populate data-selected by value
76
+ $data_selected = array();
77
+ if ( !empty( $value ) ) {
78
+ if ( $multiple ) {
79
+ $value = is_array( $value ) ? $value : explode( ',', $value );
80
+ foreach ( $value as $user_id ) {
81
+ $user = get_user_by('id', $user_id);
82
+ $data_selected[ $user_id ] = sprintf(
83
+ esc_html__( '%1$s (#%2$s &ndash; %3$s)', 'woocommerce' ),
84
+ $user->display_name,
85
+ absint( $user->ID ),
86
+ $user->user_email
87
+ );
88
+ }
89
+ } else {
90
+ $user_id = absint( $value );
91
+ $user = get_user_by('id', $user_id);
92
+ $data_selected[ $user_id ] = sprintf(
93
+ esc_html__( '%1$s (#%2$s &ndash; %3$s)', 'woocommerce' ),
94
+ $user->display_name,
95
+ absint( $user->ID ),
96
+ $user->user_email
97
+ );
98
+ }
99
+ }
100
+
101
+ // parse $value to string to prevent issue with wc2.6
102
+ $value = is_array( $value ) ? implode( ',', $value ) : $value;
103
+ ?>
104
+ <div class="yith-plugin-fw-select2-wrapper">
105
+ <?php
106
+ if ( function_exists( 'yit_add_select2_fields' ) ) {
107
+ yit_add_select2_fields( array(
108
+ 'id' => $id,
109
+ 'name' => $name,
110
+ 'class' => $class,
111
+ 'data-multiple' => $multiple,
112
+ 'data-placeholder' => $select2_data[ 'placeholder' ],
113
+ 'data-allow_clear' => $select2_data[ 'allow_clear' ],
114
+ 'data-action' => $select2_data[ 'action' ],
115
+ 'custom-attributes' => $select2_custom_attributes,
116
+ 'style' => $style,
117
+ 'value' => $value,
118
+ 'data-selected' => $data_selected,
119
+ ) );
120
+ }
121
+ ?>
122
+ </div>
plugin-fw/templates/fields/colorpicker.php CHANGED
@@ -16,13 +16,17 @@ wp_enqueue_style( 'wp-color-picker' );
16
 
17
  extract( $field );
18
 
19
- $class = !empty( $class ) ? $class : 'yith-plugin-fw-colorpicker';
 
 
 
 
20
  ?>
21
 
22
  <input type="text" name="<?php echo $name ?>"
23
  id="<?php echo $id ?>" value="<?php echo esc_attr( $value ) ?>"
24
  <?php if ( isset( $default ) ) : ?> data-default-color="<?php echo $default ?>"<?php endif ?>
25
- class="<?php echo $class ?>"
26
  <?php echo $custom_attributes ?>
27
  <?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>/>
28
 
16
 
17
  extract( $field );
18
 
19
+ $class = !empty( $class ) ? $class : 'yith-plugin-fw-colorpicker color-picker';
20
+ $default = isset( $default ) ? $default : '';
21
+ if( isset($std) && !empty( $std) && empty($default) ){
22
+ $default = $std;
23
+ }
24
  ?>
25
 
26
  <input type="text" name="<?php echo $name ?>"
27
  id="<?php echo $id ?>" value="<?php echo esc_attr( $value ) ?>"
28
  <?php if ( isset( $default ) ) : ?> data-default-color="<?php echo $default ?>"<?php endif ?>
29
+ class="<?php echo $class ?>" data-alpha="true"
30
  <?php echo $custom_attributes ?>
31
  <?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>/>
32
 
plugin-fw/templates/fields/multi-colorpicker.php CHANGED
@@ -20,20 +20,55 @@ if ( ! isset( $colorpickers ) ){
20
  }
21
  $class = !empty( $class ) ? $class : 'yith-plugin-fw-multi-colorpicker';
22
  ?>
23
- <div class="<?php echo esc_attr( $class )?>">
24
 
25
  <?php
26
- foreach ( $colorpickers as $colorpicker ):
27
- $colorpicker['type'] = 'colorpicker';
28
- $colorpicker['title'] = $colorpicker['name'];
29
- $colorpicker['name'] = $name."[{$colorpicker['id']}]";
30
- $colorpicker['value'] = isset( $value[$colorpicker['id']] ) ? $value[$colorpicker['id']] : $colorpicker['default'];
31
- $colorpicker['id'] = $name."_".$colorpicker['id'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ?>
33
- <div class="yith-single-colorpicker colorpicker">
34
- <label for="<?php echo esc_attr($colorpicker['id'] )?>"><?php echo esc_html($colorpicker['title']) ?></label>
35
- <?php echo yith_plugin_fw_get_field( $colorpicker, true, false ); ?>
36
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
- <?php endforeach;?>
 
 
 
 
 
 
39
  </div>
20
  }
21
  $class = !empty( $class ) ? $class : 'yith-plugin-fw-multi-colorpicker';
22
  ?>
23
+ <div class="<?php echo esc_attr( $class )?>" id="<?php echo esc_attr( $id ) ?>">
24
 
25
  <?php
26
+ $items_to_process = array();
27
+
28
+ for ( $i = 0; $i < count( $colorpickers ); $i++ ):
29
+ $items = $colorpickers[ $i ];
30
+
31
+ // make sure that we have at least one group
32
+ if( isset( $items['id'] ) ){
33
+ $items_to_process[] = $items;
34
+ $next = isset( $colorpickers[ $i + 1 ] ) ? $colorpickers[ $i + 1 ] : false;
35
+
36
+ if( isset( $next['id'] ) ){
37
+ continue;
38
+ }
39
+ }
40
+ else{
41
+ $items_to_process = $items;
42
+ }
43
+
44
+ if( isset( $items_to_process['desc'] ) ){
45
+ $group_desc = $items_to_process['desc'];
46
+ unset( $items_to_process['desc'] );
47
+ }
48
  ?>
49
+ <div class="yith-colorpicker-group">
50
+ <?php
51
+ foreach( $items_to_process as $colorpicker ):
52
+ if( ! is_array( $colorpicker ) ){
53
+ continue;
54
+ }
55
+
56
+ $colorpicker['type'] = 'colorpicker';
57
+ $colorpicker['title'] = $colorpicker['name'];
58
+ $colorpicker['name'] = $name."[{$colorpicker['id']}]";
59
+ $colorpicker['value'] = isset( $value[$colorpicker['id']] ) ? $value[$colorpicker['id']] : $colorpicker['default'];
60
+ $colorpicker['id'] = $name."_".$colorpicker['id'];
61
+ ?>
62
+ <div class="yith-single-colorpicker colorpicker">
63
+ <label for="<?php echo esc_attr($colorpicker['id'] )?>"><?php echo esc_html($colorpicker['title']) ?></label>
64
+ <?php echo yith_plugin_fw_get_field( $colorpicker, true, false ); ?>
65
+ </div>
66
 
67
+ <?php endforeach; ?>
68
+ <?php if( ! empty( $group_desc ) ): ?>
69
+ <span class="description"><?php echo $group_desc ?></span>
70
+ <?php endif; ?>
71
+ </div>
72
+ <?php $items_to_process = array() ?>
73
+ <?php endfor; ?>
74
  </div>
plugin-fw/templates/fields/password.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $field
11
+ */
12
+
13
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
14
+
15
+ extract( $field );
16
+
17
+ $class = isset( $class ) ? $class : 'yith-plugin-fw-text-input';
18
+ ?>
19
+ <div class="yith-password-wrapper">
20
+
21
+ <input type="password" name="<?php echo $name ?>"
22
+ id="<?php echo $id ?>"
23
+ value="<?php echo esc_attr( $value ) ?>"
24
+ class="<?php echo $class ?> yith-password"
25
+ <?php if ( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>
26
+ <?php echo $custom_attributes ?>
27
+ <?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>/>
28
+ <span class="yith-password-eye"></span>
29
+ </div>
30
+
plugin-fw/templates/fields/radio.php CHANGED
@@ -17,6 +17,7 @@ extract( $field );
17
 
18
  $class = isset( $class ) ? $class : '';
19
  $class = 'yith-plugin-fw-radio ' . $class;
 
20
  ?>
21
  <div class="<?php echo $class ?>" id="<?php echo $id ?>"
22
  <?php echo $custom_attributes ?>
17
 
18
  $class = isset( $class ) ? $class : '';
19
  $class = 'yith-plugin-fw-radio ' . $class;
20
+
21
  ?>
22
  <div class="<?php echo $class ?>" id="<?php echo $id ?>"
23
  <?php echo $custom_attributes ?>
plugin-fw/templates/fields/toggle-element.php CHANGED
@@ -25,42 +25,49 @@ $field = wp_parse_args( $field, $defaults );
25
  extract( $field );
26
 
27
  $show_add_button = isset( $add_button ) && $add_button;
 
28
  $values = isset( $value ) ? $value : get_option( $name, array() );
29
  $values = maybe_unserialize( $values );
30
  $sortable = isset( $sortable ) ? $sortable : false;
31
  $class_wrapper = $sortable ? 'ui-sortable' : '';
32
  $onoff_id = isset( $onoff_field['id'] ) ? $onoff_field['id'] : '';
 
33
 
34
  if ( empty( $values ) && ! $show_add_button && $elements ) {
 
35
  //populate a toggle element with the default
36
  foreach ( $elements as $element ) {
37
  $values[0][ $element['id'] ] = $element['default'];
38
  }
39
  }
 
40
  ?>
41
- <div class="yith-toggle_wrapper <?php echo $class_wrapper ?>" id="<?php echo $id ?>">
42
  <?php
43
 
44
  if ( $show_add_button ):
45
 
46
  ?>
47
  <button class="yith-add-button yith-add-box-button"
48
- data-box_id="<?php echo $id; ?>_add_box"><?php echo $add_button; ?></button>
 
 
49
  <div id="<?php echo $id; ?>_add_box" class="yith-add-box">
50
  </div>
51
  <script type="text/template" id="tmpl-yith-toggle-element-add-box-content-<?php echo $id ?>">
52
  <?php foreach ( $elements as $element ):
53
  $element['title'] = $element['name'];
 
54
  $element['type'] = isset( $element['yith-type'] ) ? $element['yith-type'] : $element['type'];
55
  unset( $element['yith-type'] );
56
  $element['value'] = isset($element['default']) ? $element['default'] : '';
57
  $element['id'] = 'new_'.$element['id'];
58
  $element['name'] = $name. "[{{{data.index}}}][" . $element['id'] . "]";
59
-
60
  ?>
61
- <div class="yith-add-box-row <?php echo '{{{data.index}}}'?>">
62
 
63
- <label for="<?php echo $element['id']; ?>"><?php echo esc_html( $element['title'] ); ?></label>
64
  <div class="yith-plugin-fw-option-with-description">
65
  <?php
66
  echo yith_plugin_fw_get_field( $element, true ); ?>
@@ -70,7 +77,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
70
  <?php endforeach; ?>
71
 
72
  <div class="yith-add-box-buttons">
73
- <button class="yith-save-button">
74
  <?php echo $save_button['name'] ; ?>
75
  </button>
76
  </div>
@@ -101,7 +108,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
101
  <?php endif; ?>
102
  </h3>
103
  <span class="yith-toggle">
104
- <span class="yith-icon icon-arrow_right ui-sortable-handle"></span>
105
  </span>
106
  <?php
107
  if ( ! empty( $onoff_field ) && is_array( $onoff_field ) ):
@@ -119,7 +126,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
119
  </span>
120
 
121
  <?php if ( $sortable ): ?>
122
- <span class="yith-icon icon-drag"></span>
123
  <?php endif ?>
124
 
125
  <?php endif; ?>
@@ -134,8 +141,9 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
134
  $element['name'] = $name . "[$i][" . $element['id'] . "]";
135
  $element['value'] = isset( $value[ $element['id'] ] ) ? $value[ $element['id'] ] : $element['default'];
136
  $element['id'] = $element['id'].'_'.$i;
 
137
  ?>
138
- <div class="yith-toggle-content-row <?php echo $element['type'] ?>">
139
  <label for="<?php echo $element['id']; ?>"><?php echo $element['title']; ?></label>
140
  <div class="yith-plugin-fw-option-with-description">
141
  <?php echo yith_plugin_fw_get_field( $element, true ); ?>
@@ -180,7 +188,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
180
  <!-- Schedule Item template -->
181
  <script type="text/template" id="tmpl-yith-toggle-element-item-<?php echo $id ?>">
182
  <div id="<?php echo $id; ?>_{{{data.index}}}"
183
- class="yith-toggle-row <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo $class; ?>"
184
  data-item_key="{{{data.index}}}" <?php echo $custom_attributes; ?>
185
  data-item_key="{{{data.index}}}">
186
  <div class="yith-toggle-title">
@@ -192,7 +200,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
192
 
193
  </h3>
194
  <span class="yith-toggle">
195
- <span class="yith-icon icon-arrow_right"></span>
196
  </span>
197
  <?php
198
  if ( ! empty( $onoff_field ) && is_array( $onoff_field ) ):
@@ -211,7 +219,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
211
 
212
  <?php endif; ?>
213
  <?php if ( $sortable ): ?>
214
- <span class="yith-icon icon-drag ui-sortable-handle"></span>
215
  <?php endif ?>
216
  </div>
217
  <div class="yith-toggle-content">
@@ -222,9 +230,10 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
222
  unset( $element['yith-type'] );
223
  $element['title'] = $element['name'];
224
  $element['name'] = $name . "[{{{data.index}}}][" . $element['id'] . "]";
225
- $element['id'] = $element['id'].'_{{{data.index}}}';
 
226
  ?>
227
- <div class="yith-toggle-content-row <?php echo $element['type'] ?>">
228
  <label for="<?php echo $element['id']; ?>"><?php echo $element['title']; ?></label>
229
  <div class="yith-plugin-fw-option-with-description">
230
  <?php echo yith_plugin_fw_get_field( $element, true ); ?>
25
  extract( $field );
26
 
27
  $show_add_button = isset( $add_button ) && $add_button;
28
+ $add_button_closed = isset( $add_button_closed ) ? $add_button_closed : '';
29
  $values = isset( $value ) ? $value : get_option( $name, array() );
30
  $values = maybe_unserialize( $values );
31
  $sortable = isset( $sortable ) ? $sortable : false;
32
  $class_wrapper = $sortable ? 'ui-sortable' : '';
33
  $onoff_id = isset( $onoff_field['id'] ) ? $onoff_field['id'] : '';
34
+ $ajax_nonce = wp_create_nonce( 'save-toggle-element' );
35
 
36
  if ( empty( $values ) && ! $show_add_button && $elements ) {
37
+ $values = array();
38
  //populate a toggle element with the default
39
  foreach ( $elements as $element ) {
40
  $values[0][ $element['id'] ] = $element['default'];
41
  }
42
  }
43
+
44
  ?>
45
+ <div class="yith-toggle_wrapper <?php echo $class_wrapper ?>" id="<?php echo $id ?>" data-nonce="<?php echo $ajax_nonce; ?>">
46
  <?php
47
 
48
  if ( $show_add_button ):
49
 
50
  ?>
51
  <button class="yith-add-button yith-add-box-button"
52
+ data-box_id="<?php echo $id; ?>_add_box"
53
+ data-closed_label="<?php echo esc_attr( $add_button_closed ) ?>"
54
+ data-opened_label="<?php echo esc_attr( $add_button ) ?>"><?php echo $add_button; ?></button>
55
  <div id="<?php echo $id; ?>_add_box" class="yith-add-box">
56
  </div>
57
  <script type="text/template" id="tmpl-yith-toggle-element-add-box-content-<?php echo $id ?>">
58
  <?php foreach ( $elements as $element ):
59
  $element['title'] = $element['name'];
60
+
61
  $element['type'] = isset( $element['yith-type'] ) ? $element['yith-type'] : $element['type'];
62
  unset( $element['yith-type'] );
63
  $element['value'] = isset($element['default']) ? $element['default'] : '';
64
  $element['id'] = 'new_'.$element['id'];
65
  $element['name'] = $name. "[{{{data.index}}}][" . $element['id'] . "]";
66
+ $class_element = isset( $element['class_row'] ) ? $element['class_row'] : '';
67
  ?>
68
+ <div class="yith-add-box-row <?php echo $class_element ?> <?php echo '{{{data.index}}}'?>">
69
 
70
+ <label for="<?php echo $element['id']; ?>"><?php echo ( $element['title'] ); ?></label>
71
  <div class="yith-plugin-fw-option-with-description">
72
  <?php
73
  echo yith_plugin_fw_get_field( $element, true ); ?>
77
  <?php endforeach; ?>
78
 
79
  <div class="yith-add-box-buttons">
80
+ <button class="button-primary yith-save-button">
81
  <?php echo $save_button['name'] ; ?>
82
  </button>
83
  </div>
108
  <?php endif; ?>
109
  </h3>
110
  <span class="yith-toggle">
111
+ <span class="yith-icon yith-icon-arrow_right ui-sortable-handle"></span>
112
  </span>
113
  <?php
114
  if ( ! empty( $onoff_field ) && is_array( $onoff_field ) ):
126
  </span>
127
 
128
  <?php if ( $sortable ): ?>
129
+ <span class="yith-icon yith-icon-drag"></span>
130
  <?php endif ?>
131
 
132
  <?php endif; ?>
141
  $element['name'] = $name . "[$i][" . $element['id'] . "]";
142
  $element['value'] = isset( $value[ $element['id'] ] ) ? $value[ $element['id'] ] : $element['default'];
143
  $element['id'] = $element['id'].'_'.$i;
144
+ $element['class_row'] = isset( $element['class_row'] ) ? $element['class_row'] : '';
145
  ?>
146
+ <div class="yith-toggle-content-row <?php echo $element['class_row'].' '.$element['type'] ?>">
147
  <label for="<?php echo $element['id']; ?>"><?php echo $element['title']; ?></label>
148
  <div class="yith-plugin-fw-option-with-description">
149
  <?php echo yith_plugin_fw_get_field( $element, true ); ?>
188
  <!-- Schedule Item template -->
189
  <script type="text/template" id="tmpl-yith-toggle-element-item-<?php echo $id ?>">
190
  <div id="<?php echo $id; ?>_{{{data.index}}}"
191
+ class="yith-toggle-row highlight <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo $class; ?>"
192
  data-item_key="{{{data.index}}}" <?php echo $custom_attributes; ?>
193
  data-item_key="{{{data.index}}}">
194
  <div class="yith-toggle-title">
200
 
201
  </h3>
202
  <span class="yith-toggle">
203
+ <span class="yith-icon yith-icon-arrow_right"></span>
204
  </span>
205
  <?php
206
  if ( ! empty( $onoff_field ) && is_array( $onoff_field ) ):
219
 
220
  <?php endif; ?>
221
  <?php if ( $sortable ): ?>
222
+ <span class="yith-icon yith-icon-drag ui-sortable-handle"></span>
223
  <?php endif ?>
224
  </div>
225
  <div class="yith-toggle-content">
230
  unset( $element['yith-type'] );
231
  $element['title'] = $element['name'];
232
  $element['name'] = $name . "[{{{data.index}}}][" . $element['id'] . "]";
233
+ $element['id'] = $element['id'] . '_{{{data.index}}}';
234
+ $class_element = isset( $element['class_row'] ) ? $element['class_row'] : '';
235
  ?>
236
+ <div class="yith-toggle-content-row <?php echo $class_element.' '.$element['type'] ?>">
237
  <label for="<?php echo $element['id']; ?>"><?php echo $element['title']; ?></label>
238
  <div class="yith-plugin-fw-option-with-description">
239
  <?php echo yith_plugin_fw_get_field( $element, true ); ?>
plugin-fw/templates/metaboxes/tab.php CHANGED
@@ -73,8 +73,8 @@ do_action( 'yit_before_metaboxes_tab' ) ?>
73
  }
74
  $value = yit_get_post_meta( $post->ID, $field_name );
75
  $field[ 'value' ] = $value != '' ? $value : ( isset( $field[ 'std' ] ) ? $field[ 'std' ] : '' );
76
-
77
- $container_classes = "the-metabox " . $field[ 'type' ] . " clearfix ";
78
  $container_classes .= empty( $field[ 'label' ] ) ? 'no-label' : '';
79
 
80
  ?>
73
  }
74
  $value = yit_get_post_meta( $post->ID, $field_name );
75
  $field[ 'value' ] = $value != '' ? $value : ( isset( $field[ 'std' ] ) ? $field[ 'std' ] : '' );
76
+ $field[ 'checkboxgroup' ] = ( $field[ 'type' ] == 'checkbox' && isset( $field[ 'checkboxgroup' ] ) ) ? " " .$field[ 'checkboxgroup' ] : "";
77
+ $container_classes = "the-metabox " . $field[ 'type' ] .$field[ 'checkboxgroup' ] . " clearfix ";
78
  $container_classes .= empty( $field[ 'label' ] ) ? 'no-label' : '';
79
 
80
  ?>
plugin-fw/templates/sysinfo/system-information-panel.php CHANGED
@@ -9,7 +9,7 @@
9
  */
10
 
11
  $system_info = get_option( 'yith_system_info' );
12
- $recommended_memory = '128M';
13
 
14
  ?>
15
  <div id="yith-sysinfo" class="wrap yith-system-info">
@@ -28,6 +28,8 @@ $recommended_memory = '128M';
28
 
29
  if ( $key == 'wp_memory_limit' && ! $has_errors ) {
30
  $has_warnings = $item['value'] < $recommended_memory;
 
 
31
  }
32
 
33
  ?>
@@ -43,7 +45,13 @@ $recommended_memory = '128M';
43
  } elseif ( $key == 'wp_memory_limit' ) {
44
  echo esc_html( size_format( $item['value'] ) );
45
  } else {
46
- echo $item['value'];
 
 
 
 
 
 
47
  } ?>
48
 
49
  </td>
@@ -57,10 +65,14 @@ $recommended_memory = '128M';
57
  } elseif ( $key == 'wp_memory_limit' ) {
58
  echo sprintf( __( '%s needs at least %s of available memory', 'yith-plugin-fw' ), '<b>' . $plugin . '</b>', '<span class="error">' . esc_html( size_format( YITH_System_Status()->memory_size_to_num( $requirement ) ) ) . '</span>' );
59
  echo '<br/>';
60
- echo sprintf( __( 'For optimal functioning of our plugins, we suggest setting at least %s of available memory', 'yith-plugin-fw' ), '<span class="error">' . esc_html( size_format( YITH_System_Status()->memory_size_to_num( $recommended_memory ) ) ) . '</span>' );
 
 
61
 
62
  } else {
63
  echo sprintf( __( '%s needs at least %s version', 'yith-plugin-fw' ), '<b>' . $plugin . '</b>', '<span class="error">' . $requirement . '</span>' );
 
 
64
  } ?>
65
  </li>
66
  <?php endforeach; ?>
@@ -74,7 +86,9 @@ $recommended_memory = '128M';
74
  case 'min_php_version':
75
  case 'min_tls_version':
76
  case 'imagick_version':
77
- echo __( 'Contact your hosting company in order to update it.', 'yith-plugin-fw' );
 
 
78
  break;
79
  case 'wp_cron_enabled':
80
  echo sprintf( __( 'Remove %s from %s file', 'yith-plugin-fw' ), '<code>define( \'DISABLE_WP_CRON\', true );</code>', '<b>wp-config.php</b>' );
@@ -82,6 +96,7 @@ $recommended_memory = '128M';
82
  case 'mbstring_enabled':
83
  case 'simplexml_enabled':
84
  case 'gd_enabled':
 
85
  case 'opcache_enabled':
86
  case 'url_fopen_enabled':
87
  echo __( 'Contact your hosting company in order to enable it.', 'yith-plugin-fw' );
@@ -95,14 +110,28 @@ $recommended_memory = '128M';
95
  } ?>
96
  <?php endif; ?>
97
 
98
- <?php if ( $has_warnings ) : ?>
99
- <ul>
100
- <li>
101
- <?php echo sprintf( __( 'For optimal functioning of our plugins, we suggest setting at least %s of available memory', 'yith-plugin-fw' ), '<span class="warning">' . esc_html( size_format( YITH_System_Status()->memory_size_to_num( $recommended_memory ) ) ) . '</span>' ); ?>
102
- </li>
103
- </ul>
104
- <?php echo sprintf( __( 'Read more %s here%s or contact your hosting company in order to increase it.', 'yith-plugin-fw' ), '<a href="https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" target="_blank">', '</a>' ); ?>
105
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  </td>
107
  </tr>
108
  <?php endforeach; ?>
9
  */
10
 
11
  $system_info = get_option( 'yith_system_info' );
12
+ $recommended_memory = 134217728;
13
 
14
  ?>
15
  <div id="yith-sysinfo" class="wrap yith-system-info">
28
 
29
  if ( $key == 'wp_memory_limit' && ! $has_errors ) {
30
  $has_warnings = $item['value'] < $recommended_memory;
31
+ } elseif ( ( $key == 'min_tls_version' || $key == 'imagick_version' ) && ! $has_errors ) {
32
+ $has_warnings = $item['value'] == 'n/a';
33
  }
34
 
35
  ?>
45
  } elseif ( $key == 'wp_memory_limit' ) {
46
  echo esc_html( size_format( $item['value'] ) );
47
  } else {
48
+
49
+ if ( $item['value'] == 'n/a' ) {
50
+ echo __( 'N/A', 'yith-plugin-fw' );
51
+ } else {
52
+ echo $item['value'];
53
+ }
54
+
55
  } ?>
56
 
57
  </td>
65
  } elseif ( $key == 'wp_memory_limit' ) {
66
  echo sprintf( __( '%s needs at least %s of available memory', 'yith-plugin-fw' ), '<b>' . $plugin . '</b>', '<span class="error">' . esc_html( size_format( YITH_System_Status()->memory_size_to_num( $requirement ) ) ) . '</span>' );
67
  echo '<br/>';
68
+ echo sprintf( __( 'For optimal functioning of our plugins, we suggest setting at least %s of available memory', 'yith-plugin-fw' ), '<span class="error">' . esc_html( size_format( $recommended_memory ) ) . '</span>' );
69
+ echo '<br/>';
70
+ echo sprintf( __( 'Read more %s here%s or contact your hosting company in order to increase it.', 'yith-plugin-fw' ), '<a href="https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" target="_blank">', '</a>' );
71
 
72
  } else {
73
  echo sprintf( __( '%s needs at least %s version', 'yith-plugin-fw' ), '<b>' . $plugin . '</b>', '<span class="error">' . $requirement . '</span>' );
74
+
75
+
76
  } ?>
77
  </li>
78
  <?php endforeach; ?>
86
  case 'min_php_version':
87
  case 'min_tls_version':
88
  case 'imagick_version':
89
+ if ( $item['value'] != 'n/a' ) {
90
+ echo __( 'Contact your hosting company in order to update it.', 'yith-plugin-fw' );
91
+ }
92
  break;
93
  case 'wp_cron_enabled':
94
  echo sprintf( __( 'Remove %s from %s file', 'yith-plugin-fw' ), '<code>define( \'DISABLE_WP_CRON\', true );</code>', '<b>wp-config.php</b>' );
96
  case 'mbstring_enabled':
97
  case 'simplexml_enabled':
98
  case 'gd_enabled':
99
+ case 'iconv_enabled':
100
  case 'opcache_enabled':
101
  case 'url_fopen_enabled':
102
  echo __( 'Contact your hosting company in order to enable it.', 'yith-plugin-fw' );
110
  } ?>
111
  <?php endif; ?>
112
 
113
+ <?php if ( $has_warnings ) {
114
+
115
+ if ( $item['value'] != 'n/a' ) {
116
+
117
+ echo sprintf( __( 'For optimal functioning of our plugins, we suggest setting at least %s of available memory', 'yith-plugin-fw' ), '<span class="error">' . esc_html( size_format( $recommended_memory ) ) . '</span>' );
118
+ echo '<br/>';
119
+ echo sprintf( __( 'Read more %s here%s or contact your hosting company in order to increase it.', 'yith-plugin-fw' ), '<a href="https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" target="_blank">', '</a>' );
120
+
121
+ } else {
122
+
123
+ switch ( $key ) {
124
+ case 'min_tls_version':
125
+ echo __( 'We cannot determine which <b>TLS</b> version is installed because <b>cURL</b> module is disabled. Ask your hosting company to enable it.', 'yith-plugin-fw' );
126
+ break;
127
+ case 'imagick_version':
128
+ echo __( '<b>ImageMagick</b> module is not installed. Ask your hosting company to install it.', 'yith-plugin-fw' );
129
+ break;
130
+ }
131
+
132
+ }
133
+
134
+ } ?>
135
  </td>
136
  </tr>
137
  <?php endforeach; ?>