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

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

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