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

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