Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // $this->add_control(
- // 'slide_background_type',
- // array(
- // 'type' => Controls_Manager::CHOOSE,
- // 'label' => esc_html__( 'Slide Background Type', 'elementor' ),
- // 'options' => array(
- // 'classic' => array(
- // 'title' => esc_html__( 'Classic', 'elementor-pro' ),
- // 'icon' => 'fas fa-icons',
- // ),
- // 'gradient' => array(
- // 'title' => esc_html__( 'Gradient', 'elementor-pro' ),
- // 'icon' => 'fas fa-stream',
- // ),
- // ),
- // 'default' => 'classic',
- // 'toggle' => false,
- // )
- // );
- // $this->start_controls_tabs( 'tabs_slide_style' );
- // $this->start_controls_tab(
- // 'tab_slide_style_normal',
- // array(
- // 'label' => esc_html__( 'Normal', 'elementor' ),
- // )
- // );
- // $this->add_group_control(
- // Group_Control_Background::get_type(),
- // array(
- // 'name' => 'slide_background_gradient',
- // 'types' => array( 'gradient' ),
- // 'label_block' => true,
- // 'fields_options' => array(
- // 'background' => array(
- // 'type' => Controls_Manager::HIDDEN,
- // 'default' => 'gradient',
- // ),
- // 'gradient_angle' => array(
- // 'default' => array(
- // 'unit' => 'deg',
- // 'size' => 90,
- // ),
- // ),
- // ),
- // 'selector' => '.cmsmasters_offcanvas_content_{{ID}}',
- // 'condition' => array( 'slide_background_type' => 'gradient' ),
- // )
- // );
- // $this->add_control(
- // 'slide_background_color',
- // array(
- // 'label' => esc_html__( 'Background Color', 'elementor' ),
- // 'type' => Controls_Manager::COLOR,
- // 'selectors' => array(
- // '.cmsmasters_offcanvas_content_{{ID}}' => 'background-color: {{VALUE}}',
- // ),
- // 'condition' => array(
- // 'slide_background_type' => 'classic',
- // ),
- // )
- // );
- // $this->add_control(
- // 'slide_border_color',
- // array(
- // 'label' => esc_html__( 'Border Color', 'elementor' ),
- // 'type' => Controls_Manager::COLOR,
- // 'selectors' => array(
- // '.cmsmasters_offcanvas_content_{{ID}}' => 'border-color: {{VALUE}}',
- // ),
- // )
- // );
- // $this->end_controls_tab();
- // $this->start_controls_tab(
- // 'tab_slide_style_hover',
- // array(
- // 'label' => esc_html__( 'Hover', 'elementor' ),
- // )
- // );
- // $this->add_group_control(
- // Group_Control_Background::get_type(),
- // array(
- // 'name' => 'slide_background_gradient_hover',
- // 'types' => array( 'gradient' ),
- // 'label_block' => true,
- // 'fields_options' => array(
- // 'background' => array(
- // 'type' => Controls_Manager::HIDDEN,
- // 'default' => 'gradient',
- // ),
- // 'gradient_angle' => array(
- // 'default' => array(
- // 'unit' => 'deg',
- // 'size' => 90,
- // ),
- // ),
- // ),
- // 'selector' => '.cmsmasters_offcanvas_content_{{ID}}:hover',
- // 'condition' => array(
- // 'slide_background_type' => 'gradient',
- // ),
- // )
- // );
- // $this->add_control(
- // 'slide_background_color_hover',
- // array(
- // 'label' => esc_html__( 'Background Color', 'elementor' ),
- // 'type' => Controls_Manager::COLOR,
- // 'selectors' => array(
- // '.cmsmasters_offcanvas_content_{{ID}}:hover' => 'background-color: {{VALUE}}',
- // ),
- // 'condition' => array(
- // 'slide_background_type' => 'classic',
- // ),
- // )
- // );
- // $this->add_control(
- // 'slide_border_color_hover',
- // array(
- // 'label' => esc_html__( 'Border Color', 'elementor' ),
- // 'type' => Controls_Manager::COLOR,
- // 'selectors' => array(
- // '.cmsmasters_offcanvas_content_{{ID}}:hover' => 'border-color: {{VALUE}}',
- // ),
- // )
- // );
- // $this->end_controls_tab();
- // $this->end_controls_tabs();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement