From d8254a39836becfc287a858e07d6659d60337730 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 9 Jan 2024 14:28:23 +0100 Subject: [PATCH] wait #6564 @0:05 --- .../Elementor/Widgets/FluxPostCarousel.php | 118 ------------------ 1 file changed, 118 deletions(-) diff --git a/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/FluxPostCarousel.php b/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/FluxPostCarousel.php index c9605dac..0e374b40 100644 --- a/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/FluxPostCarousel.php +++ b/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/FluxPostCarousel.php @@ -100,124 +100,6 @@ class FluxPostCarousel extends Widget_Base { ); $this->end_controls_section(); - - - $this->start_controls_section( - 'section_formatting', - [ - 'label' => __( 'Colours & Formatting', 'cube' ), - ] - ); - - - $this->add_control( - 'title_color', - [ - 'label' => __( 'Title Colour', 'cube' ), - 'type' => Controls_Manager::COLOR, - 'default' => '', - 'selectors' => [ - '{{WRAPPER}} .text-block-title' => 'color: {{VALUE}};', - ], - ] - ); - - - $this->add_control( - 'subtitle_color', - [ - 'label' => __( 'Subtitle Colour', 'cube' ), - 'type' => Controls_Manager::COLOR, - 'default' => '', - 'selectors' => [ - '{{WRAPPER}} .text-block-subtitle' => 'color: {{VALUE}};', - ], - ] - ); - - - $this->add_control( - 'body_color', - [ - 'label' => __( 'Body Colour', 'cube' ), - 'type' => Controls_Manager::COLOR, - 'default' => '', - 'selectors' => [ - '{{WRAPPER}} .text-block-body' => 'color: {{VALUE}};', - ], - ] - ); - - - $this->add_control( - 'cta_color', - [ - 'label' => __( 'Call to Action Colour', 'cube' ), - 'type' => Controls_Manager::COLOR, - 'default' => '', - 'selectors' => [ - '{{WRAPPER}} .text-block-cta' => 'color: {{VALUE}};', - ], - ] - ); - - - $this->add_responsive_control( - 'align', - [ - 'label' => __( 'Alignment', 'elementor' ), - 'type' => Controls_Manager::CHOOSE, - 'options' => [ - 'left' => [ - 'title' => __( 'Left', 'elementor' ), - 'icon' => 'fa fa-align-left', - ], - 'center' => [ - 'title' => __( 'Center', 'elementor' ), - 'icon' => 'fa fa-align-center', - ], - 'right' => [ - 'title' => __( 'Right', 'elementor' ), - 'icon' => 'fa fa-align-right', - ], - 'justify' => [ - 'title' => __( 'Justified', 'elementor' ), - 'icon' => 'fa fa-align-justify', - ], - ], - 'default' => '', - 'selectors' => [ - '{{WRAPPER}}' => 'text-align: {{VALUE}}; margin: 0 auto;', - ], - ] - ); - - $this->add_control( - 'max-width', - [ - 'label' => __( 'Maximum Width', 'cube' ), - 'type' => Controls_Manager::SLIDER, - // 'default' => [ - // 'size' => 400, - // ], - 'range' => [ - 'px' => [ - 'min' => 400, - 'max' => 1600, - 'step' => 10, - ], - '%' => [ - 'min' => 0, - 'max' => 100, - ], - ], - 'selectors' => [ - '{{WRAPPER}} .text-block' => 'max-width: {{SIZE}}{{UNIT}};', - ], - ] - ); - - $this->end_controls_section(); } /** * Render the widget output on the frontend. -- 2.39.5