| @@ -9,8 +9,28 @@ | ||
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | 11 | namespace RadiusTheme\SB\Elementor\Helper; |
| 12 | 12 | |
| 13 | +use RadiusTheme\SB\Elementor\Widgets\Archive\ProductFilters; | |
| 14 | +use RadiusTheme\SB\Elementor\Widgets\General\{AdvancedHeading, | |
| 15 | + DropCaps, | |
| 16 | + ShopBuilderButton, | |
| 17 | + CallToAction, | |
| 18 | + InfoBox, | |
| 19 | + FlipBox, | |
| 20 | + Counter, | |
| 21 | + CountDown, | |
| 22 | + PricingTable, | |
| 23 | + ProgressBar, | |
| 24 | + ImageAccordion, | |
| 25 | + ShopBuilderFaq, | |
| 26 | + LogoSliderAndGrid, | |
| 27 | + Testimonial, | |
| 28 | + TeamMember, | |
| 29 | + PostList, | |
| 30 | + PostGrid | |
| 31 | +}; | |
| 32 | + | |
| 13 | 33 | // Do not allow directly accessing this file. |
| 14 | 34 | if ( ! defined( 'ABSPATH' ) ) { |
| 15 | 35 | exit( 'This script cannot be accessed directly.' ); |
| 16 | 36 | } |
| @@ -18,8 +38,9 @@ | ||
| 18 | 38 | /** |
| 19 | 39 | * BuilderFns class |
| 20 | 40 | */ |
| 21 | 41 | class ControlSelectors { |
| 42 | + | |
| 22 | 43 | /** |
| 23 | 44 | * Get Widget Selectors. |
| 24 | 45 | * |
| 25 | 46 | * @param object $widget Widget object. |
| @@ -148,8 +169,9 @@ | ||
| 148 | 169 | 'submit_button_alignment' => [ |
| 149 | 170 | 'text-align' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit', |
| 150 | 171 | 'float' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit input#submit', |
| 151 | 172 | ], |
| 173 | + 'submit_button_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', | |
| 152 | 174 | 'button_text_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', |
| 153 | 175 | 'button_bg_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', |
| 154 | 176 | 'button_border' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', |
| 155 | 177 | 'button_text_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover', |
| @@ -244,14 +266,17 @@ | ||
| 244 | 266 | 'add_cart_button_margin' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 245 | 267 | 'cart_height' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 246 | 268 | 'icon_align' => [ |
| 247 | 269 | 'align' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 248 | - 'flex-direction' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span)', | |
| 270 | + 'flex-direction' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ), {{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span)', | |
| 249 | 271 | ], |
| 250 | 272 | 'cart_icon_gap' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 251 | 273 | 'cart_icon_size' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span, svg):not(.ahfb-svg-iconset):not(.ast-card-action-tooltip)', |
| 252 | 274 | // Slider. |
| 253 | - 'slider_arrow_icon_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', | |
| 275 | + 'slider_arrow_icon_size' => [ | |
| 276 | + 'icon' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn 1', | |
| 277 | + 'svg' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn svg', | |
| 278 | + ], | |
| 254 | 279 | 'slider_arrow_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 255 | 280 | 'arrows_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 256 | 281 | 'arrows_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 257 | 282 | 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| @@ -276,9 +301,12 @@ | ||
| 276 | 301 | 'pagination_padding' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)', |
| 277 | 302 | 'pagination_margin' => '{{WRAPPER}} .woocommerce-pagination', |
| 278 | 303 | 'pagination_width' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)', |
| 279 | 304 | 'pagination_height' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)', |
| 280 | - 'pagination_icon_size' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i', | |
| 305 | + 'pagination_icon_size' => [ | |
| 306 | + 'icon' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i', | |
| 307 | + 'svg' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) svg', | |
| 308 | + ], | |
| 281 | 309 | // Review Star. |
| 282 | 310 | 'review_star_icon_default_color' => '{{WRAPPER}} .products .product .star-rating::before, {{WRAPPER}} p.stars a:before, {{WRAPPER}} p.stars a:hover~a:before, {{WRAPPER}} p.stars.selected a.active~a:before', |
| 283 | 311 | 'review_star_icon_color' => '{{WRAPPER}} .products .product .star-rating span::before, {{WRAPPER}} p.stars.selected a.active:before, {{WRAPPER}} p.stars:hover a:before, {{WRAPPER}} p.stars.selected a:not(.active):before, {{WRAPPER}} p.stars.selected a.active:before', |
| 284 | 312 | 'review_star_icon_size' => '{{WRAPPER}} .products .product .star-rating', |
| @@ -299,9 +327,9 @@ | ||
| 299 | 327 | */ |
| 300 | 328 | private static function general_widget_selectors(): array { |
| 301 | 329 | $selectors = [ |
| 302 | 330 | 'rtsb-product-breadcrumbs' => [ |
| 303 | - 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb', | |
| 331 | + 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', | |
| 304 | 332 | 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', |
| 305 | 333 | 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a', |
| 306 | 334 | 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover', |
| 307 | 335 | 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator', |
| @@ -311,9 +339,8 @@ | ||
| 311 | 339 | ], |
| 312 | 340 | 'breadcrumbs_typography' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', |
| 313 | 341 | 'icon_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator i,{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator', |
| 314 | 342 | ], |
| 315 | - | |
| 316 | 343 | 'rtsb-wc-notice' => [ |
| 317 | 344 | 'notice_typography' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)', |
| 318 | 345 | 'notice_icon_size' => [ |
| 319 | 346 | 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)', |
| @@ -368,35 +395,29 @@ | ||
| 368 | 395 | 'notice_gap_multiple' => '{{WRAPPER}} .rtsb-notice .woocommerce-notices-wrapper, {{WRAPPER}} .rtsb-notice', |
| 369 | 396 | 'notice_icon_gap' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner', |
| 370 | 397 | 'notice_border_radius' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner', |
| 371 | 398 | ], |
| 372 | - | |
| 373 | 399 | 'rtsb-products-grid' => array_merge( |
| 374 | 400 | self::general_common_selectors(), |
| 375 | 401 | self::general_product_selectors() |
| 376 | 402 | ), |
| 377 | - | |
| 378 | 403 | 'rtsb-products-list' => array_merge( |
| 379 | 404 | self::general_common_selectors(), |
| 380 | 405 | self::general_product_selectors() |
| 381 | 406 | ), |
| 382 | - | |
| 383 | 407 | 'rtsb-products-slider' => array_merge( |
| 384 | 408 | self::general_common_selectors(), |
| 385 | 409 | self::general_product_selectors(), |
| 386 | 410 | self::general_slider_selectors(), |
| 387 | 411 | ), |
| 388 | - | |
| 389 | 412 | 'rtsb-product-categories-general' => array_merge( |
| 390 | 413 | self::general_common_selectors(), |
| 391 | 414 | self::general_cat_selectors() |
| 392 | 415 | ), |
| 393 | - | |
| 394 | 416 | 'rtsb-products-single-category' => array_merge( |
| 395 | 417 | self::general_common_selectors(), |
| 396 | 418 | self::general_cat_selectors() |
| 397 | 419 | ), |
| 398 | - | |
| 399 | 420 | 'rtsb-social-share' => array_merge( |
| 400 | 421 | self::social_share(), |
| 401 | 422 | ), |
| 402 | 423 | 'rtsb-wishlist' => [ |
| @@ -405,15 +426,32 @@ | ||
| 405 | 426 | 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 406 | 427 | 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 407 | 428 | 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 408 | 429 | 'table_header_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 409 | - 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a', | |
| 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', | |
| 410 | 431 | 'table_item_align' => '{{WRAPPER}} .rtsb-wishlist-content table td', |
| 411 | - 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a', | |
| 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', | |
| 412 | 433 | 'table_item_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table td', |
| 413 | - 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', | |
| 414 | - 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody 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', | |
| 415 | 436 | ], |
| 437 | + 'rtsb-advanced-heading' => AdvancedHeading\Selectors::get_selectors(), | |
| 438 | + 'rtsb-dropcaps' => DropCaps\Selectors::get_selectors(), | |
| 439 | + 'rtsb-shopbuilder-button' => ShopBuilderButton\Selectors::get_selectors(), | |
| 440 | + 'rtsb-call-to-action' => CallToAction\Selectors::get_selectors(), | |
| 441 | + 'rtsb-info-box' => InfoBox\Selectors::get_selectors(), | |
| 442 | + 'rtsb-pricing-table' => PricingTable\Selectors::get_selectors(), | |
| 443 | + 'rtsb-flip-box' => FlipBox\Selectors::get_selectors(), | |
| 444 | + 'rtsb-counter' => Counter\Selectors::get_selectors(), | |
| 445 | + 'rtsb-countdown-addon' => CountDown\Selectors::get_selectors(), | |
| 446 | + 'rtsb-progress-bar-addon' => ProgressBar\Selectors::get_selectors(), | |
| 447 | + 'rtsb-image-accordion-addon' => ImageAccordion\Selectors::get_selectors(), | |
| 448 | + 'rtsb-shopbuilder-faq' => ShopBuilderFaq\Selectors::get_selectors(), | |
| 449 | + 'rtsb-logo-slider-and-grid' => LogoSliderAndGrid\Selectors::get_selectors(), | |
| 450 | + 'rtsb-testimonial' => Testimonial\Selectors::get_selectors(), | |
| 451 | + 'rtsb-team-member' => TeamMember\Selectors::get_selectors(), | |
| 452 | + 'rtsb-post-list' => PostList\Selectors::get_selectors(), | |
| 453 | + 'rtsb-post-grid' => PostGrid\Selectors::get_selectors(), | |
| 416 | 454 | ]; |
| 417 | 455 | |
| 418 | 456 | return apply_filters( 'rtsb/elements/elementor/widget/general/selectors', $selectors ); |
| 419 | 457 | } |
| @@ -505,9 +543,12 @@ | ||
| 505 | 543 | ], |
| 506 | 544 | 'rtsb-product-add-to-cart' => [ |
| 507 | 545 | 'button_height' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 508 | 546 | 'button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 509 | - 'cart_icon_align' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 547 | + 'cart_icon_align' => [ | |
| 548 | + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 549 | + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg', | |
| 550 | + ], | |
| 510 | 551 | 'cart_icon_gap' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 511 | 552 | 'button_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 512 | 553 | 'button_text_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 513 | 554 | 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| @@ -517,9 +558,12 @@ | ||
| 517 | 558 | 'button_border_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover', |
| 518 | 559 | 'button_border_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 519 | 560 | 'button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 520 | 561 | 'button_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 521 | - 'cart_icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 562 | + 'cart_icon_size' => [ | |
| 563 | + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 564 | + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg', | |
| 565 | + ], | |
| 522 | 566 | 'quantity_height' => [ |
| 523 | 567 | 'full' => '{{WRAPPER}} .rtsb-product-add-to-cart input[type=number], {{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-1,.rtsb-quantity-box-group-style-2) .rtsb-quantity-btn', |
| 524 | 568 | 'half' => '{{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-3,.rtsb-quantity-box-group-style-4) .rtsb-quantity-btn', |
| 525 | 569 | ], |
| @@ -527,11 +571,14 @@ | ||
| 527 | 571 | 'quantity_decrement_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus', |
| 528 | 572 | 'quantity_input_width' => '{{WRAPPER}} .rtsb-product-add-to-cart input.qty', |
| 529 | 573 | 'quantity_button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn', |
| 530 | 574 | |
| 531 | - 'icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn', | |
| 532 | - 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity i', | |
| 533 | - 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover i', | |
| 575 | + 'icon_size' => [ | |
| 576 | + 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn', | |
| 577 | + 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn svg', | |
| 578 | + ], | |
| 579 | + 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity :is(i, svg)', | |
| 580 | + 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover :is(i, svg)', | |
| 534 | 581 | 'text_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 535 | 582 | 'quantity_number_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 536 | 583 | 'quantity_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 537 | 584 | 'quantity_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| @@ -539,9 +586,9 @@ | ||
| 539 | 586 | 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 540 | 587 | 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 541 | 588 | 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 542 | 589 | 'quantity_wrapper_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 543 | - 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 590 | + 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, .rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term', | |
| 544 | 591 | 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 545 | 592 | 'variation_item_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr:not(:last-child) .value', |
| 546 | 593 | 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', |
| 547 | 594 | 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price', |
| @@ -546,11 +593,11 @@ | ||
| 546 | 593 | 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', |
| 547 | 594 | 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price', |
| 548 | 595 | 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)', |
| 549 | 596 | 'price_margin' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)', |
| 550 | - 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 551 | - 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 552 | - 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 597 | + 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 598 | + 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 599 | + 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 553 | 600 | 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 554 | 601 | 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 555 | 602 | 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 556 | 603 | 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| @@ -581,19 +628,13 @@ | ||
| 581 | 628 | ], |
| 582 | 629 | |
| 583 | 630 | 'rtsb-product-image' => [ |
| 584 | 631 | 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img', |
| 632 | + 'image_border' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image, {{WRAPPER}} .rtsb-product-images .product-vg-gallery', | |
| 585 | 633 | 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image', |
| 586 | 634 | 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li', |
| 587 | - // 'gallery_thumbs_column_gap' => '{{WRAPPER}} div.images .flex-control-thumbs', | |
| 588 | - // 'gallery_image_gap_with_main' => [ | |
| 589 | - // 'margin-top' => '{{WRAPPER}} div.images .flex-control-thumbs', | |
| 590 | - // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper', | |
| 591 | - // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper', | |
| 592 | - // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper', | |
| 593 | - // ], | |
| 594 | - 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img', | |
| 595 | - 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img)', | |
| 635 | + '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', | |
| 636 | + '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', | |
| 596 | 637 | 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 597 | 638 | 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 598 | 639 | 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 599 | 640 | 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| @@ -603,9 +644,12 @@ | ||
| 603 | 644 | 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 604 | 645 | 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 605 | 646 | |
| 606 | 647 | 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 607 | - 'zoom_icon_size' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)', | |
| 648 | + 'zoom_icon_size' => [ | |
| 649 | + 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)', | |
| 650 | + 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg', | |
| 651 | + ], | |
| 608 | 652 | 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 609 | 653 | 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 610 | 654 | 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 611 | 655 | 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| @@ -621,12 +665,13 @@ | ||
| 621 | 665 | ], |
| 622 | 666 | 'rtsb-product-meta' => [ |
| 623 | 667 | 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta', |
| 624 | 668 | 'align' => '{{WRAPPER}} .product_meta', |
| 625 | - 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 669 | + 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 670 | + 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 626 | 671 | 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', |
| 627 | - 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 628 | - 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 672 | + 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label', | |
| 673 | + 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta .rtsb-meta-label', | |
| 629 | 674 | 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 630 | 675 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 631 | 676 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover', |
| 632 | 677 | ], |
| @@ -664,17 +709,20 @@ | ||
| 664 | 709 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value', |
| 665 | 710 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover', |
| 666 | 711 | ], |
| 667 | 712 | 'rtsb-product-stock' => [ |
| 668 | - 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock', | |
| 669 | - 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock', | |
| 670 | - 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock', | |
| 671 | - 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder', | |
| 672 | - 'icon_size' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 673 | - 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 674 | - 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 675 | - 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 676 | - 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 713 | + 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock .rtsb-stock-text', | |
| 714 | + 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock .rtsb-stock-text', | |
| 715 | + 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock .rtsb-stock-text', | |
| 716 | + 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder .rtsb-stock-text', | |
| 717 | + 'icon_size' => [ | |
| 718 | + 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 719 | + 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg', | |
| 720 | + ], | |
| 721 | + 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock :is(i, svg)', | |
| 722 | + 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock > .stock', | |
| 723 | + 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock > .stock', | |
| 724 | + 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock > .stock', | |
| 677 | 725 | ], |
| 678 | 726 | 'rtsb-product-tabs' => array_merge( |
| 679 | 727 | self::reviews_settings_selecotor(), |
| 680 | 728 | [ |
| @@ -699,9 +747,9 @@ | ||
| 699 | 747 | 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 700 | 748 | 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 701 | 749 | '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', |
| 702 | 750 | |
| 703 | - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes', | |
| 751 | + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)', | |
| 704 | 752 | 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th', |
| 705 | 753 | ] |
| 706 | 754 | ), |
| 707 | 755 | 'rtsb-product-title' => [ |
| @@ -719,16 +767,22 @@ | ||
| 719 | 767 | 'align' => '{{WRAPPER}}', |
| 720 | 768 | 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)', |
| 721 | 769 | 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p', |
| 722 | 770 | ], |
| 771 | + // The widget badge lives inside `{{WRAPPER}} .rtsb-product-onsale`; the Badges | |
| 772 | + // module also renders group badges on the main product gallery (above-image | |
| 773 | + // position). Style both from the same controls by pairing the widget selector | |
| 774 | + // with a gallery-scoped selector for the module group badges. The gallery | |
| 775 | + // scope (`.woocommerce-product-gallery`/`.rtsb-product-images`) keeps related | |
| 776 | + // product card badges untouched. | |
| 723 | 777 | 'rtsb-product-onsale' => [ |
| 724 | - 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 725 | - 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 726 | - 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 727 | - 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 728 | - 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 729 | - 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 730 | - 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 778 | + '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)', | |
| 779 | + '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)', | |
| 780 | + '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)', | |
| 781 | + '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)', | |
| 782 | + '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)', | |
| 783 | + '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)', | |
| 784 | + '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)', | |
| 731 | 785 | 'product_badges' => [ |
| 732 | 786 | 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)', |
| 733 | 787 | 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', |
| 734 | 788 | 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', |
| @@ -733,13 +787,18 @@ | ||
| 733 | 787 | 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', |
| 734 | 788 | 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', |
| 735 | 789 | 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after', |
| 736 | 790 | 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', |
| 737 | - 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 738 | - 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 791 | + 'padding' => '{{WRAPPER}} .rtsb-product-onsale :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)', | |
| 792 | + 'margin' => '{{WRAPPER}} .rtsb-product-onsale :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)', | |
| 739 | 793 | 'position_x' => '', |
| 740 | 794 | 'position_y' => '', |
| 741 | 795 | ], |
| 796 | + 'badges_module' => [ | |
| 797 | + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 798 | + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 799 | + 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)', | |
| 800 | + ], | |
| 742 | 801 | ], |
| 743 | 802 | ]; |
| 744 | 803 | |
| 745 | 804 | return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors ); |
| @@ -785,14 +844,16 @@ | ||
| 785 | 844 | 'text_color' => '{{WRAPPER}}', |
| 786 | 845 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description', |
| 787 | 846 | ], |
| 788 | 847 | 'rtsb-archive-product-mode' => [ |
| 789 | - 'icon_size' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 848 | + 'icon_size' => [ | |
| 849 | + 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i', | |
| 850 | + 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg', | |
| 851 | + ], | |
| 790 | 852 | 'mode_button_align' => '{{WRAPPER}}', |
| 791 | 853 | 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 792 | 854 | 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 793 | 855 | 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode', |
| 794 | - 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 795 | 856 | 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 796 | 857 | 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 797 | 858 | 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 798 | 859 | 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active', |
| @@ -802,9 +863,12 @@ | ||
| 802 | 863 | ], |
| 803 | 864 | 'rtsb-archive-result-count' => [ |
| 804 | 865 | 'align' => '{{WRAPPER}}', |
| 805 | 866 | 'text_color' => '{{WRAPPER}}', |
| 806 | - 'typo' => '{{WRAPPER}} .rtsb-archive-result-count', | |
| 867 | + // Also target the inner <p> (woocommerce_result_count output): text-decoration | |
| 868 | + // is not inherited and does not draw through the descendant block, so it must | |
| 869 | + // hit the text element directly. Other typography keeps working via the div. | |
| 870 | + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count, {{WRAPPER}} .rtsb-archive-result-count .woocommerce-result-count', | |
| 807 | 871 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count', |
| 808 | 872 | ], |
| 809 | 873 | 'rtsb-products-ordering' => [ |
| 810 | 874 | 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )', |
| @@ -819,8 +883,9 @@ | ||
| 819 | 883 | 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 820 | 884 | 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 821 | 885 | 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby', |
| 822 | 886 | ], |
| 887 | + 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(), | |
| 823 | 888 | ]; |
| 824 | 889 | |
| 825 | 890 | return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors ); |
| 826 | 891 | } |
| @@ -912,16 +977,12 @@ | ||
| 912 | 977 | 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 913 | 978 | 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 914 | 979 | 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 915 | 980 | 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 916 | - 'input_border' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 981 | + 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text', | |
| 917 | 982 | 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input', |
| 918 | 983 | 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input', |
| 919 | - 'empty_notice_typography' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 920 | - 'empty_notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 921 | - 'empty_notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 922 | - 'empty_notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 923 | - 'empty_notice_padding' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 984 | + | |
| 924 | 985 | 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button', |
| 925 | 986 | 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button', |
| 926 | 987 | 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button', |
| 927 | 988 | 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button', |
| @@ -931,16 +992,19 @@ | ||
| 931 | 992 | 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover', |
| 932 | 993 | 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button', |
| 933 | 994 | 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button', |
| 934 | 995 | 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button', |
| 935 | - 'notice_typography' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 936 | - 'notice_padding' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 937 | - 'notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 938 | - 'notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 939 | - 'notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 940 | - 'error_notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error', | |
| 941 | - 'error_notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error li', | |
| 942 | - 'error_notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error', | |
| 996 | + | |
| 997 | + 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 998 | + 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 999 | + 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1000 | + 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1001 | + 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1002 | + 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1003 | + 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1004 | + 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1005 | + 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1006 | + | |
| 943 | 1007 | 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img', |
| 944 | 1008 | 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img', |
| 945 | 1009 | 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )', |
| 946 | 1010 | 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| @@ -948,9 +1012,8 @@ | ||
| 948 | 1012 | 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 949 | 1013 | 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 950 | 1014 | 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 951 | 1015 | 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 952 | - // 'table_content_column_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td', | |
| 953 | 1016 | 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th', |
| 954 | 1017 | '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', |
| 955 | 1018 | 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table', |
| 956 | 1019 | |
| @@ -1019,11 +1082,14 @@ | ||
| 1019 | 1082 | 'quantity_increment_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus', |
| 1020 | 1083 | 'quantity_decrement_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus', |
| 1021 | 1084 | |
| 1022 | 1085 | 'quantity_button_width' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn', |
| 1023 | - 'icon_size' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn', | |
| 1024 | - 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity i', | |
| 1025 | - 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover i', | |
| 1086 | + 'icon_size' => [ | |
| 1087 | + 'icon' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn', | |
| 1088 | + 'svg' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn svg', | |
| 1089 | + ], | |
| 1090 | + 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity :is(i, svg)', | |
| 1091 | + 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover :is(i, svg)', | |
| 1026 | 1092 | 'text_typography' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| 1027 | 1093 | 'quantity_number_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| 1028 | 1094 | 'quantity_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| 1029 | 1095 | 'quantity_border' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| @@ -1059,27 +1125,28 @@ | ||
| 1059 | 1125 | // Label. |
| 1060 | 1126 | 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label', |
| 1061 | 1127 | 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label', |
| 1062 | 1128 | 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required', |
| 1063 | - 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label', | |
| 1129 | + 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)', | |
| 1064 | 1130 | |
| 1065 | 1131 | // Input Fields. |
| 1132 | + 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea', | |
| 1066 | 1133 | 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', |
| 1067 | - 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1134 | + 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1068 | 1135 | |
| 1069 | - 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1136 | + 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1070 | 1137 | |
| 1071 | - 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1072 | - 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1138 | + 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1139 | + 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1073 | 1140 | |
| 1074 | 1141 | // Hover. |
| 1075 | - 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)', | |
| 1142 | + 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)', | |
| 1076 | 1143 | |
| 1077 | - 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)', | |
| 1144 | + 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)', | |
| 1078 | 1145 | |
| 1079 | - 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single', | |
| 1080 | - 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single', | |
| 1081 | - 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )', | |
| 1146 | + 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single', | |
| 1147 | + 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single', | |
| 1148 | + 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea):not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )', | |
| 1082 | 1149 | |
| 1083 | 1150 | 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row', |
| 1084 | 1151 | 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper', |
| 1085 | 1152 | |
| @@ -1092,11 +1159,12 @@ | ||
| 1092 | 1159 | |
| 1093 | 1160 | 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', |
| 1094 | 1161 | 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', |
| 1095 | 1162 | 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required', |
| 1096 | - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', | |
| 1163 | + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)', | |
| 1097 | 1164 | |
| 1098 | 1165 | // Input Fields. |
| 1166 | + 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea', | |
| 1099 | 1167 | 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select', |
| 1100 | 1168 | 'fields_border' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select', |
| 1101 | 1169 | |
| 1102 | 1170 | 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select', |
| @@ -1129,25 +1197,26 @@ | ||
| 1129 | 1197 | |
| 1130 | 1198 | 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label', |
| 1131 | 1199 | 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label', |
| 1132 | 1200 | 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required', |
| 1133 | - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label', | |
| 1201 | + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)', | |
| 1134 | 1202 | |
| 1135 | 1203 | // Input Fields. |
| 1136 | - 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1137 | - 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1138 | - 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1139 | - 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1140 | - 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1204 | + 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1205 | + 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-order-note .select2-selection--single, {{WRAPPER}} .rtsb-form-order-note select', | |
| 1206 | + 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )', | |
| 1207 | + 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )', | |
| 1208 | + 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )', | |
| 1209 | + 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )', | |
| 1141 | 1210 | |
| 1142 | 1211 | // Hover. |
| 1143 | - 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1212 | + 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1144 | 1213 | |
| 1145 | - 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1146 | - 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1147 | - 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1214 | + 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1215 | + 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1216 | + 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1148 | 1217 | |
| 1149 | - 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1218 | + 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )', | |
| 1150 | 1219 | 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper', |
| 1151 | 1220 | 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper', |
| 1152 | 1221 | |
| 1153 | 1222 | ], |
| @@ -1163,9 +1232,8 @@ | ||
| 1163 | 1232 | 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1164 | 1233 | 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1165 | 1234 | 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1166 | 1235 | 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1167 | - // Table Settings. | |
| 1168 | 1236 | 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1169 | 1237 | 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1170 | 1238 | 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1171 | 1239 | 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )', |
| @@ -1172,17 +1240,17 @@ | ||
| 1172 | 1240 | 'label_typo' => '{{WRAPPER}} #order_review thead th', |
| 1173 | 1241 | 'label_color' => '{{WRAPPER}} #order_review thead th', |
| 1174 | 1242 | 'label_bg_color' => '{{WRAPPER}} #order_review thead th', |
| 1175 | 1243 | 'label_item_padding' => '{{WRAPPER}} #order_review thead th', |
| 1176 | - // Table Body | |
| 1244 | + // Table Body. | |
| 1177 | 1245 | 'body_text_typo' => '{{WRAPPER}} #order_review tbody td', |
| 1178 | 1246 | 'body_text_color' => '{{WRAPPER}} #order_review tbody td', |
| 1179 | 1247 | 'body_item_padding' => '{{WRAPPER}} #order_review tbody td', |
| 1180 | 1248 | 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td', |
| 1181 | - // Counter | |
| 1249 | + // Counter. | |
| 1182 | 1250 | 'counter_text_color' => '{{WRAPPER}} .product-quantity', |
| 1183 | 1251 | 'counter_style' => '{{WRAPPER}} .product-quantity', |
| 1184 | - // Table Footer | |
| 1252 | + // Table Footer. | |
| 1185 | 1253 | 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| 1186 | 1254 | 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th', |
| 1187 | 1255 | 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td', |
| 1188 | 1256 | 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| @@ -1377,9 +1445,11 @@ | ||
| 1377 | 1445 | 'rtsb/elementor/common_selectors', |
| 1378 | 1446 | [ |
| 1379 | 1447 | 'columns' => [ |
| 1380 | 1448 | 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row', |
| 1449 | + 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry', | |
| 1381 | 1450 | 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]', |
| 1451 | + 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry', | |
| 1382 | 1452 | 'grid_gap' => [ |
| 1383 | 1453 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]', |
| 1384 | 1454 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row', |
| 1385 | 1455 | 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3', |
| @@ -1386,15 +1456,14 @@ | ||
| 1386 | 1456 | 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9', |
| 1387 | 1457 | ], |
| 1388 | 1458 | 'image_width' => [ |
| 1389 | 1459 | 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left', |
| 1390 | - // 'content' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-content', | |
| 1391 | 1460 | ], |
| 1392 | 1461 | 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content', |
| 1393 | 1462 | 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content', |
| 1394 | 1463 | 'grid_alignment' => [ |
| 1395 | 1464 | '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', |
| 1396 | - 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list', | |
| 1465 | + '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', | |
| 1397 | 1466 | ], |
| 1398 | 1467 | ], |
| 1399 | 1468 | 'color_scheme' => [ |
| 1400 | 1469 | 'primary_color' => '{{WRAPPER}}', |
| @@ -1407,9 +1476,9 @@ | ||
| 1407 | 1476 | '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', |
| 1408 | 1477 | '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', |
| 1409 | 1478 | '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', |
| 1410 | 1479 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1411 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count', | |
| 1480 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover', | |
| 1412 | 1481 | 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1413 | 1482 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1414 | 1483 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1415 | 1484 | ], |
| @@ -1433,10 +1502,12 @@ | ||
| 1433 | 1502 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-product-img .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item .rtsb-product-image', |
| 1434 | 1503 | 'max_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image .rtsb-product-img figure,{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item .rtsb-product-img figure', |
| 1435 | 1504 | 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure, {{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area::before, {{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area::after', |
| 1436 | 1505 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img', |
| 1506 | + | |
| 1437 | 1507 | ], |
| 1438 | 1508 | 'advanced' => [ |
| 1509 | + 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', | |
| 1439 | 1510 | 'content_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image', |
| 1440 | 1511 | 'element_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid', |
| 1441 | 1512 | 'element_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .category-wrapper, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .fade-action-button, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content', |
| 1442 | 1513 | 'content_bg_color' => '{{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', |
| @@ -1444,8 +1515,10 @@ | ||
| 1444 | 1515 | 'rtsb_el_element_shadow' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .category-wrapper, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product .product-fade-content', |
| 1445 | 1516 | 'content_hover_bg_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', |
| 1446 | 1517 | 'element_hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item:hover, {{WRAPPER}} .rtsb-elementor-container .single-category-area:hover, {{WRAPPER}} .rtsb-elementor-container .category-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product:hover :is( .product-fade-content, .fade-action-button )', |
| 1447 | 1518 | 'rtsb_el_element_hover_shadow' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item:hover, {{WRAPPER}} .rtsb-elementor-container .single-category-area:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .category-wrapper:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .rtsb-category-grid:hover .category-title-with-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product:hover .product-fade-content', |
| 1519 | + 'rtsb_el_wrapper_border' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', | |
| 1520 | + 'wrapper_border_radius' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', | |
| 1448 | 1521 | 'rtsb_el_element_border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .category-wrapper', |
| 1449 | 1522 | 'element_border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item:hover, {{WRAPPER}} .rtsb-elementor-container .single-category-area:hover, {{WRAPPER}} .rtsb-elementor-container .category-wrapper:hover', |
| 1450 | 1523 | 'element_border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-item, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-item, {{WRAPPER}} .rtsb-elementor-container .single-category-area, {{WRAPPER}} .rtsb-elementor-container .category-wrapper', |
| 1451 | 1524 | 'rtsb_el_content_border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image', |
| @@ -1451,8 +1524,13 @@ | ||
| 1451 | 1524 | 'rtsb_el_content_border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image', |
| 1452 | 1525 | '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', |
| 1453 | 1526 | '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', |
| 1454 | 1527 | ], |
| 1528 | + 'badges_module' => [ | |
| 1529 | + 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1530 | + 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style', | |
| 1531 | + 'alignment_wrap' => '{{WRAPPER}} .rtsb-badge-container .rtsb-promotion:not(.rtsb-badge-group-style)', | |
| 1532 | + ], | |
| 1455 | 1533 | ] |
| 1456 | 1534 | ); |
| 1457 | 1535 | } |
| 1458 | 1536 | |
| @@ -1463,9 +1541,12 @@ | ||
| 1463 | 1541 | */ |
| 1464 | 1542 | public static function general_slider_selectors(): array { |
| 1465 | 1543 | return [ |
| 1466 | 1544 | 'slider_buttons' => [ |
| 1467 | - 'arrow_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', | |
| 1545 | + 'arrow_size' => [ | |
| 1546 | + 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', | |
| 1547 | + 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg', | |
| 1548 | + ], | |
| 1468 | 1549 | 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow', |
| 1469 | 1550 | 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow', |
| 1470 | 1551 | 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', |
| 1471 | 1552 | 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet', |
| @@ -1511,12 +1592,16 @@ | ||
| 1511 | 1592 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1512 | 1593 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1513 | 1594 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1514 | 1595 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1515 | - 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title', | |
| 1516 | - 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover', | |
| 1596 | + // Layout 2 (grid/slider) reveals a hover button that overlays the title wrapper and captures :hover, so the | |
| 1597 | + // wrapper's own :hover never fires; the extra `.rtsb-product:hover .product-title-with-btn` clause re-applies the | |
| 1598 | + // hover text/bg/border color on product-card hover. NOTE: layout 2 fades the title text out on hover, so the | |
| 1599 | + // hover *text* color is not visibly noticeable there — the wrapper background and border remain visible. | |
| 1600 | + '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', | |
| 1601 | + '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', | |
| 1517 | 1602 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper', |
| 1518 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover', | |
| 1603 | + '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', | |
| 1519 | 1604 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1520 | 1605 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1521 | 1606 | ], |
| 1522 | 1607 | 'short_description' => array_fill_keys( |
| @@ -1533,27 +1618,32 @@ | ||
| 1533 | 1618 | ), |
| 1534 | 1619 | 'action_buttons' => [ |
| 1535 | 1620 | 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list', |
| 1536 | 1621 | 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list', |
| 1622 | + 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text', | |
| 1537 | 1623 | ], |
| 1538 | 1624 | 'product_price' => [ |
| 1539 | - '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', | |
| 1540 | - 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1541 | - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1542 | - 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)', | |
| 1543 | - 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1544 | - 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper', | |
| 1545 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover', | |
| 1546 | - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1547 | - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1625 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del', | |
| 1626 | + 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins', | |
| 1627 | + 'regular_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper .price > .woocommerce-Price-amount, {{WRAPPER}} .rtsb-elementor-container .price-wrapper del', | |
| 1628 | + 'sale_text_decoration' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper ins', | |
| 1629 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1630 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)', | |
| 1631 | + 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1632 | + 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1633 | + 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper', | |
| 1634 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover', | |
| 1635 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1636 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1548 | 1637 | ], |
| 1549 | 1638 | 'product_rating' => [ |
| 1550 | - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1551 | - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1552 | - 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before', | |
| 1553 | - 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before', | |
| 1554 | - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1555 | - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1639 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1640 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1641 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before', | |
| 1642 | + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before', | |
| 1643 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1644 | + 'spacing_preset2' => '{{WRAPPER}} .rtsb-elementor-container .product-rating.preset2, {{WRAPPER}} .rtsb-elementor-container .product-rating.preset2 .inner-wrapper', | |
| 1645 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1556 | 1646 | ], |
| 1557 | 1647 | 'product_categories' => [ |
| 1558 | 1648 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1559 | 1649 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category', |
| @@ -1567,8 +1657,22 @@ | ||
| 1567 | 1657 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1568 | 1658 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1569 | 1659 | 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category', |
| 1570 | 1660 | ], |
| 1661 | + 'product_brands' => [ | |
| 1662 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1663 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-brand-category', | |
| 1664 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1665 | + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1666 | + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover', | |
| 1667 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover', | |
| 1668 | + 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1669 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover', | |
| 1670 | + 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1671 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1672 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1673 | + 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-category', | |
| 1674 | + ], | |
| 1571 | 1675 | 'pagination' => [ |
| 1572 | 1676 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button', |
| 1573 | 1677 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap', |
| 1574 | 1678 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button', |
| @@ -1592,12 +1696,8 @@ | ||
| 1592 | 1696 | 'icon_size' => [ |
| 1593 | 1697 | 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon', |
| 1594 | 1698 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg', |
| 1595 | 1699 | ], |
| 1596 | - 'cart_icon_spacing' => [ | |
| 1597 | - 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text', | |
| 1598 | - 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text', | |
| 1599 | - ], | |
| 1600 | 1700 | 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1601 | 1701 | 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1602 | 1702 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1603 | 1703 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| @@ -1663,9 +1763,12 @@ | ||
| 1663 | 1763 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1664 | 1764 | ], |
| 1665 | 1765 | 'hover_icon_button' => [ |
| 1666 | 1766 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1667 | - 'icon_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', | |
| 1767 | + 'icon_size' => [ | |
| 1768 | + 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', | |
| 1769 | + 'svg' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon svg', | |
| 1770 | + ], | |
| 1668 | 1771 | 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon', |
| 1669 | 1772 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1670 | 1773 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1671 | 1774 | 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', |