<?php if ( ! defined( 'FW' ) ) {
	die( 'Forbidden' );
}
$optionimage = get_template_directory_uri() . '/assets/img/options/';

$options = array(
	'color' => array(
		'title'   => esc_html__( 'Styling', 'jt-wishbone' ),
		'type'    => 'tab',
		'options' => array(
			'accent_tab' => array(
				'title'		=> esc_html__( 'Color Scheme', 'jt-wishbone' ),
				'type'		=> 'tab',
				'options'	=> array(
					'predefinedcolor' => array(
						'label'   => esc_html__( 'Predefined Skin', 'jt-wishbone' ),
						'desc'   => esc_html__( 'Choose none (first image) to disable predefined skin. WARNING, if you chose one of those color skin, the options below won\'t work', 'jt-wishbone' ),
						'type'	=> 'image-picker',
						'choices' => array(
							'none' => array(
								'small' => array(
									'height' => 47,
									'src'    => 'http://placehold.it/70x70/ffffff/000000/?text=NONE'
								)
							),
							'dark-lemon' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'dark-lemon.png'
								)
							),
							'dark-pink' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'dark-pink.png'
								)
							),
							'dark-purple' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'dark-purple.png'
								)
							),
							'dark-seagreen' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'dark-seagreen.png'
								)
							),
							'dark-wood' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'dark-wood.png'
								)
							),
							'light-green' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'light-green.png'
								)
							),
							'light-orange' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'light-orange.png'
								)
							),
							'light-red' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'light-red.png'
								)
							),
							'light-skyblue' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'light-skyblue.png'
								)
							),
							'light-yellow' => array(
								'small' => array(
									'height' => 47,
									'src'    => $optionimage . 'light-yellow.png'
								)
							),
						),
					),

					'basecolor' => array(
						'label'   => esc_html__( 'Base Color', 'jt-wishbone' ),
						'type'    => 'radio',
						'value'   => 'dark',
						'desc'    => esc_html__( 'What color do you like?', 'jt-wishbone' ),
						'choices' => array(
							'dark' => esc_html__( 'Dark', 'jt-wishbone' ),
							'light' => esc_html__( 'Light', 'jt-wishbone' ),
						),
					),
					'accent_color'	=> array(
						'label'	=> esc_html__( 'Accent Color', 'jt-wishbone' ),
						'desc'	=> esc_html__( 'The color for accent line, link, button, etc', 'jt-wishbone' ),
						'type'  => 'color-picker',
						'value'  => '',
					),
				),
			),

			'body_tab' => array(
				'title'   => esc_html__( 'Site Body', 'jt-wishbone' ),
				'type'    => 'tab',
				'options' => array(
					'bodycolorgrup' => array(
						'type'    => 'group',
						'options' => array(
							'body_color' => array(
								'label'	=> esc_html__( 'Background Color', 'jt-wishbone' ),
								'desc'	=> esc_html__( 'Color for body', 'jt-wishbone' ),
								'type'  => 'color-picker',
								'value'  => '',
							),
							'body_styles' => array(
								'type'         => 'multi-picker',
								'label'        => false,
								'desc'         => false,
								'value'        => array(
									'image_type' => 'predefined',
								),
								'picker' => array(
									'image_type' => array(
										'label'   => esc_html__( 'Background Image', 'jt-wishbone' ),
										'type'    => 'radio',
										'choices' => array(
											'predefined'  => esc_html__( "Default", 'jt-wishbone' ),
											'custom' => esc_html__( 'Custom', 'jt-wishbone' )
										),
										'inline' => true,
									)
								),
								'choices'      => array(
									'predefined'  => array(
										/* IMAGE PICKER */
										'sbasdasdasd' => array(
											'type'  => 'html-full',
											'value' => '',
											'label' => false,
											'html'  => '&nbsp;',
										),
									),
									'custom' => array(
										'background-image' => array(
											'label' => esc_html__( 'Image', 'jt-wishbone' ),
											'desc'  => esc_html__( 'Upload image to set as background', 'jt-wishbone' ),
											'type'  => 'upload',
										),
										'opacity' => array(
											'label' => esc_html__( 'Background Opacity', 'jt-wishbone' ),
											'type'  => 'slider',
										    'value' => 12,
										    'properties' => array(
										        'min' => 0.1,
										        'max' => 1,
										        'step' => 0.1, // Set slider step. Always > 0. Could be fractional.
										    ),
										),
										'background-repeat' => array(
											'label'   => esc_html__( 'Repeat', 'jt-wishbone' ),
											'type'    => 'radio',
											'inline' => true,
											'choices' => array(
												'repeat' => esc_html__( 'Horizontal and Vertical', 'jt-wishbone' ),
												'repeat-x'  => esc_html__( 'Horizontal', 'jt-wishbone' ),
												'repeat-y' => esc_html__( 'Vertical', 'jt-wishbone' ),
												'no-repeat' => esc_html__( 'No Repeat', 'jt-wishbone' )
											),
										),
										'background-attachment' => array(
											'label'   => esc_html__( 'Attachment', 'jt-wishbone' ),
											'type'    => 'radio',
											'inline' => true,
											'choices' => array(
												'scroll' => esc_html__( 'Scroll', 'jt-wishbone' ),
												'fixed'  => esc_html__( 'Fixed', 'jt-wishbone' ),
											),
										),
										'background-position' => array(
											'label'   => esc_html__( 'Position', 'jt-wishbone' ),
											'type'    => 'select',
											'choices' => array(
												'top left' => esc_html__( 'Top Left', 'jt-wishbone' ),
												'top center'  => esc_html__( 'Top center', 'jt-wishbone' ),
												'top right' => esc_html__( 'Top Right', 'jt-wishbone' ),
												'center left' => esc_html__( 'Center Left', 'jt-wishbone' ),
												'center center' => esc_html__( 'Center Center', 'jt-wishbone' ),
												'center right' => esc_html__( 'Center Right', 'jt-wishbone' ),
												'bottom left' => esc_html__( 'Bottom Left', 'jt-wishbone' ),
												'bottom center' => esc_html__( 'Bottom Center', 'jt-wishbone' ),
												'bottom right' => esc_html__( 'Bottom Right', 'jt-wishbone' ),
											),
										)
									),
								),
								'show_borders' => false,
							),
						),
					),
				),
			),

			'footer_tab' => array(
				'title'   => esc_html__( 'Footer', 'jt-wishbone' ),
				'type'    => 'tab',
				'options' => array(
					'footer_color' => array(
						'label'	=> esc_html__( 'Background Color', 'jt-wishbone' ),
						'desc'	=> esc_html__( 'Color for footer', 'jt-wishbone' ),
						'type'  => 'rgba-color-picker',
						'value'  => '',
					),
					'footer_styles' => array(
						'type'         => 'multi-picker',
						'label'        => false,
						'desc'         => false,
						'value'        => array(
							'image_type' => 'predefined',
						),
						'picker' => array(
							'image_type' => array(
								'label'   => esc_html__( 'Background Image', 'jt-wishbone' ),
								'type'    => 'radio',
								'choices' => array(
									'predefined'  => esc_html__( "Default", 'jt-wishbone' ),
									'custom' => esc_html__( 'Custom', 'jt-wishbone' )
								),
								'inline' => true,
							)
						),
						'choices'      => array(
							'predefined'  => array(
								/* IMAGE PICKER */
								'sbasdasdasd' => array(
									'type'  => 'html-full',
									'value' => '',
									'label' => false,
									'html'  => '&nbsp;',
								),
							),
							'custom' => array(
								'background-image' => array(
									'label' => esc_html__( 'Image', 'jt-wishbone' ),
									'desc'  => esc_html__( 'Upload image to set as background', 'jt-wishbone' ),
									'type'  => 'upload',
								),
								'background-repeat' => array(
									'label'   => esc_html__( 'Repeat', 'jt-wishbone' ),
									'type'    => 'radio',
									'inline' => true,
									'choices' => array(
										'repeat' => esc_html__( 'Horizontal and Vertical', 'jt-wishbone' ),
										'repeat-x'  => esc_html__( 'Horizontal', 'jt-wishbone' ),
										'repeat-y' => esc_html__( 'Vertical', 'jt-wishbone' ),
										'no-repeat' => esc_html__( 'No Repeat', 'jt-wishbone' )
									),
								),
								'background-attachment' => array(
									'label'   => esc_html__( 'Attachment', 'jt-wishbone' ),
									'type'    => 'radio',
									'inline' => true,
									'choices' => array(
										'scroll' => esc_html__( 'Scroll', 'jt-wishbone' ),
										'fixed'  => esc_html__( 'Fixed', 'jt-wishbone' ),
									),
								),
								'background-position' => array(
									'label'   => esc_html__( 'Position', 'jt-wishbone' ),
									'type'    => 'select',
									'choices' => array(
										'top left' => esc_html__( 'Top Left', 'jt-wishbone' ),
										'top center'  => esc_html__( 'Top center', 'jt-wishbone' ),
										'top right' => esc_html__( 'Top Right', 'jt-wishbone' ),
										'center left' => esc_html__( 'Center Left', 'jt-wishbone' ),
										'center center' => esc_html__( 'Center Center', 'jt-wishbone' ),
										'center right' => esc_html__( 'Center Right', 'jt-wishbone' ),
										'bottom left' => esc_html__( 'Bottom Left', 'jt-wishbone' ),
										'bottom center' => esc_html__( 'Bottom Center', 'jt-wishbone' ),
										'bottom right' => esc_html__( 'Bottom Right', 'jt-wishbone' ),
									),
								)
							),
						),
						'show_borders' => false,
					),

					'copyright_text_clr' => array(
						'label'	=> esc_html__( 'Copyright Bar Text Color', 'jt-wishbone' ),
						'type'  => 'rgba-color-picker',
						'value'  => '',
					),
					'copyright_bg_clr' => array(
						'label'	=> esc_html__( 'Copyright Bar Background Color', 'jt-wishbone' ),
						'type'  => 'rgba-color-picker',
						'value'  => '',
					),
					'copyright_bd_clr' => array(
						'label'	=> esc_html__( 'Copyright Bar Border Color', 'jt-wishbone' ),
						'type'  => 'rgba-color-picker',
						'value'  => '',
					),
				),
			),


		),
	),
);
