Version Description
Download this release
Release Info
Code changes from version 1.5.2 to 1.5.1
- assets/css/htmega-widgets.css +2 -2
- assets/extensions/ht-menu/css/mega-menu-style.css +1 -1
- assets/js/jquery.mousewheel.js +1 -1
- assets/js/mapmarker.jquery.js +0 -1
- extensions/ht-builder/widgets/bl_post_author_info.php +8 -0
- htmega_addons_elementor.php +2 -2
- includes/widgets/htmega_accordion.php +146 -170
- includes/widgets/htmega_add_banner.php +12 -0
- includes/widgets/htmega_blockquote.php +16 -0
- includes/widgets/htmega_brand.php +1 -1
- includes/widgets/htmega_business_hours.php +9 -1
- includes/widgets/htmega_call_to_action.php +8 -0
- includes/widgets/htmega_carousel.php +9 -1
- includes/widgets/htmega_countdown.php +12 -0
- includes/widgets/htmega_counter.php +25 -0
- includes/widgets/htmega_cuctom_event.php +33 -1
- includes/widgets/htmega_dropcaps.php +8 -0
- includes/widgets/htmega_flip-box.php +36 -0
- includes/widgets/htmega_googlemap.php +44 -49
- includes/widgets/htmega_gravity_forms.php +10 -0
- includes/widgets/htmega_image_grid.php +21 -1
- includes/widgets/htmega_image_marker.php +1 -6
- includes/widgets/htmega_image_masonry.php +21 -1
- includes/widgets/htmega_instagram.php +20 -0
- includes/widgets/htmega_lightbox.php +8 -0
- includes/widgets/htmega_modal.php +24 -0
- includes/widgets/htmega_news_ticker.php +20 -0
- includes/widgets/htmega_ninja_forms.php +24 -0
- includes/widgets/htmega_notify.php +16 -0
- includes/widgets/htmega_panel_slider.php +17 -1
- includes/widgets/htmega_popover.php +24 -0
- includes/widgets/htmega_post_carousel.php +44 -0
- includes/widgets/htmega_post_grid.php +12 -0
- includes/widgets/htmega_post_grid_tab.php +36 -0
- includes/widgets/htmega_post_slider.php +36 -0
- includes/widgets/htmega_pricing_list_view.php +3 -3
- includes/widgets/htmega_pricing_table.php +2 -7
- includes/widgets/htmega_progressbar.php +231 -271
- includes/widgets/htmega_qu_forms.php +17 -1
- includes/widgets/htmega_scroll_navigation.php +9 -1
- includes/widgets/htmega_section_title.php +20 -0
- includes/widgets/htmega_services.php +32 -0
- includes/widgets/htmega_single_post.php +12 -0
- includes/widgets/htmega_slider_thumb_gallery.php +13 -1
- includes/widgets/htmega_socialshere.php +1 -2
- includes/widgets/htmega_special_banner.php +20 -0
- includes/widgets/htmega_switcher.php +12 -0
- includes/widgets/htmega_tab.php +1 -1
- includes/widgets/htmega_table.php +2 -2
- includes/widgets/htmega_teammember.php +1 -1
- includes/widgets/htmega_testimonial.php +21 -1
- includes/widgets/htmega_testimonial_grid.php +17 -1
- includes/widgets/htmega_toggle.php +12 -0
- includes/widgets/htmega_tooltip.php +16 -0
- includes/widgets/htmega_twitter_feed.php +36 -0
- includes/widgets/htmega_vertical_timeline.php +1 -1
- includes/widgets/htmega_video_player.php +8 -0
- includes/widgets/htmega_weather.php +8 -0
- includes/widgets/htmega_working_process.php +17 -1
- includes/widgets/htmega_wpforms.php +24 -0
- readme.txt +0 -4
assets/css/htmega-widgets.css
CHANGED
@@ -8049,12 +8049,12 @@ button.htmega-notify-button {
|
|
8049 |
}
|
8050 |
|
8051 |
.htmega-marker-style-2 .htmega_image_pointer::before {
|
8052 |
-
content: "\
|
8053 |
position: absolute;
|
8054 |
left: 50%;
|
8055 |
top: 50%;
|
8056 |
transform: translateX(-50%) translateY(-50%);
|
8057 |
-
font-family:
|
8058 |
color: #ed552d;
|
8059 |
font-size: 18px;
|
8060 |
width: 100%;
|
8049 |
}
|
8050 |
|
8051 |
.htmega-marker-style-2 .htmega_image_pointer::before {
|
8052 |
+
content: "\f067";
|
8053 |
position: absolute;
|
8054 |
left: 50%;
|
8055 |
top: 50%;
|
8056 |
transform: translateX(-50%) translateY(-50%);
|
8057 |
+
font-family: FontAwesome;
|
8058 |
color: #ed552d;
|
8059 |
font-size: 18px;
|
8060 |
width: 100%;
|
assets/extensions/ht-menu/css/mega-menu-style.css
CHANGED
@@ -355,7 +355,7 @@
|
|
355 |
padding: 0;
|
356 |
width: 250px;
|
357 |
}
|
358 |
-
.htmega-verticle-menu ul > li:hover
|
359 |
opacity: 1;
|
360 |
visibility: visible;
|
361 |
}
|
355 |
padding: 0;
|
356 |
width: 250px;
|
357 |
}
|
358 |
+
.htmega-verticle-menu ul > li:hover .htmegamenu-content-wrapper, .htmega-verticle-menu ul > li:hover .sub-menu {
|
359 |
opacity: 1;
|
360 |
visibility: visible;
|
361 |
}
|
assets/js/jquery.mousewheel.js
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
*/
|
12 |
|
13 |
;(function($) {
|
14 |
-
|
15 |
var types = ['DOMMouseScroll', 'mousewheel'];
|
16 |
|
17 |
$.event.special.mousewheel = {
|
11 |
*/
|
12 |
|
13 |
;(function($) {
|
14 |
+
|
15 |
var types = ['DOMMouseScroll', 'mousewheel'];
|
16 |
|
17 |
$.event.special.mousewheel = {
|
assets/js/mapmarker.jquery.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
;(function($){
|
2 |
-
"use strict";
|
3 |
$.fn.mapmarker = function(options){
|
4 |
var opts = $.extend({}, $.fn.mapmarker.defaults, options);
|
5 |
|
1 |
;(function($){
|
|
|
2 |
$.fn.mapmarker = function(options){
|
3 |
var opts = $.extend({}, $.fn.mapmarker.defaults, options);
|
4 |
|
extensions/ht-builder/widgets/bl_post_author_info.php
CHANGED
@@ -225,6 +225,10 @@ class Bl_Post_Author_Info_ELement extends Widget_Base {
|
|
225 |
[
|
226 |
'label' => __( 'Color', 'ht-builder' ),
|
227 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
228 |
'selectors' => [
|
229 |
'{{WRAPPER}} .htauthor-info .htauthor-name' => 'color: {{VALUE}}',
|
230 |
],
|
@@ -266,6 +270,10 @@ class Bl_Post_Author_Info_ELement extends Widget_Base {
|
|
266 |
[
|
267 |
'label' => __( 'Color', 'ht-builder' ),
|
268 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
269 |
'selectors' => [
|
270 |
'{{WRAPPER}} .htauthor-info .htbuilder-bio' => 'color: {{VALUE}}',
|
271 |
],
|
225 |
[
|
226 |
'label' => __( 'Color', 'ht-builder' ),
|
227 |
'type' => Controls_Manager::COLOR,
|
228 |
+
'scheme' => [
|
229 |
+
'type' => Scheme_Color::get_type(),
|
230 |
+
'value' => Scheme_Color::COLOR_2,
|
231 |
+
],
|
232 |
'selectors' => [
|
233 |
'{{WRAPPER}} .htauthor-info .htauthor-name' => 'color: {{VALUE}}',
|
234 |
],
|
270 |
[
|
271 |
'label' => __( 'Color', 'ht-builder' ),
|
272 |
'type' => Controls_Manager::COLOR,
|
273 |
+
'scheme' => [
|
274 |
+
'type' => Scheme_Color::get_type(),
|
275 |
+
'value' => Scheme_Color::COLOR_2,
|
276 |
+
],
|
277 |
'selectors' => [
|
278 |
'{{WRAPPER}} .htauthor-info .htbuilder-bio' => 'color: {{VALUE}}',
|
279 |
],
|
htmega_addons_elementor.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: http://demo.wphash.com/htmega/
|
6 |
* Author: HasThemes
|
7 |
* Author URI: https://hasthemes.com/
|
8 |
-
* Version: 1.5.
|
9 |
* License: GPL2
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: htmega-addons
|
@@ -13,7 +13,7 @@
|
|
13 |
*/
|
14 |
|
15 |
if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
|
16 |
-
define( 'HTMEGA_VERSION', '1.5.
|
17 |
define( 'HTMEGA_ADDONS_PL_ROOT', __FILE__ );
|
18 |
define( 'HTMEGA_ADDONS_PL_URL', plugins_url( '/', HTMEGA_ADDONS_PL_ROOT ) );
|
19 |
define( 'HTMEGA_ADDONS_PL_PATH', plugin_dir_path( HTMEGA_ADDONS_PL_ROOT ) );
|
5 |
* Plugin URI: http://demo.wphash.com/htmega/
|
6 |
* Author: HasThemes
|
7 |
* Author URI: https://hasthemes.com/
|
8 |
+
* Version: 1.5.1
|
9 |
* License: GPL2
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: htmega-addons
|
13 |
*/
|
14 |
|
15 |
if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
|
16 |
+
define( 'HTMEGA_VERSION', '1.5.1' );
|
17 |
define( 'HTMEGA_ADDONS_PL_ROOT', __FILE__ );
|
18 |
define( 'HTMEGA_ADDONS_PL_URL', plugins_url( '/', HTMEGA_ADDONS_PL_ROOT ) );
|
19 |
define( 'HTMEGA_ADDONS_PL_PATH', plugin_dir_path( HTMEGA_ADDONS_PL_ROOT ) );
|
includes/widgets/htmega_accordion.php
CHANGED
@@ -56,208 +56,184 @@ class HTMega_Elementor_Widget_Accordion extends Widget_Base {
|
|
56 |
);
|
57 |
|
58 |
// Accordion One Repeater
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
-
$repeater = new Repeater();
|
64 |
|
65 |
-
$repeater->add_control(
|
66 |
-
'accordion_title',
|
67 |
-
[
|
68 |
-
'label' => __( 'Title', 'htmega-addons' ),
|
69 |
-
'type' => Controls_Manager::TEXT,
|
70 |
-
]
|
71 |
-
);
|
72 |
-
$repeater->add_control(
|
73 |
-
'content_source',
|
74 |
-
[
|
75 |
-
'label' => __( 'Select Content Source', 'htmega-addons' ),
|
76 |
-
'type' => Controls_Manager::SELECT,
|
77 |
-
'default' => 'custom',
|
78 |
-
'options' => [
|
79 |
-
'custom' => __( 'Custom', 'htmega-addons' ),
|
80 |
-
"elementor" => __( 'Elementor Template', 'htmega-addons' ),
|
81 |
-
],
|
82 |
-
]
|
83 |
-
);
|
84 |
-
$repeater->add_control(
|
85 |
-
'accordion_content',
|
86 |
-
[
|
87 |
-
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
88 |
-
'type' => Controls_Manager::WYSIWYG,
|
89 |
-
'condition' => [
|
90 |
-
'content_source' =>'custom',
|
91 |
-
],
|
92 |
-
]
|
93 |
-
);
|
94 |
-
$repeater->add_control(
|
95 |
-
'template_id',
|
96 |
-
[
|
97 |
-
|
98 |
-
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
99 |
-
'type' => Controls_Manager::SELECT,
|
100 |
-
'default' => '0',
|
101 |
-
'options' => htmega_elementor_template(),
|
102 |
-
'condition' => [
|
103 |
-
'content_source' => "elementor"
|
104 |
],
|
|
|
105 |
]
|
106 |
);
|
107 |
|
108 |
-
$this->add_control(
|
109 |
-
'htmega_accordion_list',
|
110 |
-
[
|
111 |
-
'label' => __( 'Accordion Items', 'htmega-addons' ),
|
112 |
-
'type' => Controls_Manager::REPEATER,
|
113 |
-
'fields' => $repeater->get_controls(),
|
114 |
-
'condition' => [
|
115 |
-
'accordiantstyle' =>'one',
|
116 |
-
],
|
117 |
-
'default' => [
|
118 |
-
[
|
119 |
-
'accordion_title' => __( 'Accordion Title One', 'htmega-addons' ),
|
120 |
-
'accordion_content' => __( 'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.', 'htmega-addons' ),
|
121 |
-
|
122 |
-
],
|
123 |
-
[
|
124 |
-
'accordion_title' => __( 'Accordion Title Two', 'htmega-addons' ),
|
125 |
-
'accordion_content' => __( 'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.', 'htmega-addons' ),
|
126 |
-
],
|
127 |
-
[
|
128 |
-
'accordion_title' => __( 'Accordion Title Two', 'htmega-addons' ),
|
129 |
-
'accordion_content' => __( 'Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.', 'htmega-addons' ),
|
130 |
-
],
|
131 |
-
],
|
132 |
-
'title_field' => '{{{ accordion_title }}}',
|
133 |
-
]
|
134 |
-
); //end style one
|
135 |
|
136 |
// Accordion Two Repeater
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
$repeater2->add_control(
|
141 |
-
'accordion_title',
|
142 |
-
[
|
143 |
-
'label' => __( 'Title', 'htmega-addons' ),
|
144 |
-
'type' => Controls_Manager::TEXT,
|
145 |
-
]
|
146 |
-
);
|
147 |
-
$repeater2->add_control(
|
148 |
-
'accordion_image',
|
149 |
[
|
150 |
-
|
151 |
-
'
|
152 |
-
|
153 |
-
'url' => Utils::get_placeholder_image_src(),
|
154 |
],
|
155 |
-
|
156 |
-
);
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
'type' => Controls_Manager::REPEATER,
|
163 |
-
'fields' => $repeater2->get_controls(),
|
164 |
-
'condition' => [
|
165 |
-
'accordiantstyle' =>'two',
|
166 |
-
],
|
167 |
-
'default' => [
|
168 |
-
[
|
169 |
-
'accordion_title' => __( 'Accordion Title', 'htmega-addons' ),
|
170 |
-
|
171 |
],
|
172 |
-
],
|
173 |
-
'title_field' => '{{{ accordion_title }}}',
|
174 |
-
]
|
175 |
-
); //end style two
|
176 |
-
|
177 |
-
// Accordion Three Repeater
|
178 |
-
|
179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
|
183 |
-
$repeater3->add_control(
|
184 |
-
'accordion_title',
|
185 |
-
[
|
186 |
-
'label' => __( 'Title', 'htmega-addons' ),
|
187 |
-
'type' => Controls_Manager::TEXT,
|
188 |
-
]
|
189 |
-
);
|
190 |
-
$repeater3->add_control(
|
191 |
-
'accordion_image',
|
192 |
-
[
|
193 |
-
'label' => __( 'Image', 'htmega-addons' ),
|
194 |
-
'type' => Controls_Manager::MEDIA,
|
195 |
-
'default' => [
|
196 |
-
'url' => Utils::get_placeholder_image_src(),
|
197 |
],
|
|
|
198 |
]
|
199 |
);
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
'default' => 'custom',
|
206 |
-
'options' => [
|
207 |
-
'custom' => __( 'Custom', 'htmega-addons' ),
|
208 |
-
"elementor" => __( 'Elementor Template', 'htmega-addons' ),
|
209 |
-
],
|
210 |
-
]
|
211 |
-
);
|
212 |
-
$repeater3->add_control(
|
213 |
-
'accordion_content',
|
214 |
[
|
215 |
-
|
216 |
-
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
217 |
-
'type' => Controls_Manager::WYSIWYG,
|
218 |
-
'default' => __( 'Accordion Content', 'htmega-addons' ),
|
219 |
'condition' => [
|
220 |
-
'
|
221 |
],
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
'type' => Controls_Manager::SELECT,
|
229 |
-
'default' => '0',
|
230 |
-
'options' => htmega_elementor_template(),
|
231 |
-
'condition' => [
|
232 |
-
'content_source' => "elementor"
|
233 |
-
],
|
234 |
-
]
|
235 |
-
);
|
236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
|
241 |
-
$this->add_control(
|
242 |
-
'htmega_accordion_list_three',
|
243 |
-
[
|
244 |
-
'label' => __( 'Accordion Items', 'htmega-addons' ),
|
245 |
-
'type' => Controls_Manager::REPEATER,
|
246 |
-
'fields' => $repeater3->get_controls(),
|
247 |
-
'condition' => [
|
248 |
-
'accordiantstyle' =>array( 'three','four' ),
|
249 |
-
],
|
250 |
-
'default' => [
|
251 |
[
|
252 |
-
|
253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
],
|
255 |
-
|
|
|
256 |
],
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
); //end style three
|
261 |
|
262 |
$this->add_control(
|
263 |
'accourdion_title_html_tag',
|
56 |
);
|
57 |
|
58 |
// Accordion One Repeater
|
59 |
+
$this->add_control(
|
60 |
+
'htmega_accordion_list',
|
61 |
+
[
|
62 |
+
'label' => __( 'Accordion Items', 'htmega-addons' ),
|
63 |
+
'condition' => [
|
64 |
+
'accordiantstyle' =>'one',
|
65 |
+
],
|
66 |
+
'type' => Controls_Manager::REPEATER,
|
67 |
+
'default' => [
|
68 |
+
[
|
69 |
+
'accordion_title' => __('Accordion Title One','htmega-addons'),
|
70 |
+
'accordion_content' => __('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.','htmega-addons'),
|
71 |
+
],
|
72 |
+
[
|
73 |
+
'accordion_title' => __('Accordion Title Two','htmega-addons'),
|
74 |
+
'accordion_content' => __('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.','htmega-addons'),
|
75 |
+
],
|
76 |
+
[
|
77 |
+
'accordion_title' => __('Accordion Title Three','htmega-addons'),
|
78 |
+
'accordion_content' => __('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.','htmega-addons'),
|
79 |
+
],
|
80 |
+
],
|
81 |
+
'fields' => [
|
82 |
+
[
|
83 |
+
'name' => 'accordion_title',
|
84 |
+
'label' => __( 'Title', 'htmega-addons' ),
|
85 |
+
'type' => Controls_Manager::TEXT,
|
86 |
+
'default' => __( 'Accordion Title' , 'htmega-addons' ),
|
87 |
+
],
|
88 |
|
89 |
+
[
|
90 |
+
'name' => 'content_source',
|
91 |
+
'label' => __( 'Select Content Source', 'htmega-addons' ),
|
92 |
+
'type' => Controls_Manager::SELECT,
|
93 |
+
'default' => 'custom',
|
94 |
+
'options' => [
|
95 |
+
'custom' => __( 'Custom', 'htmega-addons' ),
|
96 |
+
"elementor" => __( 'Elementor Template', 'htmega-addons' ),
|
97 |
+
],
|
98 |
+
],
|
99 |
|
100 |
+
[
|
101 |
+
'name' => 'accordion_content',
|
102 |
+
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
103 |
+
'type' => Controls_Manager::WYSIWYG,
|
104 |
+
'default' => __( 'Accordion Content', 'htmega-addons' ),
|
105 |
+
'condition' => [
|
106 |
+
'content_source' =>'custom',
|
107 |
+
],
|
108 |
+
],
|
109 |
|
110 |
+
[
|
111 |
+
'name' => 'template_id',
|
112 |
+
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
113 |
+
'type' => Controls_Manager::SELECT,
|
114 |
+
'default' => '0',
|
115 |
+
'options' => htmega_elementor_template(),
|
116 |
+
'condition' => [
|
117 |
+
'content_source' => "elementor"
|
118 |
+
],
|
119 |
+
],
|
120 |
|
|
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
],
|
123 |
+
'title_field' => '{{{ accordion_title }}}',
|
124 |
]
|
125 |
);
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
// Accordion Two Repeater
|
129 |
+
$this->add_control(
|
130 |
+
'htmega_accordion_list_two',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
[
|
132 |
+
'label' => __( 'Accordion Items', 'htmega-addons' ),
|
133 |
+
'condition' => [
|
134 |
+
'accordiantstyle' =>'two',
|
|
|
135 |
],
|
136 |
+
'type' => Controls_Manager::REPEATER,
|
|
|
137 |
|
138 |
+
'default' => [
|
139 |
+
[
|
140 |
+
'accordion_title' => __('Accordion Title One','htmega-addons'),
|
141 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
+
'fields' => [
|
145 |
+
[
|
146 |
+
'name' => 'accordion_title',
|
147 |
+
'label' => __( 'Title', 'htmega-addons' ),
|
148 |
+
'type' => Controls_Manager::TEXT,
|
149 |
+
'default' => __( 'Accordion Title' , 'htmega-addons' ),
|
150 |
+
],
|
151 |
|
152 |
+
[
|
153 |
+
'name' => 'accordion_image',
|
154 |
+
'label' => __( 'Image', 'htmega-addons' ),
|
155 |
+
'type' => Controls_Manager::MEDIA,
|
156 |
+
'default' => [
|
157 |
+
'url' => Utils::get_placeholder_image_src(),
|
158 |
+
],
|
159 |
+
],
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
],
|
162 |
+
'title_field' => '{{{ accordion_title }}}',
|
163 |
]
|
164 |
);
|
165 |
+
|
166 |
+
|
167 |
+
// Accordion Three Repeater
|
168 |
+
$this->add_control(
|
169 |
+
'htmega_accordion_list_three',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
[
|
171 |
+
'label' => __( 'Accordion Items', 'htmega-addons' ),
|
|
|
|
|
|
|
172 |
'condition' => [
|
173 |
+
'accordiantstyle' =>array( 'three','four' ),
|
174 |
],
|
175 |
+
'type' => Controls_Manager::REPEATER,
|
176 |
+
'default' => [
|
177 |
+
[
|
178 |
+
'accordion_title' => __('Accordion Title One','htmega-addons'),
|
179 |
+
'accordion_content' => __('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably have not heard of them accusamus labore sustainable VHS.','htmega-addons'),
|
180 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
+
],
|
183 |
+
'fields' => [
|
184 |
+
[
|
185 |
+
'name' => 'accordion_title',
|
186 |
+
'label' => __( 'Title', 'htmega-addons' ),
|
187 |
+
'type' => Controls_Manager::TEXT,
|
188 |
+
'default' => __( 'Accordion Title' , 'htmega-addons' ),
|
189 |
+
],
|
190 |
|
191 |
+
[
|
192 |
+
'name' => 'accordion_image',
|
193 |
+
'label' => __( 'Image', 'htmega-addons' ),
|
194 |
+
'type' => Controls_Manager::MEDIA,
|
195 |
+
'default' => [
|
196 |
+
'url' => Utils::get_placeholder_image_src(),
|
197 |
+
],
|
198 |
+
],
|
199 |
|
200 |
+
[
|
201 |
+
'name' => 'content_source',
|
202 |
+
'label' => __( 'Select Content Source', 'htmega-addons' ),
|
203 |
+
'type' => Controls_Manager::SELECT,
|
204 |
+
'default' => 'custom',
|
205 |
+
'options' => [
|
206 |
+
'custom' => __( 'Custom', 'htmega-addons' ),
|
207 |
+
"elementor" => __( 'Elementor Template', 'htmega-addons' ),
|
208 |
+
],
|
209 |
+
],
|
210 |
|
211 |
+
[
|
212 |
+
'name' => 'accordion_content',
|
213 |
+
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
214 |
+
'type' => Controls_Manager::WYSIWYG,
|
215 |
+
'default' => __( 'Accordion Content', 'htmega-addons' ),
|
216 |
+
'condition' => [
|
217 |
+
'content_source' =>'custom',
|
218 |
+
],
|
219 |
+
],
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
[
|
222 |
+
'name' => 'template_id',
|
223 |
+
'label' => __( 'Accordion Content', 'htmega-addons' ),
|
224 |
+
'type' => Controls_Manager::SELECT,
|
225 |
+
'default' => '0',
|
226 |
+
'options' => htmega_elementor_template(),
|
227 |
+
'condition' => [
|
228 |
+
'content_source' => "elementor"
|
229 |
+
],
|
230 |
],
|
231 |
+
|
232 |
+
|
233 |
],
|
234 |
+
'title_field' => '{{{ accordion_title }}}',
|
235 |
+
]
|
236 |
+
); // End Repeater Three
|
|
|
237 |
|
238 |
$this->add_control(
|
239 |
'accourdion_title_html_tag',
|
includes/widgets/htmega_add_banner.php
CHANGED
@@ -214,6 +214,10 @@ class HTMega_Elementor_Widget_Add_Banner extends Widget_Base {
|
|
214 |
[
|
215 |
'label' => __( 'Color', 'htmega-addons' ),
|
216 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
217 |
'default' => '#1f1e26',
|
218 |
'selectors' => [
|
219 |
'{{WRAPPER}} .htmega-banner .banner-content h2' => 'color: {{VALUE}};',
|
@@ -274,6 +278,10 @@ class HTMega_Elementor_Widget_Add_Banner extends Widget_Base {
|
|
274 |
[
|
275 |
'label' => __( 'Color', 'htmega-addons' ),
|
276 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
277 |
'default' => '#1f1e26',
|
278 |
'selectors' => [
|
279 |
'{{WRAPPER}} .htmega-banner .banner-content h6' => 'color: {{VALUE}};',
|
@@ -334,6 +342,10 @@ class HTMega_Elementor_Widget_Add_Banner extends Widget_Base {
|
|
334 |
[
|
335 |
'label' => __( 'Color', 'htmega-addons' ),
|
336 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
337 |
'default' => '#1f1e26',
|
338 |
'selectors' => [
|
339 |
'{{WRAPPER}} .htmega-banner .banner-content p' => 'color: {{VALUE}};',
|
214 |
[
|
215 |
'label' => __( 'Color', 'htmega-addons' ),
|
216 |
'type' => Controls_Manager::COLOR,
|
217 |
+
'scheme' => [
|
218 |
+
'type' => Scheme_Color::get_type(),
|
219 |
+
'value' => Scheme_Color::COLOR_1,
|
220 |
+
],
|
221 |
'default' => '#1f1e26',
|
222 |
'selectors' => [
|
223 |
'{{WRAPPER}} .htmega-banner .banner-content h2' => 'color: {{VALUE}};',
|
278 |
[
|
279 |
'label' => __( 'Color', 'htmega-addons' ),
|
280 |
'type' => Controls_Manager::COLOR,
|
281 |
+
'scheme' => [
|
282 |
+
'type' => Scheme_Color::get_type(),
|
283 |
+
'value' => Scheme_Color::COLOR_1,
|
284 |
+
],
|
285 |
'default' => '#1f1e26',
|
286 |
'selectors' => [
|
287 |
'{{WRAPPER}} .htmega-banner .banner-content h6' => 'color: {{VALUE}};',
|
342 |
[
|
343 |
'label' => __( 'Color', 'htmega-addons' ),
|
344 |
'type' => Controls_Manager::COLOR,
|
345 |
+
'scheme' => [
|
346 |
+
'type' => Scheme_Color::get_type(),
|
347 |
+
'value' => Scheme_Color::COLOR_1,
|
348 |
+
],
|
349 |
'default' => '#1f1e26',
|
350 |
'selectors' => [
|
351 |
'{{WRAPPER}} .htmega-banner .banner-content p' => 'color: {{VALUE}};',
|
includes/widgets/htmega_blockquote.php
CHANGED
@@ -270,6 +270,10 @@ class HTMega_Elementor_Widget_Blockquote extends Widget_Base {
|
|
270 |
[
|
271 |
'label' => __( 'Color', 'htmega-addons' ),
|
272 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
273 |
'default' => '#5b5b5b',
|
274 |
'selectors' => [
|
275 |
'{{WRAPPER}} .htmega-blockquote blockquote .blockquote_content' => 'color: {{VALUE}};',
|
@@ -328,6 +332,10 @@ class HTMega_Elementor_Widget_Blockquote extends Widget_Base {
|
|
328 |
[
|
329 |
'label' => __( 'Color', 'htmega-addons' ),
|
330 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
331 |
'default' => '#0056ff',
|
332 |
'selectors' => [
|
333 |
'{{WRAPPER}} .htmega-blockquote blockquote cite' => 'color: {{VALUE}};',
|
@@ -410,6 +418,10 @@ class HTMega_Elementor_Widget_Blockquote extends Widget_Base {
|
|
410 |
[
|
411 |
'label' => __( 'Separator Color', 'htmega-addons' ),
|
412 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
413 |
'default' => '#0056ff',
|
414 |
'selectors' => [
|
415 |
'{{WRAPPER}} .htmega-blockquote blockquote cite::before' => 'background-color: {{VALUE}};',
|
@@ -492,6 +504,10 @@ class HTMega_Elementor_Widget_Blockquote extends Widget_Base {
|
|
492 |
[
|
493 |
'label' => __( 'Color', 'htmega-addons' ),
|
494 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
495 |
'default' => '#ffffff',
|
496 |
'selectors' => [
|
497 |
'{{WRAPPER}} .htmega-blockquote blockquote .blockquote_icon' => 'color: {{VALUE}};',
|
270 |
[
|
271 |
'label' => __( 'Color', 'htmega-addons' ),
|
272 |
'type' => Controls_Manager::COLOR,
|
273 |
+
'scheme' => [
|
274 |
+
'type' => Scheme_Color::get_type(),
|
275 |
+
'value' => Scheme_Color::COLOR_1,
|
276 |
+
],
|
277 |
'default' => '#5b5b5b',
|
278 |
'selectors' => [
|
279 |
'{{WRAPPER}} .htmega-blockquote blockquote .blockquote_content' => 'color: {{VALUE}};',
|
332 |
[
|
333 |
'label' => __( 'Color', 'htmega-addons' ),
|
334 |
'type' => Controls_Manager::COLOR,
|
335 |
+
'scheme' => [
|
336 |
+
'type' => Scheme_Color::get_type(),
|
337 |
+
'value' => Scheme_Color::COLOR_1,
|
338 |
+
],
|
339 |
'default' => '#0056ff',
|
340 |
'selectors' => [
|
341 |
'{{WRAPPER}} .htmega-blockquote blockquote cite' => 'color: {{VALUE}};',
|
418 |
[
|
419 |
'label' => __( 'Separator Color', 'htmega-addons' ),
|
420 |
'type' => Controls_Manager::COLOR,
|
421 |
+
'scheme' => [
|
422 |
+
'type' => Scheme_Color::get_type(),
|
423 |
+
'value' => Scheme_Color::COLOR_1,
|
424 |
+
],
|
425 |
'default' => '#0056ff',
|
426 |
'selectors' => [
|
427 |
'{{WRAPPER}} .htmega-blockquote blockquote cite::before' => 'background-color: {{VALUE}};',
|
504 |
[
|
505 |
'label' => __( 'Color', 'htmega-addons' ),
|
506 |
'type' => Controls_Manager::COLOR,
|
507 |
+
'scheme' => [
|
508 |
+
'type' => Scheme_Color::get_type(),
|
509 |
+
'value' => Scheme_Color::COLOR_1,
|
510 |
+
],
|
511 |
'default' => '#ffffff',
|
512 |
'selectors' => [
|
513 |
'{{WRAPPER}} .htmega-blockquote blockquote .blockquote_icon' => 'color: {{VALUE}};',
|
includes/widgets/htmega_brand.php
CHANGED
@@ -91,7 +91,7 @@ class HTMega_Elementor_Widget_Brand extends Widget_Base {
|
|
91 |
'htmega_brand_list',
|
92 |
[
|
93 |
'type' => Controls_Manager::REPEATER,
|
94 |
-
'fields' => $repeater->get_controls(),
|
95 |
'default' => [
|
96 |
|
97 |
[
|
91 |
'htmega_brand_list',
|
92 |
[
|
93 |
'type' => Controls_Manager::REPEATER,
|
94 |
+
'fields' => array_values( $repeater->get_controls() ),
|
95 |
'default' => [
|
96 |
|
97 |
[
|
includes/widgets/htmega_business_hours.php
CHANGED
@@ -82,6 +82,10 @@ class HTMega_Elementor_Widget_Business_Hours extends Widget_Base {
|
|
82 |
[
|
83 |
'label' => __( 'Day Color', 'htmega-addons' ),
|
84 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
85 |
'default' => '#fa2d2d',
|
86 |
'selectors' => [
|
87 |
'{{WRAPPER}} .htmega-single-hrs{{CURRENT_ITEM}}.htmega-single-hrs.closed-day span.day' => 'color: {{VALUE}}',
|
@@ -98,6 +102,10 @@ class HTMega_Elementor_Widget_Business_Hours extends Widget_Base {
|
|
98 |
[
|
99 |
'label' => __( 'Time Color', 'htmega-addons' ),
|
100 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
101 |
'default' => '#fa2d2d',
|
102 |
'selectors' => [
|
103 |
'{{WRAPPER}} .htmega-single-hrs{{CURRENT_ITEM}}.htmega-single-hrs.closed-day span.time' => 'color: {{VALUE}}',
|
@@ -128,7 +136,7 @@ class HTMega_Elementor_Widget_Business_Hours extends Widget_Base {
|
|
128 |
'business_openday_list',
|
129 |
[
|
130 |
'type' => Controls_Manager::REPEATER,
|
131 |
-
'fields' => $repeater->get_controls(),
|
132 |
'default' => [
|
133 |
[
|
134 |
'business_day' => __( 'Saturday', 'htmega-addons' ),
|
82 |
[
|
83 |
'label' => __( 'Day Color', 'htmega-addons' ),
|
84 |
'type' => Controls_Manager::COLOR,
|
85 |
+
'scheme' => [
|
86 |
+
'type' => Scheme_Color::get_type(),
|
87 |
+
'value' => Scheme_Color::COLOR_2,
|
88 |
+
],
|
89 |
'default' => '#fa2d2d',
|
90 |
'selectors' => [
|
91 |
'{{WRAPPER}} .htmega-single-hrs{{CURRENT_ITEM}}.htmega-single-hrs.closed-day span.day' => 'color: {{VALUE}}',
|
102 |
[
|
103 |
'label' => __( 'Time Color', 'htmega-addons' ),
|
104 |
'type' => Controls_Manager::COLOR,
|
105 |
+
'scheme' => [
|
106 |
+
'type' => Scheme_Color::get_type(),
|
107 |
+
'value' => Scheme_Color::COLOR_4,
|
108 |
+
],
|
109 |
'default' => '#fa2d2d',
|
110 |
'selectors' => [
|
111 |
'{{WRAPPER}} .htmega-single-hrs{{CURRENT_ITEM}}.htmega-single-hrs.closed-day span.time' => 'color: {{VALUE}}',
|
136 |
'business_openday_list',
|
137 |
[
|
138 |
'type' => Controls_Manager::REPEATER,
|
139 |
+
'fields' => array_values( $repeater->get_controls() ),
|
140 |
'default' => [
|
141 |
[
|
142 |
'business_day' => __( 'Saturday', 'htmega-addons' ),
|
includes/widgets/htmega_call_to_action.php
CHANGED
@@ -223,6 +223,10 @@ class HTMega_Elementor_Widget_Call_To_Action extends Widget_Base {
|
|
223 |
[
|
224 |
'label' => __( 'Color', 'htmega-addons' ),
|
225 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
226 |
'default' => '#f7ca18',
|
227 |
'selectors' => [
|
228 |
'{{WRAPPER}} .htmega-call-to-action .htmega-content .htmega-callto-action-title' => 'color: {{VALUE}};',
|
@@ -283,6 +287,10 @@ class HTMega_Elementor_Widget_Call_To_Action extends Widget_Base {
|
|
283 |
[
|
284 |
'label' => __( 'Color', 'htmega-addons' ),
|
285 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
286 |
'default' => '#5D532BE6',
|
287 |
'selectors' => [
|
288 |
'{{WRAPPER}} .htmega-call-to-action .htmega-content .htmega-callto-action-description' => 'color: {{VALUE}};',
|
223 |
[
|
224 |
'label' => __( 'Color', 'htmega-addons' ),
|
225 |
'type' => Controls_Manager::COLOR,
|
226 |
+
'scheme' => [
|
227 |
+
'type' => Scheme_Color::get_type(),
|
228 |
+
'value' => Scheme_Color::COLOR_1,
|
229 |
+
],
|
230 |
'default' => '#f7ca18',
|
231 |
'selectors' => [
|
232 |
'{{WRAPPER}} .htmega-call-to-action .htmega-content .htmega-callto-action-title' => 'color: {{VALUE}};',
|
287 |
[
|
288 |
'label' => __( 'Color', 'htmega-addons' ),
|
289 |
'type' => Controls_Manager::COLOR,
|
290 |
+
'scheme' => [
|
291 |
+
'type' => Scheme_Color::get_type(),
|
292 |
+
'value' => Scheme_Color::COLOR_1,
|
293 |
+
],
|
294 |
'default' => '#5D532BE6',
|
295 |
'selectors' => [
|
296 |
'{{WRAPPER}} .htmega-call-to-action .htmega-content .htmega-callto-action-description' => 'color: {{VALUE}};',
|
includes/widgets/htmega_carousel.php
CHANGED
@@ -93,7 +93,7 @@ class HTMega_Elementor_Widget_Carousel extends Widget_Base {
|
|
93 |
'carosul_image_list',
|
94 |
[
|
95 |
'type' => Controls_Manager::REPEATER,
|
96 |
-
'fields' => $repeater->get_controls(),
|
97 |
'default' => [
|
98 |
|
99 |
[
|
@@ -441,6 +441,10 @@ class HTMega_Elementor_Widget_Carousel extends Widget_Base {
|
|
441 |
[
|
442 |
'label' => __( 'Color', 'htmega-addons' ),
|
443 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
444 |
'default' => '#ffffff',
|
445 |
'selectors' => [
|
446 |
'{{WRAPPER}} .htmega-carousel-activation .slick-arrow' => 'color: {{VALUE}};',
|
@@ -587,6 +591,10 @@ class HTMega_Elementor_Widget_Carousel extends Widget_Base {
|
|
587 |
[
|
588 |
'label' => __( 'Color', 'htmega-addons' ),
|
589 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
590 |
'default' => '#ffffff',
|
591 |
'selectors' => [
|
592 |
'{{WRAPPER}} .htmega-carousel-activation .slick-arrow:hover' => 'color: {{VALUE}};',
|
93 |
'carosul_image_list',
|
94 |
[
|
95 |
'type' => Controls_Manager::REPEATER,
|
96 |
+
'fields' => array_values( $repeater->get_controls() ),
|
97 |
'default' => [
|
98 |
|
99 |
[
|
441 |
[
|
442 |
'label' => __( 'Color', 'htmega-addons' ),
|
443 |
'type' => Controls_Manager::COLOR,
|
444 |
+
'scheme' => [
|
445 |
+
'type' => Scheme_Color::get_type(),
|
446 |
+
'value' => Scheme_Color::COLOR_1,
|
447 |
+
],
|
448 |
'default' => '#ffffff',
|
449 |
'selectors' => [
|
450 |
'{{WRAPPER}} .htmega-carousel-activation .slick-arrow' => 'color: {{VALUE}};',
|
591 |
[
|
592 |
'label' => __( 'Color', 'htmega-addons' ),
|
593 |
'type' => Controls_Manager::COLOR,
|
594 |
+
'scheme' => [
|
595 |
+
'type' => Scheme_Color::get_type(),
|
596 |
+
'value' => Scheme_Color::COLOR_1,
|
597 |
+
],
|
598 |
'default' => '#ffffff',
|
599 |
'selectors' => [
|
600 |
'{{WRAPPER}} .htmega-carousel-activation .slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_countdown.php
CHANGED
@@ -535,6 +535,10 @@ class HTMega_Elementor_Widget_Countdown extends Widget_Base {
|
|
535 |
[
|
536 |
'label' => __( 'Color', 'htmega-addons' ),
|
537 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
538 |
'default' => '#5e5b60',
|
539 |
'condition'=>[
|
540 |
'counter_separator' => 'yes',
|
@@ -561,6 +565,10 @@ class HTMega_Elementor_Widget_Countdown extends Widget_Base {
|
|
561 |
[
|
562 |
'label' => __( 'Color', 'htmega-addons' ),
|
563 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
564 |
'default' => '#242424',
|
565 |
'selectors' => [
|
566 |
'{{WRAPPER}} .htmega-countbox span.time-count' => 'color: {{VALUE}};',
|
@@ -684,6 +692,10 @@ class HTMega_Elementor_Widget_Countdown extends Widget_Base {
|
|
684 |
[
|
685 |
'label' => __( 'Color', 'htmega-addons' ),
|
686 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
687 |
'default' => '#242424',
|
688 |
'selectors' => [
|
689 |
'{{WRAPPER}} .htmega-countbox span span.count-inner p' => 'color: {{VALUE}};',
|
535 |
[
|
536 |
'label' => __( 'Color', 'htmega-addons' ),
|
537 |
'type' => Controls_Manager::COLOR,
|
538 |
+
'scheme' => [
|
539 |
+
'type' => Scheme_Color::get_type(),
|
540 |
+
'value' => Scheme_Color::COLOR_1,
|
541 |
+
],
|
542 |
'default' => '#5e5b60',
|
543 |
'condition'=>[
|
544 |
'counter_separator' => 'yes',
|
565 |
[
|
566 |
'label' => __( 'Color', 'htmega-addons' ),
|
567 |
'type' => Controls_Manager::COLOR,
|
568 |
+
'scheme' => [
|
569 |
+
'type' => Scheme_Color::get_type(),
|
570 |
+
'value' => Scheme_Color::COLOR_1,
|
571 |
+
],
|
572 |
'default' => '#242424',
|
573 |
'selectors' => [
|
574 |
'{{WRAPPER}} .htmega-countbox span.time-count' => 'color: {{VALUE}};',
|
692 |
[
|
693 |
'label' => __( 'Color', 'htmega-addons' ),
|
694 |
'type' => Controls_Manager::COLOR,
|
695 |
+
'scheme' => [
|
696 |
+
'type' => Scheme_Color::get_type(),
|
697 |
+
'value' => Scheme_Color::COLOR_1,
|
698 |
+
],
|
699 |
'default' => '#242424',
|
700 |
'selectors' => [
|
701 |
'{{WRAPPER}} .htmega-countbox span span.count-inner p' => 'color: {{VALUE}};',
|
includes/widgets/htmega_counter.php
CHANGED
@@ -287,6 +287,10 @@ class HTMega_Elementor_Widget_Counter extends Widget_Base {
|
|
287 |
[
|
288 |
'label' => __( 'Color', 'htmega-addons' ),
|
289 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
290 |
'default' => '#696969',
|
291 |
'selectors' => [
|
292 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-counter-number' => 'color: {{VALUE}};',
|
@@ -380,6 +384,10 @@ class HTMega_Elementor_Widget_Counter extends Widget_Base {
|
|
380 |
[
|
381 |
'label' => __( 'Color', 'htmega-addons' ),
|
382 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
383 |
'default' => '#898989',
|
384 |
'selectors' => [
|
385 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-counter-title' => 'color: {{VALUE}};',
|
@@ -456,6 +464,11 @@ class HTMega_Elementor_Widget_Counter extends Widget_Base {
|
|
456 |
[
|
457 |
'label' => __( 'Title After Border Color', 'htmega-addons' ),
|
458 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
|
|
459 |
'selectors' => [
|
460 |
'{{WRAPPER}} .htmega-counter-content h2::before' => 'background-color: {{VALUE}};',
|
461 |
],
|
@@ -480,6 +493,10 @@ class HTMega_Elementor_Widget_Counter extends Widget_Base {
|
|
480 |
[
|
481 |
'label' => __( 'Color', 'htmega-addons' ),
|
482 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
483 |
'default' => '#ed552d',
|
484 |
'selectors' => [
|
485 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-icon i' => 'color: {{VALUE}};',
|
@@ -589,6 +606,10 @@ class HTMega_Elementor_Widget_Counter extends Widget_Base {
|
|
589 |
[
|
590 |
'label' => __( 'Color', 'htmega-addons' ),
|
591 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
592 |
'default' => '#696969',
|
593 |
'selectors' => [
|
594 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-prefix' => 'color: {{VALUE}};',
|
@@ -678,6 +699,10 @@ class HTMega_Elementor_Widget_Counter extends Widget_Base {
|
|
678 |
[
|
679 |
'label' => __( 'Color', 'htmega-addons' ),
|
680 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
681 |
'default' => '#696969',
|
682 |
'selectors' => [
|
683 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-suffix' => 'color: {{VALUE}};',
|
287 |
[
|
288 |
'label' => __( 'Color', 'htmega-addons' ),
|
289 |
'type' => Controls_Manager::COLOR,
|
290 |
+
'scheme' => [
|
291 |
+
'type' => Scheme_Color::get_type(),
|
292 |
+
'value' => Scheme_Color::COLOR_1,
|
293 |
+
],
|
294 |
'default' => '#696969',
|
295 |
'selectors' => [
|
296 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-counter-number' => 'color: {{VALUE}};',
|
384 |
[
|
385 |
'label' => __( 'Color', 'htmega-addons' ),
|
386 |
'type' => Controls_Manager::COLOR,
|
387 |
+
'scheme' => [
|
388 |
+
'type' => Scheme_Color::get_type(),
|
389 |
+
'value' => Scheme_Color::COLOR_1,
|
390 |
+
],
|
391 |
'default' => '#898989',
|
392 |
'selectors' => [
|
393 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-counter-title' => 'color: {{VALUE}};',
|
464 |
[
|
465 |
'label' => __( 'Title After Border Color', 'htmega-addons' ),
|
466 |
'type' => Controls_Manager::COLOR,
|
467 |
+
'scheme' => [
|
468 |
+
'type' => Scheme_Color::get_type(),
|
469 |
+
'value' => Scheme_Color::COLOR_1,
|
470 |
+
],
|
471 |
+
'default' => '',
|
472 |
'selectors' => [
|
473 |
'{{WRAPPER}} .htmega-counter-content h2::before' => 'background-color: {{VALUE}};',
|
474 |
],
|
493 |
[
|
494 |
'label' => __( 'Color', 'htmega-addons' ),
|
495 |
'type' => Controls_Manager::COLOR,
|
496 |
+
'scheme' => [
|
497 |
+
'type' => Scheme_Color::get_type(),
|
498 |
+
'value' => Scheme_Color::COLOR_1,
|
499 |
+
],
|
500 |
'default' => '#ed552d',
|
501 |
'selectors' => [
|
502 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-icon i' => 'color: {{VALUE}};',
|
606 |
[
|
607 |
'label' => __( 'Color', 'htmega-addons' ),
|
608 |
'type' => Controls_Manager::COLOR,
|
609 |
+
'scheme' => [
|
610 |
+
'type' => Scheme_Color::get_type(),
|
611 |
+
'value' => Scheme_Color::COLOR_1,
|
612 |
+
],
|
613 |
'default' => '#696969',
|
614 |
'selectors' => [
|
615 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-prefix' => 'color: {{VALUE}};',
|
699 |
[
|
700 |
'label' => __( 'Color', 'htmega-addons' ),
|
701 |
'type' => Controls_Manager::COLOR,
|
702 |
+
'scheme' => [
|
703 |
+
'type' => Scheme_Color::get_type(),
|
704 |
+
'value' => Scheme_Color::COLOR_1,
|
705 |
+
],
|
706 |
'default' => '#696969',
|
707 |
'selectors' => [
|
708 |
'{{WRAPPER}} .htmega-counter-area .htmega-counter-content .htmega-suffix' => 'color: {{VALUE}};',
|
includes/widgets/htmega_cuctom_event.php
CHANGED
@@ -135,9 +135,13 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
135 |
[
|
136 |
'label' => __( 'Color', 'htmega-addons' ),
|
137 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
138 |
'default' => '#000000',
|
139 |
'selectors' => [
|
140 |
-
'{{WRAPPER}} .ht-event .content h4
|
141 |
],
|
142 |
]
|
143 |
);
|
@@ -191,6 +195,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
191 |
[
|
192 |
'label' => __( 'Color', 'htmega-addons' ),
|
193 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
194 |
'default' => '#000000',
|
195 |
'selectors' => [
|
196 |
'{{WRAPPER}} .ht-event .content h4 a:hover' => 'color: {{VALUE}};',
|
@@ -221,6 +229,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
221 |
[
|
222 |
'label' => __( 'Color', 'htmega-addons' ),
|
223 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
224 |
'default' => '#727272',
|
225 |
'selectors' => [
|
226 |
'{{WRAPPER}} .ht-event .content p' => 'color: {{VALUE}};',
|
@@ -279,6 +291,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
279 |
[
|
280 |
'label' => __( 'Color', 'htmega-addons' ),
|
281 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
282 |
'default' => '#909090',
|
283 |
'selectors' => [
|
284 |
'{{WRAPPER}} .ht-event .content ul.event-time li' => 'color: {{VALUE}};',
|
@@ -325,6 +341,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
325 |
[
|
326 |
'label' => __( 'Color', 'htmega-addons' ),
|
327 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
328 |
'default' => '#fff',
|
329 |
'selectors' => [
|
330 |
'{{WRAPPER}} .ht-event .thumb .event-date' => 'color: {{VALUE}};',
|
@@ -337,6 +357,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
337 |
[
|
338 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
339 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
340 |
'default' => '#141414',
|
341 |
'selectors' => [
|
342 |
'{{WRAPPER}} .ht-event .thumb .event-date' => 'background-color: {{VALUE}};',
|
@@ -394,6 +418,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
394 |
[
|
395 |
'label' => __( 'Color', 'htmega-addons' ),
|
396 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
397 |
'default' => '#727272',
|
398 |
'selectors' => [
|
399 |
'{{WRAPPER}} .ht-event .content .event-btn a' => 'color: {{VALUE}};',
|
@@ -445,6 +473,10 @@ class HTMega_Elementor_Widget_Custom_Event extends Widget_Base {
|
|
445 |
[
|
446 |
'label' => __( 'Color', 'htmega-addons' ),
|
447 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
448 |
'default' => '#727272',
|
449 |
'selectors' => [
|
450 |
'{{WRAPPER}} .ht-event .content .event-btn a:hover' => 'color: {{VALUE}};',
|
135 |
[
|
136 |
'label' => __( 'Color', 'htmega-addons' ),
|
137 |
'type' => Controls_Manager::COLOR,
|
138 |
+
'scheme' => [
|
139 |
+
'type' => Scheme_Color::get_type(),
|
140 |
+
'value' => Scheme_Color::COLOR_1,
|
141 |
+
],
|
142 |
'default' => '#000000',
|
143 |
'selectors' => [
|
144 |
+
'{{WRAPPER}} .ht-event .content h4' => 'color: {{VALUE}};',
|
145 |
],
|
146 |
]
|
147 |
);
|
195 |
[
|
196 |
'label' => __( 'Color', 'htmega-addons' ),
|
197 |
'type' => Controls_Manager::COLOR,
|
198 |
+
'scheme' => [
|
199 |
+
'type' => Scheme_Color::get_type(),
|
200 |
+
'value' => Scheme_Color::COLOR_1,
|
201 |
+
],
|
202 |
'default' => '#000000',
|
203 |
'selectors' => [
|
204 |
'{{WRAPPER}} .ht-event .content h4 a:hover' => 'color: {{VALUE}};',
|
229 |
[
|
230 |
'label' => __( 'Color', 'htmega-addons' ),
|
231 |
'type' => Controls_Manager::COLOR,
|
232 |
+
'scheme' => [
|
233 |
+
'type' => Scheme_Color::get_type(),
|
234 |
+
'value' => Scheme_Color::COLOR_1,
|
235 |
+
],
|
236 |
'default' => '#727272',
|
237 |
'selectors' => [
|
238 |
'{{WRAPPER}} .ht-event .content p' => 'color: {{VALUE}};',
|
291 |
[
|
292 |
'label' => __( 'Color', 'htmega-addons' ),
|
293 |
'type' => Controls_Manager::COLOR,
|
294 |
+
'scheme' => [
|
295 |
+
'type' => Scheme_Color::get_type(),
|
296 |
+
'value' => Scheme_Color::COLOR_1,
|
297 |
+
],
|
298 |
'default' => '#909090',
|
299 |
'selectors' => [
|
300 |
'{{WRAPPER}} .ht-event .content ul.event-time li' => 'color: {{VALUE}};',
|
341 |
[
|
342 |
'label' => __( 'Color', 'htmega-addons' ),
|
343 |
'type' => Controls_Manager::COLOR,
|
344 |
+
'scheme' => [
|
345 |
+
'type' => Scheme_Color::get_type(),
|
346 |
+
'value' => Scheme_Color::COLOR_1,
|
347 |
+
],
|
348 |
'default' => '#fff',
|
349 |
'selectors' => [
|
350 |
'{{WRAPPER}} .ht-event .thumb .event-date' => 'color: {{VALUE}};',
|
357 |
[
|
358 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
359 |
'type' => Controls_Manager::COLOR,
|
360 |
+
'scheme' => [
|
361 |
+
'type' => Scheme_Color::get_type(),
|
362 |
+
'value' => Scheme_Color::COLOR_1,
|
363 |
+
],
|
364 |
'default' => '#141414',
|
365 |
'selectors' => [
|
366 |
'{{WRAPPER}} .ht-event .thumb .event-date' => 'background-color: {{VALUE}};',
|
418 |
[
|
419 |
'label' => __( 'Color', 'htmega-addons' ),
|
420 |
'type' => Controls_Manager::COLOR,
|
421 |
+
'scheme' => [
|
422 |
+
'type' => Scheme_Color::get_type(),
|
423 |
+
'value' => Scheme_Color::COLOR_1,
|
424 |
+
],
|
425 |
'default' => '#727272',
|
426 |
'selectors' => [
|
427 |
'{{WRAPPER}} .ht-event .content .event-btn a' => 'color: {{VALUE}};',
|
473 |
[
|
474 |
'label' => __( 'Color', 'htmega-addons' ),
|
475 |
'type' => Controls_Manager::COLOR,
|
476 |
+
'scheme' => [
|
477 |
+
'type' => Scheme_Color::get_type(),
|
478 |
+
'value' => Scheme_Color::COLOR_1,
|
479 |
+
],
|
480 |
'default' => '#727272',
|
481 |
'selectors' => [
|
482 |
'{{WRAPPER}} .ht-event .content .event-btn a:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_dropcaps.php
CHANGED
@@ -72,6 +72,10 @@ class HTMega_Elementor_Widget_Dropcaps extends Widget_Base {
|
|
72 |
[
|
73 |
'label' => __( 'Color', 'htmega-addons' ),
|
74 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
75 |
'default' => '#434343',
|
76 |
'selectors' => [
|
77 |
'{{WRAPPER}} .htmega-dropcaps-area .htmega-dropcaps-inner p' => 'color: {{VALUE}};',
|
@@ -160,6 +164,10 @@ class HTMega_Elementor_Widget_Dropcaps extends Widget_Base {
|
|
160 |
[
|
161 |
'label' => __( 'Color', 'htmega-addons' ),
|
162 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
163 |
'default' => '#d6d6d6',
|
164 |
'selectors' => [
|
165 |
'{{WRAPPER}} .htmega-dropcaps-area .htmega-dropcaps-inner p:first-of-type:first-letter' => 'color: {{VALUE}};',
|
72 |
[
|
73 |
'label' => __( 'Color', 'htmega-addons' ),
|
74 |
'type' => Controls_Manager::COLOR,
|
75 |
+
'scheme' => [
|
76 |
+
'type' => Scheme_Color::get_type(),
|
77 |
+
'value' => Scheme_Color::COLOR_1,
|
78 |
+
],
|
79 |
'default' => '#434343',
|
80 |
'selectors' => [
|
81 |
'{{WRAPPER}} .htmega-dropcaps-area .htmega-dropcaps-inner p' => 'color: {{VALUE}};',
|
164 |
[
|
165 |
'label' => __( 'Color', 'htmega-addons' ),
|
166 |
'type' => Controls_Manager::COLOR,
|
167 |
+
'scheme' => [
|
168 |
+
'type' => Scheme_Color::get_type(),
|
169 |
+
'value' => Scheme_Color::COLOR_1,
|
170 |
+
],
|
171 |
'default' => '#d6d6d6',
|
172 |
'selectors' => [
|
173 |
'{{WRAPPER}} .htmega-dropcaps-area .htmega-dropcaps-inner p:first-of-type:first-letter' => 'color: {{VALUE}};',
|
includes/widgets/htmega_flip-box.php
CHANGED
@@ -434,6 +434,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
434 |
[
|
435 |
'label' => __( 'Title Color', 'htmega-addons' ),
|
436 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
437 |
'default' => '#4a4a4a',
|
438 |
'selectors' => [
|
439 |
'{{WRAPPER}} .front-container h2' => 'color: {{VALUE}};',
|
@@ -514,6 +518,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
514 |
[
|
515 |
'label' => __( 'Icon Color', 'htmega-addons' ),
|
516 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
517 |
'default' => '#4a4a4a',
|
518 |
'selectors' => [
|
519 |
'{{WRAPPER}} .front-container span.flipbox-icon i' => 'color: {{VALUE}};',
|
@@ -554,6 +562,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
554 |
[
|
555 |
'label' => __( 'Icon Background Color', 'htmega-addons' ),
|
556 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
557 |
'default' => '#ff7a5a',
|
558 |
'selectors' => [
|
559 |
'{{WRAPPER}} .front-container span.flipbox-icon' => 'background-color: {{VALUE}};',
|
@@ -673,6 +685,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
673 |
[
|
674 |
'label' => __( 'Number Color', 'htmega-addons' ),
|
675 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
676 |
'default' => '#4a4a4a',
|
677 |
'selectors' => [
|
678 |
'{{WRAPPER}} .front-container .flipbox-number' => 'color: {{VALUE}};',
|
@@ -856,6 +872,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
856 |
[
|
857 |
'label' => __( 'Title Color', 'htmega-addons' ),
|
858 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
859 |
'default' => '#ffffff',
|
860 |
'selectors' => [
|
861 |
'{{WRAPPER}} .back-container h2' => 'color: {{VALUE}};',
|
@@ -931,6 +951,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
931 |
[
|
932 |
'label' => __( 'Description Color', 'htmega-addons' ),
|
933 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
934 |
'default' => '#ffffff',
|
935 |
'selectors' => [
|
936 |
'{{WRAPPER}} .back-container p' => 'color: {{VALUE}};',
|
@@ -992,6 +1016,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
992 |
[
|
993 |
'label' => __( 'Icon Color', 'htmega-addons' ),
|
994 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
995 |
'default' => '#4a4a4a',
|
996 |
'selectors' => [
|
997 |
'{{WRAPPER}} .back-container span.flipbox-icon i' => 'color: {{VALUE}};',
|
@@ -1032,6 +1060,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
1032 |
[
|
1033 |
'label' => __( 'Icon Background Color', 'htmega-addons' ),
|
1034 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1035 |
'default' => '#ff7a5a',
|
1036 |
'selectors' => [
|
1037 |
'{{WRAPPER}} .back-container span.flipbox-icon' => 'background-color: {{VALUE}};',
|
@@ -1152,6 +1184,10 @@ class HTMega_Elementor_Widget_Flip_Box extends Widget_Base {
|
|
1152 |
[
|
1153 |
'label' => __( 'Number Color', 'htmega-addons' ),
|
1154 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1155 |
'default' => '#ffffff',
|
1156 |
'selectors' => [
|
1157 |
'{{WRAPPER}} .back-container .flipbox-number' => 'color: {{VALUE}};',
|
434 |
[
|
435 |
'label' => __( 'Title Color', 'htmega-addons' ),
|
436 |
'type' => Controls_Manager::COLOR,
|
437 |
+
'scheme' => [
|
438 |
+
'type' => Scheme_Color::get_type(),
|
439 |
+
'value' => Scheme_Color::COLOR_1,
|
440 |
+
],
|
441 |
'default' => '#4a4a4a',
|
442 |
'selectors' => [
|
443 |
'{{WRAPPER}} .front-container h2' => 'color: {{VALUE}};',
|
518 |
[
|
519 |
'label' => __( 'Icon Color', 'htmega-addons' ),
|
520 |
'type' => Controls_Manager::COLOR,
|
521 |
+
'scheme' => [
|
522 |
+
'type' => Scheme_Color::get_type(),
|
523 |
+
'value' => Scheme_Color::COLOR_1,
|
524 |
+
],
|
525 |
'default' => '#4a4a4a',
|
526 |
'selectors' => [
|
527 |
'{{WRAPPER}} .front-container span.flipbox-icon i' => 'color: {{VALUE}};',
|
562 |
[
|
563 |
'label' => __( 'Icon Background Color', 'htmega-addons' ),
|
564 |
'type' => Controls_Manager::COLOR,
|
565 |
+
'scheme' => [
|
566 |
+
'type' => Scheme_Color::get_type(),
|
567 |
+
'value' => Scheme_Color::COLOR_1,
|
568 |
+
],
|
569 |
'default' => '#ff7a5a',
|
570 |
'selectors' => [
|
571 |
'{{WRAPPER}} .front-container span.flipbox-icon' => 'background-color: {{VALUE}};',
|
685 |
[
|
686 |
'label' => __( 'Number Color', 'htmega-addons' ),
|
687 |
'type' => Controls_Manager::COLOR,
|
688 |
+
'scheme' => [
|
689 |
+
'type' => Scheme_Color::get_type(),
|
690 |
+
'value' => Scheme_Color::COLOR_1,
|
691 |
+
],
|
692 |
'default' => '#4a4a4a',
|
693 |
'selectors' => [
|
694 |
'{{WRAPPER}} .front-container .flipbox-number' => 'color: {{VALUE}};',
|
872 |
[
|
873 |
'label' => __( 'Title Color', 'htmega-addons' ),
|
874 |
'type' => Controls_Manager::COLOR,
|
875 |
+
'scheme' => [
|
876 |
+
'type' => Scheme_Color::get_type(),
|
877 |
+
'value' => Scheme_Color::COLOR_1,
|
878 |
+
],
|
879 |
'default' => '#ffffff',
|
880 |
'selectors' => [
|
881 |
'{{WRAPPER}} .back-container h2' => 'color: {{VALUE}};',
|
951 |
[
|
952 |
'label' => __( 'Description Color', 'htmega-addons' ),
|
953 |
'type' => Controls_Manager::COLOR,
|
954 |
+
'scheme' => [
|
955 |
+
'type' => Scheme_Color::get_type(),
|
956 |
+
'value' => Scheme_Color::COLOR_1,
|
957 |
+
],
|
958 |
'default' => '#ffffff',
|
959 |
'selectors' => [
|
960 |
'{{WRAPPER}} .back-container p' => 'color: {{VALUE}};',
|
1016 |
[
|
1017 |
'label' => __( 'Icon Color', 'htmega-addons' ),
|
1018 |
'type' => Controls_Manager::COLOR,
|
1019 |
+
'scheme' => [
|
1020 |
+
'type' => Scheme_Color::get_type(),
|
1021 |
+
'value' => Scheme_Color::COLOR_1,
|
1022 |
+
],
|
1023 |
'default' => '#4a4a4a',
|
1024 |
'selectors' => [
|
1025 |
'{{WRAPPER}} .back-container span.flipbox-icon i' => 'color: {{VALUE}};',
|
1060 |
[
|
1061 |
'label' => __( 'Icon Background Color', 'htmega-addons' ),
|
1062 |
'type' => Controls_Manager::COLOR,
|
1063 |
+
'scheme' => [
|
1064 |
+
'type' => Scheme_Color::get_type(),
|
1065 |
+
'value' => Scheme_Color::COLOR_1,
|
1066 |
+
],
|
1067 |
'default' => '#ff7a5a',
|
1068 |
'selectors' => [
|
1069 |
'{{WRAPPER}} .back-container span.flipbox-icon' => 'background-color: {{VALUE}};',
|
1184 |
[
|
1185 |
'label' => __( 'Number Color', 'htmega-addons' ),
|
1186 |
'type' => Controls_Manager::COLOR,
|
1187 |
+
'scheme' => [
|
1188 |
+
'type' => Scheme_Color::get_type(),
|
1189 |
+
'value' => Scheme_Color::COLOR_1,
|
1190 |
+
],
|
1191 |
'default' => '#ffffff',
|
1192 |
'selectors' => [
|
1193 |
'{{WRAPPER}} .back-container .flipbox-number' => 'color: {{VALUE}};',
|
includes/widgets/htmega_googlemap.php
CHANGED
@@ -117,60 +117,55 @@ class HTMega_Elementor_Widget_GoogleMap extends Widget_Base {
|
|
117 |
'label' => __( 'Map Marker', 'htmega-addons' ),
|
118 |
]
|
119 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
|
|
121 |
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
'type' => Controls_Manager::TEXTAREA,
|
145 |
-
'default' => __('Another Place','htmega-addons'),
|
146 |
-
]
|
147 |
-
);
|
148 |
-
$repeater->add_control(
|
149 |
-
'custom_marker',
|
150 |
-
[
|
151 |
-
'label' => esc_html__( 'Custom marker', 'htmega-addon' ),
|
152 |
-
'description' => esc_html__('Use max 32x32 px size.', 'htmega-addons'),
|
153 |
-
'type' => Controls_Manager::MEDIA,
|
154 |
-
]
|
155 |
-
);
|
156 |
|
157 |
-
$this->add_control(
|
158 |
-
'htmega_map_marker_list',
|
159 |
-
[
|
160 |
-
'label' => __( 'Marker', 'htmega-addons' ),
|
161 |
-
'type' => Controls_Manager::REPEATER,
|
162 |
-
'fields' => $repeater->get_controls(),
|
163 |
-
'default' => [
|
164 |
-
[
|
165 |
-
'marker_title' => __('This is <strong>Dhaka</strong>','htmega-addons'),
|
166 |
-
'marker_lat' => __('23.8103','htmega-addons'),
|
167 |
-
'marker_lng' => __('90.4125','htmega-addons'),
|
168 |
-
'custom_marker'=> __('90.4125','htmega-addons'),
|
169 |
],
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
);
|
174 |
|
175 |
$this->end_controls_section();
|
176 |
|
117 |
'label' => __( 'Map Marker', 'htmega-addons' ),
|
118 |
]
|
119 |
);
|
120 |
+
|
121 |
+
$this->add_control(
|
122 |
+
'htmega_map_marker_list',
|
123 |
+
[
|
124 |
+
'label' => __( 'Marker', 'htmega-addons' ),
|
125 |
+
'type' => Controls_Manager::REPEATER,
|
126 |
+
'default' => [
|
127 |
+
[
|
128 |
+
'marker_title' => __('This is <strong>Dhaka</strong>','htmega-addons'),
|
129 |
+
'marker_lat' => __('23.8103','htmega-addons'),
|
130 |
+
'marker_lng' => __('90.4125','htmega-addons'),
|
131 |
+
'custom_marker' => __('90.4125','htmega-addons'),
|
132 |
+
]
|
133 |
|
134 |
+
],
|
135 |
|
136 |
+
'fields' => [
|
137 |
+
[
|
138 |
+
'name' => 'marker_lat',
|
139 |
+
'label' => __( 'Latitude', 'htmega-addons' ),
|
140 |
+
'type' => Controls_Manager::TEXT,
|
141 |
+
'default' => '31.42866311735861',
|
142 |
+
],
|
143 |
|
144 |
+
[
|
145 |
+
'name' => 'marker_lng',
|
146 |
+
'label' => __( 'Longitude', 'htmega-addons' ),
|
147 |
+
'type' => Controls_Manager::TEXT,
|
148 |
+
'default' => '-98.61328125',
|
149 |
+
],
|
150 |
+
|
151 |
+
[
|
152 |
+
'name' => 'marker_title',
|
153 |
+
'label' => esc_html__( 'Title', 'htmega-addons' ),
|
154 |
+
'type' => Controls_Manager::TEXTAREA,
|
155 |
+
'default' => __('Another Place','htmega-addons'),
|
156 |
+
],
|
157 |
+
|
158 |
+
[
|
159 |
+
'name' => 'custom_marker',
|
160 |
+
'label' => esc_html__( 'Custom marker', 'htmega-addon' ),
|
161 |
+
'description' => esc_html__('Use max 32x32 px size.', 'htmega-addons'),
|
162 |
+
'type' => Controls_Manager::MEDIA,
|
163 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
],
|
166 |
+
'title_field' => '{{{ marker_title }}}',
|
167 |
+
]
|
168 |
+
);
|
|
|
169 |
|
170 |
$this->end_controls_section();
|
171 |
|
includes/widgets/htmega_gravity_forms.php
CHANGED
@@ -266,6 +266,11 @@ class HTMega_Elementor_Widget_Gravity_Forms extends Widget_Base {
|
|
266 |
[
|
267 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
268 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
|
|
269 |
'selectors' => [
|
270 |
'{{WRAPPER}} .gform_wrapper .gfield input[type="text"], {{WRAPPER}} .gform_wrapper .gfield textarea, {{WRAPPER}} .gform_wrapper .gfield select' => 'background-color: {{VALUE}}',
|
271 |
],
|
@@ -277,6 +282,11 @@ class HTMega_Elementor_Widget_Gravity_Forms extends Widget_Base {
|
|
277 |
[
|
278 |
'label' => __( 'Color', 'htmega-addons' ),
|
279 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
|
|
280 |
'selectors' => [
|
281 |
'{{WRAPPER}} .gform_wrapper .gfield input[type="text"], {{WRAPPER}} .gform_wrapper .gfield textarea, {{WRAPPER}} .gform_wrapper .gfield select' => 'color: {{VALUE}}',
|
282 |
],
|
266 |
[
|
267 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
268 |
'type' => Controls_Manager::COLOR,
|
269 |
+
'scheme' => [
|
270 |
+
'type' => Scheme_Color::get_type(),
|
271 |
+
'value' => Scheme_Color::COLOR_1,
|
272 |
+
],
|
273 |
+
'default' => '',
|
274 |
'selectors' => [
|
275 |
'{{WRAPPER}} .gform_wrapper .gfield input[type="text"], {{WRAPPER}} .gform_wrapper .gfield textarea, {{WRAPPER}} .gform_wrapper .gfield select' => 'background-color: {{VALUE}}',
|
276 |
],
|
282 |
[
|
283 |
'label' => __( 'Color', 'htmega-addons' ),
|
284 |
'type' => Controls_Manager::COLOR,
|
285 |
+
'scheme' => [
|
286 |
+
'type' => Scheme_Color::get_type(),
|
287 |
+
'value' => Scheme_Color::COLOR_1,
|
288 |
+
],
|
289 |
+
'default' => '',
|
290 |
'selectors' => [
|
291 |
'{{WRAPPER}} .gform_wrapper .gfield input[type="text"], {{WRAPPER}} .gform_wrapper .gfield textarea, {{WRAPPER}} .gform_wrapper .gfield select' => 'color: {{VALUE}}',
|
292 |
],
|
includes/widgets/htmega_image_grid.php
CHANGED
@@ -127,7 +127,7 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
127 |
'imagegrid_list',
|
128 |
[
|
129 |
'type' => Controls_Manager::REPEATER,
|
130 |
-
'fields' =>
|
131 |
'default' => [
|
132 |
|
133 |
[
|
@@ -157,6 +157,10 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
157 |
[
|
158 |
'label' => __( 'Overlay Color', 'htmega-addons' ),
|
159 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
160 |
'default' => 'rgba(0, 0, 0, 0.5)',
|
161 |
'selectors' => [
|
162 |
'{{WRAPPER}} .htmega-singleimage-grid .thumb a::before' => 'background-color: {{VALUE}};',
|
@@ -224,6 +228,10 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
224 |
[
|
225 |
'label' => __( 'Color', 'htmega-addons' ),
|
226 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
227 |
'default' => '#ffffff',
|
228 |
'selectors' => [
|
229 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content h2' => 'color: {{VALUE}};',
|
@@ -310,6 +318,10 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
310 |
[
|
311 |
'label' => __( 'Color', 'htmega-addons' ),
|
312 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
313 |
'default' => '#18012c',
|
314 |
'selectors' => [
|
315 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content p' => 'color: {{VALUE}};',
|
@@ -363,6 +375,10 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
363 |
[
|
364 |
'label' => __( 'Color', 'htmega-addons' ),
|
365 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
366 |
'default' => '#ffffff',
|
367 |
'selectors' => [
|
368 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn' => 'color: {{VALUE}};',
|
@@ -446,6 +462,10 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
446 |
[
|
447 |
'label' => __( 'Color', 'htmega-addons' ),
|
448 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
449 |
'default' => '#ffffff',
|
450 |
'selectors' => [
|
451 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn:hover' => 'color: {{VALUE}};',
|
127 |
'imagegrid_list',
|
128 |
[
|
129 |
'type' => Controls_Manager::REPEATER,
|
130 |
+
'fields' => array_values( $repeater->get_controls() ),
|
131 |
'default' => [
|
132 |
|
133 |
[
|
157 |
[
|
158 |
'label' => __( 'Overlay Color', 'htmega-addons' ),
|
159 |
'type' => Controls_Manager::COLOR,
|
160 |
+
'scheme' => [
|
161 |
+
'type' => Scheme_Color::get_type(),
|
162 |
+
'value' => Scheme_Color::COLOR_1,
|
163 |
+
],
|
164 |
'default' => 'rgba(0, 0, 0, 0.5)',
|
165 |
'selectors' => [
|
166 |
'{{WRAPPER}} .htmega-singleimage-grid .thumb a::before' => 'background-color: {{VALUE}};',
|
228 |
[
|
229 |
'label' => __( 'Color', 'htmega-addons' ),
|
230 |
'type' => Controls_Manager::COLOR,
|
231 |
+
'scheme' => [
|
232 |
+
'type' => Scheme_Color::get_type(),
|
233 |
+
'value' => Scheme_Color::COLOR_1,
|
234 |
+
],
|
235 |
'default' => '#ffffff',
|
236 |
'selectors' => [
|
237 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content h2' => 'color: {{VALUE}};',
|
318 |
[
|
319 |
'label' => __( 'Color', 'htmega-addons' ),
|
320 |
'type' => Controls_Manager::COLOR,
|
321 |
+
'scheme' => [
|
322 |
+
'type' => Scheme_Color::get_type(),
|
323 |
+
'value' => Scheme_Color::COLOR_1,
|
324 |
+
],
|
325 |
'default' => '#18012c',
|
326 |
'selectors' => [
|
327 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content p' => 'color: {{VALUE}};',
|
375 |
[
|
376 |
'label' => __( 'Color', 'htmega-addons' ),
|
377 |
'type' => Controls_Manager::COLOR,
|
378 |
+
'scheme' => [
|
379 |
+
'type' => Scheme_Color::get_type(),
|
380 |
+
'value' => Scheme_Color::COLOR_1,
|
381 |
+
],
|
382 |
'default' => '#ffffff',
|
383 |
'selectors' => [
|
384 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn' => 'color: {{VALUE}};',
|
462 |
[
|
463 |
'label' => __( 'Color', 'htmega-addons' ),
|
464 |
'type' => Controls_Manager::COLOR,
|
465 |
+
'scheme' => [
|
466 |
+
'type' => Scheme_Color::get_type(),
|
467 |
+
'value' => Scheme_Color::COLOR_1,
|
468 |
+
],
|
469 |
'default' => '#ffffff',
|
470 |
'selectors' => [
|
471 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_image_marker.php
CHANGED
@@ -19,11 +19,6 @@ class HTMega_Elementor_Widget_ImageMarker extends Widget_Base {
|
|
19 |
public function get_categories() {
|
20 |
return [ 'htmega-addons' ];
|
21 |
}
|
22 |
-
public function get_style_depends() {
|
23 |
-
return [
|
24 |
-
'elementor-icons-shared-0-css','elementor-icons-fa-brands','elementor-icons-fa-regular','elementor-icons-fa-solid',
|
25 |
-
];
|
26 |
-
}
|
27 |
|
28 |
protected function _register_controls() {
|
29 |
|
@@ -173,7 +168,7 @@ class HTMega_Elementor_Widget_ImageMarker extends Widget_Base {
|
|
173 |
'image_marker_list',
|
174 |
[
|
175 |
'type' => Controls_Manager::REPEATER,
|
176 |
-
'fields' => $repeater->get_controls(),
|
177 |
'default' => [
|
178 |
[
|
179 |
'marker_title' => __( 'Marker #1', 'htmega-addons' ),
|
19 |
public function get_categories() {
|
20 |
return [ 'htmega-addons' ];
|
21 |
}
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
protected function _register_controls() {
|
24 |
|
168 |
'image_marker_list',
|
169 |
[
|
170 |
'type' => Controls_Manager::REPEATER,
|
171 |
+
'fields' => array_values( $repeater->get_controls() ),
|
172 |
'default' => [
|
173 |
[
|
174 |
'marker_title' => __( 'Marker #1', 'htmega-addons' ),
|
includes/widgets/htmega_image_masonry.php
CHANGED
@@ -136,7 +136,7 @@ class HTMega_Elementor_Widget_Image_Masonry extends Widget_Base {
|
|
136 |
'masonrygrid_list',
|
137 |
[
|
138 |
'type' => Controls_Manager::REPEATER,
|
139 |
-
'fields' => $repeater->get_controls(),
|
140 |
'default' => [
|
141 |
|
142 |
[
|
@@ -166,6 +166,10 @@ class HTMega_Elementor_Widget_Image_Masonry extends Widget_Base {
|
|
166 |
[
|
167 |
'label' => __( 'Overlay Color', 'htmega-addons' ),
|
168 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
169 |
'default' => 'rgba(0, 0, 0, 0.5)',
|
170 |
'selectors' => [
|
171 |
'{{WRAPPER}} .htmega-singleimage-grid .thumb a::before' => 'background-color: {{VALUE}};',
|
@@ -220,6 +224,10 @@ class HTMega_Elementor_Widget_Image_Masonry extends Widget_Base {
|
|
220 |
[
|
221 |
'label' => __( 'Color', 'htmega-addons' ),
|
222 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
223 |
'default' => '#ffffff',
|
224 |
'selectors' => [
|
225 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content h2' => 'color: {{VALUE}};',
|
@@ -306,6 +314,10 @@ class HTMega_Elementor_Widget_Image_Masonry extends Widget_Base {
|
|
306 |
[
|
307 |
'label' => __( 'Color', 'htmega-addons' ),
|
308 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
309 |
'default' => '#18012c',
|
310 |
'selectors' => [
|
311 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content p' => 'color: {{VALUE}};',
|
@@ -359,6 +371,10 @@ class HTMega_Elementor_Widget_Image_Masonry extends Widget_Base {
|
|
359 |
[
|
360 |
'label' => __( 'Color', 'htmega-addons' ),
|
361 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
362 |
'default' => '#ffffff',
|
363 |
'selectors' => [
|
364 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn' => 'color: {{VALUE}};',
|
@@ -431,6 +447,10 @@ class HTMega_Elementor_Widget_Image_Masonry extends Widget_Base {
|
|
431 |
[
|
432 |
'label' => __( 'Color', 'htmega-addons' ),
|
433 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
434 |
'default' => '#ffffff',
|
435 |
'selectors' => [
|
436 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn:hover' => 'color: {{VALUE}};',
|
136 |
'masonrygrid_list',
|
137 |
[
|
138 |
'type' => Controls_Manager::REPEATER,
|
139 |
+
'fields' => array_values( $repeater->get_controls() ),
|
140 |
'default' => [
|
141 |
|
142 |
[
|
166 |
[
|
167 |
'label' => __( 'Overlay Color', 'htmega-addons' ),
|
168 |
'type' => Controls_Manager::COLOR,
|
169 |
+
'scheme' => [
|
170 |
+
'type' => Scheme_Color::get_type(),
|
171 |
+
'value' => Scheme_Color::COLOR_1,
|
172 |
+
],
|
173 |
'default' => 'rgba(0, 0, 0, 0.5)',
|
174 |
'selectors' => [
|
175 |
'{{WRAPPER}} .htmega-singleimage-grid .thumb a::before' => 'background-color: {{VALUE}};',
|
224 |
[
|
225 |
'label' => __( 'Color', 'htmega-addons' ),
|
226 |
'type' => Controls_Manager::COLOR,
|
227 |
+
'scheme' => [
|
228 |
+
'type' => Scheme_Color::get_type(),
|
229 |
+
'value' => Scheme_Color::COLOR_1,
|
230 |
+
],
|
231 |
'default' => '#ffffff',
|
232 |
'selectors' => [
|
233 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content h2' => 'color: {{VALUE}};',
|
314 |
[
|
315 |
'label' => __( 'Color', 'htmega-addons' ),
|
316 |
'type' => Controls_Manager::COLOR,
|
317 |
+
'scheme' => [
|
318 |
+
'type' => Scheme_Color::get_type(),
|
319 |
+
'value' => Scheme_Color::COLOR_1,
|
320 |
+
],
|
321 |
'default' => '#18012c',
|
322 |
'selectors' => [
|
323 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content p' => 'color: {{VALUE}};',
|
371 |
[
|
372 |
'label' => __( 'Color', 'htmega-addons' ),
|
373 |
'type' => Controls_Manager::COLOR,
|
374 |
+
'scheme' => [
|
375 |
+
'type' => Scheme_Color::get_type(),
|
376 |
+
'value' => Scheme_Color::COLOR_1,
|
377 |
+
],
|
378 |
'default' => '#ffffff',
|
379 |
'selectors' => [
|
380 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn' => 'color: {{VALUE}};',
|
447 |
[
|
448 |
'label' => __( 'Color', 'htmega-addons' ),
|
449 |
'type' => Controls_Manager::COLOR,
|
450 |
+
'scheme' => [
|
451 |
+
'type' => Scheme_Color::get_type(),
|
452 |
+
'value' => Scheme_Color::COLOR_1,
|
453 |
+
],
|
454 |
'default' => '#ffffff',
|
455 |
'selectors' => [
|
456 |
'{{WRAPPER}} .htmega-singleimage-grid .image-grid-content a.read-btn:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_instagram.php
CHANGED
@@ -751,6 +751,10 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
|
|
751 |
[
|
752 |
'label' => __( 'Overlay Color', 'htmega-addons' ),
|
753 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
754 |
'default' => 'rgba(0, 0, 0, 0.7)',
|
755 |
'selectors' => [
|
756 |
'{{WRAPPER}} .htmega-instragram ul.htmega-instagram-list li .instagram-clip::before' => 'background-color: {{VALUE}};',
|
@@ -806,6 +810,10 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
|
|
806 |
[
|
807 |
'label' => __( 'Color', 'htmega-addons' ),
|
808 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
809 |
'default' => '#ffffff',
|
810 |
'selectors' => [
|
811 |
'{{WRAPPER}} .htmega-instragram ul.htmega-instagram-list .zoom_icon i' => 'color: {{VALUE}};',
|
@@ -899,6 +907,10 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
|
|
899 |
[
|
900 |
'label' => __( 'Color', 'htmega-addons' ),
|
901 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
902 |
'default' => '#ffffff',
|
903 |
'selectors' => [
|
904 |
'{{WRAPPER}} .htmega-instragram ul.htmega-instagram-list li .instagram-clip .htmega-content .instagram-like-comment span' => 'color: {{VALUE}};',
|
@@ -1041,6 +1053,10 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
|
|
1041 |
[
|
1042 |
'label' => __( 'Color', 'htmega-addons' ),
|
1043 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1044 |
'default' => '#ffffff',
|
1045 |
'selectors' => [
|
1046 |
'{{WRAPPER}} .htmega-instragram .slick-arrow' => 'color: {{VALUE}};',
|
@@ -1187,6 +1203,10 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
|
|
1187 |
[
|
1188 |
'label' => __( 'Color', 'htmega-addons' ),
|
1189 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1190 |
'default' => '#ffffff',
|
1191 |
'selectors' => [
|
1192 |
'{{WRAPPER}} .htmega-instragram .slick-arrow:hover' => 'color: {{VALUE}};',
|
751 |
[
|
752 |
'label' => __( 'Overlay Color', 'htmega-addons' ),
|
753 |
'type' => Controls_Manager::COLOR,
|
754 |
+
'scheme' => [
|
755 |
+
'type' => Scheme_Color::get_type(),
|
756 |
+
'value' => Scheme_Color::COLOR_1,
|
757 |
+
],
|
758 |
'default' => 'rgba(0, 0, 0, 0.7)',
|
759 |
'selectors' => [
|
760 |
'{{WRAPPER}} .htmega-instragram ul.htmega-instagram-list li .instagram-clip::before' => 'background-color: {{VALUE}};',
|
810 |
[
|
811 |
'label' => __( 'Color', 'htmega-addons' ),
|
812 |
'type' => Controls_Manager::COLOR,
|
813 |
+
'scheme' => [
|
814 |
+
'type' => Scheme_Color::get_type(),
|
815 |
+
'value' => Scheme_Color::COLOR_1,
|
816 |
+
],
|
817 |
'default' => '#ffffff',
|
818 |
'selectors' => [
|
819 |
'{{WRAPPER}} .htmega-instragram ul.htmega-instagram-list .zoom_icon i' => 'color: {{VALUE}};',
|
907 |
[
|
908 |
'label' => __( 'Color', 'htmega-addons' ),
|
909 |
'type' => Controls_Manager::COLOR,
|
910 |
+
'scheme' => [
|
911 |
+
'type' => Scheme_Color::get_type(),
|
912 |
+
'value' => Scheme_Color::COLOR_1,
|
913 |
+
],
|
914 |
'default' => '#ffffff',
|
915 |
'selectors' => [
|
916 |
'{{WRAPPER}} .htmega-instragram ul.htmega-instagram-list li .instagram-clip .htmega-content .instagram-like-comment span' => 'color: {{VALUE}};',
|
1053 |
[
|
1054 |
'label' => __( 'Color', 'htmega-addons' ),
|
1055 |
'type' => Controls_Manager::COLOR,
|
1056 |
+
'scheme' => [
|
1057 |
+
'type' => Scheme_Color::get_type(),
|
1058 |
+
'value' => Scheme_Color::COLOR_1,
|
1059 |
+
],
|
1060 |
'default' => '#ffffff',
|
1061 |
'selectors' => [
|
1062 |
'{{WRAPPER}} .htmega-instragram .slick-arrow' => 'color: {{VALUE}};',
|
1203 |
[
|
1204 |
'label' => __( 'Color', 'htmega-addons' ),
|
1205 |
'type' => Controls_Manager::COLOR,
|
1206 |
+
'scheme' => [
|
1207 |
+
'type' => Scheme_Color::get_type(),
|
1208 |
+
'value' => Scheme_Color::COLOR_1,
|
1209 |
+
],
|
1210 |
'default' => '#ffffff',
|
1211 |
'selectors' => [
|
1212 |
'{{WRAPPER}} .htmega-instragram .slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_lightbox.php
CHANGED
@@ -189,6 +189,10 @@ class HTMega_Elementor_Widget_Lightbox extends Widget_Base {
|
|
189 |
[
|
190 |
'label' => __( 'Overlay', 'htmega-addons' ),
|
191 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
192 |
'default' => 'rgba(0, 0, 0, 0.5)',
|
193 |
'selectors' => [
|
194 |
'{{WRAPPER}} .htmega-lightbox .htmega-lightbox-action::before' => 'background-color: {{VALUE}};',
|
@@ -257,6 +261,10 @@ class HTMega_Elementor_Widget_Lightbox extends Widget_Base {
|
|
257 |
[
|
258 |
'label' => __( 'Color', 'htmega-addons' ),
|
259 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
260 |
'default' => '#ffffff',
|
261 |
'selectors' => [
|
262 |
'{{WRAPPER}} .htmega-lightbox .image-popup-vertical-fit' => 'color: {{VALUE}};',
|
189 |
[
|
190 |
'label' => __( 'Overlay', 'htmega-addons' ),
|
191 |
'type' => Controls_Manager::COLOR,
|
192 |
+
'scheme' => [
|
193 |
+
'type' => Scheme_Color::get_type(),
|
194 |
+
'value' => Scheme_Color::COLOR_1,
|
195 |
+
],
|
196 |
'default' => 'rgba(0, 0, 0, 0.5)',
|
197 |
'selectors' => [
|
198 |
'{{WRAPPER}} .htmega-lightbox .htmega-lightbox-action::before' => 'background-color: {{VALUE}};',
|
261 |
[
|
262 |
'label' => __( 'Color', 'htmega-addons' ),
|
263 |
'type' => Controls_Manager::COLOR,
|
264 |
+
'scheme' => [
|
265 |
+
'type' => Scheme_Color::get_type(),
|
266 |
+
'value' => Scheme_Color::COLOR_1,
|
267 |
+
],
|
268 |
'default' => '#ffffff',
|
269 |
'selectors' => [
|
270 |
'{{WRAPPER}} .htmega-lightbox .image-popup-vertical-fit' => 'color: {{VALUE}};',
|
includes/widgets/htmega_modal.php
CHANGED
@@ -185,6 +185,10 @@ class HTMega_Elementor_Widget_Modal extends Widget_Base {
|
|
185 |
[
|
186 |
'label' => __( 'Color', 'htmega-addons' ),
|
187 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
188 |
'default' => '#ffffff',
|
189 |
'selectors' => [
|
190 |
'{{WRAPPER}} .htmega-modal-btn button' => 'color: {{VALUE}};',
|
@@ -377,6 +381,10 @@ class HTMega_Elementor_Widget_Modal extends Widget_Base {
|
|
377 |
[
|
378 |
'label' => __( 'Color', 'htmega-addons' ),
|
379 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
380 |
'default' => '#ffffff',
|
381 |
'selectors' => [
|
382 |
'{{WRAPPER}} .htmega-modal-btn button:hover' => 'color: {{VALUE}};',
|
@@ -423,6 +431,10 @@ class HTMega_Elementor_Widget_Modal extends Widget_Base {
|
|
423 |
[
|
424 |
'label' => __( 'Color', 'htmega-addons' ),
|
425 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
426 |
'default' => '#444444',
|
427 |
'selectors' => [
|
428 |
'{{WRAPPER}} .htb-modal-header h5' => 'color: {{VALUE}};',
|
@@ -521,6 +533,10 @@ class HTMega_Elementor_Widget_Modal extends Widget_Base {
|
|
521 |
[
|
522 |
'label' => __( 'Color', 'htmega-addons' ),
|
523 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
524 |
'default' => '#444444',
|
525 |
'selectors' => [
|
526 |
'{{WRAPPER}} .htb-modal-footer p' => 'color: {{VALUE}};',
|
@@ -608,6 +624,10 @@ class HTMega_Elementor_Widget_Modal extends Widget_Base {
|
|
608 |
[
|
609 |
'label' => __( 'Color', 'htmega-addons' ),
|
610 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
611 |
'default' => '#ffffff',
|
612 |
'selectors' => [
|
613 |
'{{WRAPPER}} .htmega-modal-area .htb-btn-secondary' => 'color: {{VALUE}};',
|
@@ -660,6 +680,10 @@ class HTMega_Elementor_Widget_Modal extends Widget_Base {
|
|
660 |
[
|
661 |
'label' => __( 'Color', 'htmega-addons' ),
|
662 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
663 |
'default' => '#444444',
|
664 |
'selectors' => [
|
665 |
'{{WRAPPER}} .htb-modal-body' => 'color: {{VALUE}};',
|
185 |
[
|
186 |
'label' => __( 'Color', 'htmega-addons' ),
|
187 |
'type' => Controls_Manager::COLOR,
|
188 |
+
'scheme' => [
|
189 |
+
'type' => Scheme_Color::get_type(),
|
190 |
+
'value' => Scheme_Color::COLOR_1,
|
191 |
+
],
|
192 |
'default' => '#ffffff',
|
193 |
'selectors' => [
|
194 |
'{{WRAPPER}} .htmega-modal-btn button' => 'color: {{VALUE}};',
|
381 |
[
|
382 |
'label' => __( 'Color', 'htmega-addons' ),
|
383 |
'type' => Controls_Manager::COLOR,
|
384 |
+
'scheme' => [
|
385 |
+
'type' => Scheme_Color::get_type(),
|
386 |
+
'value' => Scheme_Color::COLOR_1,
|
387 |
+
],
|
388 |
'default' => '#ffffff',
|
389 |
'selectors' => [
|
390 |
'{{WRAPPER}} .htmega-modal-btn button:hover' => 'color: {{VALUE}};',
|
431 |
[
|
432 |
'label' => __( 'Color', 'htmega-addons' ),
|
433 |
'type' => Controls_Manager::COLOR,
|
434 |
+
'scheme' => [
|
435 |
+
'type' => Scheme_Color::get_type(),
|
436 |
+
'value' => Scheme_Color::COLOR_1,
|
437 |
+
],
|
438 |
'default' => '#444444',
|
439 |
'selectors' => [
|
440 |
'{{WRAPPER}} .htb-modal-header h5' => 'color: {{VALUE}};',
|
533 |
[
|
534 |
'label' => __( 'Color', 'htmega-addons' ),
|
535 |
'type' => Controls_Manager::COLOR,
|
536 |
+
'scheme' => [
|
537 |
+
'type' => Scheme_Color::get_type(),
|
538 |
+
'value' => Scheme_Color::COLOR_1,
|
539 |
+
],
|
540 |
'default' => '#444444',
|
541 |
'selectors' => [
|
542 |
'{{WRAPPER}} .htb-modal-footer p' => 'color: {{VALUE}};',
|
624 |
[
|
625 |
'label' => __( 'Color', 'htmega-addons' ),
|
626 |
'type' => Controls_Manager::COLOR,
|
627 |
+
'scheme' => [
|
628 |
+
'type' => Scheme_Color::get_type(),
|
629 |
+
'value' => Scheme_Color::COLOR_1,
|
630 |
+
],
|
631 |
'default' => '#ffffff',
|
632 |
'selectors' => [
|
633 |
'{{WRAPPER}} .htmega-modal-area .htb-btn-secondary' => 'color: {{VALUE}};',
|
680 |
[
|
681 |
'label' => __( 'Color', 'htmega-addons' ),
|
682 |
'type' => Controls_Manager::COLOR,
|
683 |
+
'scheme' => [
|
684 |
+
'type' => Scheme_Color::get_type(),
|
685 |
+
'value' => Scheme_Color::COLOR_1,
|
686 |
+
],
|
687 |
'default' => '#444444',
|
688 |
'selectors' => [
|
689 |
'{{WRAPPER}} .htb-modal-body' => 'color: {{VALUE}};',
|
includes/widgets/htmega_news_ticker.php
CHANGED
@@ -388,6 +388,10 @@ class HTMega_Elementor_Widget_Newsticker extends Widget_Base {
|
|
388 |
[
|
389 |
'label' => __( 'Color', 'htmega-addons' ),
|
390 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
391 |
'default' => '#ffffff',
|
392 |
'selectors' => [
|
393 |
'{{WRAPPER}} .breaking-news-ticker li a' => 'color: {{VALUE}};',
|
@@ -423,6 +427,10 @@ class HTMega_Elementor_Widget_Newsticker extends Widget_Base {
|
|
423 |
[
|
424 |
'label' => __( 'Color', 'htmega-addons' ),
|
425 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
426 |
'default' => '#ffffff',
|
427 |
'selectors' => [
|
428 |
'{{WRAPPER}} .breaking-news-default .breaking-news-title h5' => 'color: {{VALUE}};',
|
@@ -510,6 +518,10 @@ class HTMega_Elementor_Widget_Newsticker extends Widget_Base {
|
|
510 |
[
|
511 |
'label' => __( 'Color', 'htmega-addons' ),
|
512 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
513 |
'default' => '#ffffff',
|
514 |
'selectors' => [
|
515 |
'{{WRAPPER}} .breaking-news-default .breaking-news-nav button i' => 'color: {{VALUE}};',
|
@@ -587,6 +599,10 @@ class HTMega_Elementor_Widget_Newsticker extends Widget_Base {
|
|
587 |
[
|
588 |
'label' => __( 'Color', 'htmega-addons' ),
|
589 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
590 |
'default' => '#ffffff',
|
591 |
'selectors' => [
|
592 |
'{{WRAPPER}} .breaking-news-default .breaking-news-nav button:hover i' => 'color: {{VALUE}};',
|
@@ -637,6 +653,10 @@ class HTMega_Elementor_Widget_Newsticker extends Widget_Base {
|
|
637 |
[
|
638 |
'label' => __( 'Color', 'htmega-addons' ),
|
639 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
640 |
'default' => '#ffffff',
|
641 |
'selectors' => [
|
642 |
'{{WRAPPER}} .breaking-news-default .breaking-news-ticker li span.news_date' => 'color: {{VALUE}};',
|
388 |
[
|
389 |
'label' => __( 'Color', 'htmega-addons' ),
|
390 |
'type' => Controls_Manager::COLOR,
|
391 |
+
'scheme' => [
|
392 |
+
'type' => Scheme_Color::get_type(),
|
393 |
+
'value' => Scheme_Color::COLOR_1,
|
394 |
+
],
|
395 |
'default' => '#ffffff',
|
396 |
'selectors' => [
|
397 |
'{{WRAPPER}} .breaking-news-ticker li a' => 'color: {{VALUE}};',
|
427 |
[
|
428 |
'label' => __( 'Color', 'htmega-addons' ),
|
429 |
'type' => Controls_Manager::COLOR,
|
430 |
+
'scheme' => [
|
431 |
+
'type' => Scheme_Color::get_type(),
|
432 |
+
'value' => Scheme_Color::COLOR_1,
|
433 |
+
],
|
434 |
'default' => '#ffffff',
|
435 |
'selectors' => [
|
436 |
'{{WRAPPER}} .breaking-news-default .breaking-news-title h5' => 'color: {{VALUE}};',
|
518 |
[
|
519 |
'label' => __( 'Color', 'htmega-addons' ),
|
520 |
'type' => Controls_Manager::COLOR,
|
521 |
+
'scheme' => [
|
522 |
+
'type' => Scheme_Color::get_type(),
|
523 |
+
'value' => Scheme_Color::COLOR_1,
|
524 |
+
],
|
525 |
'default' => '#ffffff',
|
526 |
'selectors' => [
|
527 |
'{{WRAPPER}} .breaking-news-default .breaking-news-nav button i' => 'color: {{VALUE}};',
|
599 |
[
|
600 |
'label' => __( 'Color', 'htmega-addons' ),
|
601 |
'type' => Controls_Manager::COLOR,
|
602 |
+
'scheme' => [
|
603 |
+
'type' => Scheme_Color::get_type(),
|
604 |
+
'value' => Scheme_Color::COLOR_1,
|
605 |
+
],
|
606 |
'default' => '#ffffff',
|
607 |
'selectors' => [
|
608 |
'{{WRAPPER}} .breaking-news-default .breaking-news-nav button:hover i' => 'color: {{VALUE}};',
|
653 |
[
|
654 |
'label' => __( 'Color', 'htmega-addons' ),
|
655 |
'type' => Controls_Manager::COLOR,
|
656 |
+
'scheme' => [
|
657 |
+
'type' => Scheme_Color::get_type(),
|
658 |
+
'value' => Scheme_Color::COLOR_1,
|
659 |
+
],
|
660 |
'default' => '#ffffff',
|
661 |
'selectors' => [
|
662 |
'{{WRAPPER}} .breaking-news-default .breaking-news-ticker li span.news_date' => 'color: {{VALUE}};',
|
includes/widgets/htmega_ninja_forms.php
CHANGED
@@ -105,6 +105,10 @@ class HTMega_Elementor_Widget_Ninja_Form extends Widget_Base {
|
|
105 |
[
|
106 |
'label' => __( 'Color', 'htmega-addons' ),
|
107 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
108 |
'default' => '#212529',
|
109 |
'selectors' => [
|
110 |
'{{WRAPPER}} span.nf-form-title' => 'color: {{VALUE}};',
|
@@ -185,6 +189,10 @@ class HTMega_Elementor_Widget_Ninja_Form extends Widget_Base {
|
|
185 |
[
|
186 |
'label' => __( 'Color', 'htmega-addons' ),
|
187 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
188 |
'default' => '#212529',
|
189 |
'selectors' => [
|
190 |
'{{WRAPPER}} .nf-before-form-content' => 'color: {{VALUE}};',
|
@@ -354,6 +362,10 @@ class HTMega_Elementor_Widget_Ninja_Form extends Widget_Base {
|
|
354 |
[
|
355 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
356 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
357 |
'default' => '#ffffff',
|
358 |
'selectors' => [
|
359 |
'{{WRAPPER}} .nf-form-layout .nf-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .nf-form-layout .nf-field select' => 'background-color: {{VALUE}}',
|
@@ -366,6 +378,10 @@ class HTMega_Elementor_Widget_Ninja_Form extends Widget_Base {
|
|
366 |
[
|
367 |
'label' => __( 'Color', 'htmega-addons' ),
|
368 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
369 |
'default' => '#212529',
|
370 |
'selectors' => [
|
371 |
'{{WRAPPER}} .nf-form-layout .nf-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .nf-form-layout .nf-field select' => 'color: {{VALUE}}',
|
@@ -465,6 +481,10 @@ class HTMega_Elementor_Widget_Ninja_Form extends Widget_Base {
|
|
465 |
[
|
466 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
467 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
468 |
'default' => '#ffffff',
|
469 |
'selectors' => [
|
470 |
'{{WRAPPER}} .nf-form-layout .nf-field textarea' => 'background-color: {{VALUE}}',
|
@@ -477,6 +497,10 @@ class HTMega_Elementor_Widget_Ninja_Form extends Widget_Base {
|
|
477 |
[
|
478 |
'label' => __( 'Color', 'htmega-addons' ),
|
479 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
480 |
'default' => '#212529',
|
481 |
'selectors' => [
|
482 |
'{{WRAPPER}} .nf-form-layout .nf-field textarea' => 'color: {{VALUE}}',
|
105 |
[
|
106 |
'label' => __( 'Color', 'htmega-addons' ),
|
107 |
'type' => Controls_Manager::COLOR,
|
108 |
+
'scheme' => [
|
109 |
+
'type' => Scheme_Color::get_type(),
|
110 |
+
'value' => Scheme_Color::COLOR_1,
|
111 |
+
],
|
112 |
'default' => '#212529',
|
113 |
'selectors' => [
|
114 |
'{{WRAPPER}} span.nf-form-title' => 'color: {{VALUE}};',
|
189 |
[
|
190 |
'label' => __( 'Color', 'htmega-addons' ),
|
191 |
'type' => Controls_Manager::COLOR,
|
192 |
+
'scheme' => [
|
193 |
+
'type' => Scheme_Color::get_type(),
|
194 |
+
'value' => Scheme_Color::COLOR_1,
|
195 |
+
],
|
196 |
'default' => '#212529',
|
197 |
'selectors' => [
|
198 |
'{{WRAPPER}} .nf-before-form-content' => 'color: {{VALUE}};',
|
362 |
[
|
363 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
364 |
'type' => Controls_Manager::COLOR,
|
365 |
+
'scheme' => [
|
366 |
+
'type' => Scheme_Color::get_type(),
|
367 |
+
'value' => Scheme_Color::COLOR_1,
|
368 |
+
],
|
369 |
'default' => '#ffffff',
|
370 |
'selectors' => [
|
371 |
'{{WRAPPER}} .nf-form-layout .nf-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .nf-form-layout .nf-field select' => 'background-color: {{VALUE}}',
|
378 |
[
|
379 |
'label' => __( 'Color', 'htmega-addons' ),
|
380 |
'type' => Controls_Manager::COLOR,
|
381 |
+
'scheme' => [
|
382 |
+
'type' => Scheme_Color::get_type(),
|
383 |
+
'value' => Scheme_Color::COLOR_1,
|
384 |
+
],
|
385 |
'default' => '#212529',
|
386 |
'selectors' => [
|
387 |
'{{WRAPPER}} .nf-form-layout .nf-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .nf-form-layout .nf-field select' => 'color: {{VALUE}}',
|
481 |
[
|
482 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
483 |
'type' => Controls_Manager::COLOR,
|
484 |
+
'scheme' => [
|
485 |
+
'type' => Scheme_Color::get_type(),
|
486 |
+
'value' => Scheme_Color::COLOR_1,
|
487 |
+
],
|
488 |
'default' => '#ffffff',
|
489 |
'selectors' => [
|
490 |
'{{WRAPPER}} .nf-form-layout .nf-field textarea' => 'background-color: {{VALUE}}',
|
497 |
[
|
498 |
'label' => __( 'Color', 'htmega-addons' ),
|
499 |
'type' => Controls_Manager::COLOR,
|
500 |
+
'scheme' => [
|
501 |
+
'type' => Scheme_Color::get_type(),
|
502 |
+
'value' => Scheme_Color::COLOR_1,
|
503 |
+
],
|
504 |
'default' => '#212529',
|
505 |
'selectors' => [
|
506 |
'{{WRAPPER}} .nf-form-layout .nf-field textarea' => 'color: {{VALUE}}',
|
includes/widgets/htmega_notify.php
CHANGED
@@ -313,6 +313,10 @@ class HTMega_Elementor_Widget_Notify extends Widget_Base {
|
|
313 |
[
|
314 |
'label' => __( 'Color', 'htmega-addons' ),
|
315 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
316 |
'default' =>'#ffffff',
|
317 |
'selectors' => [
|
318 |
'{{WRAPPER}} button.htmega-notify-button' => 'color: {{VALUE}}',
|
@@ -410,6 +414,10 @@ class HTMega_Elementor_Widget_Notify extends Widget_Base {
|
|
410 |
[
|
411 |
'label' => __( 'Color', 'htmega-addons' ),
|
412 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
413 |
'default' =>'#ffffff',
|
414 |
'selectors' => [
|
415 |
'{{WRAPPER}} button.htmega-notify-button:hover' => 'color: {{VALUE}}',
|
@@ -465,6 +473,10 @@ class HTMega_Elementor_Widget_Notify extends Widget_Base {
|
|
465 |
[
|
466 |
'label' => __( 'Color', 'htmega-addons' ),
|
467 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
468 |
'default' =>'#ffffff',
|
469 |
'selectors' => [
|
470 |
'.htmega-alert-wrap-{{ID}}.alert strong' => 'color: {{VALUE}} !important',
|
@@ -571,6 +583,10 @@ class HTMega_Elementor_Widget_Notify extends Widget_Base {
|
|
571 |
[
|
572 |
'label' => __( 'Color', 'htmega-addons' ),
|
573 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
574 |
'default' =>'#ffffff',
|
575 |
'selectors' => [
|
576 |
'.htmega-alert-wrap-{{ID}}.alert span.htmega-close' => 'color: {{VALUE}} !important',
|
313 |
[
|
314 |
'label' => __( 'Color', 'htmega-addons' ),
|
315 |
'type' => Controls_Manager::COLOR,
|
316 |
+
'scheme' => [
|
317 |
+
'type' => Scheme_Color::get_type(),
|
318 |
+
'value' => Scheme_Color::COLOR_1,
|
319 |
+
],
|
320 |
'default' =>'#ffffff',
|
321 |
'selectors' => [
|
322 |
'{{WRAPPER}} button.htmega-notify-button' => 'color: {{VALUE}}',
|
414 |
[
|
415 |
'label' => __( 'Color', 'htmega-addons' ),
|
416 |
'type' => Controls_Manager::COLOR,
|
417 |
+
'scheme' => [
|
418 |
+
'type' => Scheme_Color::get_type(),
|
419 |
+
'value' => Scheme_Color::COLOR_1,
|
420 |
+
],
|
421 |
'default' =>'#ffffff',
|
422 |
'selectors' => [
|
423 |
'{{WRAPPER}} button.htmega-notify-button:hover' => 'color: {{VALUE}}',
|
473 |
[
|
474 |
'label' => __( 'Color', 'htmega-addons' ),
|
475 |
'type' => Controls_Manager::COLOR,
|
476 |
+
'scheme' => [
|
477 |
+
'type' => Scheme_Color::get_type(),
|
478 |
+
'value' => Scheme_Color::COLOR_1,
|
479 |
+
],
|
480 |
'default' =>'#ffffff',
|
481 |
'selectors' => [
|
482 |
'.htmega-alert-wrap-{{ID}}.alert strong' => 'color: {{VALUE}} !important',
|
583 |
[
|
584 |
'label' => __( 'Color', 'htmega-addons' ),
|
585 |
'type' => Controls_Manager::COLOR,
|
586 |
+
'scheme' => [
|
587 |
+
'type' => Scheme_Color::get_type(),
|
588 |
+
'value' => Scheme_Color::COLOR_1,
|
589 |
+
],
|
590 |
'default' =>'#ffffff',
|
591 |
'selectors' => [
|
592 |
'.htmega-alert-wrap-{{ID}}.alert span.htmega-close' => 'color: {{VALUE}} !important',
|
includes/widgets/htmega_panel_slider.php
CHANGED
@@ -105,7 +105,7 @@ class HTMega_Elementor_Widget_Panel_Slider extends Widget_Base {
|
|
105 |
'panel_slider_list',
|
106 |
[
|
107 |
'type' => Controls_Manager::REPEATER,
|
108 |
-
'fields' =>
|
109 |
'default' => [
|
110 |
[
|
111 |
'slider_title' => __( 'Tattoo Boy From New York', 'htmega-addons' ),
|
@@ -521,6 +521,10 @@ class HTMega_Elementor_Widget_Panel_Slider extends Widget_Base {
|
|
521 |
[
|
522 |
'label' => __( 'Color', 'htmega-addons' ),
|
523 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
524 |
'default'=>'',
|
525 |
'selectors' => [
|
526 |
'{{WRAPPER}} .panel-slider .content h2' => 'color: {{VALUE}}',
|
@@ -578,6 +582,10 @@ class HTMega_Elementor_Widget_Panel_Slider extends Widget_Base {
|
|
578 |
[
|
579 |
'label' => __( 'Color', 'htmega-addons' ),
|
580 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
581 |
'default'=>'',
|
582 |
'selectors' => [
|
583 |
'{{WRAPPER}} .panel-slider .content span' => 'color: {{VALUE}}',
|
@@ -649,6 +657,10 @@ class HTMega_Elementor_Widget_Panel_Slider extends Widget_Base {
|
|
649 |
[
|
650 |
'label' => __( 'Color', 'htmega-addons' ),
|
651 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
652 |
'default' => '#ffffff',
|
653 |
'selectors' => [
|
654 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow' => 'color: {{VALUE}};',
|
@@ -791,6 +803,10 @@ class HTMega_Elementor_Widget_Panel_Slider extends Widget_Base {
|
|
791 |
[
|
792 |
'label' => __( 'Color', 'htmega-addons' ),
|
793 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
794 |
'default' => '#00282a',
|
795 |
'selectors' => [
|
796 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow:hover' => 'color: {{VALUE}};',
|
105 |
'panel_slider_list',
|
106 |
[
|
107 |
'type' => Controls_Manager::REPEATER,
|
108 |
+
'fields' => array_values( $repeater->get_controls() ),
|
109 |
'default' => [
|
110 |
[
|
111 |
'slider_title' => __( 'Tattoo Boy From New York', 'htmega-addons' ),
|
521 |
[
|
522 |
'label' => __( 'Color', 'htmega-addons' ),
|
523 |
'type' => Controls_Manager::COLOR,
|
524 |
+
'scheme' => [
|
525 |
+
'type' => Scheme_Color::get_type(),
|
526 |
+
'value' => Scheme_Color::COLOR_1,
|
527 |
+
],
|
528 |
'default'=>'',
|
529 |
'selectors' => [
|
530 |
'{{WRAPPER}} .panel-slider .content h2' => 'color: {{VALUE}}',
|
582 |
[
|
583 |
'label' => __( 'Color', 'htmega-addons' ),
|
584 |
'type' => Controls_Manager::COLOR,
|
585 |
+
'scheme' => [
|
586 |
+
'type' => Scheme_Color::get_type(),
|
587 |
+
'value' => Scheme_Color::COLOR_1,
|
588 |
+
],
|
589 |
'default'=>'',
|
590 |
'selectors' => [
|
591 |
'{{WRAPPER}} .panel-slider .content span' => 'color: {{VALUE}}',
|
657 |
[
|
658 |
'label' => __( 'Color', 'htmega-addons' ),
|
659 |
'type' => Controls_Manager::COLOR,
|
660 |
+
'scheme' => [
|
661 |
+
'type' => Scheme_Color::get_type(),
|
662 |
+
'value' => Scheme_Color::COLOR_1,
|
663 |
+
],
|
664 |
'default' => '#ffffff',
|
665 |
'selectors' => [
|
666 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow' => 'color: {{VALUE}};',
|
803 |
[
|
804 |
'label' => __( 'Color', 'htmega-addons' ),
|
805 |
'type' => Controls_Manager::COLOR,
|
806 |
+
'scheme' => [
|
807 |
+
'type' => Scheme_Color::get_type(),
|
808 |
+
'value' => Scheme_Color::COLOR_1,
|
809 |
+
],
|
810 |
'default' => '#00282a',
|
811 |
'selectors' => [
|
812 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_popover.php
CHANGED
@@ -329,6 +329,10 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
|
|
329 |
[
|
330 |
'label' => __( 'Color', 'htmega-addons' ),
|
331 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
332 |
'default' => '#ffffff',
|
333 |
'selectors' => [
|
334 |
'{{WRAPPER}} .htmega-popover span' => 'color: {{VALUE}};',
|
@@ -451,6 +455,10 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
|
|
451 |
[
|
452 |
'label' => __( 'Color', 'htmega-addons' ),
|
453 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
454 |
'default' => '#ffffff',
|
455 |
'selectors' => [
|
456 |
'{{WRAPPER}} .htmega-popover span:hover' => 'color: {{VALUE}};',
|
@@ -594,6 +602,10 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
|
|
594 |
[
|
595 |
'label' => __( 'Color', 'htmega-addons' ),
|
596 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
597 |
'default' => '#262626',
|
598 |
'selectors' => [
|
599 |
'{{WRAPPER}} .htb-popover .htb-popover-header' => 'color: {{VALUE}} !important;',
|
@@ -699,6 +711,10 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
|
|
699 |
[
|
700 |
'label' => __( 'Color', 'htmega-addons' ),
|
701 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
702 |
'default' => '#262626',
|
703 |
'selectors' => [
|
704 |
'{{WRAPPER}} .htb-popover .htb-popover-body' => 'color: {{VALUE}};',
|
@@ -795,6 +811,10 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
|
|
795 |
[
|
796 |
'label' => __( 'Arrow Border Color', 'htmega-addons' ),
|
797 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
798 |
'default' => '#e0e0e0',
|
799 |
'selectors' => [
|
800 |
'{{WRAPPER}} .htb-bs-popover-auto[x-placement^=top] .htb-arrow::before' => 'border-top-color: {{VALUE}} !important;',
|
@@ -814,6 +834,10 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
|
|
814 |
[
|
815 |
'label' => __( 'Arrow Background Color', 'htmega-addons' ),
|
816 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
817 |
'default' => '#ffffff',
|
818 |
'selectors' => [
|
819 |
'{{WRAPPER}} .htb-popover.htb-bs-popover-auto[x-placement^="top"] .htb-arrow::after' => 'border-top-color: {{VALUE}} !important;',
|
329 |
[
|
330 |
'label' => __( 'Color', 'htmega-addons' ),
|
331 |
'type' => Controls_Manager::COLOR,
|
332 |
+
'scheme' => [
|
333 |
+
'type' => Scheme_Color::get_type(),
|
334 |
+
'value' => Scheme_Color::COLOR_1,
|
335 |
+
],
|
336 |
'default' => '#ffffff',
|
337 |
'selectors' => [
|
338 |
'{{WRAPPER}} .htmega-popover span' => 'color: {{VALUE}};',
|
455 |
[
|
456 |
'label' => __( 'Color', 'htmega-addons' ),
|
457 |
'type' => Controls_Manager::COLOR,
|
458 |
+
'scheme' => [
|
459 |
+
'type' => Scheme_Color::get_type(),
|
460 |
+
'value' => Scheme_Color::COLOR_1,
|
461 |
+
],
|
462 |
'default' => '#ffffff',
|
463 |
'selectors' => [
|
464 |
'{{WRAPPER}} .htmega-popover span:hover' => 'color: {{VALUE}};',
|
602 |
[
|
603 |
'label' => __( 'Color', 'htmega-addons' ),
|
604 |
'type' => Controls_Manager::COLOR,
|
605 |
+
'scheme' => [
|
606 |
+
'type' => Scheme_Color::get_type(),
|
607 |
+
'value' => Scheme_Color::COLOR_1,
|
608 |
+
],
|
609 |
'default' => '#262626',
|
610 |
'selectors' => [
|
611 |
'{{WRAPPER}} .htb-popover .htb-popover-header' => 'color: {{VALUE}} !important;',
|
711 |
[
|
712 |
'label' => __( 'Color', 'htmega-addons' ),
|
713 |
'type' => Controls_Manager::COLOR,
|
714 |
+
'scheme' => [
|
715 |
+
'type' => Scheme_Color::get_type(),
|
716 |
+
'value' => Scheme_Color::COLOR_1,
|
717 |
+
],
|
718 |
'default' => '#262626',
|
719 |
'selectors' => [
|
720 |
'{{WRAPPER}} .htb-popover .htb-popover-body' => 'color: {{VALUE}};',
|
811 |
[
|
812 |
'label' => __( 'Arrow Border Color', 'htmega-addons' ),
|
813 |
'type' => Controls_Manager::COLOR,
|
814 |
+
'scheme' => [
|
815 |
+
'type' => Scheme_Color::get_type(),
|
816 |
+
'value' => Scheme_Color::COLOR_1,
|
817 |
+
],
|
818 |
'default' => '#e0e0e0',
|
819 |
'selectors' => [
|
820 |
'{{WRAPPER}} .htb-bs-popover-auto[x-placement^=top] .htb-arrow::before' => 'border-top-color: {{VALUE}} !important;',
|
834 |
[
|
835 |
'label' => __( 'Arrow Background Color', 'htmega-addons' ),
|
836 |
'type' => Controls_Manager::COLOR,
|
837 |
+
'scheme' => [
|
838 |
+
'type' => Scheme_Color::get_type(),
|
839 |
+
'value' => Scheme_Color::COLOR_1,
|
840 |
+
],
|
841 |
'default' => '#ffffff',
|
842 |
'selectors' => [
|
843 |
'{{WRAPPER}} .htb-popover.htb-bs-popover-auto[x-placement^="top"] .htb-arrow::after' => 'border-top-color: {{VALUE}} !important;',
|
includes/widgets/htmega_post_carousel.php
CHANGED
@@ -588,6 +588,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
588 |
[
|
589 |
'label' => __( 'Border Color', 'htmega-addons' ),
|
590 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
591 |
'default'=>'#b5b5b5',
|
592 |
'selectors' => [
|
593 |
'{{WRAPPER}} .post-carousel-wrapper .htmega-postslider-layout-2 .content .post-inner' => 'border-color: {{VALUE}}',
|
@@ -600,6 +604,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
600 |
[
|
601 |
'label' => __( 'Hover Border Color', 'htmega-addons' ),
|
602 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
603 |
'default'=>'#0056ff',
|
604 |
'selectors' => [
|
605 |
'{{WRAPPER}} .post-carousel-wrapper .htmega-postslider-layout-2:hover .content .post-inner' => 'border-color: {{VALUE}}',
|
@@ -625,6 +633,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
625 |
[
|
626 |
'label' => __( 'Color', 'htmega-addons' ),
|
627 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
628 |
'default'=>'#18012c',
|
629 |
'selectors' => [
|
630 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner h2 a' => 'color: {{VALUE}}',
|
@@ -713,6 +725,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
713 |
[
|
714 |
'label' => __( 'Color', 'htmega-addons' ),
|
715 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
716 |
'default'=>'#18012c',
|
717 |
'selectors' => [
|
718 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner p' => 'color: {{VALUE}}',
|
@@ -857,6 +873,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
857 |
[
|
858 |
'label' => __( 'Color', 'htmega-addons' ),
|
859 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
860 |
'default'=>'#ffffff',
|
861 |
'selectors' => [
|
862 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a' => 'color: {{VALUE}}',
|
@@ -921,6 +941,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
921 |
[
|
922 |
'label' => __( 'Color', 'htmega-addons' ),
|
923 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
924 |
'default'=>'#ffffff',
|
925 |
'selectors' => [
|
926 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a:hover' => 'color: {{VALUE}}',
|
@@ -957,6 +981,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
957 |
[
|
958 |
'label' => __( 'Color', 'htmega-addons' ),
|
959 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
960 |
'default'=>'#18012c',
|
961 |
'selectors' => [
|
962 |
'{{WRAPPER}} .htmega-single-post-slide ul.meta' => 'color: {{VALUE}}',
|
@@ -1057,6 +1085,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
1057 |
[
|
1058 |
'label' => __( 'Color', 'htmega-addons' ),
|
1059 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1060 |
'default'=>'#464545',
|
1061 |
'selectors' => [
|
1062 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn' => 'color: {{VALUE}}; border-bottom: 1px solid {{VALUE}}',
|
@@ -1141,6 +1173,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
1141 |
[
|
1142 |
'label' => __( 'Color', 'htmega-addons' ),
|
1143 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1144 |
'default'=>'#ffffff',
|
1145 |
'selectors' => [
|
1146 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn:hover' => 'color: {{VALUE}}',
|
@@ -1213,6 +1249,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
1213 |
[
|
1214 |
'label' => __( 'Color', 'htmega-addons' ),
|
1215 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1216 |
'default' => '#00282a',
|
1217 |
'selectors' => [
|
1218 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow' => 'color: {{VALUE}};',
|
@@ -1359,6 +1399,10 @@ class HTMega_Elementor_Widget_Post_Carousel extends Widget_Base {
|
|
1359 |
[
|
1360 |
'label' => __( 'Color', 'htmega-addons' ),
|
1361 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1362 |
'default' => '#00282a',
|
1363 |
'selectors' => [
|
1364 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow:hover' => 'color: {{VALUE}};',
|
588 |
[
|
589 |
'label' => __( 'Border Color', 'htmega-addons' ),
|
590 |
'type' => Controls_Manager::COLOR,
|
591 |
+
'scheme' => [
|
592 |
+
'type' => Scheme_Color::get_type(),
|
593 |
+
'value' => Scheme_Color::COLOR_1,
|
594 |
+
],
|
595 |
'default'=>'#b5b5b5',
|
596 |
'selectors' => [
|
597 |
'{{WRAPPER}} .post-carousel-wrapper .htmega-postslider-layout-2 .content .post-inner' => 'border-color: {{VALUE}}',
|
604 |
[
|
605 |
'label' => __( 'Hover Border Color', 'htmega-addons' ),
|
606 |
'type' => Controls_Manager::COLOR,
|
607 |
+
'scheme' => [
|
608 |
+
'type' => Scheme_Color::get_type(),
|
609 |
+
'value' => Scheme_Color::COLOR_1,
|
610 |
+
],
|
611 |
'default'=>'#0056ff',
|
612 |
'selectors' => [
|
613 |
'{{WRAPPER}} .post-carousel-wrapper .htmega-postslider-layout-2:hover .content .post-inner' => 'border-color: {{VALUE}}',
|
633 |
[
|
634 |
'label' => __( 'Color', 'htmega-addons' ),
|
635 |
'type' => Controls_Manager::COLOR,
|
636 |
+
'scheme' => [
|
637 |
+
'type' => Scheme_Color::get_type(),
|
638 |
+
'value' => Scheme_Color::COLOR_1,
|
639 |
+
],
|
640 |
'default'=>'#18012c',
|
641 |
'selectors' => [
|
642 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner h2 a' => 'color: {{VALUE}}',
|
725 |
[
|
726 |
'label' => __( 'Color', 'htmega-addons' ),
|
727 |
'type' => Controls_Manager::COLOR,
|
728 |
+
'scheme' => [
|
729 |
+
'type' => Scheme_Color::get_type(),
|
730 |
+
'value' => Scheme_Color::COLOR_1,
|
731 |
+
],
|
732 |
'default'=>'#18012c',
|
733 |
'selectors' => [
|
734 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner p' => 'color: {{VALUE}}',
|
873 |
[
|
874 |
'label' => __( 'Color', 'htmega-addons' ),
|
875 |
'type' => Controls_Manager::COLOR,
|
876 |
+
'scheme' => [
|
877 |
+
'type' => Scheme_Color::get_type(),
|
878 |
+
'value' => Scheme_Color::COLOR_1,
|
879 |
+
],
|
880 |
'default'=>'#ffffff',
|
881 |
'selectors' => [
|
882 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a' => 'color: {{VALUE}}',
|
941 |
[
|
942 |
'label' => __( 'Color', 'htmega-addons' ),
|
943 |
'type' => Controls_Manager::COLOR,
|
944 |
+
'scheme' => [
|
945 |
+
'type' => Scheme_Color::get_type(),
|
946 |
+
'value' => Scheme_Color::COLOR_1,
|
947 |
+
],
|
948 |
'default'=>'#ffffff',
|
949 |
'selectors' => [
|
950 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a:hover' => 'color: {{VALUE}}',
|
981 |
[
|
982 |
'label' => __( 'Color', 'htmega-addons' ),
|
983 |
'type' => Controls_Manager::COLOR,
|
984 |
+
'scheme' => [
|
985 |
+
'type' => Scheme_Color::get_type(),
|
986 |
+
'value' => Scheme_Color::COLOR_1,
|
987 |
+
],
|
988 |
'default'=>'#18012c',
|
989 |
'selectors' => [
|
990 |
'{{WRAPPER}} .htmega-single-post-slide ul.meta' => 'color: {{VALUE}}',
|
1085 |
[
|
1086 |
'label' => __( 'Color', 'htmega-addons' ),
|
1087 |
'type' => Controls_Manager::COLOR,
|
1088 |
+
'scheme' => [
|
1089 |
+
'type' => Scheme_Color::get_type(),
|
1090 |
+
'value' => Scheme_Color::COLOR_1,
|
1091 |
+
],
|
1092 |
'default'=>'#464545',
|
1093 |
'selectors' => [
|
1094 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn' => 'color: {{VALUE}}; border-bottom: 1px solid {{VALUE}}',
|
1173 |
[
|
1174 |
'label' => __( 'Color', 'htmega-addons' ),
|
1175 |
'type' => Controls_Manager::COLOR,
|
1176 |
+
'scheme' => [
|
1177 |
+
'type' => Scheme_Color::get_type(),
|
1178 |
+
'value' => Scheme_Color::COLOR_1,
|
1179 |
+
],
|
1180 |
'default'=>'#ffffff',
|
1181 |
'selectors' => [
|
1182 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn:hover' => 'color: {{VALUE}}',
|
1249 |
[
|
1250 |
'label' => __( 'Color', 'htmega-addons' ),
|
1251 |
'type' => Controls_Manager::COLOR,
|
1252 |
+
'scheme' => [
|
1253 |
+
'type' => Scheme_Color::get_type(),
|
1254 |
+
'value' => Scheme_Color::COLOR_1,
|
1255 |
+
],
|
1256 |
'default' => '#00282a',
|
1257 |
'selectors' => [
|
1258 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow' => 'color: {{VALUE}};',
|
1399 |
[
|
1400 |
'label' => __( 'Color', 'htmega-addons' ),
|
1401 |
'type' => Controls_Manager::COLOR,
|
1402 |
+
'scheme' => [
|
1403 |
+
'type' => Scheme_Color::get_type(),
|
1404 |
+
'value' => Scheme_Color::COLOR_1,
|
1405 |
+
],
|
1406 |
'default' => '#00282a',
|
1407 |
'selectors' => [
|
1408 |
'{{WRAPPER}} .htmega-carousel-activation button.slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_post_grid.php
CHANGED
@@ -212,6 +212,10 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
|
|
212 |
[
|
213 |
'label' => __( 'Color', 'htmega-addons' ),
|
214 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
215 |
'default'=>'#ffffff',
|
216 |
'selectors' => [
|
217 |
'{{WRAPPER}} .ht-post .post-content .content h2 a' => 'color: {{VALUE}}',
|
@@ -305,6 +309,10 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
|
|
305 |
[
|
306 |
'label' => __( 'Color', 'htmega-addons' ),
|
307 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
308 |
'default'=>'#ffffff',
|
309 |
'selectors' => [
|
310 |
'{{WRAPPER}} .ht-post .post-content .content .meta' => 'color: {{VALUE}}',
|
@@ -394,6 +402,10 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
|
|
394 |
[
|
395 |
'label' => __( 'Color', 'htmega-addons' ),
|
396 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
397 |
'default'=>'#ffffff',
|
398 |
'selectors' => [
|
399 |
'{{WRAPPER}} .ht-post a.post-category' => 'color: {{VALUE}}',
|
212 |
[
|
213 |
'label' => __( 'Color', 'htmega-addons' ),
|
214 |
'type' => Controls_Manager::COLOR,
|
215 |
+
'scheme' => [
|
216 |
+
'type' => Scheme_Color::get_type(),
|
217 |
+
'value' => Scheme_Color::COLOR_1,
|
218 |
+
],
|
219 |
'default'=>'#ffffff',
|
220 |
'selectors' => [
|
221 |
'{{WRAPPER}} .ht-post .post-content .content h2 a' => 'color: {{VALUE}}',
|
309 |
[
|
310 |
'label' => __( 'Color', 'htmega-addons' ),
|
311 |
'type' => Controls_Manager::COLOR,
|
312 |
+
'scheme' => [
|
313 |
+
'type' => Scheme_Color::get_type(),
|
314 |
+
'value' => Scheme_Color::COLOR_1,
|
315 |
+
],
|
316 |
'default'=>'#ffffff',
|
317 |
'selectors' => [
|
318 |
'{{WRAPPER}} .ht-post .post-content .content .meta' => 'color: {{VALUE}}',
|
402 |
[
|
403 |
'label' => __( 'Color', 'htmega-addons' ),
|
404 |
'type' => Controls_Manager::COLOR,
|
405 |
+
'scheme' => [
|
406 |
+
'type' => Scheme_Color::get_type(),
|
407 |
+
'value' => Scheme_Color::COLOR_1,
|
408 |
+
],
|
409 |
'default'=>'#ffffff',
|
410 |
'selectors' => [
|
411 |
'{{WRAPPER}} .ht-post a.post-category' => 'color: {{VALUE}}',
|
includes/widgets/htmega_post_grid_tab.php
CHANGED
@@ -294,6 +294,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
294 |
[
|
295 |
'label' => __( 'Color', 'htmega-addons' ),
|
296 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
297 |
'default'=>'#494849',
|
298 |
'selectors' => [
|
299 |
'{{WRAPPER}} .single-post-grid-tab .post-inner h2 a' => 'color: {{VALUE}}',
|
@@ -379,6 +383,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
379 |
[
|
380 |
'label' => __( 'Color', 'htmega-addons' ),
|
381 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
382 |
'default'=>'#494849',
|
383 |
'selectors' => [
|
384 |
'{{WRAPPER}} .single-post-grid-tab .post-inner p' => 'color: {{VALUE}}',
|
@@ -477,6 +485,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
477 |
[
|
478 |
'label' => __( 'Color', 'htmega-addons' ),
|
479 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
480 |
'default'=>'#ffffff',
|
481 |
'selectors' => [
|
482 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-category li a' => 'color: {{VALUE}}',
|
@@ -541,6 +553,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
541 |
[
|
542 |
'label' => __( 'Color', 'htmega-addons' ),
|
543 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
544 |
'default'=>'#ffffff',
|
545 |
'selectors' => [
|
546 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-category li a:hover' => 'color: {{VALUE}}',
|
@@ -577,6 +593,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
577 |
[
|
578 |
'label' => __( 'Color', 'htmega-addons' ),
|
579 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
580 |
'default'=>'#464545',
|
581 |
'selectors' => [
|
582 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .meta' => 'color: {{VALUE}}',
|
@@ -677,6 +697,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
677 |
[
|
678 |
'label' => __( 'Color', 'htmega-addons' ),
|
679 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
680 |
'default'=>'#494849',
|
681 |
'selectors' => [
|
682 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-btn a.readmore-btn' => 'color: {{VALUE}}',
|
@@ -761,6 +785,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
761 |
[
|
762 |
'label' => __( 'Color', 'htmega-addons' ),
|
763 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
764 |
'default'=>'#494849',
|
765 |
'selectors' => [
|
766 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-btn a.readmore-btn:hover' => 'color: {{VALUE}}',
|
@@ -828,6 +856,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
828 |
[
|
829 |
'label' => __( 'Color', 'htmega-addons' ),
|
830 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
831 |
'default'=>'#ffffff',
|
832 |
'selectors' => [
|
833 |
'{{WRAPPER}} .post-content .close__wrap button' => 'color: {{VALUE}}',
|
@@ -858,6 +890,10 @@ class HTMega_Elementor_Widget_Post_Grid_Tab extends Widget_Base {
|
|
858 |
[
|
859 |
'label' => __( 'Color', 'htmega-addons' ),
|
860 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
861 |
'default'=>'#ffffff',
|
862 |
'selectors' => [
|
863 |
'{{WRAPPER}} .post-content .close__wrap button:hover' => 'color: {{VALUE}}',
|
294 |
[
|
295 |
'label' => __( 'Color', 'htmega-addons' ),
|
296 |
'type' => Controls_Manager::COLOR,
|
297 |
+
'scheme' => [
|
298 |
+
'type' => Scheme_Color::get_type(),
|
299 |
+
'value' => Scheme_Color::COLOR_1,
|
300 |
+
],
|
301 |
'default'=>'#494849',
|
302 |
'selectors' => [
|
303 |
'{{WRAPPER}} .single-post-grid-tab .post-inner h2 a' => 'color: {{VALUE}}',
|
383 |
[
|
384 |
'label' => __( 'Color', 'htmega-addons' ),
|
385 |
'type' => Controls_Manager::COLOR,
|
386 |
+
'scheme' => [
|
387 |
+
'type' => Scheme_Color::get_type(),
|
388 |
+
'value' => Scheme_Color::COLOR_1,
|
389 |
+
],
|
390 |
'default'=>'#494849',
|
391 |
'selectors' => [
|
392 |
'{{WRAPPER}} .single-post-grid-tab .post-inner p' => 'color: {{VALUE}}',
|
485 |
[
|
486 |
'label' => __( 'Color', 'htmega-addons' ),
|
487 |
'type' => Controls_Manager::COLOR,
|
488 |
+
'scheme' => [
|
489 |
+
'type' => Scheme_Color::get_type(),
|
490 |
+
'value' => Scheme_Color::COLOR_1,
|
491 |
+
],
|
492 |
'default'=>'#ffffff',
|
493 |
'selectors' => [
|
494 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-category li a' => 'color: {{VALUE}}',
|
553 |
[
|
554 |
'label' => __( 'Color', 'htmega-addons' ),
|
555 |
'type' => Controls_Manager::COLOR,
|
556 |
+
'scheme' => [
|
557 |
+
'type' => Scheme_Color::get_type(),
|
558 |
+
'value' => Scheme_Color::COLOR_1,
|
559 |
+
],
|
560 |
'default'=>'#ffffff',
|
561 |
'selectors' => [
|
562 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-category li a:hover' => 'color: {{VALUE}}',
|
593 |
[
|
594 |
'label' => __( 'Color', 'htmega-addons' ),
|
595 |
'type' => Controls_Manager::COLOR,
|
596 |
+
'scheme' => [
|
597 |
+
'type' => Scheme_Color::get_type(),
|
598 |
+
'value' => Scheme_Color::COLOR_1,
|
599 |
+
],
|
600 |
'default'=>'#464545',
|
601 |
'selectors' => [
|
602 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .meta' => 'color: {{VALUE}}',
|
697 |
[
|
698 |
'label' => __( 'Color', 'htmega-addons' ),
|
699 |
'type' => Controls_Manager::COLOR,
|
700 |
+
'scheme' => [
|
701 |
+
'type' => Scheme_Color::get_type(),
|
702 |
+
'value' => Scheme_Color::COLOR_1,
|
703 |
+
],
|
704 |
'default'=>'#494849',
|
705 |
'selectors' => [
|
706 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-btn a.readmore-btn' => 'color: {{VALUE}}',
|
785 |
[
|
786 |
'label' => __( 'Color', 'htmega-addons' ),
|
787 |
'type' => Controls_Manager::COLOR,
|
788 |
+
'scheme' => [
|
789 |
+
'type' => Scheme_Color::get_type(),
|
790 |
+
'value' => Scheme_Color::COLOR_1,
|
791 |
+
],
|
792 |
'default'=>'#494849',
|
793 |
'selectors' => [
|
794 |
'{{WRAPPER}} .single-post-grid-tab .post-inner .post-btn a.readmore-btn:hover' => 'color: {{VALUE}}',
|
856 |
[
|
857 |
'label' => __( 'Color', 'htmega-addons' ),
|
858 |
'type' => Controls_Manager::COLOR,
|
859 |
+
'scheme' => [
|
860 |
+
'type' => Scheme_Color::get_type(),
|
861 |
+
'value' => Scheme_Color::COLOR_1,
|
862 |
+
],
|
863 |
'default'=>'#ffffff',
|
864 |
'selectors' => [
|
865 |
'{{WRAPPER}} .post-content .close__wrap button' => 'color: {{VALUE}}',
|
890 |
[
|
891 |
'label' => __( 'Color', 'htmega-addons' ),
|
892 |
'type' => Controls_Manager::COLOR,
|
893 |
+
'scheme' => [
|
894 |
+
'type' => Scheme_Color::get_type(),
|
895 |
+
'value' => Scheme_Color::COLOR_1,
|
896 |
+
],
|
897 |
'default'=>'#ffffff',
|
898 |
'selectors' => [
|
899 |
'{{WRAPPER}} .post-content .close__wrap button:hover' => 'color: {{VALUE}}',
|
includes/widgets/htmega_post_slider.php
CHANGED
@@ -589,6 +589,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
589 |
[
|
590 |
'label' => __( 'Color', 'htmega-addons' ),
|
591 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
592 |
'default'=>'#18012c',
|
593 |
'selectors' => [
|
594 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner h2 a' => 'color: {{VALUE}}',
|
@@ -677,6 +681,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
677 |
[
|
678 |
'label' => __( 'Color', 'htmega-addons' ),
|
679 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
680 |
'default'=>'#18012c',
|
681 |
'selectors' => [
|
682 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner p' => 'color: {{VALUE}}',
|
@@ -775,6 +783,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
775 |
[
|
776 |
'label' => __( 'Color', 'htmega-addons' ),
|
777 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
778 |
'default'=>'#ffffff',
|
779 |
'selectors' => [
|
780 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a' => 'color: {{VALUE}}',
|
@@ -839,6 +851,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
839 |
[
|
840 |
'label' => __( 'Color', 'htmega-addons' ),
|
841 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
842 |
'default'=>'#ffffff',
|
843 |
'selectors' => [
|
844 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a:hover' => 'color: {{VALUE}}',
|
@@ -875,6 +891,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
875 |
[
|
876 |
'label' => __( 'Color', 'htmega-addons' ),
|
877 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
878 |
'default'=>'#18012c',
|
879 |
'selectors' => [
|
880 |
'{{WRAPPER}} .htmega-single-post-slide ul.meta' => 'color: {{VALUE}}',
|
@@ -975,6 +995,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
975 |
[
|
976 |
'label' => __( 'Color', 'htmega-addons' ),
|
977 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
978 |
'default'=>'#464545',
|
979 |
'selectors' => [
|
980 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn' => 'color: {{VALUE}}',
|
@@ -1059,6 +1083,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
1059 |
[
|
1060 |
'label' => __( 'Color', 'htmega-addons' ),
|
1061 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1062 |
'default'=>'#ffffff',
|
1063 |
'selectors' => [
|
1064 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn:hover' => 'color: {{VALUE}}',
|
@@ -1195,6 +1223,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
1195 |
[
|
1196 |
'label' => __( 'Color', 'htmega-addons' ),
|
1197 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1198 |
'default' => '#00282a',
|
1199 |
'selectors' => [
|
1200 |
'{{WRAPPER}} .htmega-postslider-area button.slick-arrow' => 'color: {{VALUE}};',
|
@@ -1341,6 +1373,10 @@ class HTMega_Elementor_Widget_Post_Slider extends Widget_Base {
|
|
1341 |
[
|
1342 |
'label' => __( 'Color', 'htmega-addons' ),
|
1343 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1344 |
'default' => '#00282a',
|
1345 |
'selectors' => [
|
1346 |
'{{WRAPPER}} .htmega-postslider-area button.slick-arrow:hover' => 'color: {{VALUE}};',
|
589 |
[
|
590 |
'label' => __( 'Color', 'htmega-addons' ),
|
591 |
'type' => Controls_Manager::COLOR,
|
592 |
+
'scheme' => [
|
593 |
+
'type' => Scheme_Color::get_type(),
|
594 |
+
'value' => Scheme_Color::COLOR_1,
|
595 |
+
],
|
596 |
'default'=>'#18012c',
|
597 |
'selectors' => [
|
598 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner h2 a' => 'color: {{VALUE}}',
|
681 |
[
|
682 |
'label' => __( 'Color', 'htmega-addons' ),
|
683 |
'type' => Controls_Manager::COLOR,
|
684 |
+
'scheme' => [
|
685 |
+
'type' => Scheme_Color::get_type(),
|
686 |
+
'value' => Scheme_Color::COLOR_1,
|
687 |
+
],
|
688 |
'default'=>'#18012c',
|
689 |
'selectors' => [
|
690 |
'{{WRAPPER}} .htmega-single-post-slide .content .post-inner p' => 'color: {{VALUE}}',
|
783 |
[
|
784 |
'label' => __( 'Color', 'htmega-addons' ),
|
785 |
'type' => Controls_Manager::COLOR,
|
786 |
+
'scheme' => [
|
787 |
+
'type' => Scheme_Color::get_type(),
|
788 |
+
'value' => Scheme_Color::COLOR_1,
|
789 |
+
],
|
790 |
'default'=>'#ffffff',
|
791 |
'selectors' => [
|
792 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a' => 'color: {{VALUE}}',
|
851 |
[
|
852 |
'label' => __( 'Color', 'htmega-addons' ),
|
853 |
'type' => Controls_Manager::COLOR,
|
854 |
+
'scheme' => [
|
855 |
+
'type' => Scheme_Color::get_type(),
|
856 |
+
'value' => Scheme_Color::COLOR_1,
|
857 |
+
],
|
858 |
'default'=>'#ffffff',
|
859 |
'selectors' => [
|
860 |
'{{WRAPPER}} .htmega-single-post-slide .content ul.post-category li a:hover' => 'color: {{VALUE}}',
|
891 |
[
|
892 |
'label' => __( 'Color', 'htmega-addons' ),
|
893 |
'type' => Controls_Manager::COLOR,
|
894 |
+
'scheme' => [
|
895 |
+
'type' => Scheme_Color::get_type(),
|
896 |
+
'value' => Scheme_Color::COLOR_1,
|
897 |
+
],
|
898 |
'default'=>'#18012c',
|
899 |
'selectors' => [
|
900 |
'{{WRAPPER}} .htmega-single-post-slide ul.meta' => 'color: {{VALUE}}',
|
995 |
[
|
996 |
'label' => __( 'Color', 'htmega-addons' ),
|
997 |
'type' => Controls_Manager::COLOR,
|
998 |
+
'scheme' => [
|
999 |
+
'type' => Scheme_Color::get_type(),
|
1000 |
+
'value' => Scheme_Color::COLOR_1,
|
1001 |
+
],
|
1002 |
'default'=>'#464545',
|
1003 |
'selectors' => [
|
1004 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn' => 'color: {{VALUE}}',
|
1083 |
[
|
1084 |
'label' => __( 'Color', 'htmega-addons' ),
|
1085 |
'type' => Controls_Manager::COLOR,
|
1086 |
+
'scheme' => [
|
1087 |
+
'type' => Scheme_Color::get_type(),
|
1088 |
+
'value' => Scheme_Color::COLOR_1,
|
1089 |
+
],
|
1090 |
'default'=>'#ffffff',
|
1091 |
'selectors' => [
|
1092 |
'{{WRAPPER}} .htmega-single-post-slide .post-btn a.readmore-btn:hover' => 'color: {{VALUE}}',
|
1223 |
[
|
1224 |
'label' => __( 'Color', 'htmega-addons' ),
|
1225 |
'type' => Controls_Manager::COLOR,
|
1226 |
+
'scheme' => [
|
1227 |
+
'type' => Scheme_Color::get_type(),
|
1228 |
+
'value' => Scheme_Color::COLOR_1,
|
1229 |
+
],
|
1230 |
'default' => '#00282a',
|
1231 |
'selectors' => [
|
1232 |
'{{WRAPPER}} .htmega-postslider-area button.slick-arrow' => 'color: {{VALUE}};',
|
1373 |
[
|
1374 |
'label' => __( 'Color', 'htmega-addons' ),
|
1375 |
'type' => Controls_Manager::COLOR,
|
1376 |
+
'scheme' => [
|
1377 |
+
'type' => Scheme_Color::get_type(),
|
1378 |
+
'value' => Scheme_Color::COLOR_1,
|
1379 |
+
],
|
1380 |
'default' => '#00282a',
|
1381 |
'selectors' => [
|
1382 |
'{{WRAPPER}} .htmega-postslider-area button.slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_pricing_list_view.php
CHANGED
@@ -108,7 +108,7 @@ class HTMega_Elementor_Widget_Pricing_List_View extends Widget_Base {
|
|
108 |
'pricing_list',
|
109 |
[
|
110 |
'type' => Controls_Manager::REPEATER,
|
111 |
-
'fields' => $repeater_two->get_controls(),
|
112 |
'default' => [
|
113 |
[
|
114 |
'list_name' => __( 'WordPress Plugin', 'htmega-addons' ),
|
@@ -167,7 +167,7 @@ class HTMega_Elementor_Widget_Pricing_List_View extends Widget_Base {
|
|
167 |
'header_column_list',
|
168 |
[
|
169 |
'type' => Controls_Manager::REPEATER,
|
170 |
-
'fields' => $repeater->get_controls(),
|
171 |
'default' => [
|
172 |
[
|
173 |
'column_name' => __( 'No', 'htmega-addons' ),
|
@@ -305,7 +305,7 @@ class HTMega_Elementor_Widget_Pricing_List_View extends Widget_Base {
|
|
305 |
'content_list',
|
306 |
[
|
307 |
'type' => Controls_Manager::REPEATER,
|
308 |
-
'fields' => $repeater_one->get_controls(),
|
309 |
'default' => [
|
310 |
[
|
311 |
'field_type' => __( 'row', 'htmega-addons' ),
|
108 |
'pricing_list',
|
109 |
[
|
110 |
'type' => Controls_Manager::REPEATER,
|
111 |
+
'fields' => array_values( $repeater_two->get_controls() ),
|
112 |
'default' => [
|
113 |
[
|
114 |
'list_name' => __( 'WordPress Plugin', 'htmega-addons' ),
|
167 |
'header_column_list',
|
168 |
[
|
169 |
'type' => Controls_Manager::REPEATER,
|
170 |
+
'fields' => array_values( $repeater->get_controls() ),
|
171 |
'default' => [
|
172 |
[
|
173 |
'column_name' => __( 'No', 'htmega-addons' ),
|
305 |
'content_list',
|
306 |
[
|
307 |
'type' => Controls_Manager::REPEATER,
|
308 |
+
'fields' => array_values( $repeater_one->get_controls() ),
|
309 |
'default' => [
|
310 |
[
|
311 |
'field_type' => __( 'row', 'htmega-addons' ),
|
includes/widgets/htmega_pricing_table.php
CHANGED
@@ -331,7 +331,7 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
331 |
'htmega_features_list',
|
332 |
[
|
333 |
'type' => Controls_Manager::REPEATER,
|
334 |
-
'fields' =>
|
335 |
'default' => [
|
336 |
[
|
337 |
'htmega_features_title' => esc_html__( 'Features Title One', 'htmega-addons' ),
|
@@ -706,7 +706,7 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
706 |
'name' => 'pricing_footer_background',
|
707 |
'label' => __( 'Background', 'htmega-addons' ),
|
708 |
'types' => [ 'classic', 'gradient' ],
|
709 |
-
'selector' => '{{WRAPPER}} .htmega-pricing-body a.price_btn,{{WRAPPER}} .htmega-pricing-style-5 .htmega-pricing-body a.price_btn span
|
710 |
]
|
711 |
);
|
712 |
|
@@ -717,7 +717,6 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
717 |
'type' => Controls_Manager::COLOR,
|
718 |
'selectors' => [
|
719 |
'{{WRAPPER}} .htmega-pricing-body a.price_btn' => 'color: {{VALUE}}',
|
720 |
-
'{{WRAPPER}} .htmega-pricing-style-4 .htmega-pricing-footer a.price_btn' => 'color: {{VALUE}}',
|
721 |
]
|
722 |
]
|
723 |
);
|
@@ -739,7 +738,6 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
739 |
'size_units' => [ 'px', '%', 'em' ],
|
740 |
'selectors' => [
|
741 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
742 |
-
'{{WRAPPER}} .htmega-pricing-style-5 .htmega-pricing-body a.price_btn span' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
743 |
]
|
744 |
]
|
745 |
);
|
@@ -752,7 +750,6 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
752 |
'size_units' => [ 'px', '%', 'em' ],
|
753 |
'selectors' => [
|
754 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
755 |
-
'{{WRAPPER}} .htmega-pricing-style-5 .htmega-pricing-body a.price_btn span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
756 |
]
|
757 |
]
|
758 |
);
|
@@ -773,7 +770,6 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
773 |
'type' => Controls_Manager::DIMENSIONS,
|
774 |
'selectors' => [
|
775 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
776 |
-
'{{WRAPPER}} .htmega-pricing-style-5 .htmega-pricing-body a.price_btn span' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
777 |
],
|
778 |
]
|
779 |
);
|
@@ -825,7 +821,6 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
|
|
825 |
'type' => Controls_Manager::DIMENSIONS,
|
826 |
'selectors' => [
|
827 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn:hover' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
828 |
-
'{{WRAPPER}} .htmega-pricing-style-5 .htmega-pricing-body a.price_btn span:hover' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
829 |
],
|
830 |
]
|
831 |
);
|
331 |
'htmega_features_list',
|
332 |
[
|
333 |
'type' => Controls_Manager::REPEATER,
|
334 |
+
'fields' => array_values( $repeater->get_controls() ),
|
335 |
'default' => [
|
336 |
[
|
337 |
'htmega_features_title' => esc_html__( 'Features Title One', 'htmega-addons' ),
|
706 |
'name' => 'pricing_footer_background',
|
707 |
'label' => __( 'Background', 'htmega-addons' ),
|
708 |
'types' => [ 'classic', 'gradient' ],
|
709 |
+
'selector' => '{{WRAPPER}} .htmega-pricing-body a.price_btn,{{WRAPPER}} .htmega-pricing-style-5 .htmega-pricing-body a.price_btn span',
|
710 |
]
|
711 |
);
|
712 |
|
717 |
'type' => Controls_Manager::COLOR,
|
718 |
'selectors' => [
|
719 |
'{{WRAPPER}} .htmega-pricing-body a.price_btn' => 'color: {{VALUE}}',
|
|
|
720 |
]
|
721 |
]
|
722 |
);
|
738 |
'size_units' => [ 'px', '%', 'em' ],
|
739 |
'selectors' => [
|
740 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
|
|
741 |
]
|
742 |
]
|
743 |
);
|
750 |
'size_units' => [ 'px', '%', 'em' ],
|
751 |
'selectors' => [
|
752 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
|
|
753 |
]
|
754 |
]
|
755 |
);
|
770 |
'type' => Controls_Manager::DIMENSIONS,
|
771 |
'selectors' => [
|
772 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
|
|
773 |
],
|
774 |
]
|
775 |
);
|
821 |
'type' => Controls_Manager::DIMENSIONS,
|
822 |
'selectors' => [
|
823 |
'{{WRAPPER}} .htmega-pricing-footer a.price_btn:hover' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
|
|
824 |
],
|
825 |
]
|
826 |
);
|
includes/widgets/htmega_progressbar.php
CHANGED
@@ -81,308 +81,268 @@ class HTMega_Elementor_Widget_Progress_Bar extends Widget_Base {
|
|
81 |
);
|
82 |
|
83 |
// Accordion One Repeater
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
$repeater->add_control(
|
88 |
-
'htmega_progressbar_title',
|
89 |
-
[
|
90 |
-
'label' => __( 'Title', 'htmega-addons' ),
|
91 |
-
'type' => Controls_Manager::TEXT,
|
92 |
-
'default' => __( 'WordPress' , 'htmega-addons' ),
|
93 |
-
]
|
94 |
-
);
|
95 |
-
|
96 |
-
$repeater->add_control(
|
97 |
-
'htmega_progressbar_value',
|
98 |
[
|
99 |
-
'label' => __( 'Progress Bar
|
100 |
-
'type' => Controls_Manager::
|
101 |
-
'
|
102 |
-
'
|
103 |
-
'min' => 0,
|
104 |
-
'max' => 1000,
|
105 |
-
],
|
106 |
],
|
107 |
'default' => [
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
|
|
121 |
],
|
122 |
-
]
|
123 |
-
);
|
124 |
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
],
|
133 |
-
]
|
134 |
-
);
|
135 |
-
$repeater->add_control(
|
136 |
-
'htmega_progressbar_value_bg_color',
|
137 |
-
[
|
138 |
-
'label' => __( 'Progress bar value background color', 'htmega-addons' ),
|
139 |
-
'type' => Controls_Manager::COLOR,
|
140 |
-
'selectors' => [
|
141 |
-
'{{WRAPPER}} {{CURRENT_ITEM}} .percent-label' => 'background-color: {{VALUE}};',
|
142 |
-
],
|
143 |
-
]
|
144 |
-
);
|
145 |
-
$repeater->add_control(
|
146 |
-
'progressbar_before_after',
|
147 |
-
[
|
148 |
-
'label' => __( 'Value Indicator', 'htmega-addons' ),
|
149 |
-
'type' => Controls_Manager::SWITCHER,
|
150 |
-
'return_value' => 'yes',
|
151 |
-
'default' => 'no',
|
152 |
-
]
|
153 |
-
);
|
154 |
-
$repeater->add_control(
|
155 |
-
'progressbar_value_before_after_color',
|
156 |
-
[
|
157 |
-
'label' => __( 'Indicator color', 'htmega-addons' ),
|
158 |
-
'type' => Controls_Manager::COLOR,
|
159 |
-
'selectors' => [
|
160 |
-
'{{WRAPPER}} {{CURRENT_ITEM}}.htmega-progressbar-value-bottom .htb-progress span.percent-label::after' => 'border-top: 5px solid {{VALUE}};',
|
161 |
-
],
|
162 |
-
'condition' => [
|
163 |
-
'progressbar_before_after' =>'yes',
|
164 |
-
],
|
165 |
-
'separator' => 'before',
|
166 |
-
]
|
167 |
-
);
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
'htmega_progressbar_title' => __('Joomla','htmega-addons'),
|
188 |
-
'htmega_progressbar_color' => '#18012c',
|
189 |
-
'htmega_progressbar_value_color' => '#000000',
|
190 |
-
],
|
191 |
-
[
|
192 |
-
'htmega_progressbar_title' => __('Photoshop','htmega-addons'),
|
193 |
-
'htmega_progressbar_color' => '#18012c',
|
194 |
-
'htmega_progressbar_value_color' => '#000000',
|
195 |
-
],
|
196 |
-
],
|
197 |
-
'title_field' => '{{{ htmega_progressbar_title }}}',
|
198 |
-
]
|
199 |
-
);
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
|
204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
-
|
207 |
-
|
208 |
-
[
|
209 |
-
'label' => __( 'Title', 'htmega-addons' ),
|
210 |
-
'type' => Controls_Manager::TEXT,
|
211 |
-
'default' => __( 'WordPress' , 'htmega-addons' ),
|
212 |
]
|
213 |
);
|
214 |
|
215 |
-
|
216 |
-
|
|
|
217 |
[
|
218 |
-
'label' => __( 'Progress Bar
|
219 |
-
'type' => Controls_Manager::
|
220 |
-
'
|
221 |
-
'
|
222 |
-
'min' => 0,
|
223 |
-
'max' => 1000,
|
224 |
-
],
|
225 |
],
|
226 |
'default' => [
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
);
|
232 |
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
'px' => [
|
240 |
-
'min' => 0,
|
241 |
-
'max' => 1000,
|
242 |
-
'step' => 1,
|
243 |
],
|
244 |
-
|
245 |
-
|
246 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
],
|
248 |
-
],
|
249 |
-
'default' => [
|
250 |
-
'unit' => 'px',
|
251 |
-
'size' => 10,
|
252 |
-
],
|
253 |
-
]
|
254 |
-
);
|
255 |
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
]
|
277 |
-
);
|
278 |
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
|
|
|
|
|
|
|
|
295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progress span' => 'color: {{VALUE}};',
|
304 |
-
]
|
305 |
-
]
|
306 |
-
);
|
307 |
-
$repeater_two->add_control(
|
308 |
-
'htmega_progressbar_two_value_bg_color',
|
309 |
-
[
|
310 |
-
'label' => __( 'Progress bar value background color', 'htmega-addons' ),
|
311 |
-
'type' => Controls_Manager::COLOR,
|
312 |
-
'selectors' => [
|
313 |
-
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progress span' => 'background-color: {{VALUE}};',
|
314 |
-
],
|
315 |
-
]
|
316 |
-
);
|
317 |
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
],
|
327 |
-
'separator' => 'before',
|
328 |
-
]
|
329 |
-
);
|
330 |
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
|
355 |
-
$repeater_two->add_control(
|
356 |
-
'progressbar_single_items_border_radius',
|
357 |
-
[
|
358 |
-
'label' => esc_html__( 'Border Radius', 'htmega-addons' ),
|
359 |
-
'type' => Controls_Manager::DIMENSIONS,
|
360 |
-
'selectors' => [
|
361 |
-
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progressbg' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
362 |
],
|
363 |
-
'
|
364 |
]
|
365 |
);
|
366 |
|
367 |
-
$this->add_control(
|
368 |
-
'htmega_progressbar_list_two',
|
369 |
-
[
|
370 |
-
'label' => __( 'Progress Bar', 'htmega-addons' ),
|
371 |
-
'type' => Controls_Manager::REPEATER,
|
372 |
-
'fields' => $repeater_two->get_controls(),
|
373 |
-
'condition' => [
|
374 |
-
'htmega_progress_bar_style' =>'circle',
|
375 |
-
],
|
376 |
-
'default' => [
|
377 |
-
[
|
378 |
-
'htmega_progressbar_title' => __('WordPress','htmega-addons'),
|
379 |
-
|
380 |
-
],
|
381 |
-
],
|
382 |
-
'title_field' => '{{{ htmega_progressbar_title }}}',
|
383 |
-
]
|
384 |
-
);
|
385 |
-
|
386 |
$this->end_controls_section();
|
387 |
|
388 |
// Style tab Title section
|
81 |
);
|
82 |
|
83 |
// Accordion One Repeater
|
84 |
+
$this->add_control(
|
85 |
+
'htmega_progressbar_list',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
[
|
87 |
+
'label' => __( 'Progress Bar', 'htmega-addons' ),
|
88 |
+
'type' => Controls_Manager::REPEATER,
|
89 |
+
'condition' =>[
|
90 |
+
'htmega_progress_bar_style!' =>'circle',
|
|
|
|
|
|
|
91 |
],
|
92 |
'default' => [
|
93 |
+
[
|
94 |
+
'htmega_progressbar_title' => __('WordPress','htmega-addons'),
|
95 |
+
'htmega_progressbar_color' => '#18012c',
|
96 |
+
'htmega_progressbar_value_color' => '#000000',
|
97 |
+
],
|
98 |
+
[
|
99 |
+
'htmega_progressbar_title' => __('Joomla','htmega-addons'),
|
100 |
+
'htmega_progressbar_color' => '#18012c',
|
101 |
+
'htmega_progressbar_value_color' => '#000000',
|
102 |
+
],
|
103 |
+
[
|
104 |
+
'htmega_progressbar_title' => __('Photoshop','htmega-addons'),
|
105 |
+
'htmega_progressbar_color' => '#18012c',
|
106 |
+
'htmega_progressbar_value_color' => '#000000',
|
107 |
+
],
|
108 |
],
|
|
|
|
|
109 |
|
110 |
+
'fields' => [
|
111 |
+
[
|
112 |
+
'name' => 'htmega_progressbar_title',
|
113 |
+
'label' => __( 'Title', 'htmega-addons' ),
|
114 |
+
'type' => Controls_Manager::TEXT,
|
115 |
+
'default' => __( 'WordPress' , 'htmega-addons' ),
|
116 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
|
118 |
+
[
|
119 |
+
'name' => 'htmega_progressbar_value',
|
120 |
+
'label' => __( 'Progress Bar Value', 'htmega-addons' ),
|
121 |
+
'type' => Controls_Manager::SLIDER,
|
122 |
+
'range' => [
|
123 |
+
'px' => [
|
124 |
+
'min' => 0,
|
125 |
+
'max' => 1000,
|
126 |
+
],
|
127 |
+
],
|
128 |
+
'default' => [
|
129 |
+
'unit' => '%',
|
130 |
+
'size' => 50,
|
131 |
+
]
|
132 |
+
],
|
133 |
|
134 |
+
[
|
135 |
+
'name' =>'htmega_progressbar_color',
|
136 |
+
'label' => __( 'Progress bar color', 'htmega-addons' ),
|
137 |
+
'type' => Controls_Manager::COLOR,
|
138 |
+
'selectors' => [
|
139 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .htb-progress-bar' => 'background-color: {{VALUE}};',
|
140 |
+
],
|
141 |
+
],
|
142 |
+
|
143 |
+
[
|
144 |
+
'name' =>'htmega_progressbar_value_color',
|
145 |
+
'label' => __( 'Progress bar value color', 'htmega-addons' ),
|
146 |
+
'type' => Controls_Manager::COLOR,
|
147 |
+
'selectors' => [
|
148 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .percent-label' => 'color: {{VALUE}};',
|
149 |
+
],
|
150 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
|
152 |
+
[
|
153 |
+
'name' =>'htmega_progressbar_value_bg_color',
|
154 |
+
'label' => __( 'Progress bar value background color', 'htmega-addons' ),
|
155 |
+
'type' => Controls_Manager::COLOR,
|
156 |
+
'selectors' => [
|
157 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .percent-label' => 'background-color: {{VALUE}};',
|
158 |
+
],
|
159 |
+
],
|
160 |
|
161 |
+
[
|
162 |
+
'name' =>'progressbar_before_after',
|
163 |
+
'label' => __( 'Value Indicator', 'htmega-addons' ),
|
164 |
+
'type' => Controls_Manager::SWITCHER,
|
165 |
+
'return_value' => 'yes',
|
166 |
+
'default' => 'no',
|
167 |
+
],
|
168 |
|
169 |
+
[
|
170 |
+
'name' =>'progressbar_value_before_after_color',
|
171 |
+
'label' => __( 'Indicator color', 'htmega-addons' ),
|
172 |
+
'type' => Controls_Manager::COLOR,
|
173 |
+
'selectors' => [
|
174 |
+
'{{WRAPPER}} {{CURRENT_ITEM}}.htmega-progressbar-value-bottom .htb-progress span.percent-label::after' => 'border-top: 5px solid {{VALUE}};',
|
175 |
+
],
|
176 |
+
'condition' => [
|
177 |
+
'progressbar_before_after' =>'yes',
|
178 |
+
],
|
179 |
+
'separator' => 'before',
|
180 |
+
]
|
181 |
|
182 |
+
],
|
183 |
+
'title_field' => '{{{ htmega_progressbar_title }}}',
|
|
|
|
|
|
|
|
|
184 |
]
|
185 |
);
|
186 |
|
187 |
+
// Accordion Two Repeater
|
188 |
+
$this->add_control(
|
189 |
+
'htmega_progressbar_list_two',
|
190 |
[
|
191 |
+
'label' => __( 'Progress Bar', 'htmega-addons' ),
|
192 |
+
'type' => Controls_Manager::REPEATER,
|
193 |
+
'condition' =>[
|
194 |
+
'htmega_progress_bar_style' =>'circle',
|
|
|
|
|
|
|
195 |
],
|
196 |
'default' => [
|
197 |
+
[
|
198 |
+
'htmega_progressbar_title' => __('WordPress','htmega-addons'),
|
199 |
+
],
|
200 |
+
],
|
|
|
201 |
|
202 |
+
'fields' => [
|
203 |
+
[
|
204 |
+
'name' => 'htmega_progressbar_title',
|
205 |
+
'label' => __( 'Title', 'htmega-addons' ),
|
206 |
+
'type' => Controls_Manager::TEXT,
|
207 |
+
'default' => __( 'WordPress' , 'htmega-addons' ),
|
|
|
|
|
|
|
|
|
208 |
],
|
209 |
+
|
210 |
+
[
|
211 |
+
'name' => 'htmega_progressbar_value',
|
212 |
+
'label' => __( 'Progress Bar Value', 'htmega-addons' ),
|
213 |
+
'type' => Controls_Manager::SLIDER,
|
214 |
+
'range' => [
|
215 |
+
'px' => [
|
216 |
+
'min' => 0,
|
217 |
+
'max' => 1000,
|
218 |
+
],
|
219 |
+
],
|
220 |
+
'default' => [
|
221 |
+
'unit' => '%',
|
222 |
+
'size' => 50,
|
223 |
+
]
|
224 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
+
[
|
227 |
+
'name' => 'htmega_progressbar_lineweight',
|
228 |
+
'label' => __( 'Progress Bar Width', 'htmega-addons' ),
|
229 |
+
'type' => Controls_Manager::SLIDER,
|
230 |
+
'range' => [
|
231 |
+
'px' => [
|
232 |
+
'min' => 0,
|
233 |
+
'max' => 1000,
|
234 |
+
'step' => 1,
|
235 |
+
],
|
236 |
+
'%' => [
|
237 |
+
'min' => 0,
|
238 |
+
'max' => 100,
|
239 |
+
],
|
240 |
+
],
|
241 |
+
'default' => [
|
242 |
+
'unit' => 'px',
|
243 |
+
'size' => 10,
|
244 |
+
],
|
245 |
+
],
|
|
|
|
|
246 |
|
247 |
+
[
|
248 |
+
'name' => 'htmega_progressbar_size',
|
249 |
+
'label' => __( 'Progress Bar Size', 'htmega-addons' ),
|
250 |
+
'type' => Controls_Manager::SLIDER,
|
251 |
+
'range' => [
|
252 |
+
'px' => [
|
253 |
+
'min' => 0,
|
254 |
+
'max' => 1000,
|
255 |
+
'step' => 1,
|
256 |
+
],
|
257 |
+
'%' => [
|
258 |
+
'min' => 0,
|
259 |
+
'max' => 100,
|
260 |
+
],
|
261 |
+
],
|
262 |
+
'default' => [
|
263 |
+
'unit' => 'px',
|
264 |
+
'size' => 130,
|
265 |
+
],
|
266 |
+
],
|
267 |
|
268 |
+
[
|
269 |
+
'name' =>'htmega_progressbar_two_color',
|
270 |
+
'label' => __( 'Progress bar color', 'htmega-addons' ),
|
271 |
+
'type' => Controls_Manager::COLOR,
|
272 |
+
'default' =>'#1cb9da',
|
273 |
+
],
|
274 |
|
275 |
+
[
|
276 |
+
'name' =>'htmega_progressbar_track_color',
|
277 |
+
'label' => __( 'Progress bar track color', 'htmega-addons' ),
|
278 |
+
'type' => Controls_Manager::COLOR,
|
279 |
+
'default' =>'#dcd9d9',
|
280 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
|
282 |
+
[
|
283 |
+
'name' =>'htmega_progressbar_two_value_color',
|
284 |
+
'label' => __( 'Progress bar value color', 'htmega-addons' ),
|
285 |
+
'type' => Controls_Manager::COLOR,
|
286 |
+
'selectors' => [
|
287 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progress span' => 'color: {{VALUE}};',
|
288 |
+
],
|
289 |
+
],
|
|
|
|
|
|
|
|
|
290 |
|
291 |
+
[
|
292 |
+
'name' =>'htmega_progressbar_two_value_bg_color',
|
293 |
+
'label' => __( 'Progress bar value background color', 'htmega-addons' ),
|
294 |
+
'type' => Controls_Manager::COLOR,
|
295 |
+
'selectors' => [
|
296 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progress span' => 'background-color: {{VALUE}};',
|
297 |
+
],
|
298 |
+
],
|
299 |
+
|
300 |
+
[
|
301 |
+
'name' => 'progressbar_single_items_padding',
|
302 |
+
'label' => __( 'Padding', 'htmega-addons' ),
|
303 |
+
'type' => Controls_Manager::DIMENSIONS,
|
304 |
+
'size_units' => [ 'px', '%', 'em' ],
|
305 |
+
'selectors' => [
|
306 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progressbg' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
307 |
+
],
|
308 |
+
'separator' => 'before',
|
309 |
+
],
|
310 |
+
|
311 |
+
[
|
312 |
+
'name' => 'progressbar_single_items_border',
|
313 |
+
'label' => __( 'Border', 'htmega-addons' ),
|
314 |
+
'type' => Controls_Manager::DIMENSIONS,
|
315 |
+
'size_units' => [ 'px', '%', 'em' ],
|
316 |
+
'selectors' => [
|
317 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progressbg' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};border-style:solid;',
|
318 |
+
],
|
319 |
+
'separator' => 'before',
|
320 |
+
],
|
321 |
+
|
322 |
+
[
|
323 |
+
'name' =>'progressbar_single_items_border_color',
|
324 |
+
'label' => __( 'Border color', 'htmega-addons' ),
|
325 |
+
'type' => Controls_Manager::COLOR,
|
326 |
+
'selectors' => [
|
327 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progressbg' => 'border-color: {{VALUE}};',
|
328 |
+
],
|
329 |
+
],
|
330 |
+
|
331 |
+
[
|
332 |
+
'name' =>'progressbar_single_items_border_radius',
|
333 |
+
'label' => esc_html__( 'Border Radius', 'htmega-addons' ),
|
334 |
+
'type' => Controls_Manager::DIMENSIONS,
|
335 |
+
'selectors' => [
|
336 |
+
'{{WRAPPER}} {{CURRENT_ITEM}} .radial-progressbg' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
|
337 |
+
],
|
338 |
+
'separator' => 'before',
|
339 |
+
]
|
340 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
],
|
342 |
+
'title_field' => '{{{ htmega_progressbar_title }}}',
|
343 |
]
|
344 |
);
|
345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
$this->end_controls_section();
|
347 |
|
348 |
// Style tab Title section
|
includes/widgets/htmega_qu_forms.php
CHANGED
@@ -250,6 +250,10 @@ class HTMega_Elementor_Widget_QUforms extends Widget_Base {
|
|
250 |
[
|
251 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
252 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
253 |
'default' => '#ffffff',
|
254 |
'selectors' => [
|
255 |
'{{WRAPPER}} .quform-form-inner .quform-input input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .quform-form-inner .quform-input select' => 'background-color: {{VALUE}}',
|
@@ -262,6 +266,10 @@ class HTMega_Elementor_Widget_QUforms extends Widget_Base {
|
|
262 |
[
|
263 |
'label' => __( 'Color', 'htmega-addons' ),
|
264 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
265 |
'default' => '#212529',
|
266 |
'selectors' => [
|
267 |
'{{WRAPPER}} .quform-form-inner .quform-input input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .quform-form-inner .quform-input select' => 'color: {{VALUE}}',
|
@@ -361,6 +369,10 @@ class HTMega_Elementor_Widget_QUforms extends Widget_Base {
|
|
361 |
[
|
362 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
363 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
364 |
'default' => '#ffffff',
|
365 |
'selectors' => [
|
366 |
'{{WRAPPER}} .quform-form-inner .quform-input-textarea textarea' => 'background-color: {{VALUE}}',
|
@@ -373,8 +385,12 @@ class HTMega_Elementor_Widget_QUforms extends Widget_Base {
|
|
373 |
[
|
374 |
'label' => __( 'Color', 'htmega-addons' ),
|
375 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
376 |
'default' => '#212529',
|
377 |
-
'selectors'
|
378 |
'{{WRAPPER}} .quform-form-inner .quform-input-textarea textarea' => 'color: {{VALUE}}',
|
379 |
],
|
380 |
]
|
250 |
[
|
251 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
252 |
'type' => Controls_Manager::COLOR,
|
253 |
+
'scheme' => [
|
254 |
+
'type' => Scheme_Color::get_type(),
|
255 |
+
'value' => Scheme_Color::COLOR_1,
|
256 |
+
],
|
257 |
'default' => '#ffffff',
|
258 |
'selectors' => [
|
259 |
'{{WRAPPER}} .quform-form-inner .quform-input input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .quform-form-inner .quform-input select' => 'background-color: {{VALUE}}',
|
266 |
[
|
267 |
'label' => __( 'Color', 'htmega-addons' ),
|
268 |
'type' => Controls_Manager::COLOR,
|
269 |
+
'scheme' => [
|
270 |
+
'type' => Scheme_Color::get_type(),
|
271 |
+
'value' => Scheme_Color::COLOR_1,
|
272 |
+
],
|
273 |
'default' => '#212529',
|
274 |
'selectors' => [
|
275 |
'{{WRAPPER}} .quform-form-inner .quform-input input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .quform-form-inner .quform-input select' => 'color: {{VALUE}}',
|
369 |
[
|
370 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
371 |
'type' => Controls_Manager::COLOR,
|
372 |
+
'scheme' => [
|
373 |
+
'type' => Scheme_Color::get_type(),
|
374 |
+
'value' => Scheme_Color::COLOR_1,
|
375 |
+
],
|
376 |
'default' => '#ffffff',
|
377 |
'selectors' => [
|
378 |
'{{WRAPPER}} .quform-form-inner .quform-input-textarea textarea' => 'background-color: {{VALUE}}',
|
385 |
[
|
386 |
'label' => __( 'Color', 'htmega-addons' ),
|
387 |
'type' => Controls_Manager::COLOR,
|
388 |
+
'scheme' => [
|
389 |
+
'type' => Scheme_Color::get_type(),
|
390 |
+
'value' => Scheme_Color::COLOR_1,
|
391 |
+
],
|
392 |
'default' => '#212529',
|
393 |
+
'selectors' => [
|
394 |
'{{WRAPPER}} .quform-form-inner .quform-input-textarea textarea' => 'color: {{VALUE}}',
|
395 |
],
|
396 |
]
|
includes/widgets/htmega_scroll_navigation.php
CHANGED
@@ -21,6 +21,10 @@ class HTMega_Elementor_Widget_Scroll_Navigation extends Widget_Base {
|
|
21 |
return [ 'htmega-addons' ];
|
22 |
}
|
23 |
|
|
|
|
|
|
|
|
|
24 |
public function get_script_depends() {
|
25 |
return [
|
26 |
'swiper',
|
@@ -81,7 +85,7 @@ class HTMega_Elementor_Widget_Scroll_Navigation extends Widget_Base {
|
|
81 |
'navigator_content_list',
|
82 |
[
|
83 |
'type' => Controls_Manager::REPEATER,
|
84 |
-
'fields' => $repeater->get_controls() ,
|
85 |
'default' => [
|
86 |
|
87 |
[
|
@@ -222,6 +226,10 @@ class HTMega_Elementor_Widget_Scroll_Navigation extends Widget_Base {
|
|
222 |
[
|
223 |
'label' => __( 'Color', 'htmega-addons' ),
|
224 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
225 |
'default' => '#000000',
|
226 |
'selectors' => [
|
227 |
'{{WRAPPER}} .scroll-navigation-content' => 'color: {{VALUE}};',
|
21 |
return [ 'htmega-addons' ];
|
22 |
}
|
23 |
|
24 |
+
public function get_style_depends() {
|
25 |
+
return [];
|
26 |
+
}
|
27 |
+
|
28 |
public function get_script_depends() {
|
29 |
return [
|
30 |
'swiper',
|
85 |
'navigator_content_list',
|
86 |
[
|
87 |
'type' => Controls_Manager::REPEATER,
|
88 |
+
'fields' => array_values( $repeater->get_controls() ),
|
89 |
'default' => [
|
90 |
|
91 |
[
|
226 |
[
|
227 |
'label' => __( 'Color', 'htmega-addons' ),
|
228 |
'type' => Controls_Manager::COLOR,
|
229 |
+
'scheme' => [
|
230 |
+
'type' => Scheme_Color::get_type(),
|
231 |
+
'value' => Scheme_Color::COLOR_1,
|
232 |
+
],
|
233 |
'default' => '#000000',
|
234 |
'selectors' => [
|
235 |
'{{WRAPPER}} .scroll-navigation-content' => 'color: {{VALUE}};',
|
includes/widgets/htmega_section_title.php
CHANGED
@@ -417,6 +417,10 @@ class HTMega_Elementor_Widget_Section_Title extends Widget_Base {
|
|
417 |
[
|
418 |
'label' => __( 'Before And After Border Color', 'htmega-addons' ),
|
419 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
420 |
'default' => '#412e51',
|
421 |
'selectors' => [
|
422 |
'{{WRAPPER}} .title-style-two .section-title-txt::before' => 'background-color: {{VALUE}};',
|
@@ -433,6 +437,10 @@ class HTMega_Elementor_Widget_Section_Title extends Widget_Base {
|
|
433 |
[
|
434 |
'label' => __( 'Title Separator Color', 'htmega-addons' ),
|
435 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
436 |
'default' => '#412e51',
|
437 |
'selectors' => [
|
438 |
'{{WRAPPER}} .htmega-section-title span.htmega-title-sperator' => 'background-color: {{VALUE}};',
|
@@ -487,6 +495,10 @@ class HTMega_Elementor_Widget_Section_Title extends Widget_Base {
|
|
487 |
[
|
488 |
'label' => __( 'Color', 'htmega-addons' ),
|
489 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
490 |
'default' => '#23252a',
|
491 |
'selectors' => [
|
492 |
'{{WRAPPER}} .htmega-section-title .section-title-txt' => 'color: {{VALUE}};',
|
@@ -599,6 +611,10 @@ class HTMega_Elementor_Widget_Section_Title extends Widget_Base {
|
|
599 |
[
|
600 |
'label' => __( 'Color', 'htmega-addons' ),
|
601 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
602 |
'default' => '#23252a',
|
603 |
'selectors' => [
|
604 |
'{{WRAPPER}} .htmega-section-title .section-subtitle-txt' => 'color: {{VALUE}};',
|
@@ -710,6 +726,10 @@ class HTMega_Elementor_Widget_Section_Title extends Widget_Base {
|
|
710 |
[
|
711 |
'label' => __( 'Color', 'htmega-addons' ),
|
712 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
713 |
'default' => '#f1f1f1',
|
714 |
'selectors' => [
|
715 |
'{{WRAPPER}} .htmega-section-title .section-advancetitle-txt' => 'color: {{VALUE}};',
|
417 |
[
|
418 |
'label' => __( 'Before And After Border Color', 'htmega-addons' ),
|
419 |
'type' => Controls_Manager::COLOR,
|
420 |
+
'scheme' => [
|
421 |
+
'type' => Scheme_Color::get_type(),
|
422 |
+
'value' => Scheme_Color::COLOR_1,
|
423 |
+
],
|
424 |
'default' => '#412e51',
|
425 |
'selectors' => [
|
426 |
'{{WRAPPER}} .title-style-two .section-title-txt::before' => 'background-color: {{VALUE}};',
|
437 |
[
|
438 |
'label' => __( 'Title Separator Color', 'htmega-addons' ),
|
439 |
'type' => Controls_Manager::COLOR,
|
440 |
+
'scheme' => [
|
441 |
+
'type' => Scheme_Color::get_type(),
|
442 |
+
'value' => Scheme_Color::COLOR_1,
|
443 |
+
],
|
444 |
'default' => '#412e51',
|
445 |
'selectors' => [
|
446 |
'{{WRAPPER}} .htmega-section-title span.htmega-title-sperator' => 'background-color: {{VALUE}};',
|
495 |
[
|
496 |
'label' => __( 'Color', 'htmega-addons' ),
|
497 |
'type' => Controls_Manager::COLOR,
|
498 |
+
'scheme' => [
|
499 |
+
'type' => Scheme_Color::get_type(),
|
500 |
+
'value' => Scheme_Color::COLOR_1,
|
501 |
+
],
|
502 |
'default' => '#23252a',
|
503 |
'selectors' => [
|
504 |
'{{WRAPPER}} .htmega-section-title .section-title-txt' => 'color: {{VALUE}};',
|
611 |
[
|
612 |
'label' => __( 'Color', 'htmega-addons' ),
|
613 |
'type' => Controls_Manager::COLOR,
|
614 |
+
'scheme' => [
|
615 |
+
'type' => Scheme_Color::get_type(),
|
616 |
+
'value' => Scheme_Color::COLOR_1,
|
617 |
+
],
|
618 |
'default' => '#23252a',
|
619 |
'selectors' => [
|
620 |
'{{WRAPPER}} .htmega-section-title .section-subtitle-txt' => 'color: {{VALUE}};',
|
726 |
[
|
727 |
'label' => __( 'Color', 'htmega-addons' ),
|
728 |
'type' => Controls_Manager::COLOR,
|
729 |
+
'scheme' => [
|
730 |
+
'type' => Scheme_Color::get_type(),
|
731 |
+
'value' => Scheme_Color::COLOR_1,
|
732 |
+
],
|
733 |
'default' => '#f1f1f1',
|
734 |
'selectors' => [
|
735 |
'{{WRAPPER}} .htmega-section-title .section-advancetitle-txt' => 'color: {{VALUE}};',
|
includes/widgets/htmega_services.php
CHANGED
@@ -244,6 +244,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
244 |
[
|
245 |
'label' => __( 'Color', 'htmega-addons' ),
|
246 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
247 |
'default' => '#5b5b5b',
|
248 |
'selectors' => [
|
249 |
'{{WRAPPER}} .htmega-service .service-title' => 'color: {{VALUE}};',
|
@@ -322,6 +326,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
322 |
[
|
323 |
'label' => __( 'Hover Color', 'htmega-addons' ),
|
324 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
325 |
'default' => '#5b5b5b',
|
326 |
'selectors' => [
|
327 |
'{{WRAPPER}} .htmega-service .service-title a:hover' => 'color: {{VALUE}};',
|
@@ -334,6 +342,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
334 |
[
|
335 |
'label' => __( 'Title Border Color', 'htmega-addons' ),
|
336 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
337 |
'condition'=>[
|
338 |
'htmega_service_style' => '3',
|
339 |
],
|
@@ -363,6 +375,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
363 |
[
|
364 |
'label' => __( 'Color', 'htmega-addons' ),
|
365 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
366 |
'default' => '#8f8f8f',
|
367 |
'selectors' => [
|
368 |
'{{WRAPPER}} .htmega-service .content p' => 'color: {{VALUE}};',
|
@@ -527,6 +543,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
527 |
[
|
528 |
'label' => __( 'Color', 'htmega-addons' ),
|
529 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
530 |
'default' => '#ed552d',
|
531 |
'selectors' => [
|
532 |
'{{WRAPPER}} .htmega-service .icon i' => 'color: {{VALUE}};',
|
@@ -636,6 +656,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
636 |
[
|
637 |
'label' => __( 'Color', 'htmega-addons' ),
|
638 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
639 |
'default' => '#ffffff',
|
640 |
'selectors' => [
|
641 |
'{{WRAPPER}} .htmega-service:hover .icon i' => 'color: {{VALUE}};',
|
@@ -845,6 +869,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
845 |
[
|
846 |
'label' => __( 'Color', 'htmega-addons' ),
|
847 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
848 |
'default' => '#0056ff',
|
849 |
'selectors' => [
|
850 |
'{{WRAPPER}} .htmega-service a.readmore_btn' => 'color: {{VALUE}};',
|
@@ -932,6 +960,10 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
|
|
932 |
[
|
933 |
'label' => __( 'Color', 'htmega-addons' ),
|
934 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
935 |
'default' => '#ffffff',
|
936 |
'selectors' => [
|
937 |
'{{WRAPPER}} .htmega-service a.readmore_btn:hover' => 'color: {{VALUE}};',
|
244 |
[
|
245 |
'label' => __( 'Color', 'htmega-addons' ),
|
246 |
'type' => Controls_Manager::COLOR,
|
247 |
+
'scheme' => [
|
248 |
+
'type' => Scheme_Color::get_type(),
|
249 |
+
'value' => Scheme_Color::COLOR_1,
|
250 |
+
],
|
251 |
'default' => '#5b5b5b',
|
252 |
'selectors' => [
|
253 |
'{{WRAPPER}} .htmega-service .service-title' => 'color: {{VALUE}};',
|
326 |
[
|
327 |
'label' => __( 'Hover Color', 'htmega-addons' ),
|
328 |
'type' => Controls_Manager::COLOR,
|
329 |
+
'scheme' => [
|
330 |
+
'type' => Scheme_Color::get_type(),
|
331 |
+
'value' => Scheme_Color::COLOR_1,
|
332 |
+
],
|
333 |
'default' => '#5b5b5b',
|
334 |
'selectors' => [
|
335 |
'{{WRAPPER}} .htmega-service .service-title a:hover' => 'color: {{VALUE}};',
|
342 |
[
|
343 |
'label' => __( 'Title Border Color', 'htmega-addons' ),
|
344 |
'type' => Controls_Manager::COLOR,
|
345 |
+
'scheme' => [
|
346 |
+
'type' => Scheme_Color::get_type(),
|
347 |
+
'value' => Scheme_Color::COLOR_1,
|
348 |
+
],
|
349 |
'condition'=>[
|
350 |
'htmega_service_style' => '3',
|
351 |
],
|
375 |
[
|
376 |
'label' => __( 'Color', 'htmega-addons' ),
|
377 |
'type' => Controls_Manager::COLOR,
|
378 |
+
'scheme' => [
|
379 |
+
'type' => Scheme_Color::get_type(),
|
380 |
+
'value' => Scheme_Color::COLOR_1,
|
381 |
+
],
|
382 |
'default' => '#8f8f8f',
|
383 |
'selectors' => [
|
384 |
'{{WRAPPER}} .htmega-service .content p' => 'color: {{VALUE}};',
|
543 |
[
|
544 |
'label' => __( 'Color', 'htmega-addons' ),
|
545 |
'type' => Controls_Manager::COLOR,
|
546 |
+
'scheme' => [
|
547 |
+
'type' => Scheme_Color::get_type(),
|
548 |
+
'value' => Scheme_Color::COLOR_1,
|
549 |
+
],
|
550 |
'default' => '#ed552d',
|
551 |
'selectors' => [
|
552 |
'{{WRAPPER}} .htmega-service .icon i' => 'color: {{VALUE}};',
|
656 |
[
|
657 |
'label' => __( 'Color', 'htmega-addons' ),
|
658 |
'type' => Controls_Manager::COLOR,
|
659 |
+
'scheme' => [
|
660 |
+
'type' => Scheme_Color::get_type(),
|
661 |
+
'value' => Scheme_Color::COLOR_1,
|
662 |
+
],
|
663 |
'default' => '#ffffff',
|
664 |
'selectors' => [
|
665 |
'{{WRAPPER}} .htmega-service:hover .icon i' => 'color: {{VALUE}};',
|
869 |
[
|
870 |
'label' => __( 'Color', 'htmega-addons' ),
|
871 |
'type' => Controls_Manager::COLOR,
|
872 |
+
'scheme' => [
|
873 |
+
'type' => Scheme_Color::get_type(),
|
874 |
+
'value' => Scheme_Color::COLOR_1,
|
875 |
+
],
|
876 |
'default' => '#0056ff',
|
877 |
'selectors' => [
|
878 |
'{{WRAPPER}} .htmega-service a.readmore_btn' => 'color: {{VALUE}};',
|
960 |
[
|
961 |
'label' => __( 'Color', 'htmega-addons' ),
|
962 |
'type' => Controls_Manager::COLOR,
|
963 |
+
'scheme' => [
|
964 |
+
'type' => Scheme_Color::get_type(),
|
965 |
+
'value' => Scheme_Color::COLOR_1,
|
966 |
+
],
|
967 |
'default' => '#ffffff',
|
968 |
'selectors' => [
|
969 |
'{{WRAPPER}} .htmega-service a.readmore_btn:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_single_post.php
CHANGED
@@ -137,6 +137,10 @@ class HTMega_Elementor_Widget_SinglePost extends Widget_Base {
|
|
137 |
[
|
138 |
'label' => __( 'Color', 'htmega-addons' ),
|
139 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
140 |
'default'=>'#ffffff',
|
141 |
'selectors' => [
|
142 |
'{{WRAPPER}} .htmega-single-post .content h2 a' => 'color: {{VALUE}}',
|
@@ -225,6 +229,10 @@ class HTMega_Elementor_Widget_SinglePost extends Widget_Base {
|
|
225 |
[
|
226 |
'label' => __( 'Color', 'htmega-addons' ),
|
227 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
228 |
'default'=>'#ffffff',
|
229 |
'selectors' => [
|
230 |
'{{WRAPPER}} .htmega-single-post .post-category a' => 'color: {{VALUE}}',
|
@@ -294,6 +302,10 @@ class HTMega_Elementor_Widget_SinglePost extends Widget_Base {
|
|
294 |
[
|
295 |
'label' => __( 'Color', 'htmega-addons' ),
|
296 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
297 |
'default'=>'#ffffff',
|
298 |
'selectors' => [
|
299 |
'{{WRAPPER}} .ht-post .post-content .content .meta' => 'color: {{VALUE}}',
|
137 |
[
|
138 |
'label' => __( 'Color', 'htmega-addons' ),
|
139 |
'type' => Controls_Manager::COLOR,
|
140 |
+
'scheme' => [
|
141 |
+
'type' => Scheme_Color::get_type(),
|
142 |
+
'value' => Scheme_Color::COLOR_1,
|
143 |
+
],
|
144 |
'default'=>'#ffffff',
|
145 |
'selectors' => [
|
146 |
'{{WRAPPER}} .htmega-single-post .content h2 a' => 'color: {{VALUE}}',
|
229 |
[
|
230 |
'label' => __( 'Color', 'htmega-addons' ),
|
231 |
'type' => Controls_Manager::COLOR,
|
232 |
+
'scheme' => [
|
233 |
+
'type' => Scheme_Color::get_type(),
|
234 |
+
'value' => Scheme_Color::COLOR_1,
|
235 |
+
],
|
236 |
'default'=>'#ffffff',
|
237 |
'selectors' => [
|
238 |
'{{WRAPPER}} .htmega-single-post .post-category a' => 'color: {{VALUE}}',
|
302 |
[
|
303 |
'label' => __( 'Color', 'htmega-addons' ),
|
304 |
'type' => Controls_Manager::COLOR,
|
305 |
+
'scheme' => [
|
306 |
+
'type' => Scheme_Color::get_type(),
|
307 |
+
'value' => Scheme_Color::COLOR_1,
|
308 |
+
],
|
309 |
'default'=>'#ffffff',
|
310 |
'selectors' => [
|
311 |
'{{WRAPPER}} .ht-post .post-content .content .meta' => 'color: {{VALUE}}',
|
includes/widgets/htmega_slider_thumb_gallery.php
CHANGED
@@ -107,7 +107,7 @@ class HTMega_Elementor_Widget_Slider_Thumb_Gallery extends Widget_Base {
|
|
107 |
'slider_list',
|
108 |
[
|
109 |
'type' => Controls_Manager::REPEATER,
|
110 |
-
'fields' => $repeater->get_controls(),
|
111 |
'default' => [
|
112 |
|
113 |
[
|
@@ -653,6 +653,10 @@ class HTMega_Elementor_Widget_Slider_Thumb_Gallery extends Widget_Base {
|
|
653 |
[
|
654 |
'label' => __( 'Color', 'htmega-addons' ),
|
655 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
656 |
'default' => '#ffffff',
|
657 |
'selectors' => [
|
658 |
'{{WRAPPER}} .htmega-thumbgallery-for .content h2' => 'color: {{VALUE}};',
|
@@ -734,6 +738,10 @@ class HTMega_Elementor_Widget_Slider_Thumb_Gallery extends Widget_Base {
|
|
734 |
[
|
735 |
'label' => __( 'Color', 'htmega-addons' ),
|
736 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
737 |
'default' => '#ffffff',
|
738 |
'selectors' => [
|
739 |
'{{WRAPPER}} .htmega-thumbgallery-for button' => 'color: {{VALUE}};',
|
@@ -880,6 +888,10 @@ class HTMega_Elementor_Widget_Slider_Thumb_Gallery extends Widget_Base {
|
|
880 |
[
|
881 |
'label' => __( 'Color', 'htmega-addons' ),
|
882 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
883 |
'default' => '#ffffff',
|
884 |
'selectors' => [
|
885 |
'{{WRAPPER}} .htmega-thumbgallery-for .slick-arrow:hover' => 'color: {{VALUE}};',
|
107 |
'slider_list',
|
108 |
[
|
109 |
'type' => Controls_Manager::REPEATER,
|
110 |
+
'fields' => array_values( $repeater->get_controls() ),
|
111 |
'default' => [
|
112 |
|
113 |
[
|
653 |
[
|
654 |
'label' => __( 'Color', 'htmega-addons' ),
|
655 |
'type' => Controls_Manager::COLOR,
|
656 |
+
'scheme' => [
|
657 |
+
'type' => Scheme_Color::get_type(),
|
658 |
+
'value' => Scheme_Color::COLOR_1,
|
659 |
+
],
|
660 |
'default' => '#ffffff',
|
661 |
'selectors' => [
|
662 |
'{{WRAPPER}} .htmega-thumbgallery-for .content h2' => 'color: {{VALUE}};',
|
738 |
[
|
739 |
'label' => __( 'Color', 'htmega-addons' ),
|
740 |
'type' => Controls_Manager::COLOR,
|
741 |
+
'scheme' => [
|
742 |
+
'type' => Scheme_Color::get_type(),
|
743 |
+
'value' => Scheme_Color::COLOR_1,
|
744 |
+
],
|
745 |
'default' => '#ffffff',
|
746 |
'selectors' => [
|
747 |
'{{WRAPPER}} .htmega-thumbgallery-for button' => 'color: {{VALUE}};',
|
888 |
[
|
889 |
'label' => __( 'Color', 'htmega-addons' ),
|
890 |
'type' => Controls_Manager::COLOR,
|
891 |
+
'scheme' => [
|
892 |
+
'type' => Scheme_Color::get_type(),
|
893 |
+
'value' => Scheme_Color::COLOR_1,
|
894 |
+
],
|
895 |
'default' => '#ffffff',
|
896 |
'selectors' => [
|
897 |
'{{WRAPPER}} .htmega-thumbgallery-for .slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_socialshere.php
CHANGED
@@ -132,7 +132,6 @@ class HTMega_Elementor_Widget_SocialShere extends Widget_Base {
|
|
132 |
[
|
133 |
'label' => __( 'Color', 'htmega-addons' ),
|
134 |
'type' => Controls_Manager::COLOR,
|
135 |
-
'default' => '#000000',
|
136 |
'selectors' => [
|
137 |
'{{WRAPPER}} .htmega-social-share {{CURRENT_ITEM}}' => 'color: {{VALUE}};',
|
138 |
],
|
@@ -305,7 +304,7 @@ class HTMega_Elementor_Widget_SocialShere extends Widget_Base {
|
|
305 |
'htmega_socialmedia_list',
|
306 |
[
|
307 |
'type' => Controls_Manager::REPEATER,
|
308 |
-
'fields' => $repeater->get_controls(),
|
309 |
'default' => [
|
310 |
[
|
311 |
'htmega_social_media' => 'facebook',
|
132 |
[
|
133 |
'label' => __( 'Color', 'htmega-addons' ),
|
134 |
'type' => Controls_Manager::COLOR,
|
|
|
135 |
'selectors' => [
|
136 |
'{{WRAPPER}} .htmega-social-share {{CURRENT_ITEM}}' => 'color: {{VALUE}};',
|
137 |
],
|
304 |
'htmega_socialmedia_list',
|
305 |
[
|
306 |
'type' => Controls_Manager::REPEATER,
|
307 |
+
'fields' => array_values( $repeater->get_controls() ),
|
308 |
'default' => [
|
309 |
[
|
310 |
'htmega_social_media' => 'facebook',
|
includes/widgets/htmega_special_banner.php
CHANGED
@@ -320,6 +320,10 @@ class HTMega_Elementor_Widget_Special_day_Banner extends Widget_Base {
|
|
320 |
[
|
321 |
'label' => __( 'Color', 'htmega-addons' ),
|
322 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
323 |
'default' => '#1f1e26',
|
324 |
'selectors' => [
|
325 |
'{{WRAPPER}} .htmega-banner .banner-content h2' => 'color: {{VALUE}};',
|
@@ -380,6 +384,10 @@ class HTMega_Elementor_Widget_Special_day_Banner extends Widget_Base {
|
|
380 |
[
|
381 |
'label' => __( 'Color', 'htmega-addons' ),
|
382 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
383 |
'default' => '#1f1e26',
|
384 |
'selectors' => [
|
385 |
'{{WRAPPER}} .htmega-banner .banner-content h6' => 'color: {{VALUE}};',
|
@@ -440,6 +448,10 @@ class HTMega_Elementor_Widget_Special_day_Banner extends Widget_Base {
|
|
440 |
[
|
441 |
'label' => __( 'Color', 'htmega-addons' ),
|
442 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
443 |
'default' => '#1f1e26',
|
444 |
'selectors' => [
|
445 |
'{{WRAPPER}} .htmega-banner .banner-content p' => 'color: {{VALUE}};',
|
@@ -500,6 +512,10 @@ class HTMega_Elementor_Widget_Special_day_Banner extends Widget_Base {
|
|
500 |
[
|
501 |
'label' => __( 'Color', 'htmega-addons' ),
|
502 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
503 |
'default' => '#1f1e26',
|
504 |
'selectors' => [
|
505 |
'{{WRAPPER}} .htmega-banner .banner-content h5' => 'color: {{VALUE}};',
|
@@ -560,6 +576,10 @@ class HTMega_Elementor_Widget_Special_day_Banner extends Widget_Base {
|
|
560 |
[
|
561 |
'label' => __( 'Color', 'htmega-addons' ),
|
562 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
563 |
'default' => '#1f1e26',
|
564 |
'selectors' => [
|
565 |
'{{WRAPPER}} .htmega-banner .banner-content h5 span' => 'color: {{VALUE}};',
|
320 |
[
|
321 |
'label' => __( 'Color', 'htmega-addons' ),
|
322 |
'type' => Controls_Manager::COLOR,
|
323 |
+
'scheme' => [
|
324 |
+
'type' => Scheme_Color::get_type(),
|
325 |
+
'value' => Scheme_Color::COLOR_1,
|
326 |
+
],
|
327 |
'default' => '#1f1e26',
|
328 |
'selectors' => [
|
329 |
'{{WRAPPER}} .htmega-banner .banner-content h2' => 'color: {{VALUE}};',
|
384 |
[
|
385 |
'label' => __( 'Color', 'htmega-addons' ),
|
386 |
'type' => Controls_Manager::COLOR,
|
387 |
+
'scheme' => [
|
388 |
+
'type' => Scheme_Color::get_type(),
|
389 |
+
'value' => Scheme_Color::COLOR_1,
|
390 |
+
],
|
391 |
'default' => '#1f1e26',
|
392 |
'selectors' => [
|
393 |
'{{WRAPPER}} .htmega-banner .banner-content h6' => 'color: {{VALUE}};',
|
448 |
[
|
449 |
'label' => __( 'Color', 'htmega-addons' ),
|
450 |
'type' => Controls_Manager::COLOR,
|
451 |
+
'scheme' => [
|
452 |
+
'type' => Scheme_Color::get_type(),
|
453 |
+
'value' => Scheme_Color::COLOR_1,
|
454 |
+
],
|
455 |
'default' => '#1f1e26',
|
456 |
'selectors' => [
|
457 |
'{{WRAPPER}} .htmega-banner .banner-content p' => 'color: {{VALUE}};',
|
512 |
[
|
513 |
'label' => __( 'Color', 'htmega-addons' ),
|
514 |
'type' => Controls_Manager::COLOR,
|
515 |
+
'scheme' => [
|
516 |
+
'type' => Scheme_Color::get_type(),
|
517 |
+
'value' => Scheme_Color::COLOR_1,
|
518 |
+
],
|
519 |
'default' => '#1f1e26',
|
520 |
'selectors' => [
|
521 |
'{{WRAPPER}} .htmega-banner .banner-content h5' => 'color: {{VALUE}};',
|
576 |
[
|
577 |
'label' => __( 'Color', 'htmega-addons' ),
|
578 |
'type' => Controls_Manager::COLOR,
|
579 |
+
'scheme' => [
|
580 |
+
'type' => Scheme_Color::get_type(),
|
581 |
+
'value' => Scheme_Color::COLOR_1,
|
582 |
+
],
|
583 |
'default' => '#1f1e26',
|
584 |
'selectors' => [
|
585 |
'{{WRAPPER}} .htmega-banner .banner-content h5 span' => 'color: {{VALUE}};',
|
includes/widgets/htmega_switcher.php
CHANGED
@@ -212,6 +212,10 @@ class HTMega_Elementor_Widget_Switcher extends Widget_Base {
|
|
212 |
[
|
213 |
'label' => __( 'Color', 'htmega-addons' ),
|
214 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
215 |
'default' => '#000000',
|
216 |
'selectors' => [
|
217 |
'{{WRAPPER}} .htmega-switcher-area .htmega_switcher_content' => 'color: {{VALUE}};',
|
@@ -340,6 +344,10 @@ class HTMega_Elementor_Widget_Switcher extends Widget_Base {
|
|
340 |
[
|
341 |
'label' => __( 'Color', 'htmega-addons' ),
|
342 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
343 |
'default' => '#444444',
|
344 |
'selectors' => [
|
345 |
'{{WRAPPER}} .htmega-switcher-nav a' => 'color: {{VALUE}};',
|
@@ -424,6 +432,10 @@ class HTMega_Elementor_Widget_Switcher extends Widget_Base {
|
|
424 |
[
|
425 |
'label' => __( 'Color', 'htmega-addons' ),
|
426 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
427 |
'default' => '#ffffff',
|
428 |
'selectors' => [
|
429 |
'{{WRAPPER}} .htmega-switcher-nav a.htb-active' => 'color: {{VALUE}};',
|
212 |
[
|
213 |
'label' => __( 'Color', 'htmega-addons' ),
|
214 |
'type' => Controls_Manager::COLOR,
|
215 |
+
'scheme' => [
|
216 |
+
'type' => Scheme_Color::get_type(),
|
217 |
+
'value' => Scheme_Color::COLOR_1,
|
218 |
+
],
|
219 |
'default' => '#000000',
|
220 |
'selectors' => [
|
221 |
'{{WRAPPER}} .htmega-switcher-area .htmega_switcher_content' => 'color: {{VALUE}};',
|
344 |
[
|
345 |
'label' => __( 'Color', 'htmega-addons' ),
|
346 |
'type' => Controls_Manager::COLOR,
|
347 |
+
'scheme' => [
|
348 |
+
'type' => Scheme_Color::get_type(),
|
349 |
+
'value' => Scheme_Color::COLOR_1,
|
350 |
+
],
|
351 |
'default' => '#444444',
|
352 |
'selectors' => [
|
353 |
'{{WRAPPER}} .htmega-switcher-nav a' => 'color: {{VALUE}};',
|
432 |
[
|
433 |
'label' => __( 'Color', 'htmega-addons' ),
|
434 |
'type' => Controls_Manager::COLOR,
|
435 |
+
'scheme' => [
|
436 |
+
'type' => Scheme_Color::get_type(),
|
437 |
+
'value' => Scheme_Color::COLOR_1,
|
438 |
+
],
|
439 |
'default' => '#ffffff',
|
440 |
'selectors' => [
|
441 |
'{{WRAPPER}} .htmega-switcher-nav a.htb-active' => 'color: {{VALUE}};',
|
includes/widgets/htmega_tab.php
CHANGED
@@ -224,7 +224,7 @@ class HTMega_Elementor_Widget_Tabs extends Widget_Base {
|
|
224 |
'htmega_tabs_list',
|
225 |
[
|
226 |
'type' => Controls_Manager::REPEATER,
|
227 |
-
'fields' => $repeater->get_controls(),
|
228 |
'default' => [
|
229 |
[
|
230 |
'tab_title' => esc_html__( 'Title #1', 'htmega-addons' ),
|
224 |
'htmega_tabs_list',
|
225 |
[
|
226 |
'type' => Controls_Manager::REPEATER,
|
227 |
+
'fields' => array_values( $repeater->get_controls() ),
|
228 |
'default' => [
|
229 |
[
|
230 |
'tab_title' => esc_html__( 'Title #1', 'htmega-addons' ),
|
includes/widgets/htmega_table.php
CHANGED
@@ -150,7 +150,7 @@ class HTMega_Elementor_Widget_Data_Table extends Widget_Base {
|
|
150 |
'header_column_list',
|
151 |
[
|
152 |
'type' => Controls_Manager::REPEATER,
|
153 |
-
'fields' => $repeater->get_controls(),
|
154 |
'default' => [
|
155 |
[
|
156 |
'column_name' => __( 'No', 'htmega-addons' ),
|
@@ -228,7 +228,7 @@ class HTMega_Elementor_Widget_Data_Table extends Widget_Base {
|
|
228 |
'content_list',
|
229 |
[
|
230 |
'type' => Controls_Manager::REPEATER,
|
231 |
-
'fields' => $repeater_one->get_controls(),
|
232 |
'default' => [
|
233 |
[
|
234 |
'field_type' => __( 'row', 'htmega-addons' ),
|
150 |
'header_column_list',
|
151 |
[
|
152 |
'type' => Controls_Manager::REPEATER,
|
153 |
+
'fields' => array_values( $repeater->get_controls() ),
|
154 |
'default' => [
|
155 |
[
|
156 |
'column_name' => __( 'No', 'htmega-addons' ),
|
228 |
'content_list',
|
229 |
[
|
230 |
'type' => Controls_Manager::REPEATER,
|
231 |
+
'fields' => array_values( $repeater_one->get_controls() ),
|
232 |
'default' => [
|
233 |
[
|
234 |
'field_type' => __( 'row', 'htmega-addons' ),
|
includes/widgets/htmega_teammember.php
CHANGED
@@ -228,7 +228,7 @@ class HTMega_Elementor_Widget_TeamMember extends Widget_Base {
|
|
228 |
'htmega_team_member_social_link_list',
|
229 |
[
|
230 |
'type' => Controls_Manager::REPEATER,
|
231 |
-
'fields' => $repeater->get_controls(),
|
232 |
'default' => [
|
233 |
|
234 |
[
|
228 |
'htmega_team_member_social_link_list',
|
229 |
[
|
230 |
'type' => Controls_Manager::REPEATER,
|
231 |
+
'fields' => array_values( $repeater->get_controls() ),
|
232 |
'default' => [
|
233 |
|
234 |
[
|
includes/widgets/htmega_testimonial.php
CHANGED
@@ -124,7 +124,7 @@ class HTMega_Elementor_Widget_Testimonial extends Widget_Base {
|
|
124 |
'htmega_testimonial_list',
|
125 |
[
|
126 |
'type' => Controls_Manager::REPEATER,
|
127 |
-
'fields' => $repeater->get_controls(),
|
128 |
'default' => [
|
129 |
|
130 |
[
|
@@ -581,6 +581,10 @@ class HTMega_Elementor_Widget_Testimonial extends Widget_Base {
|
|
581 |
[
|
582 |
'label' => __( 'Color', 'htmega-addons' ),
|
583 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
584 |
'default' => '#3e3e3e',
|
585 |
'selectors' => [
|
586 |
'{{WRAPPER}} .htmega-testimonial-area .testimonal .content h4' => 'color: {{VALUE}};',
|
@@ -674,6 +678,10 @@ class HTMega_Elementor_Widget_Testimonial extends Widget_Base {
|
|
674 |
[
|
675 |
'label' => __( 'Color', 'htmega-addons' ),
|
676 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
677 |
'default' => '#3e3e3e',
|
678 |
'selectors' => [
|
679 |
'{{WRAPPER}} .htmega-testimonial-area .testimonal .content span' => 'color: {{VALUE}};',
|
@@ -768,6 +776,10 @@ class HTMega_Elementor_Widget_Testimonial extends Widget_Base {
|
|
768 |
[
|
769 |
'label' => __( 'Color', 'htmega-addons' ),
|
770 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
771 |
'default' => '#3e3e3e',
|
772 |
'selectors' => [
|
773 |
'{{WRAPPER}} .htmega-testimonial-area .testimonal .content p' => 'color: {{VALUE}};',
|
@@ -844,6 +856,10 @@ class HTMega_Elementor_Widget_Testimonial extends Widget_Base {
|
|
844 |
[
|
845 |
'label' => __( 'Color', 'htmega-addons' ),
|
846 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
847 |
'default' => '#7d7d7d',
|
848 |
'selectors' => [
|
849 |
'{{WRAPPER}} .htmega-testimonial-area .slick-arrow' => 'color: {{VALUE}};',
|
@@ -990,6 +1006,10 @@ class HTMega_Elementor_Widget_Testimonial extends Widget_Base {
|
|
990 |
[
|
991 |
'label' => __( 'Color', 'htmega-addons' ),
|
992 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
993 |
'default' => '#ffffff',
|
994 |
'selectors' => [
|
995 |
'{{WRAPPER}} .htmega-testimonial-area .slick-arrow:hover' => 'color: {{VALUE}};',
|
124 |
'htmega_testimonial_list',
|
125 |
[
|
126 |
'type' => Controls_Manager::REPEATER,
|
127 |
+
'fields' => array_values( $repeater->get_controls() ),
|
128 |
'default' => [
|
129 |
|
130 |
[
|
581 |
[
|
582 |
'label' => __( 'Color', 'htmega-addons' ),
|
583 |
'type' => Controls_Manager::COLOR,
|
584 |
+
'scheme' => [
|
585 |
+
'type' => Scheme_Color::get_type(),
|
586 |
+
'value' => Scheme_Color::COLOR_1,
|
587 |
+
],
|
588 |
'default' => '#3e3e3e',
|
589 |
'selectors' => [
|
590 |
'{{WRAPPER}} .htmega-testimonial-area .testimonal .content h4' => 'color: {{VALUE}};',
|
678 |
[
|
679 |
'label' => __( 'Color', 'htmega-addons' ),
|
680 |
'type' => Controls_Manager::COLOR,
|
681 |
+
'scheme' => [
|
682 |
+
'type' => Scheme_Color::get_type(),
|
683 |
+
'value' => Scheme_Color::COLOR_1,
|
684 |
+
],
|
685 |
'default' => '#3e3e3e',
|
686 |
'selectors' => [
|
687 |
'{{WRAPPER}} .htmega-testimonial-area .testimonal .content span' => 'color: {{VALUE}};',
|
776 |
[
|
777 |
'label' => __( 'Color', 'htmega-addons' ),
|
778 |
'type' => Controls_Manager::COLOR,
|
779 |
+
'scheme' => [
|
780 |
+
'type' => Scheme_Color::get_type(),
|
781 |
+
'value' => Scheme_Color::COLOR_1,
|
782 |
+
],
|
783 |
'default' => '#3e3e3e',
|
784 |
'selectors' => [
|
785 |
'{{WRAPPER}} .htmega-testimonial-area .testimonal .content p' => 'color: {{VALUE}};',
|
856 |
[
|
857 |
'label' => __( 'Color', 'htmega-addons' ),
|
858 |
'type' => Controls_Manager::COLOR,
|
859 |
+
'scheme' => [
|
860 |
+
'type' => Scheme_Color::get_type(),
|
861 |
+
'value' => Scheme_Color::COLOR_1,
|
862 |
+
],
|
863 |
'default' => '#7d7d7d',
|
864 |
'selectors' => [
|
865 |
'{{WRAPPER}} .htmega-testimonial-area .slick-arrow' => 'color: {{VALUE}};',
|
1006 |
[
|
1007 |
'label' => __( 'Color', 'htmega-addons' ),
|
1008 |
'type' => Controls_Manager::COLOR,
|
1009 |
+
'scheme' => [
|
1010 |
+
'type' => Scheme_Color::get_type(),
|
1011 |
+
'value' => Scheme_Color::COLOR_1,
|
1012 |
+
],
|
1013 |
'default' => '#ffffff',
|
1014 |
'selectors' => [
|
1015 |
'{{WRAPPER}} .htmega-testimonial-area .slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_testimonial_grid.php
CHANGED
@@ -123,7 +123,7 @@ class HTMega_Elementor_Widget_Testimonial_Grid extends Widget_Base {
|
|
123 |
'htmega_testimonial_list',
|
124 |
[
|
125 |
'type' => Controls_Manager::REPEATER,
|
126 |
-
'fields' => $repeater->get_controls(),
|
127 |
'default' => [
|
128 |
|
129 |
[
|
@@ -206,6 +206,10 @@ class HTMega_Elementor_Widget_Testimonial_Grid extends Widget_Base {
|
|
206 |
[
|
207 |
'label' => __( 'Color', 'htmega-addons' ),
|
208 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
209 |
'default' => '#383838',
|
210 |
'selectors' => [
|
211 |
'{{WRAPPER}} .htmega-testimonialgrid-area .testimonal .content h4' => 'color: {{VALUE}};',
|
@@ -267,6 +271,10 @@ class HTMega_Elementor_Widget_Testimonial_Grid extends Widget_Base {
|
|
267 |
[
|
268 |
'label' => __( 'Color', 'htmega-addons' ),
|
269 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
270 |
'default' => '#1834a6',
|
271 |
'selectors' => [
|
272 |
'{{WRAPPER}} .htmega-testimonialgrid-area .testimonal .content span' => 'color: {{VALUE}};',
|
@@ -360,6 +368,10 @@ class HTMega_Elementor_Widget_Testimonial_Grid extends Widget_Base {
|
|
360 |
[
|
361 |
'label' => __( 'Color', 'htmega-addons' ),
|
362 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
363 |
'default' => '#5b5b5b',
|
364 |
'selectors' => [
|
365 |
'{{WRAPPER}} .htmega-testimonialgrid-area .testimonal p' => 'color: {{VALUE}};',
|
@@ -420,6 +432,10 @@ class HTMega_Elementor_Widget_Testimonial_Grid extends Widget_Base {
|
|
420 |
[
|
421 |
'label' => __( 'Color', 'htmega-addons' ),
|
422 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
423 |
'default' => '#ffcf0e',
|
424 |
'selectors' => [
|
425 |
'{{WRAPPER}} .htmega-testimonialgrid-area .clint-info .rating' => 'color: {{VALUE}};',
|
123 |
'htmega_testimonial_list',
|
124 |
[
|
125 |
'type' => Controls_Manager::REPEATER,
|
126 |
+
'fields' => array_values( $repeater->get_controls() ),
|
127 |
'default' => [
|
128 |
|
129 |
[
|
206 |
[
|
207 |
'label' => __( 'Color', 'htmega-addons' ),
|
208 |
'type' => Controls_Manager::COLOR,
|
209 |
+
'scheme' => [
|
210 |
+
'type' => Scheme_Color::get_type(),
|
211 |
+
'value' => Scheme_Color::COLOR_1,
|
212 |
+
],
|
213 |
'default' => '#383838',
|
214 |
'selectors' => [
|
215 |
'{{WRAPPER}} .htmega-testimonialgrid-area .testimonal .content h4' => 'color: {{VALUE}};',
|
271 |
[
|
272 |
'label' => __( 'Color', 'htmega-addons' ),
|
273 |
'type' => Controls_Manager::COLOR,
|
274 |
+
'scheme' => [
|
275 |
+
'type' => Scheme_Color::get_type(),
|
276 |
+
'value' => Scheme_Color::COLOR_1,
|
277 |
+
],
|
278 |
'default' => '#1834a6',
|
279 |
'selectors' => [
|
280 |
'{{WRAPPER}} .htmega-testimonialgrid-area .testimonal .content span' => 'color: {{VALUE}};',
|
368 |
[
|
369 |
'label' => __( 'Color', 'htmega-addons' ),
|
370 |
'type' => Controls_Manager::COLOR,
|
371 |
+
'scheme' => [
|
372 |
+
'type' => Scheme_Color::get_type(),
|
373 |
+
'value' => Scheme_Color::COLOR_1,
|
374 |
+
],
|
375 |
'default' => '#5b5b5b',
|
376 |
'selectors' => [
|
377 |
'{{WRAPPER}} .htmega-testimonialgrid-area .testimonal p' => 'color: {{VALUE}};',
|
432 |
[
|
433 |
'label' => __( 'Color', 'htmega-addons' ),
|
434 |
'type' => Controls_Manager::COLOR,
|
435 |
+
'scheme' => [
|
436 |
+
'type' => Scheme_Color::get_type(),
|
437 |
+
'value' => Scheme_Color::COLOR_1,
|
438 |
+
],
|
439 |
'default' => '#ffcf0e',
|
440 |
'selectors' => [
|
441 |
'{{WRAPPER}} .htmega-testimonialgrid-area .clint-info .rating' => 'color: {{VALUE}};',
|
includes/widgets/htmega_toggle.php
CHANGED
@@ -121,6 +121,10 @@ class HTMega_Elementor_Widget_Toggle extends Widget_Base {
|
|
121 |
[
|
122 |
'label' => __( 'Color', 'htmega-addons' ),
|
123 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
124 |
'default'=>'#444444',
|
125 |
'selectors' => [
|
126 |
'{{WRAPPER}} .htmega_custom_content' => 'color: {{VALUE}};',
|
@@ -225,6 +229,10 @@ class HTMega_Elementor_Widget_Toggle extends Widget_Base {
|
|
225 |
[
|
226 |
'label' => __( 'Color', 'htmega-addons' ),
|
227 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
228 |
'default'=>'#3b3b3b',
|
229 |
'selectors' => [
|
230 |
'{{WRAPPER}} .htmega-toggle-button a' => 'color: {{VALUE}};',
|
@@ -311,6 +319,10 @@ class HTMega_Elementor_Widget_Toggle extends Widget_Base {
|
|
311 |
[
|
312 |
'label' => __( 'Color', 'htmega-addons' ),
|
313 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
314 |
'default'=>'#3b3b3b',
|
315 |
'selectors' => [
|
316 |
'{{WRAPPER}} .htmega-toggle-button a:hover' => 'color: {{VALUE}};',
|
121 |
[
|
122 |
'label' => __( 'Color', 'htmega-addons' ),
|
123 |
'type' => Controls_Manager::COLOR,
|
124 |
+
'scheme' => [
|
125 |
+
'type' => Scheme_Color::get_type(),
|
126 |
+
'value' => Scheme_Color::COLOR_1,
|
127 |
+
],
|
128 |
'default'=>'#444444',
|
129 |
'selectors' => [
|
130 |
'{{WRAPPER}} .htmega_custom_content' => 'color: {{VALUE}};',
|
229 |
[
|
230 |
'label' => __( 'Color', 'htmega-addons' ),
|
231 |
'type' => Controls_Manager::COLOR,
|
232 |
+
'scheme' => [
|
233 |
+
'type' => Scheme_Color::get_type(),
|
234 |
+
'value' => Scheme_Color::COLOR_1,
|
235 |
+
],
|
236 |
'default'=>'#3b3b3b',
|
237 |
'selectors' => [
|
238 |
'{{WRAPPER}} .htmega-toggle-button a' => 'color: {{VALUE}};',
|
319 |
[
|
320 |
'label' => __( 'Color', 'htmega-addons' ),
|
321 |
'type' => Controls_Manager::COLOR,
|
322 |
+
'scheme' => [
|
323 |
+
'type' => Scheme_Color::get_type(),
|
324 |
+
'value' => Scheme_Color::COLOR_1,
|
325 |
+
],
|
326 |
'default'=>'#3b3b3b',
|
327 |
'selectors' => [
|
328 |
'{{WRAPPER}} .htmega-toggle-button a:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_tooltip.php
CHANGED
@@ -305,6 +305,10 @@ class HTMega_Elementor_Widget_Tooltip extends Widget_Base {
|
|
305 |
[
|
306 |
'label' => __( 'Color', 'htmega-addons' ),
|
307 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
308 |
'default' => '#ffffff',
|
309 |
'selectors' => [
|
310 |
'{{WRAPPER}} .htmega-tooltip span' => 'color: {{VALUE}};',
|
@@ -427,6 +431,10 @@ class HTMega_Elementor_Widget_Tooltip extends Widget_Base {
|
|
427 |
[
|
428 |
'label' => __( 'Color', 'htmega-addons' ),
|
429 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
430 |
'default' => '#ffffff',
|
431 |
'selectors' => [
|
432 |
'{{WRAPPER}} .htmega-tooltip span:hover' => 'color: {{VALUE}};',
|
@@ -481,6 +489,10 @@ class HTMega_Elementor_Widget_Tooltip extends Widget_Base {
|
|
481 |
[
|
482 |
'label' => __( 'Color', 'htmega-addons' ),
|
483 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
484 |
'default' => '#ffffff',
|
485 |
'selectors' => [
|
486 |
'{{WRAPPER}} .htb-tooltip-inner' => 'color: {{VALUE}} !important;',
|
@@ -545,6 +557,10 @@ class HTMega_Elementor_Widget_Tooltip extends Widget_Base {
|
|
545 |
[
|
546 |
'label' => __( 'Arrow Color', 'htmega-addons' ),
|
547 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
548 |
'default' => '#404040',
|
549 |
'selectors' => [
|
550 |
'{{WRAPPER}} .bs-tooltip-auto[x-placement^=top] .htb-arrow::before' => 'border-top-color: {{VALUE}} !important;',
|
305 |
[
|
306 |
'label' => __( 'Color', 'htmega-addons' ),
|
307 |
'type' => Controls_Manager::COLOR,
|
308 |
+
'scheme' => [
|
309 |
+
'type' => Scheme_Color::get_type(),
|
310 |
+
'value' => Scheme_Color::COLOR_1,
|
311 |
+
],
|
312 |
'default' => '#ffffff',
|
313 |
'selectors' => [
|
314 |
'{{WRAPPER}} .htmega-tooltip span' => 'color: {{VALUE}};',
|
431 |
[
|
432 |
'label' => __( 'Color', 'htmega-addons' ),
|
433 |
'type' => Controls_Manager::COLOR,
|
434 |
+
'scheme' => [
|
435 |
+
'type' => Scheme_Color::get_type(),
|
436 |
+
'value' => Scheme_Color::COLOR_1,
|
437 |
+
],
|
438 |
'default' => '#ffffff',
|
439 |
'selectors' => [
|
440 |
'{{WRAPPER}} .htmega-tooltip span:hover' => 'color: {{VALUE}};',
|
489 |
[
|
490 |
'label' => __( 'Color', 'htmega-addons' ),
|
491 |
'type' => Controls_Manager::COLOR,
|
492 |
+
'scheme' => [
|
493 |
+
'type' => Scheme_Color::get_type(),
|
494 |
+
'value' => Scheme_Color::COLOR_1,
|
495 |
+
],
|
496 |
'default' => '#ffffff',
|
497 |
'selectors' => [
|
498 |
'{{WRAPPER}} .htb-tooltip-inner' => 'color: {{VALUE}} !important;',
|
557 |
[
|
558 |
'label' => __( 'Arrow Color', 'htmega-addons' ),
|
559 |
'type' => Controls_Manager::COLOR,
|
560 |
+
'scheme' => [
|
561 |
+
'type' => Scheme_Color::get_type(),
|
562 |
+
'value' => Scheme_Color::COLOR_1,
|
563 |
+
],
|
564 |
'default' => '#404040',
|
565 |
'selectors' => [
|
566 |
'{{WRAPPER}} .bs-tooltip-auto[x-placement^=top] .htb-arrow::before' => 'border-top-color: {{VALUE}} !important;',
|
includes/widgets/htmega_twitter_feed.php
CHANGED
@@ -597,6 +597,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
597 |
[
|
598 |
'label' => __( 'Color', 'htmega-addons' ),
|
599 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
600 |
'default' => '#434343',
|
601 |
'selectors' => [
|
602 |
'{{WRAPPER}} .htmega-content p' => 'color: {{VALUE}};',
|
@@ -609,6 +613,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
609 |
[
|
610 |
'label' => __( 'Link Color', 'htmega-addons' ),
|
611 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
612 |
'default' => '#00c8fa',
|
613 |
'selectors' => [
|
614 |
'{{WRAPPER}} .htmega-content p a' => 'color: {{VALUE}};',
|
@@ -679,6 +687,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
679 |
[
|
680 |
'label' => __( 'Color', 'htmega-addons' ),
|
681 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
682 |
'default' => '#5c5c5c',
|
683 |
'selectors' => [
|
684 |
'{{WRAPPER}} .htmega-twitter-single .htmega-content .htmega-author h6 a' => 'color: {{VALUE}};',
|
@@ -735,6 +747,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
735 |
[
|
736 |
'label' => __( 'Color', 'htmega-addons' ),
|
737 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
738 |
'default' => '#5c5c5c',
|
739 |
'selectors' => [
|
740 |
'{{WRAPPER}} .htmega-twitter-single .htmega-content .htmega-author h6 a:hover' => 'color: {{VALUE}};',
|
@@ -765,6 +781,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
765 |
[
|
766 |
'label' => __( 'Color', 'htmega-addons' ),
|
767 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
768 |
'default' => '#000000',
|
769 |
'selectors' => [
|
770 |
'{{WRAPPER}} .htmega-twitter-single span.twitter-time' => 'color: {{VALUE}};',
|
@@ -835,6 +855,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
835 |
[
|
836 |
'label' => __( 'Color', 'htmega-addons' ),
|
837 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
838 |
'default' => '#aaaaaa',
|
839 |
'selectors' => [
|
840 |
'{{WRAPPER}} .htmega-twitter-single ul.twitter-meta li a' => 'color: {{VALUE}};',
|
@@ -882,6 +906,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
882 |
[
|
883 |
'label' => __( 'Color', 'htmega-addons' ),
|
884 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
885 |
'default' => '#18012c',
|
886 |
'selectors' => [
|
887 |
'{{WRAPPER}} .htmega-twitter-single ul.twitter-meta li a:hover' => 'color: {{VALUE}};',
|
@@ -923,6 +951,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
923 |
[
|
924 |
'label' => __( 'Color', 'htmega-addons' ),
|
925 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
926 |
'default' => '#2d3e50',
|
927 |
'selectors' => [
|
928 |
'{{WRAPPER}} .htmega-twitter-area .slick-arrow' => 'color: {{VALUE}};',
|
@@ -1063,6 +1095,10 @@ class HTMega_Elementor_Widget_Twitter_Feed extends Widget_Base {
|
|
1063 |
[
|
1064 |
'label' => __( 'Color', 'htmega-addons' ),
|
1065 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
1066 |
'default' => '#2d3e50',
|
1067 |
'selectors' => [
|
1068 |
'{{WRAPPER}} .htmega-twitter-area .slick-arrow:hover' => 'color: {{VALUE}};',
|
597 |
[
|
598 |
'label' => __( 'Color', 'htmega-addons' ),
|
599 |
'type' => Controls_Manager::COLOR,
|
600 |
+
'scheme' => [
|
601 |
+
'type' => Scheme_Color::get_type(),
|
602 |
+
'value' => Scheme_Color::COLOR_1,
|
603 |
+
],
|
604 |
'default' => '#434343',
|
605 |
'selectors' => [
|
606 |
'{{WRAPPER}} .htmega-content p' => 'color: {{VALUE}};',
|
613 |
[
|
614 |
'label' => __( 'Link Color', 'htmega-addons' ),
|
615 |
'type' => Controls_Manager::COLOR,
|
616 |
+
'scheme' => [
|
617 |
+
'type' => Scheme_Color::get_type(),
|
618 |
+
'value' => Scheme_Color::COLOR_1,
|
619 |
+
],
|
620 |
'default' => '#00c8fa',
|
621 |
'selectors' => [
|
622 |
'{{WRAPPER}} .htmega-content p a' => 'color: {{VALUE}};',
|
687 |
[
|
688 |
'label' => __( 'Color', 'htmega-addons' ),
|
689 |
'type' => Controls_Manager::COLOR,
|
690 |
+
'scheme' => [
|
691 |
+
'type' => Scheme_Color::get_type(),
|
692 |
+
'value' => Scheme_Color::COLOR_1,
|
693 |
+
],
|
694 |
'default' => '#5c5c5c',
|
695 |
'selectors' => [
|
696 |
'{{WRAPPER}} .htmega-twitter-single .htmega-content .htmega-author h6 a' => 'color: {{VALUE}};',
|
747 |
[
|
748 |
'label' => __( 'Color', 'htmega-addons' ),
|
749 |
'type' => Controls_Manager::COLOR,
|
750 |
+
'scheme' => [
|
751 |
+
'type' => Scheme_Color::get_type(),
|
752 |
+
'value' => Scheme_Color::COLOR_1,
|
753 |
+
],
|
754 |
'default' => '#5c5c5c',
|
755 |
'selectors' => [
|
756 |
'{{WRAPPER}} .htmega-twitter-single .htmega-content .htmega-author h6 a:hover' => 'color: {{VALUE}};',
|
781 |
[
|
782 |
'label' => __( 'Color', 'htmega-addons' ),
|
783 |
'type' => Controls_Manager::COLOR,
|
784 |
+
'scheme' => [
|
785 |
+
'type' => Scheme_Color::get_type(),
|
786 |
+
'value' => Scheme_Color::COLOR_1,
|
787 |
+
],
|
788 |
'default' => '#000000',
|
789 |
'selectors' => [
|
790 |
'{{WRAPPER}} .htmega-twitter-single span.twitter-time' => 'color: {{VALUE}};',
|
855 |
[
|
856 |
'label' => __( 'Color', 'htmega-addons' ),
|
857 |
'type' => Controls_Manager::COLOR,
|
858 |
+
'scheme' => [
|
859 |
+
'type' => Scheme_Color::get_type(),
|
860 |
+
'value' => Scheme_Color::COLOR_1,
|
861 |
+
],
|
862 |
'default' => '#aaaaaa',
|
863 |
'selectors' => [
|
864 |
'{{WRAPPER}} .htmega-twitter-single ul.twitter-meta li a' => 'color: {{VALUE}};',
|
906 |
[
|
907 |
'label' => __( 'Color', 'htmega-addons' ),
|
908 |
'type' => Controls_Manager::COLOR,
|
909 |
+
'scheme' => [
|
910 |
+
'type' => Scheme_Color::get_type(),
|
911 |
+
'value' => Scheme_Color::COLOR_1,
|
912 |
+
],
|
913 |
'default' => '#18012c',
|
914 |
'selectors' => [
|
915 |
'{{WRAPPER}} .htmega-twitter-single ul.twitter-meta li a:hover' => 'color: {{VALUE}};',
|
951 |
[
|
952 |
'label' => __( 'Color', 'htmega-addons' ),
|
953 |
'type' => Controls_Manager::COLOR,
|
954 |
+
'scheme' => [
|
955 |
+
'type' => Scheme_Color::get_type(),
|
956 |
+
'value' => Scheme_Color::COLOR_1,
|
957 |
+
],
|
958 |
'default' => '#2d3e50',
|
959 |
'selectors' => [
|
960 |
'{{WRAPPER}} .htmega-twitter-area .slick-arrow' => 'color: {{VALUE}};',
|
1095 |
[
|
1096 |
'label' => __( 'Color', 'htmega-addons' ),
|
1097 |
'type' => Controls_Manager::COLOR,
|
1098 |
+
'scheme' => [
|
1099 |
+
'type' => Scheme_Color::get_type(),
|
1100 |
+
'value' => Scheme_Color::COLOR_1,
|
1101 |
+
],
|
1102 |
'default' => '#2d3e50',
|
1103 |
'selectors' => [
|
1104 |
'{{WRAPPER}} .htmega-twitter-area .slick-arrow:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_vertical_timeline.php
CHANGED
@@ -87,7 +87,7 @@ class HTMega_Elementor_Widget_Verticle_Time_Line extends Widget_Base {
|
|
87 |
'custom_content_list',
|
88 |
[
|
89 |
'type' => Controls_Manager::REPEATER,
|
90 |
-
'fields' => $repeater->get_controls(),
|
91 |
'default' => [
|
92 |
[
|
93 |
'content_date' => __( 'Sep<br/>2018', 'htmega-addons' ),
|
87 |
'custom_content_list',
|
88 |
[
|
89 |
'type' => Controls_Manager::REPEATER,
|
90 |
+
'fields' => array_values( $repeater->get_controls() ),
|
91 |
'default' => [
|
92 |
[
|
93 |
'content_date' => __( 'Sep<br/>2018', 'htmega-addons' ),
|
includes/widgets/htmega_video_player.php
CHANGED
@@ -253,6 +253,10 @@ class HTMega_Elementor_Widget_VideoPlayer extends Widget_Base {
|
|
253 |
[
|
254 |
'label' => __( 'Color', 'htmega-addons' ),
|
255 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
256 |
'default' => '#18012c',
|
257 |
'selectors' => [
|
258 |
'{{WRAPPER}} .htmega-player-container .magnify-video-active' => 'color: {{VALUE}};',
|
@@ -380,6 +384,10 @@ class HTMega_Elementor_Widget_VideoPlayer extends Widget_Base {
|
|
380 |
[
|
381 |
'label' => __( 'Color', 'htmega-addons' ),
|
382 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
383 |
'default' => '#ffffff',
|
384 |
'selectors' => [
|
385 |
'{{WRAPPER}} .htmega-player-container .magnify-video-active:hover' => 'color: {{VALUE}};',
|
253 |
[
|
254 |
'label' => __( 'Color', 'htmega-addons' ),
|
255 |
'type' => Controls_Manager::COLOR,
|
256 |
+
'scheme' => [
|
257 |
+
'type' => Scheme_Color::get_type(),
|
258 |
+
'value' => Scheme_Color::COLOR_1,
|
259 |
+
],
|
260 |
'default' => '#18012c',
|
261 |
'selectors' => [
|
262 |
'{{WRAPPER}} .htmega-player-container .magnify-video-active' => 'color: {{VALUE}};',
|
384 |
[
|
385 |
'label' => __( 'Color', 'htmega-addons' ),
|
386 |
'type' => Controls_Manager::COLOR,
|
387 |
+
'scheme' => [
|
388 |
+
'type' => Scheme_Color::get_type(),
|
389 |
+
'value' => Scheme_Color::COLOR_1,
|
390 |
+
],
|
391 |
'default' => '#ffffff',
|
392 |
'selectors' => [
|
393 |
'{{WRAPPER}} .htmega-player-container .magnify-video-active:hover' => 'color: {{VALUE}};',
|
includes/widgets/htmega_weather.php
CHANGED
@@ -130,6 +130,10 @@ class HTMega_Elementor_Widget_Weather extends Widget_Base {
|
|
130 |
[
|
131 |
'label' => __( 'Custom Background Color', 'htmega-addons' ),
|
132 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
133 |
]
|
134 |
);
|
135 |
|
@@ -138,6 +142,10 @@ class HTMega_Elementor_Widget_Weather extends Widget_Base {
|
|
138 |
[
|
139 |
'label' => __( 'Text Color', 'htmega-addons' ),
|
140 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
141 |
]
|
142 |
);
|
143 |
|
130 |
[
|
131 |
'label' => __( 'Custom Background Color', 'htmega-addons' ),
|
132 |
'type' => Controls_Manager::COLOR,
|
133 |
+
'scheme' => [
|
134 |
+
'type' => Scheme_Color::get_type(),
|
135 |
+
'value' => Scheme_Color::COLOR_1,
|
136 |
+
]
|
137 |
]
|
138 |
);
|
139 |
|
142 |
[
|
143 |
'label' => __( 'Text Color', 'htmega-addons' ),
|
144 |
'type' => Controls_Manager::COLOR,
|
145 |
+
'scheme' => [
|
146 |
+
'type' => Scheme_Color::get_type(),
|
147 |
+
'value' => Scheme_Color::COLOR_1,
|
148 |
+
]
|
149 |
]
|
150 |
);
|
151 |
|
includes/widgets/htmega_working_process.php
CHANGED
@@ -155,7 +155,7 @@ class HTMega_Elementor_Widget_Working_Process extends Widget_Base {
|
|
155 |
'htmega_process_list',
|
156 |
[
|
157 |
'type' => Controls_Manager::REPEATER,
|
158 |
-
'fields' => $repeater->get_controls(),
|
159 |
'default' => [
|
160 |
[
|
161 |
'process_title' => esc_html__( 'Process #1', 'htmega-addons' ),
|
@@ -323,6 +323,10 @@ class HTMega_Elementor_Widget_Working_Process extends Widget_Base {
|
|
323 |
[
|
324 |
'label' => __( 'Color', 'htmega-addons' ),
|
325 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
326 |
'default' => '#555555',
|
327 |
'selectors' => [
|
328 |
'{{WRAPPER}} .htmega-process-area .htmega-content h4' => 'color: {{VALUE}}',
|
@@ -403,6 +407,10 @@ class HTMega_Elementor_Widget_Working_Process extends Widget_Base {
|
|
403 |
[
|
404 |
'label' => __( 'Color', 'htmega-addons' ),
|
405 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
406 |
'default' => '#494849',
|
407 |
'selectors' => [
|
408 |
'{{WRAPPER}} .htmega-process-area .htmega-content p' => 'color: {{VALUE}}',
|
@@ -512,6 +520,10 @@ class HTMega_Elementor_Widget_Working_Process extends Widget_Base {
|
|
512 |
[
|
513 |
'label' => __( 'Color', 'htmega-addons' ),
|
514 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
515 |
'default' => '#5a5a5a',
|
516 |
'selectors' => [
|
517 |
'{{WRAPPER}} .htmega-process-area .htmega-number span' => 'color: {{VALUE}}',
|
@@ -592,6 +604,10 @@ class HTMega_Elementor_Widget_Working_Process extends Widget_Base {
|
|
592 |
[
|
593 |
'label' => __( 'Color', 'htmega-addons' ),
|
594 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
595 |
'default' => '#555555',
|
596 |
'selectors' => [
|
597 |
'{{WRAPPER}} .htmega-process-area .htmega-single-process .icon' => 'color: {{VALUE}}',
|
155 |
'htmega_process_list',
|
156 |
[
|
157 |
'type' => Controls_Manager::REPEATER,
|
158 |
+
'fields' => array_values( $repeater->get_controls() ),
|
159 |
'default' => [
|
160 |
[
|
161 |
'process_title' => esc_html__( 'Process #1', 'htmega-addons' ),
|
323 |
[
|
324 |
'label' => __( 'Color', 'htmega-addons' ),
|
325 |
'type' => Controls_Manager::COLOR,
|
326 |
+
'scheme' => [
|
327 |
+
'type' => Scheme_Color::get_type(),
|
328 |
+
'value' => Scheme_Color::COLOR_1,
|
329 |
+
],
|
330 |
'default' => '#555555',
|
331 |
'selectors' => [
|
332 |
'{{WRAPPER}} .htmega-process-area .htmega-content h4' => 'color: {{VALUE}}',
|
407 |
[
|
408 |
'label' => __( 'Color', 'htmega-addons' ),
|
409 |
'type' => Controls_Manager::COLOR,
|
410 |
+
'scheme' => [
|
411 |
+
'type' => Scheme_Color::get_type(),
|
412 |
+
'value' => Scheme_Color::COLOR_1,
|
413 |
+
],
|
414 |
'default' => '#494849',
|
415 |
'selectors' => [
|
416 |
'{{WRAPPER}} .htmega-process-area .htmega-content p' => 'color: {{VALUE}}',
|
520 |
[
|
521 |
'label' => __( 'Color', 'htmega-addons' ),
|
522 |
'type' => Controls_Manager::COLOR,
|
523 |
+
'scheme' => [
|
524 |
+
'type' => Scheme_Color::get_type(),
|
525 |
+
'value' => Scheme_Color::COLOR_1,
|
526 |
+
],
|
527 |
'default' => '#5a5a5a',
|
528 |
'selectors' => [
|
529 |
'{{WRAPPER}} .htmega-process-area .htmega-number span' => 'color: {{VALUE}}',
|
604 |
[
|
605 |
'label' => __( 'Color', 'htmega-addons' ),
|
606 |
'type' => Controls_Manager::COLOR,
|
607 |
+
'scheme' => [
|
608 |
+
'type' => Scheme_Color::get_type(),
|
609 |
+
'value' => Scheme_Color::COLOR_1,
|
610 |
+
],
|
611 |
'default' => '#555555',
|
612 |
'selectors' => [
|
613 |
'{{WRAPPER}} .htmega-process-area .htmega-single-process .icon' => 'color: {{VALUE}}',
|
includes/widgets/htmega_wpforms.php
CHANGED
@@ -97,6 +97,10 @@ class HTMega_Elementor_Widget_WPforms extends Widget_Base {
|
|
97 |
[
|
98 |
'label' => __( 'Color', 'htmega-addons' ),
|
99 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
100 |
'default' => '#212529',
|
101 |
'selectors' => [
|
102 |
'{{WRAPPER}} .wpforms-container .wpforms-title' => 'color: {{VALUE}};',
|
@@ -177,6 +181,10 @@ class HTMega_Elementor_Widget_WPforms extends Widget_Base {
|
|
177 |
[
|
178 |
'label' => __( 'Color', 'htmega-addons' ),
|
179 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
180 |
'default' => '#212529',
|
181 |
'selectors' => [
|
182 |
'{{WRAPPER}} .wpforms-container .wpforms-description' => 'color: {{VALUE}};',
|
@@ -344,6 +352,10 @@ class HTMega_Elementor_Widget_WPforms extends Widget_Base {
|
|
344 |
[
|
345 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
346 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
347 |
'default' => '#ffffff',
|
348 |
'selectors' => [
|
349 |
'{{WRAPPER}} .wpforms-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .wpforms-field select' => 'background-color: {{VALUE}}',
|
@@ -356,6 +368,10 @@ class HTMega_Elementor_Widget_WPforms extends Widget_Base {
|
|
356 |
[
|
357 |
'label' => __( 'Color', 'htmega-addons' ),
|
358 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
359 |
'default' => '#212529',
|
360 |
'selectors' => [
|
361 |
'{{WRAPPER}} .wpforms-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .wpforms-field select' => 'color: {{VALUE}}',
|
@@ -455,6 +471,10 @@ class HTMega_Elementor_Widget_WPforms extends Widget_Base {
|
|
455 |
[
|
456 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
457 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
458 |
'default' => '#ffffff',
|
459 |
'selectors' => [
|
460 |
'{{WRAPPER}} .wpforms-field textarea' => 'background-color: {{VALUE}}',
|
@@ -467,6 +487,10 @@ class HTMega_Elementor_Widget_WPforms extends Widget_Base {
|
|
467 |
[
|
468 |
'label' => __( 'Color', 'htmega-addons' ),
|
469 |
'type' => Controls_Manager::COLOR,
|
|
|
|
|
|
|
|
|
470 |
'default' => '#212529',
|
471 |
'selectors' => [
|
472 |
'{{WRAPPER}} .wpforms-field textarea' => 'color: {{VALUE}}',
|
97 |
[
|
98 |
'label' => __( 'Color', 'htmega-addons' ),
|
99 |
'type' => Controls_Manager::COLOR,
|
100 |
+
'scheme' => [
|
101 |
+
'type' => Scheme_Color::get_type(),
|
102 |
+
'value' => Scheme_Color::COLOR_1,
|
103 |
+
],
|
104 |
'default' => '#212529',
|
105 |
'selectors' => [
|
106 |
'{{WRAPPER}} .wpforms-container .wpforms-title' => 'color: {{VALUE}};',
|
181 |
[
|
182 |
'label' => __( 'Color', 'htmega-addons' ),
|
183 |
'type' => Controls_Manager::COLOR,
|
184 |
+
'scheme' => [
|
185 |
+
'type' => Scheme_Color::get_type(),
|
186 |
+
'value' => Scheme_Color::COLOR_1,
|
187 |
+
],
|
188 |
'default' => '#212529',
|
189 |
'selectors' => [
|
190 |
'{{WRAPPER}} .wpforms-container .wpforms-description' => 'color: {{VALUE}};',
|
352 |
[
|
353 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
354 |
'type' => Controls_Manager::COLOR,
|
355 |
+
'scheme' => [
|
356 |
+
'type' => Scheme_Color::get_type(),
|
357 |
+
'value' => Scheme_Color::COLOR_1,
|
358 |
+
],
|
359 |
'default' => '#ffffff',
|
360 |
'selectors' => [
|
361 |
'{{WRAPPER}} .wpforms-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .wpforms-field select' => 'background-color: {{VALUE}}',
|
368 |
[
|
369 |
'label' => __( 'Color', 'htmega-addons' ),
|
370 |
'type' => Controls_Manager::COLOR,
|
371 |
+
'scheme' => [
|
372 |
+
'type' => Scheme_Color::get_type(),
|
373 |
+
'value' => Scheme_Color::COLOR_1,
|
374 |
+
],
|
375 |
'default' => '#212529',
|
376 |
'selectors' => [
|
377 |
'{{WRAPPER}} .wpforms-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}} .wpforms-field select' => 'color: {{VALUE}}',
|
471 |
[
|
472 |
'label' => __( 'Background Color', 'htmega-addons' ),
|
473 |
'type' => Controls_Manager::COLOR,
|
474 |
+
'scheme' => [
|
475 |
+
'type' => Scheme_Color::get_type(),
|
476 |
+
'value' => Scheme_Color::COLOR_1,
|
477 |
+
],
|
478 |
'default' => '#ffffff',
|
479 |
'selectors' => [
|
480 |
'{{WRAPPER}} .wpforms-field textarea' => 'background-color: {{VALUE}}',
|
487 |
[
|
488 |
'label' => __( 'Color', 'htmega-addons' ),
|
489 |
'type' => Controls_Manager::COLOR,
|
490 |
+
'scheme' => [
|
491 |
+
'type' => Scheme_Color::get_type(),
|
492 |
+
'value' => Scheme_Color::COLOR_1,
|
493 |
+
],
|
494 |
'default' => '#212529',
|
495 |
'selectors' => [
|
496 |
'{{WRAPPER}} .wpforms-field textarea' => 'color: {{VALUE}}',
|
readme.txt
CHANGED
@@ -170,10 +170,6 @@ Feel free to [Contact us](https://htplugins.com/contact-us/)
|
|
170 |
Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify and WordPress products and services.
|
171 |
|
172 |
== Changelog ==
|
173 |
-
= Version: 1.5.2 - Date: 2020-02-03 =
|
174 |
-
* Repeater field console error issue solved.
|
175 |
-
* Minor bug fixed.
|
176 |
-
|
177 |
= Version: 1.5.1 - Date: 2020-12-28 =
|
178 |
* Theme builder admin bar issue solved.
|
179 |
* Instagram cache data clear option.
|
170 |
Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify and WordPress products and services.
|
171 |
|
172 |
== Changelog ==
|
|
|
|
|
|
|
|
|
173 |
= Version: 1.5.1 - Date: 2020-12-28 =
|
174 |
* Theme builder admin bar issue solved.
|
175 |
* Instagram cache data clear option.
|