| @@ -293,8 +293,15 @@ | ||
| 293 | 293 | 'fields_options' => [ |
| 294 | 294 | 'background' => [ |
| 295 | 295 | 'frontend_available' => true, |
| 296 | 296 | ], |
| 297 | + 'image' => [ | |
| 298 | + 'background_lazyload' => [ | |
| 299 | + 'active' => true, | |
| 300 | + 'keys' => [ 'background_image', 'url' ], | |
| 301 | + 'selector' => '.elementor-element-populated', | |
| 302 | + ], | |
| 303 | + ], | |
| 297 | 304 | ], |
| 298 | 305 | ] |
| 299 | 306 | ); |
| 300 | 307 | |
| @@ -365,12 +372,21 @@ | ||
| 365 | 372 | Group_Control_Background::get_type(), |
| 366 | 373 | [ |
| 367 | 374 | 'name' => 'background_overlay', |
| 368 | 375 | 'selector' => '{{WRAPPER}} > .elementor-element-populated > .elementor-background-overlay', |
| 376 | + 'fields_options' => [ | |
| 377 | + 'image' => [ | |
| 378 | + 'background_lazyload' => [ | |
| 379 | + 'active' => true, | |
| 380 | + 'keys' => [ '_background_overlay', 'url' ], | |
| 381 | + 'selector' => '.elementor-background-overlay,', | |
| 382 | + ], | |
| 383 | + ], | |
| 384 | + ], | |
| 369 | 385 | ] |
| 370 | 386 | ); |
| 371 | 387 | |
| 372 | - $this->add_control( | |
| 388 | + $this->add_responsive_control( | |
| 373 | 389 | 'background_overlay_opacity', |
| 374 | 390 | [ |
| 375 | 391 | 'label' => esc_html__( 'Opacity', 'elementor' ), |
| 376 | 392 | 'type' => Controls_Manager::SLIDER, |
| @@ -442,9 +458,9 @@ | ||
| 442 | 458 | 'selector' => '{{WRAPPER}}:hover > .elementor-element-populated > .elementor-background-overlay', |
| 443 | 459 | ] |
| 444 | 460 | ); |
| 445 | 461 | |
| 446 | - $this->add_control( | |
| 462 | + $this->add_responsive_control( | |
| 447 | 463 | 'background_overlay_hover_opacity', |
| 448 | 464 | [ |
| 449 | 465 | 'label' => esc_html__( 'Opacity', 'elementor' ), |
| 450 | 466 | 'type' => Controls_Manager::SLIDER, |
| @@ -565,9 +581,9 @@ | ||
| 565 | 581 | 'border_radius_hover', |
| 566 | 582 | [ |
| 567 | 583 | 'label' => esc_html__( 'Border Radius', 'elementor' ), |
| 568 | 584 | 'type' => Controls_Manager::DIMENSIONS, |
| 569 | - 'size_units' => [ 'px', '%' ], | |
| 585 | + 'size_units' => [ 'px', '%', 'em' ], | |
| 570 | 586 | 'selectors' => [ |
| 571 | 587 | '{{WRAPPER}}:hover > .elementor-element-populated, {{WRAPPER}}:hover > .elementor-element-populated > .elementor-background-overlay' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', |
| 572 | 588 | ], |
| 573 | 589 | ] |
| @@ -701,9 +717,9 @@ | ||
| 701 | 717 | 'title' => esc_html__( 'Right', 'elementor' ), |
| 702 | 718 | 'icon' => 'eicon-text-align-right', |
| 703 | 719 | ], |
| 704 | 720 | 'justify' => [ |
| 705 | - 'title' => __( 'Justified', 'elementor' ), | |
| 721 | + 'title' => esc_html__( 'Justified', 'elementor' ), | |
| 706 | 722 | 'icon' => 'eicon-text-align-justify', |
| 707 | 723 | ], |
| 708 | 724 | ], |
| 709 | 725 | 'selectors' => [ |