| 1 |
<?php |
| 2 |
|
| 3 |
function fca_eoi_layout_descriptor_2( $name, $layout_id, $texts ) { |
| 4 |
require_once FCA_EOI_PLUGIN_DIR . 'includes/eoi-layout.php'; |
| 5 |
$layout = new EasyOptInsLayout( $layout_id ); |
| 6 |
$class = $layout->layout_class; |
| 7 |
|
| 8 |
return array( |
| 9 |
|
| 10 |
'name' => __( $name ), |
| 11 |
|
| 12 |
'editables' => array( |
| 13 |
|
| 14 |
// Added to the fieldset "Form Background" |
| 15 |
'form' => array( |
| 16 |
'.fca_eoi_layout_2.' . $class => array( |
| 17 |
'background-color' => array( __( 'Form Background Color' ), '#eeeeee' ), |
| 18 |
), |
| 19 |
), |
| 20 |
|
| 21 |
// Added to the fieldset "Headline" |
| 22 |
'headline' => array( |
| 23 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper' => array( |
| 24 |
'color' => array( __( 'Font Color' ), '#FFF' ), |
| 25 |
'font-size' => array( __( 'Font Size' ), '20px' ), |
| 26 |
'background-color' => array( __( 'Background Color' ), '#3197e1' ), |
| 27 |
) |
| 28 |
), |
| 29 |
|
| 30 |
// Added to the fieldset "Description" |
| 31 |
'description' => array( |
| 32 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_description_copy_wrapper p, ' . |
| 33 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_description_copy_wrapper div' => array( |
| 34 |
'font-size' => array( __( 'Font Size' ), '14px' ), |
| 35 |
'color' => array( __('Font Color') , '#000' ), |
| 36 |
), |
| 37 |
), |
| 38 |
|
| 39 |
// Added to the fieldset "Name" |
| 40 |
'name_field' => array( |
| 41 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper' => array( |
| 42 |
'background-color' => array( __('Background Color') , '#FFF' ), |
| 43 |
'border-color' => array( __('Border Color') , '#FFF' ), |
| 44 |
'font-size' => array( __( 'Font Size' ), '14px'), |
| 45 |
), |
| 46 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper input, ' . |
| 47 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper i.fa' => array( |
| 48 |
'color' => array( __('Font Color') , '#000' ), |
| 49 |
), |
| 50 |
), |
| 51 |
|
| 52 |
// Added to the fieldset "Email" |
| 53 |
'email_field' => array( |
| 54 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper' => array( |
| 55 |
'background-color' => array( __('Background Color') , '#FFF' ), |
| 56 |
'border-color' => array( __('Border Color') , '#FFF' ), |
| 57 |
'font-size' => array( __( 'Font Size' ), '14px'), |
| 58 |
), |
| 59 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper input, ' . |
| 60 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper i.fa' => array( |
| 61 |
'color' => array( __('Font Color') , '#000' ), |
| 62 |
), |
| 63 |
), |
| 64 |
|
| 65 |
// Added to the fieldset "Button" |
| 66 |
'button' => array( |
| 67 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input' => array( |
| 68 |
'font-size' => array( __( 'Font Size' ), '16px' ), |
| 69 |
'color' => array( __('Font Color') , '#FFF' ), |
| 70 |
'background-color' => array( __('Background Color') , '#e84e34' ), |
| 71 |
), |
| 72 |
), |
| 73 |
|
| 74 |
// Added to the fieldset "Privacy Policy" |
| 75 |
'privacy' => array( |
| 76 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_privacy_copy_wrapper div' => array( |
| 77 |
'font-size' => array( __( 'Font Size' ), '12px' ), |
| 78 |
'color' => array( __('Font Color') , '#a1a1a1' ), |
| 79 |
), |
| 80 |
), |
| 81 |
|
| 82 |
// Added to the fieldset "Branding" |
| 83 |
'fatcatapps' => array( |
| 84 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a, ' . |
| 85 |
'.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a:hover' => array( |
| 86 |
'color' => array( __( 'Font Color' ), '#3197e1'), |
| 87 |
), |
| 88 |
), |
| 89 |
) |
| 90 |
); |
| 91 |
} |