Changeset 2729070
- Timestamp:
- 05/24/2022 06:08:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multifox-plus/trunk/modules/shortcodes/elementor/widgets/counter/class-widget-counter.php
r2637895 r2729070 4 4 use Elementor\Repeater; 5 5 use Elementor\Utils; 6 use Elementor\Scheme_Color;7 use Elementor\Scheme_Typography;8 6 use Elementor\Group_Control_Typography; 9 7 … … 30 28 } 31 29 32 protected function _register_controls() {30 protected function register_controls() { 33 31 34 32 $this->start_controls_section( 'mfx_section_general', array( … … 116 114 'label' => esc_html__( 'Text Color', 'multifox-plus' ), 117 115 'type' => Controls_Manager::COLOR, 118 'scheme' => [119 'type' => Scheme_Color::get_type(),120 'value' => Scheme_Color::COLOR_1,121 ],122 116 'selectors' => [ 123 117 '{{WRAPPER}} h4' => 'color: {{VALUE}};', … … 130 124 [ 131 125 'name' => 'typography_title', 132 'scheme' => Scheme_Typography::TYPOGRAPHY_1,133 126 'selector' => '{{WRAPPER}} h4', 134 127 ] … … 150 143 'label' => esc_html__( 'Text Color', 'multifox-plus' ), 151 144 'type' => Controls_Manager::COLOR, 152 'scheme' => [153 'type' => Scheme_Color::get_type(),154 'value' => Scheme_Color::COLOR_1,155 ],156 145 'selectors' => [ 157 146 '{{WRAPPER}} .mfx-counter-subtitle' => 'color: {{VALUE}};', … … 164 153 [ 165 154 'name' => 'typography_subtitle', 166 'scheme' => Scheme_Typography::TYPOGRAPHY_1,167 155 'selector' => '{{WRAPPER}} .mfx-counter-subtitle', 168 156 ] … … 185 173 'label' => esc_html__( 'Text Color', 'multifox-plus' ), 186 174 'type' => Controls_Manager::COLOR, 187 'scheme' => [188 'type' => Scheme_Color::get_type(),189 'value' => Scheme_Color::COLOR_1,190 ],191 175 'selectors' => [ 192 176 '{{WRAPPER}} .mfx-counter-icon-wrapper span' => 'color: {{VALUE}};', … … 199 183 [ 200 184 'name' => 'typography_icon', 201 'scheme' => Scheme_Typography::TYPOGRAPHY_1,202 185 'selector' => '{{WRAPPER}} .mfx-counter-icon-wrapper', 203 186 ] … … 219 202 'label' => esc_html__( 'Text Color', 'multifox-plus' ), 220 203 'type' => Controls_Manager::COLOR, 221 'scheme' => [222 'type' => Scheme_Color::get_type(),223 'value' => Scheme_Color::COLOR_1,224 ],225 204 'selectors' => [ 226 205 '{{WRAPPER}} .mfx-counter-number' => 'color: {{VALUE}};', … … 233 212 [ 234 213 'name' => 'typography_number', 235 'scheme' => Scheme_Typography::TYPOGRAPHY_1,236 214 'selector' => '{{WRAPPER}} .mfx-counter-number', 237 215 ]
Note: See TracChangeset
for help on using the changeset viewer.