<?php

Flatsome_Option::add_panel( 'style', array(
  'title'       => __( 'Style', 'flatsome-admin' ),
) );

Flatsome_Option::add_section( 'custom-css', array(
	'title'       => __( 'Custom CSS', 'flatsome-admin' ),
	'panel'       => 'style',
) );

Flatsome_Option::add_field( 'option',  array(
	'type'        => 'code',
	'settings'     => 'html_custom_css',
	'label'       => __( 'Custom CSS', 'flatsome-admin' ),
	'section'     => 'custom-css',
	'transport'   => flatsome_customizer_transport(),
	'placeholder' => '.add-css-here{}',
  'choices'     => array(
    'language' => 'css',
  ),
));

Flatsome_Option::add_field( 'option',  array(
  'type'        => 'code',
	'settings'     => 'html_custom_css_tablet',
	'label'       => __( 'Custom Tablet CSS', 'flatsome-admin' ),
	'section'     => 'custom-css',
	'default'     => '',
  'placeholder' => '.add-css-here{}',
	'transport'   => flatsome_customizer_transport(),
  'choices'     => array(
    'language' => 'css',
  ),
));

Flatsome_Option::add_field( 'option',  array(
	'type'        => 'code',
	'settings'     => 'html_custom_css_mobile',
	'label'       => __( 'Custom Mobile CSS', 'flatsome-admin' ),
	'section'     => 'custom-css',
	'default'     => '',
  'placeholder' => '.add-css-here{}',
	'transport'   => flatsome_customizer_transport(),
  'choices'     => array(
    'language' => 'css',
  ),
));
