| 1 |
<?php |
| 2 |
|
| 3 |
function fca_eoi_layout_descriptor_0( $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_0.' . $class => array( |
| 17 |
'background-color' => array( __( 'Form Background Color' ), '#FFF' ), |
| 18 |
'border-color' => array( __( 'Border Color' ), '#000' ), |
| 19 |
'width' => array( __( 'Width' ), '100%' ), |
| 20 |
'text-align' => array( __( 'Alignment' ), 'center' ), |
| 21 |
), |
| 22 |
), |
| 23 |
|
| 24 |
// Added to the fieldset "Headline" |
| 25 |
'headline' => array( |
| 26 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper div' => array( |
| 27 |
'font-size' => array( __('Font Size'), '25px'), |
| 28 |
'color' => array( __('Font Color'), '#000'), |
| 29 |
), |
| 30 |
), |
| 31 |
'description' => array( |
| 32 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_description_copy_wrapper p, ' . |
| 33 |
'.fca_eoi_layout_0.' . $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 |
'name_field' => array( |
| 39 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_name_field_wrapper, ' . |
| 40 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_name_field_wrapper input' => array( |
| 41 |
'color' => array( __( 'Font Color' ), '#000' ), |
| 42 |
'font-size' => array( __( 'Font Size' ), '14px'), |
| 43 |
|
| 44 |
), |
| 45 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_name_field_wrapper' => array( |
| 46 |
'border-color' => array( __('Border Color'), '#000'), |
| 47 |
'width' => array( __( 'Width' ), '100%'), |
| 48 |
), |
| 49 |
), |
| 50 |
'email_field' => array( |
| 51 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_email_field_wrapper, ' . |
| 52 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_email_field_wrapper input' => array( |
| 53 |
'color' => array( __( 'Font Color' ), '#000' ), |
| 54 |
'font-size' => array( __( 'Font Size' ), '14px'), |
| 55 |
|
| 56 |
), |
| 57 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_email_field_wrapper' => array( |
| 58 |
'border-color' => array( __( 'Border Color' ), '#000'), |
| 59 |
'width' => array( __( 'Width' ), '100%'), |
| 60 |
), |
| 61 |
), |
| 62 |
'button' => array( |
| 63 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input' => array( |
| 64 |
'font-size' => array( __('Font Size'), '14px'), |
| 65 |
'color' => array( __( 'Font Color' ), '#FFF' ), |
| 66 |
'background-color' => array( __( 'Button Background Color' ), '#000' ), |
| 67 |
'hover-color' => array( __( 'Button Hover Color' ), '#933B00' ), |
| 68 |
'width' => array( __( 'Width' ), '100%'), |
| 69 |
), |
| 70 |
), |
| 71 |
'privacy' => array( |
| 72 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_privacy_copy_wrapper div' => array( |
| 73 |
'font-size' => array( __('Font Size'), '14px'), |
| 74 |
'color' => array( __('Font Color'), '#FFF'), |
| 75 |
), |
| 76 |
), |
| 77 |
'fatcatapps' => array( |
| 78 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a, ' . |
| 79 |
'.fca_eoi_layout_0.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a:hover' => array( |
| 80 |
'color' => array( __('Font Color'), '#3197e1'), |
| 81 |
), |
| 82 |
), |
| 83 |
) |
| 84 |
); |
| 85 |
} |