start_controls_section( 'section_settings', [ 'label' => esc_html__( 'Settings', 'absolute-addons' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => 'body_section_background', 'label' => esc_html__( 'Body Section Background', 'absolute-addons' ), 'label_block' => true, 'types' => [ 'classic', 'gradient' ], 'fields_options' => [ 'background' => [ 'label' => 'Body Section Background', ], ], 'selector' => ' {{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box, {{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box-wrapper-style2 ', ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'body_border', 'label' => esc_html__( 'Body Border', 'absolute-addons' ), 'selector' => ' {{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box, {{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box-wrapper-style2 ', ] ); $this->add_responsive_control( 'body_section_border_radius', [ 'label' => esc_html__( 'Body Section Border Radius', 'absolute-addons' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', 'em', '%' ], 'selectors' => [ ' {{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box, {{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box-wrapper-style2 ' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Box_Shadow::get_type(), [ 'name' => 'body_section_box_shadow', 'label' => esc_html__( 'Box Shadow', 'absolute-addons' ), 'selector' => '{{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box', ] ); $this->add_responsive_control( 'body_section_padding', [ 'label' => esc_html__( 'Padding', 'absolute-addons' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', 'em', '%' ], 'selectors' => [ '{{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'body_section_margin', [ 'label' => esc_html__( 'Margin', 'absolute-addons' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', 'em', '%' ], 'selectors' => [ '{{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section();