| @@ -9,9 +9,8 @@ | ||
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | 11 | namespace RadiusTheme\SB\Elementor\Helper; |
| 12 | 12 | |
| 13 | -use RadiusTheme\SB\Elementor\Widgets\Archive\ProductFilters; | |
| 14 | 13 | use RadiusTheme\SB\Elementor\Widgets\General\{AdvancedHeading, |
| 15 | 14 | DropCaps, |
| 16 | 15 | ShopBuilderButton, |
| 17 | 16 | CallToAction, |
| @@ -282,9 +281,9 @@ | ||
| 282 | 281 | 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 283 | 282 | 'arrows_hover_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover', |
| 284 | 283 | 'arrows_hover_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover', |
| 285 | 284 | 'arrows_hover_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover', |
| 286 | - 'dots_gap' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet', | |
| 285 | + 'dots_gap' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper', | |
| 287 | 286 | 'dots_size' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet', |
| 288 | 287 | 'dot_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet', |
| 289 | 288 | 'dot_active_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active', |
| 290 | 289 | // Pagination. |
| @@ -327,9 +326,9 @@ | ||
| 327 | 326 | */ |
| 328 | 327 | private static function general_widget_selectors(): array { |
| 329 | 328 | $selectors = [ |
| 330 | 329 | 'rtsb-product-breadcrumbs' => [ |
| 331 | - 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', | |
| 330 | + 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb', | |
| 332 | 331 | 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', |
| 333 | 332 | 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a', |
| 334 | 333 | 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover', |
| 335 | 334 | 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator', |
| @@ -426,14 +425,14 @@ | ||
| 426 | 425 | 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 427 | 426 | 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 428 | 427 | 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 429 | 428 | 'table_header_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 430 | - 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span', | |
| 429 | + 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a', | |
| 431 | 430 | 'table_item_align' => '{{WRAPPER}} .rtsb-wishlist-content table td', |
| 432 | - 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message,{{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span', | |
| 431 | + 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a', | |
| 433 | 432 | 'table_item_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table td', |
| 434 | - 'column_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th,{{WRAPPER}} .rtsb-wishlist-content table tbody td', | |
| 435 | - 'table_item_text_decoration' => '{{WRAPPER}} .rtsb-wishlist-content table td, {{WRAPPER}} .rtsb-wishlist-content table td a, {{WRAPPER}} .rtsb-wishlist-content table td a span, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-partial-pay-avail-note span, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-message, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-out-of-stock-details-message, {{WRAPPER}} .rtsb-wishlist-content table td .rtsb-bis-privacy-checkbox label span', | |
| 433 | + 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', | |
| 434 | + 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody td', | |
| 436 | 435 | ], |
| 437 | 436 | 'rtsb-advanced-heading' => AdvancedHeading\Selectors::get_selectors(), |
| 438 | 437 | 'rtsb-dropcaps' => DropCaps\Selectors::get_selectors(), |
| 439 | 438 | 'rtsb-shopbuilder-button' => ShopBuilderButton\Selectors::get_selectors(), |
| @@ -461,18 +460,8 @@ | ||
| 461 | 460 | * |
| 462 | 461 | * @return array |
| 463 | 462 | */ |
| 464 | 463 | private static function product_widget_selectors(): array { |
| 465 | - // Swatch size belongs to the Variation Swatches plugin once it is active: it | |
| 466 | - // prints its own Color & Image width/height rule, which this widget's size | |
| 467 | - // controls would outrank (element-scoped Elementor CSS, and these controls | |
| 468 | - // carry a default so they always print). Dropping the plugin's terms from | |
| 469 | - // the size selectors leaves that setting in charge, while the controls keep | |
| 470 | - // sizing ShopBuilder's own markup — the dropdowns and the built-in module. | |
| 471 | - $swatch_size_target = defined( 'RTWPVS_VERSION' ) | |
| 472 | - ? '' | |
| 473 | - : '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), '; | |
| 474 | - | |
| 475 | 464 | $selectors = [ |
| 476 | 465 | 'rtsb-related-product' => array_merge( |
| 477 | 466 | self::products_loop_default_selector(), |
| 478 | 467 | self::carousel_selector(), |
| @@ -545,14 +534,9 @@ | ||
| 545 | 534 | 'rtsb-product-additional-info' => [ |
| 546 | 535 | 'heading_typography' => '{{WRAPPER}} .rtsb-product-additional-information h2', |
| 547 | 536 | 'heading_color' => '{{WRAPPER}} .rtsb-product-additional-information h2', |
| 548 | 537 | 'heading_margin' => '{{WRAPPER}} .rtsb-product-additional-information h2', |
| 549 | - // Target the label + value cells (and the value's <p>) directly, by their WooCommerce | |
| 550 | - // classes, so Content Typography (font-weight, text-transform, …) reliably overrides the | |
| 551 | - // theme's higher-specificity `.woocommerce-js table.shop_attributes th` (0,2,2) rule and | |
| 552 | - // applies UNIFORMLY. Styling only `.shop_attributes` (the table) let the theme's direct | |
| 553 | - // th/cell rules win the cascade, so labels and values ended up styled inconsistently. | |
| 554 | - 'content_typography' => '{{WRAPPER}} .shop_attributes th.woocommerce-product-attributes-item__label, {{WRAPPER}} .shop_attributes td.woocommerce-product-attributes-item__value, {{WRAPPER}} .shop_attributes td.woocommerce-product-attributes-item__value p', | |
| 538 | + 'content_typography' => '{{WRAPPER}} .shop_attributes', | |
| 555 | 539 | 'content_color' => '{{WRAPPER}} .shop_attributes', |
| 556 | 540 | 'content_border' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th', |
| 557 | 541 | 'content_padding' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th', |
| 558 | 542 | ], |
| @@ -601,30 +585,23 @@ | ||
| 601 | 585 | 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 602 | 586 | 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 603 | 587 | 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 604 | 588 | 'quantity_wrapper_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 605 | - 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, .rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term).rtsb-button-term', | |
| 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', | |
| 606 | 590 | 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 607 | 591 | 'variation_item_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr:not(:last-child) .value', |
| 608 | - 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)', | |
| 592 | + 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 609 | 593 | 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price', |
| 610 | 594 | 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)', |
| 611 | 595 | 'price_margin' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)', |
| 612 | - 'variation_height' => $swatch_size_target . '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)', | |
| 613 | - 'variation_width' => $swatch_size_target . '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)', | |
| 614 | - 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select, {{WRAPPER}} .rtsb-product-add-to-cart .rtsb-terms-wrapper .rtsb-term:not(.rtsb-radio-term)', | |
| 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', | |
| 615 | 599 | 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 616 | 600 | 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 617 | 601 | 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 618 | 602 | 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 619 | 603 | 'variation_outofstock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock.out-of-stock', |
| 620 | - 'variation_swatch_border_color' => '{{WRAPPER}} .rtsb-product-add-to-cart', | |
| 621 | - 'variation_swatch_selected_color' => '{{WRAPPER}} .rtsb-product-add-to-cart', | |
| 622 | - 'variation_checkmark_bg_color' => '{{WRAPPER}} .rtsb-product-add-to-cart', | |
| 623 | - 'variation_checkmark_size' => '{{WRAPPER}} .rtsb-product-add-to-cart', | |
| 624 | - 'variation_checkmark_icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart', | |
| 625 | - 'variation_clear_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .reset_variations', | |
| 626 | - 'variation_clear_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .reset_variations', | |
| 627 | 604 | |
| 628 | 605 | ], |
| 629 | 606 | 'rtsb-product-categories' => [ |
| 630 | 607 | 'align' => '{{WRAPPER}} .rtsb-product-categories', |
| @@ -653,11 +630,10 @@ | ||
| 653 | 630 | 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img', |
| 654 | 631 | 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image, {{WRAPPER}} .rtsb-product-images .product-vg-gallery', |
| 655 | 632 | 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image', |
| 656 | 633 | 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li', |
| 657 | - 'thumb_border' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout .rtwpvg-gallery-image', | |
| 658 | - 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper :is(.rtsb-vs-thumb-item, .rtsb-vs-thumb-item img), {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider :is(.rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout :is(.rtwpvg-gallery-image, img)', | |
| 659 | - 'gallery_thumbs_padding' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-wrapper .rtwpvg-grid-layout .rtwpvg-gallery-image', | |
| 634 | + 'thumb_border' => '{{WRAPPER}} .rtsb-vg-main-slider-wrapper .rtsb-vs-thumb-item, {{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', | |
| 635 | + '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', | |
| 660 | 636 | 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 661 | 637 | 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 662 | 638 | 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 663 | 639 | 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| @@ -691,10 +667,10 @@ | ||
| 691 | 667 | 'align' => '{{WRAPPER}} .product_meta', |
| 692 | 668 | 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', |
| 693 | 669 | 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', |
| 694 | 670 | 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', |
| 695 | - 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label', | |
| 696 | - 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label', | |
| 671 | + 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 672 | + 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 697 | 673 | 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 698 | 674 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 699 | 675 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover', |
| 700 | 676 | ], |
| @@ -732,20 +708,20 @@ | ||
| 732 | 708 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value', |
| 733 | 709 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover', |
| 734 | 710 | ], |
| 735 | 711 | 'rtsb-product-stock' => [ |
| 736 | - 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock .rtsb-stock-text', | |
| 737 | - 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock .rtsb-stock-text', | |
| 738 | - 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock .rtsb-stock-text', | |
| 739 | - 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder .rtsb-stock-text', | |
| 712 | + 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock', | |
| 713 | + 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock', | |
| 714 | + 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock', | |
| 715 | + 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder', | |
| 740 | 716 | 'icon_size' => [ |
| 741 | 717 | 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i', |
| 742 | 718 | 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg', |
| 743 | 719 | ], |
| 744 | - 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock :is(i, svg)', | |
| 745 | - 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock > .stock', | |
| 746 | - 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock > .stock', | |
| 747 | - 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock > .stock', | |
| 720 | + 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 721 | + 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 722 | + 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 723 | + 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 748 | 724 | ], |
| 749 | 725 | 'rtsb-product-tabs' => array_merge( |
| 750 | 726 | self::reviews_settings_selecotor(), |
| 751 | 727 | [ |
| @@ -770,9 +746,9 @@ | ||
| 770 | 746 | 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 771 | 747 | 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 772 | 748 | 'tab_content_title_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child, {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .woocommerce-Reviews-title', |
| 773 | 749 | |
| 774 | - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)', | |
| 750 | + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes', | |
| 775 | 751 | 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th', |
| 776 | 752 | ] |
| 777 | 753 | ), |
| 778 | 754 | 'rtsb-product-title' => [ |
| @@ -790,48 +766,30 @@ | ||
| 790 | 766 | 'align' => '{{WRAPPER}}', |
| 791 | 767 | 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)', |
| 792 | 768 | 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p', |
| 793 | 769 | ], |
| 794 | - // The widget badge lives inside `{{WRAPPER}} .rtsb-product-onsale`; the Badges | |
| 795 | - // module also renders group badges on the main product gallery (above-image | |
| 796 | - // position). Style both from the same controls by pairing the widget selector | |
| 797 | - // with a gallery-scoped selector for the module group badges. The gallery | |
| 798 | - // scope (`.woocommerce-product-gallery`/`.rtsb-product-images`) keeps related | |
| 799 | - // product card badges untouched. | |
| 800 | 770 | 'rtsb-product-onsale' => [ |
| 801 | - 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 802 | - 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 803 | - 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 804 | - 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after, :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 805 | - 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 806 | - 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 807 | - 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 771 | + 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 772 | + 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 773 | + 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 774 | + 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 775 | + 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 776 | + 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 777 | + 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 808 | 778 | 'product_badges' => [ |
| 809 | - // Match BOTH the free wrapper (.rtsb-product-onsale, from | |
| 810 | - // templates/elementor/single-product/product-badges.php) AND the pro wrapper | |
| 811 | - // (.rtsb-product-badges-widgets, from the pro template override). Scoping only to | |
| 812 | - // `.rtsb-product-onsale` made every badge style control (typography/color/bg/ | |
| 813 | - // border/padding/margin) silently no-op on pro sites, where that div is absent. | |
| 814 | - // `:is()` matches the most specific arg, preserving the original (0,3,0) specificity. | |
| 815 | - // Padding/margin also target the Badges-module group badges on the product gallery. | |
| 816 | - 'typography' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 817 | - 'color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 818 | - 'bg_color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 819 | - 'border_color' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 820 | - 'border_radius' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 821 | - 'padding' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 822 | - 'margin' => '{{WRAPPER}} :is(.rtsb-product-onsale, .rtsb-product-badges-widgets) :is(.rtsb-tag-fill,.rtsb-tag-outline), :is(.woocommerce-product-gallery, .rtsb-product-images) .rtsb-badge-group-style :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 779 | + 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 780 | + 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 781 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 782 | + 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 783 | + 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 784 | + 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 785 | + 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 823 | 786 | 'position_x' => '', |
| 824 | 787 | 'position_y' => '', |
| 825 | 788 | ], |
| 826 | 789 | 'badges_module' => [ |
| 827 | - // Compound (no descendant combinator): `.rtsb-badge-group-style` and `.rtsb-promotion` | |
| 828 | - // are emitted on the SAME element by BadgesFrontEnd::group_badges_html(). The pro | |
| 829 | - // single-product template drops the outer `.rtsb-promotion` wrapper, so a descendant | |
| 830 | - // selector matches nothing and the Direction/Alignment controls silently no-op. | |
| 831 | - 'direction' => '{{WRAPPER}} .rtsb-promotion.rtsb-badge-group-style', | |
| 832 | - 'alignment' => '{{WRAPPER}} .rtsb-promotion.rtsb-badge-group-style', | |
| 833 | - 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)', | |
| 790 | + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 791 | + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 834 | 792 | ], |
| 835 | 793 | ], |
| 836 | 794 | ]; |
| 837 | 795 | |
| @@ -886,8 +844,9 @@ | ||
| 886 | 844 | 'mode_button_align' => '{{WRAPPER}}', |
| 887 | 845 | 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 888 | 846 | 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 889 | 847 | 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode', |
| 848 | + 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 890 | 849 | 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 891 | 850 | 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 892 | 851 | 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 893 | 852 | 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active', |
| @@ -897,12 +856,9 @@ | ||
| 897 | 856 | ], |
| 898 | 857 | 'rtsb-archive-result-count' => [ |
| 899 | 858 | 'align' => '{{WRAPPER}}', |
| 900 | 859 | 'text_color' => '{{WRAPPER}}', |
| 901 | - // Also target the inner <p> (woocommerce_result_count output): text-decoration | |
| 902 | - // is not inherited and does not draw through the descendant block, so it must | |
| 903 | - // hit the text element directly. Other typography keeps working via the div. | |
| 904 | - 'typo' => '{{WRAPPER}} .rtsb-archive-result-count, {{WRAPPER}} .rtsb-archive-result-count .woocommerce-result-count', | |
| 860 | + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count', | |
| 905 | 861 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count', |
| 906 | 862 | ], |
| 907 | 863 | 'rtsb-products-ordering' => [ |
| 908 | 864 | 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )', |
| @@ -917,9 +873,126 @@ | ||
| 917 | 873 | 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 918 | 874 | 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 919 | 875 | 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby', |
| 920 | 876 | ], |
| 921 | - 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(), | |
| 877 | + 'rtsb-product-filters' => [ | |
| 878 | + 'filter_types' => [ | |
| 879 | + 'column_gap' => '{{WRAPPER}} .rtsb-archive-catalog-ordering', | |
| 880 | + ], | |
| 881 | + 'filter_header' => [ | |
| 882 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 883 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 884 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 885 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 886 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 887 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 888 | + ], | |
| 889 | + 'filter_title' => [ | |
| 890 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 891 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 892 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 893 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 894 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 895 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 896 | + ], | |
| 897 | + 'search_styles' => [ | |
| 898 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 899 | + 'button_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 900 | + 'icon_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 901 | + 'placeholder_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder', | |
| 902 | + 'search_input_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 903 | + 'search_button_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 904 | + 'search_icon_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg', | |
| 905 | + 'search_icon_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg', | |
| 906 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 907 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 908 | + 'button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 909 | + 'button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 910 | + 'placeholder_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder', | |
| 911 | + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover', | |
| 912 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover', | |
| 913 | + 'hover_button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover', | |
| 914 | + 'hover_button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover', | |
| 915 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 916 | + 'button_border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 917 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover', | |
| 918 | + 'button_border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover', | |
| 919 | + 'input_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 920 | + 'button_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 921 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 922 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 923 | + 'button_padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 924 | + 'button_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 925 | + 'wrapper_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search', | |
| 926 | + ], | |
| 927 | + 'rating' => [ | |
| 928 | + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star', | |
| 929 | + 'rating_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.inactive', | |
| 930 | + 'count_position' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count', | |
| 931 | + 'rating_active_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.active', | |
| 932 | + 'rating_selected_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-filter-trigger.checked + .rtsb-checkbox-filter-label .rtsb-default-rating-star.active', | |
| 933 | + 'rating_padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group', | |
| 934 | + 'rating_margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group', | |
| 935 | + ], | |
| 936 | + 'apply_btn' => [ | |
| 937 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 938 | + 'apply_btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 939 | + 'icon_display' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon', | |
| 940 | + 'apply_icon_size' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon', | |
| 941 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 942 | + 'icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon', | |
| 943 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 944 | + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover', | |
| 945 | + 'hover_icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover .icon', | |
| 946 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover', | |
| 947 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 948 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover', | |
| 949 | + 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 950 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 951 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 952 | + ], | |
| 953 | + 'reset_btn' => [ | |
| 954 | + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 955 | + 'btn_width' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 956 | + 'color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 957 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 958 | + 'hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover', | |
| 959 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover', | |
| 960 | + 'border' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 961 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover', | |
| 962 | + 'border_radius' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 963 | + 'padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 964 | + 'margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 965 | + ], | |
| 966 | + 'mobile_toggle_btn' => [ | |
| 967 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 968 | + 'btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 969 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 970 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 971 | + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover', | |
| 972 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover', | |
| 973 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 974 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover', | |
| 975 | + 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 976 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 977 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 978 | + ], | |
| 979 | + 'filter_items' => [ | |
| 980 | + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters input.rtsb-checkbox-filter + label, {{WRAPPER}} .rtsb-product-default-filters input.rtsb-radio-filter + label, {{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs label', | |
| 981 | + 'count_display' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-default-filter-group .rtsb-product-count', | |
| 982 | + 'color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter label', | |
| 983 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter', | |
| 984 | + 'count_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count', | |
| 985 | + 'border' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter', | |
| 986 | + 'padding' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter', | |
| 987 | + 'margin' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter', | |
| 988 | + 'wrapper_padding' => '{{WRAPPER}} .rtsb-product-default-filters .default-filter-content > ul', | |
| 989 | + 'wrapper_margin' => '{{WRAPPER}} .rtsb-product-default-filters > .default-filter-content > ul', | |
| 990 | + 'subcat_margin' => '{{WRAPPER}} .rtsb-categories .default-filter-content ul ul', | |
| 991 | + 'input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper input.rtsb-radio-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs .filter-price-field', | |
| 992 | + 'active_input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-radio input.rtsb-checkbox-filter:checked + label:after,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter:checked + label:after', | |
| 993 | + ], | |
| 994 | + ], | |
| 922 | 995 | ]; |
| 923 | 996 | |
| 924 | 997 | return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors ); |
| 925 | 998 | } |
| @@ -956,9 +1029,9 @@ | ||
| 956 | 1029 | 'rtsb-product-cart-totals' => [ |
| 957 | 1030 | 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 958 | 1031 | 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table', |
| 959 | 1032 | // Title Style. |
| 960 | - 'title_align' => '{{WRAPPER}} .rtsb-cart-totals h2', | |
| 1033 | + 'title_align' => '{{WRAPPER}}', | |
| 961 | 1034 | 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 962 | 1035 | 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 963 | 1036 | 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 964 | 1037 | 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| @@ -1012,9 +1085,9 @@ | ||
| 1012 | 1085 | 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1013 | 1086 | 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1014 | 1087 | 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1015 | 1088 | 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text', |
| 1016 | - 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input, {{WRAPPER}} .woocommerce-cart-form input::placeholder', | |
| 1089 | + 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 1017 | 1090 | 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input', |
| 1018 | 1091 | |
| 1019 | 1092 | 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button', |
| 1020 | 1093 | 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button', |
| @@ -1078,14 +1151,14 @@ | ||
| 1078 | 1151 | 'th' => '{{WRAPPER}} .shop_table.cart tr th', |
| 1079 | 1152 | 'td' => '{{WRAPPER}} .shop_table.cart tr td', |
| 1080 | 1153 | ], |
| 1081 | 1154 | |
| 1082 | - 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items', | |
| 1083 | - 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items', | |
| 1084 | - 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items', | |
| 1085 | - 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover', | |
| 1086 | - 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover', | |
| 1087 | - 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button.rtsb-clear-cart-items:hover', | |
| 1155 | + 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 1156 | + 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 1157 | + 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 1158 | + 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1159 | + 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1160 | + 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1088 | 1161 | |
| 1089 | 1162 | // Table. |
| 1090 | 1163 | 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr', |
| 1091 | 1164 | |
| @@ -1282,26 +1355,8 @@ | ||
| 1282 | 1355 | 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td', |
| 1283 | 1356 | // Counter. |
| 1284 | 1357 | 'counter_text_color' => '{{WRAPPER}} .product-quantity', |
| 1285 | 1358 | 'counter_style' => '{{WRAPPER}} .product-quantity', |
| 1286 | - // Quantity selector. | |
| 1287 | - 'qty_align' => '{{WRAPPER}} .rtsb-order-review-quantity', | |
| 1288 | - 'qty_wrapper_margin' => '{{WRAPPER}} .rtsb-order-review-quantity', | |
| 1289 | - 'qty_box_border' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-group', | |
| 1290 | - 'qty_box_radius' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-group', | |
| 1291 | - 'qty_box_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-group', | |
| 1292 | - 'qty_box_height' => '{{WRAPPER}} .rtsb-order-review-quantity :is( .rtsb-order-qty-btn, .rtsb-order-qty-input )', | |
| 1293 | - 'qty_input_width' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input', | |
| 1294 | - 'qty_input_typo' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input', | |
| 1295 | - 'qty_input_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input', | |
| 1296 | - 'qty_input_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input', | |
| 1297 | - 'qty_input_border_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-input', | |
| 1298 | - 'qty_btn_width' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn', | |
| 1299 | - 'qty_icon_size' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn svg', | |
| 1300 | - 'qty_btn_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn', | |
| 1301 | - 'qty_btn_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn', | |
| 1302 | - 'qty_btn_hover_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn:hover', | |
| 1303 | - 'qty_btn_hover_bg_color' => '{{WRAPPER}} .rtsb-order-review-quantity .rtsb-order-qty-btn:hover', | |
| 1304 | 1359 | // Table Footer. |
| 1305 | 1360 | 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| 1306 | 1361 | 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th', |
| 1307 | 1362 | 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td', |
| @@ -1513,9 +1568,9 @@ | ||
| 1513 | 1568 | 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content', |
| 1514 | 1569 | 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content', |
| 1515 | 1570 | 'grid_alignment' => [ |
| 1516 | 1571 | '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', |
| 1517 | - '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.show-cart-text .rtsb-action-button-list', | |
| 1572 | + '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', | |
| 1518 | 1573 | ], |
| 1519 | 1574 | ], |
| 1520 | 1575 | 'color_scheme' => [ |
| 1521 | 1576 | 'primary_color' => '{{WRAPPER}}', |
| @@ -1528,9 +1583,9 @@ | ||
| 1528 | 1583 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .product-count', |
| 1529 | 1584 | 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid:hover .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid:hover .category-wrapper .product-count', |
| 1530 | 1585 | 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid:hover .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid:hover .category-wrapper .product-count', |
| 1531 | 1586 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1532 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover', | |
| 1587 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count', | |
| 1533 | 1588 | 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1534 | 1589 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1535 | 1590 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1536 | 1591 | ], |
| @@ -1577,11 +1632,10 @@ | ||
| 1577 | 1632 | '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', |
| 1578 | 1633 | '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', |
| 1579 | 1634 | ], |
| 1580 | 1635 | 'badges_module' => [ |
| 1581 | - 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1582 | - 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1583 | - 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)', | |
| 1636 | + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1637 | + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1584 | 1638 | ], |
| 1585 | 1639 | ] |
| 1586 | 1640 | ); |
| 1587 | 1641 | } |
| @@ -1644,16 +1698,12 @@ | ||
| 1644 | 1698 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1645 | 1699 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1646 | 1700 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1647 | 1701 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1648 | - // Layout 2 (grid/slider) reveals a hover button that overlays the title wrapper and captures :hover, so the | |
| 1649 | - // wrapper's own :hover never fires; the extra `.rtsb-product:hover .product-title-with-btn` clause re-applies the | |
| 1650 | - // hover text/bg/border color on product-card hover. NOTE: layout 2 fades the title text out on hover, so the | |
| 1651 | - // hover *text* color is not visibly noticeable there — the wrapper background and border remain visible. | |
| 1652 | - 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .product-title', | |
| 1653 | - 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .rtsb-product-title-wrapper', | |
| 1702 | + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title', | |
| 1703 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover', | |
| 1654 | 1704 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper', |
| 1655 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-product:hover .product-title-with-btn .rtsb-product-title-wrapper', | |
| 1705 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover', | |
| 1656 | 1706 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1657 | 1707 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1658 | 1708 | ], |
| 1659 | 1709 | 'short_description' => array_fill_keys( |
| @@ -1670,32 +1720,28 @@ | ||
| 1670 | 1720 | ), |
| 1671 | 1721 | 'action_buttons' => [ |
| 1672 | 1722 | 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list', |
| 1673 | 1723 | 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list', |
| 1674 | - 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text', | |
| 1675 | 1724 | ], |
| 1676 | 1725 | 'product_price' => [ |
| 1677 | - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del', | |
| 1678 | - 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins', | |
| 1679 | - 'regular_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del', | |
| 1680 | - 'sale_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins', | |
| 1681 | - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1682 | - 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)', | |
| 1683 | - 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1684 | - 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1685 | - 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper', | |
| 1686 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover', | |
| 1687 | - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1688 | - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1726 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container .price-wrapper ins .woocommerce-Price-amount, {{WRAPPER}}.elementor-element .rtsb-elementor-container.products .price-wrapper > p', | |
| 1727 | + 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1728 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1729 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)', | |
| 1730 | + 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1731 | + 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1732 | + 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper', | |
| 1733 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover', | |
| 1734 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1735 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1689 | 1736 | ], |
| 1690 | 1737 | 'product_rating' => [ |
| 1691 | - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1692 | - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1693 | - 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before', | |
| 1694 | - 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before', | |
| 1695 | - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1696 | - 'spacing_preset2' => '{{WRAPPER}} .rtsb-elementor-container .product-rating.preset2, {{WRAPPER}} .rtsb-elementor-container .product-rating.preset2 .inner-wrapper', | |
| 1697 | - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1738 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1739 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1740 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before', | |
| 1741 | + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before', | |
| 1742 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1743 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1698 | 1744 | ], |
| 1699 | 1745 | 'product_categories' => [ |
| 1700 | 1746 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1701 | 1747 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category', |
| @@ -1748,8 +1794,12 @@ | ||
| 1748 | 1794 | 'icon_size' => [ |
| 1749 | 1795 | 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon', |
| 1750 | 1796 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg', |
| 1751 | 1797 | ], |
| 1798 | + 'cart_icon_spacing' => [ | |
| 1799 | + 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text', | |
| 1800 | + 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text', | |
| 1801 | + ], | |
| 1752 | 1802 | 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1753 | 1803 | 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1754 | 1804 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1755 | 1805 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| @@ -1814,13 +1864,9 @@ | ||
| 1814 | 1864 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1815 | 1865 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1816 | 1866 | ], |
| 1817 | 1867 | 'hover_icon_button' => [ |
| 1818 | - // Include `.text` (the label span): the button is display:inline-flex, so its | |
| 1819 | - // `.text` child is a flex item and `text-decoration` set on the <a> does NOT | |
| 1820 | - // propagate to it (the Text Decoration control would silently do nothing). | |
| 1821 | - // Other typography props inherit fine; decoration must hit `.text` directly. | |
| 1822 | - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a, {{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text', | |
| 1868 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', | |
| 1823 | 1869 | 'icon_size' => [ |
| 1824 | 1870 | 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', |
| 1825 | 1871 | 'svg' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon svg', |
| 1826 | 1872 | ], |