@@ -98,7 +98,7 @@ protected function _register_controls() {
9898 'label ' => __ ( 'Icon ' , 'mighty ' ),
9999 'type ' => Controls_Manager::ICONS ,
100100 'default ' => [
101- 'value ' => 'fas fa-star ' ,
101+ 'value ' => 'fas fa-pizza-slice ' ,
102102 'library ' => 'solid ' ,
103103 ],
104104 'condition ' => [
@@ -113,7 +113,7 @@ protected function _register_controls() {
113113 'label ' => __ ( 'Title ' , 'mighty ' ),
114114 'type ' => Controls_Manager::TEXT ,
115115 'placeholder ' => __ ( 'Front Title ' , 'mighty ' ),
116- 'default ' => __ ( 'Front Title ' , 'mighty ' ),
116+ 'default ' => __ ( 'Pizza ' , 'mighty ' ),
117117 ]
118118 );
119119
@@ -123,7 +123,7 @@ protected function _register_controls() {
123123 'label ' => __ ( 'Description ' , 'mighty ' ),
124124 'type ' => Controls_Manager::WYSIWYG ,
125125 'placeholder ' => __ ( 'Type your description here ' , 'mighty ' ),
126- 'default ' => __ ( 'Front box description ' , 'mighty ' ),
126+ 'default ' => __ ( 'A delicious, round piece of dough that comes in square boxes for some strange reason. ' , 'mighty ' ),
127127 ]
128128 );
129129
@@ -202,7 +202,7 @@ protected function _register_controls() {
202202 [
203203 'label ' => __ ( 'Graphic Element ' , 'mighty ' ),
204204 'type ' => Controls_Manager::SELECT ,
205- 'default ' => 'icon ' ,
205+ 'default ' => 'none ' ,
206206 'options ' => [
207207 'none ' => __ ( 'None ' , 'mighty ' ),
208208 'image ' => __ ( 'Image ' , 'mighty ' ),
@@ -241,10 +241,6 @@ protected function _register_controls() {
241241 [
242242 'label ' => __ ( 'Icon ' , 'mighty ' ),
243243 'type ' => Controls_Manager::ICONS ,
244- 'default ' => [
245- 'value ' => 'fas fa-star ' ,
246- 'library ' => 'solid ' ,
247- ],
248244 'condition ' => [
249245 'back_graphic_element ' => 'icon ' ,
250246 ],
@@ -257,7 +253,7 @@ protected function _register_controls() {
257253 'label ' => __ ( 'Title ' , 'mighty ' ),
258254 'type ' => Controls_Manager::TEXT ,
259255 'placeholder ' => __ ( 'Back Title ' , 'mighty ' ),
260- 'default ' => __ ( ' Back Title ' , ' mighty ' ) ,
256+ 'default ' => ' Pizza ' ,
261257 ]
262258 );
263259
@@ -267,7 +263,7 @@ protected function _register_controls() {
267263 'label ' => __ ( 'Description ' , 'mighty ' ),
268264 'type ' => Controls_Manager::WYSIWYG ,
269265 'placeholder ' => __ ( 'Type your description here ' , 'mighty ' ),
270- 'default ' => __ ( 'Back box description ' , 'mighty ' ),
266+ 'default ' => __ ( 'A sacred food gifted to mankind by the gods. <br>Very delicious and cheesy with tomato sauce and toppings of your choice. Commonly consumed recreationally or at parties. ' , 'mighty ' ),
271267 ]
272268 );
273269
@@ -276,7 +272,7 @@ protected function _register_controls() {
276272 [
277273 'label ' => __ ( 'Button Text ' , 'mighty ' ),
278274 'type ' => Controls_Manager::TEXT ,
279- 'default ' => __ ( 'Click Here ' , 'mighty ' ),
275+ 'default ' => __ ( 'Get It Now ' , 'mighty ' ),
280276 'placeholder ' => __ ( 'Enter Button Text ' , 'mighty ' ),
281277 ]
282278 );
@@ -521,7 +517,7 @@ protected function _register_controls() {
521517 'type ' => \Elementor \Scheme_Color::get_type (),
522518 'value ' => \Elementor \Scheme_Color::COLOR_1 ,
523519 ],
524- 'default ' => '#562dd4 ' ,
520+ 'default ' => '#e53c30 ' ,
525521 'selectors ' => [
526522 '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-icon i ' => 'color: {{VALUE}} ' ,
527523 '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-icon svg ' => 'color: {{VALUE}} ' ,
@@ -547,7 +543,7 @@ protected function _register_controls() {
547543 ],
548544 'default ' => [
549545 'unit ' => 'px ' ,
550- 'size ' => 50 ,
546+ 'size ' => 70 ,
551547 ],
552548 'selectors ' => [
553549 '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-icon i ' => 'font-size: {{SIZE}}{{UNIT}}; ' ,
@@ -802,7 +798,7 @@ protected function _register_controls() {
802798 'type ' => \Elementor \Scheme_Color::get_type (),
803799 'value ' => \Elementor \Scheme_Color::COLOR_1 ,
804800 ],
805- 'default ' => "#000 " ,
801+ 'default ' => "#e53c30 " ,
806802 'selectors ' => [
807803 '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-title ' => 'color: {{VALUE}} ' ,
808804 ],
@@ -829,6 +825,29 @@ protected function _register_controls() {
829825 ]
830826 );
831827
828+ $ this ->add_control (
829+ 'front_description_spacing ' ,
830+ [
831+ 'label ' => __ ( 'Spacing ' , 'mighty ' ),
832+ 'type ' => Controls_Manager::SLIDER ,
833+ 'size_units ' => [ 'px ' ],
834+ 'range ' => [
835+ 'px ' => [
836+ 'min ' => 0 ,
837+ 'max ' => 100 ,
838+ 'step ' => 1 ,
839+ ]
840+ ],
841+ 'default ' => [
842+ 'unit ' => 'px ' ,
843+ 'size ' => 10 ,
844+ ],
845+ 'selectors ' => [
846+ '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-front .mt-flipbox-description ' => 'margin-bottom: {{SIZE}}{{UNIT}}; ' ,
847+ ]
848+ ]
849+ );
850+
832851 $ this ->add_control (
833852 'front_description_color ' ,
834853 [
@@ -1226,7 +1245,7 @@ protected function _register_controls() {
12261245 'type ' => \Elementor \Scheme_Color::get_type (),
12271246 'value ' => \Elementor \Scheme_Color::COLOR_1 ,
12281247 ],
1229- 'default ' => '#000 ' ,
1248+ 'default ' => '#e53c30 ' ,
12301249 'selectors ' => [
12311250 '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-back .mt-flipbox-title ' => 'color: {{VALUE}} ' ,
12321251 ],
@@ -1253,6 +1272,29 @@ protected function _register_controls() {
12531272 ]
12541273 );
12551274
1275+ $ this ->add_control (
1276+ 'back_description_spacing ' ,
1277+ [
1278+ 'label ' => __ ( 'Spacing ' , 'mighty ' ),
1279+ 'type ' => Controls_Manager::SLIDER ,
1280+ 'size_units ' => [ 'px ' ],
1281+ 'range ' => [
1282+ 'px ' => [
1283+ 'min ' => 0 ,
1284+ 'max ' => 100 ,
1285+ 'step ' => 1 ,
1286+ ]
1287+ ],
1288+ 'default ' => [
1289+ 'unit ' => 'px ' ,
1290+ 'size ' => 10 ,
1291+ ],
1292+ 'selectors ' => [
1293+ '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-back .mt-flipbox-description ' => 'margin-bottom: {{SIZE}}{{UNIT}}; ' ,
1294+ ]
1295+ ]
1296+ );
1297+
12561298 $ this ->add_control (
12571299 'back_description_color ' ,
12581300 [
@@ -1341,7 +1383,7 @@ protected function _register_controls() {
13411383 'type ' => \Elementor \Scheme_Color::get_type (),
13421384 'value ' => \Elementor \Scheme_Color::COLOR_1 ,
13431385 ],
1344- 'default ' => '#562dd4 ' ,
1386+ 'default ' => '#e53c30 ' ,
13451387 'selectors ' => [
13461388 '{{WRAPPER}} .mt-flipbox-wrapper .mt-flipbox-card .mt-flipbox-back .mt-flipbox-button a ' => 'background-color: {{VALUE}} ' ,
13471389 ],
0 commit comments