PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.1
ShopBuilder – WooCommerce Builder For Elementor v2.6.1
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / app / Elementor / Helper / ControlSelectors.php

ControlSelectors.php in ShopBuilder – WooCommerce Builder For Elementor 2.6.1, at app/Elementor/Helper/ControlSelectors.php

2,024 lines 166.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * BuilderFns class
4 *
5 * The builder.
6 *
7 * @package RadiusTheme\SB
8 * @since 1.0.0
9 */
10
11 namespace RadiusTheme\SB\Elementor\Helper;
12
13 use RadiusTheme\SB\Elementor\Widgets\General\{AdvancedHeading,
14 DropCaps,
15 ShopBuilderButton,
16 CallToAction,
17 InfoBox,
18 FlipBox,
19 Counter,
20 CountDown,
21 PricingTable,
22 ProgressBar,
23 ImageAccordion,
24 ShopBuilderFaq,
25 LogoSliderAndGrid,
26 Testimonial,
27 TeamMember,
28 PostList,
29 PostGrid
30 };
31
32 // Do not allow directly accessing this file.
33 if ( ! defined( 'ABSPATH' ) ) {
34 exit( 'This script cannot be accessed directly.' );
35 }
36
37 /**
38 * BuilderFns class
39 */
40 class ControlSelectors {
41
42 /**
43 * Get Widget Selectors.
44 *
45 * @param object $widget Widget object.
46 *
47 * @return array
48 */
49 public static function get_widget_selectors( $widget ): array {
50 $selectors = [];
51 $widget_selectors = self::widget_selectors();
52 if ( ! empty( $widget_selectors[ $widget->rtsb_base ] ) ) {
53 $selectors = $widget_selectors[ $widget->rtsb_base ];
54 }
55
56 return apply_filters( 'rtsb/elements/elementor/widget/selectors/' . $widget->rtsb_base, $selectors, $widget );
57 }
58
59 /**
60 * Widget Control Selectors.
61 *
62 * @return array
63 */
64 private static function widget_selectors(): array {
65 $selectors = array_merge(
66 self::product_widget_selectors(),
67 self::archive_widget_selectors(),
68 self::cart_widget_selectors(),
69 self::checkout_widget_selectors(),
70 self::general_widget_selectors()
71 );
72
73 return apply_filters( 'rtsb/elements/elementor/widget/selectors', $selectors );
74 }
75
76 /**
77 * Carousel Selectors.
78 *
79 * @return array
80 */
81 public static function carousel_selector(): array {
82 $defaults = [
83 'slider_btn' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
84 'slider_wrapper' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper',
85 'slider_pagination' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
86 'slider_pagination_active' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active',
87 ];
88
89 return apply_filters( 'rtsb/elements/elementor/product_carousel_selectors', $defaults );
90 }
91
92 /**
93 * Carousel Selectors.
94 *
95 * @return array
96 */
97 public static function review_star_icon_selector(): array {
98 $defaults = [
99 'review_star_icon_default_color' => '{{WRAPPER}} .star-rating::before, {{WRAPPER}} p.stars a:before, {{WRAPPER}} p.stars a:hover~a:before, {{WRAPPER}} p.stars.selected a.active~a:before',
100 'review_star_icon_color' => '{{WRAPPER}} .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',
101 'review_star_icon_size' => '{{WRAPPER}} .star-rating',
102 'review_star_icon_specing' => '{{WRAPPER}} .star-rating',
103 'review_star_icon_margin' => '{{WRAPPER}} .woocommerce-product-rating',
104 ];
105
106 return apply_filters( 'rtsb/elements/elementor/review_star_icon_selector', $defaults );
107 }
108
109 /**
110 * Carousel Selectors.
111 *
112 * @return array
113 */
114 public static function button_settings_selector(): array {
115 $defaults = [
116 'button_typography' => '{{WRAPPER}} .button',
117 'button_height' => '{{WRAPPER}} .button',
118 'button_width' => '{{WRAPPER}} .button',
119 'button_text_color_normal' => '{{WRAPPER}} .button,{{WRAPPER}} .rtsb-myacount-page .woocommerce-table tbody td a.button,{{WRAPPER}} .rtsb-myacount-page .woocommerce-orders-table tbody td a.button,{{WRAPPER}} .rtsb-myacount-page .woocommerce-pagination a.button',
120 'button_bg_color_normal' => '{{WRAPPER}} .button',
121 'button_border' => '{{WRAPPER}} .button',
122 'button_text_color_hover' => '{{WRAPPER}} .button:hover,{{WRAPPER}} .rtsb-myacount-page .woocommerce-table tbody td a.button:hover,{{WRAPPER}} .rtsb-myacount-page .woocommerce-pagination a.button:hover,{{WRAPPER}} .rtsb-myacount-page .woocommerce-orders-table tbody td a.button:hover',
123 'button_bg_color_hover' => '{{WRAPPER}} .button:hover',
124 'button_border_hover_color' => '{{WRAPPER}} .button:hover',
125 'button_border_radius' => '{{WRAPPER}} .button',
126 'button_padding' => '{{WRAPPER}} .button',
127 'button_margin' => '{{WRAPPER}} .button',
128 ];
129
130 return apply_filters( 'rtsb/elements/elementor/button_settings_selector', $defaults );
131 }
132
133 /**
134 * Carousel Selectors.
135 *
136 * @return array
137 */
138 public static function reviews_settings_selecotor(): array {
139 $defaults = array_merge(
140 self::review_star_icon_selector(),
141 [
142 'review_heading_typography' => '{{WRAPPER}} #reviews .woocommerce-Reviews-title',
143 'review_heading_color' => '{{WRAPPER}} #reviews .woocommerce-Reviews-title',
144 'review_title_margin' => '{{WRAPPER}} #reviews .woocommerce-Reviews-title',
145
146 'form_heading_typography' => '{{WRAPPER}} #reviews #reply-title',
147 'form_heading_color' => '{{WRAPPER}} #reviews #reply-title',
148 'noform_heading_color' => '{{WRAPPER}} #reviews .woocommerce-noreviews',
149 'form_title_margin' => '{{WRAPPER}} #reviews #reply-title',
150 'input_label_typography' => '{{WRAPPER}} #commentform label',
151 'review_label_color' => '{{WRAPPER}} #commentform label',
152 'review_label_required' => '{{WRAPPER}} #commentform .required',
153
154 'review_input_color' => '{{WRAPPER}} #review_form #respond .comment-form :is(input:not([type=checkbox], .submit), textarea)',
155 'review_input_border_color' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea, input:not(.submit))',
156 'review_input_border_color_focus' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea, input):focus',
157 'label_input_text_typography' => '{{WRAPPER}} #review_form #respond .comment-form :is(input:not([type=checkbox], [type=submit] ), textarea)',
158 'review_comment_field_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea)',
159 'review_form_rating_size' => '{{WRAPPER}} p.stars a',
160 'review_field_spacing' => [
161 'margin-0' => '{{WRAPPER}} #review_form #respond :is(.comment-form)',
162 'margin-buttom' => '{{WRAPPER}} #review_form #respond .comment-form :is(.comment-notes, .comment-form-rating, .comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-cookies-consent)',
163 ],
164 'review_input_border_radius' => '{{WRAPPER}} #review_form #respond .comment-form :is(input:not([type=submit]), textarea )',
165 'review_input_padding' => '{{WRAPPER}} #review_form #respond .comment-form :is(textarea, input:not(#wp-comment-cookies-consent, .submit))',
166
167 'button_typography' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
168 'submit_button_alignment' => [
169 'text-align' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit',
170 'float' => '{{WRAPPER}} #review_form #respond .comment-form .form-submit input#submit',
171 ],
172 'submit_button_height' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
173 'button_text_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
174 'button_bg_color_normal' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
175 'button_border' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
176 'button_text_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
177 'button_bg_color_hover' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
178 'button_border_hover_color' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit):hover',
179 'button_border_radius' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
180 'button_padding' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
181 'button_margin' => '{{WRAPPER}} #review_form #respond .comment-form :is(.submit)',
182
183 'review_meta_color' => '{{WRAPPER}} #reviews #comments ol.commentlist li .meta',
184 'description_color' => '{{WRAPPER}} #reviews .description, {{WRAPPER}} #reviews .description p',
185 'review_border' => '{{WRAPPER}} #reviews #comments ol.commentlist li .comment-text',
186 'review_meta_typography' => '{{WRAPPER}} #reviews #comments ol.commentlist li .meta',
187 'review_desc_typography' => '{{WRAPPER}} #reviews .description, {{WRAPPER}} #reviews .description p',
188 'review_single_spacing' => '{{WRAPPER}} #reviews #comments ol.commentlist li',
189 'review_padding' => '{{WRAPPER}} #reviews #comments ol.commentlist li .comment-text',
190
191 ]
192 );
193
194 return apply_filters( 'rtsb/elements/elementor/reviews_settings_selecotor', $defaults );
195 }
196
197 /**
198 * Module Button Selectors.
199 *
200 * @return array
201 */
202 public static function module_btn_selector(): array {
203 $defaults = [
204 'module_width' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
205 'module_height' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
206 'module_text_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
207 'module_bg_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
208 'module_border' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
209 'module_text_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
210 'module_bg_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
211 'module_border_hover_color' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
212 'module_border_radius' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
213 'module_item_gap' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
214 'module_wrapper_margin' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
215 'module_item_alignment' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
216 'icon_size' => [
217 'icon' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
218 'svg' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) svg',
219 ],
220 ];
221
222 return apply_filters( 'rtsb/elements/elementor/module_btn_selector', $defaults );
223 }
224
225 /**
226 * Products Loop Default Selectors
227 *
228 * @return array
229 */
230 public static function products_loop_default_selector(): array {
231 $defaults = [
232 // Product Image.
233 'product_image_bg_color' => '{{WRAPPER}} .products .product img',
234 'product_image_height' => '{{WRAPPER}} .products .product img',
235 'product_image_auto_fit' => '{{WRAPPER}} .products .product img',
236 'product_image_padding' => '{{WRAPPER}} .products .product img',
237 // Product Title.
238 'product_title_typography' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title',
239 'product_title_color' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title',
240 'product_title_hover_color' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title:hover',
241 'product_title_padding' => '{{WRAPPER}} .products .product .woocommerce-loop-product__title',
242
243 // Product Price.
244 'product_price_typography' => '{{WRAPPER}} .products .product .price, {{WRAPPER}} .products .product ins .woocommerce-Price-amount',
245 'product_price_color' => '{{WRAPPER}} .products .product .price',
246 'product_reguler_price_color' => '{{WRAPPER}} .products .product .price :is(del, del span, del .amount)',
247 'product_price_padding' => '{{WRAPPER}} .products .product .price',
248 // FLash Sale.
249 'flash_sale_typography' => '{{WRAPPER}} .products .product .onsale',
250 'product_flash_sale_color' => '{{WRAPPER}} .products .product .onsale',
251 'flash_sale_bg_color' => '{{WRAPPER}} .products .product .onsale',
252 'flash_sale_badge_width' => '{{WRAPPER}} .products .product .onsale',
253 'flash_sale_badge_height' => '{{WRAPPER}} .products .product .onsale',
254 'flash_sale_badge_border_radius' => '{{WRAPPER}} .products .product .onsale',
255 // Cart Button.
256 'cart_button_typography' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
257 'cart_button_text_color_normal' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
258 'cart_button_bg_color_normal' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
259 'cart_button_border' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
260 'cart_button_text_color_hover' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ):hover',
261 'cart_button_bg_color_hover' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ):hover',
262 'cart_button_border_hover_color' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped ):hover',
263 'cart_button_border_radius' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
264 'add_cart_button_padding' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
265 'add_cart_button_margin' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
266 'cart_height' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
267 'icon_align' => [
268 'align' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
269 '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)',
270 ],
271 'cart_icon_gap' => '{{WRAPPER}} .products .product :is(a.add_to_cart_button, a.product_type_simple, a.product_type_grouped )',
272 '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)',
273 // Slider.
274 'slider_arrow_icon_size' => [
275 'icon' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn 1',
276 'svg' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn svg',
277 ],
278 'slider_arrow_size' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
279 'arrows_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
280 'arrows_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
281 'arrows_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn',
282 'arrows_hover_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
283 'arrows_hover_bg_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
284 'arrows_hover_border_color' => '{{WRAPPER}} .rtsb-carousel-slider .rtsb-slider-btn:hover',
285 'dots_gap' => '{{WRAPPER}} .rtsb-carousel-slider .swiper-wrapper',
286 'dots_size' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
287 'dot_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet',
288 'dot_active_color' => '{{WRAPPER}} .rtsb-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active',
289 // Pagination.
290 'pagination_typography' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
291 'align' => '{{WRAPPER}} .woocommerce-pagination',
292 'pagination_gap' => '{{WRAPPER}} .woocommerce-pagination > .page-numbers',
293 'pagination_text_color_normal' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
294 'pagination_bg_color_normal' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
295 'pagination_border' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
296 'pagination_text_color_hover' => '{{WRAPPER}} .page-numbers:not(ul,div):hover,{{WRAPPER}} .woocommerce-pagination .page-numbers.current',
297 'pagination_bg_color_hover' => '{{WRAPPER}} .page-numbers:not(ul,div):hover, {{WRAPPER}} .woocommerce-pagination .page-numbers.current',
298 'pagination_border_hover_color' => '{{WRAPPER}} .page-numbers:not(ul,div):hover,{{WRAPPER}} .woocommerce-pagination .page-numbers.current',
299 'pagination_border_radius' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
300 'pagination_padding' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
301 'pagination_margin' => '{{WRAPPER}} .woocommerce-pagination',
302 'pagination_width' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
303 'pagination_height' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div)',
304 'pagination_icon_size' => [
305 'icon' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) i',
306 'svg' => '{{WRAPPER}} .woocommerce-pagination .page-numbers:not(ul,div) svg',
307 ],
308 // Review Star.
309 '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',
310 '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',
311 'review_star_icon_size' => '{{WRAPPER}} .products .product .star-rating',
312 'review_star_icon_specing' => '{{WRAPPER}} .products .product .star-rating',
313 'review_star_icon_margin' => '{{WRAPPER}} .products .product .star-rating',
314 'not_found_notice' => self::not_found_notice_selectors(),
315 ];
316 $defaults = array_merge( self::review_star_icon_selector(), self::module_btn_selector(), $defaults );
317
318 return apply_filters( 'rtsb/elements/elementor/product_loop_default_selectors', $defaults );
319 }
320
321
322 /**
323 * General Widget Selectors.
324 *
325 * @return array
326 */
327 private static function general_widget_selectors(): array {
328 $selectors = [
329 'rtsb-product-breadcrumbs' => [
330 'breadcrumbs_align' => '{{WRAPPER}} .rtsb-breadcrumb',
331 'text_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
332 'link_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a',
333 'link_hover_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb a:hover',
334 'item_spacing' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
335 'icon_size' => [
336 'icon' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
337 'svg' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator svg',
338 ],
339 'breadcrumbs_typography' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb',
340 'icon_color' => '{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator i,{{WRAPPER}} .rtsb-breadcrumb .woocommerce-breadcrumb .breadcrumb-separator',
341 ],
342 'rtsb-wc-notice' => [
343 'notice_typography' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
344 'notice_icon_size' => [
345 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
346 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner > svg',
347 ],
348 'notice_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
349 'notice_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
350 'notice_icon_color' => [
351 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
352 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner > svg',
353 ],
354 'notice_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner > svg',
355 'notice_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
356 'notice_success_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-success)',
357 'notice_success_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-success)',
358 'notice_success_icon_color' => [
359 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
360 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-success > svg',
361 ],
362 'notice_success_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-success > svg',
363 'notice_success_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-success)',
364 'notice_error_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error',
365 'notice_error_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error',
366 'notice_error_icon_color' => [
367 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
368 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error > svg',
369 ],
370 'notice_error_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-error > svg',
371 'notice_error_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-error)',
372 'notice_info_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info',
373 'notice_info_text_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info',
374 'notice_info_icon_color' => [
375 'icon' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message::before, .woocommerce-error::before)',
376 'svg' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info > svg',
377 ],
378 'notice_info_icon_bg_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error), {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner.is-info > svg',
379 'notice_info_border_color' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner.is-info)',
380 'notice_padding' => '{{WRAPPER}} .rtsb-notice :is(.woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner)',
381 'button_height' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
382 'button_width' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
383 'button_typography' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
384 'button_text_color_normal' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
385 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
386 'button_border' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
387 'button_text_color_hover' => '{{WRAPPER}} .rtsb-notice a.button:hover, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover',
388 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-notice a.button:hover, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover',
389 'button_border_hover_color' => '{{WRAPPER}} .rtsb-notice a.button:hover, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover',
390 'button_border_radius' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
391 'button_padding' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
392 'button_margin' => '{{WRAPPER}} .rtsb-notice a.button, {{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
393 'notice_button_alignment' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward',
394 'notice_gap_multiple' => '{{WRAPPER}} .rtsb-notice .woocommerce-notices-wrapper, {{WRAPPER}} .rtsb-notice',
395 'notice_icon_gap' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
396 'notice_border_radius' => '{{WRAPPER}} .rtsb-notice .wc-block-components-notice-banner',
397 ],
398 'rtsb-products-grid' => array_merge(
399 self::general_common_selectors(),
400 self::general_product_selectors()
401 ),
402 'rtsb-products-list' => array_merge(
403 self::general_common_selectors(),
404 self::general_product_selectors()
405 ),
406 'rtsb-products-slider' => array_merge(
407 self::general_common_selectors(),
408 self::general_product_selectors(),
409 self::general_slider_selectors(),
410 ),
411 'rtsb-product-categories-general' => array_merge(
412 self::general_common_selectors(),
413 self::general_cat_selectors()
414 ),
415 'rtsb-products-single-category' => array_merge(
416 self::general_common_selectors(),
417 self::general_cat_selectors()
418 ),
419 'rtsb-social-share' => array_merge(
420 self::social_share(),
421 ),
422 'rtsb-wishlist' => [
423 'table_border' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table th',
424 'table_heading_cell_padding' => '{{WRAPPER}} .rtsb-wishlist-content table th,{{WRAPPER}} .rtsb-wishlist-content table td',
425 'table_header_typo' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
426 'table_header_align' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
427 'table_header_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
428 'table_header_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
429 'table_item_typo' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a',
430 'table_item_align' => '{{WRAPPER}} .rtsb-wishlist-content table td',
431 'table_item_color' => '{{WRAPPER}} .rtsb-wishlist-content table td,{{WRAPPER}} .rtsb-wishlist-content table td a',
432 'table_item_bg_color' => '{{WRAPPER}} .rtsb-wishlist-content table td',
433 'header_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table thead th',
434 'item_cell_width' => '{{WRAPPER}} .rtsb-wishlist-content table tbody td',
435 ],
436 'rtsb-advanced-heading' => AdvancedHeading\Selectors::get_selectors(),
437 'rtsb-dropcaps' => DropCaps\Selectors::get_selectors(),
438 'rtsb-shopbuilder-button' => ShopBuilderButton\Selectors::get_selectors(),
439 'rtsb-call-to-action' => CallToAction\Selectors::get_selectors(),
440 'rtsb-info-box' => InfoBox\Selectors::get_selectors(),
441 'rtsb-pricing-table' => PricingTable\Selectors::get_selectors(),
442 'rtsb-flip-box' => FlipBox\Selectors::get_selectors(),
443 'rtsb-counter' => Counter\Selectors::get_selectors(),
444 'rtsb-countdown-addon' => CountDown\Selectors::get_selectors(),
445 'rtsb-progress-bar-addon' => ProgressBar\Selectors::get_selectors(),
446 'rtsb-image-accordion-addon' => ImageAccordion\Selectors::get_selectors(),
447 'rtsb-shopbuilder-faq' => ShopBuilderFaq\Selectors::get_selectors(),
448 'rtsb-logo-slider-and-grid' => LogoSliderAndGrid\Selectors::get_selectors(),
449 'rtsb-testimonial' => Testimonial\Selectors::get_selectors(),
450 'rtsb-team-member' => TeamMember\Selectors::get_selectors(),
451 'rtsb-post-list' => PostList\Selectors::get_selectors(),
452 'rtsb-post-grid' => PostGrid\Selectors::get_selectors(),
453 ];
454
455 return apply_filters( 'rtsb/elements/elementor/widget/general/selectors', $selectors );
456 }
457
458 /**
459 * Product Page Selectors.
460 *
461 * @return array
462 */
463 private static function product_widget_selectors(): array {
464 $selectors = [
465 'rtsb-related-product' => array_merge(
466 self::products_loop_default_selector(),
467 self::carousel_selector(),
468 [
469 'section_heading_typography' => '{{WRAPPER}} .rtsb-related-products .related > h2',
470 'section_heading_color' => '{{WRAPPER}} .rtsb-related-products .related > h2',
471 'section_title_margin' => '{{WRAPPER}} .rtsb-related-products .related > h2',
472 'section_title_align' => '{{WRAPPER}} .rtsb-related-products .related > h2',
473 ]
474 ),
475 'rtsb-related-product-custom' => array_merge(
476 self::general_common_selectors(),
477 self::general_product_selectors()
478 ),
479 'rtsb-related-products-slider' => array_merge(
480 self::general_common_selectors(),
481 self::general_product_selectors(),
482 self::general_slider_selectors(),
483 ),
484
485 'rtsb-upsells-product' => array_merge(
486 self::products_loop_default_selector(),
487 self::carousel_selector(),
488 [
489 'section_heading_typography' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
490 'section_heading_color' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
491 'section_title_margin' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
492 'section_title_align' => '{{WRAPPER}} .rtsb-upsells-products :is(.up-sells, .upsells ) > h2',
493 ],
494 ),
495 'rtsb-upsells-product-custom' => array_merge(
496 self::general_common_selectors(),
497 self::general_product_selectors()
498 ),
499
500 'rtsb-upsells-product-slider' => array_merge(
501 self::general_common_selectors(),
502 self::general_product_selectors(),
503 self::general_slider_selectors(),
504 ),
505
506 'rtsb-actions-button' => [
507 'module_width' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon ',
508 'module_height' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
509 'module_text_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn)',
510 'module_bg_color_normal' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
511 'module_border' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
512 'module_text_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover',
513 'module_bg_color_hover' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover .icon',
514 'module_border_hover_color' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn):hover .icon',
515 'module_border_radius' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
516 'module_item_gap' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button ) ',
517 'module_wrapper_margin' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
518 'module_item_alignment' => '{{WRAPPER}} :is( .action-button-wrapper, .rtsb-actions-button )',
519 'icon_size' => [
520 'icon' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon',
521 'svg' => '{{WRAPPER}} a:is(.rtsb-wishlist-btn,.rtsb-compare-btn,.rtsb-quick-view-btn) .icon svg',
522 ],
523
524 'separator_color_normal' => '{{WRAPPER}} .rtsb-actions-button .button-separator',
525 'separator_typography' => '{{WRAPPER}} .rtsb-actions-button .button-separator',
526 'typo' => '{{WRAPPER}} .rtsb-actions-button .button-text',
527 'align' => '{{WRAPPER}} .rtsb-actions-button .button-text',
528 'text_color' => '{{WRAPPER}} .rtsb-actions-button .button-text',
529 'text_hover_color' => '{{WRAPPER}} .rtsb-actions-button .button-text:hover',
530 'text_shadow' => '{{WRAPPER}} .rtsb-actions-button .button-text',
531 'text_margin' => '{{WRAPPER}} .rtsb-actions-button .button-text',
532
533 ],
534 'rtsb-product-additional-info' => [
535 'heading_typography' => '{{WRAPPER}} .rtsb-product-additional-information h2',
536 'heading_color' => '{{WRAPPER}} .rtsb-product-additional-information h2',
537 'heading_margin' => '{{WRAPPER}} .rtsb-product-additional-information h2',
538 'content_typography' => '{{WRAPPER}} .shop_attributes',
539 'content_color' => '{{WRAPPER}} .shop_attributes',
540 'content_border' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
541 'content_padding' => '{{WRAPPER}} .shop_attributes td, {{WRAPPER}} .shop_attributes th',
542 ],
543 'rtsb-product-add-to-cart' => [
544 'button_height' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
545 'button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
546 'cart_icon_align' => [
547 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
548 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
549 ],
550 'cart_icon_gap' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
551 'button_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
552 'button_text_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
553 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
554 'button_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
555 'button_text_color_hover' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
556 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
557 'button_border_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button:hover',
558 'button_border_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
559 'button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
560 'button_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button',
561 'cart_icon_size' => [
562 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button i',
563 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .cart .button svg',
564 ],
565 'quantity_height' => [
566 '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',
567 'half' => '{{WRAPPER}} .rtsb-quantity-box-group:is(.rtsb-quantity-box-group-style-3,.rtsb-quantity-box-group-style-4) .rtsb-quantity-btn',
568 ],
569 'quantity_increment_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus',
570 'quantity_decrement_button_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
571 'quantity_input_width' => '{{WRAPPER}} .rtsb-product-add-to-cart input.qty',
572 'quantity_button_width' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
573
574 'icon_size' => [
575 'icon' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn',
576 'svg' => '{{WRAPPER}} .rtsb-product-add-to-cart .rtsb-quantity-box-group .rtsb-quantity-btn svg',
577 ],
578 'quantity_icon_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity :is(i, svg)',
579 'quantity_icon_hover_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-btn:hover :is(i, svg)',
580 'text_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
581 'quantity_number_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
582 'quantity_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
583 'quantity_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
584 'quantity_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
585 'qunatity_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity input',
586 'quantity_wrapper_background_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
587 'qunatity_wrapper_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
588 'quantity_wrapper_radius' => '{{WRAPPER}} .rtsb-product-add-to-cart .quantity .rtsb-quantity-box-group',
589 'variation_padding' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select, .rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term',
590 'variation_label_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
591 'variation_item_margin' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr:not(:last-child) .value',
592 'variation_border' => '{{WRAPPER}} .rtsb-product-add-to-cart .variations select',
593 'price_typography' => '.single-product {{WRAPPER}} .single_variation .price',
594 'price_color' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
595 'price_margin' => '.single-product {{WRAPPER}} .single_variation :is(.price, .price .amount, .price ins)',
596 'variation_height' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
597 'variation_width' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
598 'variation_border_radius' => '.rtwpvs {{WRAPPER}} .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term), {{WRAPPER}} .rtsb-product-add-to-cart .variations select',
599 'variation_label_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
600 'variation_stock_typography' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
601 'variation_label_color' => '{{WRAPPER}} .rtsb-product-add-to-cart table.variations tr .label label',
602 'variation_stock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock',
603 'variation_outofstock_color' => '{{WRAPPER}} .rtsb-product-add-to-cart .woocommerce-variation-availability .stock.out-of-stock',
604
605 ],
606 'rtsb-product-categories' => [
607 'align' => '{{WRAPPER}} .rtsb-product-categories',
608 'label_typo' => '{{WRAPPER}} .rtsb-product-categories .categories-title',
609 'meta_label_color' => '{{WRAPPER}} .rtsb-product-categories .categories-title',
610 'value_typo' => '{{WRAPPER}} .rtsb-product-categories a',
611 'meta_value_color' => '{{WRAPPER}} .rtsb-product-categories a',
612 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-categories a:hover',
613 ],
614 'rtsb-product-description' => [
615 'typo' => '{{WRAPPER}} .rtsb-description, {{WRAPPER}} .rtsb-description p',
616 'align' => '{{WRAPPER}}',
617 'text_color' => '{{WRAPPER}} :is(.rtsb-description , p)',
618 'text_shadow' => '{{WRAPPER}} .rtsb-description , {{WRAPPER}} .rtsb-description p',
619 ],
620 'rtsb-product-tags' => [
621 'align' => '{{WRAPPER}} .rtsb-product-tags',
622 'label_typo' => '{{WRAPPER}} .rtsb-product-tags .tags-title',
623 'meta_label_color' => '{{WRAPPER}} .rtsb-product-tags .tags-title',
624 'value_typo' => '{{WRAPPER}} .rtsb-product-tags a',
625 'meta_value_color' => '{{WRAPPER}} .rtsb-product-tags a',
626 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-tags a:hover',
627 ],
628
629 'rtsb-product-image' => [
630 'image_width' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image a > img',
631 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image',
632 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li',
633 // 'gallery_thumbs_column_gap' => '{{WRAPPER}} div.images .flex-control-thumbs',
634 // 'gallery_image_gap_with_main' => [
635 // 'margin-top' => '{{WRAPPER}} div.images .flex-control-thumbs',
636 // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper',
637 // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper',
638 // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper',
639 // ],
640 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
641 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
642 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale',
643 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
644 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
645 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale',
646 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-images .onsale',
647 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .onsale',
648 'flash_sale_position_horizontal' => '{{WRAPPER}} .rtsb-product-images .onsale',
649 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale',
650 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
651
652 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
653 'zoom_icon_size' => [
654 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
655 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg',
656 ],
657 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
658 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
659 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
660 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
661 'zoom_position_horizontal' => [
662 'zoom_position' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger',
663 'rtwpvg-tr-br' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-top-right, .rtwpvg-trigger-position-bottom-right)',
664 'rtwpvg-tl-bl' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-top-left,.rtwpvg-trigger-position-bottom-left)',
665 ],
666 'zoom_position_vertical' => [
667 'zoom-icon-top' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger, {{WRAPPER}} .rtsb-product-images .rtwpvg-trigger',
668 'zoom-icon-bottom' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger:is(.rtwpvg-trigger-position-bottom-right, .rtwpvg-trigger-position-bottom-left)',
669 ],
670 ],
671 'rtsb-product-meta' => [
672 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
673 'align' => '{{WRAPPER}} .product_meta',
674 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
675 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
676 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
677 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
678 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
679 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
680 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover',
681 ],
682 'rtsb-product-price' => [
683 'price_align' => '{{WRAPPER}}',
684 'space_between' => [
685 'del_price' => '{{WRAPPER}} .rtsb-product-price .price del',
686 'del_price_rtl' => '.rtl {{WRAPPER}} .rtsb-product-price .price del',
687 ],
688 'price_typo' => '{{WRAPPER}} .rtsb-product-price :is(.price, .price .amount, .price ins)',
689 'price_color' => '{{WRAPPER}} .rtsb-product-price :is(.price, .price .amount, .price ins)',
690 'sale_price_typo' => '{{WRAPPER}} .rtsb-product-price .price ins .amount',
691 'sale_price_color' => '{{WRAPPER}} .rtsb-product-price .price ins .amount',
692 ],
693 // New Convension.
694 'rtsb-product-rating' => array_merge(
695 self::review_star_icon_selector(),
696 [
697 'rating_align' => '{{WRAPPER}}',
698 'rating_text_link_color' => '{{WRAPPER}} .woocommerce-review-link',
699 'rating_text_link_hover_color' => '{{WRAPPER}} .woocommerce-review-link:hover',
700 'link_typography' => '{{WRAPPER}} .woocommerce-review-link',
701 'rating_space_between' => [
702 'margin-right' => 'body:not(.rtl) {{WRAPPER}} .star-rating',
703 'margin-left' => 'body.rtl {{WRAPPER}} .star-rating',
704 ],
705 ]
706 ),
707 'rtsb-product-reviews' => self::reviews_settings_selecotor(),
708 'rtsb-product-sku' => [
709 'align' => '{{WRAPPER}} .rtsb-product-sku',
710 'label_typo' => '{{WRAPPER}} .rtsb-product-sku .sku-label',
711 'meta_label_color' => '{{WRAPPER}} .rtsb-product-sku .sku-label',
712 'value_typo' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
713 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
714 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover',
715 ],
716 'rtsb-product-stock' => [
717 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock',
718 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock',
719 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock',
720 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder',
721 'icon_size' => [
722 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i',
723 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg',
724 ],
725 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i',
726 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p',
727 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p',
728 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p',
729 ],
730 'rtsb-product-tabs' => array_merge(
731 self::reviews_settings_selecotor(),
732 [
733 'nav_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
734 'nav_position' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs.tabs-custom-layout2 ul.wc-tabs',
735 'nav_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
736 'nav_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
737 'nav_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li',
738
739 'nav_active_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active a',
740 'nav_active_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active a',
741 'nav_active_border_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active',
742 'nav_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li:not(.active):hover a',
743 'nav_hover_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li:not(.active):hover a',
744 'nav_active_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
745 'nav_active_hover_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
746 'nav_active_hover_border_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
747 'nav_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a ',
748 'content_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab ',
749
750 'show_title' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child,{{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .comment-reply-title, {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .woocommerce-Reviews-title',
751 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
752 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
753 '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',
754
755 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes',
756 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th',
757 ]
758 ),
759 'rtsb-product-title' => [
760 'title_typo' => '{{WRAPPER}} .product_title',
761 'title_align' => '{{WRAPPER}}',
762 'title_color' => '{{WRAPPER}} .product_title',
763 'title_text_stroke' => '{{WRAPPER}} .product_title',
764 'title_text_shadow' => '{{WRAPPER}} .product_title',
765 'title_margin' => '{{WRAPPER}} .product_title',
766 'title_padding' => '{{WRAPPER}} .product_title',
767 'title_border' => '{{WRAPPER}} .product_title',
768 ],
769 'rtsb-short-description' => [
770 'typo' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
771 'align' => '{{WRAPPER}}',
772 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)',
773 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
774 ],
775 'rtsb-product-onsale' => [
776 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
777 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
778 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
779 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after',
780 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
781 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
782 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
783 'product_badges' => [
784 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)',
785 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
786 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
787 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
788 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
789 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
790 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
791 'position_x' => '',
792 'position_y' => '',
793 ],
794 'badges_module' => [
795 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
796 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
797 ],
798 ],
799 ];
800
801 return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors );
802 }
803
804 /**
805 * Archive Selectors.
806 *
807 * @return array
808 */
809 private static function archive_widget_selectors(): array {
810 $selectors = [
811
812 'rtsb-products-archive' => array_merge(
813 self::products_loop_default_selector(),
814 [
815 'column_per_row' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .products .product',
816 'column_gap' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .products',
817 'row_gap' => '{{WRAPPER}} .rtsb-product-catalog .products',
818 'list_image_width' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-list-view .rtsb-image-wrapper',
819 'image_gap' => [
820 'margin-right' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-list-view .rtsb-image-wrapper',
821 'margin-bottom' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .rtsb-image-wrapper',
822 ],
823 ],
824 ),
825
826 'rtsb-products-archive-custom' => array_merge(
827 self::general_common_selectors(),
828 self::general_product_selectors()
829 ),
830
831 'rtsb-archive-title' => [
832 'archive_title_align' => '{{WRAPPER}}',
833 'archive_title_color' => '{{WRAPPER}} .archive-title',
834 'title_typo' => '{{WRAPPER}} .archive-title',
835 'text_stroke' => '{{WRAPPER}} .archive-title',
836 'text_shadow' => '{{WRAPPER}} .archive-title',
837 ],
838 'rtsb-archive-description' => [
839 'typo' => '{{WRAPPER}} .rtsb-archive-description',
840 'align' => '{{WRAPPER}}',
841 'text_color' => '{{WRAPPER}}',
842 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description',
843 ],
844 'rtsb-archive-product-mode' => [
845 'icon_size' => [
846 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i',
847 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg',
848 ],
849 'mode_button_align' => '{{WRAPPER}}',
850 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a',
851 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a',
852 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode',
853 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
854 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
855 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
856 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a',
857 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
858 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
859 'mode_button_border_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
860 'mode_button_radius' => '{{WRAPPER}} .rtsb-archive-view-mode a',
861 ],
862 'rtsb-archive-result-count' => [
863 'align' => '{{WRAPPER}}',
864 'text_color' => '{{WRAPPER}}',
865 'typo' => '{{WRAPPER}} .rtsb-archive-result-count',
866 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count',
867 ],
868 'rtsb-products-ordering' => [
869 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )',
870 'align' => '{{WRAPPER}}',
871 'orderby_height' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
872 'orderby_width' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering,{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
873 'ordering_padding' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
874 'orderby_bg_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
875 'text_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
876 'orderby_border' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
877 'orderby_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
878 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
879 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
880 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
881 ],
882 'rtsb-product-filters' => [
883 'filter_types' => [
884 'column_gap' => '{{WRAPPER}} .rtsb-archive-catalog-ordering',
885 ],
886 'filter_header' => [
887 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
888 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
889 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
890 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
891 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
892 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
893 ],
894 'filter_title' => [
895 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
896 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
897 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
898 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
899 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
900 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
901 ],
902 'search_styles' => [
903 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
904 'button_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
905 'icon_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
906 'placeholder_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder',
907 'search_input_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
908 'search_button_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
909 'search_icon_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg',
910 'search_icon_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg',
911 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
912 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
913 'button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
914 'button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
915 'placeholder_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder',
916 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
917 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
918 'hover_button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
919 'hover_button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
920 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
921 'button_border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
922 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
923 'button_border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
924 'input_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
925 'button_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
926 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
927 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
928 'button_padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
929 'button_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
930 'wrapper_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search',
931 ],
932 'rating' => [
933 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star',
934 'rating_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.inactive',
935 'count_position' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count',
936 'rating_active_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.active',
937 'rating_selected_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-filter-trigger.checked + .rtsb-checkbox-filter-label .rtsb-default-rating-star.active',
938 'rating_padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group',
939 'rating_margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group',
940 ],
941 'apply_btn' => [
942 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
943 'apply_btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
944 'icon_display' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
945 'apply_icon_size' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
946 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
947 'icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
948 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
949 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
950 'hover_icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover .icon',
951 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
952 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
953 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
954 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
955 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
956 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
957 ],
958 'reset_btn' => [
959 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
960 'btn_width' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
961 'color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
962 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
963 'hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
964 'hover_bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
965 'border' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
966 'border_hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
967 'border_radius' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
968 'padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
969 'margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
970 ],
971 'filter_items' => [
972 'typography' => '{{WRAPPER}} .rtsb-product-default-filters input.rtsb-checkbox-filter + label, {{WRAPPER}} .rtsb-product-default-filters input.rtsb-radio-filter + label, {{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs label',
973 'count_display' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-default-filter-group .rtsb-product-count',
974 'color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter label',
975 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
976 'count_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count',
977 'border' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
978 'padding' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
979 'margin' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
980 'wrapper_padding' => '{{WRAPPER}} .rtsb-product-default-filters .default-filter-content > ul',
981 'wrapper_margin' => '{{WRAPPER}} .rtsb-product-default-filters > .default-filter-content > ul',
982 'subcat_margin' => '{{WRAPPER}} .rtsb-categories .default-filter-content ul ul',
983 'input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper input.rtsb-radio-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs .filter-price-field',
984 'active_input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-radio input.rtsb-checkbox-filter:checked + label:after,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter:checked + label:after',
985 ],
986 ],
987 ];
988
989 return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors );
990 }
991
992 /**
993 * Cart Selectors.
994 *
995 * @return array
996 */
997 private static function cart_widget_selectors(): array {
998 $selectors = [
999 'rtsb-cross-sells' => array_merge(
1000 self::products_loop_default_selector(),
1001 self::carousel_selector(),
1002 [
1003 'section_heading_typography' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1004 'section_heading_color' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1005 'section_title_margin' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1006 'section_title_align' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1007 ],
1008 ),
1009
1010 'rtsb-cross-sell-product-custom' => array_merge(
1011 self::general_common_selectors(),
1012 self::general_product_selectors()
1013 ),
1014
1015 'rtsb-crosssell-product-slider' => array_merge(
1016 self::general_common_selectors(),
1017 self::general_product_selectors(),
1018 self::general_slider_selectors(),
1019 ),
1020
1021 'rtsb-product-cart-totals' => [
1022 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2',
1023 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1024 // Title Style.
1025 'title_align' => '{{WRAPPER}}',
1026 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2',
1027 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2',
1028 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2',
1029 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2',
1030 'title_margin' => '{{WRAPPER}} .rtsb-cart-totals h2',
1031 'title_padding' => '{{WRAPPER}} .rtsb-cart-totals h2',
1032 'title_border' => '{{WRAPPER}} .rtsb-cart-totals h2',
1033 // Table.
1034 'table_heading_cell_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-cart-totals th,#rtsb-builder-content {{WRAPPER}} .rtsb-cart-totals td',
1035 'table_heading_cell_padding' => '{{WRAPPER}} .rtsb-cart-totals th,{{WRAPPER}} .rtsb-cart-totals td',
1036 'table_heading_typography' => '{{WRAPPER}} .rtsb-cart-totals th',
1037 'table_heading_color' => '{{WRAPPER}} .rtsb-cart-totals th',
1038 'table_heading_background_color' => '{{WRAPPER}} .rtsb-cart-totals th',
1039 'table_heading_align' => '{{WRAPPER}} .rtsb-cart-totals th',
1040 'total_heading_width' => '{{WRAPPER}} .rtsb-cart-totals th',
1041 'table_cell_typography' => '{{WRAPPER}} .rtsb-cart-totals td *',
1042 'table_cell_color' => '{{WRAPPER}} .rtsb-cart-totals td',
1043 'table_cell_background_color' => '{{WRAPPER}} .rtsb-cart-totals td',
1044 'table_cell_align' => '{{WRAPPER}} .rtsb-cart-totals td, .woocommerce .rtsb-builder-content {{WRAPPER}} ul#shipping_method li',
1045 'total_cell_heading_width' => '{{WRAPPER}} .rtsb-cart-totals td',
1046 'table_wrapper_border' => '{{WRAPPER}} .rtsb-cart-totals .shop_table',
1047 'table_wrapper_padding' => '{{WRAPPER}} .rtsb-cart-totals .shop_table',
1048 'button_typography' => '{{WRAPPER}} .rtsb-cart-totals .button',
1049 'button_height' => '{{WRAPPER}} .rtsb-cart-totals .button',
1050 'button_width' => '{{WRAPPER}} .rtsb-cart-totals .button',
1051 'button_text_color_normal' => '{{WRAPPER}} .rtsb-cart-totals .button',
1052 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-cart-totals .button',
1053 'button_border' => '{{WRAPPER}} .rtsb-cart-totals .button',
1054 'button_text_color_hover' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
1055 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
1056 'button_border_hover_color' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
1057 'button_border_radius' => '{{WRAPPER}} .rtsb-cart-totals .button',
1058 'button_padding' => '{{WRAPPER}} .rtsb-cart-totals .button',
1059 'button_margin' => '{{WRAPPER}} .rtsb-cart-totals .button',
1060
1061 ],
1062 'rtsb-product-carttable' => [
1063 'button_typography' => '{{WRAPPER}} .woocommerce-cart-form .button',
1064 'button_height' => '{{WRAPPER}} .woocommerce-cart-form .button',
1065 'button_width' => '{{WRAPPER}} .woocommerce-cart-form .button',
1066 'button_text_color_normal' => '{{WRAPPER}} .woocommerce-cart-form .button',
1067 'button_bg_color_normal' => '{{WRAPPER}} .woocommerce-cart-form .button',
1068 'button_border' => '{{WRAPPER}} .woocommerce-cart-form .button',
1069 'button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
1070 'button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
1071 'button_border_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
1072 'button_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .button',
1073 'button_padding' => '{{WRAPPER}} .woocommerce-cart-form .button',
1074 'button_margin' => '{{WRAPPER}} .woocommerce-cart-form .button',
1075 'coupon_typography' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1076 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1077 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1078 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1079 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1080 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text',
1081 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1082 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1083
1084 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button',
1085 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button',
1086 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button',
1087 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button',
1088 'return_shop_button_border' => '{{WRAPPER}} .return-to-shop .button',
1089 'return_shop_button_text_color_hover' => '{{WRAPPER}} .return-to-shop .button:hover',
1090 'return_shop_button_bg_color_hover' => '{{WRAPPER}} .return-to-shop .button:hover',
1091 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover',
1092 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button',
1093 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button',
1094 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button',
1095
1096 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1097 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1098 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1099 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1100 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1101 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1102 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1103 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1104 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1105
1106 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
1107 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
1108 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )',
1109 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1110 'cart_remove_button_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1111 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1112 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1113 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
1114 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
1115 // 'table_content_column_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td',
1116 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th',
1117 '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',
1118 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table',
1119
1120 'table_wrapper_margin' => '{{WRAPPER}} .woocommerce :is(table.shop_table, form )',
1121 'element_alignment' => '#rtsb-builder-content {{WRAPPER}} th.product-subtotal, #rtsb-builder-content {{WRAPPER}} td.product-subtotal',
1122 'action_button_padding' => '{{WRAPPER}} .woocommerce :is(table.shop_table, from ) .actions-button-wrapper',
1123
1124 'cart_subtotal_price_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td .amount',
1125 'cart_price_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td .amount',
1126
1127 'cart_title_element_alignment' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data), #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table .table-column-wrapper .product-attributes-wrapper .product-attributes li',
1128 'cart_product_title_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) a',
1129 'cart_product_title_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) a',
1130 'cart_product_title_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .rtsb-product-content, {{WRAPPER}} .rtsb-cart-table table.shop_table tr th:is(.product-name, .product-data) .table-column-wrapper',
1131
1132 'cart_product_title_meta_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .product-attributes li',
1133 'cart_product_title_meta_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .product-attributes li',
1134
1135 'cart_subtotal_button_typo' => '{{WRAPPER}} td.product-subtotal .subtotal-action-button-wrapper a',
1136 'cart_subtotal_price_padding' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .amount',
1137 'cart_subtotal_price_margin' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .amount',
1138 'cart_subtotal_button_gap' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .subtotal-action-button-wrapper',
1139 'cart_subtotal_button_wrapper_padding' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .subtotal-action-button-wrapper',
1140 'cart_subtotal_col_wrapper_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td.product-subtotal',
1141
1142 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1143 'cart_table_cell_width' => [
1144 'th' => '{{WRAPPER}} .shop_table.cart tr th',
1145 'td' => '{{WRAPPER}} .shop_table.cart tr td',
1146 ],
1147
1148 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1149 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1150 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1151 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1152 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1153 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1154
1155 // Table.
1156 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr',
1157
1158 'cart_table_header_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr th',
1159 'cart_heading_element_alignment' => '#rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table th',
1160 'cart_table_header_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table thead',
1161 'cart_table_header_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr th',
1162
1163 'cart_table_odd_row_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr:nth-child(odd)',
1164 'cart_table_odd_row_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr:nth-child(odd) td',
1165
1166 'cart_table_even_row_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr:nth-child(even)',
1167 'cart_table_even_row_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr:nth-child(even) td',
1168
1169 'cart_table_col_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td:not(.product-remove)',
1170 'cart_table_col_attributes_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td .product-attributes-wrapper',
1171 'cart_table_row_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr',
1172
1173 'cart_link_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr td a',
1174 'cart_link_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr td a:hover',
1175
1176 // Cart Quantity.
1177 'quantity_input_width' => '{{WRAPPER}} .woocommerce-cart-form input.qty',
1178 'quantity_height' => [
1179 'full' => '{{WRAPPER}} .woocommerce-cart-form input[type=number], {{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group:is( .rtsb-quantity-box-group-style-1, .rtsb-quantity-box-group-style-2 ) .rtsb-quantity-btn',
1180 'half' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group:is( .rtsb-quantity-box-group-style-3, .rtsb-quantity-box-group-style-4 ) .rtsb-quantity-btn',
1181 ],
1182 'quantity_increment_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus',
1183 'quantity_decrement_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
1184
1185 'quantity_button_width' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1186 'icon_size' => [
1187 'icon' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1188 'svg' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn svg',
1189 ],
1190 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity :is(i, svg)',
1191 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover :is(i, svg)',
1192 'text_typography' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1193 'quantity_number_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1194 'quantity_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1195 'quantity_border' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1196 'quantity_radius' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1197 'qunatity_padding' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1198 'quantity_wrapper_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1199 'qunatity_wrapper_padding' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1200 'quantity_wrapper_radius' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1201 ],
1202 ];
1203
1204 return apply_filters( 'rtsb/elements/elementor/widget/cart/selectors', $selectors );
1205 }
1206
1207 /**
1208 * Checkout Selectors.
1209 *
1210 * @return array
1211 */
1212 private static function checkout_widget_selectors(): array {
1213 $selectors = [
1214 'rtsb-billing-form' => [
1215 // Title.
1216 'show_title' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1217 'title_typo' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1218 'title_align' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1219 'title_color' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1220 'title_text_stroke' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1221 'title_text_shadow' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1222 'title_margin' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1223 'title_padding' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1224 'title_border' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1225 // Label.
1226 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label',
1227 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label',
1228 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required',
1229 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)',
1230
1231 // Input Fields.
1232 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea',
1233 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1234 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1235
1236 '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',
1237
1238 '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',
1239 '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',
1240
1241 // Hover.
1242 '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)',
1243
1244 '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)',
1245
1246 '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',
1247 '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',
1248 '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 )',
1249
1250 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row',
1251 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper',
1252
1253 ],
1254 'rtsb-shipping-form' => [
1255 // Label.
1256 'form_heading_gap' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1257 'form_heading_color' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1258 'form_heading_typo' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1259
1260 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1261 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1262 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required',
1263 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)',
1264
1265 // Input Fields.
1266 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea',
1267 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1268 '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',
1269
1270 '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',
1271
1272 'fields_text_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1273 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1274
1275 // Hover.
1276 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select:is(:hover, :focus, :active,:focus-visible)',
1277
1278 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select:is(:hover, :focus, :active,:focus-visible)',
1279
1280 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} , {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single',
1281 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active), {{WRAPPER}} .rtsb-form-shipping .select2-container--open .select2-selection--single',
1282 'fields_padding' => '{{WRAPPER}} .rtsb-form-shipping :is( input:not([type=checkbox],[type=radio]), textarea ),{{WRAPPER}} .rtsb-form-billing .select2-container--default .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping :is( select, .select2-selection--single )',
1283 'form_row_margin' => '{{WRAPPER}} .rtsb-form-shipping p.form-row',
1284 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address',
1285
1286 ],
1287 'rtsb-order-notes' => [
1288 'show_title' => '{{WRAPPER}} .rtsb-form-order-note h3',
1289 'title_typo' => '{{WRAPPER}} .rtsb-form-order-note h3',
1290 'title_align' => '{{WRAPPER}} .rtsb-form-order-note h3',
1291 'title_color' => '{{WRAPPER}} .rtsb-form-order-note h3',
1292 'title_text_stroke' => '{{WRAPPER}} .rtsb-form-order-note h3',
1293 'title_text_shadow' => '{{WRAPPER}} .rtsb-form-order-note h3',
1294 'title_margin' => '{{WRAPPER}} .rtsb-form-order-note h3',
1295 'title_padding' => '{{WRAPPER}} .rtsb-form-order-note h3',
1296 'title_border' => '{{WRAPPER}} .rtsb-form-order-note h3',
1297
1298 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label',
1299 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label',
1300 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required',
1301 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)',
1302
1303 // Input Fields.
1304 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1305 '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',
1306 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1307 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1308 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1309 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1310
1311 // Hover.
1312 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1313
1314 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1315 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1316 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1317
1318 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1319 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1320 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1321
1322 ],
1323
1324 'rtsb-order-review' => [
1325 // Title.
1326 'show_title' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1327 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1328 'title_typo' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1329 'title_align' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1330 'title_color' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1331 'title_text_stroke' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1332 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1333 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1334 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1335 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1336 // Table Settings.
1337 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1338 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1339 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1340 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )',
1341 'label_typo' => '{{WRAPPER}} #order_review thead th',
1342 'label_color' => '{{WRAPPER}} #order_review thead th',
1343 'label_bg_color' => '{{WRAPPER}} #order_review thead th',
1344 'label_item_padding' => '{{WRAPPER}} #order_review thead th',
1345 // Table Body
1346 'body_text_typo' => '{{WRAPPER}} #order_review tbody td',
1347 'body_text_color' => '{{WRAPPER}} #order_review tbody td',
1348 'body_item_padding' => '{{WRAPPER}} #order_review tbody td',
1349 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td',
1350 // Counter
1351 'counter_text_color' => '{{WRAPPER}} .product-quantity',
1352 'counter_style' => '{{WRAPPER}} .product-quantity',
1353 // Table Footer
1354 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1355 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th',
1356 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td',
1357 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1358 'table_footer_item_padding' => '{{WRAPPER}} #order_review tfoot td, {{WRAPPER}} #order_review tfoot th',
1359
1360 ],
1361 'rtsb-checkout-payment' => [
1362 'payment_method_wrapper_bg_color' => '{{WRAPPER}} #payment ul.payment_methods',
1363 'payment_link_color' => '{{WRAPPER}} .rtsb-checkout-payment a',
1364 'payment_link_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment a:hover',
1365
1366 'payment_label_typography' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label',
1367 'payment_label_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child+label:before',
1368 'payment_label_active_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label:hover, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child:checked+label:before, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child:checked+label',
1369 'payment_label_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label',
1370 'payment_method_space_between' => '{{WRAPPER}} #payment ul.payment_methods li input',
1371 'payment_method_bacs_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.woocommerce-PaymentMethod>label,{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.wc_payment_method>label',
1372 'payment_method_wrap_padding' => '{{WRAPPER}} #payment ul.payment_methods',
1373 'payment_method_bacs_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.woocommerce-PaymentMethod>label,{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods>.wc_payment_method>label',
1374
1375 'payment_description_typography' => '{{WRAPPER}} .rtsb-checkout-payment p',
1376 'payment_description_text_color' => '{{WRAPPER}} .rtsb-checkout-payment p',
1377 'payment_description_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods > li .payment_box',
1378 'payment_description_border' => '{{WRAPPER}} .rtsb-checkout-payment #payment ul.payment_methods',
1379 'payment_method_desc_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods li .payment_box',
1380 'payment_method_desc_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods li .payment_box',
1381
1382 'payment_button_description_typography' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order p',
1383 'payment_button_description_text_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order p',
1384 'payment_button_description_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1385 'payment_button_wrapper_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1386 'payment_button_wrapper_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1387
1388 // Button section.
1389 'button_height' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1390 'button_width' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1391 'button_typography' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1392 'submit_button_alignment' => [
1393 'text-align' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1394 'float' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1395 ],
1396 'button_text_color_normal' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1397 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1398 'button_border' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1399 'button_text_color_hover' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1400 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1401 'button_border_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1402 'button_border_radius' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1403 'button_padding' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1404 'button_margin' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1405 ],
1406 'rtsb-coupon-form' => array_merge(
1407 self::button_settings_selector(),
1408 [
1409 'typo' => '{{WRAPPER}} p',
1410 'align' => '{{WRAPPER}} p',
1411 'text_color' => '{{WRAPPER}} p',
1412 'text_shadow' => '{{WRAPPER}} p',
1413 'text_margin' => '{{WRAPPER}} p',
1414
1415 // Input Fields.
1416 'fields_height' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1417 'fields_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1418 'fields_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1419 'fields_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1420 'form_fields_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1421
1422 // Hover.
1423 'fields_hover_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1424 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1425 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1426 'form_fields_border_radius_hover' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1427
1428 'fields_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1429 'fields_gap' => '{{WRAPPER}} .rtsb-checkout-coupon-form .coupon-form-fields',
1430
1431 'infobox_typography' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1432 'infobox_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner )',
1433 'infobox_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1434
1435 'infobox_text_link_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form a',
1436 'infobox_border_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner ) ',
1437 'infobox_icon_size' => [
1438 'icon' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i), {{WRAPPER}} .wc-block-components-notice-banner__content i',
1439 'svg' => '{{WRAPPER}} :is( .woocommerce-info svg, .wc-block-components-notice-banner__content svg )',
1440 ],
1441
1442 'infobox_icon_margin' => '{{WRAPPER}} .woocommerce-info::before, {{WRAPPER}} .woocommerce-info :is( i, svg ), {{WRAPPER}} .wc-block-components-notice-banner__content :is( i, svg ) ',
1443
1444 'infobox_icon_color' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i, .woocommerce-info svg ), {{WRAPPER}} :is( .wc-block-components-notice-banner__content svg, .wc-block-components-notice-banner__content i )',
1445
1446 'infobox_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form ',
1447 'infobox_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form .wc-block-components-notice-banner',
1448 'infobox_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is( .woocommerce-info, .wc-block-components-notice-banner__content )',
1449 'form_margin' => '{{WRAPPER}} .rtsb-checkout-coupon-form .coupon-form-fields',
1450 'form_area_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1451 'form_area_margin' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1452
1453 'form_area_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1454 'form_area_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1455
1456 ]
1457 ),
1458 'rtsb-checkout-login-form' => array_merge(
1459 self::button_settings_selector(),
1460 [
1461 'typo' => '{{WRAPPER}} p',
1462 'align' => '{{WRAPPER}} p',
1463 'text_color' => '{{WRAPPER}} p',
1464 'text_shadow' => '{{WRAPPER}} p',
1465 'text_margin' => '{{WRAPPER}} p',
1466
1467 // Input Fields.
1468 'fields_height' => '{{WRAPPER}} input.input-text',
1469 'fields_border' => '{{WRAPPER}} input.input-text',
1470 'form_fields_border_radius' => '{{WRAPPER}} input.input-text',
1471 'fields_text_color' => '{{WRAPPER}} input.input-text',
1472 'fields_bg_color' => '{{WRAPPER}} input.input-text',
1473
1474 // Hover.
1475 'fields_hover_border' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1476 'form_fields_border_radius_hover' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1477 'fields_hover_text_color' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1478 'fields_hover_bg_color' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1479
1480 'fields_padding' => '{{WRAPPER}} .rtsb-checkout-login-form input.input-text',
1481 'fields_gap' => '{{WRAPPER}} .rtsb-checkout-login-form .login-form-fields',
1482 'label_gap' => '{{WRAPPER}} .rtsb-checkout-login-form .field-wrapper label',
1483 // Info Box.
1484 'infobox_typography' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1485 'infobox_bg_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner.is-info )',
1486 'infobox_text_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1487
1488 'infobox_text_link_color' => '{{WRAPPER}} .rtsb-checkout-login-form a',
1489
1490 'infobox_border_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner.is-info )',
1491 'infobox_icon_size' => [
1492 'icon' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i), {{WRAPPER}} .wc-block-components-notice-banner__content i',
1493 'svg' => '{{WRAPPER}} :is( .woocommerce-info svg, .wc-block-components-notice-banner__content svg )',
1494 ],
1495
1496 'infobox_icon_margin' => '{{WRAPPER}} .woocommerce-info::before, {{WRAPPER}} .woocommerce-info :is( i, svg ), {{WRAPPER}} .wc-block-components-notice-banner :is( i, svg ) ',
1497
1498 'infobox_icon_color' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i, .woocommerce-info svg ), {{WRAPPER}} :is( .wc-block-components-notice-banner svg, .wc-block-components-notice-banner i )',
1499
1500 'infobox_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-login-form',
1501 'infobox_border_radius' => '{{WRAPPER}} .rtsb-checkout-login-form .wc-block-components-notice-banner',
1502 'infobox_padding' => '{{WRAPPER}} .rtsb-checkout-login-form :is( .woocommerce-info, .wc-block-components-notice-banner__content ) ',
1503 'form_margin' => '{{WRAPPER}} .rtsb-checkout-login-form .login-form-fields',
1504 'form_area_padding' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1505 'form_area_margin' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1506 'form_area_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1507 'form_area_border_radius' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1508
1509 ]
1510 ),
1511 'rtsb-shipping-method' => [
1512
1513 // General.
1514 'general_cart_table_border' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1515 'general_cart_table_bg' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1516 'general_table_padding' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1517
1518 // Title.
1519 'show_title' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1520 'title_typo' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1521 'title_align' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1522 'title_color' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1523 'title_text_stroke' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1524 'title_text_shadow' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1525 'title_margin' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1526 'title_padding' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1527 'title_border' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1528 // Label.
1529 'label_title_typo' => '{{WRAPPER}} .rtsb-shipping-method .woocommerce-shipping-methods label',
1530 'label_title_color' => '{{WRAPPER}} .rtsb-shipping-method .woocommerce-shipping-methods label',
1531 'label_space_between' => '{{WRAPPER}} .woocommerce .rtsb-builder-content ul#shipping_method li',
1532 'label_item_space' => '{{WRAPPER}} .woocommerce .rtsb-builder-content ul#shipping_method',
1533 ],
1534 ];
1535
1536 return apply_filters( 'rtsb/elements/elementor/widget/checkout/selectors', $selectors );
1537 }
1538
1539 /**
1540 * Common CSS Selectors.
1541 *
1542 * @return array
1543 */
1544 private static function general_common_selectors(): array {
1545 return apply_filters(
1546 'rtsb/elementor/common_selectors',
1547 [
1548 'columns' => [
1549 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1550 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry',
1551 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]',
1552 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry',
1553 'grid_gap' => [
1554 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]',
1555 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1556 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3',
1557 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9',
1558 ],
1559 'image_width' => [
1560 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left',
1561 // 'content' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-content',
1562 ],
1563 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1564 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content',
1565 'grid_alignment' => [
1566 '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',
1567 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list',
1568 ],
1569 ],
1570 'color_scheme' => [
1571 'primary_color' => '{{WRAPPER}}',
1572 'secondary_color' => '{{WRAPPER}}',
1573 ],
1574 'count' => [
1575 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1576 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1577 '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',
1578 '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',
1579 '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',
1580 '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',
1581 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1582 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count',
1583 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1584 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1585 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1586 ],
1587 'product_badges' => [
1588 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1589 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1590 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1591 'border_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline.angle-right::after',
1592 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1593 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-badge.type-image',
1594 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-badge.type-image',
1595 'position_x' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img > .rtsb-promotion',
1596 'position_y' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img > .rtsb-promotion',
1597 ],
1598 'image' => [
1599 'overlay' => '{{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area .rtsb-img-link::before',
1600 'hover_overlay' => '{{WRAPPER}} .rtsb-elementor-container.has-overlay .single-category-area .rtsb-img-link::after',
1601 'img_bg_color' => '{{WRAPPER}} .rtsb-product-img .rtsb-product-image, {{WRAPPER}} .rtsb-product-img .default-img',
1602 'img_wrapper_bg_color' => '{{WRAPPER}} .rtsb-product-img figure',
1603 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure',
1604 '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',
1605 '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',
1606 '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',
1607 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img',
1608
1609 ],
1610 'advanced' => [
1611 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1612 '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',
1613 'element_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid',
1614 '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',
1615 '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',
1616 'element_bg_color' => '{{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,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product .fade-action-button,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product .product-fade-content',
1617 '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',
1618 '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',
1619 '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 )',
1620 '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',
1621 'rtsb_el_wrapper_border' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1622 'wrapper_border_radius' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1623 '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',
1624 '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',
1625 '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',
1626 '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',
1627 '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',
1628 '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',
1629 ],
1630 'badges_module' => [
1631 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1632 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1633 ],
1634 ]
1635 );
1636 }
1637
1638 /**
1639 * Common CSS Selectors.
1640 *
1641 * @return array
1642 */
1643 public static function general_slider_selectors(): array {
1644 return [
1645 'slider_buttons' => [
1646 'arrow_size' => [
1647 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1648 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg',
1649 ],
1650 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1651 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1652 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1653 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1654 'dot_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1655 'dot_spacing' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1656 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1657 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1658 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover',
1659 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover',
1660 'dot_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1661 'dot_active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet-active',
1662 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1663 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet:hover',
1664 'active_border_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet-active',
1665 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1666 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-nav, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination',
1667 ],
1668 ];
1669 }
1670
1671 /**
1672 * Category CSS Selectors.
1673 *
1674 * @return array
1675 */
1676 private static function general_product_selectors(): array {
1677 return apply_filters(
1678 'rtsb/elementor/general_product_selectors',
1679 [
1680 'section_title' => [
1681 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1682 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1683 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1684 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1685 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1686 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1687 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1688 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1689 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1690 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1691 ],
1692 'product_title' => [
1693 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1694 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1695 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1696 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1697 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title',
1698 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover',
1699 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper',
1700 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover',
1701 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1702 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1703 ],
1704 'short_description' => array_fill_keys(
1705 [
1706 'typography',
1707 'alignment',
1708 'color',
1709 'bg_color',
1710 'border',
1711 'padding',
1712 'margin',
1713 ],
1714 '{{WRAPPER}} .rtsb-elementor-container .product-short-description'
1715 ),
1716 'action_buttons' => [
1717 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list',
1718 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list',
1719 ],
1720 'product_price' => [
1721 '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',
1722 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1723 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1724 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1725 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1726 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1727 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1728 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1729 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1730 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1731 ],
1732 'product_rating' => [
1733 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1734 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1735 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1736 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1737 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1738 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1739 ],
1740 'product_categories' => [
1741 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1742 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category',
1743 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1744 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1745 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1746 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1747 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1748 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1749 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1750 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1751 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1752 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category',
1753 ],
1754 'pagination' => [
1755 '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',
1756 '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',
1757 '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',
1758 'height' => '{{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',
1759 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1760 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1761 'active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1762 'active_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1763 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button:hover',
1764 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button:hover',
1765 'border' => '{{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',
1766 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li a:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button:hover',
1767 'border_active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1768 'border_radius' => '{{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',
1769 'spacing' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap',
1770 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1771 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list, {{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap',
1772 ],
1773 'product_add_to_cart' => [
1774 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1775 'icon_size' => [
1776 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1777 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg',
1778 ],
1779 'cart_icon_spacing' => [
1780 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text',
1781 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text',
1782 ],
1783 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1784 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1785 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1786 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1787 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1788 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1789 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1790 'hover_icon_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover .icon',
1791 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1792 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1793 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1794 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1795 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1796 ],
1797 'product_compare' => [
1798 'icon_size' => [
1799 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn .icon',
1800 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn .icon svg',
1801 ],
1802 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1803 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1804 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1805 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1806 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1807 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1808 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1809 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1810 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1811 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1812 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1813 ],
1814 'product_wishlist' => [
1815 'icon_size' => [
1816 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn .icon',
1817 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn .icon svg',
1818 ],
1819 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1820 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1821 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1822 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1823 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1824 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1825 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1826 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1827 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1828 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1829 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1830 ],
1831 'product_quick_view' => [
1832 'icon_size' => [
1833 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn .icon',
1834 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn .icon svg',
1835 ],
1836 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1837 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1838 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1839 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1840 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1841 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1842 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1843 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1844 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1845 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1846 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1847 ],
1848 'hover_icon_button' => [
1849 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1850 'icon_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1851 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon',
1852 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1853 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1854 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1855 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1856 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1857 'hover_icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover i',
1858 'border' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1859 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1860 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1861 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1862 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1863 ],
1864 'not_found_notice' => self::not_found_notice_selectors(),
1865 ]
1866 );
1867 }
1868
1869 /**
1870 * Not Found Notice Selectors.
1871 *
1872 * @return array
1873 */
1874 public static function not_found_notice_selectors() {
1875 return array_fill_keys(
1876 [
1877 'typography',
1878 'alignment',
1879 'color',
1880 'bg_color',
1881 'border',
1882 'padding',
1883 'margin',
1884 ],
1885 '{{WRAPPER}} .rtsb-elementor-container .woocommerce-no-products-found .woocommerce-info, {{WRAPPER}} .rtsb-product-catalog .woocommerce-no-products-found .woocommerce-info'
1886 );
1887 }
1888
1889 /**
1890 * Category CSS Selectors.
1891 *
1892 * @return array
1893 */
1894 private static function general_cat_selectors(): array {
1895 return [
1896 'category_single_layout' => [
1897 'cat_alignment' => [
1898 'text_align' => '{{WRAPPER}} .rtsb-elementor-container',
1899 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .category-title-with-count',
1900 ],
1901 'cat_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .default-img',
1902 ],
1903 'category_multi_layout' => [
1904 'cat_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout1 .rtsb-product-img .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout1 .rtsb-product-img .default-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
1905 ],
1906 'cat_count_settings' => [
1907 'count_display_type' => '{{WRAPPER}} .rtsb-elementor-container .category-title-with-count',
1908 ],
1909 'cat_title' => [
1910 'typography' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1911 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1912 'color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title, {{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title-with-count',
1913 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title',
1914 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title:hover, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title:hover',
1915 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-title:hover, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-title:hover',
1916 'border' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1917 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .category-title:hover',
1918 'padding' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1919 'margin' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1920 ],
1921 'cat_description' => [
1922 'typography' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1923 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1924 'color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-description, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-description',
1925 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .category-description, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .category-description',
1926 'border' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1927 'padding' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1928 'margin' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1929 ],
1930 ];
1931 }
1932
1933 /**
1934 * Social Share CSS Selectors.
1935 *
1936 * @return array
1937 */
1938 private static function social_share(): array {
1939 return apply_filters(
1940 'rtsb/elements/elementor/social_share_selectors',
1941 [
1942 'share_items' => [
1943 'share_icons_spacing' => '{{WRAPPER}} .rtsb-social-share',
1944 'share_items_min_width' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1945 'social_items_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg, {{WRAPPER}} .rtsb-social-share .rtsb-share-btn .rtsb-share-label',
1946 'social_items_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1947 'facebook_color' => '{{WRAPPER}} .rtsb-social-share .facebook svg, {{WRAPPER}} .rtsb-social-share .facebook .rtsb-share-label',
1948 'twitter_color' => '{{WRAPPER}} .rtsb-social-share .twitter svg, {{WRAPPER}} .rtsb-social-share .twitter .rtsb-share-label',
1949 'linkedin_color' => '{{WRAPPER}} .rtsb-social-share .linkedin svg, {{WRAPPER}} .rtsb-social-share .linkedin .rtsb-share-label',
1950 'pinterest_color' => '{{WRAPPER}} .rtsb-social-share .pinterest svg, {{WRAPPER}} .rtsb-social-share .pinterest .rtsb-share-label',
1951 'skype_color' => '{{WRAPPER}} .rtsb-social-share .skype svg, {{WRAPPER}} .rtsb-social-share .skype .rtsb-share-label',
1952 'whatsapp_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp svg, {{WRAPPER}} .rtsb-social-share .whatsapp .rtsb-share-label',
1953 'reddit_color' => '{{WRAPPER}} .rtsb-social-share .reddit svg, {{WRAPPER}} .rtsb-social-share .reddit .rtsb-share-label',
1954 'telegram_color' => '{{WRAPPER}} .rtsb-social-share .telegram svg, {{WRAPPER}} .rtsb-social-share .telegram .rtsb-share-label',
1955 'facebook_bg_color' => '{{WRAPPER}} .rtsb-social-share .facebook',
1956 'twitter_bg_color' => '{{WRAPPER}} .rtsb-social-share .twitter',
1957 'linkedin_bg_color' => '{{WRAPPER}} .rtsb-social-share .linkedin',
1958 'pinterest_bg_color' => '{{WRAPPER}} .rtsb-social-share .pinterest',
1959 'skype_bg_color' => '{{WRAPPER}} .rtsb-social-share .skype',
1960 'whatsapp_bg_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp',
1961 'reddit_bg_color' => '{{WRAPPER}} .rtsb-social-share .reddit',
1962 'telegram_bg_color' => '{{WRAPPER}} .rtsb-social-share .telegram',
1963 'social_items_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover svg, {{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
1964 'social_items_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover',
1965 'facebook_hover_color' => '{{WRAPPER}} .rtsb-social-share .facebook:hover svg, {{WRAPPER}} .rtsb-social-share .facebook:hover .rtsb-share-label',
1966 'twitter_hover_color' => '{{WRAPPER}} .rtsb-social-share .twitter:hover svg, {{WRAPPER}} .rtsb-social-share .twitter:hover .rtsb-share-label',
1967 'linkedin_hover_color' => '{{WRAPPER}} .rtsb-social-share .linkedin:hover svg, {{WRAPPER}} .rtsb-social-share .linkedin:hover .rtsb-share-label',
1968 'pinterest_hover_color' => '{{WRAPPER}} .rtsb-social-share .pinterest:hover svg, {{WRAPPER}} .rtsb-social-share .pinterest:hover .rtsb-share-label',
1969 'skype_hover_color' => '{{WRAPPER}} .rtsb-social-share .skype:hover svg, {{WRAPPER}} .rtsb-social-share .skype:hover .rtsb-share-label',
1970 'whatsapp_hover_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp:hover svg, {{WRAPPER}} .rtsb-social-share .whatsapp:hover .rtsb-share-label',
1971 'reddit_hover_color' => '{{WRAPPER}} .rtsb-social-share .reddit:hover svg, {{WRAPPER}} .rtsb-social-share .reddit:hover .rtsb-share-label',
1972 'telegram_hover_color' => '{{WRAPPER}} .rtsb-social-share .telegram:hover svg, {{WRAPPER}} .rtsb-social-share .telegram:hover .rtsb-share-label',
1973 'facebook_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .facebook:hover',
1974 'twitter_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .twitter:hover',
1975 'linkedin_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .linkedin:hover',
1976 'pinterest_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .pinterest:hover',
1977 'skype_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .skype:hover',
1978 'whatsapp_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp:hover',
1979 'reddit_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .reddit:hover',
1980 'telegram_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .telegram:hover',
1981 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1982 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover',
1983 'border_radius' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1984 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1985 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1986 ],
1987 'share_icons' => [
1988 'share_icons_width' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
1989 'share_icons_height' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
1990 'color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
1991 'bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn .rtsb-share-icon',
1992 'hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover svg',
1993 'hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-icon',
1994 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
1995 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-icon',
1996 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
1997 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
1998 ],
1999 'share_text' => [
2000 'typography' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2001 'alignment' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2002 'color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2003 'bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2004 'hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
2005 'hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
2006 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2007 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
2008 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2009 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2010 ],
2011 'share_header' => [
2012 'typography' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2013 'share_header_type' => '{{WRAPPER}} .rtsb-social-share-container',
2014 'color' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2015 'bg_color' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2016 'border' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2017 'padding' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2018 'margin' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2019 ],
2020 ]
2021 );
2022 }
2023 }
2024