| @@ -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', |
| @@ -650,14 +627,20 @@ | ||
| 650 | 627 | ], |
| 651 | 628 | |
| 652 | 629 | 'rtsb-product-image' => [ |
| 653 | 630 | 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img', |
| 654 | - 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image, {{WRAPPER}} .rtsb-product-images .product-vg-gallery', | |
| 631 | + 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image', | |
| 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 | + // 'gallery_thumbs_column_gap' => '{{WRAPPER}} div.images .flex-control-thumbs', | |
| 635 | + // 'gallery_image_gap_with_main' => [ | |
| 636 | + // 'margin-top' => '{{WRAPPER}} div.images .flex-control-thumbs', | |
| 637 | + // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper', | |
| 638 | + // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper', | |
| 639 | + // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper', | |
| 640 | + // ], | |
| 641 | + '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', | |
| 642 | + '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 | 643 | 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 661 | 644 | 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 662 | 645 | 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 663 | 646 | 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| @@ -688,13 +671,12 @@ | ||
| 688 | 671 | ], |
| 689 | 672 | 'rtsb-product-meta' => [ |
| 690 | 673 | 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta', |
| 691 | 674 | 'align' => '{{WRAPPER}} .product_meta', |
| 692 | - 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 693 | - 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 675 | + 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 694 | 676 | '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', | |
| 677 | + 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 678 | + 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 697 | 679 | 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 698 | 680 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 699 | 681 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover', |
| 700 | 682 | ], |
| @@ -732,20 +714,20 @@ | ||
| 732 | 714 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value', |
| 733 | 715 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover', |
| 734 | 716 | ], |
| 735 | 717 | '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', | |
| 718 | + 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock', | |
| 719 | + 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock', | |
| 720 | + 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock', | |
| 721 | + 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder', | |
| 740 | 722 | 'icon_size' => [ |
| 741 | 723 | 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i', |
| 742 | 724 | 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg', |
| 743 | 725 | ], |
| 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', | |
| 726 | + 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 727 | + 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 728 | + 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 729 | + 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 748 | 730 | ], |
| 749 | 731 | 'rtsb-product-tabs' => array_merge( |
| 750 | 732 | self::reviews_settings_selecotor(), |
| 751 | 733 | [ |
| @@ -770,9 +752,9 @@ | ||
| 770 | 752 | 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 771 | 753 | 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 772 | 754 | '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 | 755 | |
| 774 | - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)', | |
| 756 | + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes', | |
| 775 | 757 | 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th', |
| 776 | 758 | ] |
| 777 | 759 | ), |
| 778 | 760 | 'rtsb-product-title' => [ |
| @@ -790,48 +772,30 @@ | ||
| 790 | 772 | 'align' => '{{WRAPPER}}', |
| 791 | 773 | 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)', |
| 792 | 774 | 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p', |
| 793 | 775 | ], |
| 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 | 776 | '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)', | |
| 777 | + 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 778 | + 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 779 | + 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 780 | + 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 781 | + 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 782 | + 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 783 | + 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 808 | 784 | '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)', | |
| 785 | + 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 786 | + 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 787 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 788 | + 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 789 | + 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 790 | + 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 791 | + 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 823 | 792 | 'position_x' => '', |
| 824 | 793 | 'position_y' => '', |
| 825 | 794 | ], |
| 826 | 795 | '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)', | |
| 796 | + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 797 | + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 834 | 798 | ], |
| 835 | 799 | ], |
| 836 | 800 | ]; |
| 837 | 801 | |
| @@ -886,8 +850,9 @@ | ||
| 886 | 850 | 'mode_button_align' => '{{WRAPPER}}', |
| 887 | 851 | 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 888 | 852 | 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 889 | 853 | 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode', |
| 854 | + 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 890 | 855 | 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 891 | 856 | 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 892 | 857 | 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 893 | 858 | 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active', |
| @@ -897,12 +862,9 @@ | ||
| 897 | 862 | ], |
| 898 | 863 | 'rtsb-archive-result-count' => [ |
| 899 | 864 | 'align' => '{{WRAPPER}}', |
| 900 | 865 | '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', | |
| 866 | + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count', | |
| 905 | 867 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count', |
| 906 | 868 | ], |
| 907 | 869 | 'rtsb-products-ordering' => [ |
| 908 | 870 | 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )', |
| @@ -917,9 +879,126 @@ | ||
| 917 | 879 | 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 918 | 880 | 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 919 | 881 | 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby', |
| 920 | 882 | ], |
| 921 | - 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(), | |
| 883 | + 'rtsb-product-filters' => [ | |
| 884 | + 'filter_types' => [ | |
| 885 | + 'column_gap' => '{{WRAPPER}} .rtsb-archive-catalog-ordering', | |
| 886 | + ], | |
| 887 | + 'filter_header' => [ | |
| 888 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 889 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 890 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 891 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 892 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 893 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3', | |
| 894 | + ], | |
| 895 | + 'filter_title' => [ | |
| 896 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 897 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 898 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 899 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 900 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 901 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3', | |
| 902 | + ], | |
| 903 | + 'search_styles' => [ | |
| 904 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 905 | + 'button_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 906 | + 'icon_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 907 | + 'placeholder_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder', | |
| 908 | + 'search_input_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 909 | + 'search_button_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 910 | + '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', | |
| 911 | + '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', | |
| 912 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 913 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 914 | + 'button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 915 | + 'button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 916 | + 'placeholder_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder', | |
| 917 | + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover', | |
| 918 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover', | |
| 919 | + 'hover_button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover', | |
| 920 | + 'hover_button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover', | |
| 921 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 922 | + 'button_border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 923 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover', | |
| 924 | + 'button_border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover', | |
| 925 | + 'input_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 926 | + 'button_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 927 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 928 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field', | |
| 929 | + 'button_padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 930 | + 'button_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit', | |
| 931 | + 'wrapper_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search', | |
| 932 | + ], | |
| 933 | + 'rating' => [ | |
| 934 | + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star', | |
| 935 | + 'rating_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.inactive', | |
| 936 | + 'count_position' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count', | |
| 937 | + 'rating_active_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.active', | |
| 938 | + 'rating_selected_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-filter-trigger.checked + .rtsb-checkbox-filter-label .rtsb-default-rating-star.active', | |
| 939 | + 'rating_padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group', | |
| 940 | + 'rating_margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group', | |
| 941 | + ], | |
| 942 | + 'apply_btn' => [ | |
| 943 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 944 | + 'apply_btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 945 | + 'icon_display' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon', | |
| 946 | + 'apply_icon_size' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon', | |
| 947 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 948 | + 'icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon', | |
| 949 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 950 | + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover', | |
| 951 | + 'hover_icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover .icon', | |
| 952 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover', | |
| 953 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 954 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover', | |
| 955 | + 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 956 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 957 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters', | |
| 958 | + ], | |
| 959 | + 'reset_btn' => [ | |
| 960 | + 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 961 | + 'btn_width' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 962 | + 'color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 963 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 964 | + 'hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover', | |
| 965 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover', | |
| 966 | + 'border' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 967 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover', | |
| 968 | + 'border_radius' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 969 | + 'padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 970 | + 'margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset', | |
| 971 | + ], | |
| 972 | + 'mobile_toggle_btn' => [ | |
| 973 | + 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 974 | + 'btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 975 | + 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 976 | + 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 977 | + 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover', | |
| 978 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover', | |
| 979 | + 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 980 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover', | |
| 981 | + 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 982 | + 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 983 | + 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle', | |
| 984 | + ], | |
| 985 | + 'filter_items' => [ | |
| 986 | + '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', | |
| 987 | + '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', | |
| 988 | + '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', | |
| 989 | + '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', | |
| 990 | + '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', | |
| 991 | + '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', | |
| 992 | + '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', | |
| 993 | + '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', | |
| 994 | + 'wrapper_padding' => '{{WRAPPER}} .rtsb-product-default-filters .default-filter-content > ul', | |
| 995 | + 'wrapper_margin' => '{{WRAPPER}} .rtsb-product-default-filters > .default-filter-content > ul', | |
| 996 | + 'subcat_margin' => '{{WRAPPER}} .rtsb-categories .default-filter-content ul ul', | |
| 997 | + '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', | |
| 998 | + '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', | |
| 999 | + ], | |
| 1000 | + ], | |
| 922 | 1001 | ]; |
| 923 | 1002 | |
| 924 | 1003 | return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors ); |
| 925 | 1004 | } |
| @@ -956,9 +1035,9 @@ | ||
| 956 | 1035 | 'rtsb-product-cart-totals' => [ |
| 957 | 1036 | 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 958 | 1037 | 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table', |
| 959 | 1038 | // Title Style. |
| 960 | - 'title_align' => '{{WRAPPER}} .rtsb-cart-totals h2', | |
| 1039 | + 'title_align' => '{{WRAPPER}}', | |
| 961 | 1040 | 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 962 | 1041 | 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 963 | 1042 | 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 964 | 1043 | 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| @@ -1012,9 +1091,9 @@ | ||
| 1012 | 1091 | 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1013 | 1092 | 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1014 | 1093 | 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1015 | 1094 | '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', | |
| 1095 | + 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 1017 | 1096 | 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input', |
| 1018 | 1097 | |
| 1019 | 1098 | 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button', |
| 1020 | 1099 | 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button', |
| @@ -1046,8 +1125,9 @@ | ||
| 1046 | 1125 | 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 1047 | 1126 | 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 1048 | 1127 | 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 1049 | 1128 | 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 1129 | + // 'table_content_column_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td', | |
| 1050 | 1130 | 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th', |
| 1051 | 1131 | 'cart_element_alignment' => '#rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table th, #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table td, #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table .table-column-wrapper .product-attributes-wrapper .product-attributes li', |
| 1052 | 1132 | 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table', |
| 1053 | 1133 | |
| @@ -1078,14 +1158,14 @@ | ||
| 1078 | 1158 | 'th' => '{{WRAPPER}} .shop_table.cart tr th', |
| 1079 | 1159 | 'td' => '{{WRAPPER}} .shop_table.cart tr td', |
| 1080 | 1160 | ], |
| 1081 | 1161 | |
| 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', | |
| 1162 | + 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 1163 | + 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 1164 | + 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 1165 | + 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1166 | + 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1167 | + 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1088 | 1168 | |
| 1089 | 1169 | // Table. |
| 1090 | 1170 | 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr', |
| 1091 | 1171 | |
| @@ -1266,8 +1346,9 @@ | ||
| 1266 | 1346 | 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1267 | 1347 | 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1268 | 1348 | 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1269 | 1349 | 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1350 | + // Table Settings. | |
| 1270 | 1351 | 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1271 | 1352 | 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1272 | 1353 | 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1273 | 1354 | 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )', |
| @@ -1274,35 +1355,17 @@ | ||
| 1274 | 1355 | 'label_typo' => '{{WRAPPER}} #order_review thead th', |
| 1275 | 1356 | 'label_color' => '{{WRAPPER}} #order_review thead th', |
| 1276 | 1357 | 'label_bg_color' => '{{WRAPPER}} #order_review thead th', |
| 1277 | 1358 | 'label_item_padding' => '{{WRAPPER}} #order_review thead th', |
| 1278 | - // Table Body. | |
| 1359 | + // Table Body | |
| 1279 | 1360 | 'body_text_typo' => '{{WRAPPER}} #order_review tbody td', |
| 1280 | 1361 | 'body_text_color' => '{{WRAPPER}} #order_review tbody td', |
| 1281 | 1362 | 'body_item_padding' => '{{WRAPPER}} #order_review tbody td', |
| 1282 | 1363 | 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td', |
| 1283 | - // Counter. | |
| 1364 | + // Counter | |
| 1284 | 1365 | 'counter_text_color' => '{{WRAPPER}} .product-quantity', |
| 1285 | 1366 | '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 | - // Table Footer. | |
| 1367 | + // Table Footer | |
| 1305 | 1368 | 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| 1306 | 1369 | 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th', |
| 1307 | 1370 | 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td', |
| 1308 | 1371 | 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| @@ -1508,14 +1571,15 @@ | ||
| 1508 | 1571 | 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9', |
| 1509 | 1572 | ], |
| 1510 | 1573 | 'image_width' => [ |
| 1511 | 1574 | 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left', |
| 1575 | + // 'content' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-content', | |
| 1512 | 1576 | ], |
| 1513 | 1577 | 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content', |
| 1514 | 1578 | 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content', |
| 1515 | 1579 | 'grid_alignment' => [ |
| 1516 | 1580 | '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', | |
| 1581 | + '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 | 1582 | ], |
| 1519 | 1583 | ], |
| 1520 | 1584 | 'color_scheme' => [ |
| 1521 | 1585 | 'primary_color' => '{{WRAPPER}}', |
| @@ -1528,9 +1592,9 @@ | ||
| 1528 | 1592 | '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 | 1593 | '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 | 1594 | '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 | 1595 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1532 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover', | |
| 1596 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count', | |
| 1533 | 1597 | 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1534 | 1598 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1535 | 1599 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1536 | 1600 | ], |
| @@ -1577,11 +1641,10 @@ | ||
| 1577 | 1641 | '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 | 1642 | '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 | 1643 | ], |
| 1580 | 1644 | '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)', | |
| 1645 | + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1646 | + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1584 | 1647 | ], |
| 1585 | 1648 | ] |
| 1586 | 1649 | ); |
| 1587 | 1650 | } |
| @@ -1644,16 +1707,12 @@ | ||
| 1644 | 1707 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1645 | 1708 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1646 | 1709 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1647 | 1710 | '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', | |
| 1711 | + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title', | |
| 1712 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover', | |
| 1654 | 1713 | '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', | |
| 1714 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover', | |
| 1656 | 1715 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1657 | 1716 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1658 | 1717 | ], |
| 1659 | 1718 | 'short_description' => array_fill_keys( |
| @@ -1670,32 +1729,28 @@ | ||
| 1670 | 1729 | ), |
| 1671 | 1730 | 'action_buttons' => [ |
| 1672 | 1731 | 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list', |
| 1673 | 1732 | 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list', |
| 1674 | - 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text', | |
| 1675 | 1733 | ], |
| 1676 | 1734 | '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', | |
| 1735 | + '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', | |
| 1736 | + 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1737 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1738 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)', | |
| 1739 | + 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1740 | + 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1741 | + 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper', | |
| 1742 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover', | |
| 1743 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1744 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1689 | 1745 | ], |
| 1690 | 1746 | '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', | |
| 1747 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1748 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1749 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before', | |
| 1750 | + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before', | |
| 1751 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1752 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1698 | 1753 | ], |
| 1699 | 1754 | 'product_categories' => [ |
| 1700 | 1755 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1701 | 1756 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category', |
| @@ -1748,8 +1803,12 @@ | ||
| 1748 | 1803 | 'icon_size' => [ |
| 1749 | 1804 | 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon', |
| 1750 | 1805 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg', |
| 1751 | 1806 | ], |
| 1807 | + 'cart_icon_spacing' => [ | |
| 1808 | + 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text', | |
| 1809 | + 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text', | |
| 1810 | + ], | |
| 1752 | 1811 | 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1753 | 1812 | 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1754 | 1813 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1755 | 1814 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| @@ -1814,17 +1873,10 @@ | ||
| 1814 | 1873 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1815 | 1874 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1816 | 1875 | ], |
| 1817 | 1876 | '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', | |
| 1823 | - 'icon_size' => [ | |
| 1824 | - 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', | |
| 1825 | - 'svg' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon svg', | |
| 1826 | - ], | |
| 1877 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', | |
| 1878 | + 'icon_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', | |
| 1827 | 1879 | 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon', |
| 1828 | 1880 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1829 | 1881 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1830 | 1882 | 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', |