PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.6.4
ShopBuilder – WooCommerce Builder For Elementor v2.6.4
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.4, at app/Elementor/Helper/ControlSelectors.php

2,052 lines 168.8 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' => '{{WRAPPER}} .rtwpvg-wrapper .rtwpvg-slider-wrapper,{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image',
632 'image_border_radius' => '{{WRAPPER}} .rtsb-product-images .woocommerce-product-gallery__image',
633 'gallery_thumbs_column' => '{{WRAPPER}} div.images .flex-control-thumbs li',
634 // 'gallery_thumbs_column_gap' => '{{WRAPPER}} div.images .flex-control-thumbs',
635 // 'gallery_image_gap_with_main' => [
636 // 'margin-top' => '{{WRAPPER}} div.images .flex-control-thumbs',
637 // 'rtwpvg-thumb-mb' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-bottom .rtwpvg-slider-wrapper',
638 // 'rtwpvg-thumb-ml' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-left .rtwpvg-slider-wrapper',
639 // 'rtwpvg-thumb-mr' => '{{WRAPPER}} .rtsb-product-images .rtwpvg-has-product-thumbnail .rtwpvg-thumbnail-position-right .rtwpvg-slider-wrapper',
640 // ],
641 'thumb_border' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images .rtwpvg-thumbnail-image img, {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
642 'thumbs_border_radius' => '{{WRAPPER}} .rtsb-product-images div.images .flex-control-thumbs li img, {{WRAPPER}} .rtsb-product-images :is( .rtwpvg-thumbnail-image, img), {{WRAPPER}} .rtsb-product-images .rtwpvg-grid-layout .rtwpvg-gallery-image',
643 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-images .onsale',
644 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
645 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-images .onsale',
646 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-images .onsale',
647 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-images .onsale',
648 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .onsale',
649 'flash_sale_position_horizontal' => '{{WRAPPER}} .rtsb-product-images .onsale',
650 'flash_sale_position_vertical' => '{{WRAPPER}} .rtsb-product-images .onsale',
651 'zoom_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
652
653 'zoom_bg_color' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
654 'zoom_icon_size' => [
655 'icon' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger :is(span, i)',
656 'svg' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger svg, {{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger svg',
657 ],
658 'zoom_badge_width' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
659 'zoom_badge_height' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
660 'zoom_badge_border_radius' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
661 'zoom_padding' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger,{{WRAPPER}} .rtsb-product-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger',
662 'zoom_position_horizontal' => [
663 'zoom_position' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger',
664 '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)',
665 '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)',
666 ],
667 'zoom_position_vertical' => [
668 'zoom-icon-top' => '{{WRAPPER}} .rtsb-product-images .images .woocommerce-product-gallery__trigger, {{WRAPPER}} .rtsb-product-images .rtwpvg-trigger',
669 '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)',
670 ],
671 ],
672 'rtsb-product-meta' => [
673 'meta_layout' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
674 'align' => '{{WRAPPER}} .product_meta',
675 'gap' => '{{WRAPPER}} .rtsb-product-meta .product_meta',
676 'meta_padding' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
677 'label_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
678 'meta_label_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku_wrapper, .posted_in, .tagged_as)',
679 'value_typo' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
680 'meta_value_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.sku, .posted_in a, .tagged_as a)',
681 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-meta .product_meta :is(.posted_in a, .tagged_as a):hover',
682 ],
683 'rtsb-product-price' => [
684 'price_align' => '{{WRAPPER}}',
685 'space_between' => [
686 'del_price' => '{{WRAPPER}} .rtsb-product-price .price del',
687 'del_price_rtl' => '.rtl {{WRAPPER}} .rtsb-product-price .price del',
688 ],
689 'price_typo' => '{{WRAPPER}} .rtsb-product-price :is(.price, .price .amount, .price ins)',
690 'price_color' => '{{WRAPPER}} .rtsb-product-price :is(.price, .price .amount, .price ins)',
691 'sale_price_typo' => '{{WRAPPER}} .rtsb-product-price .price ins .amount',
692 'sale_price_color' => '{{WRAPPER}} .rtsb-product-price .price ins .amount',
693 ],
694 // New Convension.
695 'rtsb-product-rating' => array_merge(
696 self::review_star_icon_selector(),
697 [
698 'rating_align' => '{{WRAPPER}}',
699 'rating_text_link_color' => '{{WRAPPER}} .woocommerce-review-link',
700 'rating_text_link_hover_color' => '{{WRAPPER}} .woocommerce-review-link:hover',
701 'link_typography' => '{{WRAPPER}} .woocommerce-review-link',
702 'rating_space_between' => [
703 'margin-right' => 'body:not(.rtl) {{WRAPPER}} .star-rating',
704 'margin-left' => 'body.rtl {{WRAPPER}} .star-rating',
705 ],
706 ]
707 ),
708 'rtsb-product-reviews' => self::reviews_settings_selecotor(),
709 'rtsb-product-sku' => [
710 'align' => '{{WRAPPER}} .rtsb-product-sku',
711 'label_typo' => '{{WRAPPER}} .rtsb-product-sku .sku-label',
712 'meta_label_color' => '{{WRAPPER}} .rtsb-product-sku .sku-label',
713 'value_typo' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
714 'meta_value_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value',
715 'meta_value_hover_color' => '{{WRAPPER}} .rtsb-product-sku .sku-value:hover',
716 ],
717 'rtsb-product-stock' => [
718 'stock_text_typography' => '{{WRAPPER}} .rtsb-product-stock .stock',
719 'in_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.in-stock',
720 'outof_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.out-of-stock',
721 'backorder_stock_color' => '{{WRAPPER}} .rtsb-product-stock .stock.available-on-backorder',
722 'icon_size' => [
723 'icon' => '{{WRAPPER}} .rtsb-product-stock .stock i',
724 'svg' => '{{WRAPPER}} .rtsb-product-stock .stock svg',
725 ],
726 'icon_gap' => '{{WRAPPER}} .rtsb-product-stock .stock i',
727 'stock_alignment' => '{{WRAPPER}} .rtsb-product-stock p',
728 'stock_padding' => '{{WRAPPER}} .rtsb-product-stock p',
729 'stock_margin' => '{{WRAPPER}} .rtsb-product-stock p',
730 ],
731 'rtsb-product-tabs' => array_merge(
732 self::reviews_settings_selecotor(),
733 [
734 'nav_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
735 'nav_position' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs.tabs-custom-layout2 ul.wc-tabs',
736 'nav_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
737 'nav_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a',
738 'nav_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li',
739
740 'nav_active_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active a',
741 'nav_active_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active a',
742 'nav_active_border_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active',
743 'nav_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li:not(.active):hover a',
744 'nav_hover_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li:not(.active):hover a',
745 'nav_active_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
746 'nav_active_hover_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
747 'nav_active_hover_border_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li.active:hover a',
748 'nav_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs ul.tabs li a ',
749 'content_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab ',
750
751 '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',
752 'tab_title_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
753 'tab_title_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab h2',
754 'tab_content_title_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child, {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .woocommerce-Tabs-panel .woocommerce-Reviews-title',
755
756 'additional_info_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs .woocommerce-tabs .wc-tab .shop_attributes',
757 'attributes_gap' => '.rtsb-builder-content {{WRAPPER}} .rtsb-product-tabs table.shop_attributes td,{{WRAPPER}} .rtsb-product-tabs table.shop_attributes th',
758 ]
759 ),
760 'rtsb-product-title' => [
761 'title_typo' => '{{WRAPPER}} .product_title',
762 'title_align' => '{{WRAPPER}}',
763 'title_color' => '{{WRAPPER}} .product_title',
764 'title_text_stroke' => '{{WRAPPER}} .product_title',
765 'title_text_shadow' => '{{WRAPPER}} .product_title',
766 'title_margin' => '{{WRAPPER}} .product_title',
767 'title_padding' => '{{WRAPPER}} .product_title',
768 'title_border' => '{{WRAPPER}} .product_title',
769 ],
770 'rtsb-short-description' => [
771 'typo' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
772 'align' => '{{WRAPPER}}',
773 'text_color' => '{{WRAPPER}} :is(.rtsb-short-description , p)',
774 'text_shadow' => '{{WRAPPER}} .rtsb-short-description, {{WRAPPER}} .rtsb-short-description p',
775 ],
776 'rtsb-product-onsale' => [
777 'flash_sale_typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
778 'product_flash_sale_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
779 'flash_sale_bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
780 'flash_sale_border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline), {{WRAPPER}} .rtsb-tag-outline.angle-right::after',
781 'flash_sale_badge_width' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
782 'flash_sale_badge_height' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
783 'flash_sale_badge_border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.onsale, .rtsb-tag-fill, .rtsb-tag-outline)',
784 'product_badges' => [
785 'typography' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill, .rtsb-tag-outline)',
786 'color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
787 'bg_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
788 'border_color' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline),{{WRAPPER}} .rtsb-tag-outline.angle-right::after',
789 'border_radius' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
790 'padding' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
791 'margin' => '{{WRAPPER}} .rtsb-product-onsale :is(.rtsb-tag-fill,.rtsb-tag-outline)',
792 'position_x' => '',
793 'position_y' => '',
794 ],
795 'badges_module' => [
796 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
797 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
798 ],
799 ],
800 ];
801
802 return apply_filters( 'rtsb/elements/elementor/widget/product/selectors', $selectors );
803 }
804
805 /**
806 * Archive Selectors.
807 *
808 * @return array
809 */
810 private static function archive_widget_selectors(): array {
811 $selectors = [
812
813 'rtsb-products-archive' => array_merge(
814 self::products_loop_default_selector(),
815 [
816 'column_per_row' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .products .product',
817 'column_gap' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .products',
818 'row_gap' => '{{WRAPPER}} .rtsb-product-catalog .products',
819 'list_image_width' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-list-view .rtsb-image-wrapper',
820 'image_gap' => [
821 'margin-right' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-list-view .rtsb-image-wrapper',
822 'margin-bottom' => '{{WRAPPER}} .rtsb-product-catalog.product-catalog-grid-view .rtsb-image-wrapper',
823 ],
824 ],
825 ),
826
827 'rtsb-products-archive-custom' => array_merge(
828 self::general_common_selectors(),
829 self::general_product_selectors()
830 ),
831
832 'rtsb-archive-title' => [
833 'archive_title_align' => '{{WRAPPER}}',
834 'archive_title_color' => '{{WRAPPER}} .archive-title',
835 'title_typo' => '{{WRAPPER}} .archive-title',
836 'text_stroke' => '{{WRAPPER}} .archive-title',
837 'text_shadow' => '{{WRAPPER}} .archive-title',
838 ],
839 'rtsb-archive-description' => [
840 'typo' => '{{WRAPPER}} .rtsb-archive-description',
841 'align' => '{{WRAPPER}}',
842 'text_color' => '{{WRAPPER}}',
843 'text_shadow' => '{{WRAPPER}} .rtsb-archive-description',
844 ],
845 'rtsb-archive-product-mode' => [
846 'icon_size' => [
847 'icon' => '{{WRAPPER}} .rtsb-archive-view-mode i',
848 'svg' => '{{WRAPPER}} .rtsb-archive-view-mode svg',
849 ],
850 'mode_button_align' => '{{WRAPPER}}',
851 'mode_button_height' => '{{WRAPPER}} .rtsb-archive-view-mode a',
852 'mode_button_width' => '{{WRAPPER}} .rtsb-archive-view-mode a',
853 'mode_button_gap' => '{{WRAPPER}} .rtsb-archive-view-mode',
854 'mode_button_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
855 'mode_button_bg_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
856 'text_color' => '{{WRAPPER}} .rtsb-archive-view-mode a',
857 'mode_button_border' => '{{WRAPPER}} .rtsb-archive-view-mode a',
858 'mode_button_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
859 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
860 'mode_button_border_hover_color' => '{{WRAPPER}} .rtsb-archive-view-mode a:hover,{{WRAPPER}} .rtsb-archive-view-mode a.active',
861 'mode_button_radius' => '{{WRAPPER}} .rtsb-archive-view-mode a',
862 ],
863 'rtsb-archive-result-count' => [
864 'align' => '{{WRAPPER}}',
865 'text_color' => '{{WRAPPER}}',
866 'typo' => '{{WRAPPER}} .rtsb-archive-result-count',
867 'text_shadow' => '{{WRAPPER}} .rtsb-archive-result-count',
868 ],
869 'rtsb-products-ordering' => [
870 'typo' => '{{WRAPPER}} .rtsb-archive-catalog-ordering :is( .woocommerce-ordering, select )',
871 'align' => '{{WRAPPER}}',
872 'orderby_height' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
873 'orderby_width' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering,{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
874 'ordering_padding' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
875 'orderby_bg_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
876 'text_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
877 'orderby_border' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
878 'orderby_bg_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
879 'text_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
880 'orderby_border_hover_color' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby:hover',
881 'orderby_radius' => '{{WRAPPER}} .rtsb-archive-catalog-ordering .woocommerce-ordering .orderby',
882 ],
883 'rtsb-product-filters' => [
884 'filter_types' => [
885 'column_gap' => '{{WRAPPER}} .rtsb-archive-catalog-ordering',
886 ],
887 'filter_header' => [
888 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
889 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
890 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
891 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
892 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
893 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-filter-header h3',
894 ],
895 'filter_title' => [
896 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
897 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
898 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
899 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
900 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
901 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .default-filter-title-wrapper h3',
902 ],
903 'search_styles' => [
904 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
905 'button_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
906 'icon_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
907 'placeholder_typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder',
908 'search_input_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
909 'search_button_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
910 'search_icon_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg',
911 'search_icon_height' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit .search-icon, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit svg',
912 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
913 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
914 'button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
915 'button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
916 'placeholder_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::-webkit-input-placeholder, {{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search ::placeholder',
917 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
918 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
919 'hover_button_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
920 'hover_button_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
921 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
922 'button_border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
923 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field:hover',
924 'button_border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit:hover',
925 'input_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
926 'button_border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
927 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
928 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-default-search-field',
929 'button_padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
930 'button_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search .rtsb-search-submit',
931 'wrapper_margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-default-product-search',
932 ],
933 'rating' => [
934 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star',
935 'rating_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.inactive',
936 'count_position' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count',
937 'rating_active_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper .rtsb-default-rating-star.active',
938 'rating_selected_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-filter-trigger.checked + .rtsb-checkbox-filter-label .rtsb-default-rating-star.active',
939 'rating_padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group',
940 'rating_margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .product-default-filters .rtsb-default-filter-group',
941 ],
942 'apply_btn' => [
943 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
944 'apply_btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
945 'icon_display' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
946 'apply_icon_size' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
947 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
948 'icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters .icon',
949 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
950 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
951 'hover_icon_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover .icon',
952 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
953 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
954 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters:hover',
955 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
956 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
957 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .rtsb-apply-filters-btn .rtsb-apply-filters',
958 ],
959 'reset_btn' => [
960 'typography' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
961 'btn_width' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
962 'color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
963 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
964 'hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
965 'hover_bg_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
966 'border' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
967 'border_hover_color' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset:hover',
968 'border_radius' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
969 'padding' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
970 'margin' => '{{WRAPPER}} .rtsb-product-default-filters.rtsb-reset .product-default-filter-reset',
971 ],
972 'mobile_toggle_btn' => [
973 'typography' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
974 'btn_width' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
975 'color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
976 'bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
977 'hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover',
978 'hover_bg_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover',
979 'border' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
980 'border_hover_color' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle:hover',
981 'border_radius' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
982 'padding' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
983 'margin' => '{{WRAPPER}} .rtsb-default-archive-filters .product-filter-toggle',
984 ],
985 'filter_items' => [
986 'typography' => '{{WRAPPER}} .rtsb-product-default-filters input.rtsb-checkbox-filter + label, {{WRAPPER}} .rtsb-product-default-filters input.rtsb-radio-filter + label, {{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter .default-filter-attr-name, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs label',
987 'count_display' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-default-filter-group .rtsb-product-count',
988 'color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-color-filter label, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-button-filter label',
989 'bg_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
990 'count_color' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-count, {{WRAPPER}} .rtsb-product-default-filters.rtsb-ratings .rtsb-default-rating-star-wrapper + .rtsb-count,{{WRAPPER}} .rtsb-product-default-filters .rtsb-product-count',
991 'border' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
992 'padding' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
993 'margin' => '{{WRAPPER}} .rtsb-product-default-filters .input-type-checkbox .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters .input-type-radio .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-color .rtsb-default-filter-group, {{WRAPPER}} .rtsb-product-default-filters.rtsb-button .rtsb-default-filter-group .rtsb-button-filter',
994 'wrapper_padding' => '{{WRAPPER}} .rtsb-product-default-filters .default-filter-content > ul',
995 'wrapper_margin' => '{{WRAPPER}} .rtsb-product-default-filters > .default-filter-content > ul',
996 'subcat_margin' => '{{WRAPPER}} .rtsb-categories .default-filter-content ul ul',
997 'input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper input.rtsb-radio-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter + label:before,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .price-inputs .filter-price-field',
998 'active_input_fields_color' => '{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-radio input.rtsb-checkbox-filter:checked + label:after,{{WRAPPER}} .rtsb-archive-default-filters-wrapper .input-type-checkbox input.rtsb-checkbox-filter:checked + label:after',
999 ],
1000 ],
1001 ];
1002
1003 return apply_filters( 'rtsb/elements/elementor/widget/archive/selectors', $selectors );
1004 }
1005
1006 /**
1007 * Cart Selectors.
1008 *
1009 * @return array
1010 */
1011 private static function cart_widget_selectors(): array {
1012 $selectors = [
1013 'rtsb-cross-sells' => array_merge(
1014 self::products_loop_default_selector(),
1015 self::carousel_selector(),
1016 [
1017 'section_heading_typography' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1018 'section_heading_color' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1019 'section_title_margin' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1020 'section_title_align' => '{{WRAPPER}} .rtsb-cross-sell .cross-sells > h2',
1021 ],
1022 ),
1023
1024 'rtsb-cross-sell-product-custom' => array_merge(
1025 self::general_common_selectors(),
1026 self::general_product_selectors()
1027 ),
1028
1029 'rtsb-crosssell-product-slider' => array_merge(
1030 self::general_common_selectors(),
1031 self::general_product_selectors(),
1032 self::general_slider_selectors(),
1033 ),
1034
1035 'rtsb-product-cart-totals' => [
1036 'show_title' => '{{WRAPPER}} .rtsb-cart-totals h2',
1037 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1038 // Title Style.
1039 'title_align' => '{{WRAPPER}}',
1040 'title_typo' => '{{WRAPPER}} .rtsb-cart-totals h2',
1041 'title_color' => '{{WRAPPER}} .rtsb-cart-totals h2',
1042 'title_text_stroke' => '{{WRAPPER}} .rtsb-cart-totals h2',
1043 'title_text_shadow' => '{{WRAPPER}} .rtsb-cart-totals h2',
1044 'title_margin' => '{{WRAPPER}} .rtsb-cart-totals h2',
1045 'title_padding' => '{{WRAPPER}} .rtsb-cart-totals h2',
1046 'title_border' => '{{WRAPPER}} .rtsb-cart-totals h2',
1047 // Table.
1048 'table_heading_cell_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-cart-totals th,#rtsb-builder-content {{WRAPPER}} .rtsb-cart-totals td',
1049 'table_heading_cell_padding' => '{{WRAPPER}} .rtsb-cart-totals th,{{WRAPPER}} .rtsb-cart-totals td',
1050 'table_heading_typography' => '{{WRAPPER}} .rtsb-cart-totals th',
1051 'table_heading_color' => '{{WRAPPER}} .rtsb-cart-totals th',
1052 'table_heading_background_color' => '{{WRAPPER}} .rtsb-cart-totals th',
1053 'table_heading_align' => '{{WRAPPER}} .rtsb-cart-totals th',
1054 'total_heading_width' => '{{WRAPPER}} .rtsb-cart-totals th',
1055 'table_cell_typography' => '{{WRAPPER}} .rtsb-cart-totals td *',
1056 'table_cell_color' => '{{WRAPPER}} .rtsb-cart-totals td',
1057 'table_cell_background_color' => '{{WRAPPER}} .rtsb-cart-totals td',
1058 'table_cell_align' => '{{WRAPPER}} .rtsb-cart-totals td, .woocommerce .rtsb-builder-content {{WRAPPER}} ul#shipping_method li',
1059 'total_cell_heading_width' => '{{WRAPPER}} .rtsb-cart-totals td',
1060 'table_wrapper_border' => '{{WRAPPER}} .rtsb-cart-totals .shop_table',
1061 'table_wrapper_padding' => '{{WRAPPER}} .rtsb-cart-totals .shop_table',
1062 'button_typography' => '{{WRAPPER}} .rtsb-cart-totals .button',
1063 'button_height' => '{{WRAPPER}} .rtsb-cart-totals .button',
1064 'button_width' => '{{WRAPPER}} .rtsb-cart-totals .button',
1065 'button_text_color_normal' => '{{WRAPPER}} .rtsb-cart-totals .button',
1066 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-cart-totals .button',
1067 'button_border' => '{{WRAPPER}} .rtsb-cart-totals .button',
1068 'button_text_color_hover' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
1069 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
1070 'button_border_hover_color' => '{{WRAPPER}} .rtsb-cart-totals .button:hover',
1071 'button_border_radius' => '{{WRAPPER}} .rtsb-cart-totals .button',
1072 'button_padding' => '{{WRAPPER}} .rtsb-cart-totals .button',
1073 'button_margin' => '{{WRAPPER}} .rtsb-cart-totals .button',
1074
1075 ],
1076 'rtsb-product-carttable' => [
1077 'button_typography' => '{{WRAPPER}} .woocommerce-cart-form .button',
1078 'button_height' => '{{WRAPPER}} .woocommerce-cart-form .button',
1079 'button_width' => '{{WRAPPER}} .woocommerce-cart-form .button',
1080 'button_text_color_normal' => '{{WRAPPER}} .woocommerce-cart-form .button',
1081 'button_bg_color_normal' => '{{WRAPPER}} .woocommerce-cart-form .button',
1082 'button_border' => '{{WRAPPER}} .woocommerce-cart-form .button',
1083 'button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
1084 'button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
1085 'button_border_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .button:hover',
1086 'button_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .button',
1087 'button_padding' => '{{WRAPPER}} .woocommerce-cart-form .button',
1088 'button_margin' => '{{WRAPPER}} .woocommerce-cart-form .button',
1089 'coupon_typography' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1090 'coupon_input_height' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1091 'coupon_input_width' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1092 'coupon_padding' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1093 'coupon_border_radius' => '{{WRAPPER}} .woocommerce-cart-form .coupon input',
1094 'coupon_input_border' => '{{WRAPPER}} .woocommerce-cart-form .coupon .input-text',
1095 'input_text_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1096 'input_bg_color' => '{{WRAPPER}} .woocommerce-cart-form input',
1097
1098 'return_shop_button_typography' => '{{WRAPPER}} .return-to-shop .button',
1099 'return_shop_button_height' => '{{WRAPPER}} .return-to-shop .button',
1100 'return_shop_button_text_color_normal' => '{{WRAPPER}} .return-to-shop .button',
1101 'return_shop_button_bg_color_normal' => '{{WRAPPER}} .return-to-shop .button',
1102 'return_shop_button_border' => '{{WRAPPER}} .return-to-shop .button',
1103 'return_shop_button_text_color_hover' => '{{WRAPPER}} .return-to-shop .button:hover',
1104 'return_shop_button_bg_color_hover' => '{{WRAPPER}} .return-to-shop .button:hover',
1105 'return_shop_button_border_hover_color' => '{{WRAPPER}} .return-to-shop .button:hover',
1106 'return_shop_button_border_radius' => '{{WRAPPER}} .return-to-shop .button',
1107 'return_shop_button_padding' => '{{WRAPPER}} .return-to-shop .button',
1108 'return_shop_button_margin' => '{{WRAPPER}} .return-to-shop .button',
1109
1110 'notice_typography' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1111 'notice_padding' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1112 'notice_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1113 'notice_text_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1114 'notice_border_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner',
1115 'icon_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1116 'notice_icon_size' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1117 'icon_bg_color' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1118 'icon_margin' => '{{WRAPPER}} .rtsb-cart-table .wc-block-components-notice-banner svg',
1119
1120 'table_thumbnail_width' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
1121 'table_thumbnail_border_radius' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data ) img',
1122 'table_thumbnail_padding' => '{{WRAPPER}} .shop_table :is( .product-thumbnail, .product-data )',
1123 'cart_remove_icon_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1124 'cart_remove_button_size' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1125 'cart_icon_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1126 'cart_icon_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a',
1127 'cart_icon_hover_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
1128 'cart_icon_hover_bg_color' => '{{WRAPPER}} .woocommerce table.shop_table tbody tr td.product-remove a:hover',
1129 // 'table_content_column_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td',
1130 'table_column_header_padding' => '{{WRAPPER}} .woocommerce table.shop_table thead tr th',
1131 'cart_element_alignment' => '#rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table th, #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table td, #rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table .table-column-wrapper .product-attributes-wrapper .product-attributes li',
1132 'cart_table_border' => '{{WRAPPER}} .woocommerce table.shop_table',
1133
1134 'table_wrapper_margin' => '{{WRAPPER}} .woocommerce :is(table.shop_table, form )',
1135 'element_alignment' => '#rtsb-builder-content {{WRAPPER}} th.product-subtotal, #rtsb-builder-content {{WRAPPER}} td.product-subtotal',
1136 'action_button_padding' => '{{WRAPPER}} .woocommerce :is(table.shop_table, from ) .actions-button-wrapper',
1137
1138 'cart_subtotal_price_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td .amount',
1139 'cart_price_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td .amount',
1140
1141 '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',
1142 'cart_product_title_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) a',
1143 'cart_product_title_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) a',
1144 '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',
1145
1146 'cart_product_title_meta_typo' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .product-attributes li',
1147 'cart_product_title_meta_color' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tr td:is(.product-name, .product-data) .product-attributes li',
1148
1149 'cart_subtotal_button_typo' => '{{WRAPPER}} td.product-subtotal .subtotal-action-button-wrapper a',
1150 'cart_subtotal_price_padding' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .amount',
1151 'cart_subtotal_price_margin' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .amount',
1152 'cart_subtotal_button_gap' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .subtotal-action-button-wrapper',
1153 'cart_subtotal_button_wrapper_padding' => '{{WRAPPER}} td.product-subtotal .table-column-wrapper .subtotal-action-button-wrapper',
1154 'cart_subtotal_col_wrapper_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td.product-subtotal',
1155
1156 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1157 'cart_table_cell_width' => [
1158 'th' => '{{WRAPPER}} .shop_table.cart tr th',
1159 'td' => '{{WRAPPER}} .shop_table.cart tr td',
1160 ],
1161
1162 'clear_cart_button_bg_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1163 'clear_cart_button_text_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1164 'clear_cart_button_border_color' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items',
1165 'clear_cart_button_bg_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1166 'clear_cart_button_text_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1167 'clear_cart_button_border_color_hover' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-clear-cart-items:hover',
1168
1169 // Table.
1170 'table_row_border' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table :is( thead, tbody ) tr',
1171
1172 'cart_table_header_typography' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr th',
1173 'cart_heading_element_alignment' => '#rtsb-builder-content {{WRAPPER}} .woocommerce table.shop_table th',
1174 'cart_table_header_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table thead',
1175 'cart_table_header_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr th',
1176
1177 'cart_table_odd_row_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr:nth-child(odd)',
1178 'cart_table_odd_row_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr:nth-child(odd) td',
1179
1180 'cart_table_even_row_bg_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr:nth-child(even)',
1181 'cart_table_even_row_text_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr:nth-child(even) td',
1182
1183 'cart_table_col_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td:not(.product-remove)',
1184 'cart_table_col_attributes_padding' => '{{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr td .product-attributes-wrapper',
1185 'cart_table_row_padding' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tbody tr',
1186
1187 'cart_link_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr td a',
1188 'cart_link_hover_color' => '.rtsb-builder-content {{WRAPPER}} .rtsb-cart-table table.shop_table tr td a:hover',
1189
1190 // Cart Quantity.
1191 'quantity_input_width' => '{{WRAPPER}} .woocommerce-cart-form input.qty',
1192 'quantity_height' => [
1193 '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',
1194 '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',
1195 ],
1196 'quantity_increment_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-plus',
1197 'quantity_decrement_button_padding' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn.rtsb-quantity-minus',
1198
1199 'quantity_button_width' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1200 'icon_size' => [
1201 'icon' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn',
1202 'svg' => '{{WRAPPER}} .woocommerce-cart-form .rtsb-quantity-box-group .rtsb-quantity-btn svg',
1203 ],
1204 'quantity_icon_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity :is(i, svg)',
1205 'quantity_icon_hover_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-btn:hover :is(i, svg)',
1206 'text_typography' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1207 'quantity_number_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1208 'quantity_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1209 'quantity_border' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1210 'quantity_radius' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1211 'qunatity_padding' => '{{WRAPPER}} .woocommerce-cart-form .quantity input',
1212 'quantity_wrapper_background_color' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1213 'qunatity_wrapper_padding' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1214 'quantity_wrapper_radius' => '{{WRAPPER}} .woocommerce-cart-form .quantity .rtsb-quantity-box-group',
1215 ],
1216 ];
1217
1218 return apply_filters( 'rtsb/elements/elementor/widget/cart/selectors', $selectors );
1219 }
1220
1221 /**
1222 * Checkout Selectors.
1223 *
1224 * @return array
1225 */
1226 private static function checkout_widget_selectors(): array {
1227 $selectors = [
1228 'rtsb-billing-form' => [
1229 // Title.
1230 'show_title' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1231 'title_typo' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1232 'title_align' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1233 'title_color' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1234 'title_text_stroke' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1235 'title_text_shadow' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1236 'title_margin' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1237 'title_padding' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1238 'title_border' => '{{WRAPPER}} .woocommerce-billing-fields h3',
1239 // Label.
1240 'fields_label_typo' => '{{WRAPPER}} .woocommerce-billing-fields label',
1241 'fields_label_color' => '{{WRAPPER}} .woocommerce-billing-fields label',
1242 'fields_label_reguired_color' => '{{WRAPPER}} .woocommerce-billing-fields label .required',
1243 'fields_label_margin' => '{{WRAPPER}} .woocommerce-billing-fields label:not(.radio)',
1244
1245 // Input Fields.
1246 'textarea_fields_height' => '{{WRAPPER}} .woocommerce-billing-fields textarea',
1247 'fields_height' => '{{WRAPPER}} .woocommerce-billing-fields input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-billing .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1248 'fields_border' => '{{WRAPPER}} .woocommerce-billing-fields :is(input, textarea), {{WRAPPER}} .woocommerce-billing-fields .select2-selection--single, {{WRAPPER}} .woocommerce-billing-fields select',
1249
1250 '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',
1251
1252 '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',
1253 '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',
1254
1255 // Hover.
1256 '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)',
1257
1258 '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)',
1259
1260 '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',
1261 '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',
1262 '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 )',
1263
1264 'form_row_margin' => '{{WRAPPER}} .woocommerce-billing-fields p.form-row',
1265 'form_wrapper_margin' => '{{WRAPPER}} .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper',
1266
1267 ],
1268 'rtsb-shipping-form' => [
1269 // Label.
1270 'form_heading_gap' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1271 'form_heading_color' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1272 'form_heading_typo' => '{{WRAPPER}} .rtsb-form-shipping #ship-to-different-address',
1273
1274 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1275 'fields_label_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label',
1276 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label .required',
1277 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address label:not(.radio)',
1278
1279 // Input Fields.
1280 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-shipping textarea',
1281 'fields_height' => '{{WRAPPER}} .rtsb-form-shipping input:not([type=checkbox],[type=radio]), {{WRAPPER}} .rtsb-form-shipping .select2-selection--single, {{WRAPPER}} .rtsb-form-shipping select',
1282 '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',
1283
1284 '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',
1285
1286 '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',
1287 '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',
1288
1289 // Hover.
1290 '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)',
1291
1292 '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)',
1293
1294 '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',
1295 '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',
1296 '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 )',
1297 'form_row_margin' => '{{WRAPPER}} .rtsb-form-shipping p.form-row',
1298 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-shipping .shipping_address',
1299
1300 ],
1301 'rtsb-order-notes' => [
1302 'show_title' => '{{WRAPPER}} .rtsb-form-order-note h3',
1303 'title_typo' => '{{WRAPPER}} .rtsb-form-order-note h3',
1304 'title_align' => '{{WRAPPER}} .rtsb-form-order-note h3',
1305 'title_color' => '{{WRAPPER}} .rtsb-form-order-note h3',
1306 'title_text_stroke' => '{{WRAPPER}} .rtsb-form-order-note h3',
1307 'title_text_shadow' => '{{WRAPPER}} .rtsb-form-order-note h3',
1308 'title_margin' => '{{WRAPPER}} .rtsb-form-order-note h3',
1309 'title_padding' => '{{WRAPPER}} .rtsb-form-order-note h3',
1310 'title_border' => '{{WRAPPER}} .rtsb-form-order-note h3',
1311
1312 'fields_label_typo' => '{{WRAPPER}} .rtsb-form-order-note label',
1313 'fields_label_color' => '{{WRAPPER}} .rtsb-form-order-note label',
1314 'fields_label_reguired_color' => '{{WRAPPER}} .rtsb-form-order-note label .required',
1315 'fields_label_margin' => '{{WRAPPER}} .rtsb-form-order-note label:not(.radio)',
1316
1317 // Input Fields.
1318 'textarea_fields_height' => '{{WRAPPER}} .rtsb-form-order-note textarea',
1319 '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',
1320 'fields_border' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1321 'fields_border_radius' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1322 'fields_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1323 'fields_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( textarea, input, select, .select2-selection--multiple )',
1324
1325 // Hover.
1326 'fields_hover_border' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1327
1328 'fields_border_radius_hover' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1329 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1330 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea ):is(:hover, :focus, :active)',
1331
1332 'fields_padding' => '{{WRAPPER}} .rtsb-form-order-note :is( input:not([type=checkbox],[type=radio]), textarea )',
1333 'form_row_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1334 'form_wrapper_margin' => '{{WRAPPER}} .rtsb-form-order-note .woocommerce-input-wrapper',
1335
1336 ],
1337
1338 'rtsb-order-review' => [
1339 // Title.
1340 'show_title' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1341 'table_min_width' => '.rtsb-builder-content {{WRAPPER}} .rtsb-table-horizontal-scroll-on-mobile table.shop_table',
1342 'title_typo' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1343 'title_align' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1344 'title_color' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1345 'title_text_stroke' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1346 'title_text_shadow' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1347 'title_margin' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1348 'title_padding' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1349 'title_border' => '#rtsb-builder-content {{WRAPPER}} .rtsb-checkout-order-review #order_review_heading',
1350 // Table Settings.
1351 'table_wrapper_border' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1352 'table_wrapper_padding' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1353 'table_wrapper_margin' => '#rtsb-builder-content {{WRAPPER}} #order_review',
1354 'table_border' => '{{WRAPPER}} #order_review table :is( td, th )',
1355 'label_typo' => '{{WRAPPER}} #order_review thead th',
1356 'label_color' => '{{WRAPPER}} #order_review thead th',
1357 'label_bg_color' => '{{WRAPPER}} #order_review thead th',
1358 'label_item_padding' => '{{WRAPPER}} #order_review thead th',
1359 // Table Body
1360 'body_text_typo' => '{{WRAPPER}} #order_review tbody td',
1361 'body_text_color' => '{{WRAPPER}} #order_review tbody td',
1362 'body_item_padding' => '{{WRAPPER}} #order_review tbody td',
1363 'table_body_bg_color' => '{{WRAPPER}} #order_review tbody td',
1364 // Counter
1365 'counter_text_color' => '{{WRAPPER}} .product-quantity',
1366 'counter_style' => '{{WRAPPER}} .product-quantity',
1367 // Table Footer
1368 'table_footer_label_typo' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1369 'table_footer_label_color' => '{{WRAPPER}} #order_review tfoot th',
1370 'table_footer_text_color' => '{{WRAPPER}} #order_review tfoot td',
1371 'table_footer_label_bg_color' => '{{WRAPPER}} #order_review tfoot :is( th, td )',
1372 'table_footer_item_padding' => '{{WRAPPER}} #order_review tfoot td, {{WRAPPER}} #order_review tfoot th',
1373
1374 ],
1375 'rtsb-checkout-payment' => [
1376 'payment_method_wrapper_bg_color' => '{{WRAPPER}} #payment ul.payment_methods',
1377 'payment_link_color' => '{{WRAPPER}} .rtsb-checkout-payment a',
1378 'payment_link_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment a:hover',
1379
1380 'payment_label_typography' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label',
1381 'payment_label_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label, {{WRAPPER}} #payment .payment_methods li input[type=radio]:first-child+label:before',
1382 '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',
1383 'payment_label_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment .wc_payment_method label',
1384 'payment_method_space_between' => '{{WRAPPER}} #payment ul.payment_methods li input',
1385 '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',
1386 'payment_method_wrap_padding' => '{{WRAPPER}} #payment ul.payment_methods',
1387 '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',
1388
1389 'payment_description_typography' => '{{WRAPPER}} .rtsb-checkout-payment p',
1390 'payment_description_text_color' => '{{WRAPPER}} .rtsb-checkout-payment p',
1391 'payment_description_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods > li .payment_box',
1392 'payment_description_border' => '{{WRAPPER}} .rtsb-checkout-payment #payment ul.payment_methods',
1393 'payment_method_desc_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods li .payment_box',
1394 'payment_method_desc_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .payment_methods li .payment_box',
1395
1396 'payment_button_description_typography' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order p',
1397 'payment_button_description_text_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order p',
1398 'payment_button_description_bg_color' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1399 'payment_button_wrapper_padding' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1400 'payment_button_wrapper_margin' => '{{WRAPPER}} .rtsb-checkout-payment #payment .place-order',
1401
1402 // Button section.
1403 'button_height' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1404 'button_width' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1405 'button_typography' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1406 'submit_button_alignment' => [
1407 'text-align' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1408 'float' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1409 ],
1410 'button_text_color_normal' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1411 'button_bg_color_normal' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1412 'button_border' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1413 'button_text_color_hover' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1414 'button_bg_color_hover' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1415 'button_border_hover_color' => '{{WRAPPER}} .rtsb-checkout-payment #place_order:hover',
1416 'button_border_radius' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1417 'button_padding' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1418 'button_margin' => '{{WRAPPER}} .rtsb-checkout-payment #place_order',
1419 ],
1420 'rtsb-coupon-form' => array_merge(
1421 self::button_settings_selector(),
1422 [
1423 'typo' => '{{WRAPPER}} p',
1424 'align' => '{{WRAPPER}} p',
1425 'text_color' => '{{WRAPPER}} p',
1426 'text_shadow' => '{{WRAPPER}} p',
1427 'text_margin' => '{{WRAPPER}} p',
1428
1429 // Input Fields.
1430 'fields_height' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1431 'fields_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1432 'fields_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1433 'fields_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1434 'form_fields_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1435
1436 // Hover.
1437 'fields_hover_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1438 'fields_hover_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1439 'fields_hover_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1440 'form_fields_border_radius_hover' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text:is(:hover, :focus, :active)',
1441
1442 'fields_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form input.input-text',
1443 'fields_gap' => '{{WRAPPER}} .rtsb-checkout-coupon-form .coupon-form-fields',
1444
1445 'infobox_typography' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1446 'infobox_bg_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner )',
1447 'infobox_text_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1448
1449 'infobox_text_link_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form a',
1450 'infobox_border_color' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is(.woocommerce-info, .wc-block-components-notice-banner ) ',
1451 'infobox_icon_size' => [
1452 'icon' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i), {{WRAPPER}} .wc-block-components-notice-banner__content i',
1453 'svg' => '{{WRAPPER}} :is( .woocommerce-info svg, .wc-block-components-notice-banner__content svg )',
1454 ],
1455
1456 'infobox_icon_margin' => '{{WRAPPER}} .woocommerce-info::before, {{WRAPPER}} .woocommerce-info :is( i, svg ), {{WRAPPER}} .wc-block-components-notice-banner__content :is( i, svg ) ',
1457
1458 '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 )',
1459
1460 'infobox_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form ',
1461 'infobox_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form .wc-block-components-notice-banner',
1462 'infobox_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form :is( .woocommerce-info, .wc-block-components-notice-banner__content )',
1463 'form_margin' => '{{WRAPPER}} .rtsb-checkout-coupon-form .coupon-form-fields',
1464 'form_area_padding' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1465 'form_area_margin' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1466
1467 'form_area_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1468 'form_area_border_radius' => '{{WRAPPER}} .rtsb-checkout-coupon-form .woocommerce-form-coupon',
1469
1470 ]
1471 ),
1472 'rtsb-checkout-login-form' => array_merge(
1473 self::button_settings_selector(),
1474 [
1475 'typo' => '{{WRAPPER}} p',
1476 'align' => '{{WRAPPER}} p',
1477 'text_color' => '{{WRAPPER}} p',
1478 'text_shadow' => '{{WRAPPER}} p',
1479 'text_margin' => '{{WRAPPER}} p',
1480
1481 // Input Fields.
1482 'fields_height' => '{{WRAPPER}} input.input-text',
1483 'fields_border' => '{{WRAPPER}} input.input-text',
1484 'form_fields_border_radius' => '{{WRAPPER}} input.input-text',
1485 'fields_text_color' => '{{WRAPPER}} input.input-text',
1486 'fields_bg_color' => '{{WRAPPER}} input.input-text',
1487
1488 // Hover.
1489 'fields_hover_border' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1490 'form_fields_border_radius_hover' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1491 'fields_hover_text_color' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1492 'fields_hover_bg_color' => '{{WRAPPER}} input.input-text:is(:hover, :focus, :active)',
1493
1494 'fields_padding' => '{{WRAPPER}} .rtsb-checkout-login-form input.input-text',
1495 'fields_gap' => '{{WRAPPER}} .rtsb-checkout-login-form .login-form-fields',
1496 'label_gap' => '{{WRAPPER}} .rtsb-checkout-login-form .field-wrapper label',
1497 // Info Box.
1498 'infobox_typography' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1499 'infobox_bg_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner.is-info )',
1500 'infobox_text_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner__content )',
1501
1502 'infobox_text_link_color' => '{{WRAPPER}} .rtsb-checkout-login-form a',
1503
1504 'infobox_border_color' => '{{WRAPPER}} .rtsb-checkout-login-form :is(.woocommerce-info, .wc-block-components-notice-banner.is-info )',
1505 'infobox_icon_size' => [
1506 'icon' => '{{WRAPPER}} :is( .woocommerce-info::before, .woocommerce-info i), {{WRAPPER}} .wc-block-components-notice-banner__content i',
1507 'svg' => '{{WRAPPER}} :is( .woocommerce-info svg, .wc-block-components-notice-banner__content svg )',
1508 ],
1509
1510 'infobox_icon_margin' => '{{WRAPPER}} .woocommerce-info::before, {{WRAPPER}} .woocommerce-info :is( i, svg ), {{WRAPPER}} .wc-block-components-notice-banner :is( i, svg ) ',
1511
1512 '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 )',
1513
1514 'infobox_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-login-form',
1515 'infobox_border_radius' => '{{WRAPPER}} .rtsb-checkout-login-form .wc-block-components-notice-banner',
1516 'infobox_padding' => '{{WRAPPER}} .rtsb-checkout-login-form :is( .woocommerce-info, .wc-block-components-notice-banner__content ) ',
1517 'form_margin' => '{{WRAPPER}} .rtsb-checkout-login-form .login-form-fields',
1518 'form_area_padding' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1519 'form_area_margin' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1520 'form_area_wrapper_border' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1521 'form_area_border_radius' => '{{WRAPPER}} .rtsb-checkout-login-form .woocommerce-form-login',
1522
1523 ]
1524 ),
1525 'rtsb-shipping-method' => [
1526
1527 // General.
1528 'general_cart_table_border' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1529 'general_cart_table_bg' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1530 'general_table_padding' => '{{WRAPPER}} .rtsb_woocommerce_shipping_methods :is( td )',
1531
1532 // Title.
1533 'show_title' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1534 'title_typo' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1535 'title_align' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1536 'title_color' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1537 'title_text_stroke' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1538 'title_text_shadow' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1539 'title_margin' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1540 'title_padding' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1541 'title_border' => '{{WRAPPER}} .rtsb-shipping-method .shipping-method-title',
1542 // Label.
1543 'label_title_typo' => '{{WRAPPER}} .rtsb-shipping-method .woocommerce-shipping-methods label',
1544 'label_title_color' => '{{WRAPPER}} .rtsb-shipping-method .woocommerce-shipping-methods label',
1545 'label_space_between' => '{{WRAPPER}} .woocommerce .rtsb-builder-content ul#shipping_method li',
1546 'label_item_space' => '{{WRAPPER}} .woocommerce .rtsb-builder-content ul#shipping_method',
1547 ],
1548 ];
1549
1550 return apply_filters( 'rtsb/elements/elementor/widget/checkout/selectors', $selectors );
1551 }
1552
1553 /**
1554 * Common CSS Selectors.
1555 *
1556 * @return array
1557 */
1558 private static function general_common_selectors(): array {
1559 return apply_filters(
1560 'rtsb/elementor/common_selectors',
1561 [
1562 'columns' => [
1563 'cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1564 'masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row.rtsb-masonry',
1565 'list_cols' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"]',
1566 'list_masonry' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row[class*="list-layout"].rtsb-masonry',
1567 'grid_gap' => [
1568 'padding' => '{{WRAPPER}} .rtsb-elementor-container [class*=rtsb-col-]',
1569 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-row',
1570 'slider_layout3' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout3',
1571 'slider_layout9' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-slider-layout9',
1572 ],
1573 'image_width' => [
1574 'image' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-img, {{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-content-left',
1575 // 'content' => '{{WRAPPER}} .rtsb-product .rtsb-list-item .rtsb-product-content',
1576 ],
1577 'v_action_btn_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout3 .rtsb-product .rtsb-action-buttons.after-content',
1578 'image_gap' => '{{WRAPPER}} .rtsb-product .rtsb-list-item,{{WRAPPER}} .rtsb-elementor-container .rtsb-list-layout6 .rtsb-product .rtsb-list-item .rtsb-product-content',
1579 'grid_alignment' => [
1580 'text_align' => '{{WRAPPER}} .rtsb-elementor-container, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content',
1581 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-list, {{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtwpvs-archive-variation-wrapper, {{WRAPPER}} .rtsb-elementor-container .product-rating, {{WRAPPER}} .rtsb-elementor-container .category-title-with-count, {{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout3 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-elementor-container .rtsb-grid-layout4 .rtsb-product-content .rtsb-product-category,{{WRAPPER}} .rtsb-grid-layout4 .rtsb-content-footer.has-cart-text .rtsb-action-button-list',
1582 ],
1583 ],
1584 'color_scheme' => [
1585 'primary_color' => '{{WRAPPER}}',
1586 'secondary_color' => '{{WRAPPER}}',
1587 ],
1588 'count' => [
1589 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1590 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1591 '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',
1592 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid .category-wrapper .product-count',
1593 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid:hover .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid:hover .category-wrapper .product-count',
1594 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container [class*=category-single-layout] .rtsb-category-grid:hover .single-category-area .product-count, {{WRAPPER}} .rtsb-elementor-container [class*=rtsb-category-layout] .rtsb-category-grid:hover .category-wrapper .product-count',
1595 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1596 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid:hover .product-count',
1597 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1598 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1599 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .product-count',
1600 ],
1601 'product_badges' => [
1602 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1603 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1604 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1605 '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',
1606 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline',
1607 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-badge.type-image',
1608 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-tag-fill, {{WRAPPER}} .rtsb-elementor-container .rtsb-tag-outline, {{WRAPPER}} .rtsb-elementor-container .rtsb-badge.type-image',
1609 'position_x' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img > .rtsb-promotion',
1610 'position_y' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img > .rtsb-promotion',
1611 ],
1612 'image' => [
1613 'overlay' => '{{WRAPPER}} .rtsb-elementor-container.has-overlay [class*=category-single-layout] .single-category-area .rtsb-img-link::before',
1614 'hover_overlay' => '{{WRAPPER}} .rtsb-elementor-container.has-overlay .single-category-area .rtsb-img-link::after',
1615 'img_bg_color' => '{{WRAPPER}} .rtsb-product-img .rtsb-product-image, {{WRAPPER}} .rtsb-product-img .default-img',
1616 'img_wrapper_bg_color' => '{{WRAPPER}} .rtsb-product-img figure',
1617 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img figure',
1618 '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',
1619 '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',
1620 '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',
1621 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-img',
1622
1623 ],
1624 'advanced' => [
1625 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1626 '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',
1627 'element_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid',
1628 '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',
1629 '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',
1630 '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',
1631 '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',
1632 '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',
1633 '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 )',
1634 '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',
1635 'rtsb_el_wrapper_border' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1636 'wrapper_border_radius' => '{{WRAPPER}} .rtsb-elementor-container > .rtsb-row',
1637 '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',
1638 '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',
1639 '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',
1640 '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',
1641 'content_border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image:hover',
1642 'content_border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-row:not(.rtsb-category-layout2) .rtsb-category-content, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-layout2 .category-title-with-image',
1643 ],
1644 'badges_module' => [
1645 'direction' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1646 'alignment' => '{{WRAPPER}} .rtsb-promotion .rtsb-badge-group-style',
1647 ],
1648 ]
1649 );
1650 }
1651
1652 /**
1653 * Common CSS Selectors.
1654 *
1655 * @return array
1656 */
1657 public static function general_slider_selectors(): array {
1658 return [
1659 'slider_buttons' => [
1660 'arrow_size' => [
1661 'icon' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1662 'svg' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow svg',
1663 ],
1664 'arrow_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1665 'arrow_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1666 'arrow_line_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow i',
1667 'dot_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1668 'dot_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1669 'dot_spacing' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1670 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1671 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow',
1672 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover',
1673 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover',
1674 'dot_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1675 'dot_active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet-active',
1676 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1677 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow:hover, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet:hover',
1678 'active_border_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet-active',
1679 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-arrow, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination-bullet',
1680 'wrapper_padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-nav, {{WRAPPER}} .rtsb-elementor-container .rtsb-carousel-slider .swiper-pagination',
1681 ],
1682 ];
1683 }
1684
1685 /**
1686 * Category CSS Selectors.
1687 *
1688 * @return array
1689 */
1690 private static function general_product_selectors(): array {
1691 return apply_filters(
1692 'rtsb/elementor/general_product_selectors',
1693 [
1694 'section_title' => [
1695 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1696 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1697 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1698 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1699 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1700 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1701 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1702 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title:hover',
1703 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1704 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-section-title',
1705 ],
1706 'product_title' => [
1707 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1708 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1709 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title',
1710 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1711 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover .product-title',
1712 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover,{{WRAPPER}} .rtsb-elementor-container .product-title:hover',
1713 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper',
1714 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper:hover',
1715 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1716 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-title-wrapper,{{WRAPPER}} .rtsb-elementor-container .product-title',
1717 ],
1718 'short_description' => array_fill_keys(
1719 [
1720 'typography',
1721 'alignment',
1722 'color',
1723 'bg_color',
1724 'border',
1725 'padding',
1726 'margin',
1727 ],
1728 '{{WRAPPER}} .rtsb-elementor-container .product-short-description'
1729 ),
1730 'action_buttons' => [
1731 'action_btn_alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product .rtsb-action-buttons.horizontal-floating-btn .rtsb-action-button-list',
1732 'action_btn_gap' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list',
1733 ],
1734 'product_price' => [
1735 'typography' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper, {{WRAPPER}} .rtsb-elementor-container .price-wrapper ins .woocommerce-Price-amount, {{WRAPPER}}.elementor-element .rtsb-elementor-container.products .price-wrapper > p',
1736 'sale_typography' => '{{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1737 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1738 'color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( ins, ins span bdi)',
1739 'regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is( bdi, del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1740 'crossed_regular_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper :is(del bdi), {{WRAPPER}} .rtsb-elementor-container.products .price-wrapper del',
1741 'border' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper',
1742 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .price-wrapper:hover',
1743 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1744 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-price',
1745 ],
1746 'product_rating' => [
1747 'typography' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1748 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1749 'color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating span):before',
1750 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container :is(.star-rating):before',
1751 'padding' => '{{WRAPPER}} .rtsb-elementor-container .star-rating',
1752 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-rating',
1753 ],
1754 'product_categories' => [
1755 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1756 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-product-category',
1757 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1758 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1759 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1760 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1761 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1762 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a:hover',
1763 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1764 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1765 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-list li > a',
1766 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-category',
1767 ],
1768 'product_brands' => [
1769 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1770 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-product-content .rtsb-brand-category',
1771 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1772 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1773 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1774 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1775 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1776 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a:hover',
1777 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1778 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1779 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-list li > a',
1780 'wrapper_margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-brand-category',
1781 ],
1782 'pagination' => [
1783 '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',
1784 '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',
1785 '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',
1786 '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',
1787 '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',
1788 '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',
1789 'active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1790 'active_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1791 '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',
1792 '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',
1793 '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',
1794 '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',
1795 'border_active_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination ul.pagination-list li span',
1796 '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',
1797 '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',
1798 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-pagination-wrap .rtsb-load-more button, {{WRAPPER}} .rtsb-elementor-container .rtsb-archive-pagination-wrap .rtsb-load-more button',
1799 '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',
1800 ],
1801 'product_add_to_cart' => [
1802 'typography' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1803 'icon_size' => [
1804 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1805 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon svg',
1806 ],
1807 'cart_icon_spacing' => [
1808 'margin_left' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-left .icon + .text',
1809 'margin_right' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-action-button-list .rtsb-cart .rtsb-action-btn.icon-right .icon + .text',
1810 ],
1811 'cart_width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1812 'cart_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1813 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1814 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1815 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn .icon',
1816 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1817 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1818 'hover_icon_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover .icon',
1819 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1820 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn:hover',
1821 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1822 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1823 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-cart .rtsb-action-btn',
1824 ],
1825 'product_compare' => [
1826 'icon_size' => [
1827 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn .icon',
1828 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn .icon svg',
1829 ],
1830 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1831 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1832 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1833 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1834 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1835 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1836 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1837 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn:hover',
1838 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1839 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1840 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-compare .rtsb-action-btn',
1841 ],
1842 'product_wishlist' => [
1843 'icon_size' => [
1844 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn .icon',
1845 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn .icon svg',
1846 ],
1847 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1848 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1849 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1850 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1851 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1852 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1853 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1854 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn:hover',
1855 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1856 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1857 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-wishlist .rtsb-action-btn',
1858 ],
1859 'product_quick_view' => [
1860 'icon_size' => [
1861 'font_size' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn .icon',
1862 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn .icon svg',
1863 ],
1864 'width' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1865 'height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1866 'color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1867 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1868 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1869 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1870 'border' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1871 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn:hover',
1872 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1873 'padding' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1874 'margin' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-quick-view .rtsb-action-btn',
1875 ],
1876 'hover_icon_button' => [
1877 'typography' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1878 'icon_size' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1879 'hover_icon_spacing' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .text + .icon',
1880 'color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1881 'bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1882 'icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a .icon',
1883 'hover_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1884 'hover_bg_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1885 'hover_icon_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover i',
1886 'border' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1887 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a:hover',
1888 'border_radius' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1889 'padding' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1890 'margin' => '{{WRAPPER}} .rtsb-elementor-container .product-title-with-btn .btn-wrap a',
1891 ],
1892 'not_found_notice' => self::not_found_notice_selectors(),
1893 ]
1894 );
1895 }
1896
1897 /**
1898 * Not Found Notice Selectors.
1899 *
1900 * @return array
1901 */
1902 public static function not_found_notice_selectors() {
1903 return array_fill_keys(
1904 [
1905 'typography',
1906 'alignment',
1907 'color',
1908 'bg_color',
1909 'border',
1910 'padding',
1911 'margin',
1912 ],
1913 '{{WRAPPER}} .rtsb-elementor-container .woocommerce-no-products-found .woocommerce-info, {{WRAPPER}} .rtsb-product-catalog .woocommerce-no-products-found .woocommerce-info'
1914 );
1915 }
1916
1917 /**
1918 * Category CSS Selectors.
1919 *
1920 * @return array
1921 */
1922 private static function general_cat_selectors(): array {
1923 return [
1924 'category_single_layout' => [
1925 'cat_alignment' => [
1926 'text_align' => '{{WRAPPER}} .rtsb-elementor-container',
1927 'justify_content' => '{{WRAPPER}} .rtsb-elementor-container [class*=list-layout] .rtsb-product-category, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .category-title-with-count',
1928 ],
1929 'cat_height' => '{{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .rtsb-product-image, {{WRAPPER}} .rtsb-elementor-container .rtsb-category-grid .default-img',
1930 ],
1931 'category_multi_layout' => [
1932 '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',
1933 ],
1934 'cat_count_settings' => [
1935 'count_display_type' => '{{WRAPPER}} .rtsb-elementor-container .category-title-with-count',
1936 ],
1937 'cat_title' => [
1938 'typography' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1939 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1940 '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',
1941 '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',
1942 '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',
1943 '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',
1944 'border' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1945 'border_hover_color' => '{{WRAPPER}} .rtsb-elementor-container .category-title:hover',
1946 'padding' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1947 'margin' => '{{WRAPPER}} .rtsb-elementor-container .category-title',
1948 ],
1949 'cat_description' => [
1950 'typography' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1951 'alignment' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1952 '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',
1953 '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',
1954 'border' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1955 'padding' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1956 'margin' => '{{WRAPPER}} .rtsb-elementor-container .category-description',
1957 ],
1958 ];
1959 }
1960
1961 /**
1962 * Social Share CSS Selectors.
1963 *
1964 * @return array
1965 */
1966 private static function social_share(): array {
1967 return apply_filters(
1968 'rtsb/elements/elementor/social_share_selectors',
1969 [
1970 'share_items' => [
1971 'share_icons_spacing' => '{{WRAPPER}} .rtsb-social-share',
1972 'share_items_min_width' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1973 'social_items_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg, {{WRAPPER}} .rtsb-social-share .rtsb-share-btn .rtsb-share-label',
1974 'social_items_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
1975 'facebook_color' => '{{WRAPPER}} .rtsb-social-share .facebook svg, {{WRAPPER}} .rtsb-social-share .facebook .rtsb-share-label',
1976 'twitter_color' => '{{WRAPPER}} .rtsb-social-share .twitter svg, {{WRAPPER}} .rtsb-social-share .twitter .rtsb-share-label',
1977 'linkedin_color' => '{{WRAPPER}} .rtsb-social-share .linkedin svg, {{WRAPPER}} .rtsb-social-share .linkedin .rtsb-share-label',
1978 'pinterest_color' => '{{WRAPPER}} .rtsb-social-share .pinterest svg, {{WRAPPER}} .rtsb-social-share .pinterest .rtsb-share-label',
1979 'skype_color' => '{{WRAPPER}} .rtsb-social-share .skype svg, {{WRAPPER}} .rtsb-social-share .skype .rtsb-share-label',
1980 'whatsapp_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp svg, {{WRAPPER}} .rtsb-social-share .whatsapp .rtsb-share-label',
1981 'reddit_color' => '{{WRAPPER}} .rtsb-social-share .reddit svg, {{WRAPPER}} .rtsb-social-share .reddit .rtsb-share-label',
1982 'telegram_color' => '{{WRAPPER}} .rtsb-social-share .telegram svg, {{WRAPPER}} .rtsb-social-share .telegram .rtsb-share-label',
1983 'facebook_bg_color' => '{{WRAPPER}} .rtsb-social-share .facebook',
1984 'twitter_bg_color' => '{{WRAPPER}} .rtsb-social-share .twitter',
1985 'linkedin_bg_color' => '{{WRAPPER}} .rtsb-social-share .linkedin',
1986 'pinterest_bg_color' => '{{WRAPPER}} .rtsb-social-share .pinterest',
1987 'skype_bg_color' => '{{WRAPPER}} .rtsb-social-share .skype',
1988 'whatsapp_bg_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp',
1989 'reddit_bg_color' => '{{WRAPPER}} .rtsb-social-share .reddit',
1990 'telegram_bg_color' => '{{WRAPPER}} .rtsb-social-share .telegram',
1991 'social_items_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover svg, {{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
1992 'social_items_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover',
1993 'facebook_hover_color' => '{{WRAPPER}} .rtsb-social-share .facebook:hover svg, {{WRAPPER}} .rtsb-social-share .facebook:hover .rtsb-share-label',
1994 'twitter_hover_color' => '{{WRAPPER}} .rtsb-social-share .twitter:hover svg, {{WRAPPER}} .rtsb-social-share .twitter:hover .rtsb-share-label',
1995 'linkedin_hover_color' => '{{WRAPPER}} .rtsb-social-share .linkedin:hover svg, {{WRAPPER}} .rtsb-social-share .linkedin:hover .rtsb-share-label',
1996 'pinterest_hover_color' => '{{WRAPPER}} .rtsb-social-share .pinterest:hover svg, {{WRAPPER}} .rtsb-social-share .pinterest:hover .rtsb-share-label',
1997 'skype_hover_color' => '{{WRAPPER}} .rtsb-social-share .skype:hover svg, {{WRAPPER}} .rtsb-social-share .skype:hover .rtsb-share-label',
1998 'whatsapp_hover_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp:hover svg, {{WRAPPER}} .rtsb-social-share .whatsapp:hover .rtsb-share-label',
1999 'reddit_hover_color' => '{{WRAPPER}} .rtsb-social-share .reddit:hover svg, {{WRAPPER}} .rtsb-social-share .reddit:hover .rtsb-share-label',
2000 'telegram_hover_color' => '{{WRAPPER}} .rtsb-social-share .telegram:hover svg, {{WRAPPER}} .rtsb-social-share .telegram:hover .rtsb-share-label',
2001 'facebook_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .facebook:hover',
2002 'twitter_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .twitter:hover',
2003 'linkedin_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .linkedin:hover',
2004 'pinterest_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .pinterest:hover',
2005 'skype_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .skype:hover',
2006 'whatsapp_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .whatsapp:hover',
2007 'reddit_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .reddit:hover',
2008 'telegram_hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .telegram:hover',
2009 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
2010 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover',
2011 'border_radius' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
2012 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
2013 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn',
2014 ],
2015 'share_icons' => [
2016 'share_icons_width' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
2017 'share_icons_height' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
2018 'color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn svg',
2019 'bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn .rtsb-share-icon',
2020 'hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover svg',
2021 'hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-icon',
2022 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
2023 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-icon',
2024 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
2025 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-icon',
2026 ],
2027 'share_text' => [
2028 'typography' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2029 'alignment' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2030 'color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2031 'bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2032 'hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
2033 'hover_bg_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
2034 'border' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2035 'border_hover_color' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-btn:hover .rtsb-share-label',
2036 'padding' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2037 'margin' => '{{WRAPPER}} .rtsb-social-share .rtsb-share-icon-label .rtsb-share-label',
2038 ],
2039 'share_header' => [
2040 'typography' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2041 'share_header_type' => '{{WRAPPER}} .rtsb-social-share-container',
2042 'color' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2043 'bg_color' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2044 'border' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2045 'padding' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2046 'margin' => '{{WRAPPER}} .rtsb-social-share-container .rtsb-social-header p',
2047 ],
2048 ]
2049 );
2050 }
2051 }
2052