Advertisement
Guest User

Untitled

a guest
Aug 31st, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.67 KB | None | 0 0
  1. <?php
  2. if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
  3.  
  4. $weight = array(
  5. __('Default','avia_framework') => '' ,
  6. __('Normal','avia_framework') =>'normal',
  7. __('Bold','avia_framework')=>'bold',
  8. __('Light','avia_framework')=>'lighter',
  9. __('200','avia_framework')=>'200',
  10. __('300','avia_framework')=>'300',
  11. __('400','avia_framework')=>'400',
  12. __('500','avia_framework')=>'500',
  13. __('600','avia_framework')=>'600',
  14. __('700','avia_framework')=>'700',
  15. __('800','avia_framework')=>'800',
  16. __('900','avia_framework')=>'900',
  17.  
  18. );
  19. $transform = array(__('Default','avia_framework') => '' , __('None' ,'avia_framework') =>'none', __('Uppercase','avia_framework')=>'uppercase', __('Lowercase','avia_framework')=>'lowercase');
  20. $align = array(__('Default','avia_framework') => '' , __('Left' ,'avia_framework') =>'left', __('Center','avia_framework')=>'center', __('Right','avia_framework')=>'right');
  21. $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');
  22. $display = array(__('Default','avia_framework') => '' , __('Inline','avia_framework') =>'inline', __('Inline Block','avia_framework')=>'inline-block', __('Block','avia_framework')=>'block');
  23.  
  24.  
  25. $google_fonts = apply_filters( 'avf_advanced_styles_select_options_list', AviaSuperobject()->type_fonts()->get_font_select_options_list() );
  26.  
  27.  
  28. $advanced = array();
  29.  
  30.  
  31. $advanced['body'] = array(
  32. "id" => "body", //needs to match array key
  33. "name" => "&lt;body&gt;",
  34. "group" => __( "HTML Tags",'avia_framework' ),
  35. "description" => __( "Change the styling for the &lt;body&gt; tag.",'avia_framework' ),
  36. "selector" => array("body#top" => ""),
  37. "sections" => false,
  38. "hover" => false,
  39. "edit" => array(
  40. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  41. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  42. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  43. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  44. )
  45. );
  46.  
  47. $advanced['paragraph'] = array(
  48. "id" => "paragraph", //needs to match array key
  49. "name" => "&lt;p&gt;",
  50. "group" => __("HTML Tags",'avia_framework'),
  51. "description" => __("Change the styling for all &lt;p&gt; tags",'avia_framework'),
  52. "selector" => array("#top [sections] p" => array(
  53. "font_size" => "font-size: %font_size%;",
  54. "line_height" => "line-height: %line_height%;",
  55. "font_weight" => "font-weight: %font_weight%;",
  56. "margin" => "margin: %margin% 0;")
  57. ),
  58. "sections" => true,
  59. "hover" => false,
  60. "edit" => array(
  61. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  62. 'line_height'=> array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  63. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  64. 'margin' => array('type' => 'size', 'range' => '0.5-3', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Top &amp; Bottom margin",'avia_framework')),
  65. )
  66. );
  67.  
  68. $advanced['strong'] = array(
  69. "id" => "strong", //needs to match array key
  70. "name" => "&lt;strong&gt;",
  71. "group" => __("HTML Tags",'avia_framework'),
  72. "description" => __("Change the styling for all &lt;strong&gt; tags",'avia_framework'),
  73. "selector" => array("#top [sections] strong" => ""),
  74. "sections" => true,
  75. "hover" => false,
  76. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  77. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  78. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  79. )
  80. );
  81.  
  82. $advanced['blockquote'] = array(
  83. "id" => "blockquote", //needs to match array key
  84. "name" => "&lt;blockquote&gt;",
  85. "group" => __("HTML Tags",'avia_framework'),
  86. "description" => __("Change the styling for all &lt;blockquote&gt; tags",'avia_framework'),
  87. "selector" => array("#top [sections] blockquote"=> ""),
  88. "sections" => true,
  89. "hover" => false,
  90. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  91. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  92. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  93. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  94. )
  95. );
  96.  
  97. $advanced['underline'] = array(
  98. "id" => "underline", //needs to match array key
  99. "name" => "&lt;u&gt;",
  100. "group" => __("HTML Tags",'avia_framework'),
  101. "description" => __("Change the styling for all &lt;u&gt; (underline) tags",'avia_framework'),
  102. "selector" => array("#top [sections] u, #top [sections] span[style*='underline;']"=> ""),
  103. "sections" => true,
  104. "hover" => false,
  105. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  106. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  107. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  108. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  109. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  110. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  111. 'text_decoration' => array('type' => 'select', 'name'=> __("Text Decoration",'avia_framework'), 'options' => $decoration),
  112. 'display' => array('type' => 'select', 'name'=> __("Display",'avia_framework'), 'options' => $display),
  113. )
  114. );
  115.  
  116.  
  117. $advanced['mark'] = array(
  118. "id" => "mark", //needs to match array key
  119. "name" => "&lt;mark&gt;",
  120. "group" => __("HTML Tags",'avia_framework'),
  121. "description" => __("Change the styling for all &lt;mark&gt; tags",'avia_framework'),
  122. "selector" => array("#top [sections] mark"=> ""),
  123. "sections" => true,
  124. "hover" => false,
  125. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  126. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  127. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  128. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  129. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  130. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  131. 'text_decoration' => array('type' => 'select', 'name'=> __("Text Decoration",'avia_framework'), 'options' => $decoration),
  132. 'display' => array('type' => 'select', 'name'=> __("Display",'avia_framework'), 'options' => $display),
  133. )
  134. );
  135.  
  136.  
  137. $advanced['headings_all'] = array(
  138. "id" => "headings_all", //needs to match array key
  139. "name" => __( 'All Headings', 'avia_framework' ) . ' (H1-H6)',
  140. "group" => __( "Headings", 'avia_framework' ),
  141. "description" => __( "Change the styling for all Heading tags",'avia_framework' ),
  142. "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"=> ""),
  143. "sections" => true,
  144. "hover" => false,
  145. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  146. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  147. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  148. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  149. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  150. )
  151.  
  152. );
  153.  
  154. $advanced['h1'] = array(
  155. "id" => "h1", //needs to match array key
  156. "name" => "H1",
  157. "group" => __("Headings",'avia_framework'),
  158. "description" => __("Change the styling for your H1 Tag",'avia_framework'),
  159. "selector" => array("#top #wrap_all [sections] h1"=> ""),
  160. "sections" => true,
  161. "hover" => false,
  162. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  163. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  164. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  165. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  166. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  167. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  168. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  169. )
  170.  
  171. );
  172.  
  173.  
  174.  
  175.  
  176.  
  177. $advanced['h2'] = array(
  178. "id" => "h2", //needs to match array key
  179. "name" => "H2",
  180. "group" => __("Headings",'avia_framework'),
  181. "description" => __("Change the styling for your H2 Tag",'avia_framework'),
  182. "selector" => array("#top #wrap_all [sections] h2"=> ""),
  183. "sections" => true,
  184. "hover" => false,
  185. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  186. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  187. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  188. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  189. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  190. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  191. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  192. )
  193. );
  194.  
  195. $advanced['h3'] = array(
  196. "id" => "h3", //needs to match array key
  197. "name" => "H3",
  198. "group" => __("Headings",'avia_framework'),
  199. "description" => __("Change the styling for your H3 Tag",'avia_framework'),
  200. "selector" => array("#top #wrap_all [sections] h3"=> ""),
  201. "sections" => true,
  202. "hover" => false,
  203. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  204. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  205. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  206. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  207. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  208. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  209. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  210. )
  211. );
  212.  
  213. $advanced['h4'] = array(
  214. "id" => "h4", //needs to match array key
  215. "name" => "H4",
  216. "group" => __("Headings",'avia_framework'),
  217. "description" => __("Change the styling for your H4 Tag",'avia_framework'),
  218. "selector" => array("#top #wrap_all [sections] h4"=> ""),
  219. "sections" => true,
  220. "hover" => false,
  221. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  222. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  223. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  224. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  225. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  226. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  227. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  228. )
  229. );
  230.  
  231. $advanced['h5'] = array(
  232. "id" => "h5", //needs to match array key
  233. "name" => "H5",
  234. "group" => __("Headings",'avia_framework'),
  235. "description" => __("Change the styling for your H5 Tag",'avia_framework'),
  236. "selector" => array("#top #wrap_all [sections] h5"=> ""),
  237. "sections" => true,
  238. "hover" => false,
  239. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  240. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  241. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  242. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  243. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  244. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  245. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  246. )
  247. );
  248.  
  249. $advanced['h6'] = array(
  250. "id" => "h6", //needs to match array key
  251. "name" => "H6",
  252. "group" => __("Headings",'avia_framework'),
  253. "description" => __("Change the styling for your H6 Tag",'avia_framework'),
  254. "selector" => array("#top #wrap_all [sections] h6"=> ""),
  255. "sections" => true,
  256. "hover" => false,
  257. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  258. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  259. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  260. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  261. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  262. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  263. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  264. )
  265. );
  266.  
  267.  
  268.  
  269. $advanced['main_menu'] = array(
  270. "id" => "main_menu", //needs to match array key
  271. "name" => __("Main Menu Links",'avia_framework'),
  272. "group" => __("Main Menu",'avia_framework'),
  273. "description" => __("Change the styling for your main menu links",'avia_framework'),
  274. "selector" => array(
  275. /*trick: hover is used inside the selector to prevent it from beeing applied when :hover is checked*/
  276. "#top #header[hover]_main_alternate [active]" => array( "background_color" => "background-color: %background_color%;" ),
  277. "#top #header .av-main-nav > li[active][hover] " => array( "font_family" => "font-family: %font_family%;" ),
  278. "#top #header .av-main-nav > li[active][hover] > a" => "",
  279. ".av_seperator_small_border .av-main-nav > li[active][hover] > a > .avia-menu-text,
  280. #top #wrap_all #header #menu-item-search[active][hover]>a
  281.  
  282. "=> array( "border_color" => "border-color: %border_color%;" ),
  283. "#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%;" )
  284. ),
  285. "sections" => false,
  286. "hover" => true,
  287. "active" => ".current-menu-item",
  288. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  289. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  290. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  291. 'font_size' => array('type' => 'size', 'range' => '8-30', 'name'=> __("Font Size",'avia_framework')),
  292. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  293. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  294. 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
  295. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  296. )
  297. );
  298.  
  299.  
  300. $advanced['main_menu_dropdown'] = array(
  301. "id" => "main_menu_dropdown", //needs to match array key
  302. "name" => __("Main Menu sublevel Links",'avia_framework'),
  303. "group" => __("Main Menu",'avia_framework'),
  304. "description" => __("Change the styling for your main menu dropdown links",'avia_framework'),
  305. "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"=> ""),
  306. "sections" => false,
  307. "hover" => true,
  308. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  309. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  310. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  311. 'font_size' => array('type' => 'size', 'range' => '8-30', 'name'=> __("Font Size",'avia_framework')),
  312. 'line_height' => array('type' => 'size', 'range' => '0.7-3', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  313. )
  314. );
  315.  
  316.  
  317. $advanced['main_menu_indicator'] = array(
  318. "id" => "main_menu_indicator", //needs to match array key
  319. "name" => __("Main Menu Indicator",'avia_framework'),
  320. "group" => __("Main Menu",'avia_framework'),
  321. "description" => __("Change the styling for your current menu item/hover indicator",'avia_framework'),
  322. "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"=> ""),
  323. "sections" => false,
  324. "hover" => false,
  325. "edit" => array(
  326. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  327. 'opacity' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.1, 'unit' => '', 'name'=> __("Opacity",'avia_framework')),
  328. )
  329. );
  330.  
  331. $advanced['main_menu_buttoncolor'] = array(
  332. "id" => "main_menu_buttoncolor", //needs to match array key
  333. "name" => __("Menu Item Button",'avia_framework'),
  334. "group" => __("Main Menu",'avia_framework'),
  335. "description" => __("Change the styling for a button menu item",'avia_framework'),
  336. "selector" => array(
  337. "#top #wrap_all #header.header_color .av-menu-button-colored[hover] > a .avia-menu-text" => array(
  338. 'padding_left_right' => "padding-left: %padding_left_right%; padding-right: %padding_left_right%;",
  339. 'padding_top_bottom' => "padding-top: %padding_top_bottom%; padding-bottom: %padding_top_bottom%;",
  340. 'color' => "color: %color%;",
  341. 'background_color' => "background-color: %background_color%;",
  342. 'border_radius' => "border-radius: %border_radius%;",
  343. 'border_color' => "border-color: %border_color%;",
  344. ),
  345. "#top #header .av-main-nav > li.av-menu-button-colored[hover] > a .avia-menu-text:after" => array(
  346. 'border_radius' => "display:none;",
  347. ),
  348. ),
  349. "sections" => false,
  350. "hover" => true,
  351. "edit" => array(
  352. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  353. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  354. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  355. 'border_radius' => array('type' => 'size', 'range' => array(0,100), 'increment' => 1, 'unit' => 'px', 'name'=> __("Border Radius",'avia_framework')),
  356. 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left and right",'avia_framework')),
  357. 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top and bottom",'avia_framework')),
  358. )
  359. );
  360.  
  361. $advanced['main_menu_buttonborder'] = array(
  362. "id" => "main_menu_buttonborder", //needs to match array key
  363. "name" => __("Menu Item Button with Border",'avia_framework'),
  364. "group" => __("Main Menu",'avia_framework'),
  365. "description" => __("Change the styling for a button menu item with border",'avia_framework'),
  366. "selector" => array(
  367. "#top #wrap_all #header.header_color .av-menu-button-bordered[hover] > a .avia-menu-text"=> array(
  368. 'padding_left_right' => "padding-left: %padding_left_right%; padding-right: %padding_left_right%;",
  369. 'padding_top_bottom' => "padding-top: %padding_top_bottom%; padding-bottom: %padding_top_bottom%;",
  370. 'color' => "color: %color%;",
  371. 'border_color' => "border-color: %border_color%;",
  372. 'border_radius' => "border-radius: %border_radius%;",
  373. ),
  374. ),
  375. "sections" => false,
  376. "hover" => true,
  377. "edit" => array(
  378. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  379. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  380. 'border_radius' => array('type' => 'size', 'range' => array(0,100), 'increment' => 1, 'unit' => 'px', 'name'=> __("Border Radius",'avia_framework')),
  381. 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left and right",'avia_framework')),
  382. 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top and bottom",'avia_framework')),
  383. )
  384. );
  385.  
  386.  
  387. $advanced['top_bar'] = array(
  388. "id" => "top_bar", //needs to match array key
  389. "name" => __("Small bar above Main Menu",'avia_framework'),
  390. "group" => __("Main Menu",'avia_framework'),
  391. "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'),
  392. "selector" => array(
  393. "#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%;"),
  394. "#top #header_meta a, #top #header_meta li[hover], #top #header_meta .phone-info[hover]" => array(
  395. "border_color" => "border-color: %border_color%;",
  396. "color" => "color: %color%;",
  397. "letter_spacing" => "letter-spacing: %letter_spacing%;",
  398. "font_weight" => "font-weight: %font_weight%;",
  399. "text_transform" => "text-transform: %text_transform%;",
  400. "text_decoration" => "text-decoration: %text_decoration%;"
  401. ),
  402. "#top #header_meta" => array("font_family" => "font-family: %font_family%;"),
  403. ),
  404. "sections" => false,
  405. "hover" => true,
  406. "edit" => array( 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  407. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  408. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  409. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  410. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  411. 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
  412. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  413. 'text_decoration' => array('type' => 'select', 'name'=> __("Text Decoration",'avia_framework'), 'options' => $decoration ),
  414. )
  415. );
  416.  
  417.  
  418.  
  419. /*
  420. $scale = array(__('Default','avia_framework') => '' , __('Small','avia_framework') =>'0.6');
  421.  
  422. $advanced['main_menu_icon_style'] = array(
  423. "id" => "main_menu_icon_style", //needs to match array key
  424. "name" => __("Main Menu Icon",'avia_framework'),
  425. "group" => __("Main Menu (Icon)",'avia_framework'),
  426. "description" => __("Change the styling for your main menu links once they are displayed in the page overlay",'avia_framework'),
  427. "selector" => array(
  428. "#top .av-burger-menu-main>a" => array("size"=>"padding:0;"),
  429. "#header .av-hamburger" => array("size"=>"-ms-transform: scale(%size%); transform: scale(%size%); transform-origin: right;"),
  430. ".header_color .av-hamburger-inner, .header_color .av-hamburger-inner::before, .header_color .av-hamburger-inner::after" => array("color"=>"background-color: %color%")
  431.  
  432. ),
  433. "sections" => false,
  434. "hover" => false,
  435. "edit" => array(
  436. 'color' => array('type' => 'colorpicker', 'name'=> __("Icon Color",'avia_framework')),
  437. 'size' => array('type' => 'select', 'name'=> __("Icon Size",'avia_framework'), 'options' => $scale),
  438. )
  439. );
  440. */
  441.  
  442.  
  443.  
  444. $advanced['main_menu_icon'] = array(
  445. "id" => "main_menu_icon", //needs to match array key
  446. "name" => __("Menu Links in overlay/slide out",'avia_framework'),
  447. "group" => __("Main Menu (Icon)",'avia_framework'),
  448. "description" => __("Change the styling for your main menu links once they are displayed in the page overlay/slide out",'avia_framework'),
  449. "selector" => array(
  450. "#top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a" => array(
  451. 'color' => "color:%color%;",
  452. "font_family" => "font-family: %font_family%;",
  453. "font_weight" => "font-weight: %font_weight%;",
  454. "letter_spacing" => "letter-spacing: %letter_spacing%;",
  455. "text_transform" => "text-transform: %text_transform%;",
  456. "line_height" => "line-height: %line_height%;",
  457. ),
  458. "#top #wrap_all #av-burger-menu-ul li" => array(
  459. 'font_size' => "font-size:%font_size%;",
  460. "line_height" => "line-height: %line_height% !important;",
  461. ),
  462. ".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(
  463. 'color'=> "background-color:%color%;",
  464. ),
  465. "div.av-burger-overlay-bg" => array(
  466. 'background_color' => "background-color:%background_color%;",
  467. ),
  468. ".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(
  469. 'color' => "color:%color%;",
  470. ),
  471. "#top #wrap_all .av-burger-overlay-scroll" => array(
  472. 'menu_bg' => "background-color:%menu_bg%;",
  473. ),
  474. ".html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover" => array(
  475. 'menu_bg_hover' => "background-color:%menu_bg_hover%;",
  476. 'color_hover' => "color: %color_hover%;",
  477. ),
  478. ".html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a" => array(
  479. 'border_color' => "border-color:%border_color%;",
  480. ),
  481.  
  482.  
  483. ),
  484. "sections" => false,
  485. "hover" => false,
  486. "edit" => array(
  487. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  488. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Overlay Color",'avia_framework')),
  489. 'menu_bg' => array('type' => 'colorpicker', 'name'=> __("Menu Background",'avia_framework')),
  490. 'menu_bg_hover' => array('type' => 'colorpicker', 'name'=> __("Menu Hover BG",'avia_framework')),
  491. 'color_hover' => array('type' => 'colorpicker', 'name'=> __("Font Hover Color",'avia_framework')),
  492. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  493.  
  494. 'hr1' => array('type' => 'hr'),
  495.  
  496. 'font_size' => array('type' => 'size', 'range' => '8-120', 'name'=> __("Font Size",'avia_framework')),
  497. 'line_height' => array('type' => 'size', 'range' => '0.7-3', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  498. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  499. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  500. 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
  501. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  502.  
  503.  
  504. )
  505.  
  506. );
  507.  
  508.  
  509. $advanced['hover_overlay'] = array(
  510. "id" => "hover_overlay", //needs to match array key
  511. "name" => __("Linked Image Overlay",'avia_framework'),
  512. "group" => __("Misc",'avia_framework'),
  513. "description" => __("Change the styling for the overlay that appears when you place your mouse cursor above a linked image",'avia_framework'),
  514. "selector" => array(
  515. "#top [sections] .image-overlay-inside" => array("overlay_style" => array( "none" , "display: none;") ),
  516. "#top [sections] .image-overlay" => array("background_color" => "background-color: %background_color%;", "overlay_style" => array( "hide" , "visibility: hidden;")),
  517. "#top [sections] div .image-overlay" => array("overlay_style" => array( "icon" , "background: none;")),
  518. "#top [sections] .image-overlay .image-overlay-inside:before" => array( "icon_color" => "background-color: %icon_color%;", "color" => "color: %color%;" )
  519. ),
  520.  
  521.  
  522. "sections" => true,
  523. "hover" => false,
  524. "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' )) ,
  525. 'color' => array('type' => 'colorpicker', 'name'=> __("Icon Color",'avia_framework')),
  526. 'icon_color' => array('type' => 'colorpicker', 'name'=> __("Icon background",'avia_framework')),
  527. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Overlay Color",'avia_framework')),
  528. )
  529. );
  530.  
  531.  
  532. $advanced['buttons'] = array(
  533. "id" => "buttons", //needs to match array key
  534. "name" => __( 'Buttons', 'avia_framework' ),
  535. "group" => __( "Misc", 'avia_framework' ),
  536. "description" => __( "Change the styling of your buttons", 'avia_framework' ),
  537. "selector" => array(
  538. "#top #wrap_all .avia-slideshow-button, #top .avia-button, .html_elegant-blog .more-link, .avia-slideshow-arrows a:before"=> array(
  539. // 'color' => "color: %color%;",
  540. "font_family" => "font-family: %font_family%;",
  541. 'font_size' => "font-size: %font_size%;",
  542. 'font_weight' => "font-weight: %font_weight%;",
  543. 'text_transform' => "text-transform: %text_transform%;",
  544. 'letter_spacing' => "letter-spacing: %letter_spacing%;",
  545. 'border_radius' => "border-radius: %border_radius%;",
  546. 'border_width' => "border-width: %border_width%;",
  547. 'padding_left_right' => "padding-left: %padding_left_right%; padding-right: %padding_left_right%;",
  548. 'padding_top_bottom' => "padding-top: %padding_top_bottom%; padding-bottom: %padding_top_bottom%;",
  549. ),
  550. "#top #wrap_all .avia-button.avia-color-light, #top #wrap_all .avia-button.avia-color-dark" => array(
  551. 'border_width' => 'border-width:%border_width%;'
  552. ),
  553. // "#top #wrap_all .avia-button.avia-color-light" => array(
  554. // 'opacity' => 'color:#fff; border-color:#fff; background:transparent;'
  555. // ),
  556. // "#top #wrap_all .avia-button.avia-color-dark" => array(
  557. // 'opacity' => 'color:#000; border-color:#000; background:transparent;'
  558. // ),
  559.  
  560. ),
  561.  
  562.  
  563. "sections" => false,
  564. "hover" => false,
  565. "edit" => array(
  566. 'border_radius' => array('type' => 'size', 'range' => '0-100', 'name'=> __("Border Radius",'avia_framework')),
  567. 'border_width' => array('type' => 'size', 'range' => array(0,10), 'increment' => 1, 'unit' => 'px', 'name'=> __("Border width",'avia_framework')),
  568. 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left/right",'avia_framework')),
  569. 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top/bottom",'avia_framework')),
  570. // 'opacity' => array('type' => 'select', 'name'=> __("opacity for transparent buttons",'avia_framework'),
  571. // 'options' => array(__('Semi-transparent','avia_framework') => '' , __('Full-transparent','avia_framework') => 'off' )),
  572. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  573. // 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  574. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  575. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  576. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  577. 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
  578. )
  579. );
  580.  
  581. $advanced['breadcrumb'] = array(
  582. "id" => "breadcrumb", //needs to match array key
  583. "name" => __( 'Breadcrumbs', 'avia_framework' ),
  584. "group" => __( "Misc", 'avia_framework' ),
  585. "description" => __( "Change the styling of the breadcrumb menu", 'avia_framework' ),
  586. "selector" => array(".breadcrumb-trail span[hover], .alternate_color .breadcrumb a[hover]"=> ""),
  587. "sections" => false,
  588. "hover" => false,
  589. "edit" => array(
  590. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  591. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  592. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  593. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  594. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  595. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  596. 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
  597. )
  598. );
  599.  
  600. $advanced['widget'] = array(
  601. "id" => "widget", //needs to match array key
  602. "name" => __( 'Widget', 'avia_framework' ),
  603. "group" => __( "Misc", 'avia_framework' ),
  604. "description" => __( "Change the styling of your widget", 'avia_framework' ),
  605. "selector" => array(
  606. ".sidebar .widget" => array(
  607. "padding_top" => "padding-top: %padding_top_bottom%;",
  608. "padding_right" => "padding-right: %padding_left_right%;",
  609. "padding_bottom" => "padding-bottom: %padding_top_bottom%;",
  610. "padding_left" => "padding-left: %padding_left_right%;",
  611. ),
  612.  
  613. ),
  614. "sections" => true,
  615. "hover" => false,
  616. "edit" => array(
  617. 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left/right",'avia_framework')),
  618. 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top/bottom",'avia_framework')),
  619.  
  620. )
  621. );
  622.  
  623.  
  624. $advanced['widget_links'] = array(
  625. "id" => "widget_links", //needs to match array key
  626. "name" => __( 'Widget Links', 'avia_framework' ),
  627. "group" => __( "Misc", 'avia_framework' ),
  628. "description" => __( "Change the styling of your widget links", 'avia_framework' ),
  629. "hover" => true,
  630. "selector" => array(
  631. "#top [sections] .widget a[hover]" => array(
  632. "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%;",
  633. ),
  634. "html #top [sections] .widget a[hover]" => array(
  635. "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%;",
  636. ),
  637. "body#top [sections] .widget a[hover]" => array(
  638. "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%;",
  639. ),
  640. ),
  641. "sections" => true,
  642. "edit" => array(
  643. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework') ),
  644. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  645. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  646. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  647. 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
  648. 'padding_left_right' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: left/right",'avia_framework')),
  649. 'padding_top_bottom' => array('type' => 'size', 'range' => '0-50', 'increment' => 1, 'unit' => 'px', 'name'=> __("Padding: top/bottom",'avia_framework')),
  650.  
  651. )
  652. );
  653.  
  654.  
  655.  
  656. $advanced['widget_title'] = array(
  657. "id" => "widget_title", //needs to match array key
  658. "name" => __( 'Widget title', 'avia_framework' ),
  659. "group" => __( "Misc", 'avia_framework' ),
  660. "description" => __( "Change the styling of your widget title", 'avia_framework' ),
  661. "selector" => array(
  662. "#top [sections] .widgettitle" => array("style" => array( "border" , "border-style:solid; border-width:1px; padding:10px; text-align:center; margin-bottom:15px") ),
  663. "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") ),
  664. "body#top #wrap_all [sections] .widgettitle" => array( "border_color" => "border-color: %border_color%;", "background_color" => "background-color: %background_color%;", "color" => "color: %color%;",
  665. "text_align" => "text-align: %text_align%;",
  666. "text_transform" => "text-transform: %text_transform%;",
  667. "font_size" => "font-size: %font_size%;",
  668. "font_weight" => "font-weight: %font_weight%;",
  669. "letter_spacing" => "letter-spacing: %letter_spacing%;",
  670. ),
  671.  
  672. ),
  673. "sections" => true,
  674. "hover" => false,
  675. "edit" => array(
  676. 'style' => array(
  677. 'type' => 'select',
  678. 'name'=> __("Overlay Style",'avia_framework'),
  679. 'options' => array(
  680. __('No Border','avia_framework') => '' ,
  681. __('Border on top and bottom','avia_framework') =>'border-tp' ,
  682. __('Border around the widget title','avia_framework') =>'border' ,
  683. )
  684. ) ,
  685. 'border_color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework') ),
  686. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework') ),
  687. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework') ),
  688. 'text_align' => array('type' => 'select', 'name'=> __("Text Align",'avia_framework'), 'options' => $align ),
  689. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  690. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  691. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  692. 'letter_spacing' => array('type' => 'size', 'range' => array(0,1), 'increment' => 0.01, 'unit' => 'em', 'name'=> __("Letter Spacing",'avia_framework')),
  693.  
  694. )
  695. );
  696.  
  697. $advanced['slideshow_titles'] = array(
  698. "id" => "slideshow_titles", //needs to match array key
  699. "name" => __( 'Slideshow titles', 'avia_framework' ),
  700. "group" => __( "Misc", 'avia_framework' ),
  701. "description" => __( "Change the styling for your fullscreen, fullwidth and easy slider title", 'avia_framework' ),
  702. "selector" => array("#top #wrap_all .slideshow_caption h2.avia-caption-title, #top #wrap_all .av-slideshow-caption h2.avia-caption-title"=> ""),
  703. "sections" => false,
  704. "hover" => false,
  705. "edit" => array(
  706. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  707. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  708. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  709. 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
  710. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  711. )
  712. );
  713.  
  714.  
  715. $advanced['slideshow_caption'] = array(
  716. "id" => "slideshow_caption", //needs to match array key
  717. "name" => __( 'Slideshow caption', 'avia_framework' ),
  718. "group" => __( "Misc", 'avia_framework' ),
  719. "description" => __( "Change the styling for your fullscreen, fullwidth and easy slider caption", 'avia_framework' ),
  720. "selector" => array(
  721.  
  722. "#top #wrap_all .avia-caption-content p" => array(
  723. "font_family" => "font-family: %font_family%;",
  724. "font_weight" => "font-weight: %font_weight%;",
  725. "line_height" => "line-height: %line_height%;",
  726. "letter_spacing" => "letter-spacing: %letter_spacing%;",
  727. "text_transform" => "text-transform: %text_transform%;",
  728. ),
  729. "#top .slideshow_caption" => array( "width" => "width: %width%;"),
  730. ),
  731. "sections" => false,
  732. "hover" => false,
  733. "edit" => array(
  734.  
  735. 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts),
  736. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  737. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  738. 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
  739. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  740. 'width' => array('type' => 'size', 'range' => array(40,100), 'increment' => 10, 'unit' => '%', 'name'=> __("Container Width",'avia_framework')),
  741. )
  742. );
  743.  
  744. $advanced['slideshow_button'] = array(
  745. "id" => "slideshow_button", //needs to match array key
  746. "name" => __( 'Slideshow button', 'avia_framework' ),
  747. "group" => __( "Misc", 'avia_framework' ),
  748. "description" => __( "Change the styling for your fullscreen, fullwidth and easy slider buttons", 'avia_framework' ),
  749. "selector" => array("#top #wrap_all .avia-slideshow-button"=> ""),
  750. "sections" => false,
  751. "hover" => false,
  752. "edit" => array(
  753. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  754. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  755. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  756. 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
  757. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ),
  758. )
  759. );
  760.  
  761.  
  762.  
  763. $advanced['cookie_consent'] = array(
  764. "id" => "cookie_consent", //needs to match array key
  765. "name" => __( 'Cookie Consent Message Bar', 'avia_framework' ),
  766. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  767. "description" => __( "Change the styling for your cookie consent message bar",'avia_framework' ),
  768. "selector" => array("div.avia-cookie-consent"=> "", "div.avia-cookie-consent p"=> ""),
  769. "sections" => false,
  770. "hover" => false,
  771. "edit" => array(
  772. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Background Color",'avia_framework')),
  773. 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')),
  774. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  775. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  776. 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')),
  777. 'letter_spacing' => array('type' => 'size', 'range' => array(-10,20), 'increment' => 1, 'unit' => 'px', 'name'=> __("Letter Spacing",'avia_framework')),
  778. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  779. )
  780. );
  781.  
  782. $advanced['cookie_consent_button'] = array(
  783. "id" => "cookie_consent_button", //needs to match array key
  784. "name" => __( 'Cookie Consent Accept Settings Button', 'avia_framework' ),
  785. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  786. "description" => __( "Change the styling for your cookie consent accept settings and dismiss notification button", 'avia_framework' ),
  787. "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-close-bar"=> ""),
  788. "sections" => false,
  789. "hover" => false,
  790. "edit" => array(
  791. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
  792. 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
  793. 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  794. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  795. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  796. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  797. )
  798. );
  799.  
  800. $advanced['cookie_consent_all_button'] = array(
  801. "id" => "cookie_consent_all_button", //needs to match array key
  802. "name" => __( 'Cookie Consent Accept All Cookies Button', 'avia_framework' ),
  803. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  804. "description" => __( "Change the styling for your cookie consent accept all cookies and settings and dismiss notification button", 'avia_framework' ),
  805. "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-close-bar.avia-cookie-select-all"=> ""),
  806. "sections" => false,
  807. "hover" => false,
  808. "edit" => array(
  809. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
  810. 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
  811. 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  812. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  813. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  814. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  815. )
  816. );
  817.  
  818. $advanced['cookie_consent_no_coolies_button'] = array(
  819. "id" => "cookie_consent_no_coolies_button", //needs to match array key
  820. "name" => __( 'Cookie Consent Do Not Accept Cookies Button', 'avia_framework' ),
  821. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  822. "description" => __( "Change the styling for your cookie consent do not accept and hide notification button", 'avia_framework' ),
  823. "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn.avia-cookie-hide-notification"=> ""),
  824. "sections" => false,
  825. "hover" => false,
  826. "edit" => array(
  827. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
  828. 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
  829. 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  830. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  831. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  832. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  833. )
  834. );
  835.  
  836. $advanced['cookie_consent_modal_window_button'] = array(
  837. "id" => "cookie_consent_modal_window_button", //needs to match array key
  838. "name" => __( 'Cookie Consent Open Modal Window Button', 'avia_framework' ),
  839. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  840. "description" => __( "Change the styling for your cookie consent open info modal on privacy and cookies button", 'avia_framework' ),
  841. "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn.avia-cookie-info-btn"=> ""),
  842. "sections" => false,
  843. "hover" => false,
  844. "edit" => array(
  845. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
  846. 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
  847. 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  848. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  849. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  850. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  851. )
  852. );
  853.  
  854. $advanced['cookie_consent_link_button'] = array(
  855. "id" => "cookie_consent_link_button", //needs to match array key
  856. "name" => __( 'Cookie Consent Link Button', 'avia_framework' ),
  857. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  858. "description" => __( "Change the styling for your cookie consent Link to another page button", 'avia_framework' ),
  859. "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn.avia-cookie-link-btn"=> ""),
  860. "sections" => false,
  861. "hover" => false,
  862. "edit" => array(
  863. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
  864. 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
  865. 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  866. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  867. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  868. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  869. )
  870. );
  871.  
  872. $advanced['cookie_consent_extra_button'] = array(
  873. "id" => "cookie_consent_extra_button", //needs to match array key
  874. "name" => __( 'Cookie Consent Extra Button', 'avia_framework' ),
  875. "group" => __( "Cookie Consent Bar", 'avia_framework' ),
  876. "description" => __( "Change the styling for all your cookie consent extra buttons (not accept buttons)", 'avia_framework' ),
  877. "selector" => array("div.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn"=> ""),
  878. "sections" => false,
  879. "hover" => false,
  880. "edit" => array(
  881. 'background_color' => array('type' => 'colorpicker', 'name'=> __("Button Background Color",'avia_framework')),
  882. 'color' => array('type' => 'colorpicker', 'name'=> __("Button Font Color",'avia_framework')),
  883. 'border-color' => array('type' => 'colorpicker', 'name'=> __("Border Color",'avia_framework')),
  884. 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')),
  885. 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight),
  886. 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform )
  887. )
  888. );
  889.  
  890. //body font size
  891. //dropdown menu
  892. //icon colors
  893. //hover states
  894. //links
  895. // all sections/specific section
  896.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement