<?php

class ETC_CmsFancyBox_Widget extends Elementor_Theme_Core_Widget_Base{
    protected $name = 'cms_fancy_box';
    protected $title = 'Fancy Box';
    protected $icon = 'eicon-icon-box';
    protected $categories = array( 'elementor-theme-core' );
    protected $params = '{"sections":[{"name":"layout_section","label":"Layout","tab":"layout","controls":[{"name":"layout","label":"Templates","type":"layoutcontrol","default":"1","options":{"1":{"label":"Layout 1","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_fancy_box\/layout-image\/layout1.jpg"},"2":{"label":"Layout 2","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_fancy_box\/layout-image\/layout2.jpg"},"3":{"label":"Layout 3","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_fancy_box\/layout-image\/layout3.jpg"},"4":{"label":"Layout 4","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_fancy_box\/layout-image\/layout4.jpg"},"5":{"label":"Layout 5","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_fancy_box\/layout-image\/layout5.jpg"},"6":{"label":"Layout 6","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_fancy_box\/layout-image\/layout6.jpg"}}}]},{"name":"icon_section","label":"Box Settings","tab":"content","controls":[{"name":"selected_icon","label":"Icon","type":"icons","fa4compatibility":"icon","default":{"value":"fas fa-star","library":"fa-solid"}},{"name":"selected_image","label":"Image","type":"media","condition":{"layout":"3"}},{"name":"title_text","label":"Title","type":"textarea","default":"This is the heading","placeholder":"Enter your title","rows":4,"show_label":false},{"name":"description_text","label":"Description","type":"textarea","default":"Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.","placeholder":"Enter your description","rows":6,"show_label":false},{"name":"button_text","label":"Button Text","type":"text","default":"","condition":{"layout":["4","5"]}},{"name":"link","label":"Link","type":"url","condition":{"layout!":["1"]}}]},{"name":"icon_style_settings","label":"Icon","tab":"style","controls":[{"name":"icon_color","label":"Primary Color","type":"color","selectors":{"{{WRAPPER}} .cms-fancy-box .item-icon i":"color: {{VALUE}};","{{WRAPPER}} .cms-fancy-box .item-icon svg":"fill: {{VALUE}};","{{WRAPPER}} .cms-fancy-box:before":"background-color: {{VALUE}};","{{WRAPPER}} .cms-fancy-box.layout4 .item-button a:hover":"color: {{VALUE}};"}},{"name":"icon_size","label":"Size","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":10,"max":100}},"selectors":{"{{WRAPPER}} .cms-fancy-box .item-icon i":"font-size: {{SIZE}}{{UNIT}};","{{WRAPPER}} .cms-fancy-box .item-icon svg":"height: {{SIZE}}{{UNIT}};"}},{"name":"hover_animation","label":"Hover Animation","type":"hover_animation"}]},{"name":"section_style_settings","label":"Box Style","tab":"style","controls":[{"name":"box_background","label":"Box Background","type":"color","selectors":{"{{WRAPPER}} .cms-fancy-box":"background-color: {{VALUE}};"}},{"name":"box_border","label":"Border Color","type":"color","control_type":"responsive","selectors":{"{{WRAPPER}} .cms-fancy-box:before":"background-color: {{VALUE}};"}},{"name":"heading_color","label":"Heading Color","type":"color","selectors":{"{{WRAPPER}} .cms-fancy-box .item-title":"color: {{VALUE}};"}},{"name":"heading_bottom_space","label":"Heading Bottom Spacing","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":0,"max":50}},"selectors":{"{{WRAPPER}} .cms-fancy-box .item-title":"margin-bottom: {{SIZE}}{{UNIT}};"}},{"name":"description_color","label":"Description Color","type":"color","selectors":{"{{WRAPPER}} .cms-fancy-box .item-description":"color: {{VALUE}};","{{WRAPPER}} .cms-fancy-box .item-content:before":"background-color: {{VALUE}}; border-color: {{VALUE}};","{{WRAPPER}} .cms-fancy-box .item-content:after":"background-color: {{VALUE}};"}}]}]}';
    protected $styles = array(  );
    protected $scripts = array(  );
}