| @@ -9,28 +9,8 @@ | ||
| 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 | - | |
| 33 | 13 | // Do not allow directly accessing this file. |
| 34 | 14 | if ( ! defined( 'ABSPATH' ) ) { |
| 35 | 15 | exit( 'This script cannot be accessed directly.' ); |
| 36 | 16 | } |
| @@ -38,9 +18,8 @@ | ||
| 38 | 18 | /** |
| 39 | 19 | * BuilderFns class |
| 40 | 20 | */ |
| 41 | 21 | class ControlSelectors { |
| 42 | - | |
| 43 | 22 | /** |
| 44 | 23 | * Get Widget Selectors. |
| 45 | 24 | * |
| 46 | 25 | * @param object $widget Widget object. |
| @@ -169,9 +148,8 @@ | ||
| 169 | 148 | 'submit_button_alignment' => [ |
| 170 | 149 | 'text-align' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit', |
| 171 | 150 | 'float' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit input#submit', |
| 172 | 151 | ], |
| 173 | - 'submit_button_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', | |
| 174 | 152 | 'button_text_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', |
| 175 | 153 | 'button_bg_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', |
| 176 | 154 | 'button_border' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)', |
| 177 | 155 | 'button_text_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover', |
| @@ -271,12 +249,9 @@ | ||
| 271 | 249 | ], |
| 272 | 250 | 'cart_icon_gap' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 273 | 251 | '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)', |
| 274 | 252 | // Slider. |
| 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 | - ], | |
| 253 | + 'slider_arrow_icon_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', | |
| 279 | 254 | 'slider_arrow_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 280 | 255 | 'arrows_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 281 | 256 | 'arrows_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 282 | 257 | 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| @@ -282,9 +257,9 @@ | ||
| 282 | 257 | 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn', |
| 283 | 258 | 'arrows_hover_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover', |
| 284 | 259 | 'arrows_hover_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover', |
| 285 | 260 | 'arrows_hover_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover', |
| 286 | - 'dots_gap' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet', | |
| 261 | + 'dots_gap' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper', | |
| 287 | 262 | 'dots_size' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet', |
| 288 | 263 | 'dot_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet', |
| 289 | 264 | 'dot_active_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active', |
| 290 | 265 | // Pagination. |
| @@ -301,12 +276,9 @@ | ||
| 301 | 276 | 'pagination_padding' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)', |
| 302 | 277 | 'pagination_margin' => '{{WRAPPER}} .woocommerce-pagination', |
| 303 | 278 | 'pagination_width' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)', |
| 304 | 279 | 'pagination_height' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)', |
| 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 | - ], | |
| 280 | + 'pagination_icon_size' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i', | |
| 309 | 281 | // Review Star. |
| 310 | 282 | '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', |
| 311 | 283 | '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', |
| 312 | 284 | 'review_star_icon_size' => '{{WRAPPER}} .products .product .star-rating', |
| @@ -327,9 +299,9 @@ | ||
| 327 | 299 | */ |
| 328 | 300 | private static function general_widget_selectors(): array { |
| 329 | 301 | $selectors = [ |
| 330 | 302 | 'rtsb-product-breadcrumbs' => [ |
| 331 | - 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', | |
| 303 | + 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb', | |
| 332 | 304 | 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', |
| 333 | 305 | 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a', |
| 334 | 306 | 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover', |
| 335 | 307 | 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator', |
| @@ -339,8 +311,9 @@ | ||
| 339 | 311 | ], |
| 340 | 312 | 'breadcrumbs_typography' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb', |
| 341 | 313 | 'icon_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator i,{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator', |
| 342 | 314 | ], |
| 315 | + | |
| 343 | 316 | 'rtsb-wc-notice' => [ |
| 344 | 317 | 'notice_typography' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)', |
| 345 | 318 | 'notice_icon_size' => [ |
| 346 | 319 | 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)', |
| @@ -395,29 +368,35 @@ | ||
| 395 | 368 | 'notice_gap_multiple' => '{{WRAPPER}} .rtsb-notice .woocommerce-notices-wrapper, {{WRAPPER}} .rtsb-notice', |
| 396 | 369 | 'notice_icon_gap' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner', |
| 397 | 370 | 'notice_border_radius' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner', |
| 398 | 371 | ], |
| 372 | + | |
| 399 | 373 | 'rtsb-products-grid' => array_merge( |
| 400 | 374 | self::general_common_selectors(), |
| 401 | 375 | self::general_product_selectors() |
| 402 | 376 | ), |
| 377 | + | |
| 403 | 378 | 'rtsb-products-list' => array_merge( |
| 404 | 379 | self::general_common_selectors(), |
| 405 | 380 | self::general_product_selectors() |
| 406 | 381 | ), |
| 382 | + | |
| 407 | 383 | 'rtsb-products-slider' => array_merge( |
| 408 | 384 | self::general_common_selectors(), |
| 409 | 385 | self::general_product_selectors(), |
| 410 | 386 | self::general_slider_selectors(), |
| 411 | 387 | ), |
| 388 | + | |
| 412 | 389 | 'rtsb-product-categories-general' => array_merge( |
| 413 | 390 | self::general_common_selectors(), |
| 414 | 391 | self::general_cat_selectors() |
| 415 | 392 | ), |
| 393 | + | |
| 416 | 394 | 'rtsb-products-single-category' => array_merge( |
| 417 | 395 | self::general_common_selectors(), |
| 418 | 396 | self::general_cat_selectors() |
| 419 | 397 | ), |
| 398 | + | |
| 420 | 399 | 'rtsb-social-share' => array_merge( |
| 421 | 400 | self::social_share(), |
| 422 | 401 | ), |
| 423 | 402 | 'rtsb-wishlist' => [ |
| @@ -426,32 +405,15 @@ | ||
| 426 | 405 | 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 427 | 406 | 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 428 | 407 | 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', |
| 429 | 408 | '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', | |
| 409 | + 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a', | |
| 431 | 410 | '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', | |
| 411 | + 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a', | |
| 433 | 412 | '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', | |
| 413 | + 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th', | |
| 414 | + 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody td', | |
| 436 | 415 | ], |
| 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(), | |
| 454 | 416 | ]; |
| 455 | 417 | |
| 456 | 418 | return apply_filters( 'rtsb/elements/elementor/widget/general/selectors', $selectors ); |
| 457 | 419 | } |
| @@ -461,18 +423,8 @@ | ||
| 461 | 423 | * |
| 462 | 424 | * @return array |
| 463 | 425 | */ |
| 464 | 426 | 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 | 427 | $selectors = [ |
| 476 | 428 | 'rtsb-related-product' => array_merge( |
| 477 | 429 | self::products_loop_default_selector(), |
| 478 | 430 | self::carousel_selector(), |
| @@ -545,14 +497,9 @@ | ||
| 545 | 497 | 'rtsb-product-additional-info' => [ |
| 546 | 498 | 'heading_typography' => '{{WRAPPER}} .rtsb-product-additional-information h2', |
| 547 | 499 | 'heading_color' => '{{WRAPPER}} .rtsb-product-additional-information h2', |
| 548 | 500 | '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', | |
| 501 | + 'content_typography' => '{{WRAPPER}} .shop_attributes', | |
| 555 | 502 | 'content_color' => '{{WRAPPER}} .shop_attributes', |
| 556 | 503 | 'content_border' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th', |
| 557 | 504 | 'content_padding' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th', |
| 558 | 505 | ], |
| @@ -558,12 +505,9 @@ | ||
| 558 | 505 | ], |
| 559 | 506 | 'rtsb-product-add-to-cart' => [ |
| 560 | 507 | 'button_height' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 561 | 508 | 'button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 562 | - 'cart_icon_align' => [ | |
| 563 | - 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 564 | - 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg', | |
| 565 | - ], | |
| 509 | + 'cart_icon_align' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 566 | 510 | 'cart_icon_gap' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 567 | 511 | 'button_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 568 | 512 | 'button_text_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 569 | 513 | 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| @@ -601,30 +545,23 @@ | ||
| 601 | 545 | 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 602 | 546 | 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 603 | 547 | 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 604 | 548 | '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', | |
| 549 | + 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 606 | 550 | 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 607 | 551 | '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)', | |
| 552 | + 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 609 | 553 | 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price', |
| 610 | 554 | 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)', |
| 611 | 555 | '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)', | |
| 556 | + 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 557 | + 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 558 | + 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, {{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 615 | 559 | 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 616 | 560 | 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 617 | 561 | 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 618 | 562 | 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 619 | 563 | '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 | 564 | |
| 628 | 565 | ], |
| 629 | 566 | 'rtsb-product-categories' => [ |
| 630 | 567 | 'align' => '{{WRAPPER}} .rtsb-product-categories', |
| @@ -650,14 +587,19 @@ | ||
| 650 | 587 | ], |
| 651 | 588 | |
| 652 | 589 | 'rtsb-product-image' => [ |
| 653 | 590 | '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', | |
| 655 | 591 | 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image', |
| 656 | 592 | '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', | |
| 593 | + // 'gallery_thumbs_column_gap' => '{{WRAPPER}} div.images .flex-control-thumbs', | |
| 594 | + // 'gallery_image_gap_with_main' => [ | |
| 595 | + // 'margin-top' => '{{WRAPPER}} div.images .flex-control-thumbs', | |
| 596 | + // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper', | |
| 597 | + // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper', | |
| 598 | + // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper', | |
| 599 | + // ], | |
| 600 | + 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img', | |
| 601 | + 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img)', | |
| 660 | 602 | 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 661 | 603 | 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 662 | 604 | 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 663 | 605 | 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| @@ -667,12 +609,9 @@ | ||
| 667 | 609 | 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 668 | 610 | 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 669 | 611 | |
| 670 | 612 | 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 671 | - 'zoom_icon_size' => [ | |
| 672 | - 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)', | |
| 673 | - 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg', | |
| 674 | - ], | |
| 613 | + 'zoom_icon_size' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)', | |
| 675 | 614 | 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 676 | 615 | 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 677 | 616 | 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 678 | 617 | 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| @@ -688,13 +627,12 @@ | ||
| 688 | 627 | ], |
| 689 | 628 | 'rtsb-product-meta' => [ |
| 690 | 629 | 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta', |
| 691 | 630 | 'align' => '{{WRAPPER}} .product_meta', |
| 692 | - 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 693 | - 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 631 | + 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 694 | 632 | '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', | |
| 633 | + 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 634 | + 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)', | |
| 697 | 635 | 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 698 | 636 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 699 | 637 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover', |
| 700 | 638 | ], |
| @@ -732,20 +670,17 @@ | ||
| 732 | 670 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value', |
| 733 | 671 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover', |
| 734 | 672 | ], |
| 735 | 673 | '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', | |
| 740 | - 'icon_size' => [ | |
| 741 | - 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 742 | - 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg', | |
| 743 | - ], | |
| 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', | |
| 674 | + 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock', | |
| 675 | + 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock', | |
| 676 | + 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock', | |
| 677 | + 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder', | |
| 678 | + 'icon_size' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 679 | + 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i', | |
| 680 | + 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 681 | + 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 682 | + 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p', | |
| 748 | 683 | ], |
| 749 | 684 | 'rtsb-product-tabs' => array_merge( |
| 750 | 685 | self::reviews_settings_selecotor(), |
| 751 | 686 | [ |
| @@ -770,9 +705,9 @@ | ||
| 770 | 705 | 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 771 | 706 | 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 772 | 707 | '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 | 708 | |
| 774 | - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)', | |
| 709 | + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes', | |
| 775 | 710 | 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th', |
| 776 | 711 | ] |
| 777 | 712 | ), |
| 778 | 713 | 'rtsb-product-title' => [ |
| @@ -790,49 +725,27 @@ | ||
| 790 | 725 | 'align' => '{{WRAPPER}}', |
| 791 | 726 | 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)', |
| 792 | 727 | 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p', |
| 793 | 728 | ], |
| 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 | 729 | '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)', | |
| 730 | + 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 731 | + 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 732 | + 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 733 | + 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 734 | + 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 735 | + 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 736 | + 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)', | |
| 808 | 737 | '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)', | |
| 738 | + 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 739 | + 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 740 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 741 | + 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 742 | + 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 743 | + 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 744 | + 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 823 | 745 | 'position_x' => '', |
| 824 | 746 | 'position_y' => '', |
| 825 | 747 | ], |
| 826 | - '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)', | |
| 834 | - ], | |
| 835 | 748 | ], |
| 836 | 749 | ]; |
| 837 | 750 | |
| 838 | 751 | return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors ); |
| @@ -878,16 +791,14 @@ | ||
| 878 | 791 | 'text_color' => '{{WRAPPER}}', |
| 879 | 792 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description', |
| 880 | 793 | ], |
| 881 | 794 | 'rtsb-archive-product-mode' => [ |
| 882 | - 'icon_size' => [ | |
| 883 | - 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i', | |
| 884 | - 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg', | |
| 885 | - ], | |
| 795 | + 'icon_size' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 886 | 796 | 'mode_button_align' => '{{WRAPPER}}', |
| 887 | 797 | 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 888 | 798 | 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 889 | 799 | 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode', |
| 800 | + 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 890 | 801 | 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 891 | 802 | 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 892 | 803 | 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 893 | 804 | 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active', |
| @@ -897,12 +808,9 @@ | ||
| 897 | 808 | ], |
| 898 | 809 | 'rtsb-archive-result-count' => [ |
| 899 | 810 | 'align' => '{{WRAPPER}}', |
| 900 | 811 | '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', | |
| 812 | + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count', | |
| 905 | 813 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count', |
| 906 | 814 | ], |
| 907 | 815 | 'rtsb-products-ordering' => [ |
| 908 | 816 | 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )', |
| @@ -917,9 +825,8 @@ | ||
| 917 | 825 | 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 918 | 826 | 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 919 | 827 | 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby', |
| 920 | 828 | ], |
| 921 | - 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(), | |
| 922 | 829 | ]; |
| 923 | 830 | |
| 924 | 831 | return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors ); |
| 925 | 832 | } |
| @@ -956,9 +863,9 @@ | ||
| 956 | 863 | 'rtsb-product-cart-totals' => [ |
| 957 | 864 | 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 958 | 865 | 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table', |
| 959 | 866 | // Title Style. |
| 960 | - 'title_align' => '{{WRAPPER}} .rtsb-cart-totals h2', | |
| 867 | + 'title_align' => '{{WRAPPER}}', | |
| 961 | 868 | 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 962 | 869 | 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 963 | 870 | 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 964 | 871 | 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| @@ -1011,12 +918,16 @@ | ||
| 1011 | 918 | 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1012 | 919 | 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1013 | 920 | 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1014 | 921 | 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1015 | - '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', | |
| 922 | + 'input_border' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 923 | + 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 1017 | 924 | 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input', |
| 1018 | - | |
| 925 | + 'empty_notice_typography' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 926 | + 'empty_notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 927 | + 'empty_notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 928 | + 'empty_notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 929 | + 'empty_notice_padding' => '{{WRAPPER}} .rtsb-cart-table .cart-empty', | |
| 1019 | 930 | 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button', |
| 1020 | 931 | 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button', |
| 1021 | 932 | 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button', |
| 1022 | 933 | 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button', |
| @@ -1026,19 +937,16 @@ | ||
| 1026 | 937 | 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover', |
| 1027 | 938 | 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button', |
| 1028 | 939 | 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button', |
| 1029 | 940 | 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button', |
| 1030 | - | |
| 1031 | - 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1032 | - 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1033 | - 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1034 | - 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1035 | - 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner', | |
| 1036 | - 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1037 | - 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1038 | - 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1039 | - 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg', | |
| 1040 | - | |
| 941 | + 'notice_typography' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 942 | + 'notice_padding' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 943 | + 'notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 944 | + 'notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 945 | + 'notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-message', | |
| 946 | + 'error_notice_bg_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error', | |
| 947 | + 'error_notice_text_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error li', | |
| 948 | + 'error_notice_border_color' => '{{WRAPPER}} .woocommerce-notices-wrapper .woocommerce-error', | |
| 1041 | 949 | 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img', |
| 1042 | 950 | 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img', |
| 1043 | 951 | 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )', |
| 1044 | 952 | 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| @@ -1046,8 +954,9 @@ | ||
| 1046 | 954 | 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 1047 | 955 | 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 1048 | 956 | 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 1049 | 957 | 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 958 | + // 'table_content_column_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td', | |
| 1050 | 959 | 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th', |
| 1051 | 960 | '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 | 961 | 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table', |
| 1053 | 962 | |
| @@ -1078,14 +987,14 @@ | ||
| 1078 | 987 | 'th' => '{{WRAPPER}} .shop_table.cart tr th', |
| 1079 | 988 | 'td' => '{{WRAPPER}} .shop_table.cart tr td', |
| 1080 | 989 | ], |
| 1081 | 990 | |
| 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', | |
| 991 | + 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 992 | + 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 993 | + 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 994 | + 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 995 | + 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 996 | + 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1088 | 997 | |
| 1089 | 998 | // Table. |
| 1090 | 999 | 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr', |
| 1091 | 1000 | |
| @@ -1159,28 +1068,27 @@ | ||
| 1159 | 1068 | // Label. |
| 1160 | 1069 | 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label', |
| 1161 | 1070 | 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label', |
| 1162 | 1071 | 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required', |
| 1163 | - 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)', | |
| 1072 | + 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label', | |
| 1164 | 1073 | |
| 1165 | 1074 | // Input Fields. |
| 1166 | - 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea', | |
| 1167 | 1075 | 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', |
| 1168 | - 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1076 | + 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1169 | 1077 | |
| 1170 | - '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', | |
| 1078 | + 'fields_border_radius' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1171 | 1079 | |
| 1172 | - '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', | |
| 1173 | - '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', | |
| 1080 | + 'fields_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1081 | + 'fields_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select', | |
| 1174 | 1082 | |
| 1175 | 1083 | // Hover. |
| 1176 | - '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)', | |
| 1084 | + 'fields_hover_border' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)', | |
| 1177 | 1085 | |
| 1178 | - '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)', | |
| 1086 | + 'fields_border_radius_hover' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select:is(:hover, :focus, :active,:focus-visible)', | |
| 1179 | 1087 | |
| 1180 | - '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', | |
| 1181 | - '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', | |
| 1182 | - '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 )', | |
| 1088 | + 'fields_hover_text_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single', | |
| 1089 | + 'fields_hover_bg_color' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]):is(:hover, :focus, :active), {{WRAPPER}} .woocommerce-billing-fields .select2-container--open .select2-selection--single', | |
| 1090 | + 'fields_padding' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields :is( select, .select2-selection--single )', | |
| 1183 | 1091 | |
| 1184 | 1092 | 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row', |
| 1185 | 1093 | 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper', |
| 1186 | 1094 | |
| @@ -1193,12 +1101,11 @@ | ||
| 1193 | 1101 | |
| 1194 | 1102 | 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', |
| 1195 | 1103 | 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', |
| 1196 | 1104 | 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required', |
| 1197 | - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)', | |
| 1105 | + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', | |
| 1198 | 1106 | |
| 1199 | 1107 | // Input Fields. |
| 1200 | - 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea', | |
| 1201 | 1108 | 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select', |
| 1202 | 1109 | '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', |
| 1203 | 1110 | |
| 1204 | 1111 | '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', |
| @@ -1231,26 +1138,25 @@ | ||
| 1231 | 1138 | |
| 1232 | 1139 | 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label', |
| 1233 | 1140 | 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label', |
| 1234 | 1141 | 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required', |
| 1235 | - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)', | |
| 1142 | + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label', | |
| 1236 | 1143 | |
| 1237 | 1144 | // Input Fields. |
| 1238 | - 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1239 | - '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', | |
| 1240 | - 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )', | |
| 1241 | - 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )', | |
| 1242 | - 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )', | |
| 1243 | - 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )', | |
| 1145 | + 'fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1146 | + 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1147 | + 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1148 | + 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1149 | + 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1244 | 1150 | |
| 1245 | 1151 | // Hover. |
| 1246 | - 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1152 | + 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1247 | 1153 | |
| 1248 | - 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1249 | - 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1250 | - 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1154 | + 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1155 | + 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1156 | + 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1251 | 1157 | |
| 1252 | - 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )', | |
| 1158 | + 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1253 | 1159 | 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper', |
| 1254 | 1160 | 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper', |
| 1255 | 1161 | |
| 1256 | 1162 | ], |
| @@ -1266,8 +1172,9 @@ | ||
| 1266 | 1172 | 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1267 | 1173 | 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1268 | 1174 | 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1269 | 1175 | 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1176 | + // Table Settings. | |
| 1270 | 1177 | 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1271 | 1178 | 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1272 | 1179 | 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1273 | 1180 | 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )', |
| @@ -1274,35 +1181,17 @@ | ||
| 1274 | 1181 | 'label_typo' => '{{WRAPPER}} #order_review thead th', |
| 1275 | 1182 | 'label_color' => '{{WRAPPER}} #order_review thead th', |
| 1276 | 1183 | 'label_bg_color' => '{{WRAPPER}} #order_review thead th', |
| 1277 | 1184 | 'label_item_padding' => '{{WRAPPER}} #order_review thead th', |
| 1278 | - // Table Body. | |
| 1185 | + // Table Body | |
| 1279 | 1186 | 'body_text_typo' => '{{WRAPPER}} #order_review tbody td', |
| 1280 | 1187 | 'body_text_color' => '{{WRAPPER}} #order_review tbody td', |
| 1281 | 1188 | 'body_item_padding' => '{{WRAPPER}} #order_review tbody td', |
| 1282 | 1189 | 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td', |
| 1283 | - // Counter. | |
| 1190 | + // Counter | |
| 1284 | 1191 | 'counter_text_color' => '{{WRAPPER}} .product-quantity', |
| 1285 | 1192 | '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. | |
| 1193 | + // Table Footer | |
| 1305 | 1194 | 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| 1306 | 1195 | 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th', |
| 1307 | 1196 | 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td', |
| 1308 | 1197 | 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| @@ -1497,11 +1386,9 @@ | ||
| 1497 | 1386 | 'rtsb/elementor/common_selectors', |
| 1498 | 1387 | [ |
| 1499 | 1388 | 'columns' => [ |
| 1500 | 1389 | 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row', |
| 1501 | - 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry', | |
| 1502 | 1390 | 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]', |
| 1503 | - 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry', | |
| 1504 | 1391 | 'grid_gap' => [ |
| 1505 | 1392 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]', |
| 1506 | 1393 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row', |
| 1507 | 1394 | 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3', |
| @@ -1508,14 +1395,15 @@ | ||
| 1508 | 1395 | 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9', |
| 1509 | 1396 | ], |
| 1510 | 1397 | 'image_width' => [ |
| 1511 | 1398 | 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left', |
| 1399 | + // 'content' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-content', | |
| 1512 | 1400 | ], |
| 1513 | 1401 | 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content', |
| 1514 | 1402 | 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content', |
| 1515 | 1403 | 'grid_alignment' => [ |
| 1516 | 1404 | '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', | |
| 1405 | + 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list', | |
| 1518 | 1406 | ], |
| 1519 | 1407 | ], |
| 1520 | 1408 | 'color_scheme' => [ |
| 1521 | 1409 | 'primary_color' => '{{WRAPPER}}', |
| @@ -1528,9 +1416,9 @@ | ||
| 1528 | 1416 | '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 | 1417 | '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 | 1418 | '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 | 1419 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1532 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover', | |
| 1420 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count', | |
| 1533 | 1421 | 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1534 | 1422 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1535 | 1423 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1536 | 1424 | ], |
| @@ -1554,9 +1442,8 @@ | ||
| 1554 | 1442 | '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', |
| 1555 | 1443 | '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', |
| 1556 | 1444 | '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', |
| 1557 | 1445 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img', |
| 1558 | - | |
| 1559 | 1446 | ], |
| 1560 | 1447 | 'advanced' => [ |
| 1561 | 1448 | 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', |
| 1562 | 1449 | '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', |
| @@ -1576,13 +1463,8 @@ | ||
| 1576 | 1463 | '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', |
| 1577 | 1464 | '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 | 1465 | '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 | 1466 | ], |
| 1580 | - '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)', | |
| 1584 | - ], | |
| 1585 | 1467 | ] |
| 1586 | 1468 | ); |
| 1587 | 1469 | } |
| 1588 | 1470 | |
| @@ -1593,12 +1475,9 @@ | ||
| 1593 | 1475 | */ |
| 1594 | 1476 | public static function general_slider_selectors(): array { |
| 1595 | 1477 | return [ |
| 1596 | 1478 | 'slider_buttons' => [ |
| 1597 | - 'arrow_size' => [ | |
| 1598 | - 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', | |
| 1599 | - 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg', | |
| 1600 | - ], | |
| 1479 | + 'arrow_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', | |
| 1601 | 1480 | 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow', |
| 1602 | 1481 | 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow', |
| 1603 | 1482 | 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', |
| 1604 | 1483 | 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet', |
| @@ -1644,16 +1523,12 @@ | ||
| 1644 | 1523 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1645 | 1524 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1646 | 1525 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1647 | 1526 | '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', | |
| 1527 | + 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title', | |
| 1528 | + 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover', | |
| 1654 | 1529 | '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', | |
| 1530 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover', | |
| 1656 | 1531 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1657 | 1532 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1658 | 1533 | ], |
| 1659 | 1534 | 'short_description' => array_fill_keys( |
| @@ -1670,32 +1545,28 @@ | ||
| 1670 | 1545 | ), |
| 1671 | 1546 | 'action_buttons' => [ |
| 1672 | 1547 | 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list', |
| 1673 | 1548 | 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list', |
| 1674 | - 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text', | |
| 1675 | 1549 | ], |
| 1676 | 1550 | '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', | |
| 1551 | + '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', | |
| 1552 | + 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1553 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1554 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)', | |
| 1555 | + 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1556 | + 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del', | |
| 1557 | + 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper', | |
| 1558 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover', | |
| 1559 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1560 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price', | |
| 1689 | 1561 | ], |
| 1690 | 1562 | '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', | |
| 1563 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1564 | + 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1565 | + 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before', | |
| 1566 | + 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before', | |
| 1567 | + 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating', | |
| 1568 | + 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating', | |
| 1698 | 1569 | ], |
| 1699 | 1570 | 'product_categories' => [ |
| 1700 | 1571 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1701 | 1572 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category', |
| @@ -1709,22 +1580,8 @@ | ||
| 1709 | 1580 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1710 | 1581 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1711 | 1582 | 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category', |
| 1712 | 1583 | ], |
| 1713 | - 'product_brands' => [ | |
| 1714 | - 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1715 | - 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-brand-category', | |
| 1716 | - 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1717 | - 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1718 | - 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover', | |
| 1719 | - 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover', | |
| 1720 | - 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1721 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover', | |
| 1722 | - 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1723 | - 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1724 | - 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a', | |
| 1725 | - 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-category', | |
| 1726 | - ], | |
| 1727 | 1584 | 'pagination' => [ |
| 1728 | 1585 | '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', |
| 1729 | 1586 | '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', |
| 1730 | 1587 | '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', |
| @@ -1748,8 +1605,12 @@ | ||
| 1748 | 1605 | 'icon_size' => [ |
| 1749 | 1606 | 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon', |
| 1750 | 1607 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg', |
| 1751 | 1608 | ], |
| 1609 | + 'cart_icon_spacing' => [ | |
| 1610 | + 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text', | |
| 1611 | + 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text', | |
| 1612 | + ], | |
| 1752 | 1613 | 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1753 | 1614 | 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1754 | 1615 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1755 | 1616 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| @@ -1814,17 +1675,10 @@ | ||
| 1814 | 1675 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1815 | 1676 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1816 | 1677 | ], |
| 1817 | 1678 | '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 | - ], | |
| 1679 | + 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', | |
| 1680 | + 'icon_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', | |
| 1827 | 1681 | 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon', |
| 1828 | 1682 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1829 | 1683 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1830 | 1684 | 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', |