| 1 |
<?php |
| 2 |
|
| 3 |
function fca_eoi_layout_descriptor_4( $name, $layout_id, $texts ) { |
| 4 |
$layout = new EasyOptInsLayout( $layout_id ); |
| 5 |
$class = $layout->layout_class; |
| 6 |
|
| 7 |
return array( |
| 8 |
|
| 9 |
'name' => __( $name ), |
| 10 |
|
| 11 |
'editables' => array( |
| 12 |
|
| 13 |
// Added to the fieldset "Form Background" |
| 14 |
'form' => array( |
| 15 |
'.fca_eoi_layout_4.' . $class => array( |
| 16 |
'background-color' => array( __( 'Form Background Color' ), '#ffffff' ), |
| 17 |
'border-color' => array( __( 'Border Color' ), '#E5E5E5' ), |
| 18 |
), |
| 19 |
), |
| 20 |
|
| 21 |
// Added to the fieldset "Headline" |
| 22 |
'headline' => array( |
| 23 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper div' => array( |
| 24 |
'font-size' => array( __('Font Size'), '25px'), |
| 25 |
'color' => array( __('Font Color'), '#000'), |
| 26 |
), |
| 27 |
), |
| 28 |
'description' => array( |
| 29 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_description_copy_wrapper p, '. |
| 30 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_description_copy_wrapper div' => array( |
| 31 |
'font-size' => array( __('Font Size'), '14px'), |
| 32 |
'color' => array( __('Font Color'), '#444'), |
| 33 |
), |
| 34 |
), |
| 35 |
'name_field' => array( |
| 36 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_name_field_wrapper, ' . |
| 37 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_name_field_wrapper input' => array( |
| 38 |
'color' => array( __( 'Font Color' ), '#999' ), |
| 39 |
'background-color' => array( __( 'Background Color' ), '' ), |
| 40 |
), |
| 41 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_name_field_wrapper' => array( |
| 42 |
'border-color' => array( __('Border Color'), '#DDD'), |
| 43 |
), |
| 44 |
), |
| 45 |
'email_field' => array( |
| 46 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_email_field_wrapper, ' . |
| 47 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_email_field_wrapper input' => array( |
| 48 |
'color' => array( __( 'Font Color' ), '#999' ), |
| 49 |
'background-color' => array( __( 'Background Color' ), ''), |
| 50 |
), |
| 51 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_email_field_wrapper' => array( |
| 52 |
'border-color' => array( __( 'Border Color' ), '#DDD'), |
| 53 |
), |
| 54 |
), |
| 55 |
'button' => array( |
| 56 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input' => array( |
| 57 |
'font-size' => array( __('Font Size'), '14px'), |
| 58 |
'color' => array( __( 'Font Color' ), '#FFF' ), |
| 59 |
'background-color' => array( __( 'Background Color' ), '#39b0ff' ), |
| 60 |
'border-color' => array( __( 'Border Color' ), '#3498db' ), |
| 61 |
), |
| 62 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input:hover' => array( |
| 63 |
'background-color' => array( __( 'Hover Background Color' ), '#3498db' ), |
| 64 |
), |
| 65 |
), |
| 66 |
'privacy' => array( |
| 67 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_privacy_copy_wrapper div' => array( |
| 68 |
'font-size' => array( __('Font Size'), '14px'), |
| 69 |
'color' => array( __('Font Color'), '#999'), |
| 70 |
), |
| 71 |
), |
| 72 |
'fatcatapps' => array( |
| 73 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a, ' . |
| 74 |
'.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a:hover' => array( |
| 75 |
'color' => array( __('Font Color'), '#999'), |
| 76 |
), |
| 77 |
), |
| 78 |
), |
| 79 |
|
| 80 |
'autocolors' => array( |
| 81 |
array( |
| 82 |
'source' => '[.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]', |
| 83 |
'destination' => '[.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][border-color]', |
| 84 |
'operations' => array( |
| 85 |
'spin' => '0.13246234803119705', |
| 86 |
'desaturate' => '30.125523012552313', |
| 87 |
'darken' => '8.039215686274515', |
| 88 |
), |
| 89 |
), |
| 90 |
array( |
| 91 |
'source' => '[.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]', |
| 92 |
'destination' => '[.fca_eoi_layout_4.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input:hover][background-color]', |
| 93 |
'operations' => array( |
| 94 |
'spin' => '0.13246234803119705', |
| 95 |
'desaturate' => '30.125523012552313', |
| 96 |
'darken' => '8.039215686274515', |
| 97 |
), |
| 98 |
), |
| 99 |
), |
| 100 |
|
| 101 |
'texts' => $texts |
| 102 |
); |
| 103 |
} |
| 104 |
|