| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | use Elementor\Group_Control_Box_Shadow; |
| 8 | 8 | use Elementor\Group_Control_Css_Filter; |
| 9 | 9 | |
| 10 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | - exit; // Exit if accessed directly. | |
| 11 | + exit; // Exit if accessed directly | |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | class Theme_Style_Images extends Tab_Base { |
| 15 | 15 | |
| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | 'image_border_radius', |
| 82 | 82 | [ |
| 83 | 83 | 'label' => esc_html__( 'Border Radius', 'elementor' ), |
| 84 | 84 | 'type' => Controls_Manager::DIMENSIONS, |
| 85 | - 'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ], | |
| 85 | + 'size_units' => [ 'px', '%' ], | |
| 86 | 86 | 'selectors' => [ |
| 87 | 87 | $image_selectors => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 88 | 88 | ], |
| 89 | 89 | ] |
| @@ -152,9 +152,9 @@ | ||
| 152 | 152 | 'image_hover_border_radius', |
| 153 | 153 | [ |
| 154 | 154 | 'label' => esc_html__( 'Border Radius', 'elementor' ), |
| 155 | 155 | 'type' => Controls_Manager::DIMENSIONS, |
| 156 | - 'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ], | |
| 156 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 157 | 157 | 'selectors' => [ |
| 158 | 158 | $image_hover_selectors => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 159 | 159 | ], |
| 160 | 160 | ] |
| @@ -203,9 +203,8 @@ | ||
| 203 | 203 | 'label' => esc_html__( 'Transition Duration', 'elementor' ) . ' (s)', |
| 204 | 204 | 'type' => Controls_Manager::SLIDER, |
| 205 | 205 | 'range' => [ |
| 206 | 206 | 'px' => [ |
| 207 | - 'min' => 0, | |
| 208 | 207 | 'max' => 3, |
| 209 | 208 | 'step' => 0.1, |
| 210 | 209 | ], |
| 211 | 210 | ], |