Plugin Directory

Changeset 2729070


Ignore:
Timestamp:
05/24/2022 06:08:16 AM (4 years ago)
Author:
creativebrahma
Message:

counter module updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multifox-plus/trunk/modules/shortcodes/elementor/widgets/counter/class-widget-counter.php

    r2637895 r2729070  
    44use Elementor\Repeater;
    55use Elementor\Utils;
    6 use Elementor\Scheme_Color;
    7 use Elementor\Scheme_Typography;
    86use Elementor\Group_Control_Typography;
    97
     
    3028    }
    3129
    32     protected function _register_controls() {
     30    protected function register_controls() {
    3331
    3432        $this->start_controls_section( 'mfx_section_general', array(
     
    116114                    'label' => esc_html__( 'Text Color', 'multifox-plus' ),
    117115                    'type' => Controls_Manager::COLOR,
    118                     'scheme' => [
    119                         'type' => Scheme_Color::get_type(),
    120                         'value' => Scheme_Color::COLOR_1,
    121                     ],
    122116                    'selectors' => [
    123117                        '{{WRAPPER}} h4' => 'color: {{VALUE}};',
     
    130124                [
    131125                    'name' => 'typography_title',
    132                     'scheme' => Scheme_Typography::TYPOGRAPHY_1,
    133126                    'selector' => '{{WRAPPER}} h4',
    134127                ]
     
    150143                    'label' => esc_html__( 'Text Color', 'multifox-plus' ),
    151144                    'type' => Controls_Manager::COLOR,
    152                     'scheme' => [
    153                         'type' => Scheme_Color::get_type(),
    154                         'value' => Scheme_Color::COLOR_1,
    155                     ],
    156145                    'selectors' => [
    157146                        '{{WRAPPER}} .mfx-counter-subtitle' => 'color: {{VALUE}};',
     
    164153                [
    165154                    'name' => 'typography_subtitle',
    166                     'scheme' => Scheme_Typography::TYPOGRAPHY_1,
    167155                    'selector' => '{{WRAPPER}} .mfx-counter-subtitle',
    168156                ]
     
    185173                    'label' => esc_html__( 'Text Color', 'multifox-plus' ),
    186174                    'type' => Controls_Manager::COLOR,
    187                     'scheme' => [
    188                         'type' => Scheme_Color::get_type(),
    189                         'value' => Scheme_Color::COLOR_1,
    190                     ],
    191175                    'selectors' => [
    192176                        '{{WRAPPER}} .mfx-counter-icon-wrapper span' => 'color: {{VALUE}};',
     
    199183                [
    200184                    'name' => 'typography_icon',
    201                     'scheme' => Scheme_Typography::TYPOGRAPHY_1,
    202185                    'selector' => '{{WRAPPER}} .mfx-counter-icon-wrapper',
    203186                ]
     
    219202                    'label' => esc_html__( 'Text Color', 'multifox-plus' ),
    220203                    'type' => Controls_Manager::COLOR,
    221                     'scheme' => [
    222                         'type' => Scheme_Color::get_type(),
    223                         'value' => Scheme_Color::COLOR_1,
    224                     ],
    225204                    'selectors' => [
    226205                        '{{WRAPPER}} .mfx-counter-number' => 'color: {{VALUE}};',
     
    233212                [
    234213                    'name' => 'typography_number',
    235                     'scheme' => Scheme_Typography::TYPOGRAPHY_1,
    236214                    'selector' => '{{WRAPPER}} .mfx-counter-number',
    237215                ]
Note: See TracChangeset for help on using the changeset viewer.