<?php

class CT_CtFancyBoxGrid_Widget extends Case_Theme_Core_Widget_Base{
    protected $name = 'ct_fancy_box_grid';
    protected $title = 'Fancy Box Grid';
    protected $icon = 'eicon-gallery-masonry';
    protected $categories = array( 'case-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":"https:\/\/assurance.webnapp.com.au\/wp-content\/themes\/consultio\/elementor\/templates\/widgets\/ct_fancy_box_grid\/layout-image\/layout1.jpg"},"2":{"label":"Layout 2","image":"https:\/\/assurance.webnapp.com.au\/wp-content\/themes\/consultio\/elementor\/templates\/widgets\/ct_fancy_box_grid\/layout-image\/layout2.jpg"}}}]},{"name":"section_list","label":"Content","tab":"content","controls":[{"name":"content_list","label":"Content List","type":"repeater","default":[],"controls":[{"name":"icon_type","label":"Icon Type","type":"select","options":{"icon":"Icon","image":"Image"},"default":"icon"},{"name":"ct_icon","label":"Icon","type":"icons","condition":{"icon_type":"icon"}},{"name":"icon_image","label":"Icon Image","type":"media","condition":{"icon_type":"image"}},{"name":"title","label":"Title","type":"text","label_block":true},{"name":"description","label":"Description","type":"textarea","rows":10,"show_label":false},{"name":"link","label":"Link","type":"url"}],"title_field":"{{{ title }}}"}]},{"name":"grid_section","label":"Grid","tab":"content","controls":[{"name":"col_xs","label":"Columns XS Devices","type":"select","default":"1","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_sm","label":"Columns SM Devices","type":"select","default":"2","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_md","label":"Columns MD Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_lg","label":"Columns LG Devices","type":"select","default":"4","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_xl","label":"Columns XL Devices","type":"select","default":"4","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}}]},{"name":"section_style","label":"Style","tab":"content","controls":[{"name":"icon_color","label":"Icon Color","type":"color","selectors":{"{{WRAPPER}} .ct-fancy-box-grid .item--icon i":"color: {{VALUE}};"}},{"name":"icon_color_hover","label":"Icon Color Hover","type":"color","selectors":{"{{WRAPPER}} .ct-fancy-box-grid .item--inner:hover .item--icon i":"color: {{VALUE}};","{{WRAPPER}} .ct-fancy-box-grid .item--inner.active .item--icon i":"color: {{VALUE}};"},"condition":{"layout":"1"}},{"name":"title_color","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .ct-fancy-box-grid .item--title":"color: {{VALUE}};"}},{"name":"desc_color","label":"Description Color","type":"color","selectors":{"{{WRAPPER}} .ct-fancy-box-grid .item--desc":"color: {{VALUE}};"},"condition":{"layout":"2"}},{"name":"title_color_hover","label":"Title Color Hover","type":"color","selectors":{"{{WRAPPER}} .ct-fancy-box-grid .item--inner:hover .item--title":"color: {{VALUE}};","{{WRAPPER}} .ct-fancy-box-grid .item--inner.active .item--title":"color: {{VALUE}};"},"condition":{"layout":"1"}},{"name":"border_color","label":"Border Color","type":"color","selectors":{"{{WRAPPER}} .ct-fancy-box-grid .item--inner":"border-color: {{VALUE}};"},"condition":{"layout":"1"}},{"name":"border_color_color","label":"Border Color Hover","type":"color","condition":{"layout":"1"}}]}]}';
    protected $styles = array(  );
    protected $scripts = array( 'imagesloaded','isotope','ct-post-masonry-widget-js','ct-post-grid-widget-js' );
}