PluginProbe
GetResponse Forms by Optin Cat / 1.5.2
GetResponse Forms by Optin Cat v1.5.2
1.3.4 1.3.5 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 2.0.0 All 36 releases
getresponse / layouts / common / layout_2 / layout.php

layout.php in GetResponse Forms by Optin Cat 1.5.2, at layouts/common/layout_2/layout.php

133 lines 5.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 div' => array(
24 'font-weight' => array( '', 'bold' ),
25 'font-style' => array( '', 'italic' ),
26 'text-decoration' => array( '', 'underline' ),
27 'font-size' => array( __( 'Font Size' ), '20px' ),
28 ),
29 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper' => array(
30 'color' => array( __( 'Font Color' ), '#FFF' ),
31 'background-color' => array( __( 'Background Color' ), '#3197e1' ),
32 ),
33 '.fca_eoi_layout_2.' . $class . ' svg.fca_eoi_layout_fold' => array(
34 'fill' => array( __( 'Fold Background Color' ), '#256fa6' ),
35 ),
36 ),
37
38 // Added to the fieldset "Description"
39 'description' => array(
40 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_description_copy_wrapper p, ' .
41 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_description_copy_wrapper div' => array(
42 'font-size' => array( __( 'Font Size' ), '14px' ),
43 'color' => array( __('Font Color') , '#000' ),
44 ),
45 ),
46
47 // Added to the fieldset "Name"
48 'name_field' => array(
49 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper' => array(
50 'background-color' => array( __('Background Color') , '#FFF' ),
51 'border-color' => array( __('Border Color') , '#FFF' ),
52 ),
53 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper input, ' .
54 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper i.fa' => array(
55 'color' => array( __('Font Color') , '#000' ),
56 ),
57 ),
58
59 // Added to the fieldset "Email"
60 'email_field' => array(
61 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper' => array(
62 'background-color' => array( __('Background Color') , '#FFF' ),
63 'border-color' => array( __('Border Color') , '#FFF' ),
64 ),
65 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper input, ' .
66 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper i.fa' => array(
67 'color' => array( __('Font Color') , '#000' ),
68 ),
69 ),
70
71 // Added to the fieldset "Button"
72 'button' => array(
73 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input' => array(
74 'font-size' => array( __( 'Font Size' ), '16px' ),
75 'color' => array( __('Font Color') , '#FFF' ),
76 'background-color' => array( __('Background Color') , '#e84e34' ),
77 'border-bottom-color' => array( __('Bottom Border Color') , '#c13a24' ),
78 ),
79 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input:hover' => array(
80 'background-color' => array( __('Hover Color') , '#c13a24' ),
81 ),
82 ),
83
84 // Added to the fieldset "Privacy Policy"
85 'privacy' => array(
86 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_privacy_copy_wrapper div' => array(
87 'font-size' => array( __( 'Font Size' ), '12px' ),
88 'color' => array( __('Font Color') , '#a1a1a1' ),
89 ),
90 ),
91
92 // Added to the fieldset "Branding"
93 'fatcatapps' => array(
94 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a, ' .
95 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a:hover' => array(
96 'color' => array( __( 'Font Color' ), '#3197e1'),
97 ),
98 ),
99 ),
100
101 'autocolors' => array(
102 array(
103 'source' => '[.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]',
104 'destination' => '[.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][border-bottom-color]',
105 'operations' => array(
106 'spin' => '-0.2590233545647589',
107 'desaturate' => '11.087065734049517',
108 'darken' => '10.784313725490202',
109 ),
110 ),
111 array(
112 'source' => '[.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]',
113 'destination' => '[.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input:hover][background-color]',
114 'operations' => array(
115 'spin' => '-0.2590233545647589',
116 'desaturate' => '11.087065734049517',
117 'darken' => '10.784313725490202',
118 ),
119 ),
120 array(
121 'source' => '[.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper][background-color]',
122 'destination' => '[.fca_eoi_layout_2.' . $class . ' svg.fca_eoi_layout_fold][fill]',
123 'operations' => array(
124 'spin' => '0.3541226215644713',
125 'desaturate' => '11.029473156884029',
126 'darken' => '13.921568627450975',
127 ),
128 )
129 ),
130
131 'texts' => $texts
132 );
133 }