| @@ -572,8 +572,14 @@ | ||
| 572 | 572 | 'fields_options' => [ |
| 573 | 573 | 'background' => [ |
| 574 | 574 | 'frontend_available' => true, |
| 575 | 575 | ], |
| 576 | + 'image' => [ | |
| 577 | + 'background_lazyload' => [ | |
| 578 | + 'active' => true, | |
| 579 | + 'keys' => [ 'background_image', 'url' ], | |
| 580 | + ], | |
| 581 | + ], | |
| 576 | 582 | ], |
| 577 | 583 | ] |
| 578 | 584 | ); |
| 579 | 585 | |
| @@ -641,12 +647,21 @@ | ||
| 641 | 647 | Group_Control_Background::get_type(), |
| 642 | 648 | [ |
| 643 | 649 | 'name' => 'background_overlay', |
| 644 | 650 | 'selector' => '{{WRAPPER}} > .elementor-background-overlay', |
| 651 | + 'fields_options' => [ | |
| 652 | + 'image' => [ | |
| 653 | + 'background_lazyload' => [ | |
| 654 | + 'active' => true, | |
| 655 | + 'keys' => [ 'background_overlay_image', 'url' ], | |
| 656 | + 'selector' => '.elementor-background-overlay', | |
| 657 | + ], | |
| 658 | + ], | |
| 659 | + ], | |
| 645 | 660 | ] |
| 646 | 661 | ); |
| 647 | 662 | |
| 648 | - $this->add_control( | |
| 663 | + $this->add_responsive_control( | |
| 649 | 664 | 'background_overlay_opacity', |
| 650 | 665 | [ |
| 651 | 666 | 'label' => esc_html__( 'Opacity', 'elementor' ), |
| 652 | 667 | 'type' => Controls_Manager::SLIDER, |
| @@ -748,9 +763,9 @@ | ||
| 748 | 763 | 'selector' => '{{WRAPPER}}:hover > .elementor-background-overlay', |
| 749 | 764 | ] |
| 750 | 765 | ); |
| 751 | 766 | |
| 752 | - $this->add_control( | |
| 767 | + $this->add_responsive_control( | |
| 753 | 768 | 'background_overlay_hover_opacity', |
| 754 | 769 | [ |
| 755 | 770 | 'label' => esc_html__( 'Opacity', 'elementor' ), |
| 756 | 771 | 'type' => Controls_Manager::SLIDER, |
| @@ -870,9 +885,9 @@ | ||
| 870 | 885 | 'border_radius_hover', |
| 871 | 886 | [ |
| 872 | 887 | 'label' => esc_html__( 'Border Radius', 'elementor' ), |
| 873 | 888 | 'type' => Controls_Manager::DIMENSIONS, |
| 874 | - 'size_units' => [ 'px', '%' ], | |
| 889 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 875 | 890 | 'selectors' => [ |
| 876 | 891 | '{{WRAPPER}}:hover, {{WRAPPER}}:hover > .elementor-background-overlay' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 877 | 892 | ], |
| 878 | 893 | ] |
| @@ -1158,9 +1173,9 @@ | ||
| 1158 | 1173 | 'title' => esc_html__( 'Right', 'elementor' ), |
| 1159 | 1174 | 'icon' => 'eicon-text-align-right', |
| 1160 | 1175 | ], |
| 1161 | 1176 | 'justify' => [ |
| 1162 | - 'title' => __( 'Justified', 'elementor' ), | |
| 1177 | + 'title' => esc_html__( 'Justified', 'elementor' ), | |
| 1163 | 1178 | 'icon' => 'eicon-text-align-justify', |
| 1164 | 1179 | ], |
| 1165 | 1180 | ], |
| 1166 | 1181 | 'selectors' => [ |