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

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