<?php

class CT_CtTabBanner_Widget extends Case_Theme_Core_Widget_Base{
    protected $name = 'ct_tab_banner';
    protected $title = 'Case Tab Banner';
    protected $icon = 'eicon-tabs';
    protected $categories = array( 'case-theme-core' );
    protected $params = '{"sections":[{"name":"section_tabs","label":"Tabs","tab":"content","controls":[{"name":"active_tab","label":"Active Tab","type":"number","default":1,"separator":"after"},{"name":"tabs","label":"Tabs Items","type":"repeater","controls":[{"name":"tab_title","label":"Tab Title","type":"text","default":"Tab Title","placeholder":"Tab Title","label_block":true},{"name":"box_banner","label":"Box Image","type":"media","description":"Select image."},{"name":"box_title","label":"Box Title","type":"textarea","show_label":false},{"name":"box_content","label":"Box Content","type":"textarea","show_label":false},{"name":"btn_text","label":"Box Button Text","type":"text","label_block":true},{"name":"btn_link","label":"Box Button Link","type":"url"}],"title_field":"{{{ tab_title }}}"},{"name":"content_box_image","label":"Content Box Image","type":"media","hide_in_inner":false,"default":"","selectors":{"{{WRAPPER}} .ct-tab-banner1 .ct-tab-box-holder":"background-image: url( {{URL}} );"}}]}]}';
    protected $styles = array(  );
    protected $scripts = array( 'ct-tabs-widget-js' );
}