Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
- $weight = array(
- __('Default','avia_framework') => '' ,
- __('Normal','avia_framework') =>'normal',
- __('Bold','avia_framework')=>'bold',
- __('Light','avia_framework')=>'lighter',
- __('200','avia_framework')=>'200',
- __('300','avia_framework')=>'300',
- __('400','avia_framework')=>'400',
- __('500','avia_framework')=>'500',
- __('600','avia_framework')=>'600',
- __('700','avia_framework')=>'700',
- __('800','avia_framework')=>'800',
- __('900','avia_framework')=>'900',
- );
- $transform = array(__('Default','avia_framework') => '' , __('None' ,'avia_framework') =>'none', __('Uppercase','avia_framework')=>'uppercase', __('Lowercase','avia_framework')=>'lowercase');
- $align = array(__('Default','avia_framework') => '' , __('Left' ,'avia_framework') =>'left', __('Center','avia_framework')=>'center', __('Right','avia_framework')=>'right');
- $decoration = array(__('Default','avia_framework') => '' , __('None','avia_framework')=>'none !important' , __('Underline' ,'avia_framework') =>'underline !important', __('Overline','avia_framework')=>'overline !important', __('Line Trough','avia_framework')=>'line-through !important');
- $display = array(__('Default','avia_framework') => '' , __('Inline','avia_framework') =>'inline', __('Inline Block','avia_framework')=>'inline-block', __('Block','avia_framework')=>'block');
- $google_fonts = apply_filters( 'avf_advanced_styles_select_options_list', AviaSuperobject()->type_fonts()->get_font_select_options_list() );
- $advanced = array();
- $advanced['body'] = array(
- "id" => "body", //needs to match array key
- "name" => "<body>",
- "group" => __( "HTML Tags",'avia_framework' ),
- "description" => __( "Change the styling for the <body> tag.",'avia_framework' ),
- "selector" => array("body#top" => ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- )
- );
- $advanced['paragraph'] = array(
- "id" => "paragraph", //needs to match array key
- "name" => "<p>",
- "group" => __("HTML Tags",'avia_framework'),
- "description" => __("Change the styling for all <p> tags",'avia_framework'),
- "selector" => array("#top [sections] p" => array(
- "font_size" => "font-size: %font_size%;",
- "line_height" => "line-height: %line_height%;",
- "font_weight" => "font-weight: %font_weight%;",
- "margin" => "margin: %margin% 0;")
- ),
- "sections" => true,
- "hover" => false,
- "edit" => array(
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height'=> array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'margin' => array('type' => 'size', 'range' => '0.5-3', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Top & Bottom margin",'avia_framework')),
- )
- );
- $advanced['strong'] = array(
- "id" => "strong", //needs to match array key
- "name" => "<strong>",
- "group" => __("HTML Tags",'avia_framework'),
- "description" => __("Change the styling for all <strong> tags",'avia_framework'),
- "selector" => array("#top [sections] strong" => ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- )
- );
- $advanced['blockquote'] = array(
- "id" => "blockquote", //needs to match array key
- "name" => "<blockquote>",
- "group" => __("HTML Tags",'avia_framework'),
- "description" => __("Change the styling for all <blockquote> tags",'avia_framework'),
- "selector" => array("#top [sections] blockquote"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- )
- );
- $advanced['underline'] = array(
- "id" => "underline", //needs to match array key
- "name" => "<u>",
- "group" => __("HTML Tags",'avia_framework'),
- "description" => __("Change the styling for all <u> (underline) tags",'avia_framework'),
- "selector" => array("#top [sections] u, #top [sections] span[style*='underline;']"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'text_decoration' => array('type' => 'select', 'name'=> __("Text Decoration",'avia_framework'), 'options' => $decoration),
- 'display' => array('type' => 'select', 'name'=> __("Display",'avia_framework'), 'options' => $display),
- )
- );
- $advanced['mark'] = array(
- "id" => "mark", //needs to match array key
- "name" => "<mark>",
- "group" => __("HTML Tags",'avia_framework'),
- "description" => __("Change the styling for all <mark> tags",'avia_framework'),
- "selector" => array("#top [sections] mark"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'text_decoration' => array('type' => 'select', 'name'=> __("Text Decoration",'avia_framework'), 'options' => $decoration),
- 'display' => array('type' => 'select', 'name'=> __("Display",'avia_framework'), 'options' => $display),
- )
- );
- $advanced['headings_all'] = array(
- "id" => "headings_all", //needs to match array key
- "name" => __( 'All Headings', 'avia_framework' ) . ' (H1-H6)',
- "group" => __( "Headings", 'avia_framework' ),
- "description" => __( "Change the styling for all Heading tags",'avia_framework' ),
- "selector" => array("#top #wrap_all [sections] h1, #top #wrap_all [sections] h2, #top #wrap_all [sections] h3, #top #wrap_all [sections] h4, #top #wrap_all [sections] h5, #top #wrap_all [sections] h6"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['h1'] = array(
- "id" => "h1", //needs to match array key
- "name" => "H1",
- "group" => __("Headings",'avia_framework'),
- "description" => __("Change the styling for your H1 Tag",'avia_framework'),
- "selector" => array("#top #wrap_all [sections] h1"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['h2'] = array(
- "id" => "h2", //needs to match array key
- "name" => "H2",
- "group" => __("Headings",'avia_framework'),
- "description" => __("Change the styling for your H2 Tag",'avia_framework'),
- "selector" => array("#top #wrap_all [sections] h2"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['h3'] = array(
- "id" => "h3", //needs to match array key
- "name" => "H3",
- "group" => __("Headings",'avia_framework'),
- "description" => __("Change the styling for your H3 Tag",'avia_framework'),
- "selector" => array("#top #wrap_all [sections] h3"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['h4'] = array(
- "id" => "h4", //needs to match array key
- "name" => "H4",
- "group" => __("Headings",'avia_framework'),
- "description" => __("Change the styling for your H4 Tag",'avia_framework'),
- "selector" => array("#top #wrap_all [sections] h4"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['h5'] = array(
- "id" => "h5", //needs to match array key
- "name" => "H5",
- "group" => __("Headings",'avia_framework'),
- "description" => __("Change the styling for your H5 Tag",'avia_framework'),
- "selector" => array("#top #wrap_all [sections] h5"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['h6'] = array(
- "id" => "h6", //needs to match array key
- "name" => "H6",
- "group" => __("Headings",'avia_framework'),
- "description" => __("Change the styling for your H6 Tag",'avia_framework'),
- "selector" => array("#top #wrap_all [sections] h6"=> ""),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['main_menu'] = array(
- "id" => "main_menu", //needs to match array key
- "name" => __("Main Menu Links",'avia_framework'),
- "group" => __("Main Menu",'avia_framework'),
- "description" => __("Change the styling for your main menu links",'avia_framework'),
- "selector" => array(
- /*trick: hover is used inside the selector to prevent it from beeing applied when :hover is checked*/
- "#top #header[hover]_main_alternate [active]" => array( "background_color" => "background-color: %background_color%;" ),
- "#top #header .av-main-nav > li[active][hover] " => array( "font_family" => "font-family: %font_family%;" ),
- "#top #header .av-main-nav > li[active][hover] > a" => "",
- ".av_seperator_small_border .av-main-nav > li[active][hover] > a > .avia-menu-text,
- #top #wrap_all #header #menu-item-search[active][hover]>a
- "=> array( "border_color" => "border-color: %border_color%;" ),
- "#top #header .av-main-nav > li[active][hover] > a .avia-menu-text, #top #header .av-main-nav > li[active][hover] > a .avia-menu-subtext"=> array( "color" => "color: %color%;" )
- ),
- "sections" => false,
- "hover" => true,
- "active" => ".current-menu-item",
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-30', 'name'=> __("Font Size",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- )
- );
- $advanced['main_menu_dropdown'] = array(
- "id" => "main_menu_dropdown", //needs to match array key
- "name" => __("Main Menu sublevel Links",'avia_framework'),
- "group" => __("Main Menu",'avia_framework'),
- "description" => __("Change the styling for your main menu dropdown links",'avia_framework'),
- "selector" => array("#top #wrap_all .av-main-nav ul > li[hover] > a, #top #wrap_all .avia_mega_div, #top #wrap_all .avia_mega_div ul, #top #wrap_all .av-main-nav ul ul"=> ""),
- "sections" => false,
- "hover" => true,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-30', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-3', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- )
- );
- $advanced['main_menu_indicator'] = array(
- "id" => "main_menu_indicator", //needs to match array key
- "name" => __("Main Menu Indicator",'avia_framework'),
- "group" => __("Main Menu",'avia_framework'),
- "description" => __("Change the styling for your current menu item/hover indicator",'avia_framework'),
- "selector" => array(".av-main-nav li:hover .avia-menu-fx, .current-menu-item > a > .avia-menu-fx, .av-main-nav li:hover .current_page_item > a > .avia-menu-fx"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'opacity' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.1, 'unit' => '', 'name'=> __("Opacity",'avia_framework')),
- )
- );
- $advanced['main_menu_buttoncolor'] = array(
- "id" => "main_menu_buttoncolor", //needs to match array key
- "name" => __("Menu Item Button",'avia_framework'),
- "group" => __("Main Menu",'avia_framework'),
- "description" => __("Change the styling for a button menu item",'avia_framework'),
- "selector" => array(
- "#top #wrap_all #header.header_color .av-menu-button-colored[hover] > a .avia-menu-text" => array(
- 'padding_left_right' => "padding-left: %padding_left_right%; padding-right: %padding_left_right%;",
- 'padding_top_bottom' => "padding-top: %padding_top_bottom%; padding-bottom: %padding_top_bottom%;",
- 'color' => "color: %color%;",
- 'background_color' => "background-color: %background_color%;",
- 'border_radius' => "border-radius: %border_radius%;",
- 'border_color' => "border-color: %border_color%;",
- ),
- "#top #header .av-main-nav > li.av-menu-button-colored[hover] > a .avia-menu-text:after" => array(
- 'border_radius' => "display:none;",
- ),
- ),
- "sections" => false,
- "hover" => true,
- "edit" => array(
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'border_radius' => array('type' => 'size', 'range' => array(0,100), 'increment' => 1, 'unit' => 'px', 'name'=> __("Border Radius",'avia_framework')),
- 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left and right",'avia_framework')),
- 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top and bottom",'avia_framework')),
- )
- );
- $advanced['main_menu_buttonborder'] = array(
- "id" => "main_menu_buttonborder", //needs to match array key
- "name" => __("Menu Item Button with Border",'avia_framework'),
- "group" => __("Main Menu",'avia_framework'),
- "description" => __("Change the styling for a button menu item with border",'avia_framework'),
- "selector" => array(
- "#top #wrap_all #header.header_color .av-menu-button-bordered[hover] > a .avia-menu-text"=> array(
- 'padding_left_right' => "padding-left: %padding_left_right%; padding-right: %padding_left_right%;",
- 'padding_top_bottom' => "padding-top: %padding_top_bottom%; padding-bottom: %padding_top_bottom%;",
- 'color' => "color: %color%;",
- 'border_color' => "border-color: %border_color%;",
- 'border_radius' => "border-radius: %border_radius%;",
- ),
- ),
- "sections" => false,
- "hover" => true,
- "edit" => array(
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'border_radius' => array('type' => 'size', 'range' => array(0,100), 'increment' => 1, 'unit' => 'px', 'name'=> __("Border Radius",'avia_framework')),
- 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left and right",'avia_framework')),
- 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top and bottom",'avia_framework')),
- )
- );
- $advanced['top_bar'] = array(
- "id" => "top_bar", //needs to match array key
- "name" => __("Small bar above Main Menu",'avia_framework'),
- "group" => __("Main Menu",'avia_framework'),
- "description" => __("Change the styling for the small bar above the main menu which can contain social icons, a second menu and a phone number ",'avia_framework'),
- "selector" => array(
- "#top #header_meta, #top #header_meta nav ul ul li[hover], #top #header_meta nav ul ul a, #top #header_meta nav ul ul" => array("background_color" => "background-color: %background_color%;"),
- "#top #header_meta a, #top #header_meta li[hover], #top #header_meta .phone-info[hover]" => array(
- "border_color" => "border-color: %border_color%;",
- "color" => "color: %color%;",
- "letter_spacing" => "letter-spacing: %letter_spacing%;",
- "font_weight" => "font-weight: %font_weight%;",
- "text_transform" => "text-transform: %text_transform%;",
- "text_decoration" => "text-decoration: %text_decoration%;"
- ),
- "#top #header_meta" => array("font_family" => "font-family: %font_family%;"),
- ),
- "sections" => false,
- "hover" => true,
- "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_decoration' => array('type' => 'select', 'name'=> __("Text Decoration",'avia_framework'), 'options' => $decoration ),
- )
- );
- /*
- $scale = array(__('Default','avia_framework') => '' , __('Small','avia_framework') =>'0.6');
- $advanced['main_menu_icon_style'] = array(
- "id" => "main_menu_icon_style", //needs to match array key
- "name" => __("Main Menu Icon",'avia_framework'),
- "group" => __("Main Menu (Icon)",'avia_framework'),
- "description" => __("Change the styling for your main menu links once they are displayed in the page overlay",'avia_framework'),
- "selector" => array(
- "#top .av-burger-menu-main>a" => array("size"=>"padding:0;"),
- "#header .av-hamburger" => array("size"=>"-ms-transform: scale(%size%); transform: scale(%size%); transform-origin: right;"),
- ".header_color .av-hamburger-inner, .header_color .av-hamburger-inner::before, .header_color .av-hamburger-inner::after" => array("color"=>"background-color: %color%")
- ),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'color' => array('type' => 'colorpicker', 'name'=> __("Icon Color",'avia_framework')),
- 'size' => array('type' => 'select', 'name'=> __("Icon Size",'avia_framework'), 'options' => $scale),
- )
- );
- */
- $advanced['main_menu_icon'] = array(
- "id" => "main_menu_icon", //needs to match array key
- "name" => __("Menu Links in overlay/slide out",'avia_framework'),
- "group" => __("Main Menu (Icon)",'avia_framework'),
- "description" => __("Change the styling for your main menu links once they are displayed in the page overlay/slide out",'avia_framework'),
- "selector" => array(
- "#top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a" => array(
- 'color' => "color:%color%;",
- "font_family" => "font-family: %font_family%;",
- "font_weight" => "font-weight: %font_weight%;",
- "letter_spacing" => "letter-spacing: %letter_spacing%;",
- "text_transform" => "text-transform: %text_transform%;",
- "line_height" => "line-height: %line_height%;",
- ),
- "#top #wrap_all #av-burger-menu-ul li" => array(
- 'font_size' => "font-size:%font_size%;",
- "line_height" => "line-height: %line_height% !important;",
- ),
- ".av-burger-overlay-active #top #wrap_all .av-hamburger-inner, .av-burger-overlay-active #top #wrap_all .av-hamburger-inner::before, .av-burger-overlay-active #top #wrap_all .av-hamburger-inner::after, .html_av-overlay-side-classic #top div .av-burger-overlay li li .avia-bullet" => array(
- 'color'=> "background-color:%color%;",
- ),
- "div.av-burger-overlay-bg" => array(
- 'background_color' => "background-color:%background_color%;",
- ),
- ".av-burger-overlay-active #top #wrap_all #header #menu-item-search a, .av-burger-overlay-active #top #wrap_all #main #menu-item-search a, .av-burger-overlay-active #top #wrap_all #menu-item-search a:hover" => array(
- 'color' => "color:%color%;",
- ),
- "#top #wrap_all .av-burger-overlay-scroll" => array(
- 'menu_bg' => "background-color:%menu_bg%;",
- ),
- ".html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover" => array(
- 'menu_bg_hover' => "background-color:%menu_bg_hover%;",
- 'color_hover' => "color: %color_hover%;",
- ),
- ".html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a" => array(
- 'border_color' => "border-color:%border_color%;",
- ),
- ),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Overlay Color",'avia_framework')),
- 'menu_bg' => array('type' => 'colorpicker', 'name'=> __("Menu Background",'avia_framework')),
- 'menu_bg_hover' => array('type' => 'colorpicker', 'name'=> __("Menu Hover BG",'avia_framework')),
- 'color_hover' => array('type' => 'colorpicker', 'name'=> __("Font Hover Color",'avia_framework')),
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'hr1' => array('type' => 'hr'),
- 'font_size' => array('type' => 'size', 'range' => '8-120', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-3', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['hover_overlay'] = array(
- "id" => "hover_overlay", //needs to match array key
- "name" => __("Linked Image Overlay",'avia_framework'),
- "group" => __("Misc",'avia_framework'),
- "description" => __("Change the styling for the overlay that appears when you place your mouse cursor above a linked image",'avia_framework'),
- "selector" => array(
- "#top [sections] .image-overlay-inside" => array("overlay_style" => array( "none" , "display: none;") ),
- "#top [sections] .image-overlay" => array("background_color" => "background-color: %background_color%;", "overlay_style" => array( "hide" , "visibility: hidden;")),
- "#top [sections] div .image-overlay" => array("overlay_style" => array( "icon" , "background: none;")),
- "#top [sections] .image-overlay .image-overlay-inside:before" => array( "icon_color" => "background-color: %icon_color%;", "color" => "color: %color%;" )
- ),
- "sections" => true,
- "hover" => false,
- "edit" => array( 'overlay_style' => array('type' => 'select', 'name'=> __("Overlay Style",'avia_framework'), 'options' => array(__('Default','avia_framework') => '' , __('Minimal Overlay (No Icon)','avia_framework') =>'none' , __('Icon only','avia_framework') =>'icon' , __('Disable Overlay','avia_framework') =>'hide' )) ,
- 'color' => array('type' => 'colorpicker', 'name'=> __("Icon Color",'avia_framework')),
- 'icon_color' => array('type' => 'colorpicker', 'name'=> __("Icon background",'avia_framework')),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Overlay Color",'avia_framework')),
- )
- );
- $advanced['buttons'] = array(
- "id" => "buttons", //needs to match array key
- "name" => __( 'Buttons', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling of your buttons", 'avia_framework' ),
- "selector" => array(
- "#top #wrap_all .avia-slideshow-button, #top .avia-button, .html_elegant-blog .more-link, .avia-slideshow-arrows a:before"=> array(
- // 'color' => "color: %color%;",
- "font_family" => "font-family: %font_family%;",
- 'font_size' => "font-size: %font_size%;",
- 'font_weight' => "font-weight: %font_weight%;",
- 'text_transform' => "text-transform: %text_transform%;",
- 'letter_spacing' => "letter-spacing: %letter_spacing%;",
- 'border_radius' => "border-radius: %border_radius%;",
- 'border_width' => "border-width: %border_width%;",
- 'padding_left_right' => "padding-left: %padding_left_right%; padding-right: %padding_left_right%;",
- 'padding_top_bottom' => "padding-top: %padding_top_bottom%; padding-bottom: %padding_top_bottom%;",
- ),
- "#top #wrap_all .avia-button.avia-color-light, #top #wrap_all .avia-button.avia-color-dark" => array(
- 'border_width' => 'border-width:%border_width%;'
- ),
- // "#top #wrap_all .avia-button.avia-color-light" => array(
- // 'opacity' => 'color:#fff; border-color:#fff; background:transparent;'
- // ),
- // "#top #wrap_all .avia-button.avia-color-dark" => array(
- // 'opacity' => 'color:#000; border-color:#000; background:transparent;'
- // ),
- ),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'border_radius' => array('type' => 'size', 'range' => '0-100', 'name'=> __("Border Radius",'avia_framework')),
- 'border_width' => array('type' => 'size', 'range' => array(0,10), 'increment' => 1, 'unit' => 'px', 'name'=> __("Border width",'avia_framework')),
- 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left/right",'avia_framework')),
- 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top/bottom",'avia_framework')),
- // 'opacity' => array('type' => 'select', 'name'=> __("opacity for transparent buttons",'avia_framework'),
- // 'options' => array(__('Semi-transparent','avia_framework') => '' , __('Full-transparent','avia_framework') => 'off' )),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- // 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
- )
- );
- $advanced['breadcrumb'] = array(
- "id" => "breadcrumb", //needs to match array key
- "name" => __( 'Breadcrumbs', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling of the breadcrumb menu", 'avia_framework' ),
- "selector" => array(".breadcrumb-trail span[hover], .alternate_color .breadcrumb a[hover]"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
- )
- );
- $advanced['widget'] = array(
- "id" => "widget", //needs to match array key
- "name" => __( 'Widget', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling of your widget", 'avia_framework' ),
- "selector" => array(
- ".sidebar .widget" => array(
- "padding_top" => "padding-top: %padding_top_bottom%;",
- "padding_right" => "padding-right: %padding_left_right%;",
- "padding_bottom" => "padding-bottom: %padding_top_bottom%;",
- "padding_left" => "padding-left: %padding_left_right%;",
- ),
- ),
- "sections" => true,
- "hover" => false,
- "edit" => array(
- 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left/right",'avia_framework')),
- 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top/bottom",'avia_framework')),
- )
- );
- $advanced['widget_links'] = array(
- "id" => "widget_links", //needs to match array key
- "name" => __( 'Widget Links', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling of your widget links", 'avia_framework' ),
- "hover" => true,
- "selector" => array(
- "#top [sections] .widget a[hover]" => array(
- "color" => "color: %color%;", "text_transform" => "text-transform: %text_transform%;", "font_size" => "font-size: %font_size%;", "font_weight" => "font-weight: %font_weight%;", "letter_spacing" => "letter-spacing: %letter_spacing%;", "padding_top" => "padding-top: %padding_top_bottom%;", "padding_right" => "padding-right: %padding_left_right%;", "padding_bottom" => "padding-bottom: %padding_top_bottom%;", "padding_left" => "padding-left: %padding_left_right%;",
- ),
- "html #top [sections] .widget a[hover]" => array(
- "color" => "color: %color%;", "text_transform" => "text-transform: %text_transform%;", "font_size" => "font-size: %font_size%;", "font_weight" => "font-weight: %font_weight%;", "letter_spacing" => "letter-spacing: %letter_spacing%;", "padding_top" => "padding-top: %padding_top_bottom%;", "padding_right" => "padding-right: %padding_left_right%;", "padding_bottom" => "padding-bottom: %padding_top_bottom%;", "padding_left" => "padding-left: %padding_left_right%;",
- ),
- "body#top [sections] .widget a[hover]" => array(
- "color" => "color: %color%;", "text_transform" => "text-transform: %text_transform%;", "font_size" => "font-size: %font_size%;", "font_weight" => "font-weight: %font_weight%;", "letter_spacing" => "letter-spacing: %letter_spacing%;", "padding_top" => "padding-top: %padding_top_bottom%;", "padding_right" => "padding-right: %padding_left_right%;", "padding_bottom" => "padding-bottom: %padding_top_bottom%;", "padding_left" => "padding-left: %padding_left_right%;",
- ),
- ),
- "sections" => true,
- "edit" => array(
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework') ),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
- 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left/right",'avia_framework')),
- 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top/bottom",'avia_framework')),
- )
- );
- $advanced['widget_title'] = array(
- "id" => "widget_title", //needs to match array key
- "name" => __( 'Widget title', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling of your widget title", 'avia_framework' ),
- "selector" => array(
- "#top [sections] .widgettitle" => array("style" => array( "border" , "border-style:solid; border-width:1px; padding:10px; text-align:center; margin-bottom:15px") ),
- "html #top [sections] .widgettitle" => array("style" => array( "border-tp" , "border-style:solid; border-width:1px; padding:10px 0; border-left:none; border-right:none; margin-bottom:15px") ),
- "body#top #wrap_all [sections] .widgettitle" => array( "border_color" => "border-color: %border_color%;", "background_color" => "background-color: %background_color%;", "color" => "color: %color%;",
- "text_align" => "text-align: %text_align%;",
- "text_transform" => "text-transform: %text_transform%;",
- "font_size" => "font-size: %font_size%;",
- "font_weight" => "font-weight: %font_weight%;",
- "letter_spacing" => "letter-spacing: %letter_spacing%;",
- ),
- ),
- "sections" => true,
- "hover" => false,
- "edit" => array(
- 'style' => array(
- 'type' => 'select',
- 'name'=> __("Overlay Style",'avia_framework'),
- 'options' => array(
- __('No Border','avia_framework') => '' ,
- __('Border on top and bottom','avia_framework') =>'border-tp' ,
- __('Border around the widget title','avia_framework') =>'border' ,
- )
- ) ,
- 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework') ),
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework') ),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework') ),
- 'text_align' => array('type' => 'select', 'name'=> __("Text Align",'avia_framework'), 'options' => $align ),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
- )
- );
- $advanced['slideshow_titles'] = array(
- "id" => "slideshow_titles", //needs to match array key
- "name" => __( 'Slideshow titles', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling for your fullscreen, fullwidth and easy slider title", 'avia_framework' ),
- "selector" => array("#top #wrap_all .slideshow_caption h2.avia-caption-title, #top #wrap_all .av-slideshow-caption h2.avia-caption-title"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['slideshow_caption'] = array(
- "id" => "slideshow_caption", //needs to match array key
- "name" => __( 'Slideshow caption', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling for your fullscreen, fullwidth and easy slider caption", 'avia_framework' ),
- "selector" => array(
- "#top #wrap_all .avia-caption-content p" => array(
- "font_family" => "font-family: %font_family%;",
- "font_weight" => "font-weight: %font_weight%;",
- "line_height" => "line-height: %line_height%;",
- "letter_spacing" => "letter-spacing: %letter_spacing%;",
- "text_transform" => "text-transform: %text_transform%;",
- ),
- "#top .slideshow_caption" => array( "width" => "width: %width%;"),
- ),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- 'width' => array('type' => 'size', 'range' => array(40,100), 'increment' => 10, 'unit' => '%', 'name'=> __("Container Width",'avia_framework')),
- )
- );
- $advanced['slideshow_button'] = array(
- "id" => "slideshow_button", //needs to match array key
- "name" => __( 'Slideshow button', 'avia_framework' ),
- "group" => __( "Misc", 'avia_framework' ),
- "description" => __( "Change the styling for your fullscreen, fullwidth and easy slider buttons", 'avia_framework' ),
- "selector" => array("#top #wrap_all .avia-slideshow-button"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
- )
- );
- $advanced['cookie_consent'] = array(
- "id" => "cookie_consent", //needs to match array key
- "name" => __( 'Cookie Consent Message Bar', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for your cookie consent message bar",'avia_framework' ),
- "selector" => array("div.avia-cookie-consent"=> "", "div.avia-cookie-consent p"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
- 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- $advanced['cookie_consent_button'] = array(
- "id" => "cookie_consent_button", //needs to match array key
- "name" => __( 'Cookie Consent Accept Settings Button', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for your cookie consent accept settings and dismiss notification button", 'avia_framework' ),
- "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-close-bar"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
- 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- $advanced['cookie_consent_all_button'] = array(
- "id" => "cookie_consent_all_button", //needs to match array key
- "name" => __( 'Cookie Consent Accept All Cookies Button', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for your cookie consent accept all cookies and settings and dismiss notification button", 'avia_framework' ),
- "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-close-bar.avia-cookie-select-all"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
- 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- $advanced['cookie_consent_no_coolies_button'] = array(
- "id" => "cookie_consent_no_coolies_button", //needs to match array key
- "name" => __( 'Cookie Consent Do Not Accept Cookies Button', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for your cookie consent do not accept and hide notification button", 'avia_framework' ),
- "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn.avia-cookie-hide-notification"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
- 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- $advanced['cookie_consent_modal_window_button'] = array(
- "id" => "cookie_consent_modal_window_button", //needs to match array key
- "name" => __( 'Cookie Consent Open Modal Window Button', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for your cookie consent open info modal on privacy and cookies button", 'avia_framework' ),
- "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn.avia-cookie-info-btn"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
- 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- $advanced['cookie_consent_link_button'] = array(
- "id" => "cookie_consent_link_button", //needs to match array key
- "name" => __( 'Cookie Consent Link Button', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for your cookie consent Link to another page button", 'avia_framework' ),
- "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn.avia-cookie-link-btn"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
- 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- $advanced['cookie_consent_extra_button'] = array(
- "id" => "cookie_consent_extra_button", //needs to match array key
- "name" => __( 'Cookie Consent Extra Button', 'avia_framework' ),
- "group" => __( "Cookie Consent Bar", 'avia_framework' ),
- "description" => __( "Change the styling for all your cookie consent extra buttons (not accept buttons)", 'avia_framework' ),
- "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn"=> ""),
- "sections" => false,
- "hover" => false,
- "edit" => array(
- 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
- 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
- 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
- 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
- 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
- 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
- )
- );
- //body font size
- //dropdown menu
- //icon colors
- //hover states
- //links
- // all sections/specific section
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement