Plugin Directory

Changeset 3406530


Ignore:
Timestamp:
12/01/2025 07:53:40 AM (3 months ago)
Author:
sifency
Message:

SELECTOR UPDATE

Location:
sifency-addons
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • sifency-addons/tags/1.0.3/includes/traits/caption.php

    r3406506 r3406530  
    116116                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    117117                'type'      => Controls_Manager::COLOR,
     118                'default'   => 'var(--e-global-color-text)',
    118119                'selectors' => [
    119120                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    157158        );
    158159
    159         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     160        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'   => 'var(--e-global-color-text)' ] );
    160161        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $hover_selector_string, 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ], 'fields_options' => [ 'background' => [ 'label' => esc_html__( 'Text Fill', 'sifency-addons' ) ] ] ] );
    161162        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/tags/1.0.3/includes/traits/content.php

    r3406506 r3406530  
    110110                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    111111                'type'      => Controls_Manager::COLOR,
     112                'default'   => 'var(--e-global-color-text)',
    112113                'selectors' => [
    113114                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    150151        );
    151152
    152         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     153        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'   => 'var(--e-global-color-text)' ] );
    153154        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $hover_selector_string, 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ], 'fields_options' => [ 'background' => [ 'label' => esc_html__( 'Text Fill', 'sifency-addons' ) ] ] ] );
    154155        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/tags/1.0.3/includes/traits/label.php

    r3406506 r3406530  
    138138                'label'     => esc_html__( 'Fill Type', 'sifency-addons' ),
    139139                'type'      => Controls_Manager::SELECT,
    140                 'options'   => [ 'color' => 'Color', 'gradient' => 'Gradient', 'image' => 'Image' ],
     140                'options'   => [ 'color' => 'Color', 'gradient' => 'Gradient & Image' ],
    141141                'default'   => 'color',
    142142                'separator' => 'before',
     
    153153                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    154154                'type'      => Controls_Manager::COLOR,
     155                'default'   => 'var(--e-global-color-text)',
    155156                'selectors' => [
    156157                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    225226                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    226227                'type'      => Controls_Manager::COLOR,
     228                'default'   => 'var(--e-global-color-text)',
    227229                'selectors' => [
    228230                    $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
  • sifency-addons/tags/1.0.3/includes/traits/meta-text.php

    r3406506 r3406530  
    3737        $selector = '{{WRAPPER}} .sifency-meta-style';
    3838
    39         //============================================
    40         //==         STYLE SECTION: META          ==
    41         //============================================
    4239        $this->start_controls_section(
    4340            $prefix . 'style_section',
     
    5754        $this->start_controls_tab( $prefix . 'normal_tab', [ 'label' => esc_html__( 'Normal', 'sifency-addons' ) ] );
    5855        $this->add_control( $prefix . 'fill_type', [ 'label' => esc_html__( 'Fill Type', 'sifency-addons' ), 'type' => Controls_Manager::SELECT, 'options' => [ 'color' => 'Color', 'gradient' => 'Gradient & Image' ], 'default' => 'color' ] );
    59         $this->add_control( $prefix . 'color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ', ' . $selector . ' a' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'fill_type' => 'color' ] ] );
     56        $this->add_control( $prefix . 'color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ', ' . $selector . ' a' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'fill_type' => 'color' ], 'default'  => 'var(--e-global-color-text)' ] );
    6057        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $selector . ', ' . $selector . ' a', 'condition' => [ $prefix . 'fill_type' => [ 'gradient', 'image' ] ] ] );
    6158        $this->add_control( $prefix . 'stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
     
    7067        $this->start_controls_tab( $prefix . 'hover_tab', [ 'label' => esc_html__( 'Hover', 'sifency-addons' ) ] );
    7168        $this->add_control( $prefix . 'hover_fill_type', [ 'label' => esc_html__( 'Fill Type', 'sifency-addons' ), 'type' => Controls_Manager::SELECT, 'options' => [ 'color' => 'Color', 'gradient' => 'Gradient & Image' ], 'default' => 'color' ] );
    72         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ':hover, ' . $selector . ' a:hover' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     69        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ':hover, ' . $selector . ' a:hover' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'  => 'var(--e-global-color-text)' ] );
    7370        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $selector . ':hover, ' . $selector . ' a:hover', 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ] ] );
    7471        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/tags/1.0.3/includes/traits/number.php

    r3406506 r3406530  
    115115                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    116116                'type'      => Controls_Manager::COLOR,
     117                'default'   => 'var(--e-global-color-text)',
    117118                'selectors' => [
    118119                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
  • sifency-addons/tags/1.0.3/includes/traits/separator.php

    r3406506 r3406530  
    8585                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    8686                'type'      => Controls_Manager::COLOR,
     87                'default'   => 'var(--e-global-color-text)',
    8788                'selectors' => [
    8889                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    125126        );
    126127
    127         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     128        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'   => 'var(--e-global-color-text)' ] );
    128129        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $hover_selector_string, 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ], 'fields_options' => [ 'background' => [ 'label' => esc_html__( 'Text Fill', 'sifency-addons' ) ] ] ] );
    129130        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/tags/1.0.3/includes/traits/title.php

    r3406506 r3406530  
    169169                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    170170                'type'      => Controls_Manager::COLOR,
     171                'default'   => 'var(--e-global-color-text)',
    171172                'selectors' => [
    172173                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    241242                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    242243                'type'      => Controls_Manager::COLOR,
     244                'default'   => 'var(--e-global-color-text)',
    243245                'selectors' => [
    244246                    $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
  • sifency-addons/trunk/includes/traits/caption.php

    r3406506 r3406530  
    116116                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    117117                'type'      => Controls_Manager::COLOR,
     118                'default'   => 'var(--e-global-color-text)',
    118119                'selectors' => [
    119120                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    157158        );
    158159
    159         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     160        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'   => 'var(--e-global-color-text)' ] );
    160161        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $hover_selector_string, 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ], 'fields_options' => [ 'background' => [ 'label' => esc_html__( 'Text Fill', 'sifency-addons' ) ] ] ] );
    161162        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/trunk/includes/traits/content.php

    r3406506 r3406530  
    110110                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    111111                'type'      => Controls_Manager::COLOR,
     112                'default'   => 'var(--e-global-color-text)',
    112113                'selectors' => [
    113114                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    150151        );
    151152
    152         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     153        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'   => 'var(--e-global-color-text)' ] );
    153154        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $hover_selector_string, 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ], 'fields_options' => [ 'background' => [ 'label' => esc_html__( 'Text Fill', 'sifency-addons' ) ] ] ] );
    154155        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/trunk/includes/traits/label.php

    r3406506 r3406530  
    138138                'label'     => esc_html__( 'Fill Type', 'sifency-addons' ),
    139139                'type'      => Controls_Manager::SELECT,
    140                 'options'   => [ 'color' => 'Color', 'gradient' => 'Gradient', 'image' => 'Image' ],
     140                'options'   => [ 'color' => 'Color', 'gradient' => 'Gradient & Image' ],
    141141                'default'   => 'color',
    142142                'separator' => 'before',
     
    153153                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    154154                'type'      => Controls_Manager::COLOR,
     155                'default'   => 'var(--e-global-color-text)',
    155156                'selectors' => [
    156157                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    225226                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    226227                'type'      => Controls_Manager::COLOR,
     228                'default'   => 'var(--e-global-color-text)',
    227229                'selectors' => [
    228230                    $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
  • sifency-addons/trunk/includes/traits/meta-text.php

    r3406506 r3406530  
    3737        $selector = '{{WRAPPER}} .sifency-meta-style';
    3838
    39         //============================================
    40         //==         STYLE SECTION: META          ==
    41         //============================================
    4239        $this->start_controls_section(
    4340            $prefix . 'style_section',
     
    5754        $this->start_controls_tab( $prefix . 'normal_tab', [ 'label' => esc_html__( 'Normal', 'sifency-addons' ) ] );
    5855        $this->add_control( $prefix . 'fill_type', [ 'label' => esc_html__( 'Fill Type', 'sifency-addons' ), 'type' => Controls_Manager::SELECT, 'options' => [ 'color' => 'Color', 'gradient' => 'Gradient & Image' ], 'default' => 'color' ] );
    59         $this->add_control( $prefix . 'color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ', ' . $selector . ' a' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'fill_type' => 'color' ] ] );
     56        $this->add_control( $prefix . 'color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ', ' . $selector . ' a' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'fill_type' => 'color' ], 'default'  => 'var(--e-global-color-text)' ] );
    6057        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $selector . ', ' . $selector . ' a', 'condition' => [ $prefix . 'fill_type' => [ 'gradient', 'image' ] ] ] );
    6158        $this->add_control( $prefix . 'stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
     
    7067        $this->start_controls_tab( $prefix . 'hover_tab', [ 'label' => esc_html__( 'Hover', 'sifency-addons' ) ] );
    7168        $this->add_control( $prefix . 'hover_fill_type', [ 'label' => esc_html__( 'Fill Type', 'sifency-addons' ), 'type' => Controls_Manager::SELECT, 'options' => [ 'color' => 'Color', 'gradient' => 'Gradient & Image' ], 'default' => 'color' ] );
    72         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ':hover, ' . $selector . ' a:hover' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     69        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $selector . ':hover, ' . $selector . ' a:hover' => 'color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'  => 'var(--e-global-color-text)' ] );
    7370        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $selector . ':hover, ' . $selector . ' a:hover', 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ] ] );
    7471        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/trunk/includes/traits/number.php

    r3406506 r3406530  
    115115                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    116116                'type'      => Controls_Manager::COLOR,
     117                'default'   => 'var(--e-global-color-text)',
    117118                'selectors' => [
    118119                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
  • sifency-addons/trunk/includes/traits/separator.php

    r3406506 r3406530  
    8585                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    8686                'type'      => Controls_Manager::COLOR,
     87                'default'   => 'var(--e-global-color-text)',
    8788                'selectors' => [
    8889                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    125126        );
    126127
    127         $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ] ] );
     128        $this->add_control( $prefix . 'hover_color', [ 'label' => esc_html__( 'Text Color', 'sifency-addons' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};' ], 'condition' => [ $prefix . 'hover_fill_type' => 'color' ], 'default'   => 'var(--e-global-color-text)' ] );
    128129        $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => $prefix . 'hover_gradient_fill', 'types' => [ 'gradient', 'classic' ], 'selector' => $hover_selector_string, 'condition' => [ $prefix . 'hover_fill_type' => [ 'gradient', 'image' ] ], 'fields_options' => [ 'background' => [ 'label' => esc_html__( 'Text Fill', 'sifency-addons' ) ] ] ] );
    129130        $this->add_control( $prefix . 'hover_stroke_switcher', [ 'label' => esc_html__( 'Enable Text Stroke', 'sifency-addons' ), 'type' => Controls_Manager::SWITCHER, 'separator' => 'before' ] );
  • sifency-addons/trunk/includes/traits/title.php

    r3406506 r3406530  
    169169                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    170170                'type'      => Controls_Manager::COLOR,
     171                'default'   => 'var(--e-global-color-text)',
    171172                'selectors' => [
    172173                    $selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
     
    241242                'label'     => esc_html__( 'Text Color', 'sifency-addons' ),
    242243                'type'      => Controls_Manager::COLOR,
     244                'default'   => 'var(--e-global-color-text)',
    243245                'selectors' => [
    244246                    $hover_selector_string => 'color: {{VALUE}}; -webkit-text-fill-color: {{VALUE}};',
Note: See TracChangeset for help on using the changeset viewer.