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

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

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