File: /home/greer489/public_html/wp-content/themes/betheme/functions/builder/class-mfn-builder-fields.php
<?php
/**
* Custom meta fields | Fields
*
* @package Betheme
* @author Muffin group
* @link https://muffingroup.com
*/
if( ! defined( 'ABSPATH' ) ){
exit; // Exit if accessed directly
}
if( ! class_exists('Mfn_Builder_Fields') )
{
class Mfn_Builder_Fields {
private $options;
private $sliders;
private $animations;
private $section;
private $wrap;
private $items;
private $advanced;
private $vb;
/**
* Constructor
*/
public function __construct( $vb = false, $limited = false ) {
// BeBlocks get items only
if( 'items' == $limited ) {
$this->sliders = array(
'layer' => Mfn_Builder_Helper::get_sliders('layer'),
'rev' => Mfn_Builder_Helper::get_sliders('rev'),
);
$this->options = Mfn_Builder_Helper::get_options();
$this->set_items();
return;
}
// Default constructor
$this->vb = $vb;
$this->sliders = array(
'layer' => Mfn_Builder_Helper::get_sliders('layer'),
'rev' => Mfn_Builder_Helper::get_sliders('rev'),
);
$this->options = Mfn_Builder_Helper::get_options();
$this->set_animations();
$this->set_advanced();
$this->set_section();
$this->set_wrap();
$this->set_items();
if( ! $this->vb ){
$this->get_advanced( $limited );
}
}
/**
* SET advanced fields
*/
public function get_advanced( $limited = false ) {
if( 'admin' == $limited && mfn_opts_get('builder-blocks') ) {
$items_exclude = array('placeholder');
foreach ($this->items as $i=>$it) {
foreach($this->advanced as $adv) {
if( !in_array($i, $items_exclude) ) {
$this->items[$i]['attr'][] = $adv;
}
}
}
}
return $this->advanced;
}
/**
* GET section fields
*/
public function get_section(){
return $this->section;
}
/**
* GET wrap fields
*/
public function get_wrap(){
return $this->wrap;
}
/**
* GET items
*/
public function get_items(){
return $this->items;
}
/**
* GET item fields
*/
public function get_item_fields( $item_type ){
return $this->items[$item_type];
}
/**
* GET entrance animations
*/
public function get_animations(){
return $this->animations;
}
/**
* GET placeholder image
*/
public function get_placeholder(){
return get_theme_file_uri( '/muffin-options/svg/placeholders/image.svg' );
}
/**
* GET column editor
*/
public function get_column_editor(){
$column_editor = 'textarea'; // codemirror
if( $this->options['column-visual'] ){
$column_editor = 'visual';
}
return $column_editor;
}
/**
* SET section fields
*/
private function set_section(){
$this->section = array(
/**
* HEADER additional fields
*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'class' => 'visible-header-builder',
'title' => __('Header options', 'mfn-opts'),
),
array(
'id' => 'scroll-visibility',
'type' => 'switch',
'class' => 'visible-header-builder',
'title' => __('Scroll visibility', 'mfn-opts'),
'desc' => __('Sections hidden on the scroll should be at the top of the header. It takes effect with fixed type of Header', 'mfn-opts'),
'options' => array(
'show' => __('Default', 'mfn-opts'),
'hide' => __('Hide', 'mfn-opts'),
),
'std' => 'show'
),
array(
'id' => 'closeable',
'attr_id' => 'closable-field',
'type' => 'switch',
'class' => 'visible-header-builder',
'title' => __('Closeable', 'mfn-opts'),
'options' => array(
'0' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'closeable-time',
'condition' => array( 'id' => 'closable-field', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'class' => 'visible-header-builder narrow',
'title' => __('Show again after', 'mfn-opts'),
'desc' => __('How many days should it stay hidden after closing?', 'mfn-opts'),
'std' => '0',
'after' => 'days',
'param' => 'number',
'preview' => 'number',
),
array(
'id' => 'closeable-x',
'condition' => array( 'id' => 'closable-field', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'title' => __('Close button position', 'mfn-opts'),
'std' => 'left',
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .close-closeable-section .icon:color',
'id' => 'css_closeable_icon_color',
'selector' => '.mcb-section-mfnuidelement .close-closeable-section .icon',
'style' => 'color',
'condition' => array( 'id' => 'closable-field', 'opt' => 'is', 'val' => '1' ),
'type' => 'color',
'title' => __('Close icon color', 'mfn-opts'),
),
array(
'id' => 'title',
'class' => 'hidden-header-builder',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Label in admin panel only', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Type', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'section_type',
'class' => 'hidden-header-builder mfn-loop-switcher',
'type' => 'switch',
're_render' => true,
'title' => __('Type', 'mfn-opts'),
'desc' => __('Query loop displays section's content in designed loop', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'query' => __('Query loop', 'mfn-opts'),
),
'std' => ''
),
/* query type */
array(
'id' => 'query_type',
'attr_id' => 'query_type',
're_render' => true,
'class' => 'hidden-header-builder hidden-blog-builder hidden-portfolio-builder',
'condition' => array( 'id' => 'section_type', 'opt' => 'is', 'val' => 'query' ),
'type' => 'select',
'title' => __('Query type', 'mfn-opts'),
'options' => array(
'' => __('Select', 'mfn-opts'),
'posts' => __('Posts', 'mfn-opts'),
'terms' => __('Terms', 'mfn-opts')
),
'std' => ''
),
/* posts query builder */
array(
'id' => 'query_post_type',
'attr_id' => 'query_post_type',
'class' => 'hidden-header-builder hidden-blog-builder hidden-portfolio-builder',
're_render' => true,
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Post type', 'mfn-opts'),
'options' => array(
'' => __('- Select -', 'mfn-opts'),
'post' => __('Post', 'mfn-opts'),
'page' => __('Page', 'mfn-opts'),
'portfolio' => __('Portfolio', 'mfn-opts'),
'offer' => __('Offer', 'mfn-opts'),
'client' => __('Clients', 'mfn-opts'),
'slide' => __('Slides', 'mfn-opts'),
'product' => __('Product', 'mfn-opts'),
'testimonial' => __('Testimonial', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_post_type_testimonial',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'testimonial' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_post',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'post' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
'class' => 'hidden-blog-builder hidden-portfolio-builder',
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_portfolio',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'portfolio' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_client',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'client' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_offer',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'offer' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
// 'hierarchical_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_slide',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'slide' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
// 'hierarchical_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_testimonial_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'testimonial' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_post_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'post' ),
're_render' => true,
'class' => 'hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_portfolio_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'portfolio' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_client_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'client' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_offer_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'offer' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
// 'hierarchical_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_slide_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'slide' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
// 'hierarchical_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product_order',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'desc' => __('This option turns off standard order settings', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'on_sale' => __('On sale', 'mfn-opts'),
'best_selling' => __('Best selling', 'mfn-opts'),
'top_rated' => __('Top rated', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'query_post_orderby',
'class' => 'hidden-header-builder',
're_render' => true,
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'ID' => __('ID', 'mfn-opts'),
'date' => __('Date', 'mfn-opts'),
'modified' => __('Modified', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Rand', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'query_post_order',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'query_post_per_page',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'text',
'title' => __('Limit', 'mfn-opts'),
'desc' => __('By default limit from Admin > Settings > Reading > Blog pages show at most', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
'js_std' => 'per_page',
),
array(
'id' => 'query_post_offset',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'text',
'title' => __('Offset', 'mfn-opts'),
'desc' => __('This option omits provided quantity of posts (from the beginning)', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
),
array(
'id' => 'query_post_pagination',
'attr_id' => 'query_post_pagination',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Pagination', 'mfn-opts'),
'options' => array(
'' => __('Hidden', 'mfn-opts'),
'numbers' => __('Numbers + links', 'mfn-opts'),
'dots' => __('Dots + links', 'mfn-opts'),
'prevnext' => __('Prev / Next links', 'mfn-opts'),
'loadmore' => __('Load more', 'mfn-opts'),
'infiniteload' => __('Infinite load', 'mfn-opts'),
),
'std' => ''
),
/* terms query builder */
array(
'id' => 'query_terms_taxonomy',
'attr_id' => 'query_terms_taxonomy',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Taxonomy', 'mfn-opts'),
'options' => array(
'' => __('- Select -', 'mfn-opts'),
'category' => __('Post category', 'mfn-opts'),
'post_tag' => __('Post tag', 'mfn-opts'),
'portfolio_types' => __('Portfolio category', 'mfn-opts'),
'offer_types' => __('Offer category', 'mfn-opts'),
'testimonial_types' => __('Testimonial category', 'mfn-opts'),
'product_cat' => __('Product category', 'mfn-opts'),
),
'std' => 'category'
),
array(
'id' => 'query_terms_excludes_post_tag',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'post_tag' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('post_tag'),
'js_hierarchical_options' => 'blog_tags',
),
array(
'id' => 'query_terms_excludes_client_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'client_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
),
array(
'id' => 'query_terms_excludes_portfolio_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'portfolio_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
),
array(
'id' => 'query_terms_excludes_category',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'category' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
),
array(
'id' => 'query_terms_excludes_offer_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'offer_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
),
array(
'id' => 'query_terms_excludes_testimonial_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'testimonial_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
),
array(
'id' => 'query_terms_excludes_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
),
array(
'id' => 'query_terms_includes_post_tag',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'post_tag' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('post_tag'),
'js_hierarchical_options' => 'blog_tags',
),
array(
'id' => 'query_terms_includes_client_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'client_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
),
array(
'id' => 'query_terms_includes_portfolio_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'portfolio_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
),
array(
'id' => 'query_terms_includes_category',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'category' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
),
array(
'id' => 'query_terms_includes_offer_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'offer_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
),
array(
'id' => 'query_terms_includes_testimonial_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'testimonial_types' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
),
array(
'id' => 'query_terms_includes_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'multiselect',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
),
array(
'id' => 'query_terms_child_of_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'select',
'title' => __('Child of', 'mfn-opts'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
),
array(
'id' => 'query_terms_orderby',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'term_order' => __('Term order', 'mfn-opts'),
'term_id' => __('ID', 'mfn-opts'),
'name' => __('Name', 'mfn-opts'),
'count' => __('Count', 'mfn-opts'),
),
'std' => 'ID'
),
array(
'id' => 'query_terms_order',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'ASC'
),
array(
'id' => 'query_terms_hide_empty',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Hide empty', 'mfn-opts'),
'options' => array(
'' => __('False', 'mfn-opts'),
'1' => __('True', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_terms_number',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'text',
'title' => __('Limit', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
),
/* END posts query builder */
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Style', 'mfn-opts'),
),
array(
'class' => 'hidden-header-builder',
'id' => 'style',
'type' => 'checkbox_pseudo',
'title' => __('Style', 'mfn-opts'),
'desc' => __('<strong>Notice!</strong> Options grayed out and marked with OLD tag are deprecated and will be removed in the future. Please use <a href="https://support.muffingroup.com/documentation/muffin-live-builder/positioning/" target="_blank">Positioning</a> instead.', 'mfn-opts'),
'options' => mfna_section_style(),
),
// shape dividers
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Shape divider', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row hidden-header-builder mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Top</a></li><li><a href="#hover" data-tab="hover">Bottom</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'shape_divider_type_top',
'class' => 'hidden-header-builder',
'attr_id' => 'shape_divider_type_top',
'type' => 'select',
'title' => __('Type', 'mfn-opts'),
'options' => Mfn_Builder_Helper::get_shape_divider('options'),
'std' => 0,
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-shape-divider-top svg:--mfn-shape-divider',
'id' => 'css_shape_divider_top_color',
'selector' => '.mcb-section-mfnuidelement .mfn-shape-divider-top svg',
'style' => '--mfn-shape-divider',
'class' => 'hidden-header-builder',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'condition' => array( 'id' => 'shape_divider_type_top', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-shape-divider-top svg:width',
'id' => 'css_shape_divider_top_width',
'selector' => '.mcb-section-mfnuidelement .mfn-shape-divider-top svg',
'style' => 'width',
'class' => 'hidden-header-builder',
'type' => 'sliderbar',
'title' => __('Width %', 'mfn-opts'),
'param' => array(
'min' => '100',
'max' => '300',
'step' => '1',
'unit' => '%',
),
'condition' => array( 'id' => 'shape_divider_type_top', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-shape-divider-top svg:height',
'id' => 'css_shape_divider_top_height',
'selector' => '.mcb-section-mfnuidelement .mfn-shape-divider-top svg',
'style' => 'height',
'type' => 'sliderbar',
'title' => __('Height px', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '500',
'step' => '1',
'unit' => 'px',
),
'condition' => array( 'id' => 'shape_divider_type_top', 'opt' => 'isnt', 'val' => 0 ),
'responsive' => true,
'class' => 'hidden-header-builder',
),
array(
'id' => 'shape_divider_flip_top',
'type' => 'switch',
'class' => 'hidden-header-builder',
'title' => __('Flip', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
'condition' => array( 'id' => 'shape_divider_type_top', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'id' => 'shape_divider_invert_top',
'type' => 'switch',
'class' => 'hidden-header-builder',
'title' => __('Invert', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
'condition' => array( 'id' => 'shape_divider_type_top', 'opt' => 'is', 'val' => Mfn_Builder_Helper::get_shape_divider('invert') ),
),
array(
'id' => 'shape_divider_bring_front_top',
'type' => 'switch',
'class' => 'hidden-header-builder',
'title' => __('Bring to front', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
'condition' => array( 'id' => 'shape_divider_type_top', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'class' => 'hidden-header-builder',
'id' => 'shape_divider_type_bottom',
'attr_id' => 'shape_divider_type_bottom',
'type' => 'select',
'title' => __('Type', 'mfn-opts'),
'options' => Mfn_Builder_Helper::get_shape_divider('options'),
'std' => 0,
),
array(
'class' => 'hidden-header-builder',
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-shape-divider-bottom svg:--mfn-shape-divider',
'id' => 'css_shape_divider_bottom_color',
'selector' => '.mcb-section-mfnuidelement .mfn-shape-divider-bottom svg',
'style' => '--mfn-shape-divider',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'std' => '',
'condition' => array( 'id' => 'shape_divider_type_bottom', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'class' => 'hidden-header-builder',
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-shape-divider-bottom svg:width',
'id' => 'css_shape_divider_bottom_width',
'selector' => '.mcb-section-mfnuidelement .mfn-shape-divider-bottom svg',
'style' => 'width',
'type' => 'sliderbar',
'title' => __('Width %', 'mfn-opts'),
'param' => array(
'min' => '100',
'max' => '300',
'step' => '1',
'unit' => '%',
),
'condition' => array( 'id' => 'shape_divider_type_bottom', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-shape-divider-bottom svg:height',
'id' => 'css_shape_divider_bottom_height',
'selector' => '.mcb-section-mfnuidelement .mfn-shape-divider-bottom svg',
'style' => 'height',
'type' => 'sliderbar',
'title' => __('Height px', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '500',
'step' => '1',
'unit' => 'px',
),
'condition' => array( 'id' => 'shape_divider_type_bottom', 'opt' => 'isnt', 'val' => 0 ),
'responsive' => true,
'class' => 'hidden-header-builder',
),
array(
'id' => 'shape_divider_flip_bottom',
'type' => 'switch',
'class' => 'hidden-header-builder',
'title' => __('Flip', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
'condition' => array( 'id' => 'shape_divider_type_bottom', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'id' => 'shape_divider_invert_bottom',
'type' => 'switch',
'class' => 'hidden-header-builder',
'title' => __('Invert', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
'condition' => array( 'id' => 'shape_divider_type_bottom', 'opt' => 'is', 'val' => Mfn_Builder_Helper::get_shape_divider('invert') ),
),
array(
'id' => 'shape_divider_bring_front_bottom',
'type' => 'switch',
'class' => 'hidden-header-builder',
'title' => __('Bring to front', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
'condition' => array( 'id' => 'shape_divider_type_bottom', 'opt' => 'isnt', 'val' => 0 ),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// decoration
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Background decoration', 'mfn-opts'),
),
array(
'class' => 'hidden-header-builder',
'id' => 'divider',
'type' => 'select',
'title' => __('Pattern', 'mfn-opts'),
'desc' => __('Please select background color in Advanced tab<br />Does <b>not</b> work with parallax and some section styles', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'circle up' => __('Circle up', 'mfn-opts'),
'square up' => __('Square up', 'mfn-opts'),
'triangle up' => __('Triangle up', 'mfn-opts'),
'triple-triangle up' => __('Triple triangle up', 'mfn-opts'),
'circle down' => __('Circle down', 'mfn-opts'),
'square down' => __('Square down', 'mfn-opts'),
'triangle down' => __('Triangle down', 'mfn-opts'),
'triple-triangle down' => __('Triple triangle down', 'mfn-opts'),
),
),
array(
'class' => 'hidden-header-builder',
'id' => 'decor_top',
'type' => 'upload',
'title' => __('Image top', 'mfn-opts'),
'desc' => __('for images from <b> Media library</b><br/>Recommended width: 1920px', 'mfn-opts'),
),
array(
'class' => 'hidden-header-builder',
'id' => 'decor_bottom',
'type' => 'upload',
'title' => __('Image bottom', 'mfn-opts'),
'desc' => __('for images from <b> Media library</b><br/>Recommended width: 1920px', 'mfn-opts'),
),
// options
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Options', 'mfn-opts'),
),
array(
'class' => 'hidden-header-builder',
'id' => 'navigation',
'type' => 'select',
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'arrows' => __('Arrows', 'mfn-opts'),
),
),
// hidden attributes
array(
'id' => 'hide',
'type' => 'text',
'title' => __('Hide', 'mfn-opts'),
'row_class' => 'hidden',
'class' => 'mfn-hidden-form-row',
),
array(
'id' => 'collapse',
'type' => 'text',
'title' => __('Collapse', 'mfn-opts'),
'row_class' => 'hidden',
'class' => 'mfn-hidden-form-row',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'bg_color',
'type' => 'color',
'class' => 'mfn-deprecated',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'bg_image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image size <b>1920px x 1080px</b>', 'mfn-opts'),
),
array(
'id' => 'bg_position',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background position', 'mfn-opts'),
'desc' => __('iOS does <b>not</b> support background-position: fixed<br/>For parallax required background image size is at least 1920px x 1080px', 'mfn-opts'),
'options' => mfna_bg_position(),
),
array(
'id' => 'bg_size',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background size', 'mfn-opts'),
'desc' => __('Does <b>not</b> work with position fixed or parallax', 'mfn-opts'),
'options' => mfna_bg_size(),
),
array(
'id' => 'padding_top',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding top', 'mfn-opts'),
'after' => 'px',
),
array(
'id' => 'padding_bottom',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding bottom', 'mfn-opts'),
'after' => 'px',
),
array(
'id' => 'padding_horizontal',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding left & right', 'mfn-opts'),
'desc' => __('Use <b>px</b> or <b>%</b>', 'mfn-opts'),
),
array(
'id' => 'visibility',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'' => __('- Default -', 'mfn-opts'),
'hide-desktop' => __('Hide on Desktop | 960px +', 'mfn-opts'), // 960 +
'hide-tablet' => __('Hide on Tablet | 768px - 959px', 'mfn-opts'), // 768 - 959
'hide-mobile' => __('Hide on Mobile | - 768px', 'mfn-opts'), // - 768
'hide-desktop hide-tablet' => __('Hide on Desktop & Tablet', 'mfn-opts'),
'hide-desktop hide-mobile' => __('Hide on Desktop & Mobile', 'mfn-opts'),
'hide-tablet hide-mobile' => __('Hide on Tablet & Mobile', 'mfn-opts'),
),
),
array(
'id' => 'class',
'class' => 'mfn-deprecated',
'type' => 'pills',
'title' => __('Section classes', 'mfn-opts'),
),
array(
'id' => 'section_id',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Section ID', 'mfn-opts'),
'desc' => __('Use this option to create One Page sites<br />Example: Your <b>Section ID</b> is <b>offer</b> and you want to open this section, please use link: <b>your-url/#offer</b>', 'mfn-opts'),
'param' => 'id',
),
array(
'type' => 'helper',
'class' => 'mfn-deprecated',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/faq/what-deprecated-in-the-bebuilder-means/',
),
array(
'type' => 'html',
'html' => '</div>', // end: modalbox-card
),
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-style">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'query_display',
'attr_id' => 'query_display',
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'slider' => __('Slider', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_columns',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'narrow mfn-toggled',
'responsive' => true,
'type' => 'text',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '1',
),
array(
'id' => 'query_slider_infinity',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Infinite loop', 'mfn-opts'),
'options' => array(
'' => __('Off', 'mfn-opts'),
'1' => __('On', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_autoplay',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'default_unit' => '',
'class' => 'mfn-toggled',
'title' => __('Autoplay speed', 'mfn-opts'),
'desc' => __('Leave empty to disallow autoplay', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '15000',
'step' => '100',
'unit' => '',
)
),
array(
'id' => 'query_slider_speed',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'default_unit' => '',
'class' => 'mfn-toggled',
'title' => __('Animation speed', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '5000',
'step' => '10',
'unit' => '',
)
),
array(
'id' => 'query_slider_animation',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'select',
'title' => __('Animation type', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'fade' => __('Fade', 'mfn-opts'),
'cards' => __('Cards', 'mfn-opts'),
'flip' => __('Flip', 'mfn-opts'),
'cube' => __('Cube', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_arrows',
'attr_id' => 'query_slider_arrows',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
're_render' => true,
'title' => __('Arrows', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'query_slider_arrows_style',
'attr_id' => 'query_slider_arrows_style',
'condition' => array( 'id' => 'query_slider_arrows', 'opt' => 'is', 'val' => '1' ),
'class' => 'mfn-toggled',
'type' => 'switch',
're_render' => true,
'title' => __('Arrows style', 'mfn-opts'),
'options' => array(
'' => __('Standard', 'mfn-opts'),
'overlay' => __('Overlay', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_arrows_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'condition' => array( 'id' => 'query_slider_arrows', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Arrows visibility', 'mfn-opts'),
'active_tooltip' => array(
'arrows-hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'arrows-hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'arrows-hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'arrows-hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'options' => array(
'arrows-hide-desktop' => __('Hide on Desktop', 'mfn-opts'), // 960 +
'arrows-hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'arrows-hide-tablet' => __('Hide on Tablet', 'mfn-opts'), // 768 - 959
'arrows-hide-mobile' => __('Hide on Mobile', 'mfn-opts'), // - 768
),
'visual_options' => array(
'arrows-hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'arrows-hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'arrows-hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'arrows-hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'id' => 'query_slider_dots',
'attr_id' => 'query_slider_dots',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
're_render' => true,
'title' => __('Dots', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'query_slider_dots_style',
'attr_id' => 'query_slider_dots_style',
'condition' => array( 'id' => 'query_slider_dots', 'opt' => 'is', 'val' => '1' ),
'class' => 'mfn-toggled',
'type' => 'switch',
're_render' => true,
'title' => __('Dots style', 'mfn-opts'),
'options' => array(
'' => __('Standard', 'mfn-opts'),
'overlay' => __('Overlay', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_dots_count',
'condition' => array( 'id' => 'query_slider_dots', 'opt' => 'is', 'val' => '1' ),
'class' => 'mfn-toggled',
'type' => 'switch',
're_render' => true,
'title' => __('Dots count', 'mfn-opts'),
'options' => array(
'' => __('Standard', 'mfn-opts'),
'dynamic' => __('Dynamic', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_dots_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'condition' => array( 'id' => 'query_slider_dots', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Dots visibility', 'mfn-opts'),
'active_tooltip' => array(
'dots-hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'dots-hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'dots-hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'dots-hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'options' => array(
'dots-hide-desktop' => __('Hide on Desktop', 'mfn-opts'), // 960 +
'dots-hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'dots-hide-tablet' => __('Hide on Tablet', 'mfn-opts'), // 768 - 959
'dots-hide-mobile' => __('Hide on Mobile', 'mfn-opts'), // - 768
),
'visual_options' => array(
'dots-hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'dots-hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'dots-hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'dots-hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination:transformtranslatex',
'id' => 'css_queryloop_slider_pagination_transformtranslatex',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination',
'style' => 'transformtranslatex',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Translate(X)', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
)
),
array(
'id' => 'query_slider_mousewheel',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Mousewheel', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_centered',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Center mode', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
//'1' => __('Center', 'mfn-opts'),
'2' => __('Wrapper offset', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_linear',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Linear mode', 'mfn-opts'),
'desc' => __('Linear mode skips setting the number of columns and autoplay speed', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_display_style',
'condition' => array( 'id' => 'query_display', 'opt' => 'isnt', 'val' => 'slider' ),
'class' => 'mfn-toggled',
// 're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'masonry' => __('Masonry', 'mfn-opts'),
),
'std' => ''
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper.mfn-ql-item-default:width',
'id' => 'css_queryloop_item_width',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper.mfn-ql-item-default',
'style' => 'width',
'condition' => array( 'id' => 'query_display', 'opt' => 'isnt', 'val' => 'slider' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled query_item_default_width sliderbar-units',
'title' => __('Item width', 'mfn-opts'),
'units' => array(
'px' => array('min' => 0, 'max' => 1920, 'step' => 1),
'%' => array('min' => 0, 'max' => 100, 'step' => 0.1),
'vw' => array('min' => 0, 'max' => 100, 'step' => 0.1),
),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:min-height',
'id' => 'css_queryloop_item_min_height',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'min-height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Min height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:align-content',
'id' => 'css_queryloop_item_align_content',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'align-content',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Vertical align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Top', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Bottom', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:justify-content',
'id' => 'css_queryloop_item_justify_content',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'justify-content',
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Horizontal align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
],
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Spacing', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:padding',
'id' => 'css_queryloop_item_padding',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:margin',
'id' => 'css_queryloop_item_margin',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:border-style',
'id' => 'css_queryloop_item_border_style',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_ql',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:border-color',
'id' => 'css_queryloop_item_border_color',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ql', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:border-width',
'id' => 'css_queryloop_item_border_width',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ql', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:border-radius',
'id' => 'css_queryloop_item_border_radius',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:box-shadow',
'id' => 'css_queryloop_item_box_shadow',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'background_switcher_ql',
'attr_id' => 'background_switcher_ql',
'type' => 'switch',
'class' => 'mfn-fields-switcher mfn-toggled disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:gradient',
'id' => 'css_query_loop_item_gradient',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:background-color',
'id' => 'css_queryloop_item_bg_color',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:background-image',
'id' => 'css_queryloop_item_bg_image',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:background-repeat',
'id' => 'css_queryloop_item_bg_repeat',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'class' => 'mfn-toggled',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:background-position',
'id' => 'css_queryloop_item_bg_position',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'background-position',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'class' => 'mfn-toggled',
'responsive' => true,
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:background-attachment',
'id' => 'css_queryloop_item_bg_attachment',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'class' => 'mfn-toggled',
'responsive' => true,
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
'parallax' => __('Parallax', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper:background-size',
'id' => 'css_queryloop_item_bg_size',
'selector' => '.mcb-section-mfnuidelement .mcb-section-inner .mfn-queryloop-item-wrapper',
'style' => 'background-size',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'class' => 'mfn-toggled',
'responsive' => true,
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Slider dots', 'mfn-opts'),
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination:top',
'id' => 'css_queryloop_slider_pagination_top',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Top', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination:bottom',
'id' => 'css_queryloop_slider_pagination_bottom',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination:left',
'id' => 'css_queryloop_slider_pagination_left',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Left', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination:right',
'id' => 'css_queryloop_slider_pagination_right',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .mcb-section-inner .swiper-pagination',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Right', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination:--mfn-swiper-pagination-spacing',
'id' => 'css_queryloop_slider_pagination_spacing',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination',
'style' => '--mfn-swiper-pagination-spacing',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Offset', 'mfn-opts'),
'desc' => __('Works with Standard and Overlay pagination mode', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet:--mfn-swiper-pagination-bullet-width',
'id' => 'css_queryloop_slider_pagination_bullet_width',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet',
'style' => '--mfn-swiper-pagination-bullet-width',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet:--mfn-swiper-pagination-bullet-height',
'id' => 'css_queryloop_slider_pagination_bullet_height',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet',
'style' => '--mfn-swiper-pagination-bullet-height',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet:border-radius',
'id' => 'css_queryloop_slider_pagination_bullet_border_radius',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet',
'style' => 'border-radius',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Border radius', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet:opacity',
'id' => 'css_queryloop_slider_pagination_bullet_opacity',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination-bullet',
'style' => 'opacity',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.01',
),
'std' => '0',
),
array(
'type' => 'html',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination .swiper-pagination-bullet:--swiper-pagination-bullet-inactive-color',
'id' => 'css_queryloop_slider_pagination_bullet_inactive_color',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination .swiper-pagination-bullet',
'style' => '--swiper-pagination-bullet-inactive-color',
'type' => 'color',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination .swiper-pagination-bullet-active:--mfn-swiper-pagination-bullet-active-color',
'id' => 'css_queryloop_slider_pagination_bullet_active_color',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .swiper-pagination .swiper-pagination-bullet-active',
'style' => '--mfn-swiper-pagination-bullet-active-color',
'type' => 'color',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'title' => __('Active color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Arrows', 'mfn-opts'),
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Prev arrow custom style', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow:top',
'id' => 'css_queryloop_slider_arrow_prev_top',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Top', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow:bottom',
'id' => 'css_queryloop_slider_arrow_prev_bottom',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow:left',
'id' => 'css_queryloop_slider_arrow_prev_left',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Left', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow:right',
'id' => 'css_queryloop_slider_arrow_prev_right',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-prev.mfn-swiper-arrow',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Right', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Next arrow custom style', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow:top',
'id' => 'css_queryloop_slider_arrow_next_top',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Top', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow:bottom',
'id' => 'css_queryloop_slider_arrow_next_bottom',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow:left',
'id' => 'css_queryloop_slider_arrow_next_left',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Left', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow:right',
'id' => 'css_queryloop_slider_arrow_next_right',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .swiper-button-next.mfn-swiper-arrow',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Right', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .mfn-swiper-arrow:transformtranslatey',
'id' => 'css_queryloop_slider_arrow_transformtranslatey',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mcb-section-inner .mfn-swiper-arrow',
'style' => 'transformtranslatey',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Translate(Y)', 'mfn-opts'),
'desc' => __('Moves navigation arrows along the Y-axis by the percent height', 'mfn-opts'),
'default_unit' => '%',
'after' => '%',
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Custom arrows', 'mfn-opts'),
),
array(
'id' => 'query_display_slider_arrow_prev',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'icon',
'class' => 'mfn-toggled',
'title' => __('Prev arrow', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-left-open-big'
),
array(
'id' => 'query_display_slider_arrow_next',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'icon',
'class' => 'mfn-toggled',
'title' => __('Next arrow', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-right-open-big'
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Size', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:--mfn-swiper-arrow-width',
'id' => 'css_queryloop_slider_arrow_width',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => '--mfn-swiper-arrow-width',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:--mfn-swiper-arrow-height',
'id' => 'css_queryloop_slider_arrow_height',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => '--mfn-swiper-arrow-height',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow i:--mfn-swiper-arrow-size',
'id' => 'css_queryloop_slider_arrow_icon_size',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow i',
'style' => '--mfn-swiper-arrow-size',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Size', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:--mfn-swiper-arrow-spacing',
'id' => 'css_queryloop_slider_arrow_spacing',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => '--mfn-swiper-arrow-spacing',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Offset', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '-300',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:border-style',
'id' => 'css_queryloop_slider_arrow_border_style',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => 'border-style',
'attr_id' => 'border_style_qlarr',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:border-width',
'id' => 'css_queryloop_slider_arrow_border_width',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_qlarr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:border-radius',
'id' => 'css_queryloop_slider_arrow_border_radius',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:box-shadow',
'id' => 'css_queryloop_slider_arrow_box_shadow',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:--swiper-navigation-color',
'id' => 'css_queryloop_slider_arrow_navigation_color',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => '--swiper-navigation-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:background-color',
'id' => 'css_queryloop_slider_arrow_bg',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:border-color',
'id' => 'css_queryloop_slider_arrow_border_color',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_qlarr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow|hover:--swiper-navigation-color',
'id' => 'css_queryloop_slider_arrow_color_hover',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:hover',
'style' => '--swiper-navigation-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow|hover:background-color',
'id' => 'css_queryloop_slider_arrow_bg_hover',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow|hover:border-color',
'id' => 'css_queryloop_slider_arrow_border_color_hover',
'selector' => '.mcb-section-mfnuidelement.mfn-looped-items-slider-wrapper .mcb-section-inner .mfn-swiper-arrow:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_qlarr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'query_post_pagination', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header',
'title' => __('Pagination', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination:background-color',
'id' => 'css_queryloop_pagination_bg',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination:padding',
'id' => 'css_queryloop_pagination_padding',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination:margin',
'id' => 'css_queryloop_pagination_margin',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers:gap',
'id' => 'css_queryloop_pagination_numbers_gap',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers',
'style' => 'gap',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Gap', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .page-numbers:min-width',
'id' => 'css_queryloop_pagination_numbers_min_width',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .page-numbers',
'style' => 'min-width',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Min width', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers:padding',
'id' => 'css_queryloop_pagination_numbers_padding',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers:border-style',
'id' => 'css_queryloop_pagination_numbers_border_style',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers',
'style' => 'border-style',
'attr_id' => 'border_style_pag',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers:border-width',
'id' => 'css_queryloop_pagination_numbers_border_width',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_pag', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers:border-radius',
'id' => 'css_queryloop_pagination_numbers_border_radius',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .page-numbers:--mfn-pagination-items-color',
'id' => 'css_queryloop_pagination_numbers_color',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .page-numbers',
'style' => '--mfn-pagination-items-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .page-numbers:background-color',
'id' => 'css_queryloop_pagination_numbers_bg',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .page-numbers',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers:border-color',
'id' => 'css_queryloop_pagination_numbers_border_color',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pag', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers a.page-numbers|hover:--mfn-pagination-items-color',
'id' => 'css_queryloop_pagination_numbers_color_hover',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers a.page-numbers:hover',
'style' => '--mfn-pagination-items-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers a.page-numbers|hover:background-color',
'id' => 'css_queryloop_pagination_numbers_bg_hover',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers a.page-numbers:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers|hover:border-color',
'id' => 'css_queryloop_pagination_numbers_border_color_hover',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers .page-numbers:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pag', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .current:--mfn-pagination-items-color',
'id' => 'css_queryloop_pagination_numbers_color_active',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .current',
'style' => '--mfn-pagination-items-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .current:background-color',
'id' => 'css_queryloop_pagination_numbers_bg_active',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .current',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .current:border-color',
'id' => 'css_queryloop_pagination_numbers_border_color_active',
'selector' => '.mcb-section-mfnuidelement .mfn-query-pagination ul.page-numbers li .current',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pag', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>', // end: modalbox-card
),
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-advanced">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dimensions', 'mfn-opts'),
),
array(
'id' => 'width_switcher',
'attr_id' => 'sect_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'full' => __('Full width', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement.custom-width .section_wrapper:max-width',
'id' => 'css_advanced_max_width',
'selector' => '.mcb-section-mfnuidelement.custom-width .section_wrapper',
'style' => 'max-width',
'condition' => array( 'id' => 'sect_width_switcher', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled narrow mfn-slider-input mfn-layout-modifier',
'title' => __('Custom width', 'mfn-opts')
),
array(
'id' => 'height_switcher',
'attr_id' => 'sect_height_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'full-screen' => __('Full screen', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:height',
'id' => 'css_advanced_height',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'sect_height_switcher', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'class' => 'mfn-toggled narrow mfn-slider-input',
'title' => __('Custom height', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Spacing', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:padding',
'id' => 'css_advanced_padding',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:margin',
'id' => 'css_advanced_margin',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header hide_if_ql-slider',
'title' => __('Positioning', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .section_wrapper:align-content',
'id' => 'css_advanced_align_content',
'selector' => '.mcb-section-mfnuidelement .section_wrapper',
'style' => 'align-content',
'type' => 'radio_img',
'alias' => 'section-flex-align-content',
'responsive' => true,
'class' => 'form-content-full-width small mfn-toggled',
'title' => __('Section content position', 'mfn-opts'),
'options' => array(
'' => 'Default',
'flex-start' => 'Top',
'flex-end' => 'Bottom',
'center' => 'Center',
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .section_wrapper:align-items',
'id' => 'css_advanced_align_items',
'selector' => '.mcb-section-mfnuidelement .section_wrapper',
'style' => 'align-items',
'type' => 'radio_img',
'alias' => 'section-flex-align',
'responsive' => true,
'class' => 'form-content-full-width small mfn-toggled adv_align-items_section',
'title' => __('Wraps vertical spacing', 'mfn-opts'),
'options' => array(
'flex-start' => 'Top',
'flex-end' => 'Bottom',
'center' => 'Center',
'stretch' => 'Stretch',
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .section_wrapper:justify-content',
'id' => 'css_advanced_justify_content',
'selector' => '.mcb-section-mfnuidelement .section_wrapper',
'style' => 'justify-content',
'type' => 'radio_img',
'alias' => 'section-flex-justify',
'responsive' => true,
'class' => 'form-content-full-width small mfn-toggled',
'title' => __('Horizontal align', 'mfn-opts'),
'options' => [
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'helper',
'class' => 'mfn-toggled',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/documentation/bebuilder/positioning/#section',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:z-index',
'id' => 'css_advanced_z_index',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'z-index',
'type' => 'text',
'title' => __('Z-index', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'preview' => 'number',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li class="visible-header-builder"><a href="#scroll" data-tab="scroll">Scroll</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'video' => __('Video', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'video' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:gradient',
'id' => 'css_advanced_gradient',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-color',
'id' => 'css_advanced_background_color',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-image',
'id' => 'css_advanced_background_image',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'id' => 'bg_video_mp4',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'video' ),
'class' => 'hidden-header-builder',
'type' => 'upload',
'title' => __('Video MP4', 'mfn-opts'),
'desc' => __('Image will be used as placeholder before video loads and on mobile devices', 'mfn-opts'),
'data' => 'video',
),
array(
'id' => 'bg_video_dots',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'video' ),
'class' => 'hidden-header-builder',
'type' => 'switch',
'title' => __('Video dotted overlay', 'mfn-opts'),
'desc' => __('It hides the pixelation of lower-resolution video but slightly darkens it', 'mfn-opts'),
'options' => array(
'hide' => __('Hide', 'mfn-opts'),
'' => __('Show', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-repeat',
'id' => 'css_advanced_background_repeat',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-position',
'id' => 'css_advanced_background_position',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-position',
'attr_id' => 'bgposopt_rwd',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'bgposopt',
'title' => __('Position', 'mfn-opts'),
'desc' => __('Doesn\'t work with Attachment / Parallax', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-position_v2',
'id' => 'css_advanced_background_position_v2',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-position_v2',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'bgposopt_rwd', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Custom background position', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-custom-bg-pos',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-attachment',
'id' => 'css_advanced_background_attachment',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'desc' => __('Parallax doesn\'t work with responsive options', 'mfn-opts'),
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
'parallax' => __('Parallax', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-size',
'id' => 'css_advanced_background_size',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-size',
'attr_id' => 'custombgsize',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'custombgsize',
'title' => __('Size', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
'cover-ultrawide' => __('Cover, on ultrawide screens only > 1920px', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
],
//'options' => mfna_bg_size()
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:background-size_v2',
'id' => 'css_advanced_background_size_v2',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'background-size_v2',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'custombgsize', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Custom background size', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-custom-bg-size',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:backdrop-filter',
'id' => 'css_backdrop_filter',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'backdrop-filter',
'type' => 'backdrop_filter',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Backdrop filter', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:transition',
'id' => 'css_advanced_transition',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover:gradient',
'id' => 'css_advanced_gradient_hover',
'selector' => '.mcb-section-mfnuidelement:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover:background-color',
'id' => 'css_advanced_background_color_hover',
'selector' => '.mcb-section-mfnuidelement:hover',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover:background-image',
'id' => 'css_advanced_background_image_hover',
'selector' => '.mcb-section-mfnuidelement:hover',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-scroll">',
),
array(
'old_id' => 'style:.mfn-header-tmpl .mcb-section-mfnuidelement:transition',
'id' => 'css_advanced_header_transition',
'selector' => '.mfn-header-tmpl .mcb-section-mfnuidelement',
'style' => 'transition',
'type' => 'sliderbar',
'style_prefix' => 'background ',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'id' => 'background_switcher_scroll',
'attr_id' => 'background_switcher_scroll',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mfn-header-scrolled .mfn-header-tmpl .mcb-section-mfnuidelement:gradient',
'id' => 'css_header_scrolled_gradient',
'selector' => '.mfn-header-scrolled .mfn-header-tmpl .mcb-section-mfnuidelement',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_scroll', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mfn-header-scrolled .mfn-header-tmpl .mcb-section-mfnuidelement:background-color',
'id' => 'css_advanced_scrolled_header_background_color',
'selector' => '.mfn-header-scrolled .mfn-header-tmpl .mcb-section-mfnuidelement',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_scroll', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mfn-header-scrolled .mfn-header-tmpl .mcb-section-mfnuidelement:background-image',
'id' => 'css_advanced_scrolled_header_background_image',
'selector' => '.mfn-header-scrolled .mfn-header-tmpl .mcb-section-mfnuidelement',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_scroll', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div></div>', // end: mfn-sidebar-fields-tabs
),
// Background Overlay
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Background overlay', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:opacity',
'id' => 'css_advanced_background_overlay_opacity',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'opacity',
'type' => 'sliderbar',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.01',
),
'std' => '0',
),
array(
'id' => 'background_overlay_switcher',
'attr_id' => 'background_overlay_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:gradient',
'id' => 'css_advanced_overlay_gradient',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'gradient',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:background-color',
'id' => 'css_advanced_background_overlay_background_color',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'background-color',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:background-image',
'id' => 'css_advanced_background_overlay_background_image',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'background-image',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:background-repeat',
'id' => 'css_advanced_background_overlay_background_repeat',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:background-position',
'id' => 'css_advanced_background_overlay_background_position',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'background-position',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:background-attachment',
'id' => 'css_advanced_background_overlay_background_attachment',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
'parallax' => __('Parallax', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:background-size',
'id' => 'css_advanced_background_overlay_background_size',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'background-size',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:filter',
'id' => 'css_advanced_background_overlay_filter',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'filter',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'css_filters',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('CSS Filters', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement .mcb-background-overlay:transition',
'id' => 'css_advanced_background_overlay_transition',
'selector' => '.mcb-section-mfnuidelement .mcb-background-overlay',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover .mcb-background-overlay:opacity',
'id' => 'css_advanced_background_overlay_opacity_hover',
'selector' => '.mcb-section-mfnuidelement:hover .mcb-background-overlay',
'style' => 'opacity',
'type' => 'sliderbar',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.01',
),
//'std' => '1',
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover .mcb-background-overlay:gradient',
'id' => 'css_advanced_overlay_gradient_hover',
'selector' => '.mcb-section-mfnuidelement:hover .mcb-background-overlay',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover .mcb-background-overlay:background-color',
'id' => 'css_advanced_background_overlay_background_color_hover',
'selector' => '.mcb-section-mfnuidelement:hover .mcb-background-overlay',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement|hover .mcb-background-overlay:background-image',
'id' => 'css_advanced_background_overlay_background_image_hover',
'selector' => '.mcb-section-mfnuidelement:hover .mcb-background-overlay',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div></div>', // end: mfn-sidebar-fields-tabs
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:border-style',
'id' => 'css_advanced_border_style',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'border-style',
'attr_id' => 'border_style_sect',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:border-color',
'id' => 'css_advanced_border_color',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_sect', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:border-width',
'id' => 'css_advanced_border_width',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_sect', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:border-radius',
'id' => 'css_advanced_border_radius',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section-mfnuidelement:box-shadow',
'id' => 'css_advanced_box_shadow',
'selector' => '.mcb-section-mfnuidelement',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Responsive', 'mfn-opts'),
),
array(
'id' => 'visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'), // 960 +
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'), // 768 - 959
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'), // - 768
),
'visual_options' => array(
'hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'id' => 'reverse_order',
'class' => 'mfn-toggled hide_if_ql',
'type' => 'switch',
'iconinfo' => 'https://support.muffingroup.com/how-to/how-to-reverse-the-order-of-elements-on-mobile/',
'title' => __('Order on mobile', 'mfn-opts'),
'options' => [
0 => __('Default', 'mfn-opts'),
1 => __('Reverse rows', 'mfn-opts'),
2 => __('Reverse columns', 'mfn-opts'),
],
'std' => 0,
),
// Conditions
array(
'form' => 'advanced',
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Conditional logic', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'conditional_logic',
'class' => 'mfn-toggled',
'type' => 'logic',
'title' => __('Conditional logic', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'classes',
'class' => 'mfn-toggled',
'type' => 'pills',
'title' => __('Classes', 'mfn-opts'),
),
array(
'id' => 'custom_id',
'class' => 'mfn-toggled',
'type' => 'text',
'title' => __('ID', 'mfn-opts'),
),
array(
'id' => 'custom_css',
'class' => 'mfn-toggled',
'type' => 'textarea',
'title' => __('Additional CSS', 'mfn-opts'),
),
array(
'type' => 'header',
'id' => 'global_sections',
'class' => 'toggled_header global_sections',
'title' => __('Global Section', 'mfn-opts'),
),
array(
'id' => 'global_sections_select',
'attr_id' => 'global_sections_select',
'class' => 'mfn-toggled global_sections',
'type' => 'select',
'title' => __('Select template', 'mfn-opts'),
'std' => '',
'js_options' => 'global_sections',
'php_options' => mfna_templates('section'),
),
array(
'type' => 'html',
'html' => '</div>', // end: modalbox-card
)
);
}
/**
* SET wrap fields
*/
private function set_wrap()
{
$this->wrap = array(
/**
* HEADER additional fields
* */
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
// options
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'sticky',
'attr_id' => 'wrap_sticky_rwd',
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'type' => 'switch',
'responsive' => true,
'title' => __('Sticky', 'mfn-opts'),
'desc' => __('Does <b>not</b> work with Move up and Parallax', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
),
array(
'id' => 'sticky_offset',
'condition' => array( 'id' => 'wrap_sticky_rwd', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'responsive' => true,
'title' => __('Sticky offset', 'mfn-opts'),
'desc' => __('Offset from top during scrolling', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1000',
'step' => '1',
'unit' => '',
)
),
array(
'id' => 'info',
'class' => 'visible-header-builder mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'id' => 'type',
're_render' => true,
'attr_id' => 'wrap_type',
'class' => 'mfn-hidden-nested-wrap hidden-header-builder mfn-loop-switcher',
'type' => 'switch',
'title' => __('Type', 'mfn-opts'),
'desc' => __('Query loop displays wrap's content in designed loop', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'query' => __('Query loop', 'mfn-opts'),
),
'std' => ''
),
/* query type */
array(
'id' => 'query_type',
're_render' => true,
'attr_id' => 'query_type',
'class' => 'mfn-hidden-nested-wrap hidden-header-builder hidden-blog-builder hidden-portfolio-builder',
'condition' => array( 'id' => 'wrap_type', 'opt' => 'is', 'val' => 'query' ),
'type' => 'select',
'title' => __('Query type', 'mfn-opts'),
'options' => array(
'' => __('Select', 'mfn-opts'),
'posts' => __('Posts', 'mfn-opts'),
'terms' => __('Terms', 'mfn-opts')
),
'std' => ''
),
/* posts query builder */
array(
'id' => 'query_post_type',
're_render' => true,
'attr_id' => 'query_post_type',
'class' => 'mfn-hidden-nested-wrap hidden-header-builder hidden-blog-builder hidden-portfolio-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Post type', 'mfn-opts'),
'options' => array(
'' => __('- Select -', 'mfn-opts'),
'post' => __('Post', 'mfn-opts'),
'page' => __('Page', 'mfn-opts'),
'portfolio' => __('Portfolio', 'mfn-opts'),
'offer' => __('Offer', 'mfn-opts'),
'client' => __('Clients', 'mfn-opts'),
'slide' => __('Slides', 'mfn-opts'),
'product' => __('Product', 'mfn-opts'),
'testimonial' => __('Testimonial', 'mfn-opts'),
),
'std' => 'post'
),
array(
'id' => 'query_post_type_product',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_testimonial',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'testimonial' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_post',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'post' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_portfolio',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'portfolio' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_client',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'client' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_offer',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'offer' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_slide',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'slide' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_testimonial_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'testimonial' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_post_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'post' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_portfolio_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'portfolio' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_client_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'client' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_offer_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'offer' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_slide_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'slide' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product_order',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'type' => 'select',
'class' => 'mfn-hidden-nested-wrap',
'desc' => __('This option turns off standard order settings', 'mfn-opts'),
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'on_sale' => __('On sale', 'mfn-opts'),
'best_selling' => __('Best selling', 'mfn-opts'),
'top_rated' => __('Top rated', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'query_post_orderby',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'ID' => __('ID', 'mfn-opts'),
'date' => __('Date', 'mfn-opts'),
'modified' => __('Modified', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Rand', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'query_post_order',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'query_post_per_page',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'text',
'title' => __('Limit', 'mfn-opts'),
'desc' => __('By default limit from Admin > Settings > Reading > Blog pages show at most', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
'js_std' => 'per_page',
),
array(
'id' => 'query_post_offset',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'text',
'title' => __('Offset', 'mfn-opts'),
'desc' => __('This option omits provided quantity of posts (from the beginning)', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
),
/*array(
'id' => 'query_post_pagination',
'attr_id' => 'query_post_pagination',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Pagination', 'mfn-opts'),
'options' => array(
'' => __('Hidden', 'mfn-opts'),
'numbers' => __('Numbers + links', 'mfn-opts'),
'dots' => __('Dots + links', 'mfn-opts'),
'prevnext' => __('Prev / Next links', 'mfn-opts'),
'loadmore' => __('Load more', 'mfn-opts'),
'infiniteload' => __('Infinite load', 'mfn-opts'),
),
'std' => ''
),*/
/* terms query builder */
array(
'id' => 'query_terms_taxonomy',
'attr_id' => 'query_terms_taxonomy',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Taxonomy', 'mfn-opts'),
'options' => array(
'' => __('- Select -', 'mfn-opts'),
'category' => __('Post category', 'mfn-opts'),
'post_tag' => __('Post tag', 'mfn-opts'),
'portfolio_types' => __('Portfolio category', 'mfn-opts'),
'offer_types' => __('Offer category', 'mfn-opts'),
'product_cat' => __('Product category', 'mfn-opts'),
'testimonial_types' => __('Testimonial category', 'mfn-opts'),
),
'std' => 'category'
),
array(
'id' => 'query_terms_excludes_post_tag',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'post_tag' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('post_tag'),
'js_hierarchical_options' => 'blog_tags',
),
array(
'id' => 'query_terms_excludes_client_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'client_types' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap',
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
),
array(
'id' => 'query_terms_excludes_portfolio_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'portfolio_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
),
array(
'id' => 'query_terms_excludes_category',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'category' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
),
array(
'id' => 'query_terms_excludes_offer_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'offer_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
),
array(
'id' => 'query_terms_excludes_testimonial_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'testimonial_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
),
array(
'id' => 'query_terms_excludes_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
),
array(
'id' => 'query_terms_includes_post_tag',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'post_tag' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('post_tag'),
'js_hierarchical_options' => 'blog_tags',
),
array(
'id' => 'query_terms_includes_client_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'client_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
),
array(
'id' => 'query_terms_includes_portfolio_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'portfolio_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
),
array(
'id' => 'query_terms_includes_category',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'category' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
),
array(
'id' => 'query_terms_includes_offer_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'offer_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
),
array(
'id' => 'query_terms_includes_testimonial_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'testimonial_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
),
array(
'id' => 'query_terms_includes_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
),
array(
'id' => 'query_terms_child_of_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'select',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Child of', 'mfn-opts'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
),
array(
'id' => 'query_terms_orderby',
're_render' => true,
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'term_order' => __('Term order', 'mfn-opts'),
'term_id' => __('ID', 'mfn-opts'),
'name' => __('Name', 'mfn-opts'),
'count' => __('Count', 'mfn-opts'),
),
'std' => 'ID'
),
array(
'id' => 'query_terms_order',
're_render' => true,
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'ASC'
),
array(
'id' => 'query_terms_hide_empty',
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
're_render' => true,
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Hide empty', 'mfn-opts'),
'options' => array(
'' => __('False', 'mfn-opts'),
'1' => __('True', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_terms_number',
're_render' => true,
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'text',
'title' => __('Limit', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
),
// deprecated
array(
'type' => 'header',
'class' => 'hidden-header-builder mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'bg_color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'bg_image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image width <b>320px - 1920px</b> depending on size of the wrap', 'mfn-opts'),
),
array(
'id' => 'bg_position',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background position', 'mfn-opts'),
'desc' => __('iOS does <b>not</b> support background-position: fixed<br/>For parallax required background image size is at least 1920px x 1080px', 'mfn-opts'),
'options' => mfna_bg_position(),
),
array(
'id' => 'bg_size',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background size', 'mfn-opts'),
'desc' => __('Does <b>not</b> work with position fixed or parallax', 'mfn-opts'),
'options' => mfna_bg_size(),
),
array(
'id' => 'move_up',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Move up', 'mfn-opts'),
'desc' => __('Move this wrap to overflow on previous section. Does <b>not</b> work with parallax', 'mfn-opts'),
'after' => 'px',
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Use value with <b>px</b> or <b>%</b><br />Example: 20px or 20px 10px 20px 10px or 20px 1%', 'mfn-opts'),
),
array(
'id' => 'column_margin',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Elements margin bottom', 'mfn-opts'),
'options' => array(
'' => __('- Default -', 'mfn-opts'),
'0px' => '0px',
'10px' => '10px',
'20px' => '20px',
'30px' => '30px',
'40px' => '40px',
'50px' => '50px',
),
),
array(
'id' => 'vertical_align',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Elements vertical align', 'mfn-opts'),
'desc' => __('for Section style: <b>Equal height of wraps</b>', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'top' => __('Top', 'mfn-opts'),
'middle' => __('Middle', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Wrap classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'style',
'type' => 'textarea',
'title' => __('Wrap inline CSS', 'mfn-opts'),
'desc' => __('Example: <b>border: 1px solid #999;</b>', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'helper',
'class' => 'mfn-deprecated',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/faq/what-deprecated-in-the-bebuilder-means/',
),
array(
'type' => 'html',
'html' => '</div>',
),
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-style">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'query_display',
'attr_id' => 'query_display',
're_render' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'slider' => __('Slider', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_columns',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'narrow mfn-toggled',
'responsive' => true,
're_render' => true,
'type' => 'text',
'title' => __('Columns', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '1',
),
array(
'id' => 'query_slider_infinity',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Infinite loop', 'mfn-opts'),
'options' => array(
'' => __('Off', 'mfn-opts'),
'1' => __('On', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_autoplay',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'default_unit' => '',
'class' => 'mfn-toggled',
'title' => __('Autoplay speed', 'mfn-opts'),
'desc' => __('Leave empty to disallow autoplay', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '15000',
'step' => '100',
'unit' => '',
)
),
array(
'id' => 'query_slider_speed',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'default_unit' => '',
'class' => 'mfn-toggled',
'title' => __('Animation speed', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '5000',
'step' => '10',
'unit' => '',
)
),
array(
'id' => 'query_slider_animation',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'select',
'title' => __('Animation type', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'fade' => __('Fade', 'mfn-opts'),
'cards' => __('Cards', 'mfn-opts'),
'flip' => __('Flip', 'mfn-opts'),
'cube' => __('Cube', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_arrows',
'attr_id' => 'query_slider_arrows',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Arrows', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'query_slider_arrows_style',
'attr_id' => 'query_slider_arrows_style',
'condition' => array( 'id' => 'query_slider_arrows', 'opt' => 'is', 'val' => '1' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Arrows style', 'mfn-opts'),
'options' => array(
'' => __('Standard', 'mfn-opts'),
'overlay' => __('Overlay', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_arrows_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'condition' => array( 'id' => 'query_slider_arrows', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Arrows visibility', 'mfn-opts'),
'active_tooltip' => array(
'arrows-hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'arrows-hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'arrows-hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'arrows-hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'options' => array(
'arrows-hide-desktop' => __('Hide on Desktop', 'mfn-opts'), // 960 +
'arrows-hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'arrows-hide-tablet' => __('Hide on Tablet', 'mfn-opts'), // 768 - 959
'arrows-hide-mobile' => __('Hide on Mobile', 'mfn-opts'), // - 768
),
'visual_options' => array(
'arrows-hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'arrows-hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'arrows-hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'arrows-hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'id' => 'query_slider_dots',
'attr_id' => 'query_slider_dots',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Dots', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'query_slider_dots_style',
'attr_id' => 'query_slider_dots_style',
'condition' => array( 'id' => 'query_slider_dots', 'opt' => 'is', 'val' => '1' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Dots style', 'mfn-opts'),
'options' => array(
'' => __('Standard', 'mfn-opts'),
'overlay' => __('Overlay', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_dots_count',
'condition' => array( 'id' => 'query_slider_dots', 'opt' => 'is', 'val' => '1' ),
'class' => 'mfn-toggled',
'type' => 'switch',
're_render' => true,
'title' => __('Dots count', 'mfn-opts'),
'options' => array(
'' => __('Standard', 'mfn-opts'),
'dynamic' => __('Dynamic', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_dots_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'condition' => array( 'id' => 'query_slider_dots', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Dots visibility', 'mfn-opts'),
'active_tooltip' => array(
'dots-hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'dots-hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'dots-hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'dots-hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'options' => array(
'dots-hide-desktop' => __('Hide on Desktop', 'mfn-opts'), // 960 +
'dots-hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'dots-hide-tablet' => __('Hide on Tablet', 'mfn-opts'), // 768 - 959
'dots-hide-mobile' => __('Hide on Mobile', 'mfn-opts'), // - 768
),
'visual_options' => array(
'dots-hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'dots-hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'dots-hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'dots-hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'id' => 'query_slider_mousewheel',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Mousewheel', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_slider_linear',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
're_render' => true,
'type' => 'switch',
'title' => __('Linear mode', 'mfn-opts'),
'desc' => __('Linear mode skips setting the number of columns and autoplay speed', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_display_style',
'condition' => array( 'id' => 'query_display', 'opt' => 'isnt', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'masonry' => __('Masonry', 'mfn-opts'),
),
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper.mfn-ql-item-default:width',
'id' => 'css_queryloop_item_width',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper.mfn-ql-item-default',
'style' => 'width',
'condition' => array( 'id' => 'query_display', 'opt' => 'isnt', 'val' => 'slider' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled query_item_default_width sliderbar-units',
'title' => __('Item width', 'mfn-opts'),
'units' => array(
'px' => array('min' => 0, 'max' => 1920, 'step' => 1),
'%' => array('min' => 0, 'max' => 100, 'step' => 0.1),
'vw' => array('min' => 0, 'max' => 100, 'step' => 0.1),
),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:min-height',
'id' => 'css_queryloop_item_min_height',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'min-height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Min height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:align-content',
'id' => 'css_queryloop_item_align_content',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'align-content',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Vertical align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Top', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Bottom', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:justify-content',
'id' => 'css_queryloop_item_justify_content',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'justify-content',
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Horizontal align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
],
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Spacing', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:padding',
'id' => 'css_queryloop_item_padding',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:margin',
'id' => 'css_queryloop_item_margin',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:border-style',
'id' => 'css_queryloop_item_border_style',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_ql',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:border-color',
'id' => 'css_queryloop_item_border_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ql', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:border-width',
'id' => 'css_queryloop_item_border_width',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ql', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:border-radius',
'id' => 'css_queryloop_item_border_radius',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:box-shadow',
'id' => 'css_queryloop_item_box_shadow',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'background_switcher_ql',
'attr_id' => 'background_switcher_ql',
'type' => 'switch',
'class' => 'mfn-fields-switcher mfn-toggled disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:gradient',
'id' => 'css_query_loop_item_gradient',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:background-color',
'id' => 'css_queryloop_item_bg_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:background-image',
'id' => 'css_queryloop_item_bg_image',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'class' => 'mfn-toggled',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'responsive' => true,
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:background-repeat',
'id' => 'css_queryloop_item_bg_repeat',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'class' => 'mfn-toggled',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:background-position',
'id' => 'css_queryloop_item_bg_position',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'background-position',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:background-attachment',
'id' => 'css_queryloop_item_bg_attachment',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'class' => 'mfn-toggled',
'responsive' => true,
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
'parallax' => __('Parallax', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper:background-size',
'id' => 'css_queryloop_item_bg_size',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner .mfn-queryloop-item-wrapper',
'style' => 'background-size',
'condition' => array( 'id' => 'background_switcher_ql', 'opt' => 'is', 'val' => 'default' ),
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Pagination', 'mfn-opts'),
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination:top',
'id' => 'css_queryloop_slider_pagination_top',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Top', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination:bottom',
'id' => 'css_queryloop_slider_pagination_bottom',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination:left',
'id' => 'css_queryloop_slider_pagination_left',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Left', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination:right',
'id' => 'css_queryloop_slider_pagination_right',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-dots-custom .swiper-pagination',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_dots_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Right', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled dots-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination:--mfn-swiper-pagination-spacing',
'id' => 'css_queryloop_slider_pagination_spacing',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination',
'style' => '--mfn-swiper-pagination-spacing',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Offset', 'mfn-opts'),
'desc' => __('Works with Standard and Overlay pagination mode', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination .swiper-pagination-bullet:--swiper-pagination-bullet-inactive-color',
'id' => 'css_queryloop_slider_pagination_bullet_inactive_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination .swiper-pagination-bullet',
'style' => '--swiper-pagination-bullet-inactive-color',
'type' => 'color',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination .swiper-pagination-bullet-active:--mfn-swiper-pagination-bullet-active-color',
'id' => 'css_queryloop_slider_pagination_bullet_active_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination .swiper-pagination-bullet-active',
'style' => '--mfn-swiper-pagination-bullet-active-color',
'type' => 'color',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'class' => 'mfn-toggled',
'title' => __('Active color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet:--mfn-swiper-pagination-bullet-width',
'id' => 'css_queryloop_slider_pagination_bullet_width',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet',
'style' => '--mfn-swiper-pagination-bullet-width',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet:--mfn-swiper-pagination-bullet-height',
'id' => 'css_queryloop_slider_pagination_bullet_height',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet',
'style' => '--mfn-swiper-pagination-bullet-height',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet:border-radius',
'id' => 'css_queryloop_slider_pagination_bullet_border_radius',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet',
'style' => 'border-radius',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Border radius', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet:opacity',
'id' => 'css_queryloop_slider_pagination_bullet_opacity',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .swiper-pagination-bullet',
'style' => 'opacity',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.01',
),
'std' => '0',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Arrows', 'mfn-opts'),
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Prev arrow custom style', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow:top',
'id' => 'css_queryloop_slider_arrow_prev_top',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Top', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow:bottom',
'id' => 'css_queryloop_slider_arrow_prev_bottom',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow:left',
'id' => 'css_queryloop_slider_arrow_prev_left',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Left', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow:right',
'id' => 'css_queryloop_slider_arrow_prev_right',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-prev.mfn-swiper-arrow',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Right', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Next arrow custom style', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow:top',
'id' => 'css_queryloop_slider_arrow_next_top',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Top', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow:bottom',
'id' => 'css_queryloop_slider_arrow_next_bottom',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow:left',
'id' => 'css_queryloop_slider_arrow_next_left',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Left', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow:right',
'id' => 'css_queryloop_slider_arrow_next_right',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .swiper-button-next.mfn-swiper-arrow',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Right', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled arrows-custom-style',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mfn-swiper-arrow:transformtranslatey',
'id' => 'css_queryloop_slider_arrow_transformtranslatey',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper.mfn-arrows-custom .mfn-swiper-arrow',
'style' => 'transformtranslatey',
'condition' => array( 'id' => 'query_slider_arrows_style', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Translate(Y)', 'mfn-opts'),
'desc' => __('Moves navigation arrows along the Y-axis by the percent height', 'mfn-opts'),
'after' => '%',
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Custom arrows', 'mfn-opts'),
),
array(
'id' => 'query_display_slider_arrow_prev',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'icon',
'class' => 'mfn-toggled',
'title' => __('Prev arrow', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-left-open-big'
),
array(
'id' => 'query_display_slider_arrow_next',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'icon',
'class' => 'mfn-toggled',
'title' => __('Next arrow', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-right-open-big'
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Size', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:--mfn-swiper-arrow-width',
'id' => 'css_queryloop_slider_arrow_width',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => '--mfn-swiper-arrow-width',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'after' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:--mfn-swiper-arrow-height',
'id' => 'css_queryloop_slider_arrow_height',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => '--mfn-swiper-arrow-height',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'after' => 'px',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow i:--mfn-swiper-arrow-size',
'id' => 'css_queryloop_slider_arrow_icon_size',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow i',
'style' => '--mfn-swiper-arrow-size',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Size', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:--mfn-swiper-arrow-spacing',
'id' => 'css_queryloop_slider_arrow_spacing',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => '--mfn-swiper-arrow-spacing',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Offset', 'mfn-opts'),
'after' => 'px',
'param' => array(
'min' => '-300',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:border-style',
'id' => 'css_queryloop_slider_arrow_border_style',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => 'border-style',
'attr_id' => 'border_style_qlarr',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:border-width',
'id' => 'css_queryloop_slider_arrow_border_width',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_qlarr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:border-radius',
'id' => 'css_queryloop_slider_arrow_border_radius',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:box-shadow',
'id' => 'css_queryloop_slider_arrowbox_shadow',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'condition' => array( 'id' => 'query_display', 'opt' => 'is', 'val' => 'slider' ),
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:--swiper-navigation-color',
'id' => 'css_queryloop_slider_arrow_navigation_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => '--swiper-navigation-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:background-color',
'id' => 'css_queryloop_slider_arrow_bg_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:border-color',
'id' => 'css_queryloop_slider_arrow_border_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_qlarr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow|hover:--swiper-navigation-color',
'id' => 'css_queryloop_slider_arrow_navigation_color_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:hover',
'style' => '--swiper-navigation-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow|hover:background-color',
'id' => 'css_queryloop_slider_arrow_background_color_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow|hover:border-color',
'id' => 'css_queryloop_slider_arrow_border_color_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement.mfn-looped-items-slider-wrapper .mfn-swiper-arrow:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_qlarr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>', // end: modalbox-card
),
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-advanced">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dimensions', 'mfn-opts'),
),
array(
'id' => 'width_switcher',
'attr_id' => 'wrap_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:flex',
'id' => 'css_advanced_flex',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'width',
'type' => 'text',
'condition' => array( 'id' => 'wrap_width_switcher', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled advanced_flex mfn-slider-input mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'id' => 'height_switcher',
'attr_id' => 'wrap_height_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:height',
'id' => 'css_advanced_height',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'wrap_height_switcher', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'class' => 'mfn-toggled adv_height_wrap mfn-slider-input',
'title' => __('Height', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:min-height',
'id' => 'css_advanced_min_height',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'min-height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Min height', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:flex-grow',
'id' => 'css_advanced_flex_grow',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'flex-grow',
'type' => 'select',
'condition' => array( 'id' => 'wrap_width_switcher', 'opt' => 'is', 'val' => '' ),
'class' => 'mfn-toggled visible-header-builder',
'responsive' => true,
'title' => __('Fit container', 'mfn-opts'),
'options' => array(
'unset' => __('Default', 'mfn-opts'),
'1' => __('Fit', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:flex-wrap',
'id' => 'css_advanced_flex_wrap',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'flex-wrap',
'type' => 'select',
'class' => 'mfn-toggled visible-header-builder',
'responsive' => true,
'title' => __('Wrap elements', 'mfn-opts'),
'options' => array(
'nowrap' => __('Nowrap', 'mfn-opts'),
'wrap' => __('Wrap', 'mfn-opts'),
),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Spacing', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:padding',
'id' => 'css_advanced_padding',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:margin',
'id' => 'css_advanced_margin',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'margin',
'version' => 'separated-fields',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled advanced_margin',
),
array(
'type' => 'header',
'class' => 'toggled_header hide_if_ql-slider',
'title' => __('Positioning', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:align-self',
'id' => 'css_advanced_align_self',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'align-self',
'condition' => array( 'id' => 'wrap_sticky_rwd', 'opt' => 'isnt', 'val' => '1' ),
'type' => 'radio_img',
'alias' => 'flex-align-self',
'responsive' => true,
'class' => 'form-content-full-width small mfn-toggled adv_alignself_wrap',
'title' => __('Wrap position', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => 'Top',
'flex-end' => 'Bottom',
'center' => 'Center',
'stretch' => 'Stretch',
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:align-content',
'id' => 'css_advanced_align_content',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'align-content',
'type' => 'radio_img',
'alias' => 'flex-align-content',
'responsive' => true,
'class' => 'form-content-full-width small mfn-toggled',
'title' => __('Wrap content position', 'mfn-opts'),
'desc' => __('Works with <b>Stretch</b> only', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => 'Top',
'flex-end' => 'Bottom',
'center' => 'Center',
'stretch' => 'Stretch',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly'
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:align-items',
'id' => 'css_advanced_align_items',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'align-items',
'type' => 'radio_img',
'alias' => 'flex-align-items',
'class' => 'form-content-full-width small mfn-toggled',
'responsive' => true,
'title' => __('Elements vertical align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => 'Top',
'flex-end' => 'Bottom',
'center' => 'Center',
'stretch' => 'Stretch columns',
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:justify-content',
'id' => 'css_advanced_justify_content',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'justify-content',
'type' => 'radio_img',
'alias' => 'flex-justify',
'class' => 'form-content-full-width small mfn-toggled',
'responsive' => true,
'title' => __('Elements horizontal align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'helper',
'class' => 'mfn-toggled',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/documentation/bebuilder/positioning/#wrap',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:z-index',
'id' => 'css_advanced_z_index',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'z-index',
'type' => 'text',
'title' => __('Z-index', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'preview' => 'number',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:order',
'id' => 'css_advanced_order',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'order',
'type' => 'text',
'title' => __('Order', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'responsive' => true,
'preview' => 'number',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:position',
'id' => 'css_advanced_position',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'position',
'attr_id' => 'wrap_position',
'type' => 'select',
'class' => 'mfn-toggled custom-element-position',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'relative' => __('Offset', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:top',
'id' => 'css_advanced_top',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'wrap_position', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Top', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:bottom',
'id' => 'css_advanced_bottom',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'wrap_position', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Bottom', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:left',
'id' => 'css_advanced_left',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'wrap_position', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Left', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:right',
'id' => 'css_advanced_right',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'wrap_position', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Right', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-color',
'id' => 'css_advanced_background_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:gradient',
'id' => 'css_advanced_gradient',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-image',
'id' => 'css_advanced_background_image',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-repeat',
'id' => 'css_advanced_background_repeat',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-position',
'id' => 'css_advanced_background_position',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-position',
'attr_id' => 'bgposopt_rwd',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'bgposopt',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-position_v2',
'id' => 'css_advanced_background_position_v2',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-position_v2',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'bgposopt_rwd', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Custom background position', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-custom-bg-pos',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-attachment',
'id' => 'css_advanced_background_attachment',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'desc' => __('Parallax doesn\'t work with responsive options', 'mfn-opts'),
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
'parallax' => __('Parallax', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-size',
'id' => 'css_advanced_background_size',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-size',
'attr_id' => 'custombgsize_rwd',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'custombgsize',
'title' => __('Size', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
'cover-ultrawide' => __('Cover, on ultrawide screens only > 1920px', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
],
//'options' => mfna_bg_size()
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:background-size_v2',
'id' => 'css_advanced_background_size_v2',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'background-size_v2',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'custombgsize_rwd', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Custom background size', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-custom-bg-size',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:backdrop-filter',
'id' => 'css_backdrop_filter',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'backdrop-filter',
'type' => 'backdrop_filter',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Backdrop filter', 'mfn-opts'),
'desc' => __('Doesn\'t work with animations', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:transition',
'id' => 'css_advanced_transition',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover:background-color',
'id' => 'css_advanced_background_color_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:hover',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover:gradient',
'id' => 'css_advanced_gradient_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover:background-image',
'id' => 'css_advanced_background_image_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:hover',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// Background Overlay WRAP
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Background Overlay', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:opacity',
'id' => 'css_advanced_background_overlay_opacity',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'opacity',
'type' => 'sliderbar',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.01',
),
'std' => '0',
),
array(
'id' => 'background_overlay_switcher',
'attr_id' => 'background_overlay_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:background-color',
'id' => 'css_advanced_background_overlay_background_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'background-color',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:gradient',
'id' => 'css_advanced_overlay_gradient',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'gradient',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:background-image',
'id' => 'css_advanced_background_overlay_background_image',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'background-image',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:background-repeat',
'id' => 'css_advanced_background_overlay_background_repeat',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:background-position',
'id' => 'css_advanced_background_overlay_background_position',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'background-position',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:background-attachment',
'id' => 'css_advanced_background_overlay_background_attachment',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
'parallax' => __('Parallax', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:background-size',
'id' => 'css_advanced_background_overlay_background_size',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'background-size',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:filter',
'id' => 'css_advanced_background_overlay_filter',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'filter',
'condition' => array( 'id' => 'background_overlay_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'css_filters',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('CSS Filters', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay:transition',
'id' => 'css_advanced_background_overlay_transition',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner > .mcb-wrap-background-overlay',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover > .mcb-wrap-background-overlay:opacity',
'id' => 'css_advanced_background_overlay_opacity_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:hover > .mcb-wrap-background-overlay',
'style' => 'opacity',
'type' => 'sliderbar',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.01',
),
//'std' => '1',
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover > .mcb-wrap-background-overlay:background-color',
'id' => 'css_advanced_background_overlay_background_color_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:hover > .mcb-wrap-background-overlay',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover > .mcb-wrap-background-overlay:gradient',
'id' => 'css_advanced_overlay_gradient_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover > .mcb-wrap-background-overlay',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner|hover > .mcb-wrap-background-overlay:background-image',
'id' => 'css_advanced_background_overlay_background_image_hover',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:hover > .mcb-wrap-background-overlay',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:border-style',
'id' => 'css_advanced_border_style',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'border-style',
'attr_id' => 'border_style_wrap',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:border-color',
'id' => 'css_advanced_border_color',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wrap', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:border-width',
'id' => 'css_advanced_border_width',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wrap', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:border-radius',
'id' => 'css_advanced_border_radius',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner:box-shadow',
'id' => 'css_advanced_box_shadow',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement .mcb-wrap-inner',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Responsive', 'mfn-opts'),
),
array(
'id' => 'visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'), // 960 +
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'), // 768 - 959
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'), // - 768
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'id' => 'reverse_order',
'class' => 'mfn-toggled hide_if_ql',
'type' => 'switch',
'iconinfo' => 'https://support.muffingroup.com/how-to/how-to-reverse-the-order-of-elements-on-mobile/',
'title' => __('Order on mobile', 'mfn-opts'),
'options' => [
0 => __('Default', 'mfn-opts'),
1 => __('Reverse rows', 'mfn-opts'),
2 => __('Reverse columns', 'mfn-opts'),
],
'std' => 0,
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'custom-responsive',
'attr_id' => 'custom-responsive',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Custom visibility', 'mfn-opts'),
'options' => array(
'hide' => __('Hide under', 'mfn-opts'),
'show' => __('Show under', 'mfn-opts'),
),
'std' => 'hide'
),
array(
'condition' => array( 'id' => 'custom-responsive', 'opt' => 'is', 'val' => 'hide' ),
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:hide_under_custom',
'id' => 'css_advanced_hide_under',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'hide_under_custom',
'type' => 'sliderbar',
'class' => 'mfn-toggled responsive-custom-visibility',
'title' => __('Hide under', 'mfn-opts'),
'param' => array(
'min' => '400',
'max' => '1920',
'step' => '1',
'unit' => 'px',
),
),
array(
'condition' => array( 'id' => 'custom-responsive', 'opt' => 'is', 'val' => 'show' ),
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:show_under_custom',
'id' => 'css_advanced_show_under',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'show_under_custom',
'type' => 'sliderbar',
'title' => __('Show under', 'mfn-opts'),
'class' => 'mfn-toggled responsive-custom-visibility',
'param' => array(
'min' => '400',
'max' => '1920',
'step' => '1',
'unit' => 'px',
),
),
// Conditions
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Conditional logic', 'mfn-opts'),
),
array(
'id' => 'conditional_logic',
'class' => 'mfn-toggled',
'type' => 'logic',
'title' => __('Conditional logic', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'classes',
'class' => 'mfn-toggled',
'type' => 'pills',
'title' => __('Classes', 'mfn-opts'),
),
array(
'id' => 'custom_id',
'class' => 'mfn-toggled',
'type' => 'text',
'title' => __('ID', 'mfn-opts'),
),
array(
'id' => 'custom_css',
'class' => 'mfn-toggled',
'type' => 'textarea',
'title' => __('Additional CSS', 'mfn-opts'),
),
// animation
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Animation', 'mfn-opts'),
),
array(
'id' => 'animate',
'attr_id' => 'wrap-animate',
'type' => 'select',
'title' => __('Animation', 'mfn-opts'),
'desc' => __('Entrance animation', 'mfn-opts'),
'class' => 'mfn-toggled',
'options' => $this->get_animations(),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap-mfnuidelement:animation-delay',
'id' => 'css_advanced_animation_delay',
'selector' => '.mcb-section .mcb-wrap-mfnuidelement',
'style' => 'animation-delay',
'condition' => array( 'id' => 'wrap-animate', 'opt' => 'isnt', 'val' => '' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Animation delay', 'mfn-opts'),
'after' => 'ms',
'param' => array(
'min' => '0',
'max' => '3000',
'step' => '1',
'unit' => 'ms'
),
),
// global wraps
array(
'id' => 'global_wraps',
'type' => 'header',
'class' => 'toggled_header global_wraps mfn-hidden-nested-wrap',
'title' => __('Global Wraps', 'mfn-opts'),
),
array(
'id' => 'global_wraps_select',
'attr_id' => 'global_wraps_select',
'class' => 'mfn-toggled mfn-hidden-nested-wrap',
'type' => 'select',
'title' => __('Select template', 'mfn-opts'),
'std' => '',
'js_options' => 'global_wraps',
'php_options' => mfna_templates('wrap'),
),
array(
'type' => 'html',
'html' => '</div>',
),
);
}
/**
* SET items and their fields
*/
private function set_items(){
$this->items = array(
// thank you ----------------------------------------------------
'thankyou_overview' => array(
'type' => 'thankyou_overview',
'title' => __('Order overview', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'thanks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere active">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Confirmation', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_notice_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_notice_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_notice_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'css_notice_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received:before',
'style' => '--mfn-woo-themecolor',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_notice_icon_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received:before',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_notice_icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => '--mfn-woo-thanks-notice-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Wrapper size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'css_notice_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => '--mfn-woo-thanks-notice-icon-font-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Text', 'mfn-opts'),
),
array(
'id' => 'css_notice_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => '--mfn-woo-themecolor',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_notice_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-thankyou-order-received',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Details', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_overview_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_overview_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_overview_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'id' => 'css_overview_item_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details li',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_overview_item_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details li',
'style' => '--mfn-woo-border',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Headings', 'mfn-opts'),
),
array(
'id' => 'css_overview_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_overview_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Values', 'mfn-opts'),
),
array(
'id' => 'css_overview_val_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details li strong',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_overview_val_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.order_details li strong',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Payment info', 'mfn-opts'),
),
array(
'id' => 'css_overview_payment_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-thanks-overview-payment',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_overview_payment_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-thanks-overview-payment',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_overview_payment_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-thanks-overview-payment',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '</div>',
),
)
),
// thank you ----------------------------------------------------
'thankyou_order' => array(
'type' => 'thankyou_order',
'title' => __('Order details', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'thanks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere active">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_order_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_order_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_order_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details',
'style' => 'border-style',
'attr_id' => 'border_thanks_order_details',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_order_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details',
'style' => 'border-width',
'condition' => array( 'id' => 'border_thanks_order_details', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_order_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_thanks_order_details', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_order_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'css_order_heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details .woocommerce-order-details__title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_order_heading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details .woocommerce-order-details__title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_order_heading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details .woocommerce-order-details__title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_order_heading_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-order-details .woocommerce-order-details__title',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Table', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Head', 'mfn-opts'),
),
array(
'id' => 'css_table_head_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table thead th',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_head_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table thead th',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_table_head_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table thead th',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Body', 'mfn-opts'),
),
array(
'id' => 'css_table_body_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_body_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_table_body_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table',
'style' => '--mfn-woo-border',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_table_body_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td, .mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tfoot th',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Product name', 'mfn-opts'),
),
array(
'id' => 'css_table_product_name_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .woocommerce-table__product-name a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_product_name_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .woocommerce-table__product-name a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Variations', 'mfn-opts'),
),
array(
'id' => 'css_table_variations_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .woocommerce-table__product-name ul li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_variations_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .woocommerce-table__product-name ul li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Quantity', 'mfn-opts'),
),
array(
'id' => 'css_table_product_quantity_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .product-name .product-quantity',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_product_quantity_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .product-name .product-quantity',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'css_table_labels_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tfoot th',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_labels_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tfoot th',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Total', 'mfn-opts'),
),
array(
'id' => 'css_table_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tfoot tr:last-child .woocommerce-Price-amount',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tfoot tr:last-child .woocommerce-Price-amount',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Customer', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_customer_box_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details .woocommerce-column',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_customer_box_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details .woocommerce-column',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_customer_box_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details .woocommerce-column',
'style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '15',
'max' => '50',
'step' => '1',
'unit' => '%',
)
),
array(
'id' => 'css_customer_box_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details .woocommerce-column',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_customer_box_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details .woocommerce-column',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'css_customer_heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details h2',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_customer_heading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details h2',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_customer_heading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details h2',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Address', 'mfn-opts'),
),
array(
'id' => 'css_customer_address_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details address',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_customer_address_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details address',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_customer_address_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details address',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'css_customer_address_icon_visibility',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details address:before',
'style' => 'display',
'type' => 'switch',
'attr_id' => 'cstmr_address_icon_visibility_rwd',
'title' => __('Visibility', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Show', 'mfn-opts'),
'none' => __('Hide', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'css_customer_address_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details address:before',
'style' => 'color',
'type' => 'color',
'condition' => array( 'id' => 'cstmr_address_icon_visibility_rwd', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_customer_address_icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-customer-details address:before',
'style' => '--mfn-woo-border',
'type' => 'color',
'condition' => array( 'id' => 'cstmr_address_icon_visibility_rwd', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
)
),
// checkout ----------------------------------------------------
'checkout' => array(
'type' => 'checkout',
'title' => __('Checkout', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'checkout',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'layout',
'type' => 'select',
'title' => __('Your order', 'mfn-opts'),
'options' => [
'' => __('On the right', 'mfn-opts'),
'default' => __('Bottom', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Form', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'css_label_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .form-row label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .form-row label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_label_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .form-row label',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Inputs', 'mfn-opts'),
),
array(
'id' => 'css_inputs_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_inputs_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection',
'style' => 'border-style',
'attr_id' => 'border_checkout_inputs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_inputs_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection',
'style' => 'border-width',
'condition' => array( 'id' => 'border_checkout_inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_inputs_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Focus</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_inputs_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection .select2-selection__rendered',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_inputs_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_inputs_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .select2-selection',
'style' => 'border-color',
'condition' => array( 'id' => 'border_checkout_inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_inputs_placeholder_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input::placeholder, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea::placeholder',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Placeholder color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_inputs_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea:focus',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_inputs_bg_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea:focus',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_inputs_border_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .input-text:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form select:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form textarea:focus',
'style' => 'border-color',
'condition' => array( 'id' => 'border_checkout_inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_inputs_placeholder_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:focus::placeholder, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:focus::placeholder',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Placeholder color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Billing details', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'css_billing_heading_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-billing-fields h3',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'css_billing_heading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-billing-fields h3',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_billing_heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-billing-fields h3',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_billing_heading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-billing-fields h3',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Summary', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_summary_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => '--mfn-woo-bg-box',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_summary_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => '--mfn-woo-border-radius-box',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'id' => 'css_summary_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce .woocommerce-checkout-review-order',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_summary_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce .woocommerce-checkout-review-order',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'css_summary_heading_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #order_review #order_review_heading',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'css_summary_heading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .woocommerce-checkout-review-order h4',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_summary_heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .woocommerce-checkout-review-order h4',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_summary_heading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .woocommerce-checkout-review-order h4',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Table', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce table.shop_table td',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce table.shop_table td',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce table.shop_table td',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Products', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_variations_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce table.shop_table dd',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_variations_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce table.shop_table dd',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Variations border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Quantity', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_product_quantity_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .product-name .product-quantity',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_product_quantity_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table .product-name .product-quantity',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Price', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tr.order-total .woocommerce-Price-amount',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_summary_table_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tr.order-total .woocommerce-Price-amount',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Payment', 'mfn-opts'),
),
array(
'id' => 'css_summary_payment_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li div.payment_box',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_summary_payment_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li div.payment_box',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_summary_payment_label_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Label typography', 'mfn-opts'),
),
array(
'id' => 'css_summary_payment_label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_summary_payment_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li',
'style' => '--mfn-woo-border',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_summary_payment_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li.active-payment',
'style' => '--mfn-woo-border-themecolor',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_summary_payment_icon_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form #payment ul.payment_methods li.wc_payment_method .mfn-payment-check',
'style' => '--mfn-woo-bg-themecolor',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Return to cart', 'mfn-opts'),
),
array(
'id' => 'css_summary_return_shop_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woo-cart-link',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_summary_return_shop_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woo-cart-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_summary_return_shop_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woo-cart-link',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Shipping', 'mfn-opts'),
),
array(
'id' => 'css_shipping_switcher_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .woocommerce-shipping-fields h3 span',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_shipping_switcher_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .woocommerce-shipping-fields h3 span',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_shipping_switcher_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .woocommerce-shipping-fields h3',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_shipping_switcher_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-shipping-fields h3#ship-to-different-address',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_shipping_switcher_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-shipping-fields h3#ship-to-different-address',
'style' => 'border-style',
'attr_id' => 'border_checkout_shipping_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_shipping_switcher_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-shipping-fields h3#ship-to-different-address',
'style' => 'border-width',
'condition' => array( 'id' => 'border_checkout_shipping_switcher', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_shipping_switcher_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-shipping-fields h3#ship-to-different-address',
'condition' => array( 'id' => 'border_checkout_shipping_switcher', 'opt' => 'isnt', 'val' => 'none' ),
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_shipping_switcher_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-shipping-fields h3#ship-to-different-address',
'style' => '--mfn-woo-border-radius-box',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'id' => 'css_shipping_switcher_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-shipping-fields h3#ship-to-different-address',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'css_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'border-style',
'attr_id' => 'border_style_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'id' => 'css_button_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'transition',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce form .button:before',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Coupon code', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Switcher', 'mfn-opts'),
),
array(
'id' => 'css_coupon_switcher_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_coupon_switcher_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_coupon_switcher_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_coupon_switcher_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_coupon_switcher_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'border-style',
'attr_id' => 'border_checkout_coupon_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_coupon_switcher_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'border-width',
'condition' => array( 'id' => 'border_checkout_coupon_switcher', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_coupon_switcher_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'condition' => array( 'id' => 'border_checkout_coupon_switcher', 'opt' => 'isnt', 'val' => 'none' ),
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_coupon_switcher_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => '--mfn-woo-border-radius-box',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'id' => 'css_coupon_switcher_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_coupon_switcher_link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_coupon_switcher_link_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-form-coupon-toggle .woocommerce-info a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
)
),
// cart table ----------------------------------------------------
'cart_table' => array(
'type' => 'cart_table',
'title' => __('Cart table', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'cart',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'update_cart_label',
'type' => 'text',
'title' => __('Update cart button label', 'mfn-opts'),
'std' => __('Update cart', 'woocommerce'),
),
array(
'id' => 'coupon_code_placeholder',
'type' => 'text',
'title' => __('Coupon code placeholder', 'mfn-opts'),
'std' => __('Coupon code', 'woocommerce'),
),
array(
'id' => 'apply_coupon_label',
'edit_tag' => 'td.actions .coupons | button.button',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Apply coupon button label', 'mfn-opts'),
'std' => __('Apply coupon', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Table head', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tablecartth_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart th',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tablecartth_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart th',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tableth_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table th',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'padding',
),
array(
'id' => 'css_tableshop_tablethead_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table thead',
'style' => 'border-style',
'attr_id' => 'border_cart_thead',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_tableshop_tablethead_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table thead',
'style' => 'border-width',
'condition' => array( 'id' => 'border_cart_thead', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_tableshop_tablethead_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table thead',
'style' => 'border-color',
'condition' => array( 'id' => 'border_cart_thead', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Table body', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tablecarttd_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tabletbody_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tbody',
'style' => 'border-style',
'attr_id' => 'border_cart_tbody',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_tableshop_tabletbody_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tbody',
'style' => 'border-width',
'condition' => array( 'id' => 'border_cart_tbody', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_tableshop_tabletbody_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table tbody',
'style' => 'border-color',
'condition' => array( 'id' => 'border_cart_tbody', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Cells', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tabletd_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'padding',
),
array(
'id' => 'css_tableshop_tabletd_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td',
'style' => 'border-style',
'attr_id' => 'border_cart_tbodytd',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_tableshop_tabletd_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td',
'style' => 'border-width',
'condition' => array( 'id' => 'border_cart_tbodytd', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_tableshop_tabletd_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table td',
'style' => 'border-color',
'condition' => array( 'id' => 'border_cart_tbodytd', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Product name', 'mfn-opts'),
),
array(
'id' => 'css_table-namea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-name a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table-namea_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-name a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Product variations', 'mfn-opts'),
),
array(
'id' => 'css_table-namevariation_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-name .variation',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'id' => 'css_table-namevariationdd_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-name .variation dd',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Value color', 'mfn-opts'),
),
array(
'id' => 'css_table-namevariation_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-name .variation',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_table-namevariation_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-name .variation',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Price', 'mfn-opts'),
),
array(
'id' => 'css_table_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Subtotal', 'mfn-opts'),
),
array(
'id' => 'css_table_price_subtotal_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-subtotal',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_table_price_subtotal_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart td.product-subtotal',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Quantity', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_inputqty_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart .quantity input.qty',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_inputqty_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart .quantity input.qty',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_inputqty_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart .quantity input.qty',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_aquantity-change_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart .quantity a.quantity-change',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Plus/Minus color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Remove', 'mfn-opts'),
),
array(
'id' => 'css_tableshop_tablecartproduct-removearemovespan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.shop_table.cart .product-remove a.remove span',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Coupon input', 'mfn-opts'),
),
array(
'id' => 'css_coupon_code_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .coupon #coupon_code',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_coupon_code_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .coupon #coupon_code, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .coupon #coupon_code::placeholder',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_coupon_code_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .coupon #coupon_code',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'css_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'border-style',
'attr_id' => 'border_style_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'id' => 'css_button_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'transition',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#inactive" data-tab="inactive">Inactive</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:before',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-inactive">',
),
array(
'id' => 'css_button_opacity_inactive',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:disabled',
'style' => 'opacity',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '0.5'
),
array(
'id' => 'css_button_color_inactive',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:disabled',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color_inactive',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:disabled',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_inactive',
'attr_id' => 'background_switcher_inactive_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_inactive',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:disabled',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_inactive_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient_inactive',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_table .actions .button:disabled',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_inactive_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// cart totals ----------------------------------------------------
'cart_totals' => array(
'type' => 'cart_totals',
'title' => __('Cart totals', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'cart',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'cart_totals_heading',
'edit_tag' => '.cart_totals | h4',
'edit_position' => 'prepend',
'type' => 'text',
'title' => __('Cart totals heading', 'mfn-opts'),
'std' => __('Cart totals', 'woocommerce'),
),
array(
'id' => 'proceed_checkout_label',
'edit_tag' => 'td.actions .coupons | button.button',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Proceed to checkout button label', 'mfn-opts'),
'std' => __('Proceed to checkout', 'woocommerce'),
),
array(
'id' => 'continue_shopping_string',
'edit_tag' => '.cart_totals | a.mfn-woo-cart-link',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Continue shopping link title', 'mfn-opts'),
'std' => __('Continue shopping', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'css_cart_totalstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_cart_totalstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_cart_totalstitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Table', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_tableth_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals table.shop_table th',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_tableth_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals table.shop_table th',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Value', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_tabletd_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals table.shop_table td',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_tabletd_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals table.shop_table td',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Price', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_tableorder-totalwoocommerce-Price-amount_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals table.shop_table .order-total .woocommerce-Price-amount',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_tableorder-totalwoocommerce-Price-amount_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart-collaterals .cart_totals table.shop_table .order-total .woocommerce-Price-amount',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Cells', 'mfn-opts'),
),
array(
'id' => 'css_cart_total_table_td_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table th,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table td',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_cart_total_table_td_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table th,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table td',
'style' => 'border-style',
'attr_id' => 'border_cart_total_cells',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_cart_total_table_td_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table th,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table td',
'style' => 'border-width',
'condition' => array( 'id' => 'border_cart_total_cells', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_cart_total_table_td_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table th,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table td',
'style' => 'border-color',
'condition' => array( 'id' => 'border_cart_total_cells', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_cart_total_tablea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table a',
'style' => 'color',
'type' => 'color',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_cart_total_tablea_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals table.shop_table a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'css_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-style',
'attr_id' => 'border_style_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_button_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'id' => 'css_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:before',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Continue shopping', 'mfn-opts'),
),
array(
'id' => 'css_cart_continue_shopping_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals .mfn-woo-cart-link',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_cart_continue_shopping_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals .mfn-woo-cart-link',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_cart_continue_shopping_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals .mfn-woo-cart-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_cart_continue_shopping_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .cart_totals .mfn-woo-cart-link:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// cart cross sells ----------------------------------------------------
'cart_cross_sells' => array(
'type' => 'cart_cross_sells',
'title' => __('Cross sells', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'cart',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'heading',
'edit_tag' => '.mfn-cross-sells | .heading',
'edit_position' => 'prepend',
'type' => 'text',
'title' => __('Heading', 'mfn-opts'),
'std' => __('You may be interested in…', 'woocommerce'),
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'columns',
'type' => 'text',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'std' => '4',
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'products',
'type' => 'text',
're_render' => true,
'title' => __('Limit', 'mfn-opts'),
'std' => '4',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'button',
'type' => 'switch',
're_render' => true,
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'description',
'type' => 'switch',
're_render' => true,
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_cross-sellsheading_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-cross-sells .heading',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'css_cross-sellsheading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-cross-sells .heading',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_cross-sellsheading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-cross-sells .heading',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'margin',
),
array(
'id' => 'css_cross-sellsheading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-cross-sells .heading',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproduct_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'css_ulproductsliproduct_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproduct_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'padding',
),
array(
'id' => 'css_ulproductsliproduct_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_ulproductsliproduct_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproduct_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_ulproductsliproduct_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_ulproductsliproductimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_ulproductsliproductimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_ulproductsliproducttitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproducttitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'margin',
),
array(
'id' => 'css_ulproductsliproducttitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_ulproductsliproductprice_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductprice_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'margin',
),
array(
'id' => 'css_ulproductsliproductprice_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_ulproductsliproductexcerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'margin',
),
array(
'id' => 'css_ulproductsliproductexcerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductexcerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Sale label', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductonsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductonsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductonsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'padding',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'padding',
),
array(
'id' => 'css_ulproductsliproductbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_ulproductsliproductbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-width',
),
array(
'id' => 'css_ulproductsliproductbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'css_attr' => 'border-radius',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_ulproductsliproductbutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_ulproductsliproductbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_ulproductsliproductbutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_hover_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'id' => 'css_ulproductsliproductbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_ulproductsliproductbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:before',
'style' => 'gradient',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
'css_attr' => 'gradient',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_ulproductsliproductstar-rating_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'id' => 'css_ulproductsliproductstar-ratingspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Order steps ----------------------------------------------------
'order_steps' => array(
'type' => 'order_steps',
'title' => __('Order steps', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'order-shared',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'cart_label',
'type' => 'text',
'edit_tag' => '.mfn-checkout-step-cart | span.mfn-step-label',
'edit_position' => 'append',
'title' => __('Cart label', 'mfn-opts'),
'std' => __('Cart', 'woocommerce'),
),
array(
'id' => 'checkout_label',
'type' => 'text',
'edit_tag' => '.mfn-checkout-step-checkout | span.mfn-step-label',
'edit_position' => 'append',
'title' => __('Checkout label', 'mfn-opts'),
'std' => __('Checkout', 'woocommerce'),
),
array(
'id' => 'order_label',
'type' => 'text',
'edit_tag' => '.mfn-checkout-step-order | span.mfn-step-label',
'edit_position' => 'append',
'title' => __('Order label', 'mfn-opts'),
'std' => __('Order', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'title' => __('Items', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_order_steps_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps',
'style' => '--mfn-order-steps-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'title' => __('Number', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_order_steps_number_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps',
'style' => '--mfn-order-steps-number-width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Wrapper size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'css_order_steps_number_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Number size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'css_order_steps_number_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'margin-right',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Offset', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'css_order_steps_number_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'border-style',
'attr_id' => 'border_order_steps_nr',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_order_steps_number_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'border-width',
'condition' => array( 'id' => 'border_order_steps_nr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_order_steps_number_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_order_steps_number_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_order_steps_number_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_order_steps_number_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-number',
'style' => 'border-color',
'condition' => array( 'id' => 'border_order_steps_nr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_order_steps_number_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li.active .mfn-step-number',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_order_steps_number_background_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li.active .mfn-step-number',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_order_steps_number_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li.active .mfn-step-number',
'style' => 'border-color',
'condition' => array( 'id' => 'border_order_steps_nr', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'title' => __('Label', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_order_steps_label_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_order_steps_label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li .mfn-step-label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_order_steps_label_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li.active .mfn-step-label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'title' => __('Separator', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_order_steps_separator_opacity',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li:after',
'style' => 'opacity',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Opacity', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
'unit' => '',
)
),
array(
'id' => 'css_order_steps_separator_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li:after',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'css_order_steps_separator_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-checkout-steps li:after',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// ALIAS: Blog Heading ----------------------------------------------------
'archive_heading' => array(
'type' => 'heading',
'title' => __('Title', 'mfn-opts'),
'cat' => 'archive',
),
// ALIAS: Blog image ----------------------------------------------------
'archive_image' => array(
'type' => 'image',
'title' => __('Archive image', 'mfn-opts'),
'cat' => 'archive',
),
// ALIAS: Blog readmore ----------------------------------------------------
'archive_read_more' => array(
'type' => 'button',
'title' => __('Read more', 'mfn-opts'),
'cat' => 'archive',
),
// ALIAS: Blog Desc ----------------------------------------------------
'archive_content' => array(
'type' => 'plain_text',
'title' => __('Description', 'mfn-opts'),
'cat' => 'archive',
),
'archive_blog_categories' => array(
'type' => 'tag_cloud',
'title' => __('Categories', 'mfn-opts'),
'cat' => 'blog',
),
'archive_portfolio_categories' => array(
'type' => 'tag_cloud',
'title' => __('Categories', 'mfn-opts'),
'cat' => 'portfolio',
),
// ALIAS: Single Post Heading ----------------------------------------------------
'post_heading' => array(
'type' => 'heading',
'title' => __('Post title', 'mfn-opts'),
'cat' => 'single-post',
),
// ALIAS: Single Post Image ----------------------------------------------------
'post_image' => array(
'type' => 'image',
'title' => __('Featured image', 'mfn-opts'),
'cat' => 'single-post',
),
// ALIAS: Single Post Author -----------------------------------------------------
'post_author' => array(
'type' => 'icon_box_2',
'title' => __('Post author', 'mfn-opts'),
'cat' => 'single-post',
),
// ALIAS: Single Post date -------------------------------------------------------
'post_date' => array(
'type' => 'heading',
'title' => __('Post date', 'mfn-opts'),
'cat' => 'single-post',
),
// ALIAS: Single Post related ----------------------------------------------------
'post_blog_related' => array(
'type' => 'blog',
'title' => __('Related posts', 'mfn-opts'),
'cat' => 'single-blog-post',
),
// ALIAS: Single Portfolio related ----------------------------------------------------
'post_portfolio_related' => array(
'type' => 'portfolio',
'title' => __('Related posts', 'mfn-opts'),
'cat' => 'single-portfolio-post',
),
// ALIAS: Single Post categories -------------------------------------------------
'post_blog_categories' => array(
'type' => 'tag_cloud',
'title' => __('Post categories', 'mfn-opts'),
'cat' => 'single-blog-post',
),
// ALIAS: Single Post categories -------------------------------------------------
'post_portfolio_categories' => array(
'type' => 'tag_cloud',
'title' => __('Post categories', 'mfn-opts'),
'cat' => 'single-portfolio-post',
),
// ALIAS: Single Post categories -------------------------------------------------
'post_blog_tags' => array(
'type' => 'tag_cloud',
'title' => __('Post tags', 'mfn-opts'),
'cat' => 'single-blog-post',
),
// ALIAS: Single Post categories -------------------------------------------------
'post_excerpt' => array(
'type' => 'plain_text',
'title' => __('Excerpt', 'mfn-opts'),
'cat' => 'single-post',
),
// ALIAS: Single Post love it -------------------------------------------------
'post_love' => array(
'type' => 'icon_box_2',
'title' => __('Post love', 'mfn-opts'),
'cat' => 'single-post',
),
// Single Post Comments ----------------------------------------------------
'post_comments' => array(
'type' => 'post_comments',
'title' => __('Post comments', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-post',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Single Post Content ----------------------------------------------------
'post_content' => array(
'type' => 'post_content',
'title' => __('Post content', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-post',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Content', 'mfn-opts'),
),
array(
'id' => 'content',
're_render' => true,
'type' => 'select',
'title' => __('Source', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'mfn' => __('BeBuilder', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Menu ----------------------------------------------------
'sidemenu_menu' => array(
'type' => 'sidemenu_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'sidemenu',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Menu', 'mfn-opts'),
'desc' => __('Add multiple menus easily in tabs. You can add one menu in single tab as well.', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Menu title', 'mfn-opts'),
],
'menu' => [
'select',
__('Menu to display', 'mfn-opts'),
'',
'menus',
],
],
'std' => [
0 => [
'title' => __('Menu 1', 'mfn-opts'),
'menu' => '',
]
],
'preview' => 'tabs',
'primary' => 'title', // default
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-icon:display',
'id' => 'css_sidemenu-menu-a-icon_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-icon',
'style' => 'display',
'attr_id' => 'icon_sm_visibility',
'type' => 'switch',
'title' => __('Icon visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'type' => 'header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu',
'attr_id' => 'submenu',
're_render' => true,
'type' => 'switch',
'title' => __('Submenu', 'mfn-opts'),
'options' => array(
'on' => 'Show',
'off' => 'Hide',
),
'std' => 'on',
),
array(
'id' => 'submenu_on',
'attr_id' => 'submenu_on',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
're_render' => true,
'type' => 'select',
'title' => __('Submenu visibility', 'mfn-opts'),
'options' => array(
'visible' => 'Visible',
'toggled' => 'Toggled',
'replace' => 'Replace current',
),
'std' => 'visible',
),
array(
'id' => 'submenu_icon_display',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
're_render' => true,
'type' => 'switch',
'title' => __('Submenu icon visibility', 'mfn-opts'),
'options' => array(
'on' => 'Show',
'off' => 'Hide',
),
'std' => 'on',
),
array(
'id' => 'submenu_icon',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'id' => 'submenu_icon_animation',
'type' => 'select',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-desc:display',
'id' => 'css_sidemenu-menu-a-desc_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-desc',
'style' => 'display',
'type' => 'switch',
'title' => __('Desc visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper:padding',
'id' => 'css_menu-wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper:background-color',
'id' => 'css_menu-wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper:border-style',
'id' => 'css_menu-wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper',
'style' => 'border-style',
'attr_id' => 'border_sidemenu_tabs_content',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper:border-width',
'id' => 'css_menu-wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sidemenu_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper:border-color',
'id' => 'css_menu-wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper:border-radius',
'id' => 'css_menu-wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:justify-content',
'id' => 'css_ul-sidemenu-menulia-menu-link_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'justify-content',
'type' => 'switch',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:padding',
'id' => 'css_ul-sidemenu-menulia-menu-link_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:margin',
'id' => 'css_ul-sidemenu-menulia-menu-link_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:typography',
'id' => 'css_sidemenu-menulia-menu-link_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:border-style',
'id' => 'css_ul-sidemenu-menu-link_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'border-style',
'attr_id' => 'border_sidemenu_tabs_ulli2',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:border-width',
'id' => 'css_ul-sidemenu-menu-link_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli2', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:border-radius',
'id' => 'css_ul-sidemenu-menu-link_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:color',
'id' => 'css_ul-sidemenu-menulia-menu-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:background-color',
'id' => 'css_ul-sidemenu-menu-link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:border-color',
'id' => 'css_ul-sidemenu-menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli2', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link|hover:color',
'id' => 'css_ul-sidemenu-menu-link_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link|hover:background-color',
'id' => 'css_ul-sidemenu-link_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link|hover:border-color',
'id' => 'css_ul-sidemenu-link_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li a.mfn-menu-link:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli2', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li.current-menu-item > a.mfn-menu-link:color',
'id' => 'css_ul-sidemenu-licurrent-menu-itema-menu-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li.current-menu-item > a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li.current-menu-item > a.mfn-menu-link:background-color',
'id' => 'css_ul-sidemenu-menulicurrent-menu-itema-menu-link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li.current-menu-item > a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li.current-menu-item > a.mfn-menu-link:border-color',
'id' => 'css_ul-sidemenu-menulicurrent-menu-itema-menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li.current-menu-item > a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli2', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li:--mfn-sidemenu-icon-gap',
'id' => 'css_sidemenu-menuli_mfn_sidemenu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li',
'style' => '--mfn-sidemenu-icon-gap',
'type' => 'sliderbar',
//'condition' => array( 'id' => 'icon_visibility', 'opt' => 'is', 'val' => 'block' ),
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '5px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li:--mfn-sidemenu-icon-width',
'id' => 'css_sidemenu-menuli_sidemenu_icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li',
'style' => '--mfn-sidemenu-icon-width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu .menu-icon i:color',
'id' => 'css_sidemenu-menumenu-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu .menu-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a|hover .menu-icon i:color',
'id' => 'css_sidemenu-menu-a-iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a:hover .menu-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li.current-menu-item > a .menu-icon i:color',
'id' => 'css_sidemenu-menulicurrent-menu-itemamenu-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li.current-menu-item > a .menu-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li:--mfn-sidemenu-submenu-icon-width',
'id' => 'css_sidemenu-menuli_sidemenu_submenu_icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li',
'style' => '--mfn-sidemenu-submenu-icon-width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li:--mfn-sidemenu-submenu-icon-size',
'id' => 'css_sidemenu-menuli_sidemenu_submenu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li',
'style' => '--mfn-sidemenu-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li .outer-menu-sub i:color',
'id' => 'css_sidemenu-menuliouter-menu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li .outer-menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li .outer-menu-sub:background-color',
'id' => 'css_sidemenu-menuliouter-menu-sub_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li .outer-menu-sub',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li|hover > .outer-menu-sub i:color',
'id' => 'css_sidemenu-menuliouter-menu-subi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li:hover > .outer-menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li|hover > .outer-menu-sub:background-color',
'id' => 'css_sidemenu-menuliouter-menu-sub_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li:hover > .outer-menu-sub',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li.current-menu-item > .outer-menu-sub i:color',
'id' => 'css_sidemenu-menulicurrent-menu-itemouter-menu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li.current-menu-item > .outer-menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li.current-menu-item > .outer-menu-sub:background-color',
'id' => 'css_-sidemenu-menulicurrent-menu-itemouter-menu-sub_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu li.current-menu-item > .outer-menu-sub',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'condition' => array( 'id' => 'submenu_on', 'opt' => 'isnt', 'val' => 'replace' ),
'type' => 'header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul:padding',
'id' => 'css_menu-wrapperliul_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul:background-color',
'id' => 'css_menu-wrapperliul_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul:border-style',
'id' => 'css_menu-wrapperliul_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul',
'style' => 'border-style',
'attr_id' => 'border_sidemenu_tabs_content',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul:border-width',
'id' => 'css_menu-wrapperliul_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sidemenu_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul:border-color',
'id' => 'css_menu-wrapperliul_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul:border-radius',
'id' => 'css_menu-wrapperliul_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-wrapper li ul',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:padding',
'id' => 'css_ul-sidemenu-menuliullia-menu-link_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:margin',
'id' => 'css_ul-sidemenu-menuliullia-menu-link_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:typography',
'id' => 'css_sidemenu-menuliullia-menu-link_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:border-style',
'id' => 'css_ul-sidemenu-liullia-menu-link_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'border-style',
'attr_id' => 'border_sidemenu_tabs_ulli',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:border-width',
'id' => 'css_ul-sidemenu-liullia-menu-link_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:border-radius',
'id' => 'css_ul-sidemenu-liullia-menu-link_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:color',
'id' => 'css_ul-sidemenu-menuliullia-menu-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:background-color',
'id' => 'css_ul-sidemenu-liullia-menu-link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:border-color',
'id' => 'css_ul-sidemenu-liullia-menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link|hover:color',
'id' => 'css_ul-sidemenu-menuliullia-menu-link_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link|hover:background-color',
'id' => 'css_ul-sidemenu-menuliullia-menu-linkhover_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link|hover:border-color',
'id' => 'css_ul-sidemenu-liullia-menu-link_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li a.mfn-menu-link:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li.current-menu-item > a.mfn-menu-link:color',
'id' => 'css_ul-sidemenu-menuliullicurrent-menu-itema-menu-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li.current-menu-item > a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li.current-menu-item > a.mfn-menu-link:background-color',
'id' => 'css_ul-sidemenu-menuliullicurrent-menu-itema-menu-link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li.current-menu-item > a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li.current-menu-item > a.mfn-menu-link:border-color',
'id' => 'css_ul-sidemenu-menuliullicurrent-menu-itema-menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-sidemenu-menu li ul li.current-menu-item > a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Tabs', 'mfn-opts'),
),
array(
'class' => 'mfn-builder-subheader mfn-toggled',
'type' => 'subheader',
'title' => __('Nav', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:--mfn-sidemenu-menu-tabber-padding',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_mfn_sidemenu_menu_tabber_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => '--mfn-sidemenu-menu-tabber-padding',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Padding', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '5px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:margin-bottom',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_margin_bottom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => 'margin-bottom',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Margin bottom', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '5px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:--mfn-sidemenu-menu-tabber-bg',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_mfn_sidemenu_menu_tabber_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => '--mfn-sidemenu-menu-tabber-bg',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:border-style',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => 'border-style',
'attr_id' => 'border_sidemenu_tabs_ul',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:border-width',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sidemenu_tabs_ul', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:border-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ul', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav:border-radius',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-nav_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Nav items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li:--mfn-sidemenu-menu-tabber-tab-spacing',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navli_mfn_sidemenu_menu_tabber_tab_spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li',
'style' => '--mfn-sidemenu-menu-tabber-tab-spacing',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '5px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:padding',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:typography',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:border-style',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'border-style',
'attr_id' => 'border_sidemenu_tabs_ulli',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:border-width',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:border-radius',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:background-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:border-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a|hover:color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a|hover:background-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navliahover_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a|hover:border-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li.active a:color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li.active a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li.active a:background-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_background_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li.active a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li.active a:border-color',
'id' => 'css_menu-tabs-wrapperul-menu-tabs-navlia_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-tabs-wrapper ul.mfn-menu-tabs-nav li.active a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_sidemenu_tabs_ulli', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'condition' => array( 'id' => 'submenu_on', 'opt' => 'is', 'val' => 'replace' ),
'title' => __('Breadcrumbs', 'mfn-opts'),
),
array(
'class' => 'mfn-builder-subheader mfn-toggled',
'condition' => array( 'id' => 'submenu_on', 'opt' => 'is', 'val' => 'replace' ),
'type' => 'subheader',
'title' => __('Links', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs a:typography',
'id' => 'css_sidemenu-breadcrumbsa_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs a:color',
'id' => 'css_sidemenu-breadcrumbsa_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs a|hover:color',
'id' => 'css_sidemenu-breadcrumbsa_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'mfn-builder-subheader mfn-toggled',
'type' => 'subheader',
'title' => __('Separator', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs .mfn-sidemenu-breadcrumbs-separator:color',
'id' => 'css_sidemenu-breadcrumbs-sidemenu-breadcrumbs-separator_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-breadcrumbs .mfn-sidemenu-breadcrumbs-separator',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Popup Exit popup exit_popup exit-button ----------------------------------------------------
'popup_exit' => array(
'type' => 'popup_exit',
'title' => __('Exit link', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'popup',
'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'label',
'edit_tag' => '.exit-mfn-popup | span.button_label',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'std' => __('Close popup', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-cancel'
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Overrides icon', 'mfn-opts'),
'preview' => 'image',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:text-align',
'id' => 'css_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'center' => 'Center',
'right' => 'Right',
),
'std' => 'left',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:padding',
'id' => 'css_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:--mfn-exitbutton-item-size',
'id' => 'css_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => '--mfn-exitbutton-item-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-style',
'id' => 'css_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'border-style',
'attr_id' => 'border_exit_popup',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-width',
'id' => 'css_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'border-width',
'condition' => array( 'id' => 'border_exit_popup', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-radius',
'id' => 'css_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:color',
'id' => 'css_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:background-color',
'id' => 'css_bg_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-color',
'id' => 'css_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'style' => 'border-color',
'condition' => array( 'id' => 'border_exit_popup', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup|hover:color',
'id' => 'css_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup|hover:background-color',
'id' => 'css_bg_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup|hover:border-color',
'id' => 'css_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_exit_popup', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Footer Logo ----------------------------------------------------
'footer_logo' => array(
'type' => 'footer_logo',
'title' => __('Logo', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'footer',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Logo', 'mfn-opts'),
'desc' => __('Recommended svg', 'mfn-opts'),
'std' => mfn_opts_get('logo-img') ? mfn_opts_get('logo-img') : $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'std' => '/',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'id' => 'info',
'type' => 'info',
'class' => 'mfn-alert',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Footer Menu ----------------------------------------------------
'footer_menu' => array(
'type' => 'footer_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'footer',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
//'options' => mfna_menu(),
'js_options' => 'menus',
),
array(
'id' => 'menu_style',
'attr_id' => 'menu_style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-vertical:text-align',
'id' => 'css_mcb-column-innerul-footer-menu--vertical_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-vertical',
'style' => 'text-align',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'vertical' ),
'attr_id' => 'menu-items-alignment',
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => 'Left',
'center' => 'Center',
'right' => 'Right',
),
'std' => 'left',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-horizontal:justify-content',
'id' => 'css_mcb-column-innerul-footer-menu--horizontal_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-horizontal',
'style' => 'justify-content',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'attr_id' => 'menu-items-alignment',
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'flex-start' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly',
),
'std' => 'center',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a:typography',
'id' => 'css_ula_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a:padding',
'id' => 'css_ula_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a:color',
'id' => 'css_ula_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a|hover:color',
'id' => 'css_ula_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul .current-menu-item > a:color',
'id' => 'css_ulcurrent-menu-itema_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul .current-menu-item > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Mega menu Menu ----------------------------------------------------
'megamenu_menu' => array(
'type' => 'megamenu_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'megamenu',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
//'options' => mfna_menu(),
'js_options' => 'menus',
),
array(
'id' => 'menu_style',
'attr_id' => 'menu_style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal:justify-content',
'id' => 'css_megamenu-menu-mm-menu-horizontal_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal',
'style' => 'justify-content',
'attr_id' => 'menu-items-alignment',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'flex-start' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly',
),
'std' => 'flex-start',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal > li:flex-grow',
'id' => 'css_megamenu-menu-mm-menu-horizontalli_flex_grow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal > li',
'style' => 'flex-grow',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'type' => 'select',
'responsive' => true,
'title' => __('Fit container', 'mfn-opts'),
'options' => [
'unset' => __('Default', 'mfn-opts'),
'1' => __('Fit', 'mfn-opts'),
],
),
array(
'id' => 'submenu_on',
'attr_id' => 'submenu_on',
're_render' => true,
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'vertical' ),
'type' => 'switch',
'title' => __('Submenu visibility', 'mfn-opts'),
'options' => array(
'visible' => 'Visible',
'toggled' => 'Toggled',
),
'std' => 'visible',
),
array(
'id' => 'submenu_hori_on',
're_render' => true,
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'type' => 'switch',
'title' => __('Submenu visibility', 'mfn-opts'),
'options' => array(
'hover' => 'on Hover',
'click' => 'on Click',
),
'std' => 'hover',
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-icon:display',
'id' => 'css_megamenu-icon_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-icon',
'style' => 'display',
'attr_id' => 'icon_mm_visibility',
'type' => 'switch',
'title' => __('Icon visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'id' => 'icon_align',
//'condition' => array( 'id' => 'icon_mm_visibility', 'opt' => 'is', 'val' => 'block' ),
'type' => 'switch',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'right' => 'Right'
),
'std' => 'left'
),
array(
'id' => 'icon_animation',
//'condition' => array( 'id' => 'icon_mm_visibility', 'opt' => 'is', 'val' => 'block' ),
'type' => 'select',
'title' => __('Icon animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu',
'attr_id' => 'submenu',
're_render' => true,
'type' => 'switch',
'title' => __('Submenu', 'mfn-opts'),
'options' => array(
'on' => 'Show',
'off' => 'Hide',
),
'std' => 'on',
),
array(
'id' => 'submenu_animation',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'type' => 'select',
'title' => __('Submenu Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'fade-in' => 'Fade In',
'fade-up' => 'Fade In Up'
),
),
array(
'id' => 'submenu_icon',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'id' => 'submenu_icon_animation',
'type' => 'select',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-desc:display',
'id' => 'css_megamenu-desc_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-desc',
'style' => 'display',
'type' => 'switch',
'title' => __('Desc visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'type' => 'header',
'title' => __('Decoration icon', 'mfn-opts'),
),
array(
'id' => 'decoration_icon',
'type' => 'icon',
'title' => __('Decoration icon', 'mfn-opts'),
'preview' => 'icon',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a:typography',
'id' => 'css_megamenu-menua_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a:padding',
'id' => 'css_megamenu-menua_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:border-style',
'id' => 'css_megamenu-menulia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a',
'style' => 'border-style',
'attr_id' => 'border_style_header_mm_menu_link',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:border-width',
'id' => 'css_megamenu-menulia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_mm_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:border-radius',
'id' => 'css_megamenu-menulia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a:color',
'id' => 'css_megamenu-menua_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a:background-color',
'id' => 'css_megamenu-menua_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:border-color',
'id' => 'css_megamenu-menulia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_mm_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a|hover:color',
'id' => 'css_megamenu-menua_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.mfn-megamenu-menu li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a|hover:background-color',
'id' => 'css_megamenu-menua_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a|hover:border-color',
'id' => 'css_megamenu-menulia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_mm_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-item > a:color',
'id' => 'css_megamenu-menucurrent-menu-itema_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-item > a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-ancestor > a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-product_cat-ancestor > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-item > a:background-color',
'id' => 'css_megamenu-menucurrent-menu-itema_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-item > a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-ancestor > a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-product_cat-ancestor > a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-item > li > a:border-color',
'id' => 'css_megamenu-menucurrent-menu-itemlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-item > a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-menu-ancestor > a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .current-product_cat-ancestor > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_mm_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li:--mfn-megamenu-menu-icon-gap',
'id' => 'css_megamenu-menuli_menu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li',
'style' => '--mfn-megamenu-menu-icon-gap',
'type' => 'sliderbar',
//'condition' => array( 'id' => 'icon_visibility', 'opt' => 'is', 'val' => 'block' ),
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li:--mfn-megamenu-menu-icon-size',
'id' => 'css_megamenu-menuli_menu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li',
'style' => '--mfn-megamenu-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .menu-icon > i:color',
'id' => 'css_megamenu-menumenu-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu .menu-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a|hover > .menu-icon > i:color',
'id' => 'css_megamenu-menuamenu-iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a:hover > .menu-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li.current-menu-item > a > .menu-icon i:color',
'id' => 'css_megamenu-menulicurrent-menu-itemamenu-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li.current-menu-item > a > .menu-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li:--mfn-megamenu-menu-submenu-icon-gap',
'id' => 'css_megamenu-menuli_menu_submenu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li',
'style' => '--mfn-megamenu-menu-submenu-icon-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li .menu-sub i:--mfn-megamenu-submenu-icon-size',
'id' => 'css_megamenu-menulimenu-subi_megamenu_submenu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li .menu-sub i',
'style' => '--mfn-megamenu-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a .menu-sub i:color',
'id' => 'css_megamenu-menuliamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a|hover .menu-sub i:color',
'id' => 'css_megamenu-menuliamenu-subi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:hover .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li.current-menu-item > a .menu-sub i:color',
'id' => 'css_megamenu-menulicurrent-menu-itemamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li.current-menu-item > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li > ul:background-color',
'id' => 'css_megamenu-menuliul_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li > ul',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li > ul:border-style',
'id' => 'css_megamenu-menuliul_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li > ul',
'style' => 'border-style',
'attr_id' => 'border_style_header_submenu',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul:border-width',
'id' => 'css_megamenu-menuliul_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul:border-color',
'id' => 'css_megamenu-menuliul_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul:box-shadow',
'id' => 'css_megamenu-menuliul_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul:--mfn-megamenu-submenu-border-radius',
'id' => 'css_megamenu-menuliul_megamenu_submenu_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul',
'style' => '--mfn-megamenu-submenu-border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'version' => 'separated-fields',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul a:typography',
'id' => 'css_megamenu-menuliula_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li a:padding',
'id' => 'css_megamenu-menuliullia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul a:color',
'id' => 'css_megamenu-menuliula_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li a:background-color',
'id' => 'css_megamenu-menuliullia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul a|hover:color',
'id' => 'css_megamenu-menuliula_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul .current-menu-item > a:color',
'id' => 'css_megamenu-menuliulcurrent-menu-itema_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul .current-menu-item > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li:--mfn-megamenu-submenu-subicon-gap',
'id' => 'css_megamenu-menuli_submenu_subicon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li',
'style' => '--mfn-megamenu-submenu-subicon-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li .menu-icon i:--mfn-megamenu-submenu-subicon-size',
'id' => 'css_megamenu-menuliullimenu-iconi_megamenu_submenu_subicon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li .menu-icon i',
'style' => '--mfn-megamenu-submenu-subicon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a .menu-sub i:color',
'id' => 'css_megamenu-menuliamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a|hover .menu-sub i:color',
'id' => 'css_megamenu-menuliamenu-subi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li > a:hover .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li.current-menu-item > a .menu-sub i:color',
'id' => 'css_megamenu-menulicurrent-menu-itemamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu > li.current-menu-item > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li .menu-sub i:--mfn-megamenu-submenu-submenu-icon-size',
'id' => 'css_megamenu-menuliullimenu-subi_megamenu_submenu_submenu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul li .menu-sub i',
'style' => '--mfn-megamenu-submenu-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul > li > a .menu-sub i:color',
'id' => 'css_megamenu-menuliulliamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul > li > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul > li > a|hover .menu-sub i:color',
'id' => 'css_megamenu-menuliulliamenu-subi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul > li > a:hover .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul > li.current-menu-item > a .menu-sub i:color',
'id' => 'css_megamenu-menuliullicurrent-menu-itemamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li ul > li.current-menu-item > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Decoration icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li a .decoration-icon i:color',
'id' => 'css_megamenu-menuliadecoration-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li a .decoration-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li|hover > a > .decoration-icon i:color',
'id' => 'css_megamenu-menuliadecoration-iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li:hover > a > .decoration-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li.current-menu-item > a .decoration-icon i:color',
'id' => 'css_megamenu-menulicurrent-menu-itemadecoration-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li.current-menu-item > a .decoration-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li a .decoration-icon i:font-size',
'id' => 'css_megamenu-menuliadecoration-iconi_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu li a .decoration-icon i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Logo ----------------------------------------------------
'header_logo' => array(
'type' => 'header_logo',
'title' => __('Logo', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Logo', 'mfn-opts'),
'desc' => __('Recommended svg', 'mfn-opts'),
'std' => mfn_opts_get('logo-img') ? mfn_opts_get('logo-img') : $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .logo-wrapper:align-items',
'id' => 'css_logo_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .logo-wrapper',
'style' => 'align-items',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Vertical align', 'mfn-opts'),
'options' => array(
'flex-start' => 'Top',
'center' => 'Center',
'flex-end' => 'Bottom',
),
'std' => 'center',
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Menu ----------------------------------------------------
'header_menu' => array(
'type' => 'header_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
//'options' => mfna_menu(),
'js_options' => 'menus',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu:justify-content',
'id' => 'css_header_menu_justify',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu',
'style' => 'justify-content',
'attr_id' => 'menu-items-alignment',
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'flex-start' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly',
),
'std' => 'flex-end',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:flex-grow',
'id' => 'css_menu-li_flex_grow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => 'flex-grow',
'condition' => array( 'id' => 'menu-items-alignment', 'opt' => 'is', 'val' => array('space-between', 'space-around', 'space-evenly') ),
'type' => 'select',
'responsive' => true,
'title' => __('Fit container', 'mfn-opts'),
'options' => [
'unset' => __('Default', 'mfn-opts'),
'1' => __('Fit', 'mfn-opts'),
],
),
array(
'id' => 'animation',
'attr_id' => 'header_menu_animation',
'type' => 'select',
'title' => __('Item Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'text-line-bottom' => __('Text line bottom', 'mfn-opts'),
'text-toggle-line-bottom' => __('Text toggle line bottom', 'mfn-opts'),
'toggle-line-bottom' => __('Toggle line bottom', 'mfn-opts'),
'toggle-line-top' => __('Toggle line top', 'mfn-opts'),
'text-bg-line' => __('Text bg line', 'mfn-opts'),
'bg-left' => __('Bg left', 'mfn-opts'),
),
),
array(
'id' => 'separator',
'attr_id' => 'menu_separator',
'type' => 'switch',
'title' => __('Separator', 'mfn-opts'),
'options' => array(
'off' => 'Off',
'on' => 'On'
),
'std' => 'off'
),
array(
'id' => 'submenu_display',
'type' => 'switch',
'title' => __('Display submenu on', 'mfn-opts'),
'options' => array(
'hover' => 'Hover',
'click' => 'Click'
),
'std' => 'hover'
),
array(
'id' => 'submenu_icon_display',
'attr_id' => 'submenu_icon_display',
'type' => 'switch',
'title' => __('Submenu Icon', 'mfn-opts'),
'options' => array(
'off' => 'Off',
'on' => 'On'
),
'std' => 'on'
),
array(
'id' => 'submenu_icon',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_align',
'type' => 'switch',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'right' => 'Right'
),
'std' => 'left'
),
array(
'id' => 'icon_animation',
'type' => 'select',
'title' => __('Icon animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu_subicon',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-right'
),
array(
'id' => 'submenu_icon_animation',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'select',
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'id' => 'submenu_animation',
'type' => 'select',
'title' => __('Submenu Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'fade-in' => 'Fade In',
'fade-up' => 'Fade In Up'
),
),
array(
'id' => 'submenu_fold_to_right',
'type' => 'switch',
'title' => __('Submenu fold last two items to left', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-gap',
'id' => 'css_menu-li_header_menu_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:padding',
'id' => 'css_menu-link_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:typography',
'id' => 'css_menu-link_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:border-style',
'id' => 'css_menu-link_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'border-style',
'attr_id' => 'border_style_header_menu_link',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:border-width',
'id' => 'css_menu-link_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:border-radius',
'id' => 'css_menu-link_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:color',
'id' => 'css_menu-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:background-color',
'id' => 'css_menu-link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:border-color',
'id' => 'css_menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:box-shadow',
'id' => 'css_menu-link_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li|hover > a.mfn-menu-link:color',
'id' => 'css_menu-link_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:hover > a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li|hover > a.mfn-menu-link:background-color',
'id' => 'css_menu-lihovera-menu-link_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:hover > a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li|hover > a.mfn-menu-link:border-color',
'id' => 'css_menu-lihovera-menu-link_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:hover > a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li|hover > a.mfn-menu-link:box-shadow',
'id' => 'css_menu-lihovera-menu-link_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:hover > a.mfn-menu-link',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link:color',
'old_id2' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link:color',
'id' => 'css_menulicurrent-menu-itema-menu-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-ancestor > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-product_cat-ancestor > a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link:background-color',
'old_id2' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link:background-color',
'id' => 'css_menulicurrent-menu-itema-menu-link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-ancestor > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-product_cat-ancestor > a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link:border-color',
'id' => 'css_menulicurrent-menu-itema-menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-ancestor > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-product_cat-ancestor > a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link:box-shadow',
'id' => 'css_menulicurrent-menu-itema-menu-link_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-ancestor > a.mfn-menu-link, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-product_cat-ancestor > a.mfn-menu-link',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-icon-gap',
'id' => 'css_menu-li_header_menu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-icon-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-icon-size',
'id' => 'css_menu-li_header_menu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu .mfn-menu-item-icon > i:color',
'id' => 'css_menu-menu-item-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu .mfn-menu-item-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu a.mfn-menu-link|hover > .mfn-menu-item-icon > i:color',
'id' => 'css_menua-menu-linkhover-menu-item-iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu a.mfn-menu-link:hover > .mfn-menu-item-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link > .mfn-menu-item-icon i:color',
'id' => 'css_menulicurrent-menu-link-menu-item-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link > .mfn-menu-item-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-submenu-icon-gap',
'id' => 'css_menu-li_header_menu_submenu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-submenu-icon-gap',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li .mfn-menu-subicon i:--mfn-header-submenu-icon-size',
'id' => 'css_menu-li-menu-subiconi_header_submenu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li .mfn-menu-subicon i',
'style' => '--mfn-header-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link .mfn-menu-subicon i:color',
'id' => 'css_menu-link-menu-subiconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link .mfn-menu-subicon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link|hover .mfn-menu-subicon i:color',
'id' => 'css_menu-linkhover-menu-subiconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link:hover .mfn-menu-subicon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link .mfn-menu-subicon i:color',
'id' => 'css_menulicurrent-menu-link-menu-subiconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link .mfn-menu-subicon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li > ul.mfn-submenu:width',
'id' => 'css_menu-liul-submenu_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li > ul.mfn-submenu',
'style' => 'width',
'type' => 'text',
'class' => 'mfn-toggled',
'responsive' => true,
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li > ul.mfn-submenu:background-color',
'id' => 'css_menu-liul-submenu_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li > ul.mfn-submenu',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li > ul.mfn-submenu:border-style',
'id' => 'css_menu-liul-submenu_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li > ul.mfn-submenu',
'style' => 'border-style',
'attr_id' => 'border_style_header_submenu',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu:border-width',
'id' => 'css_menu-liul-submenu_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu:border-color',
'id' => 'css_menu-liul-submenu_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu:box-shadow',
'id' => 'css_menu-liul-submenu_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu:--mfn-header-submenu-border-radius',
'id' => 'css_menu-liul-submenu_header_submenu_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu',
'style' => '--mfn-header-submenu-border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'version' => 'separated-fields',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:padding',
'id' => 'css_menu-liul-submenu_menu-link_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:border-style',
'id' => 'css_menu-liul-submenu_menu-link_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'border-style',
'attr_id' => 'border_style_header_submenu_links',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:border-width',
'id' => 'css_menu-liul-submenu_menu-link_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_submenu_links', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:border-color',
'id' => 'css_menu-liul-submenu_menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_submenu_links', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:typography',
'id' => 'css_menu-liul-submenu_menu-link_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:color',
'id' => 'css_submenu_item_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:background-color',
'id' => 'css_submenu_item_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link|hover:color',
'id' => 'css_submenu_item_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:hover:background-color',
'id' => 'css_submenu_item_bg_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.current-menu-item.mfn-menu-li > a.mfn-menu-link:color',
'id' => 'css_submenu_item_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.current-menu-item.mfn-menu-li > a.mfn-menu-link',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.current-menu-item.mfn-menu-li > a.mfn-menu-link:background-color',
'id' => 'css_submenu_item_bg_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.current-menu-item.mfn-menu-li > a.mfn-menu-link',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li:--mfn-header-submenu-subicon-gap',
'id' => 'css_menu-liul-submenu_menu-li_header_submenu_subicon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li',
'style' => '--mfn-header-submenu-subicon-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li:--mfn-header-submenu-subicon-size',
'id' => 'css_menu-liul-submenu_menu-li_header_submenu_subicon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li',
'style' => '--mfn-header-submenu-subicon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li .mfn-menu-item-icon > i:color',
'id' => 'css_menu-liul-submenu_menu-li-menu-item-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li .mfn-menu-item-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link:border-color',
'id' => 'css_menu-liul-submenu_menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li a.mfn-menu-link',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li|hover > a.mfn-menu-link > .mfn-menu-item-icon > i:color',
'id' => 'css_menu-liul-submenu_menu-lihovera-menu-link-menu-item-iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li:hover > a.mfn-menu-link > .mfn-menu-item-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li|hover > a.mfn-menu-link:border-color',
'id' => 'css_menu-liul-submenu_menu-lihovera-menu-link_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li:hover > a.mfn-menu-link',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link > .mfn-menu-item-icon i:color',
'id' => 'css_menu-liul-submenulicurrent-menu-link-menu-item-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link > .mfn-menu-item-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link:border-color',
'id' => 'css_menu-liul-submenulicurrent-menu-link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li .mfn-menu-sub-subicon i:--mfn-header-submenu-submenu-icon-size',
'id' => 'css_menu-liul-submenu_menu-li-menu-sub-subiconi_header_submenu_submenu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu li.mfn-menu-li .mfn-menu-sub-subicon i',
'style' => '--mfn-header-submenu-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.mfn-menu-li > a.mfn-menu-link .mfn-menu-sub-subicon i:color',
'id' => 'css_menu-liul-submenu_menu-link-menu-sub-subiconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.mfn-menu-li > a.mfn-menu-link .mfn-menu-sub-subicon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.mfn-menu-li > a.mfn-menu-link|hover .mfn-menu-sub-subicon i:color',
'id' => 'css_menu-liul-submenu_menu-linkhover-menu-sub-subiconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.mfn-menu-li > a.mfn-menu-link:hover .mfn-menu-sub-subicon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link .mfn-menu-sub-subicon i:color',
'id' => 'css_menu-liul-submenulicurrent-menu-link-menu-sub-subiconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu li.mfn-menu-li ul.mfn-submenu > li.current-menu-item.mfn-menu-li > a.mfn-menu-link .mfn-menu-sub-subicon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'menu_separator', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Separator', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-sep',
'id' => 'css_menu-li_header_menu_sep',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-sep',
'condition' => array( 'id' => 'menu_separator', 'opt' => 'is', 'val' => 'on' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Animation', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-animation-color',
'id' => 'css_menu-li_header_menu_animation_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-animation-color',
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'isnt', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-menu-animation-height',
'id' => 'css_menu-li_header_menu_animation_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-menu-animation-height',
'type' => 'sliderbar',
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'is', 'val' => array('text-line-bottom', 'text-toggle-line-bottom', 'toggle-line-bottom', 'toggle-line-top') ),
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '1',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dropdown pointer', 'mfn-opts'),
),
array(
'id' => 'dropdown_pointer',
'attr_id' => 'dropdown_pointer',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => array(
'' => 'Hide',
'1' => 'Show',
),
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-submenu-dropdown-size',
'id' => 'css_menu-li_header_submenu_dropdown_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-submenu-dropdown-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'dropdown_pointer', 'opt' => 'is', 'val' => '1' ),
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '1',
'max' => '40',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'dropdown_alignment',
'condition' => array( 'id' => 'dropdown_pointer', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'center' => 'Center',
'right' => 'Right',
),
'std' => 'left'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-submenu-dropdown-offset',
'id' => 'css_menu-li_header_submenu_dropdown_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-submenu-dropdown-offset',
'type' => 'sliderbar',
'condition' => array( 'id' => 'dropdown_pointer', 'opt' => 'is', 'val' => '1' ),
'title' => __('Offset', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '1',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:--mfn-header-submenu-dropdown-color',
'id' => 'css_menu-li_header_submenu_dropdown_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'style' => '--mfn-header-submenu-dropdown-color',
'condition' => array( 'id' => 'dropdown_pointer', 'opt' => 'is', 'val' => '1' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Header menu burger ----------------------------------------------------
'header_burger' => array(
'type' => 'header_burger',
'title' => __('Menu burger', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'attr_id' => 'header_icon_font',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image instead of an icon', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'desc',
'type' => 'text',
'edit_tag' => '.mfn-header-menu-burger | div.desc-wrapper',
'edit_position' => 'append',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// sidebar
array(
'type' => 'header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'id' => 'sidebar_type',
'attr_id' => 'sidebar_type',
'type' => 'select',
're_render' => true,
'title' => __('Nav type', 'mfn-opts'),
'js_options' => 'sidemenus',
'opt_append' => array(
'classic' => __('Classic menu', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'class' => 'mfn-builder-subheader',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
'js_options' => 'menus',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper:align-items',
'id' => 'css_menu-sidebar-wrapper_align_items',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper',
'style' => 'align-items',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'title' => __('Vertical align', 'mfn-opts'),
'options' => array(
'flex-start' => 'Top',
'center' => 'Center',
'flex-end' => 'Bottom',
),
'std' => 'center'
),
array(
'id' => 'menu_pos',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
're_render' => true,
'title' => __('Sidebar position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'right'
),
array(
'id' => 'animation',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'attr_id' => 'header_menu_animation',
'type' => 'select',
'title' => __('Item Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'text-line-bottom' => __('Text line bottom', 'mfn-opts'),
'text-toggle-line-bottom' => __('Text toggle line bottom', 'mfn-opts'),
'toggle-line-bottom' => __('Toggle line bottom', 'mfn-opts'),
'toggle-line-top' => __('Toggle line top', 'mfn-opts'),
'text-bg-line' => __('Text bg line', 'mfn-opts'),
'bg-left' => __('Bg left', 'mfn-opts'),
),
),
array(
'id' => 'submenu_icon_display',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'attr_id' => 'submenu_icon_display',
'type' => 'switch',
'title' => __('Submenu Icon', 'mfn-opts'),
'options' => array(
'off' => 'Off',
'on' => 'On'
),
'std' => 'on'
),
array(
'id' => 'submenu_animation',
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'type' => 'select',
'title' => __('Submenu Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'fade-in' => 'Fade In',
'fade-up' => 'Fade In Up'
),
),
array(
'id' => 'submenu_icon',
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'id' => 'menu_icon_align',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'attr_id' => 'menu_icon_align',
'type' => 'switch',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'right' => 'Right'
),
'std' => 'left'
),
array(
'id' => 'icon_animation',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'title' => __('Icon animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'subheader',
'class' => 'mfn-builder-subheader',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu_subicon',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-right'
),
array(
'id' => 'submenu_icon_animation',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'select',
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Burger wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:padding',
'id' => 'css_menu-burger_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-style',
'id' => 'css_menu-burger_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'style' => 'border-style',
'attr_id' => 'border_header_burger_wrapper',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-width',
'id' => 'css_menu-burger_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'style' => 'border-width',
'condition' => array( 'id' => 'border_header_burger_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-radius',
'id' => 'css_menu-burger_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:background-color',
'id' => 'css_menu-burger_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-color',
'id' => 'css_menu-burger_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'style' => 'border-color',
'condition' => array( 'id' => 'border_header_burger_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_menu-burger_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_menu-burger_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_header_burger_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'options' => array(
'top' => __('Top', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'icon_align',
'type' => 'switch',
'condition' => array( 'id' => 'header-icon-desc', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Icon alignment', 'mfn-opts'),
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:--mfn-header-menu-icon-size',
'id' => 'css_icon-boxicon_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:width',
'id' => 'css_icon-boxicon-wrapper_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:height',
'id' => 'css_icon-boxicon-wrapper_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:margin',
'id' => 'css_icon-boxicon-wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:padding',
'id' => 'css_icon-boxicon-wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:background-color',
'id' => 'css_icon-wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-style',
'id' => 'css_icon-wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_header_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-color',
'id' => 'css_icon-wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-width',
'id' => 'css_icon-wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:border-radius',
'id' => 'css_icon-boxicon-wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i:color',
'id' => 'css_icon-wrapperi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:background-color',
'id' => 'css_icon-boxicon-wrapper_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:border-color',
'id' => 'css_icon-boxicon-wrapper_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper i:color',
'id' => 'css_icon-boxicon-wrapperi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'header_icon_desc_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'),
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'),
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:typography',
'id' => 'css_desc-wrapper_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper:color',
'id' => 'css_icon-boxdesc-wrapper_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .desc-wrapper:color',
'id' => 'css_icon-boxdesc-wrapper_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .desc-wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0,classic' ),
'class' => 'toggled_header',
'title' => __('Menu wrapper', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:--mfn-header-menu-sidebar-width',
'id' => 'css_menu-sidebar_header_menu_sidebar_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => '--mfn-header-menu-sidebar-width',
'type' => 'sliderbar',
'responsive' => true,
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '100',
'max' => '1920',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper:padding',
'id' => 'css_menu-sidebar-wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'background_switcher',
'attr_id' => 'bg_menu-tmpl-sidebar',
'type' => 'switch',
'class' => 'mfn-toggled mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-color',
'id' => 'css_menu-sidebar_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'background-color',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:gradient',
'id' => 'css_menu-sidebar_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'gradient',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-image',
'id' => 'css_menu-sidebar_background_image',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'background-image',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-repeat',
'id' => 'css_menu-sidebar_background_repeat',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'background-repeat',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-position',
'id' => 'css_menu-sidebar_background_position',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'background-position',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-attachment',
'id' => 'css_menu-sidebar_background_attachment',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'background-attachment',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-size',
'id' => 'css_menu-sidebar_background_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'style' => 'background-size',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Close', 'mfn-opts'),
),
array(
'id' => 'sidebar-menu-close-icon-position',
'type' => 'switch',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-close-icon:font-size',
'id' => 'css_menu-sidebar-close-icon_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-close-icon',
'style' => 'font-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '40',
'step' => '1',
'unit' => 'px',
),
'std' => '20px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu-toggle .icon:color',
'id' => 'css_menu_-toggleicon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu-toggle .icon',
'style' => 'color',
'type' => 'color',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Content overlay', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active|before:display',
'id' => 'css_menu-activebefore_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active:before',
'style' => 'display',
'type' => 'switch',
'title' => __('Visibility', 'mfn-opts'),
'class' => 'mfn-toggled',
'options' => [
'' => __('Hidden', 'mfn-opts'),
'block' => __('Visible', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active|before:background-color',
'id' => 'css_menu-activebefore_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active:before',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'class' => 'toggled_header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'id' => 'items_align',
'condition' => array( 'id' => 'menu_icon_align', 'opt' => 'isnt', 'val' => 'top' ),
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-gap',
'id' => 'css_menu_li_header_menu_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'style' => '--mfn-header-menu-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:padding',
'id' => 'css_menu_lia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:typography',
'id' => 'css_menu_lia_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-style',
'id' => 'css_menu_lia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'border-style',
'attr_id' => 'border_style_header_menu_link',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-width',
'id' => 'css_menu_lia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-radius',
'id' => 'css_menu_lia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:color',
'id' => 'css_menu_lia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:background-color',
'id' => 'css_menu_lia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-color',
'id' => 'css_menu_lia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:box-shadow',
'id' => 'css_menu_lia_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li|hover > a:color',
'id' => 'css_menu_lia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:hover > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li|hover > a:background-color',
'id' => 'css_menu_lihovera_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:hover > a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li|hover > a:border-color',
'id' => 'css_menu_lihovera_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:hover > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li|hover > a:box-shadow',
'id' => 'css_menu_lihovera_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:hover > a',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a:color',
'id' => 'css_menu_licurrent-menu-itema_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a:background-color',
'id' => 'css_menu_licurrent-menu-itema_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a:border-color',
'id' => 'css_menu_licurrent-menu-itema_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a:box-shadow',
'id' => 'css_menu_licurrent-menu-itema_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Animation', 'mfn-opts'),
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'isnt', 'val' => '' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-li > .mfn-menu-link:--mfn-header-menu-animation-color',
'id' => 'css_menu-li-menu-link_header_menu_animation_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-li > .mfn-menu-link',
'style' => '--mfn-header-menu-animation-color',
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'isnt', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-icon-gap',
'id' => 'css_menu_li_header_menu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'style' => '--mfn-header-menu-icon-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-icon-size',
'id' => 'css_menu_li_header_menu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu .menu-icon > i:color',
'id' => 'css_menu-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu .menu-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu a|hover > .menu-icon > i:color',
'id' => 'css_menu_ahovermenu-iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu a:hover > .menu-icon > i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a > .menu-icon i:color',
'id' => 'css_menu_licurrent-menu-itemamenu-iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a > .menu-icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-submenu-icon-gap',
'id' => 'css_menu_li_header_menu_submenu_icon_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'style' => '--mfn-header-menu-submenu-icon-gap',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .menu-sub i:--mfn-header-submenu-icon-size',
'id' => 'css_menu_limenu-subi_header_submenu_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .menu-sub i',
'style' => '--mfn-header-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a .menu-sub i:color',
'id' => 'css_menu_liamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a|hover .menu-sub i:color',
'id' => 'css_menu_liahovermenu-subi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:hover .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a .menu-sub i:color',
'id' => 'css_menu_licurrent-menu-itemamenu-subi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.current-menu-item > a .menu-sub i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0,classic' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a:justify-content',
'id' => 'css_menu_li-submenulia_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a',
'style' => 'justify-content',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Alignment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:background-color',
'id' => 'css_menu_li-submenu_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:padding',
'id' => 'css_menu_li-submenu_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:margin',
'id' => 'css_menu_li-submenu_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:typography',
'id' => 'css_menu_li-submenu_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-style',
'id' => 'css_menu_li-submenu_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'border-style',
'attr_id' => 'border_style_header_submenu_link',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-width',
'id' => 'css_menu_li-submenu_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_submenu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-color',
'id' => 'css_menu_li-submenu_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_submenu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-radius',
'id' => 'css_menu_li-submenu_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a:color',
'id' => 'css_menu_li-submenulia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a:background-color',
'id' => 'css_menu_li-submenulia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li|hover > a:color',
'id' => 'css_menu_li-submenulihovera_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li:hover > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li|hover > a:background-color',
'id' => 'css_menu_li-submenulihovera_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li:hover > a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li.current-menu-item > a:color',
'id' => 'css_menu_li-submenulicurrent-menu-itema_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li.current-menu-item > a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li.current-menu-item > a:background-color',
'id' => 'css_menu_li-submenulicurrent-menu-itema_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li.current-menu-item > a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// advanced here
),
),
// Header icon ----------------------------------------------------
'header_icon' => array(
'type' => 'header_icon',
'title' => __('Icon', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'header_icon_type',
're_render' => true,
'type' => 'select',
'title' => __('Icon type', 'mfn-opts'),
'options' => array(
'tel' => 'Phone',
'mail' => 'E-mail',
'search' => 'Search',
'default' => 'Custom',
'cart' => 'Shop cart',
'account' => 'My account',
'wishlist' => 'Wishlist',
),
'desc' => __('For icons: Shop cart, My account and Wishlist, woocommerce plugin is required', 'mfn-opts'),
'std' => 'tel',
),
array(
'id' => 'icon',
'attr_id' => 'header_icon_font',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image instead of an icon', 'mfn-opts'),
'preview' => 'image',
),
// link
array(
'type' => 'header',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'tel,mail,default,cart,wishlist,search' ),
'title' => __('Additional', 'mfn-opts'),
),
array(
'id' => 'desc',
'attr_id' => 'header-icon-desc',
'type' => 'text',
'edit_tag' => '.mfn-header-icon-box | div.desc-wrapper',
'edit_position' => 'append',
'dynamic_data' => 'title',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'cart_total',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'cart' ),
'type' => 'switch',
're_render' => true,
'title' => __('Cart total ', 'mfn-opts'),
'options' => array(
'0' => 'Hide',
'1' => 'Show',
),
'std' => '1',
),
array(
'id' => 'count',
'attr_id' => 'header_icon_count',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => array('wishlist', 'cart') ),
'type' => 'switch',
're_render' => true,
'title' => __('Icon count', 'mfn-opts'),
'options' => array(
'0' => 'Hide',
'1' => 'Show',
),
'std' => '1',
),
array(
'id' => 'count_if_zero',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => array('wishlist', 'cart') ),
'type' => 'switch',
're_render' => true,
'title' => __('Icon count if 0', 'mfn-opts'),
'options' => array(
'1' => 'Hide',
'' => 'Show',
),
'std' => '',
),
array(
'id' => 'link',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'tel,mail,default' ),
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'tel,mail,default' ),
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_position',
//'condition' => array( 'id' => 'header-icon-desc', 'opt' => 'isnt', 'val' => '' ),
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'desc' => __('Work with desc only', 'mfn-opts'),
'options' => array(
'top' => __('Top', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'icon_align',
'type' => 'switch',
'condition' => array( 'id' => 'header-icon-desc', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Icon alignment', 'mfn-opts'),
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:--mfn-header-menu-icon-size',
'id' => 'css_icon-boxicon_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:width',
'id' => 'css_icon-boxicon-wrapper_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:height',
'id' => 'css_icon-boxicon-wrapper_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:margin',
'id' => 'css_icon-boxicon-wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:padding',
'id' => 'css_icon-boxicon-wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:background-color',
'id' => 'css_icon-wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-style',
'id' => 'css_icon-wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_header_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-color',
'id' => 'css_icon-wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-width',
'id' => 'css_icon-wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:border-radius',
'id' => 'css_icon-boxicon-wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:--mfn-header-icon-color',
'id' => 'css_icon-wrapper_header_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => '--mfn-header-icon-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:background-color',
'id' => 'css_icon-boxicon-wrapper_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:border-color',
'id' => 'css_icon-boxicon-wrapper_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:--mfn-header-icon-color',
'id' => 'css_icon-boxicon-wrapper_header_icon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => '--mfn-header-icon-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'title' => __('Icon count', 'mfn-opts'),
),
array(
'id' => 'icon_count_posv',
'attr_id' => 'icon_count_posv',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Vertical offset', 'mfn-opts'),
'options' => array(
'0' => __('Top', 'mfn-opts'),
'1' => __('Bottom', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:top',
'id' => 'css_icon_count_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'top',
'condition' => array( 'id' => 'icon_count_posv', 'opt' => 'is', 'val' => '0' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Top', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-vert-count',
'param' => array(
'min' => '-50',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '-9px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:bottom',
'id' => 'css_icon_count_bottom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'bottom',
'condition' => array( 'id' => 'icon_count_posv', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Bottom', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-vert-count',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'icon_count_posh',
'attr_id' => 'icon_count_posh',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Horizontal offset', 'mfn-opts'),
'options' => array(
'0' => __('Left', 'mfn-opts'),
'1' => __('Right', 'mfn-opts'),
),
'std' => '1'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:right',
'id' => 'css_icon_count_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'right',
'condition' => array( 'id' => 'icon_count_posh', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Right', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-hori-count',
'param' => array(
'min' => '-50',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '-11px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:left',
'id' => 'css_icon_count_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'left',
'condition' => array( 'id' => 'icon_count_posh', 'opt' => 'is', 'val' => '0' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Left', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-hori-count',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:color',
'id' => 'css_icon_count_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'color',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:background-color',
'id' => 'css_icon_count_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'background-color',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:typography',
'id' => 'css_icon_count_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'header_icon_desc_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'),
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'),
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:typography',
'id' => 'css_desc-wrapper_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper:color',
'id' => 'css_icon-boxdesc-wrapper_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .desc-wrapper:color',
'id' => 'css_icon-boxdesc-wrapper_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .desc-wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'search' ),
'class' => 'toggled_header',
'title' => __('Search results', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:background-color',
'id' => 'css_live-search-box_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:border-style',
'id' => 'css_live-search-box_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'style' => 'border-style',
'attr_id' => 'border_live-search_results',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:border-width',
'id' => 'css_live-search-box_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'style' => 'border-width',
'condition' => array( 'id' => 'border_live-search_results', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:border-color',
'id' => 'css_live-search-box_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_live-search_results', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading:color',
'id' => 'css_live-search-box-live-search-heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading:typography',
'id' => 'css_live-search-box-live-search-heading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading:opacity',
'id' => 'css_live-search-box-live-search-heading_opacity',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading',
'style' => 'opacity',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '0.6'
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts:color',
'id' => 'css_live-search-box-live-search-texts_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box li a:color',
'id' => 'css_live-search-boxlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price:color',
'id' => 'css_live-search-box-live-search-textsspan-ls-price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Price color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts:typography',
'id' => 'css_live-search-box-live-search-texts_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts p:typography',
'id' => 'css_live-search-box-live-search-textsp_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts p',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Desc typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price:typography',
'id' => 'css_live-search-box-live-search-textsspan-ls-price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Price typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Header search ----------------------------------------------------
'header_search' => array(
'type' => 'header_search',
'title' => __('Search field', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Input', 'mfn-opts'),
),
array(
'id' => 'placeholder',
'type' => 'text',
'title' => __('Placeholder', 'mfn-opts'),
'std' => __('Enter your search', 'betheme'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Input', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:typography',
'id' => 'css_forminputfield_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:border-style',
'id' => 'css_forminput_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input',
'style' => 'border-style',
'attr_id' => 'border_style_header_search',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:border-width',
'id' => 'css_forminputfield_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_search', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:border-radius',
'id' => 'css_forminputfield_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:box-shadow',
'id' => 'css_forminputfield_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:height',
'id' => 'css_forminputfield_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '15',
'max' => '80',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:font-size',
'id' => 'css_forminputfield_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Font size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '70',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:padding',
'id' => 'css_forminputfield_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:--mfn-header-search-color',
'id' => 'css_forminputfield_header_search_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => '--mfn-header-search-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:background-color',
'id' => 'css_forminputfield_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:border-color',
'id' => 'css_forminputfield_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_search', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field|focus:--mfn-header-search-color',
'id' => 'css_forminputfield_header_search_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:focus',
'style' => '--mfn-header-search-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field|focus:background-color',
'id' => 'css_forminputfield_background_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:focus',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field|focus:border-color',
'id' => 'css_forminputfield_border_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:focus',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_search', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper:--mfn-header-search-icon-color',
'id' => 'css_search_wrapper_header_search_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper',
'style' => '--mfn-header-search-icon-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper:--mfn-header-search-icon-size',
'id' => 'css_search_wrapper_header_search_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper',
'style' => '--mfn-header-search-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper .icon_search:left',
'id' => 'css_search_wrappericon_search_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper .icon_search',
'style' => 'left',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Left offset', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Header Promo Bar ----------------------------------------------------
'header_promo_bar' => array(
'type' => 'header_promo_bar',
'title' => __('Promo bar', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Slides', 'mfn-opts'),
'options' => [
'title' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'preview' => 'tabs',
'primary' => 'title', // default
),
array(
'id' => 'slider_speed',
're_render' => true,
'type' => 'text',
'title' => __('Autoplay speed', 'mfn-opts'),
'std' => '3',
'after' => 's',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:typography',
'id' => 'css_mcb-column-inner_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:text-align',
'id' => 'css_mcb-column-inner_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:color',
'id' => 'css_mcb-column-inner_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled main-color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a:color',
'id' => 'css_mcb-column-innera_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled main-color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a|hover:color',
'id' => 'css_mcb-column-innera_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled main-color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Shop Products ----------------------------------------------------
'shop_products' => array(
'type' => 'shop_products',
'title' => __('Shop products', 'mfn-opts'),
'desc' => __('List of products from woocommerce', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'shop-archive',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'products',
'type' => 'text',
're_render' => true,
'title' => __('Products per page', 'mfn-opts'),
'std' => '12',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'layout',
'type' => 'select',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'options' => array(
'grid col-2' => __('Grid, 2 columns', 'mfn-opts'),
'grid' => __('Grid, 3 columns', 'mfn-opts'),
'grid col-4' => __('Grid, 4 columns', 'mfn-opts'),
'masonry' => __('Masonry, 3 columns', 'mfn-opts'),
'list' => __('List', 'mfn-opts'),
),
'std' => 'grid',
),
array(
'id' => 'ordering',
'type' => 'select',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'popularity' => __('Sales', 'mfn-opts'),
'rating' => __('Average rating', 'mfn-opts'),
'date' => __('Most recent', 'mfn-opts'),
'price' => __('Lowest price', 'mfn-opts'),
'price-desc' => __('Highest price', 'mfn-opts'),
),
'std' => '',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'description',
're_render' => true,
'type' => 'switch',
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
'list' => __('List layout only', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'button',
're_render' => true,
'type' => 'switch',
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
'list' => __('List layout only', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'id' => 'equal_heights',
'attr_id' => 'equal_heights',
're_render' => true,
'type' => 'switch',
'title' => __('Products List Standardization', 'mfn-opts'),
'options' => [
'0' => __('Default', 'mfn-opts'),
'1' => __('Equal heights', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'equal_heights_last_el_class',
'condition' => array( 'id' => 'equal_heights', 'opt' => 'is', 'val' => '1' ),
'type' => 'select',
're_render' => true,
'title' => __('Align to the bottom from', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'image' => __('Image', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'price' => __('Price', 'mfn-opts'),
'variations' => __('Variations', 'mfn-opts'),
'description' => __('Description', 'mfn-opts'),
'button' => __('Button', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'load_more',
're_render' => true,
'type' => 'switch',
'title' => __('Infinite Load More', 'mfn-opts'),
'options' => array(
'' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Filters', 'mfn-opts'),
),
array(
'id' => 'shop-list-active-filters',
'type' => 'switch',
'class' => 'shop-products-filters-switcher',
'title' => __('Active filters', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-active-filters'),
),
array(
'id' => 'shop-list-perpage',
'type' => 'switch',
'class' => 'shop-products-filters-switcher',
'title' => __('Products per page', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-perpage'),
),
array(
'id' => 'shop-list-layout',
'class' => 'shop-products-filters-switcher',
'type' => 'switch',
'title' => __('Layout switch', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-layout'),
),
array(
'id' => 'shop-list-sorting',
'class' => 'shop-products-filters-switcher',
'type' => 'switch',
'title' => __('List sorting', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-sorting'),
),
array(
'id' => 'shop-list-results-count',
'class' => 'shop-products-filters-switcher',
'type' => 'switch',
'title' => __('Results count', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-results-count'),
),
// order
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
// HTML style
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
// HTML end: style
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:text-align',
'id' => 'css_product_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'text-align',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:background-color',
'id' => 'css_product_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:padding',
'id' => 'css_product_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-style',
'id' => 'css_product_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-color',
'id' => 'css_product_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-width',
'id' => 'css_product_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-radius',
'id' => 'css_product_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-style',
'id' => 'css_product_image_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-color',
'id' => 'css_product_image_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-width',
'id' => 'css_product_image_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-radius',
'id' => 'css_product_image_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:color',
'id' => 'css_product_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:margin',
'id' => 'css_product_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:typography',
'id' => 'css_product_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:color',
'id' => 'css_product_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_del_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price del',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Strike price color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:margin',
'id' => 'css_product_price_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:margin',
'id' => 'css_product_excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:typography',
'id' => 'css_products_excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:color',
'id' => 'css_product_excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionsliahover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled archive_badge_onsale_position',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left li.product .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right li.product .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:padding',
'id' => 'css_product_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:typography',
'id' => 'css_product_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-style',
'id' => 'css_product_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-width',
'id' => 'css_product_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-radius',
'id' => 'css_product_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:color',
'id' => 'css_product_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-color',
'id' => 'css_product_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:background-color',
'id' => 'css_product_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:gradient',
'id' => 'css_product_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:color',
'id' => 'css_product_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:border-color',
'id' => 'css_product_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_hover_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:background',
'id' => 'css_product_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:gradient',
'id' => 'css_product_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'title' => __('List options container', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:background-color',
'id' => 'css_shop-filters_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:margin',
'id' => 'css_shop-filters_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:padding',
'id' => 'css_shop-filters_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-style',
'id' => 'css_shop-filters_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'border-style',
'attr_id' => 'border_style_shop_filters',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-width',
'id' => 'css_shop-filters_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-color',
'id' => 'css_shop-filters_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-radius',
'id' => 'css_shop-filters_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'title' => __('Result count', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count:typography',
'id' => 'css_woocommerce-result-count_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count:color',
'id' => 'css_woocommerce-result-count_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Sorting', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:typography',
'id' => 'css_shop-filterswoocommerce-orderingselect_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:color',
'id' => 'css_shop-filterswoocommerce-orderingselect_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:background',
'id' => 'css_shop-filterswoocommerce-orderingselect_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:padding',
'id' => 'css_shop-filterswoocommerce-orderingselect_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-style',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'border-style',
'attr_id' => 'border_style_shop_order',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-width',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_order', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-color',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_order', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-radius',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'title' => __('List options', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form:typography',
'id' => 'css_shop-filters-woo-list-optionsform-before-products-list-form_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form:color',
'id' => 'css_shop-filters-woo-list-optionsform-before-products-list-form_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Layout options', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li svg:width',
'id' => 'css_shop-filters-woo-list-optionsullisvg_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li svg',
'style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg .path, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li:--mfn-woo-icon-option',
'id' => 'css_layout_options_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg .path, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li',
'style' => '--mfn-woo-icon-option',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating:display',
'id' => 'css_product_star-rating_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span:color',
'id' => 'css_product_star-ratingspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Filters switcher', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters:typography',
'id' => 'css_shop-filtersaopen-filters_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters:color',
'id' => 'css_shop-filtersaopen-filters_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg:width',
'id' => 'css_shop-filtersaopen-filterssvg_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg',
'style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Shop Title ----------------------------------------------------
'shop_title' => array(
'type' => 'shop_title',
'title' => __('Shop title', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'shop-archive',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
],
'std' => 'h1',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
// title
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title:text-align',
'id' => 'css_page-title_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title:typography',
'id' => 'css_page-title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title:color',
'id' => 'css_page-title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// ALIAS: category description ----------------------------------------------------
'shop_cat_desc' => array(
'type' => 'plain_text',
'title' => __('Category Description', 'mfn-opts'),
'cat' => 'shop-archive',
),
// ALIAS: category top description ----------------------------------------------------
'shop_cat_top_desc' => array(
'type' => 'plain_text',
'title' => __('Category <br>Top Content', 'mfn-opts'),
'cat' => 'shop-archive',
),
// ALIAS: category bottom description ----------------------------------------------------
'shop_cat_bottom_desc' => array(
'type' => 'plain_text',
'title' => __('Category <br>Bottom Content', 'mfn-opts'),
'cat' => 'shop-archive',
),
// Alert ----------------------------------------------------
'woo_alert' => array(
'type' => 'woo_alert',
'title' => __('Alert', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'woocommerce',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content active">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>style</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'id' => 'css_alert_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_alert_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#success" data-tab="success">Success</a></li><li><a href="#error" data-tab="error">Error</a></li></ul><div class="mfn-sft mfn-sft-success">',
),
array(
'id' => 'css_alert_success_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_success',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_alert_success_link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_success a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'id' => 'css_alert_success_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_success',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_alert_success_close_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_success a .icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Close icon color', 'mfn-opts'),
),
array(
'id' => 'css_alert_success_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_success .path',
'style' => 'stroke',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-error">',
),
array(
'id' => 'css_alert_error_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_error',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_alert_error_link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_error a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'id' => 'css_alert_error_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_error',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_alert_error_close_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_error a .icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Close icon color', 'mfn-opts'),
),
array(
'id' => 'css_alert_error_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .alert.alert_error .path',
'style' => 'stroke',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product Title ----------------------------------------------------
'product_title' => array(
'type' => 'product_title',
'title' => __('Product title', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
],
'std' => 'h1',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
// title
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_title_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product images ----------------------------------------------------
'product_images' => array(
'type' => 'product_images',
'title' => __('Product images', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'zoom',
'type' => 'switch',
'title' => __('Zoom effect', 'mfn-opts'),
'options' => array(
'0' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
'std' => '1',
),
array(
'type' => 'header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'id' => 'thumbnail_arrows',
'attr_id' => 'thumbnail_arrows',
'type' => 'switch',
'title' => __('Arrows', 'mfn-opts'),
'desc' => __('Works with thumbnail horizontal styles', 'mfn-opts'),
'options' => array(
'' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
// image
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:background-color',
'id' => 'css_image_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-style',
'id' => 'css_image_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'style' => 'border-style',
'attr_id' => 'border_style_prodimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-color',
'id' => 'css_image_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_prodimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-width',
'id' => 'css_image_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_prodimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-radius',
'id' => 'css_image_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// thumbnails
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Thumbnails', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li img:background-color',
'id' => 'css_flex-control-thumbsliimg_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li img',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-style',
'id' => 'css_flex-control-thumbsli_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'style' => 'border-style',
'attr_id' => 'border_style_prodthumbs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-color',
'id' => 'css_flex-control-thumbsli_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_prodthumbs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-width',
'id' => 'css_flex-control-thumbsli_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_prodthumbs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-radius',
'id' => 'css_flex-control-thumbsli_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'thumbnail_arrows', 'opt' => 'is', 'val' => '1' ),
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:--mfn-swiper-arrow-size',
'id' => 'css____mfn_swiper_arrow_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => '--mfn-swiper-arrow-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-gallery:--mfn-swiper-arrow-offset',
'id' => 'css_woocommerce-product-gallery_swiper_arrow_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-gallery',
'style' => '--mfn-swiper-arrow-offset',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-swiper-arrow i:color',
'id' => 'css_swiper-arrowi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-swiper-arrow i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-swiper-arrow|hover i:color',
'id' => 'css_swiper-arrowi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-swiper-arrow:hover i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product price ----------------------------------------------------
'product_price' => array(
'type' => 'product_price',
'title' => __('Product price', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>style</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price:text-align',
'id' => 'css_price_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price:typography',
'id' => 'css_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price:color',
'id' => 'css_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Old price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del:typography',
'id' => 'css_price_del_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del:color',
'id' => 'css_pricedel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del',
'style' => 'color',
'type' => 'color',
'class' => 'sales-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
'desc' => __('Old price on sale', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product add to cart ----------------------------------------------------
'product_cart_button' => array(
'type' => 'product_cart_button',
'title' => __('Add to cart', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'cart_button_text',
'type' => 'text',
'title' => __('Button text', 'mfn-opts'),
'std' => __('Add to cart', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'id' => 'variations-label',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Label position', 'mfn-opts'),
'options' => [
'' => __('Inline', 'mfn-opts'),
'top' => __('Top', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label:color',
'id' => 'css_variations-wrapper-vrlabel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label',
'style' => 'color',
'type' => 'color',
'class' => 'sales-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label:typography',
'id' => 'css_woocommerce_variations-wrapper-vrlabel_typography',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr:border-color',
'id' => 'css_variations-wrapper-vr_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line separator', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-vrul-vr-optionslia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_bg_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-vrul-vr-optionsliahover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_bg_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li.active a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li.active a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_variations-wrapper-vrul-vr-optionslia_bg_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li.active a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:padding',
'id' => 'css_woocommerce-product-add-to-cartbutton_padding',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:typography',
'id' => 'css_woocommerce-product-add-to-cartbutton_typography',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-style',
'id' => 'css_woocommerce-product-add-to-cartbutton_border_style',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-width',
'id' => 'css_woocommerce-product-add-to-cartbutton_border_width',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-radius',
'id' => 'css_woocommerce_product-add-to-cartbutton_border_radius',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:color',
'id' => 'css_woocommerce-product-add-to-cartbutton_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-color',
'id' => 'css_woocommerce-product-add-to-cartbutton_border_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:background-color',
'id' => 'css_woocommerce_product-add-to-cartbutton_background_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:gradient',
'id' => 'css_woocommerce-product-add-to-cartbutton_gradient',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button|hover:color',
'id' => 'css_woocommerce-product-add-to-cartbutton_color_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button|hover:border-color',
'id' => 'css_woocommerce_product-add-to-cartbuttonhover_border_color_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_hover_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button|hover:background',
'id' => 'css_woocommerce_product-add-to-cartbuttonhover_background_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:hover, .woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button|hover:gradient',
'id' => 'css_woocommerce_product-add-to-cartbuttonhover_gradient_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Quantity', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty:background',
'id' => 'css_woocommerce_quantityinputqty_background',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty:color',
'id' => 'css_woocommerce_quantityinputqty_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty:border-color',
'id' => 'css_woocommerce_quantityinputqty_border_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity a.quantity-change:color',
'id' => 'css_woocommerce_quantityaquantity-change_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity a.quantity-change',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Plus/Minus color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Variation', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price:margin',
'id' => 'css_woocommerce-variation-price_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price:color',
'id' => 'css_woocommerce-variation-priceprice_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price:typography',
'id' => 'css_woocommerce_oocommerce-variation-priceprice_typography',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product breadcrumbs ----------------------------------------------------
'product_breadcrumbs' => array(
'type' => 'product_breadcrumbs',
'title' => __('Breadcrumbs', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'breadcrumb_delimiter',
'type' => 'text',
're_render' => true,
'title' => __('Delimiter', 'mfn-opts'),
'std' => '/',
),
array(
'id' => 'breadcrumb_home',
'type' => 'switch',
're_render' => true,
'title' => __('Home page', 'mfn-opts'),
'options' => [
'0' => 'No',
'1' => 'Include',
],
'std' => '1',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Breadcrumbs', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb:text-align',
'id' => 'css_woocommerce-breadcrumb_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb:typography',
'id' => 'css_woocommerce-breadcrumb_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb:color',
'id' => 'css_woocommerce-breadcrumb_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Delimiter', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span:color',
'id' => 'css_woocommerce-breadcrumbspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span:opacity',
'id' => 'css_woocommerce-breadcrumbspan_opacity',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span',
'style' => 'opacity',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '0.2'
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product reviews ----------------------------------------------------
'product_reviews' => array(
'type' => 'product_reviews',
'title' => __('Product reviews', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This item can only be used once per page (including product tab reviews)', 'mfn-opts'),
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>style</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title:text-align',
'id' => 'css_woocommerce-Reviews-title_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title:typography',
'id' => 'css_reviews-title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title:color',
'id' => 'css_woocommerce-Reviews-title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Container', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text:background-color',
'id' => 'css_reviews_comment-text_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__author:color',
'id' => 'css_reviews_comment-textpmetawoocommerce-review__author_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__author',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Author name color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__published-date,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__dash:color',
'id' => 'css_date_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__published-date,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__dash',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Date color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text .description:color',
'id' => 'css_reviews_comment-textdescription_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text .description',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Comment color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta:border-color',
'id' => 'css_reviews_comment-textpmeta_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'title' => __('Stars', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a|before:color',
'id' => 'css_star-ratingspancomment-form-ratingpstarsabefore_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a:before',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Form title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title:typography',
'id' => 'css_respondcomment-reply-title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title:color',
'id' => 'css_comment-reply-title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Your rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form label:color',
'id' => 'css_reviews_form_wrappercomment-formlabel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a:color',
'id' => 'css_comment-form-ratingpstarsa_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a:background-color',
'id' => 'css_comment-form-ratingpstarsa_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Textarea', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea:color',
'id' => 'css_reviews_form_comment_textarea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea|focus:background-color',
'id' => 'css_textarea_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea:focus',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea:border-color',
'id' => 'css_reviews_form_comment_textarea_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:padding',
'id' => 'css_woocommerce_review_form_input_padding',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'padding',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:typography',
'id' => 'css_woocommerce_review_form_input_typography',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-style',
'id' => 'css_woocommerce_review_form_input_border_style',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'border-style',
'attr_id' => 'border_style_prodrev',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-width',
'id' => 'css_woocommerce_review_form_input_border_width',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_prodrev', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-radius',
'id' => 'css_woocommerce_review_form_input_border_radius',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:color',
'id' => 'css_woocommerce_review_form_input_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-color',
'id' => 'css_woocommerce_review_form_input_border_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_prodrev', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:background-color',
'id' => 'css_woocommerce_review_form_input_background_color',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'background-color',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:gradient',
'id' => 'css_woocommerce_review_form_input_gradient',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'style' => 'gradient',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input|hover:color',
'id' => 'css_woocommerce_review_form_inputhover_color_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input|hover:border-color',
'id' => 'css_woocommerce_review_form_inputhover_border_color_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_prodrev', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_hover_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input|hover:background',
'id' => 'css_woocommerce_review_form_inputhover_background_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:hover',
'style' => 'background',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input|hover:gradient',
'id' => 'css_woocommerce_review_form_inputhover_gradient_hover',
'selector' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product rating ----------------------------------------------------
'product_rating' => array(
'type' => 'product_rating',
'title' => __('Product rating', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>style</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-review-link:color',
'id' => 'css_woocommerce-review-link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-review-link',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span:color',
'id' => 'css_star-ratingspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Active stars color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating|before:color',
'id' => 'css_star-ratingbefore_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating:before',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Inactive stars color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-rating:text-align',
'id' => 'css_woocommerce-product-rating_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-rating',
'style' => 'text-align',
'class' => 'mfn-toggled',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product stock ----------------------------------------------------
'product_stock' => array(
'type' => 'product_stock',
'title' => __('Product stock', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('To display stock, please enable stock management at product level and set its quantity. This element has no attributes. Please check <b>style</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Product stock', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock:text-align',
'id' => 'css_stock_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock:typography',
'id' => 'css_stock_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.in-stock:color',
'id' => 'css_stockin-stock_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.in-stock',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('In stock color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.out-of-stock:color',
'id' => 'css_stockout-of-stock_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.out-of-stock',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Out of stock color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product meta ----------------------------------------------------
'product_meta' => array(
'type' => 'product_meta',
'title' => __('Product meta', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'layout',
'attr_id' => 'prod_meta_layout',
'type' => 'switch',
're_render' => true,
'title' => __('Layout', 'mfn-opts'),
'options' => [
'inline' => __('Inline', 'mfn-opts'),
'stacked' => __('Stacked', 'mfn-opts'),
'table' => __('Table', 'mfn-opts'),
],
'std' => 'inline',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Container', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta td:text-align',
'id' => 'css_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta td',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li:border-color',
'id' => 'css_product_metastacked-metali_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Stacked line color', 'mfn-opts'),
),
array(
'title' => __('Label', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th:typography',
'id' => 'css_product_meta_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th:color',
'id' => 'css_product_meta_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Value', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .stacked-categories span.stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in a:color',
'id' => 'css_product_meta_links_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .stacked-categories span.stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'title' => __('Tags', 'mfn-opts'),
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a:color',
'id' => 'css_tags_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a',
'style' => 'color',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a:background',
'id' => 'css_tags_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a',
'style' => 'background',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'title' => __('SKU', 'mfn-opts'),
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper:color',
'id' => 'css_sku_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper',
'style' => 'color',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper:background',
'id' => 'css_sku_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper',
'style' => 'background',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper:border-color',
'id' => 'css_sku_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product short_description ----------------------------------------------------
'product_short_description' => array(
'type' => 'product_short_description',
'title' => __('Short description', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>style</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Description', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description:text-align',
'id' => 'css_woocommerce-product-details_short-description_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description:typography',
'id' => 'css_woocommerce-product-details_short-description_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description:color',
'id' => 'css_woocommerce-product-details__short-description_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product tabs ----------------------------------------------------
'product_tabs' => array(
'type' => 'product_tabs',
'title' => __('Product tabs', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Navigation', 'mfn-opts'),
),
array(
'id' => 'nav',
'attr_id' => 'nav',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Top', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs.mfn-woocommerce-tabs-nav-top .mfn-woocommerce-tabs-nav:justify-content',
'id' => 'css_woocommerce-tabs-nav-top-woocommerce-tabs-nav_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs.mfn-woocommerce-tabs-nav-top .mfn-woocommerce-tabs-nav',
'style' => 'justify-content',
'type' => 'select',
'condition' => array( 'id' => 'nav', 'opt' => 'is', 'val' => '' ),
'title' => __('Align', 'mfn-opts'),
'options' => [
'' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Navigation', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:background-color',
'id' => 'css_woocommerce-tabs-nav_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:padding',
'id' => 'css_woocommerce-tabs-nav_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:margin',
'id' => 'css_woocommerce-tabs-nav_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-style',
'id' => 'css_woocommerce-tabs-nav_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'border-style',
'attr_id' => 'border_tabs_nav_ul',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-color',
'id' => 'css_woocommerce-tabs-nav_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_nav_ul', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-width',
'id' => 'css_woocommerce-tabs-nav_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'border-width',
'condition' => array( 'id' => 'border_tabs_nav_ul', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-radius',
'id' => 'css_woocommerce-tabs-nav_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Nav items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:padding',
'id' => 'css_woocommerce-tabs-navlia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li:margin',
'id' => 'css_woocommerce-tabs-navli_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:typography',
'id' => 'css_woocommerce-tabs-navlia_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-style',
'id' => 'css_woocommerce-tabs-navlia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'border-style',
'attr_id' => 'border_tabs_nav_ul_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-width',
'id' => 'css_woocommerce-tabs-navlia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_tabs_nav_ul_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-radius',
'id' => 'css_woocommerce-tabs-navlia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:color',
'id' => 'css_woocommerce-tabs-navlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:background-color',
'id' => 'css_woocommerce-tabs-navlia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-color',
'id' => 'css_woocommerce-tabs-navlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_nav_ul_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a|hover:color',
'id' => 'css_woocommerce-tabs-navlia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a|hover:background-color',
'id' => 'css_woocommerce-tabs-navliahover_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a|hover:border-color',
'id' => 'css_woocommerce-tabs-navliahover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_nav_ul_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li.active a:color',
'id' => 'css_woocommerce-tabs-navlia_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li.active a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li.active a:background-color',
'id' => 'css_woocommerce-tabs-navlia_background_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li.active a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li.active a:border-color',
'id' => 'css_woocommerce-tabs-navlia_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li.active a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_nav_ul_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:background-color',
'id' => 'css_woocommerce-tabs-content_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:padding',
'id' => 'css_woocommerce-tabs-content_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-style',
'id' => 'css_woocommerce-tabs-content_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'style' => 'border-style',
'attr_id' => 'border_tabs_content',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-width',
'id' => 'css_woocommerce-tabs-content_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'style' => 'border-width',
'condition' => array( 'id' => 'border_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-color',
'id' => 'css_woocommerce-tabs-content_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-radius',
'id' => 'css_woocommerce-tabs-content_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product content ----------------------------------------------------
'product_content' => array(
'type' => 'product_content',
'title' => __('Product content', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Content', 'mfn-opts'),
),
array(
'id' => 'content',
're_render' => true,
'type' => 'select',
'title' => __('Source', 'mfn-opts'),
'options' => array(
'' => __('Default (BeBuilder)', 'mfn-opts'),
'standard' => __('Product description', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product additional information ----------------------------------------------------
'product_additional_information' => array(
'type' => 'product_additional_information',
'title' => __('Additional information', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'title',
'attr_id' => 'title',
'type' => 'switch',
're_render' => true,
'title' => __('Title', 'mfn-opts'),
'options' => [
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
],
'std' => '1',
),
array(
'id' => 'title_tag',
'condition' => array( 'id' => 'title', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_title_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:margin',
'id' => 'css_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Content', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td:text-align',
'id' => 'css_woocommerce-product-attributesthwoocommerce-product-attributestd_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th:color',
'id' => 'css_woocommerce-product-attributesth_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td a:color',
'id' => 'css_woocommerce-product-attributestdwoocommerce-product-attributestda_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Value color', 'mfn-opts'),
),
array(
'title' => __('Line', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.woocommerce-product-attributes td span|before:background',
'id' => 'css_tablewoocommerce-product-attributestdspanbefore_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.woocommerce-product-attributes td span:before',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product related ----------------------------------------------------
'product_related' => array(
'type' => 'product_related',
'title' => __('Product related', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'products',
'type' => 'text',
're_render' => true,
'title' => __('Products per page', 'mfn-opts'),
'std' => '4',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'columns',
'type' => 'text',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'std' => '4',
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'button',
'type' => 'switch',
're_render' => true,
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'description',
'type' => 'switch',
're_render' => true,
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'id' => 'css_relatedtitle_display',
'attr_id' => 'css_relatedtitle_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'style' => 'display',
'type' => 'switch',
'title' => __('Visibility', 'mfn-opts'),
'class' => 'mfn-toggled',
'options' => [
'' => __('Default', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:text-align',
'id' => 'css_relatedtitle_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'condition' => array( 'id' => 'css_relatedtitle_display', 'opt' => 'is', 'val' => '' ),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:color',
'id' => 'css_relatedtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'style' => 'color',
'type' => 'color',
'condition' => array( 'id' => 'css_relatedtitle_display', 'opt' => 'is', 'val' => '' ),
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:margin',
'id' => 'css_relatedtitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'style' => 'margin',
'condition' => array( 'id' => 'css_relatedtitle_display', 'opt' => 'is', 'val' => '' ),
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:typography',
'id' => 'css_relatedtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'style' => 'typography',
'responsive' => true,
'condition' => array( 'id' => 'css_relatedtitle_display', 'opt' => 'is', 'val' => '' ),
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:text-align',
'id' => 'css_product_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:background-color',
'id' => 'css_product_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:padding',
'id' => 'css_product_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-style',
'id' => 'css_product_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-color',
'id' => 'css_product_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-width',
'id' => 'css_product_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-radius',
'id' => 'css_product_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-style',
'id' => 'css_product_image_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-color',
'id' => 'css_product_image_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-width',
'id' => 'css_product_image_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-radius',
'id' => 'css_product_image_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:color',
'id' => 'css_product_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:margin',
'id' => 'css_product_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:typography',
'id' => 'css_product_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:color',
'id' => 'css_product_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:margin',
'id' => 'css_product_price_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:margin',
'id' => 'css_product_excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:typography',
'id' => 'css_product_excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:color',
'id' => 'css_product_excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionsliahover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled archive_badge_onsale_position',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left li.product .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right li.product .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:padding',
'id' => 'css_product_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:typography',
'id' => 'css_products_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-style',
'id' => 'css_product_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-width',
'id' => 'css_product_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-radius',
'id' => 'css_product_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:color',
'id' => 'css_product_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-color',
'id' => 'css_product_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:background-color',
'id' => 'css_product_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:gradient',
'id' => 'css_product_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:color',
'id' => 'css_product_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:border-color',
'id' => 'css_product_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_hover_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:background',
'id' => 'css_product_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:gradient',
'id' => 'css_product_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating:display',
'id' => 'css_product_star-rating_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span:color',
'id' => 'css_product_star-ratingspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Product upsells ----------------------------------------------------
'product_upsells' => array(
'type' => 'product_upsells',
'title' => __('Product upsells', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'products',
're_render' => true,
'type' => 'text',
'title' => __('Products per page', 'mfn-opts'),
'std' => '4',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'text',
'title' => __('Columns', 'mfn-opts'),
'std' => '4',
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'button',
'type' => 'switch',
're_render' => true,
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'description',
'type' => 'switch',
're_render' => true,
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:text-align',
'id' => 'css_upsellstitle_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:color',
'id' => 'css_upsellstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:margin',
'id' => 'css_upsellstitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:typography',
'id' => 'css_upsellstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:text-align',
'id' => 'css_product_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:background-color',
'id' => 'css_product_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:padding',
'id' => 'css_product_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-style',
'id' => 'css_product_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-color',
'id' => 'css_product_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-width',
'id' => 'css_product_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-radius',
'id' => 'css_product_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-style',
'id' => 'css_product_image_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-color',
'id' => 'css_product_image_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-width',
'id' => 'css_product_image_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-radius',
'id' => 'css_product_image_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:color',
'id' => 'css_product_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:margin',
'id' => 'css_product_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:typography',
'id' => 'css_product_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:color',
'id' => 'css_product_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:margin',
'id' => 'css_product_price_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:margin',
'id' => 'css_product_excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:typography',
'id' => 'css_product_excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:color',
'id' => 'css_product_excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionsliahover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled archive_badge_onsale_position',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left li.product .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right li.product .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:padding',
'id' => 'css_product_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:typography',
'id' => 'css_products_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-style',
'id' => 'css_product_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-width',
'id' => 'css_product_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-radius',
'id' => 'css_product_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:color',
'id' => 'css_product_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-color',
'id' => 'css_product_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:background-color',
'id' => 'css_product_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:gradient',
'id' => 'css_product_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:color',
'id' => 'css_product_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:border-color',
'id' => 'css_product_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_hover_shop_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:background',
'id' => 'css_product_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button|hover:gradient',
'id' => 'css_product_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_hover_shop_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating:display',
'id' => 'css_product_star-rating_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span:color',
'id' => 'css_product_star-ratingspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '</div>',
),
),
),
/* END WOO */
// Divider NEW ------------------------------------------------------
'divider_2' => array(
'type' => 'divider_2',
'title' => '• '. __('Divider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'type',
'attr_id' => 'divider-2-type',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Type', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => 'Empty',
'#optgroup-border' => 'Border',
'border-solid' => 'Solid',
'border-dotted' => 'Dotted',
'border-dashed' => 'Dashed',
'border-double' => 'Double',
// if new added please update conditions below
'#optgroup-border-end' => '',
'#optgroup-pattern' => 'Pattern',
'pattern-star' => 'Star',
'pattern-triangle' => 'Triangle',
'pattern-plus' => 'Plus',
'pattern-tree' => 'Tree',
'pattern-heart' => 'Heart',
'pattern-question' => 'Question',
'pattern-gear' => 'Gear',
'pattern-parquet' => 'Parquet',
'pattern-sun' => 'Sun',
'pattern-fence' => 'Fence',
'pattern-flower' => 'Flower',
// if new added please update conditions below
'#optgroup-pattern-end' => '',
'#optgroup-lines' => 'Lines',
'pattern-line-wave' => 'Waves',
'pattern-line-zigzag' => 'Zig Zag',
'pattern-line-zigzag2' => 'Zig Zag 2',
'pattern-line-hearts' => 'Hearts',
'pattern-line-triangles' => 'Triangles',
'pattern-line-circles' => 'Circles',
'pattern-line-circles2' => 'Circles 2',
'pattern-line-circles3' => 'Circles 3',
'pattern-line-stars' => 'Stars',
'pattern-line-rhombus' => 'Rhombus',
'pattern-line-figures' => 'Figures',
'pattern-line-loopline' => 'Loopline',
// if new added please update conditions below
'#optgroup-lines-end' => '',
),
'std' => ''
),
array(
'id' => 'align',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Alignment', 'mfn-opts'),
're_render' => true,
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
),
// gap
array(
'type' => 'header',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Gap', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-gap-top',
'id' => 'css_divider_gap_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-gap-top',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Gap top', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-class-editor-form-row-visible',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
'std' => '20px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-gap-bottom',
'id' => 'css_divider_gap_bottom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-gap-bottom',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Gap bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-class-editor-form-row-visible',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
'std' => '20px',
),
// addon
array(
'type' => 'header',
'title' => __('Addon', 'mfn-opts'),
),
array(
'id' => 'addon',
'attr_id' => 'divider-2-addon',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Addon', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => 'None',
'label' => 'Label',
'image' => 'Image',
'icon' => 'Icon',
),
'std' => ''
),
array(
'id' => 'label',
'type' => 'text',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Label', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
're_render' => true,
'std' => ''
),
array(
'id' => 'image',
'type' => 'upload',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Image', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'image' ),
're_render' => true,
'std' => ''
),
array(
'id' => 'icon',
'type' => 'icon',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Icon', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'icon' ),
're_render' => true,
'std' => ''
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:width',
'id' => 'css_divider-inner_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Divider', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'isnt', 'val' => '' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-height',
'id' => 'css_divider_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-height',
'type' => 'sliderbar',
'title' => __('Pattern height', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'pattern-star,pattern-triangle,pattern-plus,pattern-tree,pattern-heart,pattern-question,pattern-gear,pattern-parquet,pattern-sun,pattern-fence,pattern-flower,pattern-line-wave,pattern-line-zigzag,pattern-line-zigzag2,pattern-line-hearts,pattern-line-triangles,pattern-line-circles,pattern-line-circles2,pattern-line-circles3,pattern-line-stars,pattern-line-rhombus,pattern-line-figures,pattern-line-loopline' ),
'responsive' => true,
'class' => 'mfn-toggled narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-pattern-color',
'id' => 'css_divider_pattern_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-pattern-color',
'type' => 'color',
'title' => __('Pattern color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'pattern-star,pattern-triangle,pattern-plus,pattern-tree,pattern-heart,pattern-question,pattern-gear,pattern-parquet,pattern-sun,pattern-fence,pattern-flower,pattern-line-wave,pattern-line-zigzag,pattern-line-zigzag2,pattern-line-hearts,pattern-line-triangles,pattern-line-circles,pattern-line-circles2,pattern-line-circles3,pattern-line-stars,pattern-line-rhombus,pattern-line-figures,pattern-line-loopline' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-border-width',
'id' => 'css_divider_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-border-width',
'type' => 'sliderbar',
'title' => __('Border width', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'border-solid,border-dotted,border-dashed,border-double' ),
'class' => 'mfn-toggled narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '20',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-border-color',
'id' => 'css_divider_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-border-color',
'type' => 'color',
'title' => __('Border color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'border-solid,border-dotted,border-dashed,border-double' ),
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Addon', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'isnt', 'val' => '' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-spacing',
'id' => 'css_divider_spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Spacing', 'mfn-opts'),
'units' => array(
'px' => array('min' => 0, 'max' => 100, 'step' => 1),
'em' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 0, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-icon i:font-size',
'id' => 'css_divider-innerdivider-iconi_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-icon i',
'style' => 'font-size',
'type' => 'sliderbar',
'title' => __('Icon size', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'icon' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 0, 'max' => 100, 'step' => 1),
'em' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 0, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-icon-color',
'id' => 'css_divider_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-icon-color',
'type' => 'color',
'title' => __('Icon color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'icon' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-image img:height',
'id' => 'css_divider-innerdivider-imageimg_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-image img',
'style' => 'height',
'type' => 'sliderbar',
'title' => __('Image height', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'image' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label:color',
'id' => 'css_divider-innerdivider-label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label',
'style' => 'color',
'type' => 'color',
'title' => __('Text color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label:typography',
'id' => 'css_divider-innerdivider-label_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'title' => __('Typography', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
'class' => 'mfn-toggled toggle_fields',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:background-color',
'id' => 'css_divider-innerdivider-addon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label:padding',
'id' => 'css_divider-innerdivider-label_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-addon-width',
'id' => 'css_divider_addon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-addon-width',
'type' => 'sliderbar',
'title' => __('Width', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'isnt', 'val' => 'label' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-addon-height',
'id' => 'css_divider_addon_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'style' => '--mfn-divider-addon-height',
'type' => 'sliderbar',
'title' => __('Height', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'isnt', 'val' => 'label' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-style',
'id' => 'css_divider-innerdivider-addon_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'style' => 'border-style',
'attr_id' => 'divider-2-addon-border',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-color',
'id' => 'css_divider-innerdivider-addon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'style' => 'border-color',
'condition' => array( 'id' => 'divider-2-addon-border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-width',
'id' => 'css_divider-innerdivider-addon_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'style' => 'border-width',
'condition' => array( 'id' => 'divider-2-addon-border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-radius',
'id' => 'css_divider-innerdivider-addon_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Divider Basic -------------------------------------------------------
'divider' => array(
'type' => 'divider',
'title' => '• '. __('Divider Basic', 'mfn-opts'),
// 'title' => '• '. __('Divider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'height',
'type' => 'text',
're_render' => true,
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'after' => 'px',
),
array(
'id' => 'style',
'attr_id' => 'divider_style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'dots' => __('Dots', 'mfn-opts'),
'zigzag' => __('ZigZag', 'mfn-opts'),
),
'std' => 'default',
),
array(
'id' => 'line',
'type' => 'switch',
're_render' => true,
'title' => __('Line', 'mfn-opts'),
'condition' => array( 'id' => 'divider_style', 'opt' => 'is', 'val' => 'default' ),
'options' => array(
'' => __('No line', 'mfn-opts'),
'default' => __('Default', 'mfn-opts'),
'narrow' => __('Narrow', 'mfn-opts'),
'wide' => __('Wide', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'color',
'type' => 'color',
're_render' => true,
'title' => __('Color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'themecolor',
'type' => 'switch',
're_render' => true,
'title' => __('Theme color', 'mfn-opts'),
'desc' => __('Overwrites color selected above', 'mfn-opts'),
'options' => array(
0 => __('No', 'mfn-opts'),
1 => __('Yes', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Placeholder ----------------------------------------------------
'placeholder' => array(
'type' => 'placeholder',
'title' => '• '. __('Placeholder', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This item has no attributes.', 'mfn-opts'),
),
),
),
// Spacer ------------------------------------------------------
'spacer' => array(
'type' => 'spacer',
'title' => __('Spacer', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:height',
'id' => 'css_mcb-column-inner_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'sliderbar-units',
'title' => __('Height', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1000, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
'vh' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Accordion -----------------------------------------------------
'accordion' => array(
'type' => 'accordion',
'title' => __('Accordion', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info-key',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Try the new Toggle element with unlimited customization options', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.accordion | .heading',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'dynamic_data' => 'title',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// tabs
array(
'type' => 'header',
'title' => __('Tabs', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Accordion', 'mfn-opts'),
'desc' => __('<b>JavaScript</b> content like Google Maps and some plugins shortcodes do <b>not work</b> in tabs', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Sample tab', 'mfn-opts'),
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st item', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd item', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'preview' => 'tabs',
'primary' => 'title', // default
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'icon_active',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'open1st',
're_render' => true,
'type' => 'switch',
'title' => __('Open first', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open first', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'openAll',
're_render' => true,
'type' => 'switch',
'title' => __('Open all', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open all', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'accordion' => __('Accordion', 'mfn-opts'),
'toggle' => __('Toggle', 'mfn-opts'),
),
'std' => 'accordion',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading:color',
'id' => 'css_accordionheading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading:margin',
'id' => 'css_accordionheading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading:typography',
'id' => 'css_accordionheading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:color',
'id' => 'css_questiontitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:background',
'id' => 'css_question_title_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active .title:color',
'id' => 'css_question_activetitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active .title:background',
'id' => 'css_question_activetitle_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active .title',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:margin',
'id' => 'css_question_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:padding',
'id' => 'css_questiontitle_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title|before:border-style',
'id' => 'css_question_titlebefore_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:before',
'style' => 'border-style',
'attr_id' => 'border_style_accq',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title|before:border-color',
'id' => 'css_question_titlebefore_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:before',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_accq', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:border-width',
'id' => 'css_question_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_accq', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:border-radius',
'id' => 'css_question_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:typography',
'id' => 'css_question_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:box-shadow',
'id' => 'css_question_title_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title bar icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title i:color',
'id' => 'css_questiontitlei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active .title i:color',
'id' => 'css_question_activetitlei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active .title i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title i:font-size',
'id' => 'css_question_titlei_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:color',
'id' => 'css_questionanswer_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:background',
'id' => 'css_question_answer_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:padding',
'id' => 'css_questionanswer_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:typography',
'id' => 'css_question_answer_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Question line', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:border-color',
'id' => 'css_question_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'style' => 'border-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active|after:background-color',
'id' => 'css_question_activeafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question.active:after',
'style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Article box ---------------------------------------------------
'article_box' => array(
'type' => 'article_box',
'title' => __('Article box', 'mfn-opts'),
'size' => '1/3',
'tablet_size' => '1/3',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>384px - 960px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'slogan',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | p',
'edit_tagchild' => 'span',
'edit_position' => 'prepend',
'title' => __('Slogan', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the slogan', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-style',
'id' => 'css_article_boxphoto_wrapperimg_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'style' => 'border-style',
'attr_id' => 'border_style_abimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-color',
'id' => 'css_article_boxphoto_wrapperimg_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_abimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-width',
'id' => 'css_article_boxphoto_wrapperimg_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_abimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-radius',
'id' => 'css_article_boxphoto_wrapperimg_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_wrapper:margin',
'id' => 'css_photo_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:text-align',
'id' => 'css_desc_wrapper_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:background',
'id' => 'css_desc_wrapper_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-style',
'id' => 'css_article_boxdesc_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_desc',
'class' => 'mfn-toggled',
'type' => 'select',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-color',
'id' => 'css_article_boxdesc_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-width',
'id' => 'css_article_boxdesc_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-radius',
'id' => 'css_article_boxdesc_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:padding',
'id' => 'css_desc_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:margin',
'id' => 'css_desc_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:color',
'id' => 'css_desc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:margin',
'id' => 'css_desc_wrappertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:typography',
'id' => 'css_desc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Slogan', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:color',
'id' => 'css_desc_wrapperp_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:border-color',
'id' => 'css_desc_wrapperp_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'desc' => __('Works only with <b>classic style</b>', 'mfn-opts'),
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:margin',
'id' => 'css_desc_wrapperp_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:typography',
'id' => 'css_desc_wrapperp_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:--mfn-article-box-decoration',
'id' => 'css_desc_wrapper_mfn_article_box_decoration',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => '--mfn-article-box-decoration',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Banner Box ---------------------------------------------------
'banner_box' => array(
'type' => 'banner_box',
'title' => __('Banner box', 'mfn-opts'),
'preview' => true, // instant preview
'size' => '1/3',
'tablet_size' => '1/3',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'type' => 'header',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Box', 'mfn-opts'),
),
array(
'id' => 'style',
'attr_id' => 'style',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Full', 'mfn-opts'),
'boxed' => __('Boxed', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc:justify-content',
'id' => 'css_desc_justify',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc',
'style' => 'justify-content',
'responsive' => true,
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'required' => true,
'title' => __('Horizontal position', 'mfn-opts'),
'options' => array(
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => 'center'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc:align-items',
'id' => 'css_desc_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc',
'style' => 'align-items',
'responsive' => true,
'required' => true,
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Vertical position', 'mfn-opts'),
'options' => array(
'flex-start' => __('Top', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Bottom', 'mfn-opts'),
),
'std' => 'center'
),
array(
'type' => 'header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'std' => $this->get_placeholder(),
),
array(
'id' => 'size',
'type' => 'select',
're_render' => true,
'title' => __('Size', 'mfn-opts'),
'desc' => __('Select image size from <a target="_blank" href="options-media.php">Settings > Media > Image sizes</a> (Media Library images only)<br />or use below fields for HTML resize', 'mfn-opts'),
'php_options' => array(
'full' => __('Full size', 'mfn-opts'),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
array(
'id' => 'overlay',
'attr_id' => 'overlay',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Overlay', 'mfn-opts'),
'options' => array(
'' => __('Off', 'mfn-opts'),
'1' => __('On', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'hover_effect',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'toggle' => __('Toggle', 'mfn-opts'),
'zoom-in' => __('Zoom In', 'mfn-opts'),
'zoom-out' => __('Zoom Out', 'mfn-opts'),
'blur' => __('Blur', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.banner-wrapper | .title.banner-item',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'type' => 'header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'id' => 'subtitle',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.banner-wrapper | .subtitle.banner-item',
'edit_position' => 'prepend',
'title' => __('Subtitle', 'mfn-opts'),
'std' => __('This is the subtitle', 'mfn-opts'),
),
array(
'id' => 'subtitle_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Subtitle tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'p',
),
array(
'type' => 'header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'id' => 'bb_excerpt',
'attr_id' => 'bb_excerpt',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.banner-wrapper | p.excerpt',
'edit_position' => 'append',
'title' => __('Excerpt', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Call To Action', 'mfn-opts'),
),
array(
'id' => 'cta',
'attr_id' => 'cta',
're_render' => true,
'type' => 'select',
'title' => __('CTA type', 'mfn-opts'),
'options' => array(
'' => __('Text', 'mfn-opts'),
'icon' => __('Icon', 'mfn-opts'),
'image' => __('Image', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'cta_icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'icon' ),
),
array(
'id' => 'cta_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'image' ),
),
array(
'id' => 'link_title',
'type' => 'text',
'edit_tag' => '.banner-wrapper | .cta-text.banner-item',
'edit_position' => 'append',
'std' => __('Read more', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => '' ),
'title' => __('Call to action', 'mfn-opts'),
),
array(
'id' => 'cta_hover_effect',
'type' => 'select',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'zoom-in' => __('Zoom In', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'popup_id',
'type' => 'text',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
'' => __('Default | _self', 'mfn-opts'),
'1' => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title_2',
'type' => 'text',
'std' => __('Link title', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => '' ),
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'title,subtitle,excerpt,divider,cta',
),
array(
'type' => 'header',
'title' => __('Responsive', 'mfn-opts'),
),
array(
'id' => 'hidden_elements_mobile',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Hidden elements on mobile', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Visible on mobile', 'mfn-opts'),
2 => __('Visible on tablet and mobile', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'bb_badge',
'attr_id' => 'bb_badge',
'type' => 'text',
'edit_tag' => '.mfn-banner-box | .banner-badge',
'edit_position' => 'append',
'dynamic_data' => 'title',
'title' => __('Badge', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Box', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-offset',
'id' => 'css_box_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => '--mfn-banner-box-offset',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Offset', 'mfn-opts'),
'units' => array(
'px' => array('min' => 0, 'max' => 1000, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 100, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 100, 'step' => 0.1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-style',
'id' => 'css_box_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => 'border-style',
'attr_id' => 'border_style_bannerbox',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-width',
'id' => 'css_box_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerbox', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-radius',
'id' => 'css_box_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:box-shadow',
'id' => 'css_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-animation-duration',
'id' => 'css_box_animation_duration',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => '--mfn-banner-box-animation-duration',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
'unit' => 's',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:background-color',
'id' => 'css_banner-box_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-color',
'id' => 'css_banner-box_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerbox', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover:background-color',
'id' => 'css_banner-box_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover:border-color',
'id' => 'css_banner-box_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerbox', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image_height',
'attr_id' => 'image_height',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => [
'' => __('Auto', 'mfn-opts'),
'1' => __('Custom', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-height .banner-image img:height',
'id' => 'css_banner-box-banner-box-heightbanner-imageimg_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-height .banner-image img',
'style' => 'height',
'type' => 'text',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => '1' ),
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'type' => 'header',
'condition' => array( 'id' => 'overlay', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header',
'title' => __('Overlay', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box-image-overlay .banner-image|after:background-color',
'id' => 'css_banner-box-image-overlaybanner-imageafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box-image-overlay .banner-image:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box-image-overlay|hover .banner-image|after:background-color',
'id' => 'css_banner-box-image-overlayhoverbanner-imageafter_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box-image-overlay:hover .banner-image:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Description wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:width',
'id' => 'css_banner-box-wrapper_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'width',
'type' => 'text',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'default_unit' => '%',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
'std' => '60%',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper:max-width',
'id' => 'css_banner-box_max_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper',
'style' => 'max-width',
'type' => 'text',
'default_unit' => '%',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Max width', 'mfn-opts'),
'std' => '100%',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper:text-align',
'id' => 'css_banner-box_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper:padding',
'id' => 'css_banner-box_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-style',
'id' => 'css_banner-box-wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_bannerdesc',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-width',
'id' => 'css_banner-box-wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerdesc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-radius',
'id' => 'css_banner-box-wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:box-shadow',
'id' => 'css_banner-box-wrapper_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-hidden-content-gap',
'id' => 'css_banner-box_mfn_banner_box_hidden_content_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => '--mfn-banner-box-hidden-content-gap',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Hidden content gap', 'mfn-opts'),
'std' => '15px',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled activeif activeif-style mfn-vb-formrow mfn-vb-mfnuidhere" data-conditionid="style" data-opt="is" data-val="boxed"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-color',
'id' => 'css_banner-box-wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerdesc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:background-color',
'id' => 'css_banner-box-wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'style' => 'background-color',
'type' => 'color',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed|hover .banner-wrapper:border-color',
'id' => 'css_banner-box-banner-box-boxedhoverbanner-wrapper_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed:hover .banner-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerdesc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed.mfn-banner-box-boxed|hover .banner-wrapper:background-color',
'id' => 'css_banner-box-boxedhoverbanner-wrapper_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed.mfn-banner-box-boxed:hover .banner-wrapper',
'style' => 'background-color',
'type' => 'color',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title:typography',
'id' => 'css_banner-box_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title:margin',
'id' => 'css_banner-box_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title:color',
'id' => 'css_banner-box_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .title:color',
'id' => 'css_banner-box_title_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle:typography',
'id' => 'css_banner-box_subtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle:margin',
'id' => 'css_banner-box_subtitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle:color',
'id' => 'css_banner-box_subtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .subtitle:color',
'id' => 'css_banner-box_subtitle_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'bb_excerpt', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt:typography',
'id' => 'css_banner-box_excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt:margin',
'id' => 'css_banner-box_excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt:color',
'id' => 'css_banner-box_excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .excerpt:color',
'id' => 'css_banner-box_excerpt_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => '' ),
'class' => 'toggled_header',
'title' => __('CTA', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:typography',
'id' => 'css_banner-box_cta-text_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:margin',
'id' => 'css_banner-box_cta-text_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:padding',
'id' => 'css_banner-box_cta-text_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-style',
'id' => 'css_banner-box_cta-text_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'border-style',
'attr_id' => 'border_style_bannercta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-width',
'id' => 'css_banner-box_cta-text_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannercta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-radius',
'id' => 'css_banner-box_cta-text_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:box-shadow',
'id' => 'css_banner-box_cta-text_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:color',
'id' => 'css_banner-box_cta-text_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:background-color',
'id' => 'css_banner-box_cta-text_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-color',
'id' => 'css_banner-box_cta-text_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannercta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-text:color',
'id' => 'css_banner-box_cta-text_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-text',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-text:background-color',
'id' => 'css_banner-box_cta-text_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-text',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-text:border-color',
'id' => 'css_banner-box_cta-text_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-text',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannercta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'icon' ),
'class' => 'toggled_header',
'title' => __('CTA', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-cta-icon-size',
'id' => 'css_banner-box_mfn_banner_box_cta_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => '--mfn-banner-box-cta-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1000, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:margin',
'id' => 'css_banner-box_cta-icon_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:width',
'id' => 'css_banner-box_cta-icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:height',
'id' => 'css_banner-box_cta-icon_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-style',
'id' => 'css_banner-box_cta-icon_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'border-style',
'attr_id' => 'border_style_bannericoncta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-width',
'id' => 'css_banner-box_cta-icon_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannericoncta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-radius',
'id' => 'css_banner-box_cta-icon_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:box-shadow',
'id' => 'css_banner-box_cta-icon_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:color',
'id' => 'css_banner-box_cta-icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:background-color',
'id' => 'css_banner-box_cta-icon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-color',
'id' => 'css_banner-box_cta-icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannericoncta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-icon:color',
'id' => 'css_banner-box_cta-icon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-icon:background-color',
'id' => 'css_banner-box_cta-icon_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-icon:border-color',
'id' => 'css_banner-box_cta-icon_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannericoncta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'image' ),
'class' => 'toggled_header',
'title' => __('CTA', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-cta-image-width',
'id' => 'css_banner-box_mfn_banner_box_cta_image_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => '--mfn-banner-box-cta-image-width',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Image size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1920, 'step' => 1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:width',
'id' => 'css_banner-box_cta-image_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:height',
'id' => 'css_banner-box_cta-image_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:margin',
'id' => 'css_banner-box_cta-image_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-style',
'id' => 'css_banner-box_cta-image_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'border-style',
'attr_id' => 'border_style_bannerimagecta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-width',
'id' => 'css_banner-box_cta-image_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-radius',
'id' => 'css_banner-box_cta-image_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:box-shadow',
'id' => 'css_banner-box_cta-image_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:background-color',
'id' => 'css_banner-box_cta-image_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-color',
'id' => 'css_banner-box_cta-image_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-image:background-color',
'id' => 'css_banner-box_cta-image_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-image',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-wrapper .cta-image:border-color',
'id' => 'css_banner-box_cta-image_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-wrapper .cta-image',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'bb_badge', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'bb_badge_pos',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Top Right', 'mfn-opts'),
'top-left' => __('Top Left', 'mfn-opts'),
'bottom-right' => __('Bottom Right', 'mfn-opts'),
'bottom-left' => __('Bottom Left', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-badge-offset',
'id' => 'css_banner-box_mfn_banner_box_badge_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'style' => '--mfn-banner-box-badge-offset',
'type' => 'sliderbar',
'title' => __('Offset', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:padding',
'id' => 'css_banner-box-badge_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:typography',
'id' => 'css_banner-box-badge_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-style',
'id' => 'css_banner-box-badge_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'border-style',
'attr_id' => 'border_style_bannerimagecta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-width',
'id' => 'css_banner-box-badge_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-radius',
'id' => 'css_banner-box-badge_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:box-shadow',
'id' => 'css_banner-box-badge_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:color',
'id' => 'css_banner-box-badge_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:background-color',
'id' => 'css_banner-box-badge_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-color',
'id' => 'css_banner-box-badge_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-badge:color',
'id' => 'css_banner-box-badge_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-badge',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-badge:background-color',
'id' => 'css_banner-box-badge_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-badge',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box|hover .banner-badge:border-color',
'id' => 'css_banner-box-badge_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:hover .banner-badge',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Before After ---------------------------------------------------
'before_after' => array(
'type' => 'before_after',
'title' => __('Before After', 'mfn-opts'),
'size' => '1/3',
'tablet_size' => '1/3',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
// image
array(
'type' => 'header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image_before',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Before', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'image_after',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('After', 'mfn-opts'),
'desc' => __('Both images <b>must have the same size</b>', 'mfn-opts'),
'std' => $this->get_placeholder(),
),
array(
'id' => 'size',
'type' => 'select',
're_render' => true,
'title' => __('Size', 'mfn-opts'),
'desc' => __('Select image size from <a target="_blank" href="options-media.php">Settings > Media > Image sizes</a> (Media Library images only)<br />or use below fields for HTML resize', 'mfn-opts'),
'php_options' => array(
'full' => __('Full size', 'mfn-opts'),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
// label
array(
'type' => 'header',
'title' => __('Label', 'mfn-opts'),
),
array(
'id' => 'label_before',
'type' => 'text',
'title' => __('Before', 'mfn-opts'),
),
array(
'id' => 'label_after',
'type' => 'text',
'title' => __('After', 'mfn-opts'),
),
// deprecated
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Slider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper:--mfn-before-after-slider',
'id' => 'css_twentytwenty-wrapper_before_after_slider',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper',
'style' => '--mfn-before-after-slider',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper:--mfn-before-after-label',
'id' => 'css_twentytwenty-wrapper_mfn_before_after_label',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper',
'style' => '--mfn-before-after-label',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper:--mfn-before-after-label-color',
'id' => 'css_twentytwenty-wrapper_before_after_label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper',
'style' => '--mfn-before-after-label-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Blockquote -----------------------------------------------------
'blockquote' => array(
'type' => 'blockquote',
'title' => __('Blockquote', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'used_fonts' => '',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'class' => 'form-content-full-width',
'editor' => 'basic',
'preview' => 'content',
),
array(
'id' => 'icon',
'type' => 'icon',
'themeoptions' => 'style:',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'author',
'type' => 'text',
'edit_tag' => '.blockquote .author | span',
'edit_position' => 'append',
'title' => __('Author', 'mfn-opts'),
'std' => __('This is the author', 'mfn-opts'),
),
array(
'id' => 'icon_author',
'type' => 'icon',
'title' => __('Icon author', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-align',
'id' => 'css_blockquoteblockquote_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:color',
'id' => 'css_blockquoteblockquote_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:margin',
'id' => 'css_blockquoteblockquote_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-shadow',
'id' => 'css_blockquoteblockquote_text_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'text-shadow',
'type' => 'text_shadow',
'class' => 'mfn-toggled',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:typography',
'id' => 'css_blockquoteblockquote_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Content icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:color',
'id' => 'css_blockquote-icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'style' => 'color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:font-size',
'id' => 'css_blockquote-icon_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'style' => 'font-size',
'type' => 'sliderbar',
'themeoptions' => 'style:',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:top',
'id' => 'css_blockquote-icon_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'style' => 'top',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Top', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:left',
'id' => 'css_blockquote-icon_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'style' => 'left',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Left', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:bottom',
'id' => 'css_blockquote-icon_bottom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'style' => 'bottom',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Bottom', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:right',
'id' => 'css_blockquote-icon_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'style' => 'right',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Right', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Author', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author:text-align',
'id' => 'css_blockquoteauthor_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author a:color',
'id' => 'css_blockquoteauthorspanblockquoteauthora_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author:typography',
'id' => 'css_blockquoteauthor_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author:margin',
'id' => 'css_blockquoteauthor_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Author icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i:color',
'id' => 'css_blockquoteauthori_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i:margin',
'id' => 'css_blockquoteauthori_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-decoration-color',
'id' => 'css_blockquote_text_decoration_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-underline-offset',
'id' => 'css_blockquote_text_underline_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-decoration-thickness',
'id' => 'css_blockquoteblockquote_text_decoration_thickness',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Blog -----------------------------------------------------------
'blog' => array(
'type' => 'blog',
'title' => __('Blog', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Posts number', 'mfn-opts'),
'std' => '3',
'after' => 'posts',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'classic' => __('Classic - 1 column', 'mfn-opts'),
'grid' => __('Grid - 2-4 columns', 'mfn-opts'),
'masonry' => __('Masonry blog style - 2-4 columns', 'mfn-opts'),
'masonry tiles' => __('Masonry tiles - 2-4 columns', 'mfn-opts'),
'photo' => __('Photo - 1 column', 'mfn-opts'),
'photo2' => __('Photo 2 - 1-3 columns', 'mfn-opts'),
'timeline' => __('Timeline - 1 column', 'mfn-opts'),
),
'std' => 'grid',
'preview' => 'style',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'desc' => __('for style: Grid, Masonry, Photo 2', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'std' => '3',
),
array(
'id' => 'title_tag',
're_render' => true,
'type' => 'switch',
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2'
),
array(
'id' => 'images',
're_render' => true,
'type' => 'switch',
'title' => __('Post image', 'mfn-opts'),
'desc' => __('for all styles except Masonry tiles', 'mfn-opts'),
'options' => array(
'' => 'Default',
'images-only' => 'Featured images only',
),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do <b>not</b> use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'exclude_id',
're_render' => true,
'type' => 'text',
'title' => __('Exclude posts', 'mfn-opts'),
'desc' => __('IDs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
),
array(
'id' => 'related',
're_render' => true,
'type' => 'switch',
'title' => __('Use as related posts', 'mfn-opts'),
'desc' => __('Exclude current post on single post page. This option will overwrite exclude posts option above.', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'filters',
'attr_id' => 'filters',
're_render' => true,
'type' => 'select',
'title' => __('Filters', 'mfn-opts'),
'desc' => __('for style: Masonry and category: All<br />Does <b>not</b> work with pagination or load more', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
'only-categories' => __('Show only categories', 'mfn-opts'),
'only-tags' => __('Show only tags', 'mfn-opts'),
'only-authors' => __('Show only authors', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'excerpt',
're_render' => true,
'type' => 'switch',
'title' => __('Excerpt', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'more',
're_render' => true,
'type' => 'switch',
'title' => __('Read more', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
// pagination
array(
'type' => 'header',
'title' => __('Pagination', 'mfn-opts'),
),
array(
'id' => 'pagination',
're_render' => true,
'type' => 'switch',
'title' => __('Pagination', 'mfn-opts'),
'desc' => __('Does <b>not</b> work on WMPL homepage', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'load_more',
're_render' => true,
'type' => 'switch',
'title' => __('Load more', 'mfn-opts'),
'desc' => __('Sliders will be replaced with featured images', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'margin',
'desc' => __('For style: Masonry tiles', 'mfn-opts'),
'type' => 'switch',
'title' => __('Margin', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// plugins
array(
'type' => 'header',
'title' => __('Plugins', 'mfn-opts'),
),
array(
'id' => 'events',
'type' => 'switch',
'title' => __('Events', 'mfn-opts'),
'desc' => __('for category: All<br />requires free The Events Calendar plugin', 'mfn-opts'),
'options' => array(
0 => __('Exclude', 'mfn-opts'),
1 => __('Include', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'margin',
'type' => 'switch',
'class' => 'mfn-deprecated',
'title' => __('Margin', 'mfn-opts'),
'desc' => __('for style: Masonry tiles', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:background-color',
'id' => 'css_post-item_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:padding',
'id' => 'css_post-item_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-style',
'id' => 'css_post-item_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'style' => 'border-style',
'attr_id' => 'border_style_blog_item',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-color',
'id' => 'css_post-item_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_blog_item', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-width',
'id' => 'css_post-item_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_blog_item', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-radius',
'id' => 'css_post-item_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-style',
'id' => 'css_post-itemimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_blogitem',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-color',
'id' => 'css_post-itemimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_blogitem', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-width',
'id' => 'css_post-itemimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_blogitem', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-radius',
'id' => 'css_post-itemimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc:background-color',
'id' => 'css_post-desc_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc-wrapper:margin',
'id' => 'css_post-desc-wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc:padding',
'id' => 'css_post-desc_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Post header', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:background-color',
'id' => 'css_post-descpost-head_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta:color',
'id' => 'css_post-descpost-headpost-meta_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:margin',
'id' => 'css_post-descpost-head_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:padding',
'id' => 'css_post-descpost-head_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-style',
'id' => 'css_post-descpost-head_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'border-style',
'attr_id' => 'border_style_bloghead',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-color',
'id' => 'css_post-descpost-head_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bloghead', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-width',
'id' => 'css_post-descpost-head_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bloghead', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-radius',
'id' => 'css_post-descpost-head_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:typography',
'id' => 'css_post-descpost-head_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta a:color',
'id' => 'css_post-descpost-headpost-metaa_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta a',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta a|hover:color',
'id' => 'css_post-descpost-headpost-metaahover_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title a:color',
'id' => 'css_post-descpost-titleentry-titlea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title:margin',
'id' => 'css_post-descpost-titleentry-title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title:typography',
'id' => 'css_post-descpost-titleentry-title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt:color',
'id' => 'css_post-descpost-excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt:margin',
'id' => 'css_post-descpost-excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt:typography',
'id' => 'css_post-descpost-excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Post footer', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:background-color',
'id' => 'css_post-descpost-footer_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer .button-love a .label:color',
'id' => 'css_post_footer_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer .button-love a .label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:margin',
'id' => 'css_post-descpost-footer_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:padding',
'id' => 'css_post-descpost-footer_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-style',
'id' => 'css_post-descpost-footer_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'border-style',
'attr_id' => 'border_style_blogpf',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-color',
'id' => 'css_post-descpost-footer_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_blogpf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-width',
'id' => 'css_post-descpost-footer_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_blogpf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-radius',
'id' => 'css_post-descpost-footer_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:typography',
'id' => 'css_post-descpost-footer_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer a:color',
'id' => 'css_post-descpost-footera_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer a',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer a|hover:color',
'id' => 'css_post-descpost-footera_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Masonry tiles line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-title|after:background',
'id' => 'css_post-titleafter_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-title:after',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Timeline', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label:color',
'id' => 'css_post-itemdate_label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Date color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label:--mfn-blog-date-bg',
'id' => 'css_post-itemdate_label_blog_date_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label',
'style' => '--mfn-blog-date-bg',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Date background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label:padding',
'id' => 'css_post-itemdate_label_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item|before:border-color',
'id' => 'css_post-itembefore_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:before',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Dot color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'filters', 'opt' => 'isnt', 'val' => '0' ),
'title' => __('Filters', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Nav', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:padding',
'id' => 'css_filters_buttons_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:background',
'id' => 'css_filters_buttons_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-style',
'id' => 'css_filters_buttons_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'style' => 'border-style',
'attr_id' => 'border_style_blog_filters',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-color',
'id' => 'css_filters_buttons_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_blog_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-width',
'id' => 'css_filters_buttons_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_blog_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-radius',
'id' => 'css_filters_buttons_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li:color',
'id' => 'css_filters_buttonsli_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li:typography',
'id' => 'css_filters_buttonsli_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li a:color',
'id' => 'css_filters_buttonslia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li a|hover:color',
'id' => 'css_filters_buttonslia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Filters', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:padding',
'id' => 'css_filters_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:margin',
'id' => 'css_filters_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:background',
'id' => 'css_filters_wrapper_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-style',
'id' => 'css_filters_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-width',
'id' => 'css_filters_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-radius',
'id' => 'css_filters_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Filters items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:width',
'id' => 'css_filters_wrapperli_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Items width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:padding',
'id' => 'css_filters_wrapperlia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:margin',
'id' => 'css_filters_wrapperli_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-style',
'id' => 'css_filters_wrapperlia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-width',
'id' => 'css_filters_wrapperlia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-radius',
'id' => 'css_filters_wrapperlia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:typography',
'id' => 'css_filters_wrapperli_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:color',
'id' => 'css_filters_wrapperlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:background-color',
'id' => 'css_filters_wrapperlia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-color',
'id' => 'css_filters_wrapperlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a|hover:color',
'id' => 'css_filters_wrapperlia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a|hover:background-color',
'id' => 'css_filters_wrapperlia_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a|hover:border-color',
'id' => 'css_filters_wrapperlia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a:color',
'id' => 'css_filters_wrapperlicurrent-cata_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a:background-color',
'id' => 'css_filters_wrapperlicurrent-cata_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a:border-color',
'id' => 'css_filters_wrapperlicurrent-cata_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Filters exit', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:width',
'id' => 'css_filters_wrapperliclosea_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:padding',
'id' => 'css_filters_wrapperliclosea_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:color',
'id' => 'css_filters_wrapperliclosea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:background-color',
'id' => 'css_filters_wrapperliclosea_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:border-color',
'id' => 'css_filters_wrapperliclosea_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a|hover:color',
'id' => 'css_filters_wrapperliclosea_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a|hover:background-color',
'id' => 'css_filters_wrapperliclosea_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a|hover:border-color',
'id' => 'css_filters_wrapperliclosea_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Blog News ------------------------------------------------------
'blog_news' => array(
'type' => 'blog_news',
'title' => __('Blog News', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.Latest_news | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'items_title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Items title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
array(
'id' => 'count',
'type' => 'text',
're_render' => true,
'title' => __('Posts number', 'mfn-opts'),
'std' => '5',
'after' => 'posts',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'featured' => __('Featured 1st', 'mfn-opts'),
),
'preview' => 'style',
),
array(
'id' => 'featured_title_tag',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'featured' ),
'type' => 'switch',
're_render' => true,
'title' => __('Featured title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do <b>not</b> use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC',
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'excerpt',
'type' => 'switch',
're_render' => true,
'title' => __('Excerpt', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
'featured' => __('Show for featured only', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
're_render' => true,
'title' => __('Button link', 'mfn-opts'),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
're_render' => true,
'title' => __('Button title', 'mfn-opts'),
),
// deprecated
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title:color',
'id' => 'css_latest_newstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title:margin',
'id' => 'css_latest_newstitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title:typography',
'id' => 'css_latest_newstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-style',
'id' => 'css_latest_newsliphoto_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'style' => 'border-style',
'attr_id' => 'border_style_lnp',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-color',
'id' => 'css_latest_newsliphoto_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_lnp', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-width',
'id' => 'css_latest_newsliphoto_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_lnp', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-radius',
'id' => 'css_latest_newsliphoto_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Featured title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a:color',
'id' => 'css_latest_newsfeatureddesch4a_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4:margin',
'id' => 'css_latest_newsfeatureddesch4_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a:typography',
'id' => 'css_latest_news_featured_desc_title_4_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a:color',
'id' => 'css_latest_newsdesch5a_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5:margin',
'id' => 'css_latest_newsdesch5_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a:typography',
'id' => 'css_latest_news_featured_desc_title_5_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt:color',
'id' => 'css_latest_newsdescpost-excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt:margin',
'id' => 'css_latest_newsdescpost-excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt:typography',
'id' => 'css_latest_newsdescpost-excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Post footer', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:background-color',
'id' => 'css_latest_newsullidesc_footer_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer .button-love a .label:color',
'id' => 'css_post_footer_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer .button-love a .label',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:margin',
'id' => 'css_latest_newsullidesc_footer_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:padding',
'id' => 'css_latest_newsullidesc_footer_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-style',
'id' => 'css_latest_newsullidesc_footer_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'border-style',
'attr_id' => 'border_style_lndf',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-color',
'id' => 'css_latest_newsullidesc_footer_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_lndf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-width',
'id' => 'css_latest_newsullidesc_footer_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_lndf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-radius',
'id' => 'css_latest_newsullidesc_footer_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:typography',
'id' => 'css_latest_newsullidesc_footer_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer a:color',
'id' => 'css_latest_newsullidesc_footera_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer a',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer a|hover:color',
'id' => 'css_latest_newsullidesc_footera_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Blog Slider ----------------------------------------------------
'blog_slider' => array(
'type' => 'blog_slider',
'title' => __('Blog Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'style',
'attr_id' => 'blog_slider_style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flat' => __('Flat', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'title',
'condition' => array( 'id' => 'blog_slider_style', 'opt' => 'is', 'val' => '' ),
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'edit_tag' => '.blog_slider_header | .title',
'edit_class' => 'title',
'dynamic_data' => 'title',
'edit_position' => 'prepend',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'count',
'type' => 'text',
're_render' => true,
'title' => __('Posts number', 'mfn-opts'),
'std' => '5',
'after' => 'posts',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
'type' => 'text',
're_render' => true,
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do <b>not</b> use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'one_post_per_slide',
'type' => 'switch',
're_render' => true,
'title' => __('One post per slide', 'mfn-opts'),
'desc' => __('Display single post per slide, instead few of them', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'excerpt',
'type' => 'switch',
're_render' => true,
'title' => __('Excerpt', 'mfn-opts'),
'options' => array(
'' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'more',
'condition' => array( 'id' => 'blog_slider_style', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
're_render' => true,
'title' => __('Read more', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'navigation',
'condition' => array( 'id' => 'blog_slider_style', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
're_render' => true,
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'hide-arrows' => __('Hide arrows', 'mfn-opts'),
'hide-dots' => __('Hide dots', 'mfn-opts'),
'hide-nav' => __('Hide nav', 'mfn-opts'),
),
'std' => '',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:color',
'id' => 'css_blog_slider_headertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:margin',
'id' => 'css_blog_slider_headertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:typography',
'id' => 'css_blog_slider_headertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-style',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_bs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-color',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-width',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-radius',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:margin',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4 a:color',
'id' => 'css_blog_slider_ullidesch4a_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4 a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4:margin',
'id' => 'css_blog_slider_ullidesch4_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4:typography',
'id' => 'css_blog_slider_ullidesch4_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt:color',
'id' => 'css_blog_slider_ullidescpost_excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt:margin',
'id' => 'css_blog_slider_ullidescpost_excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt:typography',
'id' => 'css_blog_slider_ullidescpost_excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:padding',
'id' => 'css_blog_sliderbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:typography',
'id' => 'css_blog_sliderbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-style',
'id' => 'css_blog_sliderbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-width',
'id' => 'css_blog_sliderbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-radius',
'id' => 'css_blog_sliderbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:color',
'id' => 'css_blog_sliderbutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-color',
'id' => 'css_blog_sliderbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:background-color',
'id' => 'css_blog_sliderbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:gradient',
'id' => 'css_blog_sliderbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button|hover:color',
'id' => 'css_blog_sliderbutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button|hover:border-color',
'id' => 'css_blog_sliderbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button|hover:background',
'id' => 'css_blog_sliderbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button|hover:gradient',
'id' => 'css_blog_sliderbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:padding',
'id' => 'css_blog_sliderblog_slider_headerbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:typography',
'id' => 'css_blog_sliderblog_slider_headerbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-style',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-width',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-radius',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button .button_icon i:color',
'id' => 'css_arrows_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button .button_icon i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-color',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:background-color',
'id' => 'css_arrows_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:gradient',
'id' => 'css_blog_sliderblog_slider_headerbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button|hover:color',
'id' => 'css_blog_sliderblog_slider_headerbutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button|hover:border-color',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button|hover:background',
'id' => 'css_blog_sliderblog_slider_headerbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button|hover:gradient',
'id' => 'css_blog_sliderblog_slider_headerbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dots', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a:margin',
'id' => 'css_blog_slider_paginationlia_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a|after:background-color',
'id' => 'css_dots_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li|hover a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li|hover a|after:background-color',
'id' => 'css_dots_bg_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li:hover a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li:hover a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li.slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li.slick-active a|after:background-color',
'id' => 'css_dots_bg_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li.slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li.slick-active a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Date', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper:--mfn-blog-slider-date-bg',
'id' => 'css_blog_slider_ulliitem_wrapper_mfn_blog_slider_date_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper',
'style' => '--mfn-blog-slider-date-bg',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:color',
'id' => 'css_blog_slider_ullidate_label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:margin',
'id' => 'css_blog_slider_ullidate_label_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:padding',
'id' => 'css_blog_slider_ullidate_label_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:typography',
'id' => 'css_blog_slider_ullidate_label_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc hr:background',
'id' => 'css_blog_slider_ullideschr_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc hr',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
// advanced here
),
),
// Blog Teaser ------------------------------------------------------
'blog_teaser' => array(
'type' => 'blog_teaser',
'title' => __('Blog Teaser', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.blog-teaser | .title',
'edit_position' => 'prepend',
'dynamic_data' => 'title',
'title' => __('Heading', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3'
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'desc' => __('Title tag for 1st item, others use a smaller one', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
'type' => 'text',
're_render' => true,
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do <b>not</b> use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'margin',
'type' => 'switch',
're_render' => true,
'title' => __('Margin', 'mfn-opts'),
'options' => array(
'0' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
'std' => '0'
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title:color',
'id' => 'css_blog-teasertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title:margin',
'id' => 'css_blog-teasertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title:typography',
'id' => 'css_blog-teasertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-style',
'id' => 'css_teaser-wrapperli_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'style' => 'border-style',
'attr_id' => 'border_style_tw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-color',
'id' => 'css_teaser-wrapperli_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_tw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-width',
'id' => 'css_teaser-wrapperli_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_tw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-radius',
'id' => 'css_teaser-wrapperli_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a:color',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-titlea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a:typography',
'id' => 'css_blog-teaser-wrapperlidescpost-titlea_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Post header', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:background-color',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:color',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-meta_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:margin',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-meta_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:padding',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-meta_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-style',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'border-style',
'attr_id' => 'border_style_twpm',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-color',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_twpm', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-width',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_twpm', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-radius',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:typography',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta a:color',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-metaa_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta a',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta a|hover:color',
'id' => 'css_blog-teaser-wrapperlidescpost-metaa_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser li .desc-wrapper .desc .post-title|after:background-color',
'id' => 'css_blog-teaserlidesc-wrapperdescpost-titleafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser li .desc-wrapper .desc .post-title:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Breadcrumbs ------------------------------------------------------
'breadcrumbs' => array(
'type' => 'breadcrumbs',
'title' => __('Breadcrumbs', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'separator',
'type' => 'text',
'title' => __('Separator', 'mfn-opts'),
'std' => __('>', 'mfn-opts'),
),
array(
'id' => 'breadcrumb_home',
'type' => 'switch',
're_render' => true,
'title' => __('Home page', 'mfn-opts'),
'options' => [
'0' => 'Include',
'1' => 'No', // because by default was included
],
'std' => '0',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs:justify-content',
'id' => 'css_breadcrumbs_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs',
'style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs:typography',
'id' => 'css_breadcrumbs_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs:gap',
'id' => 'css_breadcrumbs_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs',
'style' => 'gap',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li:color',
'id' => 'css_breadcrumbsli_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Text color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li a:color',
'id' => 'css_breadcrumbslia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li|hover a:color',
'id' => 'css_breadcrumbslia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li:hover a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Separator', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator:color',
'id' => 'css_breadcrumbsli-breadcrumbs-separator_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator:font-size',
'id' => 'css_breadcrumbsli-breadcrumbs-separator_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator',
'style' => 'font-size',
'type' => 'sliderbar',
'title' => __('Size', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'type' => 'html',
'html' => '</div>',
)
)
),
// Button ----------------------------------------------------
'button' => array(
'type' => 'button',
'title' => __('Button', 'mfn-opts'),
'preview' => true, // instant preview
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.button | span.button_label',
'edit_position' => 'append',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('Click here', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// icon
array(
'type' => 'header',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'class' => 'mfn-class-editor-form-row-visible',
'attr_id' => 'button_icon_select',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Position', 'mfn-opts'),
'class' => 'mfn-class-editor-form-row-visible',
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'left',
),
// style
array(
'type' => 'header',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'size',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Size', 'mfn-opts'),
'options' => array(
1 => __('Small', 'mfn-opts'),
2 => __('Default', 'mfn-opts'),
3 => __('Large', 'mfn-opts'),
4 => __('XL', 'mfn-opts'),
),
'std' => '2',
),
array(
'id' => 'full_width',
'attr_id' => 'full_width',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Width', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
1 => __('Full width', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_button_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button.button_full_width',
'style' => 'justify-content',
'responsive' => true,
'condition' => array( 'id' => 'full_width', 'opt' => 'is', 'val' => '1' ),
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Horizontal align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
),
),
array(
'id' => 'button_style',
're_render' => true,
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'button_theme' => __('Highlighted', 'mfn-opts'),
'action_button' => __('Action', 'mfn-opts'),
),
'std' => '',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'button_function',
'attr_id' => 'button_function',
'type' => 'select',
'title' => __('Functional button', 'mfn-opts'),
'desc' => __('Read more doesn\'t support inner wraps.', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'exit-mfn-popup' => __('Close popup', 'mfn-opts'),
'open-mfn-popup' => __('Open popup', 'mfn-opts'),
'mfn-go-to' => __('Go to Section', 'mfn-opts'),
'mfn-read-more' => __('Read more', 'mfn-opts'),
'mfn-copy-to-clipboard' => __('Copy to clipboard', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'button_function_copy_to_clipboard',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-copy-to-clipboard' ),
'type' => 'text',
'title' => __('Copy to clipboard text', 'mfn-opts'),
),
array(
'id' => 'button_function_copy_to_clipboard_tooltip',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-copy-to-clipboard' ),
'type' => 'text',
'title' => __('Tooltip text', 'mfn-opts'),
'std' => __('Copy to clipboard', 'mfn-opts'),
'desc' => __('Text on the tooltip. Leave this field empty to not display the tooltip.', 'mfn-opts'),
),
array(
'id' => 'button_function_copy_to_clipboard_copied_tooltip',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-copy-to-clipboard' ),
'type' => 'text',
'title' => __('Confirmation text', 'mfn-opts'),
'std' => __('Copied', 'mfn-opts'),
),
array(
'id' => 'button_function_read_more_title',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'text',
'title' => __('Button title after expand', 'mfn-opts'),
),
array(
'id' => 'button_function_read_more_icon',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'icon',
'title' => __('Button icon after expand', 'mfn-opts'),
),
array(
'id' => 'button_function_go_to',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-go-to' ),
'type' => 'select',
'title' => __('Section to go', 'mfn-opts'),
'options' => array(
'' => __('Next', 'mfn-opts'),
'last' => __('Last', 'mfn-opts'),
'prev' => __('Prev', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'button_function_popupid',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'open-mfn-popup' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'text',
'title' => __('Class', 'mfn-opts'),
'desc' => __('This option is useful when you want to use <b>scroll</b>', 'mfn-opts'),
),
array(
'id' => 'button_id',
'type' => 'text',
'title' => __('ID', 'mfn-opts'),
'desc' => __('This option is useful when you want to use <b>GTM</b>', 'mfn-opts'),
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename for the downloaded file', 'mfn-opts'),
),
array(
'id' => 'rel',
'type' => 'text',
'title' => __('Rel', 'mfn-opts'),
'before' => 'rel=',
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('Onclick', 'mfn-opts'),
'before' => 'onclick=',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'id' => 'color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'desc' => __('For theme color button please enter <b>theme</b> in color filed', 'mfn-opts'),
),
array(
'id' => 'font_color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Text color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:text-align',
'id' => 'css__text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:padding',
'id' => 'css_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'gap',
'type' => 'sliderbar',
'condition' => array( 'id' => 'button_icon_select', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Gap', 'mfn-opts'),
'desc' => __('Doesn\'t work with space between option.', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_button_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button .button_icon',
'style' => 'font-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'button_icon_select', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:typography',
'id' => 'css_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-style',
'id' => 'css_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-style',
'attr_id' => 'border_style_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-width',
'id' => 'css_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-radius',
'id' => 'css_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:color',
'id' => 'css_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button i',
'style' => 'color',
'type' => 'color',
'condition' => array( 'id' => 'button_icon_select', 'opt' => 'isnt', 'val' => '' ),
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-color',
'id' => 'css_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:background-color',
'id' => 'css_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:gradient',
'id' => 'css_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:transition',
'id' => 'css_button_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button|hover:color',
'id' => 'css_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_button_icon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover i',
'style' => 'color',
'type' => 'color',
'condition' => array( 'id' => 'button_icon_select', 'opt' => 'isnt', 'val' => '' ),
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button|hover:border-color',
'id' => 'css_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_button',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button|hover:background',
'id' => 'css_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button|hover:gradient',
'id' => 'css_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_button', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Call to Action -------------------------------------------------
'call_to_action' => array(
'type' => 'call_to_action',
'title' => __('Call to Action', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'edit_tag' => '.call_left | .title',
'edit_position' => 'prepend',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-check',
'preview' => 'icon',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.call_right | div.desc',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'button_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Button title', 'mfn-opts'),
'desc' => __('Leave this field blank if you want Call to action with big icon', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title:color',
'id' => 'css_call_to_actioncall_lefttitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title:text-align',
'id' => 'css_call_to_actioncall_lefttitle_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title:typography',
'id' => 'css_call_to_actioncall_lefttitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc:color',
'id' => 'css_call_to_actioncall_rightdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc:text-align',
'id' => 'css_call_to_actioncall_rightdesc_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc:typography',
'id' => 'css_call_to_actioncall_rightdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i:color',
'id' => 'css_call_to_actioncall_centericon_wrapperi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:background-color',
'id' => 'css_call_to_actioncall_centericon_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i:font-size',
'id' => 'css_call_to_actioncall_centericon_wrapperi_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-style',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_ctaiw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-color',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ctaiw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-width',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ctaiw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-radius',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:padding',
'id' => 'css_call_to_actioncall_centerbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:typography',
'id' => 'css_call_to_actioncall_centerbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-style',
'id' => 'css_call_to_actioncall_centerbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'border-style',
'attr_id' => 'border_style_ctab',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-width',
'id' => 'css_call_to_actioncall_centerbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ctab', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-radius',
'id' => 'css_call_to_actioncall_centerbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:color',
'id' => 'css_call_to_actioncall_centerbutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-color',
'id' => 'css_call_to_actioncall_centerbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:background-color',
'id' => 'css_call_to_actioncall_centerbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:gradient',
'id' => 'css_call_to_actioncall_centerbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button|hover:color',
'id' => 'css_call_to_actioncall_centerbutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button|hover:border-color',
'id' => 'css_call_to_actioncall_centerbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button|hover:background',
'id' => 'css_call_to_actioncall_centerbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button|hover:gradient',
'id' => 'css_call_to_actioncall_centerbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// cf7 contact form 7 ---------------------------------------------------------
'cf7' => array(
'type' => 'cf7',
'title' => __('Contact Form 7', 'mfn-opts'),
'size' => '1/1',
'laptop_size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'plugins',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'form',
'type' => 'select',
're_render' => true,
'title' => __('Contact form', 'mfn-opts'),
'php_options' => mfna_cf7(),
'js_options' => 'cf7',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:color',
'id' => 'css_formformlabel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form p,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:margin',
'id' => 'css_formpformlabel_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form p,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:typography',
'id' => 'css_formformlabel_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:text-align',
'id' => 'css_formformlabel_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Inputs', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:typography',
'id' => 'css_field_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:text-align',
'id' => 'css_field_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:padding',
'id' => 'css_field_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:margin',
'id' => 'css_field_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-style',
'id' => 'css_field_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'border-style',
'attr_id' => 'border_style_cf7inputs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-width',
'id' => 'css_field_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_cf7inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-radius',
'id' => 'css_field_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Focus</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:color',
'id' => 'css_field_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input||placeholder, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea||placeholder:color',
'id' => 'css_field_placeholder_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input::placeholder, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea::placeholder',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Placeholder color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:background-color',
'id' => 'css_field_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-color',
'id' => 'css_field_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_cf7inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit)|focus,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select|focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea|focus:color',
'id' => 'css_field_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit):focus,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:focus',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|focus||placeholder, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea|focus||placeholder:color',
'id' => 'css_field_placeholder_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:focus::placeholder, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:focus::placeholder',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Placeholder color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit)|focus,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select|focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea|focus:background-color',
'id' => 'css_field_bg_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit):focus,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:focus',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit)|focus,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select|focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea|focus:border-color',
'id' => 'css_field_border_color_focus',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit):focus,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select:focus, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:focus',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_cf7inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Textarea', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:height',
'id' => 'css_textarea_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'style' => 'height',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '700',
'step' => '1',
),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Fields wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .column:padding',
'id' => 'css_formcolumn_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .column',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Modifies div.column that is included by default in the Betheme forms.', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:typography',
'id' => 'css_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:padding',
'id' => 'css_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:margin',
'id' => 'css_button_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-style',
'id' => 'css_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'border-style',
'attr_id' => 'border_style_cf7button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-width',
'id' => 'css_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_cf7button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-radius',
'id' => 'css_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:color',
'id' => 'css_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:background-color',
'id' => 'css_button_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-color',
'id' => 'css_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_cf7button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button|hover:color',
'id' => 'css_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button|hover:background-color',
'id' => 'css_button_bg_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button|hover:border-color',
'id' => 'css_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_cf7button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Chart ---------------------------------------------------------
'chart' => array(
'type' => 'chart',
'title' => __('Chart', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'edit_tag' => '.chart_box | .chart-desc',
'edit_position' => 'append',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'p',
),
// chart
array(
'type' => 'header',
'title' => __('Chart', 'mfn-opts'),
),
array(
'id' => 'percent',
'type' => 'text',
're_render' => true,
'title' => __('Percent', 'mfn-opts'),
'desc' => __('0-100', 'mfn-opts'),
'param' => 'number',
'after' => '%',
'class' => 'narrow',
'preview' => 'number',
'std' => 50,
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-check',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image size <b>70px x 70px</b>', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc:color',
'id' => 'css_chart_boxchart-desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc:typography',
'id' => 'css_chart_boxchart-desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num:color',
'id' => 'css_chart_boxnum_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num:typography',
'id' => 'css_chart_boxnum_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Style Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i:color',
'id' => 'css_chart_boxiconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i:font-size',
'id' => 'css_chart_boxiconi_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Chart', 'mfn-opts'),
),
array(
'id' => 'color',
'type' => 'color',
're_render' => true,
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
'desc' => __('Overrides color set in Theme Options', 'mfn-opts'),
),
array(
'id' => 'line_width',
'type' => 'text',
'title' => __('Line thickness', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow mfn-toggled',
'std' => 4,
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Clients -------------------------------------------------------
'clients' => array(
'type' => 'clients',
'title' => __('Clients', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'in_row',
'type' => 'text',
're_render' => true,
'title' => __('Items in row', 'mfn-opts'),
'desc' => __('Recommended: 3-6', 'mfn-opts'),
'after' => 'items',
'param' => 'number',
'class' => 'narrow',
'std' => 6,
'preview' => 'number',
),
array(
'id' => 'style',
'type' => 'switch',
'attr_id' => 'clients_style',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'tiles' => __('Tiles', 'mfn-opts'),
),
'std' => '',
'preview' => 'style',
),
array(
'id' => 'size',
'type' => 'select',
're_render' => true,
'title' => __('Image size', 'mfn-opts'),
'desc' => __('Select image size from <a target="_blank" href="options-media.php">Settings > Media > Image sizes</a> (Media Library images only).<br />Does <b>not</b> work for SVG images.', 'mfn-opts'),
'options' => array(
'be_clients' => __('Default | 150px x 55px', 'mfn-opts'),
'full' => __('Full size', 'mfn-opts'),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
),
'std' => 'be_clients',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'menu_order'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'ASC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => 'Grayscale',
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper:height',
'id' => 'css_ulclientsliclient_wrapper_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper:padding',
'id' => 'css_ulclientsliclient_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper:background-color',
'id' => 'css_ulclientsliclient_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper|hover:background-color',
'id' => 'css_ulclientsliclient_wrapper_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper:hover',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Style tiles', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#tilenormal" data-tab="tilenormal">Normal</a></li><li><a href="#tilehover" data-tab="tilehover">Hover</a></li></ul><div class="mfn-sft mfn-sft-tilenormal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients.clients_tiles:--mfn-clients-tiles',
'id' => 'css_ulclientsclients_tiles_mfn_clients_tiles',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients.clients_tiles',
'style' => '--mfn-clients-tiles',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-tilehover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients.clients_tiles:--mfn-clients-tiles-hover',
'id' => 'css_ulclientsclients_tiles_clients_tiles_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients.clients_tiles',
'style' => '--mfn-clients-tiles-hover',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Clients Slider -------------------------------------------------
'clients_slider' => array(
'type' => 'clients_slider',
'title' => __('Clients Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.blog_slider_header | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'menu_order'
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'ASC'
),
array(
'id' => 'per_slide',
'type' => 'sliderbar',
're_render' => true,
'title' => __('Clients per slide', 'mfn-opts'),
'desc' => __('The amount will be automatically reduced in the narrow screen', 'mfn-opts'),
'param' => array(
'min' => '1',
'max' => '6',
'step' => '1',
),
'std' => '3',
),
array(
'id' => 'scroll',
'type' => 'switch',
're_render' => true,
'title' => __('Slides to scroll', 'mfn-opts'),
'options' => array(
'' => __('One slide', 'mfn-opts'),
'1' => __('One client', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'navigation',
'type' => 'switch',
're_render' => true,
'title' => __('Navigation position', 'mfn-opts'),
'options' => array(
'' => __('Header', 'mfn-opts'),
'content' => __('Content', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
// custom
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:color',
'id' => 'css_blog_slider_headertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:margin',
'id' => 'css_blog_slider_headertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:typography',
'id' => 'css_blog_slider_headertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper:height',
'id' => 'css_clients_slider_ulliclient_wrapper_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper:padding',
'id' => 'css_clients_slider_ulliclient_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper:background-color',
'id' => 'css_clients_slider_ulliclient_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper|hover:background-color',
'id' => 'css_clients_slider_ulliclient_wrapper_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:padding',
'id' => 'css_clients_sliderbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:typography',
'id' => 'css_clients_sliderbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-style',
'id' => 'css_clients_sliderbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'border-style',
'attr_id' => 'border_style_csb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-width',
'id' => 'css_clients_sliderbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_csb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-radius',
'id' => 'css_clients_sliderbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button .button_icon i:color',
'id' => 'css_clients_sliderbuttonbutton_iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button .button_icon i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-color',
'id' => 'css_clients_sliderbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:background-color',
'id' => 'css_clients_sliderbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:gradient',
'id' => 'css_clients_sliderbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button|hover .button_icon i:color',
'id' => 'css_clients_sliderbuttonbutton_iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:hover .button_icon i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button|hover:border-color',
'id' => 'css_clients_sliderbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button|hover:background',
'id' => 'css_clients_sliderbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button|hover:gradient',
'id' => 'css_clients_sliderbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Code ----------------------------------------------------------
'code' => array(
'type' => 'code',
'title' => __('Code', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.mcb-item-code-inner | pre.mfn-code',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
'class' => 'form-content-full-width',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Column --------------------------------------------------------
'column' => array(
'type' => 'column',
'title' => __('Column Text', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'preview' => true, // instant preview
'used_fonts' => '',
'cat' => 'typography',
'attr' => array(
//'fields' => array(
// HTML content
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'type' => $this->get_column_editor(), // textarea, visual
'title' => __('Content', 'mfn-opts'),
'class' => 'form-content-full-width',
'dynamic_data' => 'content',
'editor' => 'full', // basic (bold, i, etc), full (media, shortcodes)
'preview' => 'content',
'vbstd' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'desc' => __('This field is only used as label in the builder', 'mfn-opts'),
'preview' => 'title',
'class' => 'mfn-hidden-form-row',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:text-align',
'id' => 'css_column_attr_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:color',
'id' => 'css_column_attr_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'style' => 'color',
'type' => 'color',
'desc' => __('May be overwritten by individual tags or inline CSS', 'mfn-opts'),
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a:color',
'id' => 'css_column_attra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a',
'style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a|hover:color',
'id' => 'css_column_attra_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Link hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:text-shadow',
'id' => 'css_column_attr_text_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'style' => 'text-shadow',
'type' => 'text_shadow',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:typography',
'id' => 'css_column_attr_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'id' => 'align-mobile',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Mobile text align', 'mfn-opts'),
'options' => array(
'' => __('As above', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'id' => 'column_bg',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'bg_image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
),
array(
'id' => 'bg_position',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background position', 'mfn-opts'),
'options' => mfna_bg_position('column'),
'std' => 'center top no-repeat',
),
array(
'id' => 'bg_size',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background size', 'mfn-opts'),
'options' => mfna_bg_size(),
),
array(
'id' => 'margin_bottom',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Margin bottom', 'mfn-opts'),
'options' => array(
'' => __('- Default -', 'mfn-opts'),
'0px' => '0px',
'10px' => '10px',
'20px' => '20px',
'30px' => '30px',
'40px' => '40px',
'50px' => '50px',
),
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Use value with <b>px</b> or <b>%</b>. Example: <b>20px</b> or <b>20px 10px 20px 10px</b> or <b>20px 1%</b>', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'style',
'type' => 'textarea',
'title' => __('Column inline CSS', 'mfn-opts'),
'desc' => __('Example: <b>border: 1px solid #999;</b>', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'helper',
'class' => 'mfn-deprecated',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/faq/what-deprecated-in-the-bebuilder-means/',
),
// HTML end: settings
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Contact box ----------------------------------------------------
'contact_box' => array(
'type' => 'contact_box',
'title' => __('Contact Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'dynamic_data' => 'title',
'type' => 'text',
'edit_tag' => '.get_in_touch | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'address',
'type' => 'textarea',
'dynamic_data' => 'content',
'title' => __('Address', 'mfn-opts'),
'desc' => __('HTML tags allowed', 'mfn-opts'),
'std' => 'This is the address',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'telephone',
'type' => 'text',
'title' => __('Phone', 'mfn-opts'),
),
array(
'id' => 'telephone_2',
'type' => 'text',
'title' => __('Second phone', 'mfn-opts'),
),
array(
'id' => 'fax',
'type' => 'text',
'title' => __('Fax', 'mfn-opts'),
),
array(
'id' => 'email',
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
array(
'id' => 'www',
'type' => 'text',
'title' => __('WWW', 'mfn-opts'),
),
// advanced
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title:color',
'id' => 'css_get_in_touchtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title:margin',
'id' => 'css_get_in_touchtitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title:typography',
'id' => 'css_get_in_touchtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon:color',
'id' => 'css_get_in_touchulliicon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li:color',
'id' => 'css_get_in_touchget_in_touch_wrapperulli_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a:color',
'id' => 'css_get_in_touchullia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a',
'style' => 'color',
'type' => 'color',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a|hover:color',
'id' => 'css_get_in_touchullia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li:--mfn-contactbox-line',
'id' => 'css_get_in_touchulli_mfn_contactbox_line',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li',
'style' => '--mfn-contactbox-line',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Content -------------------------------------------------------
'content' => array(
'type' => 'content',
'title' => __('Content WP', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Content from WordPress editor. Can be used once per page.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Countdown 2 -----------------------------------------------------
'countdown_2' => array(
'type' => 'countdown_2',
'title' => __('Countdown', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content active">',
),
array(
'id' => 'date',
'type' => 'text',
're_render' => true,
'title' => __('Launch date', 'mfn-opts'),
'desc' => __('month/day/year hour:minute:second<br />+7 = seven days (till midnight)<br />*24 = twenty four hours', 'mfn-opts'),
'std' => '12/30/2025 12:00:00',
'preview' => 'title',
),
array(
'id' => 'timezone',
'type' => 'select',
're_render' => true,
'title' => __('Timezone (server)', 'mfn-opts'),
'options' => mfna_utc(),
'std' => '0',
),
array(
'id' => 'show',
're_render' => true,
'type' => 'select',
'responsive' => true,
'title' => __('Show', 'mfn-opts'),
'options' => array(
'' => __('-- Default --', 'mfn-opts'),
'dhms' => __('days hours minutes seconds', 'mfn-opts'),
'dhm' => __('days hours minutes', 'mfn-opts'),
'dh' => __('days hours', 'mfn-opts'),
'd' => __('days', 'mfn-opts'),
'hms' => __('hours minutes seconds', 'mfn-opts'),
),
'std' => '',
),
// settings
array(
'type' => 'header',
'title' => __('Settings', 'mfn-opts'),
),
array(
'id' => 'align',
're_render' => true,
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'center',
),
array(
'id' => 'separator',
'attr_id' => 'separator',
're_render' => true,
'type' => 'switch',
'title' => __('Separator', 'mfn-opts'),
'options' => array(
'off' => __('Disable', 'mfn-opts'),
'' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'separator_sign',
// 'condition' => array( 'id' => 'separator', 'opt' => 'isnt', 'val' => 'off' ),
're_render' => true,
'type' => 'text',
'title' => __('Separator sign', 'mfn-opts'),
'class' => 'narrow',
'std' => ':',
),
// mobile settings
array(
'type' => 'header',
'title' => __('Mobile Settings', 'mfn-opts'),
),
array(
'id' => 'mobile_orientation',
'attr_id' => 'mobile_orientation',
're_render' => true,
'type' => 'switch',
'title' => __('Orientation', 'mfn-opts'),
'options' => array(
'' => __('Horizontal', 'mfn-opts'),
'vertical' => __('Vertical', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'mobile_align',
're_render' => true,
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'center',
),
array(
'id' => 'mobile_separator',
'condition' => array( 'id' => 'mobile_orientation', 'opt' => 'isnt', 'val' => 'vertical' ),
're_render' => true,
'type' => 'switch',
'title' => __('Separator', 'mfn-opts'),
'options' => array(
'off' => __('Disable', 'mfn-opts'),
'' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
// Order
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'number,title',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('General', 'mfn-opts'),
),
array(
'id' => 'css_countdown-spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown',
'style' => '--mfn-countdown-spacing',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '15px',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Countdown item', 'mfn-opts'),
),
array(
'id' => 'css_countdown-item-spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown',
'style' => '--mfn-countdown-countdown-item-spacing',
'type' => 'sliderbar',
'title' => __('Number/Title Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'std' => '10px',
),
array(
'id' => 'css_countdown-item-padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_countdown-item-width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'width',
'type' => 'sliderbar',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'units' => array(
'px' => array('min' => 1, 'max' => 200, 'step' => 1),
'%' => array('min' => 10, 'max' => 100, 'step' => 1),
),
),
array(
'id' => 'css_countdown-item-height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'height',
'type' => 'sliderbar',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_countdown-item-background-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_countdown-item-border-style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'border-style',
'attr_id' => 'css_countdown-item-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_countdown-item-border-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'border-color',
'condition' => array( 'id' => 'css_countdown-item-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_countdown-item-border-width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'border-width',
'condition' => array( 'id' => 'css_countdown-item-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_countdown-item-border-radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_countdown-item-box-shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-item',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Number', 'mfn-opts'),
),
array(
'id' => 'css_countdown-number-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_countdown-number_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
/*'typography' => 'simple',*/
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_countdown-number-width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'width',
'type' => 'sliderbar',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_countdown-number-height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'height',
'type' => 'sliderbar',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_countdown-number-background-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_countdown-number-border-style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'border-style',
'attr_id' => 'css_countdown-number-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_countdown-number-border-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'border-color',
'condition' => array( 'id' => 'css_countdown-number-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_countdown-number-border-width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'border-width',
'condition' => array( 'id' => 'css_countdown-number-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_countdown-number-border-radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_countdown-number-box-shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-number',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'css_countdown-title-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_countdown-title-typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .counter-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Separator', 'mfn-opts'),
),
array(
'id' => 'css_countdown-separator-color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-separator.colon',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_countdown-separator-typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-separator.colon',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_countdown-separator-offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-countdown .countdown-separator.colon',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '-50',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
'std' => 0,
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Countdown Basic -----------------------------------------------------
'countdown' => array(
'type' => 'countdown',
'title' => __('Countdown Basic', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'date',
'type' => 'text',
're_render' => true,
'title' => __('Launch date', 'mfn-opts'),
'desc' => __('month/day/year hour:minute:second', 'mfn-opts'),
'std' => '12/30/2024 12:00:00',
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Label tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'timezone',
'type' => 'select',
're_render' => true,
'title' => __('Timezone', 'mfn-opts'),
'options' => mfna_utc(),
'std' => '0',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'show',
're_render' => true,
'type' => 'select',
'title' => __('Show', 'mfn-opts'),
'options' => array(
'' => __('days hours minutes seconds', 'mfn-opts'),
'dhm' => __('days hours minutes', 'mfn-opts'),
'dh' => __('days hours', 'mfn-opts'),
'd' => __('days', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:background-color',
'id' => 'css_downcount_fact_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:margin',
'id' => 'css_downcount_fact_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:padding',
'id' => 'css_downcount_fact_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-style',
'id' => 'css_downcount_fact_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'border-style',
'attr_id' => 'border_style_dcqf',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-color',
'id' => 'css_downcount_fact_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_dcqf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-width',
'id' => 'css_downcount_fact_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_dcqf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-radius',
'id' => 'css_downcount_fact_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper .number:color',
'id' => 'css_downcount_factnumber-wrappernumber_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper .number',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper:margin',
'id' => 'css_downcount_factnumber-wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper:typography',
'id' => 'css_downcount_factnumber-wrapper_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title:color',
'id' => 'css_downcount_facttitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title:margin',
'id' => 'css_downcount_facttitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title:typography',
'id' => 'css_downcount_facttitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr:width',
'id' => 'css_downcount_facthr_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr',
'style' => 'width',
'type' => 'text',
'themeoptions' => 'style:',
'default_unit' => '%',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr:background-color',
'id' => 'css_downcount_facthr_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr',
'style' => 'background-color',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Counter -------------------------------------------------------
'counter' => array(
'type' => 'counter',
'title' => __('Counter', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'p',
),
// counter
array(
'type' => 'header',
'title' => __('Counter', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Replaces icon if uploaded', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'prefix',
'type' => 'text',
'title' => __('Prefix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'number',
'type' => 'text',
'title' => __('Number', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '50',
'preview' => 'number',
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Postfix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'duration',
'type' => 'sliderbar',
'title' => __('Duration [ms]', 'mfn-opts'),
'desc' => __('1000 = 1 second', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '1000',
'param' => array(
'min' => '0',
'max' => '9500',
'step' => '500',
'unit' => 'ms',
),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'thousands_separator',
'type' => 'switch',
're_render' => true,
'title' => __('Thousands separator', 'mfn-opts'),
'options' => array(
'' => __('Disable', 'mfn-opts'),
'comma' => __('Comma', 'mfn-opts'),
'space' => __('Space', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'type',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'desc' => __('Vertical style works for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'),
'options' => array(
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter:text-align',
'id' => 'css_counter_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter:padding',
'id' => 'css_counter_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper i:color',
'id' => 'css_countericon_wrapperi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper:margin',
'id' => 'css_countericon_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-style',
'id' => 'css_countericon_wrapperimg_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'style' => 'border-style',
'attr_id' => 'border_style_ciwi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-color',
'id' => 'css_countericon_wrapperimg_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ciwi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-width',
'id' => 'css_countericon_wrapperimg_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ciwi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-radius',
'id' => 'css_countericon_wrapperimg_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper:margin',
'id' => 'css_countericon_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:width',
'id' => 'css_countericon_wrapperimg_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:height',
'id' => 'css_countericon_wrapperimg_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Pre', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix:color',
'id' => 'css_counternumber-wrapperprefix_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix:margin',
'id' => 'css_counternumber-wrapperprefix_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix:typography',
'id' => 'css_counternumber-wrapperprefix_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number:color',
'id' => 'css_counternumber-wrappernumber_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper:margin',
'id' => 'css_counternumber-wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number:typography',
'id' => 'css_counternumber-wrappernumber_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Post', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix:color',
'id' => 'css_counternumber-wrapperpostfix_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix:margin',
'id' => 'css_counternumber-wrapperpostfix_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix:typography',
'id' => 'css_counternumber-wrapperpostfix_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title:color',
'id' => 'css_countertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title:margin',
'id' => 'css_countertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title:typography',
'id' => 'css_countertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Fancy Divider -------------------------------------------------
'fancy_divider' => array(
'type' => 'fancy_divider',
'title' => __('Fancy Divider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Please use on pages without sidebar.', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'circle up' => __('Circle up', 'mfn-opts'),
'circle down' => __('Circle down', 'mfn-opts'),
'curve up' => __('Curve up', 'mfn-opts'),
'curve down' => __('Curve down', 'mfn-opts'),
'stamp' => __('Stamp', 'mfn-opts'),
'triangle up' => __('Triangle up', 'mfn-opts'),
'triangle down' => __('Triangle down', 'mfn-opts'),
),
'std' => 'circle up',
'preview' => 'style',
),
array(
'id' => 'color_top',
'type' => 'color',
'title' => __('Color top', 'mfn-opts'),
),
array(
'id' => 'color_bottom',
'type' => 'color',
'title' => __('Color bottom', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Fancy Heading --------------------------------------------------
'fancy_heading' => array(
'type' => 'fancy_heading',
'title' => __('Fancy Heading', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.fancy_heading | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'h1',
're_render' => true,
'type' => 'switch',
'title' => __('Tag', 'mfn-opts'),
'kl_options' => array( // prevent js sort
(object) array('key' => 'h1', 'label' => 'H1'),
(object) array('key' => 0, 'label' => 'H2'),
(object) array('key' => 'h3', 'label' => 'H3'),
(object) array('key' => 'h4', 'label' => 'H4'),
(object) array('key' => 'h5', 'label' => 'H5'),
(object) array('key' => 'h6', 'label' => 'H6'),
(object) array('key' => 'p', 'label' => 'p'),
(object) array('key' => 'p.lead', 'label' => 'p.lead'),
(object) array('key' => 'span', 'label' => 'span'),
),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 0
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.fancy_heading | div.inside',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'switch',
'attr_id' => 'fancy_header_style',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'icon' => __('Icon', 'mfn-opts'),
'line' => __('Line', 'mfn-opts'),
'arrows' => __('Arrows', 'mfn-opts'),
),
'std' => 'icon',
),
array(
'id' => 'icon',
'condition' => array( 'id' => 'fancy_header_style', 'opt' => 'is', 'val' => 'icon' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'desc' => __('for style: icon', 'mfn-opts'),
),
array(
'id' => 'slogan',
'condition' => array( 'id' => 'fancy_header_style', 'opt' => 'is', 'val' => 'line' ),
'edit_tag' => '.fh-top | span.slogan',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Slogan', 'mfn-opts'),
'desc' => __('for style: line', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading:text-align',
'id' => 'css_fancy_heading_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title:color',
'id' => 'css_fancy_headingtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title:typography',
'id' => 'css_fancy_headingtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title:margin',
'id' => 'css_fancy_headingtitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside:color',
'id' => 'css_fancy_headinginside_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside:typography',
'id' => 'css_fancy_headinginside_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside:margin',
'id' => 'css_fancy_headinginside_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Style Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top:color',
'id' => 'css_fancy_heading_iconicon_top_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top:font-size',
'id' => 'css_fancy_heading_iconicon_top_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top:margin',
'id' => 'css_fancy_heading_iconicon_top_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Style Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan:color',
'id' => 'css_fancy_headingfancy_heading_lineslogan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Slogan Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan:typography',
'id' => 'css_fancy_headingfancy_heading_lineslogan_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Slogan Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Style Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title i:color',
'id' => 'css_fancy_headingtitlei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Arrows Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// FAQ -----------------------------------------------------------
'faq' => array(
'type' => 'faq',
'title' => __('FAQ', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info-key',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Try the new Toggle element with unlimited customization options', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.faq | .heading',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('FAQ', 'mfn-opts'),
'desc' => __('<b>JavaScript</b> content like Google Maps and some plugins shortcodes do <b>not work</b> in tabs', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Question', 'mfn-opts'),
__('Sample question', 'mfn-opts'),
],
'content' => [
'textarea',
__('Answer', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st question', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd question', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
array(
'id' => 'open1st',
're_render' => true,
'type' => 'switch',
'title' => __('Open first', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open first', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'openAll',
're_render' => true,
'type' => 'switch',
'title' => __('Open all', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open all', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'accordion' => __('Accordion', 'mfn-opts'),
'toggle' => __('Toggle', 'mfn-opts'),
),
'std' => 'accordion',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading:color',
'id' => 'css_faqheading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading:margin',
'id' => 'css_faqheading_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading:typography',
'id' => 'css_faqheading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:margin',
'id' => 'css_faqquestion_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title|before:border-style',
'id' => 'css_faqquestionfaqquestiontitlebefore_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:before',
'style' => 'border-style',
'attr_id' => 'border_style_faqt',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title|before:border-color',
'id' => 'css_faqquestionfaqquestiontitlebefore_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:before',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_faqt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:border-width',
'id' => 'css_faqquestion_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_faqt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:border-radius',
'id' => 'css_faqquestion_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:box-shadow',
'id' => 'css_faqquestiontitle_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq:--mfn-faq-line',
'id' => 'css_faq___mfn_faq_line',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq',
'style' => '--mfn-faq-line',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:background',
'id' => 'css_faqquestion_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active:background',
'id' => 'css_faqquestionactive_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:typography',
'id' => 'css_faqquestiontitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#titlenormal" data-tab="titlenormal">Normal</a></li><li><a href="#titlehover" data-tab="titlehover">Active</a></li></ul><div class="mfn-sft mfn-sft-titlenormal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:color',
'id' => 'css_faqquestiontitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title i:color',
'id' => 'css_faqquestiontitlei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-titlehover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active .title:color',
'id' => 'css_faqquestionactivetitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active .title i:color',
'id' => 'css_faqquestionactivetitlei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active .title i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer:color',
'id' => 'css_faqquestionanswer_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer:typography',
'id' => 'css_faqquestionanswer_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Bar line', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#barlinenormal" data-tab="barlinenormal">Normal</a></li><li><a href="#barlinehover" data-tab="barlinehover">Active</a></li></ul><div class="mfn-sft mfn-sft-barlinenormal">',
),
array(
'old_id' => 'style:.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:border-color',
'id' => 'css_simplefaqquestion_border_color',
'selector' => '.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'style' => 'border-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '</div><div class="mfn-sft mfn-sft-barlinehover">',
),
array(
'old_id' => 'style:.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active|after:background-color',
'id' => 'css_simplefaqquestionafter_background_color_active',
'selector' => '.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question.active:after',
'style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Feature Box -------------------------------------------------------
'feature_box' => array(
'type' => 'feature_box',
'title' => __('Feature Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>384px - 960px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'background',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-style',
'id' => 'css_feature_boxphoto_wrapperimg_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'style' => 'border-style',
'attr_id' => 'border_style_fbimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-color',
'id' => 'css_feature_boxphoto_wrapperimg_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_fbimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-width',
'id' => 'css_feature_boxphoto_wrapperimg_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_fbimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-radius',
'id' => 'css_feature_boxphoto_wrapperimg_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:color',
'id' => 'css_desc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:margin',
'id' => 'css_desc_wrappertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:typography',
'id' => 'css_desc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box_wrapper .desc_wrapper:text-align',
'id' => 'css_feature_box_wrapperdesc_wrapper_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box_wrapper .desc_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:color',
'id' => 'css_desc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:padding',
'id' => 'css_desc_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:typography',
'id' => 'css_desc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Feature List ---------------------------------------------------
'feature_list' => array(
'type' => 'feature_list',
'title' => __('Feature List', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('List item', 'mfn-opts'),
],
'icon' => [
'icon',
__('Icon', 'mfn-opts'),
'icon-lamp',
],
'link' => [
'input',
__('Link', 'mfn-opts'),
'',
],
'target' => [
'input',
__('Target', 'mfn-opts'),
'',
],
'animate' => [
'input',
__('Animate', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'title' => 'This is the 1st item',
'icon' => 'icon-book',
'link' => '',
'target' => '',
'animate' => '',
],
1 => [
'title' => 'This is the 2nd item',
'icon' => 'icon-bucket',
'link' => '',
'target' => '',
'animate' => '',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
array(
'id' => 'content',
'dynamic_data' => 'content',
'type' => 'textarea',
'edit_tag' => '.feature_list | ul.fl-content',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'std' => '4',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li p:typography',
'id' => 'css_feature_listullip_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li p',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li a:background-color',
'id' => 'css_feature_listullifeature_listullia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li a:color',
'id' => 'css_feature_listullifeature_listullia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li a',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li|hover a:background-color',
'id' => 'css_feature_listullihoverfeature_listullihovera_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li:hover a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li|hover a:color',
'id' => 'css_feature_listullihoverfeature_listullihovera_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li:hover a',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li .icon i:font-size',
'id' => 'css_feature_listulliiconi_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li .icon i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#iconnormal" data-tab="iconnormal">Normal</a></li><li><a href="#iconhover" data-tab="iconhover">Hover</a></li></ul><div class="mfn-sft mfn-sft-iconnormal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li .icon i:color',
'id' => 'css_feature_listulliiconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li .icon i',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-iconhover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li|hover .icon i:color',
'id' => 'css_feature_listulliiconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li:hover .icon i',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list hr:background-color',
'id' => 'css_feature_listhr_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list hr',
'style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Flat Box -------------------------------------------------------
'flat_box' => array(
'type' => 'flat_box',
'title' => __('Flat Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
),
array(
'id' => 'icon_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Replaces icon if uploaded', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'background',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-style',
'id' => 'css_flat_boxphoto_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_fbpw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-color',
'id' => 'css_flat_boxphoto_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_fbpw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-width',
'id' => 'css_flat_boxphoto_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_fbpw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-radius',
'id' => 'css_flat_boxphoto_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:margin',
'id' => 'css_flat_boxphoto_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:color',
'id' => 'css_desc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:margin',
'id' => 'css_desc_wrappertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:typography',
'id' => 'css_desc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon:color',
'id' => 'css_flat_boxphoto_wrappericon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon:background-color',
'id' => 'css_flat_boxphoto_wrappericon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon i:font-size',
'id' => 'css_flat_boxphoto_wrappericoni_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:color',
'id' => 'css_desc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:typography',
'id' => 'css_desc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Heading --------------------------------------------------------
'heading' => array(
'type' => 'heading',
'title' => __('Heading', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'preview' => true, // instant preview
'cat' => 'typography',
'attr' => array(
//'fields' => array(
// HTML content
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'textarea',
'dynamic_data' => 'title',
'class' => 'form-content-full-width',
'edit_tag' => '.mcb-item-heading-inner | .title',
'edit_position' => 'append',
'edit_tag_var' => 'preview-header_taginput',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the heading', 'mfn-opts'),
'preview' => 'title',
'rm' => 'heading',
),
array(
'id' => 'header_tag',
're_render' => true,
'type' => 'switch',
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('Onclick', 'mfn-opts'),
'before' => 'onclick=',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_txt_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-toggled mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_color',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title a:color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title a',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_color_hover',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title a|hover:color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-shadow',
'id' => 'css_text_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'text-shadow',
'type' => 'text_shadow',
'class' => 'mfn-toggled',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_line_clamp',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:-webkit-line-clamp',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => '-webkit-line-clamp',
'type' => 'text',
'title' => __('Line clamp', 'mfn-opts'),
'desc' => __('Limit the number of lines to', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-line-clamp-field mfn-toggled',
'preview' => 'number',
),
// mask shape
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Mask shape', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:background-image',
'id' => 'css_bg_img',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'background-image',
'type' => 'upload',
'class' => 'mfn-toggled',
'title' => __('Background image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:background-position',
'id' => 'css_bg_img_pos',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'background-position',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Background position', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'center center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:-webkit-text-stroke-width',
'id' => 'css_stroke_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => '-webkit-text-stroke-width',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Text stroke width', 'mfn-opts'),
'options' => [
'initial' => __('Default', 'mfn-opts'),
'thin' => __('Thin', 'mfn-opts'),
'medium' => __('Medium', 'mfn-opts'),
'thick' => __('Thick', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:-webkit-text-stroke-color',
'id' => 'css_stroke_color',
'class' => 'mfn-toggled',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => '-webkit-text-stroke-color',
'type' => 'color',
'title' => __('Text stroke color', 'mfn-opts'),
'std' => '',
),
// HTML end: settings
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Helper -------------------------------------------------------
'helper' => array(
'type' => 'helper',
'title' => __('Helper', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.helper_header | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// item 1
array(
'type' => 'header',
'title' => __('Item 1', 'mfn-opts'),
),
array(
'id' => 'title1',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the 1st item title', 'mfn-opts'),
),
array(
'id' => 'content1',
'dynamic_data' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'class' => 'form-content-full-width',
),
array(
'id' => 'link1',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Use if you want to link to another page instead of showing the content', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'target1',
'type' => 'switch',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class1',
'type' => 'text',
'title' => __('Link class', 'mfn-opts'),
'desc' => __('e.g. <b>prettyphoto</b> or <b>scroll</b>', 'mfn-opts'),
),
// item 2
array(
'type' => 'header',
'title' => __('Item 2', 'mfn-opts'),
),
array(
'id' => 'title2',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'content2',
'type' => 'textarea',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'link2',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Use if you want to link to another page instead of showing the content', 'mfn-opts'),
),
array(
'id' => 'link_type_2',
'attr_id' => 'link_type_2',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id_2',
'condition' => array( 'id' => 'link_type_2', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'target2',
'type' => 'switch',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class2',
'type' => 'text',
'title' => __('Link class', 'mfn-opts'),
'desc' => __('e.g. <b>prettyphoto</b> or <b>scroll</b>', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title:color',
'id' => 'css_helper_headertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title:typography',
'id' => 'css_helper_headertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link:color',
'id' => 'css_helper_headerlink_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link:background',
'id' => 'css_helper_headerlink_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link.active:color',
'id' => 'css_headerlink_helper_color_active_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link.active',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link.active:background',
'id' => 'css_headerlink_helper_background_active_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .links .link.active',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item:color',
'id' => 'css_helper_contentitem_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item:typography',
'id' => 'css_helper_contentitem_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Hover Box ------------------------------------------------------
'hover_box' => array(
'type' => 'hover_box',
'title' => __('Hover Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'image_hover',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Hover image', 'mfn-opts'),
'desc' => __('Images must have the same size', 'mfn-opts'),
'std' => $this->get_placeholder(),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Hover Color ----------------------------------------------------
'hover_color' => array(
'type' => 'hover_color',
'title' => __('Hover Color', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'edit_tag' => '.hover_color_bg | div.hover_color_wrapper',
'edit_position' => 'prepend',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'dynamic_data' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'text',
'title' => __('Class', 'mfn-opts'),
'desc' => __('e.g. <b>scroll</b>', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Text alignment', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Use value with <b>px</b> or <b>%</b>. Example: <b>20px</b> or <b>20px 10px 20px 10px</b> or <b>20px 1%</b>', 'mfn-opts'),
),
array(
'id' => 'background',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'background_hover',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color hover', 'mfn-opts'),
),
array(
'id' => 'border',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'border_hover',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Border color hover', 'mfn-opts'),
),
array(
'id' => 'border_width',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Border width', 'mfn-opts'),
'desc' => __('Use value with <b>px</b>. Example: <b>1px</b> or <b>2px 5px 2px 5px</b>', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'style',
'type' => 'textarea',
'title' => __('Element inline CSS', 'mfn-opts'),
'desc' => __('Example: <b>opacity: 0.5;</b>', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:text-align',
'id' => 'css__color_wrapper_text_align_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .hover_color_wrapper:padding',
'id' => 'css_mcb-column-inner_color_wrapper_padding_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .hover_color_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:typography',
'id' => 'css_color_wrapper_typography_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-style',
'id' => 'css__color_wrapper_border_style_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_hc',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-width',
'id' => 'css__color_wrapper_border_width_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_hc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-radius',
'id' => 'css__color_wrapper_border_radius_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:box-shadow',
'id' => 'css__color_wrapper_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:color',
'id' => 'css_color_wrapper_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:background-color',
'id' => 'css_color_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-color',
'id' => 'css_color_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_hc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement|hover .hover_color_wrapper:color',
'id' => 'css_color_wrapper_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement:hover .hover_color_wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement|hover .hover_color_wrapper:background-color',
'id' => 'css_color_wrapper_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement:hover .hover_color_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement|hover .hover_color_wrapper:border-color',
'id' => 'css_color_wrapper_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement:hover .hover_color_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_hc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// How It Works ---------------------------------------------------
'how_it_works' => array(
'type' => 'how_it_works',
'title' => __('How It Works', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.how_it_works | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Background', 'mfn-opts'),
'desc' => __('Recommended: Square Image with transparent background.', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'number',
'type' => 'text',
'title' => __('Number', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '1',
'preview' => 'number',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.how_it_works | div.desc',
'dynamic_data' => 'content',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'border',
'type' => 'switch',
're_render' => true,
'title' => __('Line', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Small centered image (image size: max 116px)', 'mfn-opts'),
'fill' => __('Fill the circle (image size: 200px x 200px)', 'mfn-opts'),
),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title:color',
'id' => 'css_how_it_workstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title:typography',
'id' => 'css_how_it_workstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc:color',
'id' => 'css_how_it_worksdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc:typography',
'id' => 'css_how_it_worksdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:color',
'id' => 'css_how_it_worksnumber_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:background-color',
'id' => 'css_how_it_worksnumber_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-style',
'id' => 'css_how_it_worksnumber_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'border-style',
'attr_id' => 'border_style_hiw_number',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-color',
'id' => 'css_how_it_worksnumber_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_hiw_number', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-width',
'id' => 'css_how_it_worksnumber_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_hiw_number', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-radius',
'id' => 'css_how_it_worksnumber_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:box-shadow',
'id' => 'css_how_it_worksnumber_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:background-color',
'id' => 'css_how_it_worksimage_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-style',
'id' => 'css_how_it_worksimage_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'style' => 'border-style',
'attr_id' => 'border_style_hiw_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-color',
'id' => 'css_how_it_worksimage_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_hiw_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-width',
'id' => 'css_how_it_worksimage_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_hiw_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-radius',
'id' => 'css_how_it_worksimage_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image_wrapper:margin',
'id' => 'css_how_it_worksimage_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works.has_border|after:background-color',
'id' => 'css_how_it_workshas_borderafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works.has_border:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-color',
'id' => 'css_how_it_worksimage_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'style' => 'border-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// HotSpot ----------------------------------------------------
'hotspot' => array(
'type' => 'hotspot',
'title' => __('Hotspot', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('General', 'mfn-opts'),
),
array(
'id' => 'marker_animation',
'attr_id' => 'marker_animation',
'type' => 'switch',
'title' => __('Marker animation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'pulse' => __('Pulse', 'mfn-opts'),
'scale' => __('Scale', 'mfn-opts'),
'bounce' => __('Bounce', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'content_animation',
'type' => 'switch',
'title' => __('Content animation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'fadeIn' => __('Fade In', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Points style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'line' => __('Line', 'mfn-opts'),
),
'std' => ''
),
array(
'type' => 'header',
'title' => __('Hotspots', 'mfn-opts'),
),
array(
'id' => 'hotspots',
'type' => 'hotspot',
'title' => __('Hotspots', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'img_height',
'attr_id' => 'img_height',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'img_height_style',
'condition' => array( 'id' => 'img_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Image style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'css_img_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot-height .hotspot-image img',
'style' => 'height',
'condition' => array( 'id' => 'img_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'text',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Custom height', 'mfn-opts'),
),
array(
'id' => 'css_image-hotspot_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'desc' => __('Doesn\'t work with Image Cover mode'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'css_hotspot-image_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-image_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'style' => 'border-style',
'attr_id' => 'hotspot-border-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_hotspot-image_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'style' => 'border-color',
'condition' => array( 'id' => 'hotspot-border-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-image_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'style' => 'border-width',
'condition' => array( 'id' => 'hotspot-border-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'responsive' => true,
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'css_hotspot-image_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_hotspot-image_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Marker', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_default_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-default-bg',
'type' => 'color',
'class' => 'mfn-toggled',
're_render' => true,
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-marker_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-marker',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Default', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_default_pulse_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-default-pulse-bg',
'condition' => array( 'id' => 'marker_animation', 'opt' => 'is', 'val' => 'pulse' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Pulse color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_default_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-default-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-icon-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-icon-bg',
'type' => 'color',
'class' => 'mfn-toggled',
're_render' => true,
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_pulse_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-icon-pulse-bg',
'condition' => array( 'id' => 'marker_animation', 'opt' => 'is', 'val' => 'pulse' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Pulse color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-icon-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'id' => 'css_hotspot_marker_icon_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-icon-font-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Text', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_text_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-text-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_text_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-text-bg',
'type' => 'color',
'class' => 'mfn-toggled',
're_render' => true,
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_text_pulse_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-marker-text-pulse-bg',
'condition' => array( 'id' => 'marker_animation', 'opt' => 'is', 'val' => 'pulse' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Pulse color', 'mfn-opts'),
),
array(
'id' => 'css_marker_txt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .marker-text',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_marker_txt_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .marker-text',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'class' => 'toggled_header',
'title' => __('Box', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-content_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'id' => 'css_hotspot-content_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_hotspot_content_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-content-bg',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_image-hotspothotspot-content_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot .hotspot-content',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-content_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_content_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'style' => '--mfn-image-hotspot-content-offset',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Offset', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'id' => 'css_hotspot-content_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'border-style',
'attr_id' => 'hotspot-border-content',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_hotspot-content_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'border-color',
'condition' => array( 'id' => 'hotspot-border-content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-content_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'border-width',
'condition' => array( 'id' => 'hotspot-border-content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'responsive' => true,
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'css_hotspot-content_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_hotspot-content_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// HTML ----------------------------------------------------
'html' => array(
'type' => 'html',
'title' => __('HTML', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'type' => 'ace',
'class' => 'ace-html-editor form-content-full-width',
'title' => __('Html code', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check <b>advanced</b> tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Icon ----------------------------------------------------------
'icon_2' => array(
'type' => 'icon_2',
'title' => __('Icon', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '' ),
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '' ),
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
'' => __('Default | _self', 'mfn-opts'),
'_blank' => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Hover effect', 'mfn-opts'),
),
array(
'id' => 'hover',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'move-up' => __('Move up', 'mfn-opts'),
'box-scale' => __('Zoom', 'mfn-opts')
),
'std' => '',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'css_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'id' => 'css_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'id' => 'css_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'font-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'id' => 'css_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_bg_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'border-style',
'attr_id' => 'ib2-border-style-iw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'border-color',
'condition' => array( 'id' => 'ib2-border-style-iw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'border-width',
'condition' => array( 'id' => 'ib2-border-style-iw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_bg_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'ib2-border-style-iw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2:hover',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'css_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Icon Box 2 ------------------------------------------------------
'icon_box_2' => array(
'type' => 'icon_box_2',
'title' => __('Icon Box', 'mfn-opts'),
'preview' => true, // instant preview
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'title',
'attr_id' => 'title',
'type' => 'text',
'edit_tag' => '.mfn-icon-box .desc-wrapper | .title',
'edit_position' => 'prepend',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '' ),
'type' => 'switch',
'title' => __('Tag', 'mfn-opts'),
're_render' => true,
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.mfn-icon-box .desc-wrapper | .desc',
'edit_position' => 'append',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper .desc:order',
'id' => 'css_icon_box_order',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper .desc',
'style' => 'order',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'select',
'title' => __('Title / Content order', 'mfn-opts'),
'options' => array(
'' => __('Title first', 'mfn-opts'),
'1' => __('Content first', 'mfn-opts'),
),
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '{postmeta:mfn-post-love}' ),
'attr_id' => 'ib2-icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'icon_position',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'options' => array(
'top' => __('Top', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'required' => true,
),
array(
'id' => 'icon_align',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Icon alignment', 'mfn-opts'),
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'required' => true,
'responsive' => true,
),
array(
'id' => 'image',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '{postmeta:mfn-post-love}' ),
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'attr_id' => 'ib2-image',
'desc' => __('Image instead of an icon', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'label',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '{postmeta:mfn-post-love}' ),
'type' => 'text',
'attr_id' => 'ib2-label',
'title' => __('Label', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
'mfn-read-more' => __('Read more', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'link_type_read_more_title',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'text',
'title' => __('Icon title after expand', 'mfn-opts'),
'std' => ''
),
array(
'id' => 'link_type_read_more_icon',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'icon',
'title' => __('Icon after expand', 'mfn-opts'),
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// Hover
array(
'type' => 'header',
'title' => __('Hover effect', 'mfn-opts'),
),
array(
'id' => 'hover',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'move-up' => __('Move box up', 'mfn-opts'),
'box-scale' => __('Zoom box', 'mfn-opts'),
'icon-scale' => __('Zoom icon', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:padding',
'id' => 'css_icon_box_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:background-color',
'id' => 'css_icon_box_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:border-style',
'id' => 'css_icon_box_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'border-style',
'attr_id' => 'ib2-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:border-color',
'id' => 'css_icon_box_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'border-color',
'condition' => array( 'id' => 'ib2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:border-width',
'id' => 'css_icon_box_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'border-width',
'condition' => array( 'id' => 'ib2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'responsive' => true,
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:border-radius',
'id' => 'css_icon_box_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:box-shadow',
'id' => 'css_ib_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover:background-color',
'id' => 'css_icon_box_bg_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover:border-color',
'id' => 'css_icon_box_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'ib2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover:box-shadow',
'id' => 'css_ib_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:width',
'id' => 'css_icon_box_icon_wrapper_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:height',
'id' => 'css_icon_box_icon_wrapper_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:margin',
'id' => 'css_icon_box_icon_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-label:typography',
'id' => 'css_icon_box_icon_wrapper_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-label',
'style' => 'typography',
'responsive' => true,
'condition' => array( 'id' => 'ib2-label', 'opt' => 'isnt', 'val' => '' ),
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i:font-size',
'id' => 'css_icon_box_icon_wrapper_i_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i',
'style' => 'font-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper img:max-width',
'id' => 'css_icon_box_icon_wrapper_img_max_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper img',
'style' => 'max-width',
'condition' => array( 'id' => 'ib2-image', 'opt' => 'isnt', 'val' => '' ),
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow',
'title' => __('Image width', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-label:color',
'id' => 'css_icon_box_icon_wrapper_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-label',
'style' => 'color',
'condition' => array( 'id' => 'ib2-label', 'opt' => 'isnt', 'val' => '' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:background-color',
'id' => 'css_icon_box_icon_wrapper_bg_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-style',
'id' => 'css_icon_box_icon_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-style',
'attr_id' => 'ib2-border-style-iw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-color',
'id' => 'css_icon_box_icon_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'ib2-border-style-iw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-width',
'id' => 'css_icon_box_icon_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'ib2-border-style-iw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:border-radius',
'id' => 'css_icon_box_icon_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:box-shadow',
'id' => 'css_icon_box_icon_wrapper_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i:color',
'id' => 'css_icon_box_icon_wrapper_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-label:color',
'id' => 'css_icon_box_icon_wrapper_icon_label_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-label',
'style' => 'color',
'condition' => array( 'id' => 'ib2-label', 'opt' => 'isnt', 'val' => '' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:background-color',
'id' => 'css_icon_box_icon_wrapper_icon_bg_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:border-color',
'id' => 'css_icon_box_icon_wrapper_icon_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'ib2-border-style-iw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper:box-shadow',
'id' => 'css_icon_box_icon_wrapper_icon_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .icon-wrapper i:color',
'id' => 'css_icon_box_icon_wrapper_icon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .icon-wrapper i',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Description wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:text-align',
'id' => 'css_icon_box_desc_wrapper_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:padding',
'id' => 'css_icon_box_desc_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_icon_box_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .title:color',
'id' => 'css_icon_box_title_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:margin',
'id' => 'css_icon_box_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_icon_box_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Description', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:color',
'id' => 'css_icon_box_desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box|hover .desc:color',
'id' => 'css_icon_box_desc_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:hover .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:margin',
'id' => 'css_icon_box_desc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:typography',
'id' => 'css_icon_box_desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Icon Box ------------------------------------------------------
'icon_box' => array(
'type' => 'icon_box',
'title' => __('Icon Box Basic', 'mfn-opts'),
// 'deprecated' => 'Icon Box',
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.icon_box .desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.icon_box .desc_wrapper | .desc',
'edit_position' => 'prepend',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'icon_position',
'type' => 'switch',
're_render' => true,
'title' => __('Icon position', 'mfn-opts'),
'desc' => __('Left position works only for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'top' => __('Top', 'mfn-opts'),
),
'std' => 'top',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'preview' => 'image',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'border',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Border', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper i:font-size',
'id' => 'css_icon_boxicon_wrapperi_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper i',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-style',
'id' => 'css_icon_boxicon_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_ib_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-color',
'id' => 'css_icon_boxicon_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ib_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-width',
'id' => 'css_icon_boxicon_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ib_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-radius',
'id' => 'css_icon_boxicon_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper .icon:color',
'id' => 'css_icon_boxicon_wrappericon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper .icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:background',
'id' => 'css_icon_boxicon_wrapper_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .icon_wrapper .icon:color',
'id' => 'css_icon_boxicon_wrappericon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .icon_wrapper .icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .icon_wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .icon_wrapper|before:background',
'id' => 'css_icon_boxhovericon_wrappericon_boxhovericon_wrapperbefore_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .icon_wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .icon_wrapper:before',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .icon_wrapper:border-color',
'id' => 'css_icon_boxicon_wrapper_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .icon_wrapper',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-style',
'id' => 'css_icon_boximage_wrapperimg_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'style' => 'border-style',
'attr_id' => 'border_style_ib_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-color',
'id' => 'css_icon_boximage_wrapperimg_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ib_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-width',
'id' => 'css_icon_boximage_wrapperimg_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ib_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-radius',
'id' => 'css_icon_boximage_wrapperimg_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title:color',
'id' => 'css_icon_boxdesc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title:margin',
'id' => 'css_icon_boxdesc_wrappertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title:typography',
'id' => 'css_icon_boxdesc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc:color',
'id' => 'css_icon_boxdesc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc:margin',
'id' => 'css_icon_boxdesc_wrapperdesc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc:typography',
'id' => 'css_icon_boxdesc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .desc_wrapper .title|before:background-color',
'id' => 'css_icon_boxdesc_wrappertitlebefore_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .desc_wrapper .title:before',
'style' => 'background-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .desc_wrapper .title|before:width',
'id' => 'css_icon_boxdesc_wrappertitlebefore_width_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .desc_wrapper .title:before',
'style' => 'width',
'themeoptions' => 'style:simple',
'type' => 'text',
'default_unit' => '%',
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Image ---------------------------------------------------------
'image' => array(
'type' => 'image',
'title' => __('Image', 'mfn-opts'),
'preview' => true, // instant preview
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'src',
'attr_id' => 'src',
'type' => 'upload',
'dynamic_data' => 'featured_image',
're_render' => true,
'title' => __('Image', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'size',
'type' => 'select',
're_render' => true,
'title' => __('Size', 'mfn-opts'),
'desc' => __('Select image size from <a target="_blank" href="options-media.php">Settings > Media > Image sizes</a> (Media Library images only)<br />or use below fields for HTML resize', 'mfn-opts'),
'php_options' => array(
'full' => __('Full size', 'mfn-opts'),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
array(
'id' => 'stretch',
'type' => 'select',
're_render' => true,
'title' => __('Stretch', 'mfn-opts'),
'desc' => __('Stretch image to column width, height will be changed proportionally', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts'),
'ultrawide' => __('Yes, on ultrawide screens only > 1920px', 'mfn-opts'),
),
),
// lazy load
array(
'type' => 'header',
'title' => __('Lazy load', 'mfn-opts'),
),
array(
'id' => 'lazy_load',
'type' => 'switch',
'title' => __('Lazy load', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'disable' => __('Disable', 'mfn-opts'),
'lazy' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup template', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link_image',
'attr_id' => 'link_image',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Popup image', 'mfn-opts'),
'desc' => __('This <b>image or embed video</b> will be opened in lightbox', 'mfn-opts'),
),
array(
'id' => 'link',
'attr_id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'rel',
'type' => 'text',
'title' => __('Rel', 'mfn-opts'),
'desc' => __('"Rel" attribute to the link', 'mfn-opts'),
'before' => 'rel='
),
array(
'id' => 'target',
'type' => 'switch',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'id' => 'hover',
'type' => 'switch',
'title' => __('Hover effect', 'mfn-opts'),
'desc' => __('Hover effect selected in Theme Options', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('Onclick', 'mfn-opts'),
'before' => 'onclick=',
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'alt',
'type' => 'text',
'title' => __('Alternate text', 'mfn-opts'),
),
array(
'id' => 'caption',
'attr_id' => 'caption',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.image_frame | p.wp-caption-text',
'edit_position' => 'append',
'title' => __('Caption', 'mfn-opts'),
),
// mask shape
array(
'type' => 'header',
'title' => __('Mask shape', 'mfn-opts'),
),
array(
'id' => 'mask_shape_type',
'attr_id' => 'mask_type',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'select',
'title' => __('Mask type', 'mfn-opts'),
'options' => array(
'0' => __('None', 'mfn-opts'),
'blob' => __('Blob', 'mfn-opts'),
'blob-2' => __('Blob 2', 'mfn-opts'),
'brush' => __('Brush', 'mfn-opts'),
'brush-2' => __('Brush 2', 'mfn-opts'),
'circle' => __('Circle', 'mfn-opts'),
'cross' => __('Cross', 'mfn-opts'),
'irregular-circle' => __('Irregular Circle', 'mfn-opts'),
'stain' => __('Stain', 'mfn-opts'),
'triangle' => __('Triangle', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '0'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_wrapper:background-color',
'id' => 'css_image_mask_bg',
'class' => 'mfn-class-editor-form-row-visible',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_wrapper',
'style' => 'background-color',
'type' => 'color',
'title' => __('Mask color', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-image',
'id' => 'css_image_mask_img',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'style' => '-webkit-mask-image',
'type' => 'upload',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Mask image', 'mfn-opts'),
'desc' => 'Only SVG type of image works',
'condition' => array( 'id' => 'mask_type', 'opt' => 'is', 'val' => 'custom' ),
),
array(
'id' => 'mask_shape_size',
'attr_id' => 'mask_shape_size',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Size', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'cover' => __('Cover', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'contain',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-size',
'id' => 'css_image_mask_img_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'style' => '-webkit-mask-size',
'type' => 'sliderbar',
'class' => 'mfn-class-editor-form-row-visible',
'condition' => array( 'id' => 'mask_shape_size', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Scale', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => '%',
),
),
array(
'id' => 'mask_shape_position',
'attr_id' => 'mask_shape_position',
'type' => 'select',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Position', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'center center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'center center',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-position-x',
'id' => 'css_image_mask_img_pos_x',
'class' => 'mfn-class-editor-form-row-visible',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'style' => '-webkit-mask-position-x',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position X', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-position-y',
'id' => 'css_image_mask_img_pos_y',
'class' => 'mfn-class-editor-form-row-visible',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'style' => '-webkit-mask-position-y',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position Y', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-repeat',
'id' => 'css_image_mask_img_repeat',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'style' => '-webkit-mask-repeat',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'select',
'title' => __('Repeat', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'border',
'class' => 'mfn-deprecated',
're_render' => true,
'type' => 'switch',
'title' => __('Border', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
're_render' => true,
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'desc' => __('If you want image to be <b>resized</b> to column width use <b>align none</b>', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'id' => 'margin',
'type' => 'text',
'title' => __('Margin top', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow mfn-deprecated',
),
array(
'id' => 'margin_bottom',
'type' => 'text',
'title' => __('Margin bottom', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow mfn-deprecated',
),
array(
'id' => 'width',
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'desc' => __('HTML resize, optional', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-deprecated',
'after' => 'px',
),
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-deprecated',
'after' => 'px',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:width',
'id' => 'css_image_frame_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'id' => 'image_height',
'attr_id' => 'image_height',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'image_height_style',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Fill', 'mfn-opts'),
'fit' => __('Fit', 'mfn-opts'),
),
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-coverimg .image_wrapper img:height',
'id' => 'css_image_cover_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-coverimg .image_wrapper img',
'style' => 'height',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height value', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set image height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:text-align',
'id' => 'css_image_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-style',
'id' => 'css_image_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_imgif',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-color',
'id' => 'css_image_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_imgif', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-width',
'id' => 'css_image_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_imgif', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-radius',
'id' => 'css_image_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'desc' => __('Doesn\'t work with keyboard support enabled', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => 'Grayscale',
'class' => 'mfn-toggled',
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'type' => 'header',
'condition' => array( 'id' => 'caption', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header',
'title' => __('Caption', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:text-align',
'id' => 'css_image_caption_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:color',
'id' => 'css_image_caption_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:background-color',
'id' => 'css_image_caption_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:padding',
'id' => 'css_image_caption_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:margin',
'id' => 'css_image_caption_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-style',
'id' => 'css_image_caption_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'border-style',
'attr_id' => 'border_style_img_capt',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-color',
'id' => 'css_image_caption_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_img_capt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-width',
'id' => 'css_image_caption_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_img_capt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-radius',
'id' => 'css_image_caption_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:typography',
'id' => 'css_image_caption_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'src', 'opt' => 'is', 'val' => '{featured_image:badge}' ),
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled ql_badge_onsale_position',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Image Gallery ---------------------------------------------------------
'image_gallery' => array(
'type' => 'image_gallery',
'title' => __('Image Gallery', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'ids',
'type' => 'upload_multi',
'title' => __('Images', 'mfn-opts'),
'preview' => 'images',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'size',
're_render' => true,
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'php_options' => array(
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'full' => __('Full size', 'mfn-opts'),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
array(
'id' => 'style',
'attr_id' => 'style',
're_render' => true,
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flat' => __('Flat', 'mfn-opts'),
'fancy' => __('Fancy', 'mfn-opts'),
'masonry' => __('Masonry', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'layout',
'attr_id' => 'layout',
'condition' => array( 'id' => 'style', 'opt' => 'isnt', 'val' => 'masonry' ),
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Layout', 'mfn-opts'),
'options' => array(
'' => __('Equal columns', 'mfn-opts'),
'1' => __('Equal heights', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'columns',
're_render' => true,
'condition' => array( 'id' => 'layout', 'opt' => 'is', 'val' => '' ),
'type' => 'text',
'title' => __('Columns', 'mfn-opts'),
'desc' => __('min: <b>1</b> | max: <b>9</b>', 'mfn-opts'),
'after' => 'columns',
'param' => 'number',
'class' => 'narrow mfn-class-editor-form-row-visible',
'std' => '3',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image_height',
'attr_id' => 'image_height',
'type' => 'switch',
'title' => __('Height', 'mfn-opts'),
'class' => 'gallery-msnry-rerender-item mfn-toggled',
'options' => array(
'' => __('Default', 'mfn-opts'),
'mfn_custom_img_height' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.mfn_custom_img_height .image_frame .image_wrapper img:--mfn-gal-img-height',
'id' => 'css_gallery_custom_img_heightimage_frameimage_wrapperimg_mfn_gal_img_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.mfn_custom_img_height .image_frame .image_wrapper img',
'style' => '--mfn-gal-img-height',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => 'mfn_custom_img_height' ),
'type' => 'text',
'class' => 'gallery-msnry-rerender-item',
'default_unit' => 'px',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'std' => '300px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.equal-heights .image_frame .image_wrapper img:--mfn-gal-img-max-width',
'id' => 'css_galleryequal-heightsimage_frameimage_wrapperimg_mfn_gal_img_max_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.equal-heights .image_frame .image_wrapper img',
'style' => '--mfn-gal-img-max-width',
'condition' => array( 'id' => 'layout', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'title' => __('Max width', 'mfn-opts'),
'param' => array(
'unit' => 'px',
'min' => '50',
'max' => '1200',
'step' => '1',
),
'std' => '300px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-style',
'id' => 'css_galleryimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_ig',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-color',
'id' => 'css_galleryimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ig', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-width',
'id' => 'css_galleryimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ig', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-radius',
'id' => 'css_galleryimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:margin',
'id' => 'css_galleryimage_frame_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled gallery-msnry-rerender-item',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Caption', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:display',
'id' => 'css_gallerygallery-itemgallery-caption_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'style' => 'display',
'attr_id' => 'image_caption',
'class' => 'mfn-layout-modifier mfn-toggled',
'type' => 'switch',
'title' => __('Visibility', 'mfn-opts'),
'options' => array(
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'image_caption_style',
'condition' => array( 'id' => 'image_caption', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
'class' => 'mfn-layout-modifier mfn-class-editor-form-row-visible mfn-toggled',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'img_caption_overlay' => __('Overlay', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:background-color',
'id' => 'css_gallerygallery-itemgallery-caption_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'style' => 'background-color',
'condition' => array( 'id' => 'image_caption', 'opt' => 'is', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:color',
'id' => 'css_gallerygallery-itemgallery-caption_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'style' => 'color',
'condition' => array( 'id' => 'image_caption', 'opt' => 'is', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:typography',
'id' => 'css_gallerygallery-itemgallery-caption_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:text-align',
'id' => 'css_gallerygallery-itemgallery-caption_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:padding',
'id' => 'css_gallerygallery-itemgallery-caption_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled mfn-layout-modifier',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item:padding',
'id' => 'css_gallerygallery-item_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled gallery-msnry-rerender-item',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item:background-color',
'id' => 'css_gallerygallery-item_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Info box -------------------------------------------------------
'info_box' => array(
'type' => 'info_box',
'title' => __('Info Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.infobox | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'content' => [
'input',
__('Title', 'mfn-opts'),
__('List item', 'mfn-opts'),
],
],
'std' => [
0 => [
'content' => 'This is the 1st item',
],
1 => [
'content' => 'This is the 2nd item',
],
],
'primary' => 'content',
'preview' => 'tabs',
),
array(
'id' => 'content',
'dynamic_data' => 'content',
'type' => 'textarea',
'edit_tag' => '.infobox_wrapper | span.ib-desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title:color',
'id' => 'css_infoboxtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title:margin',
'id' => 'css_infoboxtitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title:typography',
'id' => 'css_infoboxtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul li|before:color',
'id' => 'css_infoboxullibefore_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul li:before',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul:color',
'id' => 'css_infoboxul_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc:color',
'id' => 'css_infoboxib-desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc:margin',
'id' => 'css_infoboxib-desc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox:--mfn-infobox-line',
'id' => 'css_infobox___mfn_infobox_line',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox',
'style' => '--mfn-infobox-line',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// List NEW -----------------------------------------------------------
'list_2' => array(
'type' => 'list_2',
'title' => __('List', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'This is the list item',
],
'link' => [
'input',
__('Link', 'mfn-opts'),
'',
],
'target' => [
'select',
__('Target', 'mfn-opts'),
'',
[
'' => __('Default | _self', 'mfn-opts'),
'_blank' => __('New tab or window | _blank', 'mfn-opts'),
],
],
'icon' => [
'icon',
__('Icon', 'mfn-opts'),
'',
],
'image' => [
'image',
__('Image', 'mfn-opts'),
'',
],
'color' => [
'color',
__('Icon color', 'mfn-opts'),
'',
],
'background' => [
'color',
__('Icon background', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'content' => __('This is the 1st item', 'mfn-opts'),
],
1 => [
'content' => __('This is the 2nd item', 'mfn-opts'),
],
],
'preview' => 'tabs',
'primary' => 'content',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'list-2-type',
'type' => 'switch',
'title' => __('Type', 'mfn-opts'),
'class' => 'mfn-class-editor-form-row-visible',
're_render' => true,
'options' => array(
'' => __('Unordered', 'mfn-opts'),
'ordered' => __('Ordered', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'starting',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'text',
'title' => __('Starting number', 'mfn-opts'),
'condition' => array( 'id' => 'list-2-type', 'opt' => 'is', 'val' => 'ordered' ),
're_render' => true,
'std' => '1'
),
array(
'id' => 'align',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
're_render' => true,
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'left',
'responsive' => true,
'required' => true,
),
array(
'id' => 'valign',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Vertical alignment', 'mfn-opts'),
'attr_id' => 'list-2-valign',
're_render' => true,
'options' => array(
'top' => __('Top', 'mfn-opts'),
'middle' => __('Middle', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
),
'std' => 'middle',
'responsive' => true,
'required' => true,
),
array(
'id' => 'divider',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Divider', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Icon', 'mfn-opts'),
're_render' => true,
'preview' => 'icon',
'std' => 'icon-dot',
),
array(
'id' => 'image',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'upload',
're_render' => true,
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image replaces icon selected above', 'mfn-opts'),
'preview' => 'image',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
// list item
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-item:padding',
'id' => 'css_list-list-item_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-item',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// icon wrapper
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:width',
'id' => 'css_list-icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:height',
'id' => 'css_list-icon_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:top',
'id' => 'css_list-icon_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'top',
'condition' => array( 'id' => 'list-2-valign', 'opt' => 'is', 'val' => 'top' ),
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Top', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-icon-spacing',
'id' => 'css_list___mfn_list_icon_spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'style' => '--mfn-list-icon-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Spacing', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-icon-size',
'id' => 'css_list___mfn_list_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'style' => '--mfn-list-icon-size',
'condition' => array( 'id' => 'list-2-type', 'opt' => 'isnt', 'val' => 'ordered' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-icon|after:typography',
'id' => 'css_list-list-icon_after_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-icon:after',
'style' => 'typography',
'responsive' => true,
'condition' => array( 'id' => 'list-2-type', 'opt' => 'is', 'val' => 'ordered' ),
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-icon-color',
'id' => 'css_list___mfn_list_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'style' => '--mfn-list-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_list2',
'type' => 'switch',
'class' => 'mfn-fields-switcher mfn-toggled disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:background-color',
'id' => 'css_list-icon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_list2', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:gradient',
'id' => 'css_-list-icon_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_list2', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-style',
'id' => 'css_list-icon_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'border-style',
'attr_id' => 'list2-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-color',
'id' => 'css_list-icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'list2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-width',
'id' => 'css_list-icon_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'border-width',
'condition' => array( 'id' => 'list2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-radius',
'id' => 'css_list-icon_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
// description wrapper
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Description wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc:color',
'id' => 'css_list-desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc a:color',
'id' => 'css_list-desca_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc a|hover:color',
'id' => 'css_list-desca_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc:typography',
'id' => 'css_list-desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
// divider
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-divider-width',
'id' => 'css_list___mfn_list_divider_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'style' => '--mfn-list-divider-width',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Width', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1000, 'step' => 1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-divider-height',
'id' => 'css_list___mfn_list_divider_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'style' => '--mfn-list-divider-height',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '20',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-divider-color',
'id' => 'css_list___mfn_list_divider_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'style' => '--mfn-list-divider-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// List -----------------------------------------------------------
'list' => array(
'type' => 'list',
'title' => __('List Basic', 'mfn-opts'),
'preview' => true, // instant preview
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image replaces icon selected above', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'content',
'edit_tag' => '.list_right | div.desc',
'edit_position' => 'append',
'type' => 'textarea',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
1 => __('With bg', 'mfn-opts'),
2 => __('Transparent', 'mfn-opts'),
3 => __('Vertical', 'mfn-opts'),
4 => __('Ordered list', 'mfn-opts'),
),
'std' => 1,
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'switch',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title:color',
'id' => 'css_list_righttitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title:typography',
'id' => 'css_list_righttitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc:color',
'id' => 'css_list_rightdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc:typography',
'id' => 'css_list_rightdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:color',
'id' => 'css_list_lefticircle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:background',
'id' => 'css_list_leftcircle_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:font-size',
'id' => 'css_list_lefticircle_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-style',
'id' => 'css_list_leftcircle_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'border-style',
'attr_id' => 'border_style_llc',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-color',
'id' => 'css_list_leftcircle_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_llc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-width',
'id' => 'css_list_leftcircle_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_llc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-radius',
'id' => 'css_list_leftcircle_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Live search -----------------------------------------------------------
'livesearch' => array(
'type' => 'livesearch',
'title' => __('Live search', 'mfn-opts'),
'desc' => __('Display search form and browse your item live', 'mfn-opts'),
'size' => '1/3',
'cat' => '',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'item_info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('You can only use one <b>Live search</b> element per page', 'mfn-opts'),
),
array(
'id' => 'min_characters',
'type' => 'text',
'title' => __('Minimal characters', 'mfn-opts'),
'desc' => __('Minimal amount of characters in input to load posts', 'mfn-opts'),
'std' => '3',
'param' => 'number',
'class' => 'narrow',
'after' => __('characters', 'mfn-opts'),
),
array(
'id' => 'container_height',
'type' => 'text',
'title' => __('Search results container height', 'mfn-opts'),
'std' => '300',
'param' => 'number',
'class' => 'narrow',
'after' => __('px', 'mfn-opts'),
),
array(
'id' => 'featured_image',
'type' => 'switch',
'title' => __('Featured image', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '1',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
)
),
),
// Map Basic ------------------------------------------------------------
'map_basic' => array(
'type' => 'map_basic',
'title' => __('Map Basic', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info-iframe',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Number of <b>iframe map</b> loads is unlimited.', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Iframe', 'mfn-opts'),
),
array(
'id' => 'iframe',
'type' => 'textarea',
're_render' => true,
'title' => __('Iframe', 'mfn-opts'),
'desc' => __('Visit <a target="_blank" href="https://google.com/maps">Google Maps</a> and follow these instructions:<br />1. Find place. 2. Click the share button in the left panel. 3. Select "embed a map" 4. Choose size. 5. Click "copy HTML" and paste it above', 'mfn-opts'),
),
// embed
array(
'id' => 'info-embed',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Number of <b>embed map</b> loads is unlimited. Google Maps API key is required.', 'mfn-opts'),
'label' => __('Enter key', 'mfn-opts'),
'link' => 'admin.php?page='. apply_filters('betheme_slug','be'). '-options#advanced&options',
),
array(
'type' => 'header',
'title' => __('Embed', 'mfn-opts'),
),
array(
'id' => 'address',
'type' => 'text',
're_render' => true,
'title' => __('Address or place name', 'mfn-opts'),
),
array(
'id' => 'zoom',
'type' => 'text',
're_render' => true,
'title' => __('Zoom', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => 13,
),
array(
'id' => 'height',
'type' => 'text',
're_render' => true,
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'after' => 'px',
'std' => 300,
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Map Advanced ------------------------------------------------------------
'map' => array(
'type' => 'map',
'title' => __('Map Advanced', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info-key',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Number of free dynamic map loads is limited. Google Maps API key is required.', 'mfn-opts'),
'label' => __('Enter key', 'mfn-opts'),
'link' => 'admin.php?page='. apply_filters('betheme_slug','be'). '-options#advanced&options',
),
array(
'id' => 'lat',
'type' => 'text',
're_render' => true,
'title' => __('Latitude', 'mfn-opts'),
'before' => 'LAT',
'std' => '-33.87',
'std' => '-33.87',
),
array(
'id' => 'lng',
'type' => 'text',
're_render' => true,
'title' => __('Longitude', 'mfn-opts'),
'before' => 'LNG',
'std' => '151.21',
'std' => '151.21',
),
array(
'id' => 'info_window',
'type' => 'textarea',
're_render' => true,
'title' => __('Info window (optional)', 'mfn-opts'),
'desc' => __('Additional information that would appear in Info window on marker click', 'mfn-opts'),
),
array(
'id' => 'zoom',
'type' => 'text',
're_render' => true,
'title' => __('Zoom', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => 13,
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
'type' => 'switch',
're_render' => true,
'title' => __('Type', 'mfn-opts'),
'options' => array(
'ROADMAP' => __('Map', 'mfn-opts'),
'SATELLITE' => __('Satellite', 'mfn-opts'),
'HYBRID' => __('Satellite + Map', 'mfn-opts'),
'TERRAIN' => __('Terrain', 'mfn-opts'),
),
'std' => 'ROADMAP',
),
array(
'id' => 'controls',
'type' => 'select',
're_render' => true,
'title' => __('Controls', 'mfn-opts'),
'options' => array(
'' => __('Zoom', 'mfn-opts'),
'mapType' => __('Map Type', 'mfn-opts'),
'streetView' => __('Street View', 'mfn-opts'),
'zoom mapType' => __('Zoom & Map Type', 'mfn-opts'),
'zoom streetView' => __('Zoom & Street View', 'mfn-opts'),
'mapType streetView' => __('Map Type & Street View', 'mfn-opts'),
'zoom mapType streetView' => __('Zoom, Map Type & Street View', 'mfn-opts'),
'hide' => __('Hide All', 'mfn-opts'),
),
),
array(
'id' => 'draggable',
'type' => 'switch',
're_render' => true,
'title' => __('Draggable', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'disable-mobile'=> __('Disable on mobile', 'mfn-opts'),
'' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'border',
'type' => 'switch',
're_render' => true,
'title' => __('Border', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'icon',
're_render' => true,
'type' => 'upload',
'title' => __('Marker icon', 'mfn-opts'),
'desc' => __('.png', 'mfn-opts'),
),
array(
'id' => 'color',
're_render' => true,
'type' => 'color',
'title' => __('Map color', 'mfn-opts'),
),
array(
'id' => 'styles',
're_render' => true,
'type' => 'textarea',
'title' => __('Styles', 'mfn-opts'),
'desc' => __('You can get predefined styles from <a target="_blank" href="https://snazzymaps.com/explore">snazzymaps.com/explore</a> or generate your own <a target="_blank" href="https://snazzymaps.com/editor">snazzymaps.com/editor</a>', 'mfn-opts'),
'class' => 'form-content-full-width',
),
// additional markers
array(
'type' => 'header',
'title' => __('Additional markers', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Markers', 'mfn-opts'),
'options' => [
// Add Title
'title' => [
'input',
__('Title (optional)', 'mfn-opts'),
'',
],
'lat' => [
'input',
__('Lat', 'mfn-opts'),
'-33.88',
],
'lng' => [
'input',
__('Lng', 'mfn-opts'),
'151.21',
],
'icon' => [
'input',
__('Icon URL (optional)', 'mfn-opts'),
'',
],
'content' => [
'textarea',
__('Info window (optional)', 'mfn-opts'),
'',
],
],
'std' => [],
'primary' => 'title',
'secondary' => 'lat',
),
// contact
array(
'type' => 'header',
'title' => __('Contact box', 'mfn-opts'),
),
array(
'id' => 'title',
're_render' => true,
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'content',
're_render' => true,
'type' => 'textarea',
'title' => __('Address', 'mfn-opts'),
'desc' => __('HTML tags allowed', 'mfn-opts'),
),
array(
'id' => 'telephone',
're_render' => true,
'type' => 'text',
'title' => __('Telephone', 'mfn-opts'),
),
array(
'id' => 'email',
're_render' => true,
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
array(
'id' => 'www',
're_render' => true,
'type' => 'text',
'title' => __('WWW', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'box' => __('Box on the map (for full width column/wrap)', 'mfn-opts'),
'bar' => __('Bar at the top', 'mfn-opts'),
),
),
array(
'id' => 'info-pricing',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('If you need more than 28500 map loads per month please check current Google Maps Pricing or choose Map Basic instead.', 'mfn-opts'),
'label' => __('Google Maps Pricing', 'mfn-opts'),
'link' => 'https://cloud.google.com/maps-platform/pricing/',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-deprecated',
'after' => 'px',
),
array(
'id' => 'latlng',
'type' => 'text',
'title' => __('Lat,Lng,IconURL', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Map', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .google-map:height',
'id' => 'css_mcb-column-innergoogle-map_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .google-map',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .google-map-contact-wrapper .get_in_touch:background-color',
'id' => 'css_google-map-contact-wrapperget_in_touch_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .google-map-contact-wrapper .get_in_touch',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3:color',
'id' => 'css_get_in_touchh3_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3:margin',
'id' => 'css_get_in_touchh3_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3:typography',
'id' => 'css_get_in_touchh3_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon:color',
'id' => 'css_get_in_touchulliicon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li:color',
'id' => 'css_get_in_touchget_in_touch_wrapperulli_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a:color',
'id' => 'css_get_in_touchullia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a',
'style' => 'color',
'type' => 'color',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a|hover:color',
'id' => 'css_get_in_touchullia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Links color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li:--mfn-contactbox-line',
'id' => 'css_get_in_touchulli_mfn_contactbox_line',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li',
'style' => '--mfn-contactbox-line',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Offer Slider Full ----------------------------------------------
'offer' => array(
'type' => 'offer',
'title' => __('Offer Slider Full', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'type' => 'info',
'class' => 'mfn-alert',
'title' => __('Please use on pages <strong>without sidebar</strong> and within <strong>full width sections</strong>. One item per section.', 'mfn-opts'),
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'type' => 'select',
'class' => 'mfn-deprecated',
'title' => __('Text align', 'mfn-opts'),
'desc' => __('Text align center does not affect title if button is active', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => 'left',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-style',
'id' => 'css_offeroffer_liimage_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-color',
'id' => 'css_offeroffer_liimage_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-width',
'id' => 'css_offeroffer_liimage_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-radius',
'id' => 'css_offeroffer_liimage_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3:color',
'id' => 'css_offeroffer_lidesc_wrappertitleh3_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3:typography',
'id' => 'css_offeroffer_lidesc_wrappertitleh3_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:text-align',
'id' => 'css_desc_wrapper_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc:color',
'id' => 'css_offeroffer_lidesc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc:typography',
'id' => 'css_offeroffer_lidesc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination:background-color',
'id' => 'css_offerslider_pagination_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination span:color',
'id' => 'css_offerslider_paginationofferslider_paginationspan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination span',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow:background-color',
'id' => 'css_offerslick-arrow_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow',
'style' => 'background-color',
'type' => 'color',
'title' => __('Arrows background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow .button_icon i:color',
'id' => 'css_offerslick-arrowbutton_iconi_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow .button_icon i',
'style' => 'color',
'type' => 'color',
'title' => __('Arrows color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow|hover:background-color',
'id' => 'css_offerslick-arrow_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow:hover',
'style' => 'background-color',
'type' => 'color',
'title' => __('Arrows background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow|hover .button_icon i:color',
'id' => 'css_offerslick-arrowbutton_iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slick-arrow:hover .button_icon i',
'style' => 'color',
'type' => 'color',
'title' => __('Arrows color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:padding',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:typography',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-style',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'border-style',
'attr_id' => 'border_style_osf_border',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-width',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-radius',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:color',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-color',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_osf',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:background-color',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_osf', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:gradient',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_osf', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button|hover:color',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button|hover:border-color',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_osf',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button|hover:background',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_osf', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button|hover:gradient',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_osf', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Offer Slider Thumb ---------------------------------------------
'offer_thumb' => array(
'type' => 'offer_thumb',
'title' => __('Offer Slider Thumb', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Thumbnails position', 'mfn-opts'),
'options' => array(
'bottom' => __('Bottom', 'mfn-opts'),
'' => __('Left', 'mfn-opts'),
),
'std' => 'bottom',
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'type' => 'switch',
'class' => 'mfn-deprecated',
'title' => __('Text align', 'mfn-opts'),
'desc' => __('Text align center does not affect title if button is active', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => 'left',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-style',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-color',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-width',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-radius',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3:color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleh3_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3:typography',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleh3_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:text-align',
'id' => 'css_desc_wrapper_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc:color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc:typography',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li a:background-color',
'id' => 'css_offer_thumbslider_paginationlia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li a:border-color',
'id' => 'css_offer_thumbslider_paginationlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li a',
'style' => 'border-color',
'type' => 'color',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li.slick-active a:background-color',
'id' => 'css_offer_thumbslider_paginationlislick-a_background_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li.slick-active a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li.slick-active a:border-color',
'id' => 'css_offer_thumbslider_paginationlislick-a_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li.slick-active a',
'style' => 'border-color',
'type' => 'color',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:padding',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:typography',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-style',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'border-style',
'attr_id' => 'border_style_osf_border',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-width',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-radius',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_osf',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:background-color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_osf', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:gradient',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_osf', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button|hover:color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabuttonhover_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button|hover:border-color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabuttonhover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_osf',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button|hover:background',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabuttonhover_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_osf', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button|hover:gradient',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabuttonhover_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_osf', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li:--mfn-offer-thumbs-nav',
'id' => 'css_offer_thumbslider_paginationli_offer_thumbs_nav',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li',
'style' => '--mfn-offer-thumbs-nav',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Active', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Opening Hours --------------------------------------------------
'opening_hours' => array(
'type' => 'opening_hours',
'title' => __('Opening Hours', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'edit_tag' => '.opening_hours | .title',
'edit_position' => 'prepend',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Days', 'mfn-opts'),
'options' => [
'days' => [
'input',
__('Days', 'mfn-opts'),
'Monday - Friday',
],
'hours' => [
'input',
__('Hours', 'mfn-opts'),
'8am - 4pm',
],
],
'std' => [
0 => [
'days' => 'Monday - Friday',
'hours' => '8am - 4pm',
],
1 => [
'days' => 'Saturday',
'hours' => '10am - 2pm',
],
],
'primary' => 'days',
'preview' => 'tabs',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.opening_hours_wrapper | span.ohw-desc',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
'std' => __('Vitae adipiscing turpis. Aenean ligula nibh, molestie id viverra a, dapibus at dolor.', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours:text-align',
'id' => 'css_opening_hours_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Row', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-style',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'border-style',
'attr_id' => 'border_style_oh_row',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-width',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_oh_row', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-color',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_oh_row', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-radius',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:margin',
'id' => 'css_opening_hoursopening_hours_wrapperli_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:padding',
'id' => 'css_opening_hoursopening_hours_wrapperli_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:text-align',
'id' => 'css_opening_hoursopening_hours_wrapperli_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title:color',
'id' => 'css_opening_hourstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title:typography',
'id' => 'css_opening_hourstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title:margin',
'id' => 'css_opening_hourstitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc:color',
'id' => 'css_opening_hours_wrapperohw-desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc:typography',
'id' => 'css_opening_hours_wrapperohw-desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc:margin',
'id' => 'css_opening_hours_wrapperohw-desc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Days', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:color',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:background',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:typography',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:padding',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-style',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'border-style',
'attr_id' => 'border_style_oh',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-width',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_oh', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-color',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_oh', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-radius',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Hours', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span:color',
'id' => 'css_opening_hoursopening_hours_wrapperlispan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span:typography',
'id' => 'css_opening_hoursopening_hours_wrapperlispan_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Our team -------------------------------------------------------
'our_team' => array(
'type' => 'our_team',
'title' => __('Our Team', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'heading',
'dynamic_data' => 'title',
'type' => 'text',
'edit_tag' => '.team | .title',
'edit_position' => 'prepend',
'title' => __('Heading', 'mfn-opts'),
'std' => __('This is the heading', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Photo', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'dynamic_data' => 'title',
'type' => 'text',
'edit_tag' => '.desc_wrapper | .desc_wrappper_title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'subtitle',
'type' => 'text',
'edit_tag' => '.desc_wrapper | p.subtitle',
'edit_position' => 'prepend',
'title' => __('Subtitle', 'mfn-opts'),
'std' => __('This is the subtitle', 'mfn-opts'),
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'phone',
'type' => 'text',
'title' => __('Phone', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'email',
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
// social
array(
'type' => 'header',
'title' => __('Social', 'mfn-opts'),
),
array(
'id' => 'facebook',
'type' => 'text',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'id' => 'twitter',
'type' => 'text',
'title' => __('Twitter', 'mfn-opts'),
),
array(
'id' => 'linkedin',
'type' => 'text',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'id' => 'vcard',
'type' => 'text',
'title' => __('vCard', 'mfn-opts'),
),
// other
array(
'type' => 'header',
'title' => __('Other', 'mfn-opts'),
),
array(
'id' => 'blockquote',
'type' => 'textarea',
'title' => __('Blockquote', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'circle' => __('Circle', 'mfn-opts'),
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title:color',
'id' => 'css_teamtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title:typography',
'id' => 'css_teamtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:margin',
'id' => 'css_teamimage_frame_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-style',
'id' => 'css_teamimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-color',
'id' => 'css_teamimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-width',
'id' => 'css_teamimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-radius',
'id' => 'css_teamimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:text-align',
'id' => 'css_teamdesc_wrapper_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:background-color',
'id' => 'css_teamdesc_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:padding',
'id' => 'css_teamdesc_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-style',
'id' => 'css_teamdesc_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-color',
'id' => 'css_teamdesc_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-width',
'id' => 'css_teamdesc_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-radius',
'id' => 'css_teamdesc_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title:color',
'id' => 'css_teamdesc_wrapperdesc_wrappper_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title:typography',
'id' => 'css_teamdesc_wrapperdesc_wrappper_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:color',
'id' => 'css_teamdesc_wrappersubtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:typography',
'id' => 'css_teamdesc_wrappersubtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Phone', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a:color',
'id' => 'css_teamdesc_wrapperphonea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i:color',
'id' => 'css_teamdesc_wrapperphonei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone:typography',
'id' => 'css_teamdesc_wrapperphone_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:color',
'id' => 'css_teamdesc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:typography',
'id' => 'css_teamdesc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:color',
'id' => 'css_teamdesc_wrapperblockquote_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:typography',
'id' => 'css_teamdesc_wrapperblockquote_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon:color',
'id' => 'css_teamdesc_wrapper-blockquote-icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon',
'style' => 'color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon:font-size',
'id' => 'css_teamdesc_wrapper-blockquote-icon_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon',
'style' => 'font-size',
'type' => 'sliderbar',
'themeoptions' => 'style:',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:text-decoration-color',
'id' => 'css_teamdesc_wrapperblockquote_text_decoration_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:text-underline-offset',
'id' => 'css_teamdesc_wrapperblockquote_text_underline_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:text-decoration-thickness',
'id' => 'css_teamdesc_wrapperblockquote_text_decoration_thickness',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-style',
'id' => 'css_teamdesc_wrapperlinksa_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'style' => 'border-style',
'attr_id' => 'border_style_ot_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-width',
'id' => 'css_teamdesc_wrapperlinksa_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ot_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-radius',
'id' => 'css_teamdesc_wrapperlinksa_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a span i:color',
'id' => 'css_teamdesc_wrapperlinksaspani_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a span i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:background-color',
'id' => 'css_teamdesc_wrapperlinksa_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-color',
'id' => 'css_teamdesc_wrapperlinksa_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ot_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a|hover span.b i:color',
'id' => 'css_teamdesc_wrapperlinksaspanbi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:hover span.b i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a|hover:background-color',
'id' => 'css_teamdesc_wrapperlinksa_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a|hover:border-color',
'id' => 'css_teamdesc_wrapperlinksa_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ot_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr:background-color',
'id' => 'css_teamdesc_wrapperhr_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr:width',
'id' => 'css_teamdesc_wrapperhr_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr:margin',
'id' => 'css_teamdesc_wrapperhr_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Our team list --------------------------------------------------
'our_team_list' => array(
'type' => 'our_team_list',
'title' => __('Our Team List', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Photo', 'mfn-opts'),
'desc' => __('Recommended minimum image width <b>768px</b>', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'subtitle',
'edit_tag' => '.desc_wrapper | p.subtitle',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Subtitle', 'mfn-opts'),
'std' => __('This is the subtitle', 'mfn-opts'),
'preview' => 'subtitle',
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'phone',
'type' => 'text',
'title' => __('Phone', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'blockquote',
'type' => 'textarea',
'title' => __('Blockquote', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'email',
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
// social
array(
'type' => 'header',
'title' => __('Social', 'mfn-opts'),
),
array(
'id' => 'facebook',
'type' => 'text',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'id' => 'twitter',
'type' => 'text',
'title' => __('Twitter', 'mfn-opts'),
),
array(
'id' => 'linkedin',
'type' => 'text',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'id' => 'vcard',
'type' => 'text',
'title' => __('vCard', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:margin',
'id' => 'css_teamimage_frame_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-style',
'id' => 'css_teamimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_team_list_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-color',
'id' => 'css_teamimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_team_list_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-width',
'id' => 'css_teamimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_team_list_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-radius',
'id' => 'css_teamimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Right content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:background-color',
'id' => 'css_teambq_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:padding',
'id' => 'css_teambq_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-style',
'id' => 'css_teambq_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_team_list_desc',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-color',
'id' => 'css_teambq_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_team_list_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-width',
'id' => 'css_teambq_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_team_list_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-radius',
'id' => 'css_teambq_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title:color',
'id' => 'css_teamdesc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title:typography',
'id' => 'css_teamdesc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:color',
'id' => 'css_teamdesc_wrappersubtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:typography',
'id' => 'css_teamdesc_wrappersubtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Phone', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a:color',
'id' => 'css_teamdesc_wrapperphonea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i:color',
'id' => 'css_teamdesc_wrapperphonei_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone:typography',
'id' => 'css_teamdesc_wrapperphone_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:color',
'id' => 'css_teamdesc_wrapperdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:typography',
'id' => 'css_teamdesc_wrapperdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:color',
'id' => 'css_teamblockquote_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:typography',
'id' => 'css_teamblockquote_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon:color',
'id' => 'css_team-blockquote-icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon',
'style' => 'color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon:font-size',
'id' => 'css_team-blockquote-icon_font_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon',
'style' => 'font-size',
'type' => 'sliderbar',
'themeoptions' => 'style:',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:text-decoration-color',
'id' => 'css_teamblockquote_text_decoration_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:text-underline-offset',
'id' => 'css_teamblockquote_text_underline_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:text-decoration-thickness',
'id' => 'css_teamblockquote_text_decoration_thickness',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-style',
'id' => 'css_teamlinksa_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'style' => 'border-style',
'attr_id' => 'border_style_team_list_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-width',
'id' => 'css_teamlinksa_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_team_list_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-radius',
'id' => 'css_teamlinksa_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a span i:color',
'id' => 'css_teamlinksaspani_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a span i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:background-color',
'id' => 'css_teamlinksa_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-color',
'id' => 'css_teamlinksa_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_team_list_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a|hover span.b i:color',
'id' => 'css_teamlinksaspanbi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:hover span.b i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a|hover:background-color',
'id' => 'css_teamlinksa_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a|hover:border-color',
'id' => 'css_teamlinksa_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_team_list_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr:background-color',
'id' => 'css_teamhr_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr:width',
'id' => 'css_teamhr_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr:margin',
'id' => 'css_teamhr_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Lottie --------------------------------------------------
'lottie' => array(
'type' => 'lottie',
'title' => __('Lottie', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'source_switcher',
'attr_id' => 'lottie_source_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher',
'title' => __('Lottie Source', 'mfn-opts'),
'options' => array(
'file' => __('Media File', 'mfn-opts'),
'url' => __('External URL', 'mfn-opts'),
),
'std' => 'file',
),
array(
'id' => 'file',
'condition' => array( 'id' => 'lottie_source_switcher', 'opt' => 'is', 'val' => 'file' ),
'type' => 'upload',
're_render' => true,
'title' => __('Lottie File', 'mfn-opts'),
'desc' => __('Upload self-hosted JSON file', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'src',
'condition' => array( 'id' => 'lottie_source_switcher', 'opt' => 'is', 'val' => 'url' ),
'type' => 'text',
're_render' => true,
'title' => __('Lottie URL', 'mfn-opts'),
'desc' => __('Your Lottie JSON url', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Settings', 'mfn-opts'),
),
array(
'id' => 'trigger',
'attr_id' => 'lottie_trigger',
'type' => 'select',
're_render' => true,
'title' => __('Trigger', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'hover' => __('On hover', 'mfn-opts'),
'click' => __('On click', 'mfn-opts'),
'scroll' => __('On scroll', 'mfn-opts'),
'viewport' => __('Viewport', 'mfn-opts'),
),
'std' => 'default',
),
array(
'id' => 'loop',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'isnt', 'val' => 'scroll' ),
'attr_id' => 'lottie_loop',
'type' => 'switch',
'title' => __('Loop', 'mfn-opts'),
'options' => array(
"0" => __('No', 'mfn-opts'),
"1" => __('Yes', 'mfn-opts'),
),
'std' => "0",
),
array(
'id' => 'speed',
'type' => 'sliderbar',
'title' => __('Speed', 'mfn-opts'),
'std' => '1',
'param' => array(
'min' => '0.1',
'max' => '5',
'step' => '0.1',
)
),
array(
'id' => 'viewport',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'is', 'val' => 'viewport,scroll' ),
'type' => 'sliderbar',
're_render' => true,
'title' => __('Viewport bottom offset', 'mfn-opts'),
'std' => '10',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
)
),
array(
'id' => 'frame_start',
'type' => 'sliderbar',
'title' => __('Start point', 'mfn-opts'),
'std' => '1',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
)
),
array(
'id' => 'frame_end',
'type' => 'sliderbar',
'title' => __('End point', 'mfn-opts'),
'std' => '100',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
)
),
array(
'id' => 'direction',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'isnt', 'val' => 'scroll' ),
'type' => 'switch',
'title' => __('Direction', 'mfn-opts'),
'options' => array(
'1' => __('Forward', 'mfn-opts'),
'-1' => __('Backward', 'mfn-opts'),
),
'std' => '1',
),
array(
'id' => 'link',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'isnt', 'val' => 'click' ),
'type' => 'text',
'std' => __('Enter your custom URL', 'mfn-opts'),
'title' => __('Link', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper:justify-content',
'id' => 'css_lottie-wrapper_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper',
'style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper .lottie:width',
'id' => 'css_lottie-wrapperlottie_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper .lottie',
'style' => 'width',
'responsive' => true,
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Payments methods ----------------------------------------------------
'payment_methods' => array(
'type' => 'payment_methods',
'title' => __('Payment methods', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'dynamic_items',
'type' => 'dynamic_items',
'title' => __('Payment methods', 'mfn-opts'),
'options' => array(
'var' => array(
'predefined' => __('Predefined', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts')
),
'add_button' => false,
'preview' => 'img',
'options' => array(
'predefined' => array(
'type' => 'select-img',
'label' => __('Predefined', 'mfn-opts'),
'options' => array(
'Affirm' => get_template_directory_uri().'/images/payment-methods/Affirm.svg',
'Alipay' => get_template_directory_uri().'/images/payment-methods/Alipay.svg',
'AmazonPay' => get_template_directory_uri().'/images/payment-methods/AmazonPay.svg',
'Amex' => get_template_directory_uri().'/images/payment-methods/Amex.svg',
'ApplePay' => get_template_directory_uri().'/images/payment-methods/ApplePay.svg',
'Bancontact' => get_template_directory_uri().'/images/payment-methods/Bancontact.svg',
'Bitcoin' => get_template_directory_uri().'/images/payment-methods/Bitcoin.svg',
'BitcoinCash' => get_template_directory_uri().'/images/payment-methods/BitcoinCash.svg',
'Bitpay' => get_template_directory_uri().'/images/payment-methods/Bitpay.svg',
'Citadele' => get_template_directory_uri().'/images/payment-methods/Citadele.svg',
'DinersClub' => get_template_directory_uri().'/images/payment-methods/DinersClub.svg',
'Discover' => get_template_directory_uri().'/images/payment-methods/Discover.svg',
'Elo' => get_template_directory_uri().'/images/payment-methods/Elo.svg',
'Etherium' => get_template_directory_uri().'/images/payment-methods/Etherium.svg',
'FacebookPay' => get_template_directory_uri().'/images/payment-methods/FacebookPay.svg',
'Forbrugsforeningen' => get_template_directory_uri().'/images/payment-methods/Forbrugsforeningen.svg',
'Giropay' => get_template_directory_uri().'/images/payment-methods/Giropay.svg',
'GooglePay' => get_template_directory_uri().'/images/payment-methods/GooglePay.svg',
'Ideal' => get_template_directory_uri().'/images/payment-methods/Ideal.svg',
'Interac' => get_template_directory_uri().'/images/payment-methods/Interac.svg',
'JCB' => get_template_directory_uri().'/images/payment-methods/JCB.svg',
'Klarna' => get_template_directory_uri().'/images/payment-methods/Klarna.svg',
'Lightcoin' => get_template_directory_uri().'/images/payment-methods/Lightcoin.svg',
'Maestro' => get_template_directory_uri().'/images/payment-methods/Maestro.svg',
'Mastercard' => get_template_directory_uri().'/images/payment-methods/Mastercard.svg',
'PayPal' => get_template_directory_uri().'/images/payment-methods/PayPal.svg',
'Payoneer' => get_template_directory_uri().'/images/payment-methods/Payoneer.svg',
'Paysafe' => get_template_directory_uri().'/images/payment-methods/Paysafe.svg',
'Poli' => get_template_directory_uri().'/images/payment-methods/Poli.svg',
'Qiwi' => get_template_directory_uri().'/images/payment-methods/Qiwi.svg',
'SEPA' => get_template_directory_uri().'/images/payment-methods/SEPA.svg',
'ShopPay' => get_template_directory_uri().'/images/payment-methods/ShopPay.svg',
'Skrill' => get_template_directory_uri().'/images/payment-methods/Skrill.svg',
'Sofort' => get_template_directory_uri().'/images/payment-methods/Sofort.svg',
'Stripe' => get_template_directory_uri().'/images/payment-methods/Stripe.svg',
'UnionPay' => get_template_directory_uri().'/images/payment-methods/UnionPay.svg',
'Venmo' => get_template_directory_uri().'/images/payment-methods/Venmo.svg',
'Verifone' => get_template_directory_uri().'/images/payment-methods/Verifone.svg',
'Visa' => get_template_directory_uri().'/images/payment-methods/Visa.svg',
'WeChat' => get_template_directory_uri().'/images/payment-methods/WeChat.svg',
'Webmoney' => get_template_directory_uri().'/images/payment-methods/Webmoney.svg',
'Yandex' => get_template_directory_uri().'/images/payment-methods/Yandex.svg',
)
),
'custom' => array(
'type' => 'upload',
'label' => __('Custom', 'mfn-opts'),
)
)
),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'invert',
'type' => 'switch',
'title' => __('Invert', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list:justify-content',
'id' => 'css_payment-methods-list_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list',
'style' => 'justify-content',
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Alignment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li img:width',
'id' => 'css_payment-methods-listliimg_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li img',
'style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '10',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:opacity',
'id' => 'css_payment-methods-listli_opacity',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'opacity',
'type' => 'sliderbar',
'title' => __('Opacity', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '1'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:background-color',
'id' => 'css_payment-methods-listli_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:padding',
'id' => 'css_payment-methods-listli_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:margin',
'id' => 'css_payment-methods-listli_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-style',
'id' => 'css_payment-methods-listli_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'border-style',
'attr_id' => 'border_style_paymet',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-color',
'id' => 'css_payment-methods-listli_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_paymet', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-width',
'id' => 'css_payment-methods-listli_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_paymet', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-radius',
'id' => 'css_payment-methods-listli_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
)
),
// Photo Box ------------------------------------------------------
'photo_box' => array(
'type' => 'photo_box',
'title' => __('Photo Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.photo_box | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.photo_box | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// advanced
array(
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'desc' => __('Works only for images with link', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box:text-align',
'id' => 'css_photo_box_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title:color',
'id' => 'css_photo_boxtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title:typography',
'id' => 'css_photo_boxtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:margin',
'id' => 'css_photo_boximage_frame_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-style',
'id' => 'css_photo_boximage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_pb_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-color',
'id' => 'css_photo_boximage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pb_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-width',
'id' => 'css_photo_boximage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_pb_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-radius',
'id' => 'css_photo_boximage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc:color',
'id' => 'css_photo_boxdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc:typography',
'id' => 'css_photo_boxdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Plain text
'plain_text' => array(
'type' => 'plain_text',
'title' => __('Plain Text', 'mfn-opts'),
'size' => '1/4',
'preview' => true, // instant preview
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.mcb-column-inner | div.desc',
'edit_position' => 'append',
'title' => __('Text', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'vbstd' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'shortcodes_parser',
'type' => 'switch',
'title' => __('Shortcodes parser', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'preview' => '1',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:text-align',
'id' => 'css_desc_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc a:color',
'id' => 'css_descdesca_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc a',
'style' => 'color',
'type' => 'color',
'desc' => __('May be overwritten by individual tags or inline CSS', 'mfn-opts'),
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:text-shadow',
'id' => 'css_desc_text_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'style' => 'text-shadow',
'type' => 'text_shadow',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:typography',
'id' => 'css_desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Portfolio ------------------------------------------------------
'portfolio' => array(
'type' => 'portfolio',
'title' => __('Portfolio', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 3,
'preview' => 'number',
),
array(
'id' => 'style',
'attr_id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'flat' => __('Flat', 'mfn-opts'),
'grid' => __('Grid', 'mfn-opts'),
'masonry' => __('Masonry blog style', 'mfn-opts'),
'masonry-hover' => __('Masonry hover description', 'mfn-opts'),
'masonry-minimal' => __('Masonry minimal', 'mfn-opts'),
'masonry-flat' => __('Masonry flat', 'mfn-opts'),
'list' => __('List', 'mfn-opts'),
'exposure' => __('Exposure', 'mfn-opts'),
),
'std' => 'grid',
'preview' => 'style',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'desc' => __('for styles: Flat, Grid, Masonry blog style, Masonry hover description', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'std' => '3',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do <b>not</b> use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'portfolio-link',
'type' => 'select',
'title' => __('Project link', 'mfn-opts'),
'options' => array(
'' => __('Default (from Theme Options)', 'mfn-opts'),
'details' => __('Details', 'mfn-opts'),
'popup' => __('Popup Image', 'mfn-opts'),
'disable' => __('Disable Details | Only Popup Image', 'mfn-opts'),
'_self' => __('Project Website | Open in the same window', 'mfn-opts'),
'_blank' => __('Project Website | Open in new window', 'mfn-opts'),
)
),
array(
'id' => 'exclude_id',
're_render' => true,
'type' => 'text',
'title' => __('Exclude posts', 'mfn-opts'),
'desc' => __('IDs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
),
array(
'id' => 'related',
're_render' => true,
'type' => 'switch',
'title' => __('Use as related projects', 'mfn-opts'),
'desc' => __('Exclude current project on single project page. This option will overwrite exclude posts option above.', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'filters',
'attr_id' => 'filters',
're_render' => true,
'type' => 'switch',
'title' => __('Filters', 'mfn-opts'),
'desc' => __('for category: all or multiple categories (only selected categories show in filters)', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// pagination
array(
'type' => 'header',
'title' => __('Pagination', 'mfn-opts'),
),
array(
'id' => 'pagination',
're_render' => true,
'type' => 'switch',
'title' => __('Pagination', 'mfn-opts'),
'desc' => __('Does <b>not</b> work on WMPL homepage', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'load_more',
're_render' => true,
'type' => 'switch',
'title' => __('Load More button', 'mfn-opts'),
'desc' => __('Sliders will be replaced with featured images. Please use with pagination enabled.', 'mfn-opts'),
'options' => array(
0 => __('No', 'mfn-opts'),
1 => __('Yes', 'mfn-opts'),
),
'std' => 0,
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'excerpt_hide',
're_render' => true,
'type' => 'switch',
'title' => __('Excerpt', 'mfn-opts'),
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => array('masonry','masonry-hover','list','exposure') ),
'options' => array(
0 => __('Show', 'mfn-opts'),
1 => __('Hide', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:background-color',
'id' => 'css_portfolio-item_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:padding',
'id' => 'css_portfolio-item_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-style',
'id' => 'css_portfolio-item_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'style' => 'border-style',
'attr_id' => 'border_style_portfolio',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-color',
'id' => 'css_portfolio-item_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_portfolio', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-width',
'id' => 'css_portfolio-item_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_portfolio', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-radius',
'id' => 'css_portfolio-item_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-style',
'id' => 'css_portfolio-itemimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_portfolio_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-color',
'id' => 'css_portfolio-itemimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_portfolio_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-width',
'id' => 'css_portfolio-itemimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_portfolio_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-radius',
'id' => 'css_portfolio-itemimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc:background-color',
'id' => 'css_portfolio-itemdesc_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc:margin',
'id' => 'css_portfolio-itemdesc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc:padding',
'id' => 'css_portfolio-itemdesc_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:body .mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title:color',
'id' => 'css_title_color',
'selector' => 'body .mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title:typography',
'id' => 'css_portfolio-itementry-title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper:color',
'id' => 'css_portfolio-itemdesc-wrapper_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper:typography',
'id' => 'css_portfolio-itemdesc-wrapper_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item a i:color',
'id' => 'css_portfolio-itemai_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item a i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item a|hover i:color',
'id' => 'css_portfolio-itemai_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item a:hover i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Masonry hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc:background-color',
'id' => 'css_masonry_portfolio-item_desc_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc h3|after:background',
'id' => 'css_masonry_portfolio-item_desch3after_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc h3:after',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Meta', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper h5:color',
'id' => 'css_details_wrapper_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper h5',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper a:color',
'id' => 'css_portfolio-itemdetails-wrappera_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper .column:border-color',
'id' => 'css_meta_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper .column',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper:typography',
'id' => 'css_portfolio-itemdetails-wrapper_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Exposure', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-inner .line:background-color',
'id' => 'css_portfolio-itemdesc-innerline_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-inner .line',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:padding',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:typography',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-style',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'border-style',
'attr_id' => 'border_style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-width',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-radius',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button i:color',
'id' => 'css_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-color',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:background-color',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:gradient',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button|hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button|hover i:color',
'id' => 'css_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:hover i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button|hover:border-color',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbuttonhover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button|hover:background',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbuttonhover_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:hover,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button|hover:gradient',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'filters', 'opt' => 'is', 'val' => '1' ),
'title' => __('Filters', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:padding',
'id' => 'css_filters_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:margin',
'id' => 'css_filters_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:background',
'id' => 'css_filters_wrapper_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-style',
'id' => 'css_filters_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-width',
'id' => 'css_filters_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-radius',
'id' => 'css_filters_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:width',
'id' => 'css_filters_wrapperli_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Items width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:padding',
'id' => 'css_filters_wrapperlia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:margin',
'id' => 'css_filters_wrapperli_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-style',
'id' => 'css_filters_wrapperlia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-width',
'id' => 'css_filters_wrapperlia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-radius',
'id' => 'css_filters_wrapperlia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:typography',
'id' => 'css_filters_wrapperli_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:color',
'id' => 'css_filters_wrapperlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:background-color',
'id' => 'css_filters_wrapperlia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-color',
'id' => 'css_filters_wrapperlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a|hover:color',
'id' => 'css_filters_wrapperlia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a|hover:background-color',
'id' => 'css_filters_wrapperlia_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a|hover:border-color',
'id' => 'css_filters_wrapperlia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a:color',
'id' => 'css_filters_wrapperlicurrent-cata_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a:background-color',
'id' => 'css_filters_wrapperlicurrent-cata_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a:border-color',
'id' => 'css_filters_wrapperlicurrent-cata_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.current-cat a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Filters exit', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:width',
'id' => 'css_filters_wrapperliclosea_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:padding',
'id' => 'css_filters_wrapperliclosea_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:color',
'id' => 'css_filters_wrapperliclosea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:background-color',
'id' => 'css_filters_wrapperliclosea_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:border-color',
'id' => 'css_filters_wrapperliclosea_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a|hover:color',
'id' => 'css_filters_wrapperliclosea_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a|hover:background-color',
'id' => 'css_filters_wrapperliclosea_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a|hover:border-color',
'id' => 'css_filters_wrapperliclosea_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
), array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Portfolio Grid -------------------------------------------------
'portfolio_grid' => array(
'type' => 'portfolio_grid',
'title' => __('Portfolio Grid', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 4,
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => 'Grayscale',
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-re_render modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Box', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:width',
'id' => 'css_portfolio_gridli_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'width',
'type' => 'text',
'default_unit' => '%',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:padding',
'id' => 'css_portfolio_gridli_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-style',
'id' => 'css_portfolio_gridli_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_portgrid',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-width',
'id' => 'css_portfolio_gridli_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_portgrid', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-radius',
'id' => 'css_portfolio_gridli_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:background-color',
'id' => 'css_portfolio_gridli_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_frame .image_wrapper .mask|after:background-color',
'id' => 'css_portfolio_gridliimage_frameimage_wrappermaskafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_frame .image_wrapper .mask:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Mask', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-color',
'id' => 'css_portfolio_gridli_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_portgrid', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li|hover:background-color',
'id' => 'css_portfolio_gridli_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li|hover .image_frame .image_wrapper .mask|after:background-color',
'id' => 'css_grid_image_frameimage_wrappermaskafter_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:hover .image_frame .image_wrapper .mask:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Mask', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li|hover:border-color',
'id' => 'css_portfolio_gridli_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_portgrid', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a:background-color',
'id' => 'css_portfolio_gridliimage_linksa_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a .path:stroke',
'id' => 'css_portfolio_gridliimage_linksapath_stroke',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a .path',
'style' => 'stroke',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a:border-color',
'id' => 'css_portfolio_gridliimage_linksa_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a|hover:background-color',
'id' => 'css_portfolio_gridliimage_linksa_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a|hover .path:stroke',
'id' => 'css_portfolio_gridliimage_linksapath_stroke_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a:hover .path',
'style' => 'stroke',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a|hover:border-color',
'id' => 'css_portfolio_gridliimage_linksa_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li .image_links a:hover',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Portfolio Photo ------------------------------------------------
'portfolio_photo' => array(
'type' => 'portfolio_photo',
'title' => __('Portfolio Photo', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 5,
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <b>coma</b> ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'switch',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'margin',
're_render' => true,
'type' => 'switch',
'title' => __('Margin', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Box', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:background-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-style',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_port_photo',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-width',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-radius',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title:color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title:typography',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title:border-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailstitle_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title',
'style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Meta', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories:color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailscategories_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories:typography',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailscategories_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:background-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more h4:color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmoreh4_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more h4',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:typography',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:padding',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-style',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_port_photo',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-width',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-radius',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Portfolio Slider -----------------------------------------------
'portfolio_slider' => array(
'type' => 'portfolio_slider',
'title' => __('Portfolio Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 6,
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'arrows',
're_render' => true,
'type' => 'switch',
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('Hide', 'mfn-opts'),
'always' => __('Show', 'mfn-opts'),
'hover' => __('Show on hover', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'size',
'type' => 'switch',
're_render' => true,
'title' => __('Image size', 'mfn-opts'),
'options' => array(
'small' => __('Small', 'mfn-opts'),
'medium' => __('Medium', 'mfn-opts'),
'large' => __('Large', 'mfn-opts'),
),
'std' => 'small',
),
array(
'id' => 'scroll',
'type' => 'switch',
're_render' => true,
'title' => __('Slides to scroll', 'mfn-opts'),
'options' => array(
'page' => __('One page', 'mfn-opts'),
'slide' => __('Single slide', 'mfn-opts'),
),
'std' => 'page',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav:background-color',
'id' => 'css_portfolio_slider_nav_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav:color',
'id' => 'css_portfolio_slider_nav_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav|hover:background-color',
'id' => 'css_portfolio_slider_nav_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav:hover',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav|hover:color',
'id' => 'css_portfolio_slider_nav_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_slider .slider_nav:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Pricing item ---------------------------------------------------
'pricing_item' => array(
'type' => 'pricing_item',
'title' => __('Pricing Item', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.plan-header | .title',
'title' => __('Title', 'mfn-opts'),
'edit_position' => 'before | .price',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
// price
array(
'type' => 'header',
'title' => __('Price', 'mfn-opts'),
),
array(
'id' => 'price',
'type' => 'text',
'title' => __('Price', 'mfn-opts'),
'class' => 'narrow',
'edit_tag' => '.price | span',
'edit_position' => 'append',
'std' => '99',
'preview' => 'number',
),
array(
'id' => 'currency',
'edit_tag' => '.price | sup.currency',
'edit_position' => 'prepend',
'type' => 'text',
'title' => __('Currency', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'currency_pos',
're_render' => true,
'type' => 'switch',
'title' => __('Currency position', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'period',
'type' => 'text',
'edit_tag' => '.price | .period',
'edit_position' => 'append',
'title' => __('Period', 'mfn-opts'),
'class' => 'narrow',
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'subtitle',
'edit_tag' => '.plan-header | p.subtitle',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.plan-inside | span.pi-content',
'edit_position' => 'prepend',
'title' => __('Content', 'mfn-opts'),
'desc' => __('HTML tags allowed', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('List', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
'List item',
],
],
'std' => [
0 => [
'title' => __('This is the 1st item', 'mfn-opts'),
],
1 => [
'title' => __('This is the 2nd item', 'mfn-opts'),
],
],
'primary' => 'title',
'preview' => 'tabs',
),
// button
array(
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link_title',
're_render' => true,
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'icon',
're_render' => true,
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'link',
're_render' => true,
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Button will appear only if this field is filled.', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'box' => __('Box', 'mfn-opts'),
'table' => __('Table', 'mfn-opts'),
'label' => __('Table label', 'mfn-opts'),
),
'std' => 'box',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'featured',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Featured', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
1 => __('Featured', 'mfn-opts'),
),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box:text-align',
'id' => 'css_pricing-box_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-style',
'id' => 'css_pricing-boxplan-headerimage_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'style' => 'border-style',
'attr_id' => 'border_style_pricing_box',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-color',
'id' => 'css_pricing-boxplan-headerimage_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-width',
'id' => 'css_pricing-boxplan-headerimage_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-radius',
'id' => 'css_pricing-boxplan-headerimage_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:margin',
'id' => 'css_pricing-boxplan-headerimage_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title:color',
'id' => 'css_pricing-boxplan-headertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title:typography',
'id' => 'css_pricing-boxplan-headertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title:margin',
'id' => 'css_pricing-boxplan-headertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span:color',
'id' => 'css_pricing-boxplan-headerpricespan_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span:typography',
'id' => 'css_pricing-boxplan-headerpricespan_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price:margin',
'id' => 'css_pricing-boxplan-headerprice_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Price currency', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.currency:color',
'id' => 'css_pricing-boxplan-headerpricesupcurrency_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.currency',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.currency:typography',
'id' => 'css_mcb-column-innerpricing-boxplan-headerpricesupcurrency_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.currency',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Price period', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.period:color',
'id' => 'css_pricing-boxplan-headerpricesupperiod_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.period',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.period:typography',
'id' => 'css_mcb-column-innerpricing-boxplan-headerpricesupperiod_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.period',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr:background-color',
'id' => 'css_pricing-boxplan-headerhr_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr:width',
'id' => 'css_pricing-boxplan-headerhr_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle:color',
'id' => 'css_pricing-boxplan-headerpsubtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle:typography',
'id' => 'css_pricing-boxplan-headerpsubtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content:color',
'id' => 'css_pricing-boxplan-insidepi-content_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content:typography',
'id' => 'css_pricing-boxplan-insidepi-content_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content:margin',
'id' => 'css_pricing-boxplan-insidepi-content_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul:margin',
'id' => 'css_pricing-boxplan-insideul_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:typography',
'id' => 'css_pricing-boxplan-insideulli_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List row', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:color',
'id' => 'css_pricing-boxplan-insideulli_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:text-align',
'id' => 'css_pricing-boxplan-insideulli_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-style',
'id' => 'css_pricing-boxplan-insideulli_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'border-style',
'attr_id' => 'border_style_pricing_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-color',
'id' => 'css_pricing-boxplan-insideulli_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-width',
'id' => 'css_pricing-boxplan-insideulli_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-radius',
'id' => 'css_pricing-boxplan-insideulli_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:margin',
'id' => 'css_pricing-boxplan-insideulli_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:padding',
'id' => 'css_pricing-boxplan-insideulli_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:padding',
'id' => 'css_pricing-boxplan-footerabutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:typography',
'id' => 'css_pricing-boxplan-footerabutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-style',
'id' => 'css_pricing-boxplan-footerabutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'border-style',
'attr_id' => 'border_style_pricing_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-width',
'id' => 'css_pricing-boxplan-footerabutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-radius',
'id' => 'css_pricing-boxplan-footerabutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:color',
'id' => 'css_pricing-boxplan-footerabutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-color',
'id' => 'css_pricing-boxplan-footerabutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_pricing_bg',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:background-color',
'id' => 'css_pricing-boxplan-footerabutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_pricing_bg', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:gradient',
'id' => 'css_pricing-boxplan-footerabutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_pricing_bg', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button|hover:color',
'id' => 'css_pricing-boxplan-footerabutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button|hover:border-color',
'id' => 'css_pricing-boxplan-footerabutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'background_switcher_pricing_bg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_pricing_bg',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button|hover:background',
'id' => 'css_pricing-boxplan-footerabutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_pricing_bg', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button|hover:gradient',
'id' => 'css_pricing-boxplan-footerabutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_pricing_bg', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Progress Bars -------------------------------------------------
'progress_bars' => array(
'type' => 'progress_bars',
'title' => __('Progress Bars', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.progress_bars | .title',
'dynamic_data' => 'title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Bars', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Bar item', 'mfn-opts'),
],
'value' => [
'input',
__('Value', 'mfn-opts'),
'50',
],
'size' => [
'input',
__('Size', 'mfn-opts'),
'20',
],
'color' => [
'input',
__('Color (optional)', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'title' => 'This is the 1st bar',
'value' => '50',
'size' => '10',
'color' => '#72a5d8',
],
1 => [
'title' => 'This is the 2nd bar',
'value' => '30',
'size' => '15',
'color' => 'grey',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
array(
'id' => 'content',
'edit_tag' => '.bars_list | ul.pb-desc',
'edit_position' => 'append',
'dynamic_data' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'class' => 'form-content-full-width',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title:color',
'id' => 'css_progress_barstitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title:typography',
'id' => 'css_progress_barstitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title:margin',
'id' => 'css_progress_barstitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc:color',
'id' => 'css_progress_bars_listpb-desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc:typography',
'id' => 'css_progress_bars_listpb-desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc:margin',
'id' => 'css_progress_bars_listpb-desc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Bar title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6:color',
'id' => 'css_progress_bars_listlih6_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6:typography',
'id' => 'css_progress_bars_listlih6_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Bar value', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:display',
'id' => 'css_progress_bars_listlih6label_display',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'style' => 'display',
'attr_id' => 'progress_bar_percents',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => array(
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:color',
'id' => 'css_progress_bars_listlih6label_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'style' => 'color',
'condition' => array( 'id' => 'progress_bar_percents', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:background-color',
'id' => 'css_progress_bars_listlih6label_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'style' => 'background-color',
'condition' => array( 'id' => 'progress_bar_percents', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:typography',
'id' => 'css_progress_bars_listlih6label_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'style' => 'typography',
'responsive' => true,
'condition' => array( 'id' => 'progress_bar_percents', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar:background-color',
'id' => 'css_progress_bars_listlibar_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar .progress:background-color',
'id' => 'css_progress_bars_listlibarprogress_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar .progress',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background active', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar:box-shadow',
'id' => 'css_progress_bars_listlibar_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar:border-radius',
'id' => 'css_progress_bars_listlibar_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Promo Box ------------------------------------------------------
'promo_box' => array(
'type' => 'promo_box',
'title' => __('Promo Box', 'mfn-opts'),
'size' => '1/2',
'tablet_size' => '1/2',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended minimum image width <b>768px</b>', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'prepend',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// button
array(
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'btn_text',
'type' => 'text',
'dynamic_data' => 'title',
're_render' => true,
'title' => __('Text', 'mfn-opts'),
),
array(
'id' => 'btn_link',
'dynamic_data' => 'link',
'type' => 'text',
're_render' => true,
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'position',
'type' => 'switch',
're_render' => true,
'title' => __('Image position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'left',
),
array(
'id' => 'border',
'type' => 'switch',
're_render' => true,
'title' => __('Border right', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-style',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_pricing_box',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-color',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-width',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-radius',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper:text-align',
'id' => 'css_promo_box_desc__text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title:color',
'id' => 'css_promo_box_desc_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title:typography',
'id' => 'css_promo_box_desc_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title:margin',
'id' => 'css_promo_box_desc_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc:color',
'id' => 'css_promo_box_desc_desc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc:typography',
'id' => 'css_promo_box_desc_desc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc:margin',
'id' => 'css_promo_box_desc_desc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:padding',
'id' => 'css_promo_box_desc_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:typography',
'id' => 'css_promo_box_desc_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-style',
'id' => 'css_promo_box_desc_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'border-style',
'attr_id' => 'border_style_promo',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-width',
'id' => 'css_promo_box_desc_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_promo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-radius',
'id' => 'css_promo_box_desc_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:color',
'id' => 'css_promo_box_desc_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-color',
'id' => 'css_promo_box_desc_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_promo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_promo',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:background-color',
'id' => 'css_promo_box_desc_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_promo', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:gradient',
'id' => 'css_promo_box_desc_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_promo', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button|hover:color',
'id' => 'css_promo_box_desc_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button|hover:border-color',
'id' => 'css_promo_box_desc_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_promo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_promo',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button|hover:background',
'id' => 'css_promo_box_desc_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_promo', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button|hover:gradient',
'id' => 'css_promo_box_desc_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_promo', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box.has_border|after:border-color',
'id' => 'css_promo_boxhas_borderafter_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box.has_border:after',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// ALIAS: Readmore Button ----------------------------------------------------
'readmore' => array(
'type' => 'button',
'title' => __('Readmore', 'mfn-opts'),
'cat' => 'typography',
),
// Quick Fact -----------------------------------------------------
'quick_fact' => array(
'type' => 'quick_fact',
'title' => __('Quick Fact', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'heading',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Heading', 'mfn-opts'),
'edit_tag' => '.quick_fact | .heading_tag',
'edit_position' => 'prepend',
'edit_tag_var' => 'preview-heading_taginput',
'std' => __('This is the heading', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'dynamic_data' => 'title',
'std' => __('This is the title', 'mfn-opts'),
'edit_tag' => '.quick_fact | .title_tag',
'edit_tag_var' => 'preview-title_taginput',
'edit_position' => 'before | .hr_narrow',
'preview' => 'subtitle',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'dynamic_data' => 'content',
'edit_tag' => '.quick_fact | div.desc',
'class' => 'form-content-full-width',
),
// quick fact
array(
'type' => 'header',
'title' => __('Quick fact', 'mfn-opts'),
),
array(
'id' => 'number',
'type' => 'text',
'title' => __('Number', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '99',
'preview' => 'number',
),
array(
'id' => 'prefix',
'type' => 'text',
'title' => __('Prefix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Postfix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact:text-align',
'id' => 'css_quick_fact_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag:color',
'id' => 'css_quick_factheading_tag_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag:margin',
'id' => 'css_quick_factheading_tag_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag:typography',
'id' => 'css_quick_factheading_tag_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Pre', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix:color',
'id' => 'css_quick_factnumber-wrapperprefix_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix:margin',
'id' => 'css_quick_factnumber-wrapperprefix_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix:typography',
'id' => 'css_quick_factnumber-wrapperprefix_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number:color',
'id' => 'css_quick_factnumber-wrappernumber_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper:margin',
'id' => 'css_quick_factnumber-wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number:typography',
'id' => 'css_quick_factnumber-wrappernumber_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Post', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix:color',
'id' => 'css_quick_factnumber-wrapperpostfix_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix:margin',
'id' => 'css_quick_factnumber-wrapperpostfix_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix:typography',
'id' => 'css_quick_factnumber-wrapperpostfix_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'typography' => 'simple',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag:color',
'id' => 'css_quick_facttitle_tag_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag:margin',
'id' => 'css_quick_facttitle_tag_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag:typography',
'id' => 'css_quick_facttitle_tag_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc:color',
'id' => 'css_quick_factdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc:margin',
'id' => 'css_quick_factdesc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc:typography',
'id' => 'css_quick_factdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow:background-color',
'id' => 'css_quick_facthr_narrow_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow',
'style' => 'background-color',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow:margin',
'id' => 'css_quick_facthr_narrow_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow',
'style' => 'margin',
'themeoptions' => 'style:',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow:width',
'id' => 'css_quick_facthr_narrow_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow',
'style' => 'width',
'themeoptions' => 'style:',
'type' => 'text',
'default_unit' => '%',
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// share
'share' => array(
'type' => 'share',
'title' => __('Share', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Copy link', 'mfn-opts'),
),
array(
'id' => 'copy_link',
'attr_id' => 'copy_link',
're_render' => true,
'type' => 'switch',
'title' => __('Copy link', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'copy_link_icon',
'condition' => array( 'id' => 'copy_link', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'far fa-copy'
),
array(
'id' => 'copy_link_label',
'condition' => array( 'id' => 'copy_link', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'std' => __('Copy link', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'id' => 'facebook',
'attr_id' => 'facebook',
're_render' => true,
'type' => 'switch',
'title' => __('Facebook', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'facebook_icon',
'condition' => array( 'id' => 'facebook', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-facebook'
),
array(
'id' => 'facebook_label',
'condition' => array( 'id' => 'facebook', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('X', 'mfn-opts'),
),
array(
'id' => 'twitter',
'attr_id' => 'twitter',
're_render' => true,
'type' => 'switch',
'title' => __('X', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'twitter_icon',
'condition' => array( 'id' => 'twitter', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-x-twitter'
),
array(
'id' => 'twitter_label',
'condition' => array( 'id' => 'twitter', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'id' => 'linkedin',
'attr_id' => 'linkedin',
're_render' => true,
'type' => 'switch',
'title' => __('LinkedIn', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'linkedin_icon',
'condition' => array( 'id' => 'linkedin', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-linkedin'
),
array(
'id' => 'linkedin_label',
'condition' => array( 'id' => 'linkedin', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post:justify-content',
'id' => 'css_share-post_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post',
'style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post:typography',
'id' => 'css_share-post_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post:gap',
'id' => 'css_share-post_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post',
'style' => 'gap',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:padding',
'id' => 'css_share-post-button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:border-style',
'id' => 'css_share-post-button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'style' => 'border-style',
'attr_id' => 'border_sharepost_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:border-width',
'id' => 'css_share-post-button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:border-radius',
'id' => 'css_share-post-button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button:color',
'id' => 'css_share-post-button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button:background-color',
'id' => 'css_share-post-button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button:border-color',
'id' => 'css_share-post-button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button|hover:color',
'id' => 'css_share-post-button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button|hover:background-color',
'id' => 'css_share-post-button_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button|hover:border-color',
'id' => 'css_share-post-button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post-button:hover',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'facebook', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook:color',
'id' => 'css_share-post-button-facebook_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook:background-color',
'id' => 'css_share-post-button-facebook_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook:border-color',
'id' => 'css_share-post-button-facebook_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook|hover:color',
'id' => 'css_share-post-button-facebookhover_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook|hover:background-color',
'id' => 'css_share-post-button-facebookhover_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook|hover:border-color',
'id' => 'css_share-post-button-facebookhover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-facebook:hover',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'twitter', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header',
'title' => __('X', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter:color',
'id' => 'css_share-post-button-twitter_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter:background-color',
'id' => 'css_share-post-button-twitter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter:border-color',
'id' => 'css_share-post-button-twitter_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter|hover:color',
'id' => 'css_share-post-button-twitterhover_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter|hover:background-color',
'id' => 'css_share-post-button-twitterhover_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter|hover:border-color',
'id' => 'css_share-post-button-twitterhover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-twitter:hover',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'linkedin', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin:color',
'id' => 'css_share-post-button-linkedin_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin:background-color',
'id' => 'css_share-post-button-linkedin_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin:border-color',
'id' => 'css_share-post-button-linkedin_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin|hover:color',
'id' => 'css_share-post-button-linkedinhover_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin|hover:background-color',
'id' => 'css_share-post-button-linkedinhover_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin:hover',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin|hover:border-color',
'id' => 'css_share-post-button-linkedinhover_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button.mfn-share-post-linkedin:hover',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
)
),
// Shop Categories ----------------------------------------------------
'shop_categories' => array(
'type' => 'shop_categories',
'title' => __('Shop categories', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'columns',
'type' => 'switch',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
),
'std' => '3',
),
array(
'id' => 'display',
'attr_id' => 'shop_cat_display',
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Main categories', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'category',
'condition' => array( 'id' => 'shop_cat_display', 'opt' => 'isnt', 'val' => '1' ),
're_render' => true,
'type' => 'select',
'title' => __('Parent category', 'mfn-opts'),
'php_options' => mfn_get_categories('product_cat'),
'js_hierarchical_options' => 'product_cat',
'preview' => 'category',
),
array(
'id' => 'subcategory',
'type' => 'select',
'title' => __('Subcatories display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Subcatories', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'empty',
'type' => 'switch',
're_render' => true,
'title' => __('Empty categories', 'mfn-opts'),
'desc' => __('Show categories without products', 'mfn-opts'),
'options' => array(
1 => __('Hide', 'mfn-opts'),
0 => __('Show', 'mfn-opts'),
),
'std' => '1',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'image',
'type' => 'switch',
're_render' => true,
'title' => __('Image', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => '1',
),
array(
'id' => 'title',
'type' => 'switch',
're_render' => true,
'title' => __('Title', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => '1',
),
array(
'id' => 'count',
'type' => 'switch',
're_render' => true,
'title' => __('Count', 'mfn-opts'),
'desc' => __('Number of products in category', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
// order
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:text-align',
'id' => 'css_products_product_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:background-color',
'id' => 'css_products_product_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:padding',
'id' => 'css_products_product_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-style',
'id' => 'css_products_product_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-style',
'attr_id' => 'border_style_sc-li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-color',
'id' => 'css_products_product_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-width',
'id' => 'css_products_product_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-radius',
'id' => 'css_products_product_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-style',
'id' => 'css_products_product_img_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'style' => 'border-style',
'attr_id' => 'border_style_sc-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-color',
'id' => 'css_products_product_img_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-width',
'id' => 'css_products_product_img_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-radius',
'id' => 'css_products_product_img_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title:color',
'id' => 'css_products_product_woocommerce-loop-category__title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title:typography',
'id' => 'css_products_product_woocommerce-loop-category__title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title:margin',
'id' => 'css_products_product_woocommerce-loop-category__title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Count', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count:color',
'id' => 'css_products_product_woocommerce-loop-category__titlecount_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count:typography',
'id' => 'css_products_product_woocommerce-loop-category__titlecount_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Shop ----------------------------------------------------
'shop' => array(
'type' => 'shop',
'title' => __('Shop', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'limit',
're_render' => true,
'type' => 'text',
'title' => __('Products number', 'mfn-opts'),
'std' => '6',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
),
'std' => '3',
),
array(
'id' => 'type',
're_render' => true,
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'products' => __('- Default -', 'mfn-opts'),
'sale_products' => __('On sale', 'mfn-opts'),
'best_selling_products' => __('Best selling (order by: Sales)', 'mfn-opts'),
'top_rated_products' => __('Top-rated (order by: Rating)', 'mfn-opts'),
),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('product_cat'),
'js_hierarchical_options' => 'product_cat',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date the product was published', 'mfn-opts'),
'id' => __('ID of the product', 'mfn-opts'),
'menu_order' => __('Menu order (if set)', 'mfn-opts'),
'popularity' => __('Popularity (number of purchases)', 'mfn-opts'),
'rating' => __('Rating', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random (do not use with pagination)', 'mfn-opts'),
),
'std' => 'title'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'ASC'
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'paginate',
'attr_id' => 'paginate',
're_render' => true,
'type' => 'switch',
'title' => __('Pagination', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'load_more',
'condition' => array( 'id' => 'paginate', 'opt' => 'is', 'val' => '1' ),
're_render' => true,
'type' => 'switch',
'title' => __('Load more', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => '0',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:background-color',
'id' => 'css_products_product_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:padding',
'id' => 'css_products_product_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-style',
'id' => 'css_products_product_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-style',
'attr_id' => 'border_style_sc-li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-color',
'id' => 'css_products_product_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-width',
'id' => 'css_products_product_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-radius',
'id' => 'css_products_product_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-style',
'id' => 'css_products_product_image_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_sc-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-color',
'id' => 'css_products_product_image_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-width',
'id' => 'css_products_product_image_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-radius',
'id' => 'css_products_product_image_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:background-color',
'id' => 'css_products_product_desc_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:text-align',
'id' => 'css_products_product_desc_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:margin',
'id' => 'css_products_product_desc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:padding',
'id' => 'css_products_product_desc_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title a:color',
'id' => 'css_products_product_-woo-product-titlea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title:typography',
'id' => 'css_products_product_-woo-product-title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title:margin',
'id' => 'css_products_product_-woo-product-title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price:color',
'id' => 'css_products_product_price_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price:margin',
'id' => 'css_products_product_price_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Regular price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del:color',
'id' => 'css_products_product_pricedel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del:typography',
'id' => 'css_product_pricedel_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Description', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt:color',
'id' => 'css_products_product_excerpt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt:typography',
'id' => 'css_product_excerpt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt:margin',
'id' => 'css_products_product_excerpt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled archive_badge_onsale_position',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left li.product .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right li.product .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .products li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:padding',
'id' => 'css_products_product_button_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:typography',
'id' => 'css_products_button_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-style',
'id' => 'css_products_product_button_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'border-style',
'attr_id' => 'border_style_shop',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-width',
'id' => 'css_products_product_button_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-radius',
'id' => 'css_products_product_button_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:color',
'id' => 'css_products_product_button_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-color',
'id' => 'css_products_product_button_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_shop',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:background-color',
'id' => 'css_products_product_button_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_shop', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:gradient',
'id' => 'css_products_product_button_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_shop', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button|hover:color',
'id' => 'css_products_product_button_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button|hover:border-color',
'id' => 'css_products_product_button_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_shop',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button|hover:background',
'id' => 'css_products_product_button_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_shop', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button|hover:gradient',
'id' => 'css_products_product_button_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_shop', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Shop Slider ----------------------------------------------------
'shop_slider' => array(
'type' => 'shop_slider',
'title' => __('Shop Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.blog_slider_header | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Products number', 'mfn-opts'),
'std' => '5',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'show',
're_render' => true,
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('All (or category selected below)', 'mfn-opts'),
'featured' => __('Featured', 'mfn-opts'),
'onsale' => __('Onsale', 'mfn-opts'),
'best-selling' => __('Best Selling (order by: Sales)', 'mfn-opts'),
),
),
array(
'id' => 'out_of_stock',
're_render' => true,
'type' => 'switch',
'title' => __('Out of stock products', 'mfn-opts'),
'options' => array(
'hide' => __('Hide', 'mfn-opts'),
'' => __('Show', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'add_to_cart_button',
'attr_id' => 'add_to_cart_button',
're_render' => true,
'type' => 'switch',
'title' => __('Add to Cart button', 'mfn-opts'),
'kl_options' => array( // prevent js sort
(object) array('key' => '', 'label' => 'Hide'),
(object) array('key' => '1', 'label' => 'Show'),
),
'php_options' => array(
'' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('product_cat'),
'js_hierarchical_options' => 'product_cat',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:color',
'id' => 'css_blog_slider_headertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:typography',
'id' => 'css_blog_slider_headertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:margin',
'id' => 'css_blog_slider_headertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-style',
'id' => 'css_shop_slider_ulliimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_sc-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-color',
'id' => 'css_shop_slider_ulliimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-width',
'id' => 'css_shop_slider_ulliimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-radius',
'id' => 'css_shop_slider_ulliimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:background-color',
'id' => 'css_shop_slider_ullidesc_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:text-align',
'id' => 'css_shop_slider_ullidesc_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:margin',
'id' => 'css_shop_slider_ullidesc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:padding',
'id' => 'css_shop_slider_ullidesc_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4 a:color',
'id' => 'css_shop_slider_ullih4a_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4 a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4:typography',
'id' => 'css_shop_slider_ullih4_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4:margin',
'id' => 'css_shop_slider_ullih4_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price:color',
'id' => 'css_shop_slider_ulliprice_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price:typography',
'id' => 'css_shop_slider_ulliprice_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price:margin',
'id' => 'css_shop_slider_ulliprice_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Regular price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del:color',
'id' => 'css_shop_slider_ullipricedel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del:typography',
'id' => 'css_shop_slider_ullipricedel_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:padding',
'id' => 'css_shop_sliderbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:typography',
'id' => 'css_shop_sliderbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-style',
'id' => 'css_shop_sliderbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'border-style',
'attr_id' => 'border_style_shopslider',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-width',
'id' => 'css_shop_sliderbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopslider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-radius',
'id' => 'css_shop_sliderbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button .button_icon i:color',
'id' => 'css_shop_slider_button_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button i, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button .button_icon i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-color',
'id' => 'css_shop_sliderbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopslider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_shopslider',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:background-color',
'id' => 'css_shop_sliderbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_shopslider', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:gradient',
'id' => 'css_shop_sliderbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_shopslider', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button|hover .button_icon i:color',
'id' => 'css_shop_sliderbutton_iconi_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:hover i, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:hover .button_icon i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button|hover:border-color',
'id' => 'css_shop_sliderbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopslider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover_shopslider',
'attr_id' => 'background_switcher_hover_shopslider',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button|hover:background',
'id' => 'css_shop_sliderbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_shopslider', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button|hover:gradient',
'id' => 'css_shop_sliderbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_shopslider', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'border-style',
'attr_id' => 'border_style_badge',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_product_onsale_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_product_onsale_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges',
'style' => 'align-items',
'responsive' => true,
'class' => 'mfn-toggled',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'product_badge_onsale_position',
'attr_id' => 'product_badge_onsale_position',
'type' => 'switch',
'class' => 'mfn-toggled archive_badge_onsale_position',
'title' => __('Position X', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'css_product_onsale_offset_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-left li.product .mfn-product-badges',
'style' => 'left',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => '' ),
'title' => __('Offset left', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-badges-right li.product .mfn-product-badges',
'style' => 'right',
'type' => 'sliderbar',
'condition' => array( 'id' => 'product_badge_onsale_position', 'opt' => 'is', 'val' => 'right' ),
'title' => __('Offset right', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_offset_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges',
'style' => 'top',
'type' => 'sliderbar',
'title' => __('Offset top', 'mfn-opts'),
'responsive' => true,
'default_unit' => 'px',
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '-100',
'max' => '300',
'step' => '1',
),
),
array(
'id' => 'css_product_onsale_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled mfn-onsale-label',
'title' => __('Default label (Sale)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Label (New)', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_new_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.mfn-new-badge.onsale',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Extra label', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'id' => 'css_product_onsale_extra_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li.product .mfn-product-badges span.onsale.onsale-extra-label',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_badge', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'condition' => array( 'id' => 'add_to_cart_button', 'opt' => 'is', 'val' => '1' ),
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:padding',
'id' => 'css_shop_sliderlidescbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:typography',
'id' => 'css_shop_sliderlidescbutton_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-style',
'id' => 'css_shop_sliderlidescbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'border-style',
'attr_id' => 'border_style_ssb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-width',
'id' => 'css_shop_sliderlidescbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_ssb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-radius',
'id' => 'css_shop_sliderlidescbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:color',
'id' => 'css_shop_sliderlidescbutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-color',
'id' => 'css_shop_sliderlidescbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ssb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:background-color',
'id' => 'css_shop_sliderlidescbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:gradient',
'id' => 'css_shop_sliderlidescbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button|hover:color',
'id' => 'css_shop_sliderlidescbutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button|hover:border-color',
'id' => 'css_shop_sliderlidescbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_ssb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button|hover:background',
'id' => 'css_shop_sliderlidescbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button|hover:gradient',
'id' => 'css_shop_sliderlidescbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Sidebar Widget -------------------------------------------------
'sidebar_widget' => array(
'type' => 'sidebar_widget',
'title' => __('Sidebar Widget', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'sidebar',
'type' => 'select',
'title' => __('Select Sidebar', 'mfn-opts'),
'desc' => __('1. Create Sidebar in <a target="_blank" href="admin.php?page=be-options#sidebars">Theme Options > Sidebars</a><br />2. Add Widgets<br />3. Select your sidebar.', 'mfn-opts'),
'php_options' => mfn_opts_get('sidebars'),
'js_options' => 'sidebars',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Slider ---------------------------------------------------------
'slider' => array(
'type' => 'slider',
'title' => __('Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flat' => __('Flat', 'mfn-opts'),
'description' => __('Flat with title and description', 'mfn-opts'),
'carousel' => __('Flat carousel with titles', 'mfn-opts'),
'center' => __('Center mode', 'mfn-opts'),
),
'std' => 'flat',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'navigation',
're_render' => true,
'type' => 'switch',
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'hide-arrows' => __('Hide Arrows', 'mfn-opts'),
'hide-dots' => __('Hide Dots', 'mfn-opts'),
'hide' => __('Hide', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-style',
'id' => 'css_image_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'style' => 'border-style',
'attr_id' => 'border_style_slider_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-color',
'id' => 'css_image_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_slider_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-width',
'id' => 'css_image_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_slider_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-radius',
'id' => 'css_image_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:margin',
'id' => 'css_image_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title:color',
'id' => 'css_content_sliderullititle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title:typography',
'id' => 'css_content_sliderullititle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc:color',
'id' => 'css_content_sliderullidesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc:typography',
'id' => 'css_content_sliderullidesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:padding',
'id' => 'css_content_slider_ulbutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-style',
'id' => 'css_content_slider_ulbutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'border-style',
'attr_id' => 'border_style_slider',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-width',
'id' => 'css_content_slider_ulbutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-radius',
'id' => 'css_content_slider_ulbutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:color',
'id' => 'css_content_slider_ulbutton_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-color',
'id' => 'css_content_slider_ulbutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_slider',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:background-color',
'id' => 'css_content_slider_ulbutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_slider', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:gradient',
'id' => 'css_content_slider_ulbutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_slider', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button|hover:color',
'id' => 'css_content_slider_ulbutton_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:hover i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button|hover:border-color',
'id' => 'css_content_slider_ulbutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_slider',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button|hover:background',
'id' => 'css_content_slider_ulbutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_slider', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button|hover:gradient',
'id' => 'css_content_slider_ulbutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_slider', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dots', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a|after:background-color',
'id' => 'css_dots_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a|after:background-color',
'id' => 'css_dots_bg_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Active color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Slider Plugin --------------------------------------------------
'slider_plugin' => array(
'type' => 'slider_plugin',
'title' => __('Slider Plugin', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'plugins',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('Slider Revolution', 'mfn-opts'),
),
array(
'id' => 'rev',
'type' => 'select',
'title' => __('Slider', 'mfn-opts'),
'js_options' => 'rev_slider',
'php_options' => $this->sliders['rev'],
'preview' => 'slider-rev',
),
// layer slider
array(
'type' => 'header',
'title' => __('Layer Slider', 'mfn-opts'),
),
array(
'id' => 'layer',
'type' => 'select',
'title' => __('Slider', 'mfn-opts'),
'js_options' => 'layer_slider',
'php_options' => $this->sliders['layer'],
'preview' => 'slider-layer',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Sliding Box ----------------------------------------------------
'sliding_box' => array(
'type' => 'sliding_box',
'title' => __('Sliding Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title:color',
'id' => 'css_sliding_boxdesc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:--mfn-sliding-box-bg',
'id' => 'css_sliding_boxdesc_wrapper_sliding_box_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper',
'style' => '--mfn-sliding-box-bg',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title:typography',
'id' => 'css_sliding_boxdesc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:padding',
'id' => 'css_sliding_boxdesc_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper|after:background-color',
'id' => 'css_sliding_boxdesc_wrapperafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:after',
'style' => 'background-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper|after:margin',
'id' => 'css_sliding_boxdesc_wrapperafter_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:after',
'style' => 'margin',
'type' => 'dimensions',
'themeoptions' => 'style:simple',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Story Box ------------------------------------------------------
'story_box' => array(
'type' => 'story_box',
'title' => __('Story Box', 'mfn-opts'),
'size' => '1/2',
'tablet_size' => '1/2',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>750px - 1500px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Horizontal Image', 'mfn-opts'),
'vertical' => __('Vertical Image', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.story_box | div.desc',
'dynamic_data' => 'content',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-style',
'id' => 'css_story_boxphoto_wrapper_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'style' => 'border-style',
'attr_id' => 'border_style_slider',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-color',
'id' => 'css_story_boxphoto_wrapper_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-width',
'id' => 'css_story_boxphoto_wrapper_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-radius',
'id' => 'css_story_boxphoto_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:margin',
'id' => 'css_story_boxphoto_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title:color',
'id' => 'css_story_boxdesc_wrappertitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title:typography',
'id' => 'css_story_boxdesc_wrappertitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title:margin',
'id' => 'css_story_boxdesc_wrappertitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc:color',
'id' => 'css_story_boxdesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc:typography',
'id' => 'css_story_boxdesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc:margin',
'id' => 'css_story_boxdesc_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr:background',
'id' => 'css_story_boxdesc_wrapperhr_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr:margin',
'id' => 'css_story_boxdesc_wrapperhr_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Tabs -----------------------------------------------------------
'tabs' => array(
'type' => 'tabs',
'title' => __('Tabs', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.mcb-item-tabs-inner | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// tabs
array(
'type' => 'header',
'title' => __('Tabs', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Tabs', 'mfn-opts'),
'desc' => __('<b>JavaScript</b> content like Google Maps and some plugins shortcodes do <b>not work</b> in tabs. You can use Drag & Drop to set the order', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Sample tab', 'mfn-opts'),
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st tab', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd tab', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'horizontal' => __('Horizontal', 'mfn-opts'),
'centered' => __('Centered', 'mfn-opts'),
'vertical' => __('Vertical', 'mfn-opts'),
),
'std' => 'horizontal',
),
// custom
array(
'type' => 'header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'uid',
'type' => 'text',
'title' => __('Unique ID [optional]', 'mfn-opts'),
'desc' => __('Use if you want to open specified tab from link (does not work on the same page).<br />For example: Your Unique ID is <b>offer</b> and you want to open 2nd tab, please use link: <b>your-url/#offer-2</b>', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Content padding', 'mfn-opts'),
'desc' => __('Use value with <b>px</b> or <b>%</b><br />Example: <b>20px</b> or <b>15px 20px 20px</b> or <b>20px 1%</b>', 'mfn-opts'),
'std' => '20px',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_title_text_align',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_title_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:margin',
'id' => 'css_title_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_title_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper:--mfn-tabs-border-color',
'id' => 'css_tabs_wrapper_mfn_tabs_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper',
'style' => '--mfn-tabs-border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper:--mfn-tabs-border-width',
'id' => 'css_tabs_wrapper_mfn_tabs_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper',
'style' => '--mfn-tabs-border-width',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Border width', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '5',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper:border-radius',
'id' => 'css_tabs_wrapper_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper .ui-tabs-nav:background',
'id' => 'css_tabs_wrapperui-tabs-nav_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper .ui-tabs-nav',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title tab', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a:color',
'id' => 'css_tabs_wrapperullia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a:background',
'id' => 'css_tabs_wrapperullia_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li.ui-state-active a:color',
'id' => 'css_tabs_wrapperulliui-state-activea_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li.ui-state-active a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li.ui-state-active a:background',
'id' => 'css_tabs_wrapperulliui-state-activea_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li.ui-state-active a',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-nav li.ui-state-active a|after:background',
'id' => 'css_ui-tabsui-tabs-navliui-state-aafter_background_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-nav li.ui-state-active a:after',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a:padding',
'id' => 'css_tabs_wrapperullia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a:typography',
'id' => 'css_tabs_wrapperullia_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel:color',
'id' => 'css_ui-tabsui-tabs-panel_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-nav li.ui-state-active|after:background',
'id' => 'css_ui-tabs-nav-li-ui-state-after_background_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-nav li.ui-state-active:after',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel:padding',
'id' => 'css_ui-tabsui-tabs-panel_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel:typography',
'id' => 'css_ui-tabsui-tabs-panel_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Tag cloud -----------------------------------------------------------
'tag_cloud' => array(
'type' => 'tag_cloud',
'title' => __('Tag cloud', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Taxonomy', 'mfn-opts'),
'php_options' => mfna_taxonomies(),
'js_options' => 'taxonomies',
'std' => 'category'
),
array(
'id' => 'reference',
'attr_id' => 'reference',
're_render' => true,
'type' => 'select',
'title' => __('Reference', 'mfn-opts'),
'options' => array(
'' => __('All items', 'mfn-opts'),
'not_empty' => __('Not empty items', 'mfn-opts'),
'post' => __('Current post terms', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'orderby',
'condition' => array( 'id' => 'reference', 'opt' => 'isnt', 'val' => 'post' ),
'type' => 'select',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'name' => __('Name', 'mfn-opts'),
'count' => __('Count', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'order',
'condition' => array( 'id' => 'reference', 'opt' => 'isnt', 'val' => 'post' ),
'type' => 'select',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'' => __('DESC', 'mfn-opts'),
'asc' => __('ASC', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'design',
'attr_id' => 'design',
're_render' => true,
'type' => 'select',
'title' => __('Design', 'mfn-opts'),
'options' => array(
'' => __('Simple list', 'mfn-opts'),
'pills' => __('Pills', 'mfn-opts'),
),
'std' => ''
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud:justify-content',
'id' => 'css_tag-cloud_justify_content',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud',
'style' => 'justify-content',
'type' => 'select',
'title' => __('Align', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'options' => array(
'' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts')
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud:--mfn-tag-cloud-offset',
'id' => 'css_tag-cloud_mfn_tag_cloud_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud',
'style' => '--mfn-tag-cloud-offset',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:typography',
'id' => 'css_tag-cloudlia_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:padding',
'id' => 'css_tag-cloud-pillslia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'style' => 'padding',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:border-style',
'id' => 'css_tag-cloud-pillslia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'style' => 'border-style',
'attr_id' => 'border_style_tags',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:border-width',
'id' => 'css_tag-cloud-pillslia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_tags', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:border-radius',
'id' => 'css_tag-cloud-pillslia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'style' => 'border-radius',
'type' => 'dimensions',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:color',
'id' => 'css_tag-cloudlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:background-color',
'id' => 'css_tag-cloudlia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a',
'style' => 'background-color',
'type' => 'color',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:border-color',
'id' => 'css_tag-cloudlia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_tags', 'opt' => 'isnt', 'val' => 'none' ),
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a|hover:color',
'id' => 'css_tag-cloudlia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:hover',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a|hover:background-color',
'id' => 'css_tag-cloudlia_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:hover',
'style' => 'background-color',
'type' => 'color',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a|hover:border-color',
'id' => 'css_tag-cloudlia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:hover',
'style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_style_tags', 'opt' => 'isnt', 'val' => 'none' ),
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
)
),
// Testimonials ---------------------------------------------------
'testimonials' => array(
'type' => 'testimonials',
'title' => __('Testimonials', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'single-photo' => __('Single photo', 'mfn-opts'),
),
'std' => '',
'preview' => 'style',
),
array(
'id' => 'hide_photos',
're_render' => true,
'required' => true,
'type' => 'switch',
'title' => __('Photos', 'mfn-opts'),
'options' => array(
'1' => __('Hide', 'mfn-opts'),
'0' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li:padding',
'id' => 'css_testimonials_slidertestimonials_slider_ulli_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote:color',
'id' => 'css_testimonials_slider_ullibq_wrapperblockquote_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper:background-color',
'id' => 'css_testimonials_slider_ullibq_wrapper_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote:typography',
'id' => 'css_testimonials_slider_ullibq_wrapperblockquote_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper:padding',
'id' => 'css_testimonials_slidertestimonials_slider_ullibq_wrapper_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper:margin',
'id' => 'css_testimonials_slidertestimonials_slider_ullibq_wrapper_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote .mfn-blockquote-icon:color',
'id' => 'css_testimonials_sliderblockquote-icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote .mfn-blockquote-icon',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote:text-decoration-color',
'id' => 'css_testimonials_sliderblockquoteblockquote_text_decoration_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote',
'style' => 'text-decoration-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote:text-underline-offset',
'id' => 'css_testimonials_sliderblockquoteblockquote_text_underline_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote',
'style' => 'text-underline-offset',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote:text-decoration-thickness',
'id' => 'css_testimonials_sliderblockquoteblockquote_text_decoration_thickness',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote',
'style' => 'text-decoration-thickness',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dots', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a:background-color',
'id' => 'css_slider_paginationa_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a|after:background-color',
'id' => 'css_dots_bg_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color active', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Author', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title:color',
'id' => 'css_author_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title:typography',
'id' => 'css_testimonials_slider_ulliauthortitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Company', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company:color',
'id' => 'css_testimonials_slider_ulliauthorcompany_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company:typography',
'id' => 'css_testimonials_slider_ulliauthorcompany_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:padding',
'id' => 'css_testimonials_sliderabutton_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-style',
'id' => 'css_testimonials_sliderabutton_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'border-style',
'attr_id' => 'border_style_testi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-width',
'id' => 'css_testimonials_sliderabutton_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_testi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-radius',
'id' => 'css_testimonials_sliderabutton_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button i:color',
'id' => 'css_testimonials_sliderabuttoni_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-color',
'id' => 'css_testimonials_sliderabutton_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_testi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_testi',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:background-color',
'id' => 'css_testimonials_sliderabutton_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_testi', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:gradient',
'id' => 'css_testimonials_sliderabutton_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_testi', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button|hover i:color',
'id' => 'css_testimonials_sliderabuttoni_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:hover i',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button|hover:border-color',
'id' => 'css_testimonials_sliderabutton_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_testi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_testi',
'type' => 'switch',
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button|hover:background',
'id' => 'css_testimonials_sliderabutton_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:hover, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:before',
'style' => 'background',
'condition' => array( 'id' => 'background_switcher_hover_testi', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button|hover:gradient',
'id' => 'css_testimonials_sliderabutton_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_testi', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .hr_dots span:background-color',
'id' => 'css_testimonials_slider_ullihr_dotsspan_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .hr_dots span',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images li a|after:background-color',
'id' => 'css_testimonials_slider_imagesliaafter_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images li a:after',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Photos background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images|before:background-color',
'id' => 'css_photos_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images:before',
'style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Testimonials List ----------------------------------------------
'testimonials_list' => array(
'type' => 'testimonials_list',
'title' => __('Testimonials List', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'quote' => __('Quote above the author', 'mfn-opts'),
),
'std' => '',
'preview' => 'style',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-style',
'id' => 'css_testimonials_listimage_frame_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'style' => 'border-style',
'attr_id' => 'border_style_testi_list',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-color',
'id' => 'css_testimonials_listimage_frame_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_testi_list', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-width',
'id' => 'css_testimonials_listimage_frame_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_testi_list', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-radius',
'id' => 'css_testimonials_listimage_frame_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Author', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title a:color',
'id' => 'css_testimonials_list_item_desc_title_a_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title:typography',
'id' => 'css_testimonials_listitemdesctitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Company', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle:color',
'id' => 'css_testimonials_listitemdescpsubtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle:typography',
'id' => 'css_testimonials_listitemdescpsubtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle:margin',
'id' => 'css_testimonials_listitemdescpsubtitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc hr.hr_color:background-color',
'id' => 'css_testimonials_listitemdeschrhr_color_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc hr.hr_color',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:color',
'id' => 'css_testimonials_listblockquoteblockquote_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:typography',
'id' => 'css_testimonials_listblockquoteblockquote_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote .mfn-blockquote-icon:color',
'id' => 'css_testimonials_listblockquote-icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote .mfn-blockquote-icon',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:text-decoration-color',
'id' => 'css_testimonials_listblockquoteblockquote_text_decoration_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'style' => 'text-decoration-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:text-underline-offset',
'id' => 'css_testimonials_listblockquoteblockquote_text_underline_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'style' => 'text-underline-offset',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:text-decoration-thickness',
'id' => 'css_testimonials_listblockquoteblockquote_text_decoration_thickness',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'style' => 'text-decoration-thickness',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Table of contents ---------------------------------------------
'table_of_contents' => array(
'type' => 'table_of_contents',
'title' => __('Table of Contents', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
//'fields' => array(
// HTML content
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'info',
'type' => 'info',
'class' => 'mfn-alert',
'title' => __('This item will check all of the <b>Column Text</b> and <b>Heading</b> items to match tags stated in <b>Anchor by HTML tags</b> field below', 'mfn-opts'),
),
array(
'id' => 'title',
'attr_id' => 'toc_title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.table_of_content | .title-inner',
'edit_position' => 'prepend',
'std' => 'Table of contents',
'title' => __('Title', 'mfn-opts'),
'preview' => 'title',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
],
'std' => 'h4',
),
array(
'id' => 'tags_anchors',
'type' => 'pills',
're_render' => true,
'std' => 'H1 H2 H3 H4 H5 H6',
'desc' => 'Separated with space button.<br/>Maximal depth level: <b>3</b>',
'title' => __('Anchor by HTML tags', 'mfn-opts'),
),
array(
'id' => 'marker_view',
're_render' => true,
'title' => __('Marker view', 'mfn-opts'),
'type' => 'switch',
'options' => [
'numbers' => __('Numbers', 'mfn-opts'),
'bullets' => __('Bullets', 'mfn-opts'),
],
'std' => 'numbers',
),
array(
'id' => 'icon',
'type' => 'icon',
're_render' => true,
'title' => __('Bullets icon', 'mfn-opts'),
'desc' => __('Only for <b>Bullets</b> type of marker', 'mfn-opts'),
),
array(
'id' => 'url_format',
're_render' => true,
'title' => __('Link format', 'mfn-opts'),
'desc' => __('Use <b>Simple</b> for languages based on non URL friendly characters', 'mfn-opts'),
'type' => 'switch',
'options' => [
'' => __('SEO friendly', 'mfn-opts'),
'simple' => __('Simple', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'allow_hide',
'attr_id' => 'toc_allow_hide',
'type' => 'select',
're_render' => true,
'title' => __('Toggle the Visibility', 'mfn-opts'),
'options' => [
'' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
'hide' => __('Enable and hide initially', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'text_show',
'type' => 'text',
're_render' => true,
'title' => __('Show text', 'mfn-opts'),
'condition' => array( 'id' => 'toc_allow_hide', 'opt' => 'isnt', 'val' => '' ),
'std' => __('Show', 'mfn-opts'),
),
array(
'id' => 'text_hide',
'type' => 'text',
're_render' => true,
'title' => __('Hide text', 'mfn-opts'),
'condition' => array( 'id' => 'toc_allow_hide', 'opt' => 'isnt', 'val' => '' ),
'std' => __('Hide', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner:color',
'id' => 'css_table_of_contenttitletitle-inner_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner:typography',
'id' => 'css_table_of_contenttitletitle-inner_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title:margin',
'id' => 'css_table_of_contenttitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('List row', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li:color',
'id' => 'css_table_of_content_wrapperli_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a:color',
'id' => 'css_table_of_content_wrapperlia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a|hover:color',
'id' => 'css_table_of_content_wrapperlia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li:typography',
'id' => 'css_table_of_content_wrapperli_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Timeline -------------------------------------------------------
'timeline' => array(
'type' => 'timeline',
'title' => __('Timeline', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Timeline', 'mfn-opts'),
'desc' => __('<b>JavaScript</b> content like Google Maps and some plugins shortcodes do <b>not work</b> in tabs', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Sample event', 'mfn-opts'),
],
'date' => [
'input',
__('Date', 'mfn-opts'),
'2021',
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st event', 'mfn-opts'),
'date' => '2021',
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd event', 'mfn-opts'),
'date' => '2022',
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3:color',
'id' => 'css_timeline_itemslih3_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3:typography',
'id' => 'css_timeline_itemslih3_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Date', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span:color',
'id' => 'css_timeline_itemslih3span_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3:--mfn-timeline-date-bg',
'id' => 'css_timeline_itemslih3_mfn_timeline_date_bg',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3',
'style' => '--mfn-timeline-date-bg',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span:typography',
'id' => 'css_timeline_itemslih3span_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span:padding',
'id' => 'css_timeline_itemslih3span_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span',
'style' => 'padding',
'type' => 'dimensions',
'themeoptions' => 'style:',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:color',
'id' => 'css_timeline_itemslidesc_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:typography',
'id' => 'css_timeline_itemslidesc_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dot', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3|before:border-color',
'id' => 'css_timeline_itemslih3before_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3:before',
'style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Placeholder', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc|before:background-image',
'id' => 'css_timeline_itemslidescbefore_background_image',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:before',
'style' => 'background-image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Content lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:text-decoration-color',
'id' => 'css_timeline_itemslidesc_text_decoration_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:text-underline-offset',
'id' => 'css_timeline_itemslidesc_text_underline_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:text-decoration-thickness',
'id' => 'css_timeline_itemslidesc_text_decoration_thickness',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:border-color',
'id' => 'css_timeline_itemslih3lidesc_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'style' => 'border-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li|hover h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li|hover .desc:border-color',
'id' => 'css_timeline_itemslihoverh3lihoverdesc_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li:hover h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li:hover .desc',
'style' => 'border-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Hover color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Toggle -----------------------------------------------------------
'toggle' => array(
'type' => 'toggle',
'title' => __('Toggle', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render mfn-class-editor-card-visible modalbox-card-content">',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
'This is the title',
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'This is the content',
],
'icon' => [
'icon',
__('Icon', 'mfn-opts'),
'',
],
'image' => [
'image',
__('Image', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'title' => __('This is the 1st title', 'mfn-opts'),
'content' => __('This is the 1st content', 'mfn-opts'),
],
1 => [
'title' => __('This is the 2nd title', 'mfn-opts'),
'content' => __('This is the 2nd content', 'mfn-opts'),
],
],
'preview' => 'tabs',
'primary' => 'title',
),
array(
'id' => 'tag',
'type' => 'switch',
'title' => __('Question tag', 'mfn-opts'),
're_render' => true,
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'toggle-type',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Type', 'mfn-opts'),
're_render' => true,
'options' => array(
'unordered' => __('Unordered', 'mfn-opts'),
'ordered' => __('Ordered', 'mfn-opts'),
),
'std' => 'unordered'
),
array(
'id' => 'starting',
'type' => 'text',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Starting number', 'mfn-opts'),
'condition' => array( 'id' => 'toggle-type', 'opt' => 'is', 'val' => 'ordered' ),
're_render' => true,
'std' => '1'
),
array(
'id' => 'divider',
'attr_id' => 'toggle-divider',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Divider', 'mfn-opts'),
're_render' => true,
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
array(
'id' => 'open_first',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Open first', 'mfn-opts'),
're_render' => true,
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
array(
'id' => 'open_all',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Open all', 'mfn-opts'),
're_render' => true,
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
array(
'id' => 'open_more',
'type' => 'switch',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Open more than one at a time', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'icon',
'type' => 'icon',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Icon', 'mfn-opts'),
're_render' => true,
'preview' => 'icon',
'std' => 'fas fa-plus',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'active_icon',
'type' => 'icon',
'class' => 'mfn-class-editor-form-row-visible',
'title' => __('Icon', 'mfn-opts'),
're_render' => true,
'preview' => 'icon',
'std' => 'fas fa-minus',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'id' => 'icon_animation',
'class' => 'mfn-class-editor-form-row-visible',
'type' => 'switch',
'title' => __('Animation', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'zoom' => __('Zoom', 'mfn-opts'),
'rotate' => __('Rotate', 'mfn-opts'),
),
'std' => 'disable',
),
// style ---
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
// item
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Toggle item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-gap',
'id' => 'css_toggle_mfn_toggle_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-gap',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-style',
'id' => 'css_toggle-item_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'style' => 'border-style',
'attr_id' => 'toggle-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-width',
'id' => 'css_toggle-item_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'style' => 'border-width',
'condition' => array( 'id' => 'toggle-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-radius',
'id' => 'css_toggle-item_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere mfn-toggled"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-color',
'id' => 'css_toggle-item_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:background-color',
'id' => 'css_toggle-item_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:box-shadow',
'id' => 'css_toggle-item_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover:border-color',
'id' => 'css_toggle-item_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover:background-color',
'id' => 'css_toggle-item_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover:box-shadow',
'id' => 'css_toggle-item_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active:border-color',
'id' => 'css_toggle-itemactive_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active:background-color',
'id' => 'css_toggle-itemactive_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active:box-shadow',
'id' => 'css_toggle-itemactive_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// divider
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Divider', 'mfn-opts'),
'condition' => array( 'id' => 'toggle-divider', 'opt' => 'is', 'val' => 'enable' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-divider:height',
'id' => 'css_toggletoggle-divider_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-divider',
'style' => 'height',
'condition' => array( 'id' => 'toggle-divider', 'opt' => 'is', 'val' => 'enable' ),
'type' => 'sliderbar',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '20',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-divider-color',
'id' => 'css_toggle_mfn_toggle_divider_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-divider-color',
'condition' => array( 'id' => 'toggle-divider', 'opt' => 'is', 'val' => 'enable' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// title bar
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:padding',
'id' => 'css_toggle-itemtoggle-bar_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-heading:typography',
'id' => 'css_toggle-itemtoggle-heading_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-heading',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-style',
'id' => 'css_toggle-itemtoggle-bar_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'border-style',
'attr_id' => 'toggle-title-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-width',
'id' => 'css_toggle-itemtoggle-bar_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'border-width',
'condition' => array( 'id' => 'toggle-title-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-radius',
'id' => 'css_toggle-itemtoggle-bar_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere mfn-toggled"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-color',
'id' => 'css_toggle-itemtoggle-bar_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-title-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-heading:color',
'id' => 'css_toggle-itemtoggle-heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-heading',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:background-color',
'id' => 'css_toggle-itemtoggle-bar_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:box-shadow',
'id' => 'css_toggle-itemtoggle-bar_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-bar:border-color',
'id' => 'css_toggle-itemtoggle-bar_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-bar',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-title-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-heading:color',
'id' => 'css_toggle-itemtoggle-heading_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-heading',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-bar:background-color',
'id' => 'css_toggle-itemtoggle-bar_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-bar',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-bar:box-shadow',
'id' => 'css_toggle-itemtoggle-bar_box_shadow_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-bar',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-bar:border-color',
'id' => 'css_toggle-itemtoggle-bar_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-bar',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-title-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-heading:color',
'id' => 'css_toggle-itemactivetoggle-heading_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-heading',
'style' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-bar:background-color',
'id' => 'css_toggle-itemtoggle-bar_background_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-bar',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-bar:box-shadow',
'id' => 'css_toggle-itemtoggle-bar_box_shadow_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .mfn-toggle-item.active .toggle-bar',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// content
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:padding',
'id' => 'css_toggletoggle-content_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:typography',
'id' => 'css_toggletoggle-content_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:color',
'id' => 'css_toggletoggle-content_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere mfn-toggled"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content a:color',
'id' => 'css_toggletoggle-contenta_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content a',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content a|hover:color',
'id' => 'css_toggletoggle-contenta_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:background-color',
'id' => 'css_toggletoggle-content_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
// title icon
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:width',
'id' => 'css_toggle-bar-icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:height',
'id' => 'css_toggle-bar-icon_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-bar-icon-spacing',
'id' => 'css_toggle_mfn_toggle_bar_icon_spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-bar-icon-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Spacing', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-bar-icon-size',
'id' => 'css_toggle_mfn_toggle_bar_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-bar-icon-size',
'condition' => array( 'id' => 'toggle-type', 'opt' => 'isnt', 'val' => 'ordered' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon|after:typography',
'id' => 'css_toggle-bar-iconafter_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:after',
'style' => 'typography',
'responsive' => true,
'condition' => array( 'id' => 'toggle-type', 'opt' => 'is', 'val' => 'ordered' ),
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-style',
'id' => 'css_toggle-bar-icon_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'border-style',
'attr_id' => 'toggle-ti-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-width',
'id' => 'css_toggle-bar-icon_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'border-width',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-radius',
'id' => 'css_toggle-bar-icon_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere mfn-toggled"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-color',
'id' => 'css_toggle-bar-icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-bar-icon-color',
'id' => 'css_toggle_mfn_toggle_bar_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-bar-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:background-color',
'id' => 'css_toggle-bar-icon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-bar-icon:border-color',
'id' => 'css_toggle-itemtoggle-bar-icon_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-bar-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover:--mfn-toggle-bar-icon-color',
'id' => 'css_toggle-item_toggle_bar_icon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover',
'style' => '--mfn-toggle-bar-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-bar-icon:background-color',
'id' => 'css_toggle-itemtoggle-bar-icon_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-bar-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-bar-icon:border-color',
'id' => 'css_toggle-itemactivetoggle-bar-icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-bar-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active:--mfn-toggle-bar-icon-color',
'id' => 'css_toggle-itemactive_toggle_bar_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active',
'style' => '--mfn-toggle-bar-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-bar-icon:background-color',
'id' => 'css_toggle-itemactivetoggle-bar-icon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-bar-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// toggle icon
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Toggle icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:width',
'id' => 'css_toggle-icon_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:height',
'id' => 'css_toggle-icon_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-icon-spacing',
'id' => 'css_toggle_mfn_toggle_icon_spacing',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-icon-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Spacing', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-icon-size',
'id' => 'css_toggle_mfn_toggle_icon_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-icon-size',
'condition' => array( 'id' => 'toggle-type', 'opt' => 'isnt', 'val' => 'ordered' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon|after:typography',
'id' => 'css_toggle-iconafter_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:after',
'style' => 'typography',
'responsive' => true,
'condition' => array( 'id' => 'toggle-type', 'opt' => 'is', 'val' => 'ordered' ),
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-style',
'id' => 'css_toggle-icon_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'border-style',
'attr_id' => 'toggle-ti-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-width',
'id' => 'css_toggle-icon_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'border-width',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-radius',
'id' => 'css_toggle-icon_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-vb-formrow mfn-vb-mfnuidhere mfn-toggled"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-color',
'id' => 'css_toggle-icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-icon-color',
'id' => 'css_toggle_mfn_toggle_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'style' => '--mfn-toggle-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:background-color',
'id' => 'css_toggle-icon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-icon:border-color',
'id' => 'css_toggle-itemtoggle-icon_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover:--mfn-toggle-icon-color',
'id' => 'css_toggle-item_mfn_toggle_icon_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover',
'style' => '--mfn-toggle-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item|hover .toggle-icon:background-color',
'id' => 'css_toggle-itemtoggle-icon_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:hover .toggle-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-icon:border-color',
'id' => 'css_toggle-itemactivetoggle-icon_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-icon',
'style' => 'border-color',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active:--mfn-toggle-icon-color',
'id' => 'css_toggle-itemactive_toggle_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active',
'style' => '--mfn-toggle-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-icon:background-color',
'id' => 'css_toggle-itemactivetoggle-icon_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item.active .toggle-icon',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Trailer Box ----------------------------------------------------
'trailer_box' => array(
'type' => 'trailer_box',
'title' => __('Trailer Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'orientation',
'type' => 'switch',
're_render' => true,
'title' => __('Image orientation', 'mfn-opts'),
'options' => array(
'' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'slogan',
'type' => 'text',
'edit_tag' => '.desc | div.subtitle',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Slogan', 'mfn-opts'),
'std' => __('This is the slogan', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.desc | .title',
'dynamic_data' => 'title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'plain' => __('Plain', 'mfn-opts'),
),
'std' => '',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Slogan', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:color',
'id' => 'css_trailer_boxdescsubtitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:background',
'id' => 'css_trailer_boxdescsubtitle_background',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:typography',
'id' => 'css_trailer_boxdescsubtitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:padding',
'id' => 'css_trailer_boxdescsubtitle_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title:color',
'id' => 'css_trailer_boxdesctitle_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title:typography',
'id' => 'css_trailer_boxdesctitle_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title:margin',
'id' => 'css_trailer_boxdesctitle_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:simple',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box|hover .desc:background-color',
'id' => 'css_simpletrailer_boxdesc_background_color_hover',
'selector' => '.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box:hover .desc',
'style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header',
'themeoptions' => 'style:',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .line:background-color',
'id' => 'css_trailer_boxdescline_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .line',
'style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Video --------------------------------------------
'video' => array(
'type' => 'video',
'title' => __('Video', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'type' => 'header',
'title' => __('YouTube or Vimeo', 'mfn-opts'),
),
array(
'id' => 'video',
're_render' => true,
'type' => 'text',
'title' => __('Video ID', 'mfn-opts'),
'desc' => __('<b>YouTube:</b> http://www.youtube.com/watch?v=<u>WoJhnRczeNg</u><br /><b>Vimeo:</b> http://vimeo.com/<u>62954028</u>', 'mfn-opts'),
'preview' => 'title',
'std' => 'n7-F-FMzM7Q',
),
array(
'id' => 'parameters',
're_render' => true,
'type' => 'text',
'title' => __('Parameters', 'mfn-opts'),
'desc' => __('Multiple parameters should be connected with "&"<br />Example: <b>autoplay=1&loop=1</b><br />Notice: Vimeo authors may disable some parameters for their videos', 'mfn-opts'),
),
// html5
array(
'type' => 'header',
'title' => __('HTML5', 'mfn-opts'),
),
array(
'id' => 'mp4',
're_render' => true,
'type' => 'upload',
'title' => __('MP4 video', 'mfn-opts'),
'desc' => __('Please add both mp4 and ogv for cross-browser compatibility', 'mfn-opts'),
'data' => 'video',
),
array(
'id' => 'ogv',
're_render' => true,
'type' => 'upload',
'title' => __('OGV video', 'mfn-opts'),
'data' => 'video',
),
array(
'id' => 'placeholder',
're_render' => true,
'type' => 'upload',
'title' => __('Placeholder image', 'mfn-opts'),
'desc' => __('Placeholder Image will be used as video placeholder before video loads and on mobile devices', 'mfn-opts'),
),
array(
'id' => 'html5_parameters',
're_render' => true,
'type' => 'select',
'title' => __('Parameters', 'mfn-opts'),
'desc' => __('WebKit browsers and iOS do not support autoplay', 'mfn-opts'),
'options' => array(
'' => __('autoplay controls loop muted', 'mfn-opts'),
'a;c;l;m;i' => __('autoplay controls loop muted playsinline', 'mfn-opts'),
'a;c;l;' => __('autoplay controls loop', 'mfn-opts'),
'a;c;l;;i' => __('autoplay controls loop playsinline', 'mfn-opts'),
'a;c;;m' => __('autoplay controls muted', 'mfn-opts'),
'a;c;;m;i' => __('autoplay controls muted playsinline', 'mfn-opts'),
'a;;l;m' => __('autoplay loop muted', 'mfn-opts'),
'a;;l;m;i' => __('autoplay loop muted playsinline', 'mfn-opts'),
'a;c;;' => __('autoplay controls', 'mfn-opts'),
'a;c;;;i' => __('autoplay controls playsinline', 'mfn-opts'),
'a;;l;' => __('autoplay loop', 'mfn-opts'),
'a;;l;;i' => __('autoplay loop playsinline', 'mfn-opts'),
'a;;;m' => __('autoplay muted', 'mfn-opts'),
'a;;;m;p' => __('autoplay muted playsinline', 'mfn-opts'),
'a;;;' => __('autoplay', 'mfn-opts'),
'a;;;;p' => __('autoplay playsinline', 'mfn-opts'),
';c;l;m' => __('controls loop muted', 'mfn-opts'),
';c;l;m;p' => __('controls loop muted playsinline', 'mfn-opts'),
';c;l;' => __('controls loop', 'mfn-opts'),
';c;l;;p' => __('controls loop playsinline', 'mfn-opts'),
';c;;m' => __('controls muted', 'mfn-opts'),
';c;;m;p' => __('controls muted playsinline', 'mfn-opts'),
';c;;' => __('controls', 'mfn-opts'),
';c;;;p' => __('controls playsinline', 'mfn-opts'),
),
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'width',
're_render' => true,
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow',
'std' => '700',
),
array(
'id' => 'height',
're_render' => true,
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow',
'std' => '400',
),
// Mask Shape
array(
'type' => 'header',
'title' => __('Mask shape', 'mfn-opts'),
),
array(
'id' => 'mask_shape_type',
'attr_id' => 'mask_type',
'type' => 'select',
'title' => __('Mask type', 'mfn-opts'),
'options' => array(
'0' => __('None', 'mfn-opts'),
'blob' => __('Blob', 'mfn-opts'),
'blob-2' => __('Blob 2', 'mfn-opts'),
'brush' => __('Brush', 'mfn-opts'),
'brush-2' => __('Brush 2', 'mfn-opts'),
'circle' => __('Circle', 'mfn-opts'),
'cross' => __('Cross', 'mfn-opts'),
'irregular-circle' => __('Irregular Circle', 'mfn-opts'),
'stain' => __('Stain', 'mfn-opts'),
'triangle' => __('Triangle', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '0'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-image',
'id' => 'css_mask_img',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'style' => '-webkit-mask-image',
'type' => 'upload',
'title' => __('Mask image', 'mfn-opts'),
'desc' => 'Only SVG type of image works',
'condition' => array( 'id' => 'mask_type', 'opt' => 'is', 'val' => 'custom' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape:background-color',
'id' => 'css_content_video-mask-shape_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape',
'style' => 'background-color',
'type' => 'color',
'title' => __('Mask color', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
),
array(
'id' => 'mask_shape_size',
'attr_id' => 'mask_shape_size',
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'auto' => __('Default', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'contain',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-size',
'id' => 'css_mask_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'style' => '-webkit-mask-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_size', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Scale', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => '%',
),
),
array(
'id' => 'mask_shape_position',
'attr_id' => 'mask_shape_position',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'center center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'center center'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-position-x',
'id' => 'css_mask_pos_x',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'style' => '-webkit-mask-position-x',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position X', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-position-y',
'id' => 'css_mask_pos_y',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'style' => '-webkit-mask-position-y',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position Y', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-repeat',
'id' => 'css_mask_repeat',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'style' => '-webkit-mask-repeat',
'type' => 'select',
'title' => __('Repeat', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Header WPML Language Switcher ----------------------------------------------------
'header_language_switcher' => array(
'type' => 'header_language_switcher',
'title' => __('WPML switcher', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'dropdown' => __('Dropdown', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'flags',
'type' => 'switch',
're_render' => true,
'title' => __('Flags', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'0' => __('Hide', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'dropdown_icon',
'attr_id' => 'dropdown_icon',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'dropdown' ),
'type' => 'switch',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'' => __('Hide', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'dropdown_icon_html',
'condition' => array( 'id' => 'dropdown_icon', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'std' => 'icon-down-open',
),
array(
'id' => 'dropdown_icon_image',
'condition' => array( 'id' => 'dropdown_icon', 'opt' => 'is', 'val' => '1' ),
'type' => 'upload',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:padding',
'id' => 'css_language-switcherullia_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-style',
'id' => 'css_language-switcherullia_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'border-style',
'attr_id' => 'border_style_wpml_swi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-width',
'id' => 'css_language-switcherullia_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wpml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-radius',
'id' => 'css_language-switcherullia_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:typography',
'id' => 'css_language-switcherullia_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:color',
'id' => 'css_language-switcherullia_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-color',
'id' => 'css_language-switcherullia_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wpml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:background-color',
'id' => 'css_language-switcherullia_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a|hover:color',
'id' => 'css_language-switcherullia_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a|hover:border-color',
'id' => 'css_language-switcherullia_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wpml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a|hover:background',
'id' => 'css_language-switcherullia_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:hover',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Flag', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img:width',
'id' => 'css_language-switcherulliaimg_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img',
'style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Flag size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '18px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img:margin',
'id' => 'css_language-switcherulliaimg_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'dropdown' ),
'title' => __('Dropdown icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown.mfn-language-switcher-dropdown-icon ul li a .mfn-arrow-icon:--mfn-wpml-arrow-size',
'id' => 'css_language-switcher-dropdown-icon-ul-li-a-arrow-icon_arrow_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown.mfn-language-switcher-dropdown-icon ul li a .mfn-arrow-icon',
'style' => '--mfn-wpml-arrow-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '10px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li a .mfn-arrow-icon:margin',
'id' => 'css_language-switcher-dropdownullia-arrow-icon_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li a .mfn-arrow-icon',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'dropdown' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:width',
'id' => 'css_language-switcher-dropdownulliul_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'width',
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:background-color',
'id' => 'css_language-switcher-dropdownulliul_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:padding',
'id' => 'css_language-switcher-dropdownulliul_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-style',
'id' => 'css_language-switcher-dropdownulliul_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'border-style',
'attr_id' => 'border_style_wpml_submenu',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-width',
'id' => 'css_language-switcher-dropdownulliul_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wpml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-color',
'id' => 'css_language-switcher-dropdownulliul_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wpml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-radius',
'id' => 'css_language-switcher-dropdownulliul_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Header WPML wcml Currency Switcher ----------------------------------------------------
'header_currency_switcher' => array(
'type' => 'header_currency_switcher',
'title' => __('Currency switcher', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'inline' => __('Inline', 'mfn-opts'),
'' => __('Dropdown', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'flags',
'type' => 'switch',
're_render' => true,
'title' => __('Flags', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'' => __('Hide', 'mfn-opts'),
),
'std' => '1',
),
array(
'id' => 'dropdown_icon',
'attr_id' => 'dropdown_icon',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'' => __('Hide', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'dropdown_icon_html',
'condition' => array( 'id' => 'dropdown_icon', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'std' => 'icon-down-open',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render modalbox-card-style-mfnuidhere">',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Item', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_items_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-default ul',
'style' => 'gap',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'inline' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_currency_switcher_link_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_link_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'border-style',
'attr_id' => 'border_style_wcml_swi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_currency_switcher_link_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_link_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_link_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li><li><a href="#active" data-tab="active">Active</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_currency_switcher_link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_currency_switcher_link_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_link_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_link_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a:hover',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-active">',
),
array(
'id' => 'css_currency_switcher_link_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li.> wcml-cs-active-currency > a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_link_border_color_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li.> wcml-cs-active-currency > a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_link_background_active',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li.> wcml-cs-active-currency > a',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'title' => __('Flag', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_flag_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li a img.mfn-wcml-flag',
'style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Flag size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '20px',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'title' => __('Dropdown icon', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_dropdown_arrow_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown.mfn-currency-switcher-dropdown-icon ul li a .mfn-arrow-icon',
'style' => '--mfn-wpml-arrow-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '10px',
),
array(
'id' => 'css_currency_switcher_dropdown_arrow_icon_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li a .mfn-arrow-icon',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_dropdown_arrow_icon_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li a .mfn-arrow-icon',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'class' => 'toggled_header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_offset',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul.mfn-wcml-dropdown-ready > li.wcml-cs-active-currency > ul',
'style' => 'margin-top',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Offset', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_currency_switcher_submenu_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'width',
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'id' => 'css_currency_switcher_submenu_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'border-style',
'attr_id' => 'border_style_wcml_submenu',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_currency_switcher_submenu_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'title' => __('Submenu items', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_items_gap',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul',
'style' => 'gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_currency_switcher_submenu_link_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'border-style',
'attr_id' => 'border_style_wcml_swi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_currency_switcher_submenu_link_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_border_width_last_child',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li:last-child a',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width last item', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'id' => 'css_currency_switcher_submenu_link_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_link_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_link_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'id' => 'css_currency_switcher_submenu_link_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a:hover',
'style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_link_border_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a:hover',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_link_background_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a:hover',
'style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Visual Editor -------------------------------------------------
'visual' => array(
'type' => 'visual',
'title' => __('Visual Editor', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'used_fonts' => '',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'content',
'type' => 'visual',
'title' => __('Editor', 'mfn-opts'),
'class' => 'form-content-full-width',
'dynamic_data' => 'content',
'preview' => 'content',
'vbstd' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
// Zoom Box -------------------------------------------------------
'zoom_box' => array(
'type' => 'zoom_box',
'title' => __('Zoom Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-re_render modalbox-card-content">',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width <b>768px - 1920px</b> depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'content_image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Content image', 'mfn-opts'),
),
array(
'id' => 'content',
'dynamic_data' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'bg_color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Overlay background', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '</div><div class="modalbox-card modalbox-card-style modalbox-re_render">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Overlay', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_zoom',
'type' => 'switch',
'class' => 'mfn-fields-switcher mfn-toggled disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-color',
'id' => 'css_zoom_boxdesc_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:gradient',
'id' => 'css_zoom_boxdesc_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-image',
'id' => 'css_zoom_boxdesc_background_image',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-repeat',
'id' => 'css_zoom_boxdesc_background_repeat',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-position',
'id' => 'css_zoom_boxdesc_background_position',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'background-position',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-attachment',
'id' => 'css_zoom_boxdesc_background_attachment',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-size',
'id' => 'css_zoom_boxdesc_background_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'style' => 'background-size',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt:color',
'id' => 'css_zoom_boxdescdesc_txt_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt',
'style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt:typography',
'id' => 'css_zoom_boxdescdesc_txt_typography',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt',
'style' => 'typography',
'responsive' => true,
'type' => 'typography_vb',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt:margin',
'id' => 'css_zoom_boxdescdesc_txt_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt',
'style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '</div>',
),
),
),
);
}
/**
* GET inline shortcodes for CodeMirror
*/
public static function get_inline_shortcode(){
$shortcode_inline = array(
'alert' => array(
'type' => 'alert',
'title' => __('Alert', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'style',
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'desc' => __('Please select the alert style above', 'mfn-opts'),
'options' => array(
'warning' => __('Warning', 'mfn-opts'),
'error' => __('Error', 'mfn-opts'),
'info' => __('Info', 'mfn-opts'),
'success' => __('Success', 'mfn-opts'),
),
'std' => 'warning'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
)
),
),
'blockquote' => array(
'type' => 'blockquote',
'title' => __('Blockquote', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'author',
'type' => 'text',
'title' => __('Author', 'mfn-opts'),
'desc' => __('Blockquote author', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __("Link to author's page", 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts'),
'lightbox' => __('Lightbox', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'button' => array(
'type' => 'button',
'title' => __('Button', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Button', 'mfn-opts'),
'desc' => __('Text on the button', 'mfn-opts'),
'std' => 'Button'
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Link (with http://)', 'mfn-opts')
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts'),
'lightbox' => __('Lightbox', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'desc' => __('Button align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts')
),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'desc' => __('To use a button with an icon, type the icon name here', 'mfn-opts'),
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'desc' => __('Icon position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts')
),
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Button background color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'font_color',
'type' => 'color',
'title' => __('Button text color', 'mfn-opts'),
),
array(
'id' => 'size',
'type' => 'switch',
'title' => __('Button Size', 'mfn-opts'),
'options' => array(
'1' => __('Small', 'mfn-opts'),
'2' => __('Default', 'mfn-opts'),
'3' => __('Large', 'mfn-opts'),
'4' => __('Very Large', 'mfn-opts')
),
'std' => '2'
),
array(
'id' => 'full_width',
'type' => 'switch',
'title' => __('Full Width', 'mfn-opts'),
'desc' => __('Stretch to the width of the column', 'mfn-opts'),
'options' => array(
'' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
)
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Class', 'mfn-opts'),
'desc' => __('CSS Classes', 'mfn-opts')
),
array(
'id' => 'button_id',
'type' => 'text',
'title' => __('ID', 'mfn-opts'),
'desc' => __('This option is useful when you want to use <b>GTM</b>', 'mfn-opts'),
),
array(
'id' => 'rel',
'type' => 'text',
'title' => __('Rel', 'mfn-opts'),
'desc' => __('"Rel" attribute to the link', 'mfn-opts'),
'before' => 'rel='
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename (if click on button downloads a file)', 'mfn-opts')
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('onclick', 'mfn-opts'),
'desc' => __('"Onclick" attribute to the link', 'mfn-opts'),
'before' => 'onclick='
),
),
),
'code' => array(
'type' => 'code',
'title' => __('Code', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Code inside the box', 'mfn-opts'),
),
),
),
'content_link' => array(
'type' => 'content_link',
'title' => __('Content link', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Item title text', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'link',
'type' => 'text',
'title' => 'Link'
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Class', 'mfn-opts'),
'desc' => __('CSS classess', 'mfn-opts')
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename (if click on button downloads a file)', 'mfn-opts')
),
),
),
'countdown_inline' => array(
'type' => 'countdown_inline',
'title' => __('Countdown Inline', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'date',
'type' => 'text',
'title' => __('Launch date', 'mfn-opts'),
'desc' => __('month/day/year hour:minute:second', 'mfn-opts'),
'std' => '12/30/2022 12:00:00',
'preview' => 'title',
),
array(
'id' => 'timezone',
'type' => 'select',
'title' => __('Timezone', 'mfn-opts'),
'options' => mfna_utc(),
'std' => '0',
),
array(
'id' => 'show',
'type' => 'select',
'title' => __('Show', 'mfn-opts'),
'options' => array(
'' => __('days hours minutes seconds', 'mfn-opts'),
'dhm' => __('days hours minutes', 'mfn-opts'),
'dh' => __('days hours', 'mfn-opts'),
'd' => __('days', 'mfn-opts'),
),
),
),
),
'counter_inline' => array(
'type' => 'counter_inline',
'title' => __('Counter Inline', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'value',
'type' => 'text',
'title' => __('Value', 'mfn-opts'),
'std' => 500
),
array(
'id' => 'duration',
'type' => 'text',
'title' => __('Duration [ms]', 'mfn-opts'),
'std' => ''
),
),
),
'divider' => array(
'type' => 'divider',
'title' => __('Divider', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'std' => 30,
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'dots' => __('Dots', 'mfn-opts'),
'zigzag' => __('ZigZag', 'mfn-opts'),
),
'std' => 'default',
),
array(
'id' => 'line',
'type' => 'switch',
'title' => __('Line', 'mfn-opts'),
'desc' => __('for style: default', 'mfn-opts'),
'options' => array(
'' => __('No line', 'mfn-opts'),
'default' => __('Default', 'mfn-opts'),
'narrow' => __('Narrow', 'mfn-opts'),
'wide' => __('Wide', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'themecolor',
'type' => 'switch',
'title' => __('Theme color', 'mfn-opts'),
'desc' => __('Overwrites color selected above', 'mfn-opts'),
'options' => array(
0 => __('No', 'mfn-opts'),
1 => __('Yes', 'mfn-opts'),
),
'std' => 0
),
array(
'id' => 'classes',
'type' => 'pills',
'title' => __('CSS classes', 'mfn-opts'),
),
),
),
'dropcap' => array(
'type' => 'dropcap',
'title' => __('Dropcap', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'background',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Text color', 'mfn-opts'),
),
array(
'id' => 'circle',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'0' => __('Square', 'mfn-opts'),
'1' => __('Circle', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Font size', 'mfn-opts'),
'desc' => __('Size in px or 1, 2, 3 for predefined sizes', 'mfn-opts'),
'class' => 'narrow',
'param' => 'number',
'after' => 'px',
'std' => '1',
),
array(
'id' => 'font',
'type' => 'font_select',
'title' => __('Font family', 'mfn-opts'),
'param' => [
'allow-empty' => true,
],
'std' => '',
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Dropcap letter, ie. A', 'mfn-opts')
),
),
),
'fancy_link' => array(
'type' => 'fancy_link',
'title' => __('Fancy Link', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Link text', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link (with https://)', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts')
)
),
array(
'id' => 'style',
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'desc' => __('Style of fancy link', 'mfn-opts'),
'options' => array(
'1' => __('Brackets', 'mfn-opts'),
'2' => __('Block flipping', 'mfn-opts'),
'3' => __('Border bottom', 'mfn-opts'),
'4' => __('Border clone', 'mfn-opts'),
'5' => __('Background shift', 'mfn-opts'),
'6' => __('Color and border shift', 'mfn-opts'),
'7' => __('Border position change', 'mfn-opts'),
'8' => __('Borders to cross', 'mfn-opts'),
'9' => __('Icon below link', 'mfn-opts'),
),
'std' => '1'
),
array(
'id' => 'font',
'type' => 'font_select',
'title' => __('Font family', 'mfn-opts'),
'param' => [
'allow-empty' => true,
],
),
array(
'id' => 'font_size',
'type' => 'text',
'title' => __('Font size', 'mfn-opts'),
'after' => 'px',
'class' => 'narrow',
'param' => 'number',
),
array(
'id' => 'margin',
'type' => 'text',
'title' => __('Margin', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'desc' => __('for style <b>Icon below link</b> only', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'text',
'title' => __('Class', 'mfn-opts'),
'desc' => __('CSS classess', 'mfn-opts')
),
array(
'id' => 'popup',
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename (if click on button downloads a file)', 'mfn-opts')
),
),
),
'google_font' => array(
'type' => 'google_font',
'title' => __('Google Font', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'font',
'type' => 'text',
'title' => __('Font', 'mfn-opts'),
'desc' => __('Google font name<br><b>Important</b>: Works only with Google Fonts loaded from Google or Local for fonts selected in Theme Options', 'mfn-opts'),
'std' => 'Open Sans'
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Size', 'mfn-opts'),
'desc' => __('Font size in px', 'mfn-opts')
),
array(
'id' => 'weight',
'type' => 'select',
'title' => __('Weight', 'mfn-opts'),
'desc' => __('Font weight (some fonts only)', 'mfn-opts'),
'options' => array(
'100' => __('100', 'mfn-opts'),
'200' => __('200', 'mfn-opts'),
'300' => __('300', 'mfn-opts'),
'400' => __('400', 'mfn-opts'),
'500' => __('500', 'mfn-opts'),
'600' => __('600', 'mfn-opts'),
'700' => __('700', 'mfn-opts'),
'800' => __('800', 'mfn-opts')
),
'std' => '400'
),
array(
'id' => 'italic',
'type' => 'switch',
'title' => __('Italic', 'mfn-opts'),
'desc' => __('Font style: italic (some fonts only)', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'letter_spacing',
'type' => 'text',
'title' => __('Letter Spacing', 'mfn-opts'),
'desc' => __('Letter spacing in px', 'mfn-opts')
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'desc' => __('Color of font', 'mfn-opts'),
'std' => '#626262'
),
array(
'id' => 'subset',
'type' => 'text',
'title' => __('Subset', 'mfn-opts'),
'desc' => __('Subset for font (multiple separate with comma)', 'mfn-opts')
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'heading' => array(
'type' => 'heading',
'title' => __('Heading', 'mfn-opts'),
'attr' => array(
array(
'id' => 'tag',
'type' => 'switch',
'title' => __('Heading size', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts')
),
'std' => 'center'
),
array(
'id' => 'color',
'type' => 'color',
'title' => 'Color',
'std' => '#000'
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'none' => __('Default', 'mfn-opts'),
'lines' => __('Lines', 'mfn-opts')
),
'std' => 'lines'
),
array(
'id' => 'color2',
'type' => 'color',
'title' => 'Color 2',
'std' => '#000'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => 'Content'
),
),
),
'highlight' => array(
'type' => 'highlight',
'title' => __('Highlight', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'background',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'underline' => __('Underline', 'mfn-opts'),
],
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
)
),
'hr' => array(
'type' => 'hr',
'title' => __('Hr', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'std' => 30
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Line style', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'dots' => __('Dots', 'mfn-opts'),
'zigzag' => __('ZigZag', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'line',
'type' => 'switch',
'title' => __('Line width', 'mfn-opts'),
'desc' => __('for style: default', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'narrow' => __('Narrow', 'mfn-opts'),
'wide' => __('Wide', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Line color', 'mfn-opts'),
),
array(
'id' => 'themecolor',
'type' => 'switch',
'title' => __('Theme color', 'mfn-opts'),
'desc' => 'Use the same color as theme color',
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
),
'std' => '0'
),
),
),
'icon' => array(
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'type',
'type' => 'icon',
'title' => 'Icon',
'std' => 'icon-lamp'
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
),
),
'icon_bar' => array(
'type' => 'icon_bar',
'title' => __('Icon Bar', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Size', 'mfn-opts'),
'desc' => __('If you want large icon, then type large, leave field empty if you want default size', 'mfn-opts')
),
array(
'id' => 'social',
'type' => 'select',
'title' => __('Social', 'mfn-opts'),
'options' => array(
'' => __('No', 'mfn-opts'),
'dribbble' => __('Dribbble', 'mfn-opts'),
'facebook' => __('Facebook', 'mfn-opts'),
'flickr' => __('Flickr', 'mfn-opts'),
'google' => __('Google', 'mfn-opts'),
'instagram' => __('Instagram', 'mfn-opts'),
'linkedin' => __('LinkedIn', 'mfn-opts'),
'pinterest' => __('Pinterest', 'mfn-opts'),
'twitter' => __('Twitter', 'mfn-opts'),
'vimeo' => __('Vimeo', 'mfn-opts'),
'youtube' => __('Youtube', 'mfn-opts'),
),
),
),
),
'icon_block' => array(
'type' => 'icon_block',
'title' => __('Icon Block', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts')
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Icon size', 'mfn-opts'),
'std' => 25
),
),
),
'idea' => array(
'type' => 'idea',
'title' => __('Idea', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts')
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'border_radius',
'type' => 'text',
'title' => __('Border radius', 'mfn-opts'),
'std' => '0',
'class' => 'narrow',
'param' => 'number',
'after' => 'px',
),
),
),
'image' => array(
'type' => 'image',
'title' => __('Image', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'src',
'type' => 'upload',
'title' => __('Image', 'mfn-opts')
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
)
),
array(
'id' => 'border',
'type' => 'switch',
'title' => __('Border', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'margin_top',
'type' => 'text',
'title' => __('Margin Top in px', 'mfn-opts')
),
array(
'id' => 'margin_bottom',
'type' => 'text',
'title' => __('Margin Bottom in px', 'mfn-opts')
),
array(
'id' => 'link_image',
'type' => 'upload',
'title' => __('Image on click', 'mfn-opts'),
'desc' => __('Link to image to open after click', 'mfn-opts')
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('URL to open on click instead of image url', 'mfn-opts')
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts')
)
),
array(
'id' => 'hover',
'type' => 'switch',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('ON', 'mfn-opts'),
'disable' => __('OFF', 'mfn-opts')
)
),
array(
'id' => 'alt',
'type' => 'text',
'title' => __('Alternate text', 'mfn-opts')
),
array(
'id' => 'caption',
'type' => 'text',
'title' => __('Caption', 'mfn-opts'),
'desc' => __('Short text under image', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
'' => __('OFF', 'mfn-opts'),
'1' => __('ON', 'mfn-opts')
)
),
array(
'id' => 'animate',
'type' => 'select',
'title' => __('Animation', 'mfn-opts'),
'desc' => __('Entrance animation', 'mfn-opts'),
'options' => array(
'' => esc_html__('- Not Animated -', 'mfn-opts'),
'fadeIn' => esc_html__('Fade in', 'mfn-opts'),
'fadeInUp' => esc_html__('Fade in up', 'mfn-opts'),
'fadeInDown' => esc_html__('Fade in down ', 'mfn-opts'),
'fadeInLeft' => esc_html__('Fade in left', 'mfn-opts'),
'fadeInRight' => esc_html__('Fade in right ', 'mfn-opts'),
'fadeInUpLarge' => esc_html__('Fade in up large', 'mfn-opts'),
'fadeInDownLarge' => esc_html__('Fade in down large', 'mfn-opts'),
'fadeInLeftLarge' => esc_html__('Fade in left large', 'mfn-opts'),
'fadeInRightLarge' => esc_html__('Fade in right large', 'mfn-opts'),
'zoomIn' => esc_html__('Zoom in', 'mfn-opts'),
'zoomInUp' => esc_html__('Zoom in up', 'mfn-opts'),
'zoomInDown' => esc_html__('Zoom in down', 'mfn-opts'),
'zoomInLeft' => esc_html__('Zoom in left', 'mfn-opts'),
'zoomInRight' => esc_html__('Zoom in right', 'mfn-opts'),
'zoomInUpLarge' => esc_html__('Zoom in up large', 'mfn-opts'),
'zoomInDownLarge' => esc_html__('Zoom in down large', 'mfn-opts'),
'zoomInLeftLarge' => esc_html__('Zoom in left large', 'mfn-opts'),
'bounceIn' => esc_html__('Bounce in', 'mfn-opts'),
'bounceInUp' => esc_html__('Bounce in up', 'mfn-opts'),
'bounceInDown' => esc_html__('Bounce in down', 'mfn-opts'),
'bounceInLeft' => esc_html__('Bounce in left', 'mfn-opts'),
'bounceInRight' => esc_html__('Bounce in right', 'mfn-opts'),
),
),
),
),
'popup' => array(
'type' => 'popup',
'title' => __('Popup', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Popup link text', 'mfn-opts')
),
array(
'id' => 'padding',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Inner padding in px', 'mfn-opts')
),
array(
'id' => 'button',
'type' => 'switch',
'title' => __('Button', 'mfn-opts'),
'desc' => __('Use button instead of text link', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
)
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts')
),
),
),
'progress_icons' => array(
'type' => 'progress_icons',
'title' => __('Popup', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image url', 'mfn-opts'),
'desc' => __('If you dont want to use icon you can enter image URL', 'mfn-opts')
),
array(
'id' => 'count',
'type' => 'text',
'title' => __('Number of icons', 'mfn-opts'),
'std' => 5
),
array(
'id' => 'active',
'type' => 'text',
'title' => __('Number of active icons', 'mfn-opts'),
'std' => 3
),
array(
'id' => 'background',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'transparent',
'type' => 'switch',
'title' => __('Transparent background', 'mfn-opts'),
'alpha' => true,
'options' => [
'0' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
],
'std' => '0',
),
),
),
'tooltip' => array(
'type' => 'tooltip',
'title' => __('Tooltip', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'hint',
'type' => 'text',
'title' => __('Popup text', 'mfn-opts'),
'std' => 'Text'
),
array(
'id' => 'position',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'options' => [
'top' => __('Top', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
],
'std' => 'top'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'tooltip_image' => array(
'type' => 'tooltip_image',
'title' => __('Tooltip_Image', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'hint',
'type' => 'text',
'title' => __('Popup text', 'mfn-opts'),
'std' => 'Text'
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image URL', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'lorem' => array(
'type' => 'lorem',
'title' => __('Lorem ipsum', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'type',
'type' => 'switch',
'title' => __('Type of listing', 'mfn-opts'),
'options' => array(
'paragraphs' => __('Paragraphs', 'mfn-opts'),
'lists' => __('Lists', 'mfn-opts')
),
'std' => 'paragraphs'
),
array(
'id' => 'rows_amount',
'type' => 'text',
'title' => __('Amount', 'mfn-opts'),
'std' => 3
),
array(
'id' => 'min_words_amount',
'type' => 'text',
'title' => __('Minimal words amount', 'mfn-opts'),
'std' => 10
),
array(
'id' => 'max_words_amount',
'type' => 'text',
'title' => __('Maximal words amount', 'mfn-opts'),
'std' => 15
),
),
),
);
return $shortcode_inline;
}
/**
* SET item entrance animations
*/
private function set_animations(){
$this->animations = array(
'' => esc_html__('- Not Animated -', 'mfn-opts'),
'fadeIn' => esc_html__('Fade in', 'mfn-opts'),
'fadeInUp' => esc_html__('Fade in up', 'mfn-opts'),
'fadeInDown' => esc_html__('Fade in down ', 'mfn-opts'),
'fadeInLeft' => esc_html__('Fade in left', 'mfn-opts'),
'fadeInRight' => esc_html__('Fade in right ', 'mfn-opts'),
'fadeInUpLarge' => esc_html__('Fade in up large', 'mfn-opts'),
'fadeInDownLarge' => esc_html__('Fade in down large', 'mfn-opts'),
'fadeInLeftLarge' => esc_html__('Fade in left large', 'mfn-opts'),
'fadeInRightLarge' => esc_html__('Fade in right large', 'mfn-opts'),
'zoomIn' => esc_html__('Zoom in', 'mfn-opts'),
'zoomInUp' => esc_html__('Zoom in up', 'mfn-opts'),
'zoomInDown' => esc_html__('Zoom in down', 'mfn-opts'),
'zoomInLeft' => esc_html__('Zoom in left', 'mfn-opts'),
'zoomInRight' => esc_html__('Zoom in right', 'mfn-opts'),
'zoomInUpLarge' => esc_html__('Zoom in up large', 'mfn-opts'),
'zoomInDownLarge' => esc_html__('Zoom in down large', 'mfn-opts'),
'zoomInLeftLarge' => esc_html__('Zoom in left large', 'mfn-opts'),
'bounceIn' => esc_html__('Bounce in', 'mfn-opts'),
'bounceInUp' => esc_html__('Bounce in up', 'mfn-opts'),
'bounceInDown' => esc_html__('Bounce in down', 'mfn-opts'),
'bounceInLeft' => esc_html__('Bounce in left', 'mfn-opts'),
'bounceInRight' => esc_html__('Bounce in right', 'mfn-opts'),
);
}
/**
*
* ADVANCED section
*
* */
public function set_advanced() {
$this->advanced = array(
array(
'type' => 'html',
'html' => '<div class="modalbox-card modalbox-card-advanced">',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Dimensions', 'mfn-opts'),
),
array(
'id' => 'width_switcher',
'attr_id' => 'item_width_switcher_adv',
'type' => 'select',
'class' => 'mfn-toggled mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'inline' => __('Inline', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:flex',
'id' => 'css_advanced_flex',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'item_width_switcher_adv', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'class' => 'mfn-toggled advanced_flex mfn-slider-input mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'id' => 'height_switcher',
'attr_id' => 'item_height_switcher_adv',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:height',
'id' => 'css_advanced_height',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'item_height_switcher_adv', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts')
),
array(
'form' => 'advanced',
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Spacing', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:padding',
'id' => 'css_advanced_padding',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-layout-modifier',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:margin',
'id' => 'css_advanced_margin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'required' => true,
'class' => 'mfn-toggled advanced_margin mfn-layout-modifier',
'std' => array(
'desktop' => array(
'top' => array( array( 'val' => '0px', 'type' => 'std', 'screen' => 'desktop' ) ),
'bottom' => array( array( 'val' => '40px', 'type' => 'std', 'screen' => 'desktop' ) ),
'left' => array( array( 'val' => '12px', 'type' => 'std', 'screen' => 'desktop' ) ),
'right' => array( array( 'val' => '12px', 'type' => 'std', 'screen' => 'desktop' ) ),
),
'mobile' => array(
'bottom' => array( array( 'val' => '20px', 'type' => 'std', 'screen' => 'mobile' ) ),
'left' => array( array( 'val' => '0px', 'type' => 'std', 'screen' => 'mobile' ) ),
'right' => array( array( 'val' => '0px', 'type' => 'std', 'screen' => 'mobile' ) ),
),
),
'std_header' => array(
'desktop' => array(
'top' => array( array( 'val' => '0px', 'type' => 'std', 'screen' => 'desktop' ) ),
'bottom' => array( array( 'val' => '0px', 'type' => 'std', 'screen' => 'desktop' ) ),
'left' => array( array( 'val' => '5px', 'type' => 'std', 'screen' => 'desktop' ) ),
'right' => array( array( 'val' => '5px', 'type' => 'std', 'screen' => 'desktop' ) ),
)
),
'std_footer' => array(
'desktop' => array(
'top' => array( array( 'val' => '0px', 'type' => 'std', 'screen' => 'desktop' ) ),
'bottom' => array( array( 'val' => '40px', 'type' => 'std', 'screen' => 'desktop' ) ),
'left' => array( array( 'val' => '12px', 'type' => 'std', 'screen' => 'desktop' ) ),
'right' => array( array( 'val' => '12px', 'type' => 'std', 'screen' => 'desktop' ) ),
)
),
),
array(
'type' => 'header',
'class' => 'toggled_header hide_if_ql',
'title' => __('Positioning', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:position',
'id' => 'css_advanced_position',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'position',
'attr_id' => 'item_position_rwd',
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled absolute-pos-watcher custom-element-position',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'relative' => __('Offset', 'mfn-opts'),
'absolute' => __('Absolute', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:top',
'id' => 'css_advanced_top',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Top', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:bottom',
'id' => 'css_advanced_bottom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Bottom', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:left',
'id' => 'css_advanced_left',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Left', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:right',
'id' => 'css_advanced_right',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Right', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:z-index',
'id' => 'css_advanced_z_index',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'z-index',
'type' => 'text',
'title' => __('Z-index', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'preview' => 'number',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:order',
'id' => 'css_advanced_order',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'order',
'type' => 'text',
'title' => __('Order', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'responsive' => true,
'preview' => 'number',
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:transition',
'id' => 'css_advanced_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_adv',
'type' => 'switch',
'required' => true,
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-color',
'id' => 'css_advanced_background_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:gradient',
'id' => 'css_advanced_gradient',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-image',
'id' => 'css_advanced_background_img',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'form' => 'advanced',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-repeat',
'id' => 'css_advanced_background_repeat',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-position',
'id' => 'css_advanced_background_position',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-position',
'attr_id' => 'bgposopt_rwd',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'bgposopt',
'title' => __('Position', 'mfn-opts'),
'desc' => __('Doesn\'t work with Attachment / Parallax', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-position_v2',
'id' => 'css_advanced_background_position_v2',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-position_v2',
'type' => 'text',
'condition' => array( 'id' => 'bgposopt_rwd', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Custom background position', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-custom-bg-pos',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-attachment',
'id' => 'css_advanced_background_attachment',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-size',
'id' => 'css_advanced_background_size',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-size',
'attr_id' => 'custombgsize',
'condition' => array( 'id' => 'background_switcher_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'custombgsize',
'title' => __('Size', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
'cover-ultrawide' => __('Cover, on ultrawide screens only > 1920px', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
],
//'options' => mfna_bg_size()
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:background-size_v2',
'id' => 'css_advanced_background_size_v2',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'background-size_v2',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'custombgsize', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Custom background size', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-custom-bg-size',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:backdrop-filter',
'id' => 'css_advanced_backdrop_filter',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'backdrop-filter',
'type' => 'backdrop_filter',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Backdrop filter', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner|hover:transition',
'id' => 'css_advanced_transition_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:hover',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'id' => 'background_switcher_hover',
'attr_id' => 'background_switcher_hover_adv',
'type' => 'switch',
'required' => true,
'class' => 'mfn-fields-switcher disable-history mfn-disable-reset-value',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner|hover:background-color',
'id' => 'css_advanced_background_color_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:hover',
'style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_hover_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner|hover:gradient',
'id' => 'css_advanced_gradient_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:hover',
'style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_hover_adv', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner|hover:background-image',
'id' => 'css_advanced_background_img_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:hover',
'style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_hover_adv', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner|hover:backdrop-filter',
'id' => 'css_advanced_backdrop_filter_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:hover',
'style' => 'backdrop-filter',
'type' => 'backdrop_filter',
'label_tools' => true,
'class' => 'mfn-toggled toggle_fields',
'title' => __('Backdrop filter', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div></div>',
), array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-style',
'id' => 'css_advanced_border_style',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_adv',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-color',
'id' => 'css_advanced_border_color',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'border-color',
'condition' => array( 'id' => 'border_style_adv', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-width',
'id' => 'css_advanced_border_width',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'border-width',
'condition' => array( 'id' => 'border_style_adv', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-radius',
'id' => 'css_advanced_border_radius',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'form' => 'advanced',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:box-shadow',
'id' => 'css_advanced_box_shadow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:overflow',
'id' => 'css_advanced_overflow',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'overflow',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Overflow', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'hidden' => __('Hidden', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
),
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Responsive', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Device type', 'mfn-opts'),
),
array(
'id' => 'visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'),
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'),
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M4.94,5H17.06a.93.93,0,0,1,.94.91v7.18a.93.93,0,0,1-.94.91H4.94A.93.93,0,0,1,4,13.09V5.91A.93.93,0,0,1,4.94,5Z"/><path class="cls-1" d="M7,17h8"/><path class="cls-2" d="M13,15.51a1.58,1.58,0,0,0,.7,1.26L14,17H8l.3-.23A1.58,1.58,0,0,0,9,15.51V14h4Z"/></svg>', // 960 +
'hide-laptop' => '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve"> <style type="text/css"> .st0{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} </style> <path class="st0" d="M5,15V6.9C5,6.4,5.4,5.9,5.9,6h10.1c0.5,0,0.9,0.4,0.9,0.9V15"/> <path class="st0" d="M4,17h14"/> </svg>', // 768 - 959
'hide-tablet' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M7,15.83V7.17A1.21,1.21,0,0,1,8.25,6h5.5A1.21,1.21,0,0,1,15,7.17v8.66A1.21,1.21,0,0,1,13.75,17H8.25A1.21,1.21,0,0,1,7,15.83Z"/></svg>', // 768 - 959
'hide-mobile' => '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><defs><style>.cls-1{fill:none;stroke:#304050;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}.cls-2{fill:#304050;}</style></defs><path class="cls-1" d="M8,15.82V8.18A1.08,1.08,0,0,1,8.94,7h4.12A1.08,1.08,0,0,1,14,8.18v7.64A1.08,1.08,0,0,1,13.06,17H8.94A1.08,1.08,0,0,1,8,15.82Z"/><circle class="cls-2" cx="11" cy="14" r="1"/></svg>', // - 768
),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader mfn-toggled',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'custom-responsive',
'attr_id' => 'custom-responsive',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Custom visibility', 'mfn-opts'),
'options' => array(
'hide' => __('Hide under', 'mfn-opts'),
'show' => __('Show under', 'mfn-opts'),
),
'std' => 'hide'
),
array(
'form' => 'advanced',
'condition' => array( 'id' => 'custom-responsive', 'opt' => 'is', 'val' => 'hide' ),
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:hide_under_custom',
'id' => 'css_advanced_hide_under_custom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'hide_under_custom',
'type' => 'sliderbar',
'class' => 'mfn-toggled responsive-custom-visibility',
'title' => __('Hide under', 'mfn-opts'),
'param' => array(
'min' => '400',
'max' => '1920',
'step' => '1',
'unit' => 'px',
),
),
array(
'form' => 'advanced',
'condition' => array( 'id' => 'custom-responsive', 'opt' => 'is', 'val' => 'show' ),
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:show_under_custom',
'id' => 'css_advanced_show_under_custom',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'show_under_custom',
'type' => 'sliderbar',
'title' => __('Show under', 'mfn-opts'),
'class' => 'mfn-toggled responsive-custom-visibility',
'param' => array(
'min' => '400',
'max' => '1920',
'step' => '1',
'unit' => 'px',
),
),
array(
'form' => 'advanced',
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Animation', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'animate',
'attr_id' => 'animate',
'type' => 'select',
'title' => __('Animation', 'mfn-opts'),
'desc' => __('Entrance animation', 'mfn-opts'),
'class' => 'mfn-toggled',
'options' => $this->get_animations(),
),
array(
'form' => 'advanced',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:animation-delay',
'id' => 'css_advanced_animation_delay',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'style' => 'animation-delay',
'condition' => array( 'id' => 'animate', 'opt' => 'isnt', 'val' => '' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Animation delay', 'mfn-opts'),
'after' => 'ms',
'param' => array(
'min' => '0',
'max' => '3000',
'step' => '1',
'unit' => 'ms'
),
),
// Transform
array(
'type' => 'header',
'class' => 'toggled_header transform_options',
'title' => __('Transform', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '<div class="mfn-form-row mfn-sidebar-fields-tabs mfn-toggled mfn-vb-formrow mfn-vb-mfnuidhere"><ul class="mfn-sft-nav"><li><a href="#normal" data-tab="normal">Normal</a></li><li><a href="#hover" data-tab="hover">Hover</a></li></ul><div class="mfn-sft mfn-sft-normal">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:transform',
'id' => 'css_advanced_transform',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'transform',
'responsive' => true,
'type' => 'transform',
'js_options' => 'transform_options',
'std' => '0'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:transform-origin',
'id' => 'css_advanced_transform_origin',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'transform-origin',
'type' => 'select',
'title' => __('Transform origin', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '</div><div class="mfn-sft mfn-sft-hover">',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:transition',
'id' => 'css_advanced_transition',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'js_options' => 'transform_options',
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner|hover:transform',
'id' => 'css_advanced_transform_hover',
'selector' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:hover',
'style' => 'transform',
'responsive' => true,
'type' => 'transform',
'class' => 'transform_hover',
'title' => __('Transform options', 'mfn-opts'),
'js_options' => 'transform_options',
'std' => '0'
),
array(
'type' => 'html',
'html' => '</div></div>',
),
// Conditions
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Conditional logic', 'mfn-opts'),
),
array(
'id' => 'conditions',
'class' => 'mfn-toggled conditional_logic',
'type' => 'logic',
'title' => __('Conditional logic', 'mfn-opts'),
),
// Custom
array(
'type' => 'header',
'class' => 'toggled_header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'classes',
'class' => 'mfn-toggled',
'type' => 'pills',
'title' => __('CSS classes', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'custom_id',
'class' => 'mfn-toggled',
'type' => 'text',
'title' => __('Custom ID', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'custom_css', // changed from style: because of another style inputs in widgets
'class' => 'mfn-toggled',
'type' => 'textarea',
'title' => __('Additional CSS', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '</div>',
),
);
}
}
}