<?php

namespace Tech360;

defined( 'ABSPATH' ) or die;

/**
 * Initialize builder
 */
$builder_settings = [
	'max_width' => [
		'label' => 'Row maximum width',
		'helper' => [
			'<strong>Advanced setting!</strong>',
			'Choose the maximum width for this row.',
			'This setting has effect even if the section width is set to full width. If set, the row content will be centered within the section.'
		],
		'select' => [
			'' => 'Default',
			'600px' => '600 pixels wide',
			'800px' => '800 pixels wide'
		]
	],
	'text_align' => [
		'label' => 'Row text align',
		'helper' => 'Choose the text alignment for this row. If set, it overrides the section &quot;Text align&quot; setting.',
		'select' => [
			'' => 'Section default',
			'text-left' => 'Left',
			'text-center' => 'Center',
			'text-right' => 'Right'
		]
	],
	'text_color' => [
		'label' => 'Row text color',
		'helper' => 'Choose the text color for this row. If set, it overrides the section &quot;Text color&quot; setting.',
		'select' => [
			'' => 'Section default',
			'text-light' => 'Light',
			'text-dark' => 'Dark'
		]
	],
	'top_spacing' => [
		'label' => 'Row top spacing',
		'helper' => 'Choose the top spacing for the row.',
		'select' => [
			'' => 'None',
			'pt-1' => 'Tiny',
			'pt-3' => 'Small',
			'pt-5' => 'Normal'
		]
	],
	'bottom_spacing' => [
		'label' => 'Row bottom spacing',
		'helper' => 'Choose the bottom spacing for the row.',
		'select' => [
			'' => 'None',
			'pb-1' => 'Tiny',
			'pb-3' => 'Small',
			'pb-5' => 'Normal'
		]
	],
	'col_inview' => [
		'label' => 'Column in-view effect',
		'helper' => 'Set the desired appearance effect for columns once they get into view.',
		'select' => [
			'' => 'None',
			'left' => 'Fade in from left',
			'right' => 'Fade in from right',
			'top' => 'Fade in from top',
			'bottom' => 'Fade in from bottom'
		]
	],
	'col_vertical_align' => [
		'label' => 'Columns vertical alignment',
		'helper' => 'Choose how the columns content should be vertically aligned.',
		'select' => [
			'' => 'None',
			'align-items-start' => 'Top aligned',
			'align-items-center' => 'Middle aligned',
			'align-items-end' => 'Bottom aligned'
		]
	],
	'row_css_class' => [
		'label' => 'Row CSS classes',
		'helper' => [
			'<strong>Advanced setting!</strong> Do not modify unless you know what you\'re doing.',
			'Enter CSS classes for this row, separated by spaces.'
		]
	],
	'row_css_id' => [
		'label' => 'Row CSS ID',
		'helper' => [
			'<strong>Advanced setting!</strong> Do not modify unless you know what you\'re doing.',
			'Enter the ID for this row. Must be unique, without spaces.'
		]
	],
	'col_css_class' => [
		'label' => 'Column CSS classes',
		'helper' => [
			'<strong>Advanced setting!</strong> Do not modify unless you know what you\'re doing.',
			'Enter CSS classes for the columns, separated by spaces. The classes will be applied to each column.'
		]
	],
];

$section_builder = new Builder( 'section', $builder_settings );
