| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | esc_html__( 'Arrows', 'shopbuilder' ) |
| 44 | 44 | ), |
| 45 | 45 | 'content_classes' => 'elementor-panel-heading-title', |
| 46 | 46 | 'separator' => 'default', |
| 47 | - 'condition' => [ | |
| 47 | + 'condition' => [ | |
| 48 | 48 | 'show_arrows!' => '', |
| 49 | 49 | ], |
| 50 | 50 | ], |
| 51 | 51 | |
| @@ -64,9 +64,10 @@ | ||
| 64 | 64 | 'unit' => 'px', |
| 65 | 65 | 'size' => 25, |
| 66 | 66 | ], |
| 67 | 67 | 'selectors' => [ |
| 68 | - $selector['slider_arrow_icon_size'] => 'font-size: {{SIZE}}{{UNIT}};', | |
| 68 | + $selector['slider_arrow_icon_size']['icon'] => 'font-size: {{SIZE}}{{UNIT}};', | |
| 69 | + $selector['slider_arrow_icon_size']['svg'] => 'width: {{SIZE}}{{UNIT}};', | |
| 69 | 70 | ], |
| 70 | 71 | 'condition' => [ |
| 71 | 72 | 'show_arrows!' => '', |
| 72 | 73 | ], |
| @@ -107,9 +108,9 @@ | ||
| 107 | 108 | ], |
| 108 | 109 | 'arrows_color' => [ |
| 109 | 110 | 'label' => esc_html__( 'Color', 'shopbuilder' ), |
| 110 | 111 | 'type' => 'color', |
| 111 | - | |
| 112 | + | |
| 112 | 113 | 'selectors' => [ |
| 113 | 114 | $selector['arrows_color'] => 'color: {{VALUE}};', |
| 114 | 115 | ], |
| 115 | 116 | ], |
| @@ -122,9 +123,9 @@ | ||
| 122 | 123 | ], |
| 123 | 124 | 'arrows_border_color' => [ |
| 124 | 125 | 'label' => esc_html__( 'Border Color', 'shopbuilder' ), |
| 125 | 126 | 'type' => 'color', |
| 126 | - | |
| 127 | + | |
| 127 | 128 | 'selectors' => [ |
| 128 | 129 | $selector['arrows_border_color'] => 'border-color: {{VALUE}};', |
| 129 | 130 | ], |
| 130 | 131 | ], |
| @@ -154,9 +155,9 @@ | ||
| 154 | 155 | ], |
| 155 | 156 | 'arrows_hover_border_color' => [ |
| 156 | 157 | 'label' => esc_html__( 'Border Color', 'shopbuilder' ), |
| 157 | 158 | 'type' => 'color', |
| 158 | - | |
| 159 | + | |
| 159 | 160 | 'selectors' => [ |
| 160 | 161 | $selector['arrows_hover_border_color'] => 'border-color: {{VALUE}};', |
| 161 | 162 | ], |
| 162 | 163 | ], |
| @@ -165,11 +166,11 @@ | ||
| 165 | 166 | ], |
| 166 | 167 | 'arrows_tabs_end' => [ |
| 167 | 168 | 'mode' => 'tabs_end', |
| 168 | 169 | ], |
| 169 | - //'style_section_end' => [ | |
| 170 | - // 'mode' => 'section_end', | |
| 171 | - //], | |
| 170 | + // 'style_section_end' => [ | |
| 171 | + // 'mode' => 'section_end', | |
| 172 | + // ], | |
| 172 | 173 | 'slider_dots_style' => [ |
| 173 | 174 | 'type' => 'html', |
| 174 | 175 | 'raw' => sprintf( |
| 175 | 176 | '<h3 class="rtsb-elementor-group-heading">%s</h3>', |
| @@ -176,9 +177,9 @@ | ||
| 176 | 177 | esc_html__( 'Dot\'s', 'shopbuilder' ) |
| 177 | 178 | ), |
| 178 | 179 | 'content_classes' => 'elementor-panel-heading-title', |
| 179 | 180 | 'separator' => 'default', |
| 180 | - 'condition' => [ | |
| 181 | + 'condition' => [ | |
| 181 | 182 | 'show_arrows!' => '', |
| 182 | 183 | ], |
| 183 | 184 | ], |
| 184 | 185 | 'dots_gap' => [ |
| @@ -196,9 +197,9 @@ | ||
| 196 | 197 | 'unit' => 'px', |
| 197 | 198 | 'size' => 30, |
| 198 | 199 | ], |
| 199 | 200 | 'selectors' => [ |
| 200 | - $selector['dots_gap'] => 'padding-bottom: {{SIZE}}{{UNIT}};', | |
| 201 | + $selector['dots_gap'] => 'padding-bottom: {{SIZE}}{{UNIT}};', | |
| 201 | 202 | ], |
| 202 | 203 | 'condition' => [ |
| 203 | 204 | 'show_dots!' => '', |
| 204 | 205 | ], |
| @@ -227,9 +228,9 @@ | ||
| 227 | 228 | ], |
| 228 | 229 | 'dot_color' => [ |
| 229 | 230 | 'label' => esc_html__( 'Dot\'s Color', 'shopbuilder' ), |
| 230 | 231 | 'type' => 'color', |
| 231 | - | |
| 232 | + | |
| 232 | 233 | 'selectors' => [ |
| 233 | 234 | $selector['dot_color'] => 'background: {{VALUE}};', |
| 234 | 235 | ], |
| 235 | 236 | ], |
| @@ -235,9 +236,9 @@ | ||
| 235 | 236 | ], |
| 236 | 237 | 'dot_active_color' => [ |
| 237 | 238 | 'label' => esc_html__( 'Dot\'s Active Color', 'shopbuilder' ), |
| 238 | 239 | 'type' => 'color', |
| 239 | - | |
| 240 | + | |
| 240 | 241 | 'selectors' => [ |
| 241 | 242 | $selector['dot_active_color'] => 'background: {{VALUE}};', |
| 242 | 243 | ], |
| 243 | 244 | ], |
| @@ -361,6 +362,5 @@ | ||
| 361 | 362 | ]; |
| 362 | 363 | |
| 363 | 364 | return $fields; |
| 364 | 365 | } |
| 365 | - | |
| 366 | 366 | } |