PluginProbe
GetResponse Forms by Optin Cat / 1.5.0
GetResponse Forms by Optin Cat v1.5.0
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_5 / layout.php

layout.php in GetResponse Forms by Optin Cat 1.5.0, at layouts/common/layout_5/layout.php

117 lines 4.6 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_5( $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_5.' . $class => array(
17 'background-color' => array( __( 'Form Background' ), '#f6f6f6' ),
18 'border-color' => array( __( 'Border Color' ), '#ccc' ),
19 ),
20 ),
21
22 // Added to the fieldset "Headline"
23 'headline' => array(
24 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper div' => array(
25 'font-size' => array( __('Font Size'), '28px'),
26 'color' => array( __('Font Color'), '#1A78D7'),
27 ),
28 ),
29 'description' => array(
30 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_description_copy_wrapper p, ' .
31 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_description_copy_wrapper div' => array(
32 ),
33 ),
34 'name_field' => array(
35 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_name_field_wrapper, ' .
36 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_name_field_wrapper input' => array(
37 'font-size' => array( __( 'Font Size' ), '18px' ),
38 'color' => array( __( 'Font Color' ), '#777' ),
39 'background-color' => array( __( 'Background Color' ), '#FFF' ),
40 ),
41 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_name_field_wrapper' => array(
42 'border-color' => array( __('Border Color'), '#CCC'),
43 ),
44 ),
45 'email_field' => array(
46 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_email_field_wrapper, ' .
47 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_email_field_wrapper input' => array(
48 'font-size' => array( __( 'Font Size' ), '18px' ),
49 'color' => array( __( 'Font Color' ), '#777' ),
50 'background-color' => array( __( 'Background Color' ), '#FFF'),
51 ),
52 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_email_field_wrapper' => array(
53 'border-color' => array( __( 'Border Color' ), '#CCC'),
54 ),
55 ),
56 'button' => array(
57 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input' => array(
58 'font-size' => array( __('Font Size'), '18px' ),
59 'color' => array( __( 'Font Color' ), '#FFF' ),
60 'background-color' => array( __( 'Button Color' ), '#E67E22' ),
61 ),
62 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input:hover' => array(
63 'background-color' => array( __( 'Hover Background Color' ), '##D35400' ),
64 ),
65 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper' => array(
66 'background-color' => array( __( 'Container Background Color' ), '#D35400' ),
67 'border-color' => array( __( 'Container Bottom Color' ), '#D35400' ),
68 ),
69 ),
70 'privacy' => array(
71 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_privacy_copy_wrapper div' => array(
72 'font-size' => array( __('Font Size'), '14px'),
73 'color' => array( __('Font Color'), '#8F8F8F'),
74 ),
75 ),
76 'fatcatapps' => array(
77 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a, ' .
78 '.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a:hover' => array(
79 'color' => array( __('Font Color'), '#8F8F8F'),
80 ),
81 ),
82 ),
83
84 'autocolors' => array(
85 array(
86 'source' => '[.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]',
87 'destination' => '[.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input:hover][background-color]',
88 'operations' => array(
89 'spin' => '-4.277009381951832',
90 'saturate' => '20.32520325203253',
91 'darken' => '10.392156862745106',
92 ),
93 ),
94 array(
95 'source' => '[.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]',
96 'destination' => '[.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper][background-color]',
97 'operations' => array(
98 'spin' => '-4.277009381951832',
99 'saturate' => '20.32520325203253',
100 'darken' => '10.392156862745106',
101 ),
102 ),
103 array(
104 'source' => '[.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input][background-color]',
105 'destination' => '[.fca_eoi_layout_5.' . $class . ' div.fca_eoi_layout_submit_button_wrapper][border-color]',
106 'operations' => array(
107 'spin' => '-4.277009381951832',
108 'saturate' => '20.32520325203253',
109 'darken' => '10.392156862745106',
110 ),
111 ),
112
113 ),
114
115 'texts' => $texts
116 );
117 }