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

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

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