| @@ -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', |
| @@ -266,17 +244,14 @@ | ||
| 266 | 244 | 'add_cart_button_margin' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 267 | 245 | 'cart_height' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 268 | 246 | 'icon_align' => [ |
| 269 | 247 | 'align' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )', |
| 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)', | |
| 248 | + 'flex-direction' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ) :is(i, span)', | |
| 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', |
| @@ -573,12 +517,9 @@ | ||
| 573 | 517 | 'button_border_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover', |
| 574 | 518 | 'button_border_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 575 | 519 | 'button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 576 | 520 | 'button_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button', |
| 577 | - 'cart_icon_size' => [ | |
| 578 | - 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 579 | - 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg', | |
| 580 | - ], | |
| 521 | + 'cart_icon_size' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i', | |
| 581 | 522 | 'quantity_height' => [ |
| 582 | 523 | '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', |
| 583 | 524 | 'half' => '{{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-3,.rtsb-quantity-box-group-style-4) .rtsb-quantity-btn', |
| 584 | 525 | ], |
| @@ -586,14 +527,11 @@ | ||
| 586 | 527 | 'quantity_decrement_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus', |
| 587 | 528 | 'quantity_input_width' => '{{WRAPPER}} .rtsb-product-add-to-cart input.qty', |
| 588 | 529 | 'quantity_button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn', |
| 589 | 530 | |
| 590 | - 'icon_size' => [ | |
| 591 | - 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn', | |
| 592 | - 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn svg', | |
| 593 | - ], | |
| 594 | - 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity :is(i, svg)', | |
| 595 | - 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover :is(i, svg)', | |
| 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', | |
| 596 | 534 | 'text_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 597 | 535 | 'quantity_number_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 598 | 536 | 'quantity_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 599 | 537 | 'quantity_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| @@ -601,30 +539,23 @@ | ||
| 601 | 539 | 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input', |
| 602 | 540 | 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 603 | 541 | 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group', |
| 604 | 542 | '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', | |
| 543 | + 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 606 | 544 | 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 607 | 545 | '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)', | |
| 546 | + 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select', | |
| 609 | 547 | 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price', |
| 610 | 548 | 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)', |
| 611 | 549 | '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)', | |
| 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', | |
| 615 | 553 | 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 616 | 554 | 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 617 | 555 | 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label', |
| 618 | 556 | 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock', |
| 619 | 557 | '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 | 558 | |
| 628 | 559 | ], |
| 629 | 560 | 'rtsb-product-categories' => [ |
| 630 | 561 | 'align' => '{{WRAPPER}} .rtsb-product-categories', |
| @@ -650,14 +581,19 @@ | ||
| 650 | 581 | ], |
| 651 | 582 | |
| 652 | 583 | 'rtsb-product-image' => [ |
| 653 | 584 | '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 | 585 | 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image', |
| 656 | 586 | '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', | |
| 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)', | |
| 660 | 596 | 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 661 | 597 | 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 662 | 598 | 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 663 | 599 | 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| @@ -667,12 +603,9 @@ | ||
| 667 | 603 | 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale', |
| 668 | 604 | 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 669 | 605 | |
| 670 | 606 | '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 | - ], | |
| 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)', | |
| 675 | 608 | 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 676 | 609 | 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| 677 | 610 | '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 | 611 | 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger', |
| @@ -688,13 +621,12 @@ | ||
| 688 | 621 | ], |
| 689 | 622 | 'rtsb-product-meta' => [ |
| 690 | 623 | 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta', |
| 691 | 624 | 'align' => '{{WRAPPER}} .product_meta', |
| 692 | - 'row_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 693 | - 'column_gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 625 | + 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta', | |
| 694 | 626 | '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', | |
| 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)', | |
| 697 | 629 | 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 698 | 630 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)', |
| 699 | 631 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover', |
| 700 | 632 | ], |
| @@ -732,20 +664,17 @@ | ||
| 732 | 664 | 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value', |
| 733 | 665 | 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover', |
| 734 | 666 | ], |
| 735 | 667 | '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', | |
| 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', | |
| 748 | 677 | ], |
| 749 | 678 | 'rtsb-product-tabs' => array_merge( |
| 750 | 679 | self::reviews_settings_selecotor(), |
| 751 | 680 | [ |
| @@ -770,9 +699,9 @@ | ||
| 770 | 699 | 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 771 | 700 | 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2', |
| 772 | 701 | '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 | 702 | |
| 774 | - 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes :is(th, td, td p)', | |
| 703 | + 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes', | |
| 775 | 704 | 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th', |
| 776 | 705 | ] |
| 777 | 706 | ), |
| 778 | 707 | 'rtsb-product-title' => [ |
| @@ -790,49 +719,27 @@ | ||
| 790 | 719 | 'align' => '{{WRAPPER}}', |
| 791 | 720 | 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)', |
| 792 | 721 | 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p', |
| 793 | 722 | ], |
| 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 | 723 | '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)', | |
| 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)', | |
| 808 | 731 | '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)', | |
| 732 | + 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)', | |
| 733 | + 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 734 | + 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)', | |
| 735 | + 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after', | |
| 736 | + '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)', | |
| 823 | 739 | 'position_x' => '', |
| 824 | 740 | 'position_y' => '', |
| 825 | 741 | ], |
| 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 | 742 | ], |
| 836 | 743 | ]; |
| 837 | 744 | |
| 838 | 745 | return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors ); |
| @@ -878,16 +785,14 @@ | ||
| 878 | 785 | 'text_color' => '{{WRAPPER}}', |
| 879 | 786 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description', |
| 880 | 787 | ], |
| 881 | 788 | 'rtsb-archive-product-mode' => [ |
| 882 | - 'icon_size' => [ | |
| 883 | - 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i', | |
| 884 | - 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg', | |
| 885 | - ], | |
| 789 | + 'icon_size' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 886 | 790 | 'mode_button_align' => '{{WRAPPER}}', |
| 887 | 791 | 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 888 | 792 | 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 889 | 793 | 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode', |
| 794 | + 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', | |
| 890 | 795 | 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 891 | 796 | 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 892 | 797 | 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a', |
| 893 | 798 | 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active', |
| @@ -897,12 +802,9 @@ | ||
| 897 | 802 | ], |
| 898 | 803 | 'rtsb-archive-result-count' => [ |
| 899 | 804 | 'align' => '{{WRAPPER}}', |
| 900 | 805 | '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', | |
| 806 | + 'typo' => '{{WRAPPER}} .rtsb-archive-result-count', | |
| 905 | 807 | 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count', |
| 906 | 808 | ], |
| 907 | 809 | 'rtsb-products-ordering' => [ |
| 908 | 810 | 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )', |
| @@ -917,9 +819,8 @@ | ||
| 917 | 819 | 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 918 | 820 | 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover', |
| 919 | 821 | 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby', |
| 920 | 822 | ], |
| 921 | - 'rtsb-product-filters' => ProductFilters\Selectors::get_selectors(), | |
| 922 | 823 | ]; |
| 923 | 824 | |
| 924 | 825 | return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors ); |
| 925 | 826 | } |
| @@ -956,9 +857,9 @@ | ||
| 956 | 857 | 'rtsb-product-cart-totals' => [ |
| 957 | 858 | 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 958 | 859 | 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table', |
| 959 | 860 | // Title Style. |
| 960 | - 'title_align' => '{{WRAPPER}} .rtsb-cart-totals h2', | |
| 861 | + 'title_align' => '{{WRAPPER}}', | |
| 961 | 862 | 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 962 | 863 | 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 963 | 864 | 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| 964 | 865 | 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2', |
| @@ -1011,12 +912,16 @@ | ||
| 1011 | 912 | 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1012 | 913 | 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1013 | 914 | 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input', |
| 1014 | 915 | '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', | |
| 916 | + 'input_border' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 917 | + 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input', | |
| 1017 | 918 | 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input', |
| 1018 | - | |
| 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', | |
| 1019 | 924 | 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button', |
| 1020 | 925 | 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button', |
| 1021 | 926 | 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button', |
| 1022 | 927 | 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button', |
| @@ -1026,19 +931,16 @@ | ||
| 1026 | 931 | 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover', |
| 1027 | 932 | 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button', |
| 1028 | 933 | 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button', |
| 1029 | 934 | '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 | - | |
| 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', | |
| 1041 | 943 | 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img', |
| 1042 | 944 | 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img', |
| 1043 | 945 | 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )', |
| 1044 | 946 | 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| @@ -1046,8 +948,9 @@ | ||
| 1046 | 948 | 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 1047 | 949 | 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a', |
| 1048 | 950 | 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover', |
| 1049 | 951 | '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', | |
| 1050 | 953 | 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th', |
| 1051 | 954 | '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 | 955 | 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table', |
| 1053 | 956 | |
| @@ -1078,14 +981,14 @@ | ||
| 1078 | 981 | 'th' => '{{WRAPPER}} .shop_table.cart tr th', |
| 1079 | 982 | 'td' => '{{WRAPPER}} .shop_table.cart tr td', |
| 1080 | 983 | ], |
| 1081 | 984 | |
| 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', | |
| 985 | + 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 986 | + 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 987 | + 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items', | |
| 988 | + 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 989 | + 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 990 | + 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover', | |
| 1088 | 991 | |
| 1089 | 992 | // Table. |
| 1090 | 993 | 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr', |
| 1091 | 994 | |
| @@ -1116,14 +1019,11 @@ | ||
| 1116 | 1019 | 'quantity_increment_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus', |
| 1117 | 1020 | 'quantity_decrement_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus', |
| 1118 | 1021 | |
| 1119 | 1022 | 'quantity_button_width' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn', |
| 1120 | - 'icon_size' => [ | |
| 1121 | - 'icon' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn', | |
| 1122 | - 'svg' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn svg', | |
| 1123 | - ], | |
| 1124 | - 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity :is(i, svg)', | |
| 1125 | - 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover :is(i, svg)', | |
| 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', | |
| 1126 | 1026 | 'text_typography' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| 1127 | 1027 | 'quantity_number_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| 1128 | 1028 | 'quantity_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| 1129 | 1029 | 'quantity_border' => '{{WRAPPER}} .woocommerce-cart-form .quantity input', |
| @@ -1159,28 +1059,27 @@ | ||
| 1159 | 1059 | // Label. |
| 1160 | 1060 | 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label', |
| 1161 | 1061 | 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label', |
| 1162 | 1062 | 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required', |
| 1163 | - 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)', | |
| 1063 | + 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label', | |
| 1164 | 1064 | |
| 1165 | 1065 | // Input Fields. |
| 1166 | - 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea', | |
| 1167 | 1066 | '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', | |
| 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', | |
| 1169 | 1068 | |
| 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', | |
| 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', | |
| 1171 | 1070 | |
| 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', | |
| 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', | |
| 1174 | 1073 | |
| 1175 | 1074 | // 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)', | |
| 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)', | |
| 1177 | 1076 | |
| 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)', | |
| 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)', | |
| 1179 | 1078 | |
| 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 )', | |
| 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 )', | |
| 1183 | 1082 | |
| 1184 | 1083 | 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row', |
| 1185 | 1084 | 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper', |
| 1186 | 1085 | |
| @@ -1193,12 +1092,11 @@ | ||
| 1193 | 1092 | |
| 1194 | 1093 | 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', |
| 1195 | 1094 | 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', |
| 1196 | 1095 | '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)', | |
| 1096 | + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label', | |
| 1198 | 1097 | |
| 1199 | 1098 | // Input Fields. |
| 1200 | - 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea', | |
| 1201 | 1099 | '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 | 1100 | '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 | 1101 | |
| 1204 | 1102 | '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 +1129,25 @@ | ||
| 1231 | 1129 | |
| 1232 | 1130 | 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label', |
| 1233 | 1131 | 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label', |
| 1234 | 1132 | 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required', |
| 1235 | - 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)', | |
| 1133 | + 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label', | |
| 1236 | 1134 | |
| 1237 | 1135 | // 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 )', | |
| 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', | |
| 1244 | 1141 | |
| 1245 | 1142 | // Hover. |
| 1246 | - 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)', | |
| 1143 | + 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note textarea:is(:hover, :focus, :active)', | |
| 1247 | 1144 | |
| 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)', | |
| 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)', | |
| 1251 | 1148 | |
| 1252 | - 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )', | |
| 1149 | + 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note textarea', | |
| 1253 | 1150 | 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper', |
| 1254 | 1151 | 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper', |
| 1255 | 1152 | |
| 1256 | 1153 | ], |
| @@ -1266,8 +1163,9 @@ | ||
| 1266 | 1163 | 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1267 | 1164 | 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1268 | 1165 | 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1269 | 1166 | 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading', |
| 1167 | + // Table Settings. | |
| 1270 | 1168 | 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1271 | 1169 | 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1272 | 1170 | 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review', |
| 1273 | 1171 | 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )', |
| @@ -1274,35 +1172,17 @@ | ||
| 1274 | 1172 | 'label_typo' => '{{WRAPPER}} #order_review thead th', |
| 1275 | 1173 | 'label_color' => '{{WRAPPER}} #order_review thead th', |
| 1276 | 1174 | 'label_bg_color' => '{{WRAPPER}} #order_review thead th', |
| 1277 | 1175 | 'label_item_padding' => '{{WRAPPER}} #order_review thead th', |
| 1278 | - // Table Body. | |
| 1176 | + // Table Body | |
| 1279 | 1177 | 'body_text_typo' => '{{WRAPPER}} #order_review tbody td', |
| 1280 | 1178 | 'body_text_color' => '{{WRAPPER}} #order_review tbody td', |
| 1281 | 1179 | 'body_item_padding' => '{{WRAPPER}} #order_review tbody td', |
| 1282 | 1180 | 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td', |
| 1283 | - // Counter. | |
| 1181 | + // Counter | |
| 1284 | 1182 | 'counter_text_color' => '{{WRAPPER}} .product-quantity', |
| 1285 | 1183 | '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. | |
| 1184 | + // Table Footer | |
| 1305 | 1185 | 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| 1306 | 1186 | 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th', |
| 1307 | 1187 | 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td', |
| 1308 | 1188 | 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )', |
| @@ -1497,11 +1377,9 @@ | ||
| 1497 | 1377 | 'rtsb/elementor/common_selectors', |
| 1498 | 1378 | [ |
| 1499 | 1379 | 'columns' => [ |
| 1500 | 1380 | 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row', |
| 1501 | - 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry', | |
| 1502 | 1381 | '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 | 1382 | 'grid_gap' => [ |
| 1505 | 1383 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]', |
| 1506 | 1384 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row', |
| 1507 | 1385 | 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3', |
| @@ -1508,14 +1386,15 @@ | ||
| 1508 | 1386 | 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9', |
| 1509 | 1387 | ], |
| 1510 | 1388 | 'image_width' => [ |
| 1511 | 1389 | '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', | |
| 1512 | 1391 | ], |
| 1513 | 1392 | 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content', |
| 1514 | 1393 | 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content', |
| 1515 | 1394 | 'grid_alignment' => [ |
| 1516 | 1395 | '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', | |
| 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', | |
| 1518 | 1397 | ], |
| 1519 | 1398 | ], |
| 1520 | 1399 | 'color_scheme' => [ |
| 1521 | 1400 | 'primary_color' => '{{WRAPPER}}', |
| @@ -1528,9 +1407,9 @@ | ||
| 1528 | 1407 | '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 | 1408 | '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 | 1409 | '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 | 1410 | 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1532 | - 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count:hover', | |
| 1411 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count', | |
| 1533 | 1412 | 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1534 | 1413 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1535 | 1414 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count', |
| 1536 | 1415 | ], |
| @@ -1554,12 +1433,10 @@ | ||
| 1554 | 1433 | '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 | 1434 | '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 | 1435 | '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 | 1436 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img', |
| 1558 | - | |
| 1559 | 1437 | ], |
| 1560 | 1438 | 'advanced' => [ |
| 1561 | - 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', | |
| 1562 | 1439 | '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', |
| 1563 | 1440 | 'element_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid', |
| 1564 | 1441 | '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', |
| 1565 | 1442 | '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', |
| @@ -1567,10 +1444,8 @@ | ||
| 1567 | 1444 | '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', |
| 1568 | 1445 | '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', |
| 1569 | 1446 | '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 )', |
| 1570 | 1447 | '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', |
| 1571 | - 'rtsb_el_wrapper_border' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', | |
| 1572 | - 'wrapper_border_radius' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row', | |
| 1573 | 1448 | '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', |
| 1574 | 1449 | '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', |
| 1575 | 1450 | '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', |
| 1576 | 1451 | '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', |
| @@ -1576,13 +1451,8 @@ | ||
| 1576 | 1451 | '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 | 1452 | '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 | 1453 | '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 | 1454 | ], |
| 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 | 1455 | ] |
| 1586 | 1456 | ); |
| 1587 | 1457 | } |
| 1588 | 1458 | |
| @@ -1593,12 +1463,9 @@ | ||
| 1593 | 1463 | */ |
| 1594 | 1464 | public static function general_slider_selectors(): array { |
| 1595 | 1465 | return [ |
| 1596 | 1466 | '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 | - ], | |
| 1467 | + 'arrow_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', | |
| 1601 | 1468 | 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow', |
| 1602 | 1469 | 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow', |
| 1603 | 1470 | 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i', |
| 1604 | 1471 | 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet', |
| @@ -1644,16 +1511,12 @@ | ||
| 1644 | 1511 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1645 | 1512 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1646 | 1513 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1647 | 1514 | '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', | |
| 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', | |
| 1654 | 1517 | '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', | |
| 1518 | + 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover', | |
| 1656 | 1519 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1657 | 1520 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title', |
| 1658 | 1521 | ], |
| 1659 | 1522 | 'short_description' => array_fill_keys( |
| @@ -1670,32 +1533,27 @@ | ||
| 1670 | 1533 | ), |
| 1671 | 1534 | 'action_buttons' => [ |
| 1672 | 1535 | 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list', |
| 1673 | 1536 | 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list', |
| 1674 | - 'icon_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-btn.has-text', | |
| 1675 | 1537 | ], |
| 1676 | 1538 | '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', | |
| 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', | |
| 1689 | 1548 | ], |
| 1690 | 1549 | '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', | |
| 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', | |
| 1698 | 1556 | ], |
| 1699 | 1557 | 'product_categories' => [ |
| 1700 | 1558 | 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1701 | 1559 | 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category', |
| @@ -1709,22 +1567,8 @@ | ||
| 1709 | 1567 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1710 | 1568 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a', |
| 1711 | 1569 | 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category', |
| 1712 | 1570 | ], |
| 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 | 1571 | 'pagination' => [ |
| 1728 | 1572 | '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 | 1573 | '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 | 1574 | '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 +1592,12 @@ | ||
| 1748 | 1592 | 'icon_size' => [ |
| 1749 | 1593 | 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon', |
| 1750 | 1594 | 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg', |
| 1751 | 1595 | ], |
| 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 | + ], | |
| 1752 | 1600 | 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1753 | 1601 | 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1754 | 1602 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| 1755 | 1603 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn', |
| @@ -1814,17 +1662,10 @@ | ||
| 1814 | 1662 | 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1815 | 1663 | 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn', |
| 1816 | 1664 | ], |
| 1817 | 1665 | '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 | - ], | |
| 1666 | + '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', | |
| 1827 | 1668 | 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon', |
| 1828 | 1669 | 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1829 | 1670 | 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a', |
| 1830 | 1671 | 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon', |