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

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