PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.0
ShopBuilder – WooCommerce Builder For Elementor v2.6.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Elementor/Helper/ControlSelectors.php +122 -57 2.2.02.6.0 View file →
@@ -9,8 +9,27 @@
9 9 */
10 10
11 11 namespace RadiusTheme\SB\Elementor\Helper;
12 12
13 +use RadiusTheme\SB\Elementor\Widgets\General\{AdvancedHeading,
14 + DropCaps,
15 + ShopBuilderButton,
16 + CallToAction,
17 + InfoBox,
18 + FlipBox,
19 + Counter,
20 + CountDown,
21 + PricingTable,
22 + ProgressBar,
23 + ImageAccordion,
24 + ShopBuilderFaq,
25 + LogoSliderAndGrid,
26 + Testimonial,
27 + TeamMember,
28 + PostList,
29 + PostGrid
30 +};
31 +
13 32 // Do not allow directly accessing this file.
14 33 if ( ! defined( 'ABSPATH' ) ) {
15 34 exit( 'This script cannot be accessed directly.' );
16 35 }
@@ -18,8 +37,9 @@
18 37 /**
19 38 * BuilderFns class
20 39 */
21 40 class ControlSelectors {
41 +
22 42 /**
23 43 * Get Widget Selectors.
24 44 *
25 45 * @param object $widget Widget object.
@@ -148,8 +168,9 @@
148 168 'submit_button_alignment' => [
149 169 'text-align' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit',
150 170 'float' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit input#submit',
151 171 ],
172 + 'submit_button_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
152 173 'button_text_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
153 174 'button_bg_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
154 175 'button_border' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
155 176 'button_text_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
@@ -249,9 +270,12 @@
249 270 ],
250 271 'cart_icon_gap' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
251 272 'cart_icon_size' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span, svg):not(.ahfb-svg-iconset):not(.ast-card-action-tooltip)',
252 273 // Slider.
253 - 'slider_arrow_icon_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
274 + 'slider_arrow_icon_size' => [
275 + 'icon' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn 1',
276 + 'svg' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn svg',
277 + ],
254 278 'slider_arrow_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
255 279 'arrows_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
256 280 'arrows_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
257 281 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
@@ -276,9 +300,12 @@
276 300 'pagination_padding' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
277 301 'pagination_margin' => '{{WRAPPER}} .woocommerce-pagination',
278 302 'pagination_width' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
279 303 'pagination_height' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
280 - 'pagination_icon_size' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i',
304 + 'pagination_icon_size' => [
305 + 'icon' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i',
306 + 'svg' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) svg',
307 + ],
281 308 // Review Star.
282 309 'review_star_icon_default_color' => '{{WRAPPER}} .products .product .star-rating::before, {{WRAPPER}} p.stars a:before, {{WRAPPER}} p.stars a:hover~a:before, {{WRAPPER}} p.stars.selected a.active~a:before',
283 310 'review_star_icon_color' => '{{WRAPPER}} .products .product .star-rating span::before, {{WRAPPER}} p.stars.selected a.active:before, {{WRAPPER}} p.stars:hover a:before, {{WRAPPER}} p.stars.selected a:not(.active):before, {{WRAPPER}} p.stars.selected a.active:before',
284 311 'review_star_icon_size' => '{{WRAPPER}} .products .product .star-rating',
@@ -311,9 +338,8 @@
311 338 ],
312 339 'breadcrumbs_typography' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
313 340 'icon_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator i,{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
314 341 ],
315 -
316 342 'rtsb-wc-notice' => [
317 343 'notice_typography' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
318 344 'notice_icon_size' => [
319 345 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
@@ -368,35 +394,29 @@
368 394 'notice_gap_multiple' => '{{WRAPPER}} .rtsb-notice .woocommerce-notices-wrapper, {{WRAPPER}} .rtsb-notice',
369 395 'notice_icon_gap' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
370 396 'notice_border_radius' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
371 397 ],
372 -
373 398 'rtsb-products-grid' => array_merge(
374 399 self::general_common_selectors(),
375 400 self::general_product_selectors()
376 401 ),
377 -
378 402 'rtsb-products-list' => array_merge(
379 403 self::general_common_selectors(),
380 404 self::general_product_selectors()
381 405 ),
382 -
383 406 'rtsb-products-slider' => array_merge(
384 407 self::general_common_selectors(),
385 408 self::general_product_selectors(),
386 409 self::general_slider_selectors(),
387 410 ),
388 -
389 411 'rtsb-product-categories-general' => array_merge(
390 412 self::general_common_selectors(),
391 413 self::general_cat_selectors()
392 414 ),
393 -
394 415 'rtsb-products-single-category' => array_merge(
395 416 self::general_common_selectors(),
396 417 self::general_cat_selectors()
397 418 ),
398 -
399 419 'rtsb-social-share' => array_merge(
400 420 self::social_share(),
401 421 ),
402 422 'rtsb-wishlist' => [
@@ -412,8 +432,25 @@
412 432 'table_item_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table td',
413 433 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
414 434 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody td',
415 435 ],
436 + 'rtsb-advanced-heading' => AdvancedHeading\Selectors::get_selectors(),
437 + 'rtsb-dropcaps' => DropCaps\Selectors::get_selectors(),
438 + 'rtsb-shopbuilder-button' => ShopBuilderButton\Selectors::get_selectors(),
439 + 'rtsb-call-to-action' => CallToAction\Selectors::get_selectors(),
440 + 'rtsb-info-box' => InfoBox\Selectors::get_selectors(),
441 + 'rtsb-pricing-table' => PricingTable\Selectors::get_selectors(),
442 + 'rtsb-flip-box' => FlipBox\Selectors::get_selectors(),
443 + 'rtsb-counter' => Counter\Selectors::get_selectors(),
444 + 'rtsb-countdown-addon' => CountDown\Selectors::get_selectors(),
445 + 'rtsb-progress-bar-addon' => ProgressBar\Selectors::get_selectors(),
446 + 'rtsb-image-accordion-addon' => ImageAccordion\Selectors::get_selectors(),
447 + 'rtsb-shopbuilder-faq' => ShopBuilderFaq\Selectors::get_selectors(),
448 + 'rtsb-logo-slider-and-grid' => LogoSliderAndGrid\Selectors::get_selectors(),
449 + 'rtsb-testimonial' => Testimonial\Selectors::get_selectors(),
450 + 'rtsb-team-member' => TeamMember\Selectors::get_selectors(),
451 + 'rtsb-post-list' => PostList\Selectors::get_selectors(),
452 + 'rtsb-post-grid' => PostGrid\Selectors::get_selectors(),
416 453 ];
417 454
418 455 return apply_filters( 'rtsb/elements/elementor/widget/general/selectors', $selectors );
419 456 }
@@ -505,9 +542,12 @@
505 542 ],
506 543 'rtsb-product-add-to-cart' => [
507 544 'button_height' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
508 545 'button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
509 - 'cart_icon_align' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
546 + 'cart_icon_align' => [
547 + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
548 + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
549 + ],
510 550 'cart_icon_gap' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
511 551 'button_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
512 552 'button_text_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
513 553 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
@@ -545,9 +585,9 @@
545 585 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
546 586 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
547 587 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
548 588 'quantity_wrapper_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
549 - 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
589 + 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, .rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term',
550 590 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
551 591 'variation_item_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr:not(:last-child) .value',
552 592 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
553 593 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price',
@@ -552,11 +592,11 @@
552 592 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
553 593 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price',
554 594 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
555 595 'price_margin' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
556 - 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
557 - 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
558 - 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
596 + 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
597 + 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
598 + 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
559 599 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
560 600 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
561 601 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
562 602 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
@@ -596,10 +636,10 @@
596 636 // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper',
597 637 // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper',
598 638 // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper',
599 639 // ],
600 - 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img',
601 - 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img)',
640 + 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
641 + 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
602 642 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale',
603 643 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
604 644 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
605 645 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale',
@@ -609,9 +649,12 @@
609 649 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale',
610 650 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
611 651
612 652 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
613 - 'zoom_icon_size' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
653 + 'zoom_icon_size' => [
654 + 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
655 + 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg',
656 + ],
614 657 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
615 658 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
616 659 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
617 660 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
@@ -674,9 +717,12 @@
674 717 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock',
675 718 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock',
676 719 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock',
677 720 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder',
678 - 'icon_size' => '{{WRAPPER}} .rtsb-product-stock .stock i',
721 + 'icon_size' => [
722 + 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i',
723 + 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg',
724 + ],
679 725 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i',
680 726 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p',
681 727 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p',
682 728 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p',
@@ -744,8 +790,12 @@
744 790 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
745 791 'position_x' => '',
746 792 'position_y' => '',
747 793 ],
794 + 'badges_module' => [
795 + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
796 + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
797 + ],
748 798 ],
749 799 ];
750 800
751 801 return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors );
@@ -791,9 +841,12 @@
791 841 'text_color' => '{{WRAPPER}}',
792 842 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description',
793 843 ],
794 844 'rtsb-archive-product-mode' => [
795 - 'icon_size' => '{{WRAPPER}} .rtsb-archive-view-mode a',
845 + 'icon_size' => [
846 + 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i',
847 + 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg',
848 + ],
796 849 'mode_button_align' => '{{WRAPPER}}',
797 850 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a',
798 851 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a',
799 852 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode',
@@ -918,16 +971,12 @@
918 971 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
919 972 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
920 973 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
921 974 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
922 - 'input_border' => '{{WRAPPER}} .woocommerce-cart-form input',
975 + 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text',
923 976 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input',
924 977 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input',
925 - 'empty_notice_typography' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
926 - 'empty_notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
927 - 'empty_notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
928 - 'empty_notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
929 - 'empty_notice_padding' => '{{WRAPPER}} .rtsb-cart-table .cart-empty',
978 +
930 979 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button',
931 980 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button',
932 981 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button',
933 982 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button',
@@ -937,16 +986,19 @@
937 986 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover',
938 987 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button',
939 988 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button',
940 989 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button',
941 - 'notice_typography' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
942 - 'notice_padding' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
943 - 'notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
944 - 'notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
945 - 'notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message',
946 - 'error_notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error',
947 - 'error_notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error li',
948 - 'error_notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error',
990 +
991 + 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
992 + 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
993 + 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
994 + 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
995 + 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
996 + 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
997 + 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
998 + 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
999 + 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1000 +
949 1001 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
950 1002 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
951 1003 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )',
952 1004 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
@@ -1068,27 +1120,28 @@
1068 1120 // Label.
1069 1121 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label',
1070 1122 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label',
1071 1123 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required',
1072 - 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label',
1124 + 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)',
1073 1125
1074 1126 // Input Fields.
1127 + 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea',
1075 1128 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1076 - 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1129 + 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1077 1130
1078 - 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1131 + 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1079 1132
1080 - 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1081 - 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1133 + 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1134 + 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1082 1135
1083 1136 // Hover.
1084 - 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1137 + 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1085 1138
1086 - 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1139 + 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)',
1087 1140
1088 - 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1089 - 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1090 - 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )',
1141 + 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1142 + 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single',
1143 + 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )',
1091 1144
1092 1145 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row',
1093 1146 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper',
1094 1147
@@ -1101,11 +1154,12 @@
1101 1154
1102 1155 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1103 1156 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1104 1157 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required',
1105 - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1158 + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)',
1106 1159
1107 1160 // Input Fields.
1161 + 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea',
1108 1162 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1109 1163 'fields_border' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1110 1164
1111 1165 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
@@ -1138,25 +1192,26 @@
1138 1192
1139 1193 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label',
1140 1194 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label',
1141 1195 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required',
1142 - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label',
1196 + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)',
1143 1197
1144 1198 // Input Fields.
1145 - 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1146 - 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1147 - 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1148 - 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1149 - 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1199 + 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1200 + 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-order-note .select2-selection--single, {{WRAPPER}} .rtsb-form-order-note select',
1201 + 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1202 + 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1203 + 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1204 + 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1150 1205
1151 1206 // Hover.
1152 - 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1207 + 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1153 1208
1154 - 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1155 - 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1156 - 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)',
1209 + 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1210 + 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1211 + 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1157 1212
1158 - 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1213 + 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1159 1214 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1160 1215 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1161 1216
1162 1217 ],
@@ -1386,9 +1441,11 @@
1386 1441 'rtsb/elementor/common_selectors',
1387 1442 [
1388 1443 'columns' => [
1389 1444 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1445 + 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry',
1390 1446 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]',
1447 + 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry',
1391 1448 'grid_gap' => [
1392 1449 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]',
1393 1450 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1394 1451 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3',
@@ -1401,9 +1458,9 @@
1401 1458 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1402 1459 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content',
1403 1460 'grid_alignment' => [
1404 1461 'text_align' => '{{WRAPPER}} .rtsb-elementor-container, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content',
1405 - 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list',
1462 + 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list',
1406 1463 ],
1407 1464 ],
1408 1465 'color_scheme' => [
1409 1466 'primary_color' => '{{WRAPPER}}',
@@ -1442,8 +1499,9 @@
1442 1499 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-product-img .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item .rtsb-product-image',
1443 1500 'max_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image .rtsb-product-img figure,{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item .rtsb-product-img figure',
1444 1501 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area::before, {{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area::after',
1445 1502 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img',
1503 +
1446 1504 ],
1447 1505 'advanced' => [
1448 1506 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1449 1507 'content_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
@@ -1463,8 +1521,12 @@
1463 1521 'rtsb_el_content_border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
1464 1522 'content_border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image:hover',
1465 1523 'content_border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
1466 1524 ],
1525 + 'badges_module' => [
1526 + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1527 + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1528 + ],
1467 1529 ]
1468 1530 );
1469 1531 }
1470 1532
@@ -1475,9 +1537,12 @@
1475 1537 */
1476 1538 public static function general_slider_selectors(): array {
1477 1539 return [
1478 1540 'slider_buttons' => [
1479 - 'arrow_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1541 + 'arrow_size' => [
1542 + 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1543 + 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg',
1544 + ],
1480 1545 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1481 1546 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1482 1547 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1483 1548 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',