PluginProbe
GetResponse Forms by Optin Cat / 1.3.8
GetResponse Forms by Optin Cat v1.3.8
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.3.8, at layouts/common/layout_2/layout.php

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