start_controls_section( 'time_duration_section', [ 'label' => esc_html__( 'Time Duration', 'absolute-addons' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => [ 'absolute_content_card' => 'three', ], ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'time_duration_typography', 'label' => esc_html__( 'Typography', 'absolute-addons' ), 'selector' => '{{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box .content-card-box-sale-price span.content-card-box-delivery-time', ] ); $this->add_control( 'time_duration_color', [ 'label' => esc_html__( 'Color', 'absolute-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .absp-wrapper .absp-content-card-item .content-card-box .content-card-box-sale-price span.content-card-box-delivery-time' => 'color: {{VALUE}};', ], ] ); $this->add_responsive_control( 'time_duration_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 .content-card-box-sale-price span.content-card-box-delivery-time' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'time_duration_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 .content-card-box-sale-price span.content-card-box-delivery-time' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section();