Version Description
- Fixed Avada Theme Fusion Page Builder incompatibility issue
- Fixed Contact form 7 shortcode detection for Flatco - Multipurpose & Responsive WordPress Theme
- Improve plugin installer process
Download this release
Release Info
Developer | ionut.iclanzan |
Plugin | Contact Form 7 Style |
Version | 2.2.5 |
Comparing to | |
See all releases |
Code changes from version 2.2.4 to 2.2.5
- cf7-style-meta-box.php +2 -2
- cf7-style.php +66 -7
- css/frontend.css +179 -178
- readme.txt +10 -3
cf7-style-meta-box.php
CHANGED
@@ -140,7 +140,7 @@ function cf7_style_general_settings_array(){
|
|
140 |
),array(
|
141 |
"type" => "selectbox",
|
142 |
"label" => "Textarea font-style",
|
143 |
-
|
144 |
"description" => "Textarea font style"
|
145 |
),array(
|
146 |
"type" => "selectbox",
|
@@ -199,7 +199,7 @@ function cf7_style_general_settings_array(){
|
|
199 |
"description" => "Choose a color for the submit border"
|
200 |
),array(
|
201 |
"type" => "color-selector",
|
202 |
-
"label" => "Submit button background
|
203 |
"description" => "Choose a color for the submit background"
|
204 |
),
|
205 |
));
|
140 |
),array(
|
141 |
"type" => "selectbox",
|
142 |
"label" => "Textarea font-style",
|
143 |
+
"value" => array( "normal", "bold", "bolder", "lighter", "initial", "inherit" ),
|
144 |
"description" => "Textarea font style"
|
145 |
),array(
|
146 |
"type" => "selectbox",
|
199 |
"description" => "Choose a color for the submit border"
|
200 |
),array(
|
201 |
"type" => "color-selector",
|
202 |
+
"label" => "Submit button background",
|
203 |
"description" => "Choose a color for the submit background"
|
204 |
),
|
205 |
));
|
cf7-style.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
Plugin Name: Contact Form 7 Style
|
4 |
Plugin URI: http://wordpress.reea.net/contact-form-7-style/
|
5 |
Description: Simple style customization and templating for Contact Form 7 forms. Requires Contact Form 7 plugin installed.
|
6 |
-
Version: 2.2.
|
7 |
Author: Reea
|
8 |
-
Author URI: http://www.reea.net
|
9 |
License: GPL2
|
10 |
@Author: mlehelsz, dorumarginean, Johnny, MirceaR
|
11 |
*/
|
@@ -14,7 +14,7 @@ License: GPL2
|
|
14 |
* Include the plugin options
|
15 |
*/
|
16 |
function set_styleversion(){
|
17 |
-
return "2.2.
|
18 |
}
|
19 |
|
20 |
function get_predefined_cf7_style_template_data() {
|
@@ -64,8 +64,46 @@ function get_predefined_cf7_style_template_data() {
|
|
64 |
function get_cf7style_slug_or_id( $post, $id ) {
|
65 |
$post_content = ( !empty( $post ) ) ? $post->post_content : "";
|
66 |
if ( has_shortcode( $post_content, 'contact-form-7' ) ) {
|
67 |
-
preg_match('/\[contact-form-7.*id=.(.*).\]/', $post->post_content, $cf7_id );
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
$cf7_style_id = get_post_meta( $cf7_id[0], 'cf7_style_id' );
|
70 |
if ( isset( $cf7_style_id[0]) ) {
|
71 |
$cf7_style_data = get_post( $cf7_style_id[0], ARRAY_A );
|
@@ -135,7 +173,7 @@ function cf7_style_custom_css_generator(){
|
|
135 |
case 'submit':
|
136 |
$startelem = $temp_3;
|
137 |
$allelem = $form_set_nr[ 3 ];
|
138 |
-
$classelem .= " .wpcf7-submit,\n.".$classelem." .wpcf7-submit:focus";
|
139 |
$temp_3++;
|
140 |
break;
|
141 |
case 'textarea':
|
@@ -423,4 +461,25 @@ function cf7_style_deactivate() {
|
|
423 |
update_option( 'cf7_style_cookie', false );
|
424 |
update_option( 'cf7_style_add_categories', 0 );
|
425 |
}
|
426 |
-
register_deactivation_hook( __FILE__, 'cf7_style_deactivate' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Plugin Name: Contact Form 7 Style
|
4 |
Plugin URI: http://wordpress.reea.net/contact-form-7-style/
|
5 |
Description: Simple style customization and templating for Contact Form 7 forms. Requires Contact Form 7 plugin installed.
|
6 |
+
Version: 2.2.5
|
7 |
Author: Reea
|
8 |
+
Author URI: http://www.reea.net?ref="wordpress.org"
|
9 |
License: GPL2
|
10 |
@Author: mlehelsz, dorumarginean, Johnny, MirceaR
|
11 |
*/
|
14 |
* Include the plugin options
|
15 |
*/
|
16 |
function set_styleversion(){
|
17 |
+
return "2.2.5";
|
18 |
}
|
19 |
|
20 |
function get_predefined_cf7_style_template_data() {
|
64 |
function get_cf7style_slug_or_id( $post, $id ) {
|
65 |
$post_content = ( !empty( $post ) ) ? $post->post_content : "";
|
66 |
if ( has_shortcode( $post_content, 'contact-form-7' ) ) {
|
67 |
+
//preg_match('/\[contact-form-7.*id=.(.*).\]/', $post->post_content, $cf7_id );
|
68 |
+
|
69 |
+
//this is a temporary solution. will be improved.
|
70 |
+
$pattern = '/\\['
|
71 |
+
. '(\\[?)'
|
72 |
+
. "(contact-form-7)"
|
73 |
+
. '(?![\\w-])'
|
74 |
+
. '('
|
75 |
+
. '[^\\]\\/]*'
|
76 |
+
. '(?:'
|
77 |
+
. '\\/(?!\\])'
|
78 |
+
. '[^\\]\\/]*'
|
79 |
+
. ')*?'
|
80 |
+
. ')'
|
81 |
+
. '(?:'
|
82 |
+
. '(\\/)'
|
83 |
+
. '\\]'
|
84 |
+
. '|'
|
85 |
+
. '\\]'
|
86 |
+
. '(?:'
|
87 |
+
. '('
|
88 |
+
. '[^\\[]*+'
|
89 |
+
. '(?:'
|
90 |
+
. '\\[(?!\\/\\2\\])'
|
91 |
+
. '[^\\[]*+'
|
92 |
+
. ')*+'
|
93 |
+
. ')'
|
94 |
+
. '\\[\\/\\2\\]'
|
95 |
+
. ')?'
|
96 |
+
. ')'
|
97 |
+
. '(\\]?)/';
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
preg_match($pattern, $post->post_content, $cf7_id );
|
102 |
+
|
103 |
+
|
104 |
+
preg_match('/\[contact-form-7.*id=.(.*).\]/', $cf7_id[0], $cf7_idnew );
|
105 |
+
|
106 |
+
$cf7_id = explode( '"', $cf7_idnew[1] );
|
107 |
$cf7_style_id = get_post_meta( $cf7_id[0], 'cf7_style_id' );
|
108 |
if ( isset( $cf7_style_id[0]) ) {
|
109 |
$cf7_style_data = get_post( $cf7_style_id[0], ARRAY_A );
|
173 |
case 'submit':
|
174 |
$startelem = $temp_3;
|
175 |
$allelem = $form_set_nr[ 3 ];
|
176 |
+
$classelem .= " .wpcf7-submit,\n.".$classelem." .wpcf7-submit:focus,\n.".$classelem." input[type=\"submit\"],\n.".$classelem." input[type=\"submit\"]:hover";
|
177 |
$temp_3++;
|
178 |
break;
|
179 |
case 'textarea':
|
461 |
update_option( 'cf7_style_cookie', false );
|
462 |
update_option( 'cf7_style_add_categories', 0 );
|
463 |
}
|
464 |
+
register_deactivation_hook( __FILE__, 'cf7_style_deactivate' );
|
465 |
+
|
466 |
+
/*
|
467 |
+
* Function created for deactivated Contact Form 7 Designer plugin.
|
468 |
+
* This is because styles of that plugin is in conflict with ours.
|
469 |
+
* No one should add an id in the html tag.
|
470 |
+
*/
|
471 |
+
function deactivate_contact_form_7_designer_plugin() {
|
472 |
+
if ( is_plugin_active('contact-form-7-designer/cf7-styles.php') ) {
|
473 |
+
deactivate_plugins('contact-form-7-designer/cf7-styles.php');
|
474 |
+
add_action( 'admin_notices', 'cf7_designer_deactivation_notice' );
|
475 |
+
}
|
476 |
+
}
|
477 |
+
add_action('admin_init', 'deactivate_contact_form_7_designer_plugin');
|
478 |
+
/*
|
479 |
+
* notice for the user
|
480 |
+
*/
|
481 |
+
function cf7_designer_deactivation_notice() { ?>
|
482 |
+
<div class="error">
|
483 |
+
<p>You cannot activate CF7 Designer while CF7 Style is activated!</p>
|
484 |
+
</div>
|
485 |
+
<?php }
|
css/frontend.css
CHANGED
@@ -22,23 +22,23 @@
|
|
22 |
* 0.0 - Reset
|
23 |
* -----------------------------------------------------------------------------
|
24 |
*/
|
25 |
-
|
26 |
-moz-box-sizing: initial;
|
27 |
-webkit-box-sizing: initial;
|
28 |
box-sizing: initial;
|
29 |
}
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
width: 100%;
|
37 |
}
|
38 |
-
.cf7-style input:focus,
|
39 |
-
.cf7-style textarea:focus,
|
40 |
-
.cf7-style input[ type="submit" ]:hover {
|
41 |
-
background
|
42 |
}
|
43 |
|
44 |
/**
|
@@ -47,11 +47,11 @@
|
|
47 |
* 1.1 - Classic
|
48 |
* -----------------------------------------------------------------------------
|
49 |
*/
|
50 |
-
.valentines-day-classic {
|
51 |
background: url('../images/vday-classic/hearted-bg.png') -45px 0 repeat;
|
52 |
position: relative;
|
53 |
}
|
54 |
-
.valentines-day-classic .heart {
|
55 |
position: absolute;
|
56 |
right:0;
|
57 |
background: url('../images/vday-classic/big-heart.png') 0 0 no-repeat;
|
@@ -59,12 +59,12 @@
|
|
59 |
height: 135px;
|
60 |
top:-90px;
|
61 |
}
|
62 |
-
.valentines-day-classic p {
|
63 |
margin-bottom: 10px;
|
64 |
text-shadow: 1px 1px #FFF;
|
65 |
}
|
66 |
-
.valentines-day-classic input,
|
67 |
-
.valentines-day-classic textarea {
|
68 |
background: rgba(255,255,255,0.7);
|
69 |
border: none;
|
70 |
border-left: 1px solid #AAA;
|
@@ -77,13 +77,13 @@
|
|
77 |
box-shadow: 5px 6px 10px -5px #999999;
|
78 |
margin-top: 3px;
|
79 |
}
|
80 |
-
.valentines-day-classic input:focus,
|
81 |
-
.valentines-day-classic textarea:focus {
|
82 |
background: rgba(255,255,255,0.7);
|
83 |
border-left: 1px solid #AAA;
|
84 |
border-bottom: 1px solid #AAA;
|
85 |
}
|
86 |
-
.valentines-day-classic .wpcf7-submit {
|
87 |
-webkit-box-shadow: none;
|
88 |
-moz-box-shadow: none;
|
89 |
box-shadow: none;
|
@@ -107,10 +107,10 @@
|
|
107 |
float: right;
|
108 |
text-shadow: 1px 1px #555;
|
109 |
}
|
110 |
-
.valentines-day-classic .wpcf7-submit:hover {
|
111 |
background-color: transparent;
|
112 |
}
|
113 |
-
.valentines-day-classic .wpcf7-validation-errors {
|
114 |
border: 1px solid #FF0000;
|
115 |
background: rgba(255,255,255,0.7);
|
116 |
}
|
@@ -123,7 +123,7 @@
|
|
123 |
* 1.2 - Roses
|
124 |
* -----------------------------------------------------------------------------
|
125 |
*/
|
126 |
-
.valentines-day-roses {
|
127 |
background: url(../images/vday-rose/rose-bg-50percent.png) 0 0 no-repeat;
|
128 |
position: relative;
|
129 |
min-height:380px;
|
@@ -133,48 +133,48 @@
|
|
133 |
-moz-box-sizing: initial;
|
134 |
box-sizing: initial;
|
135 |
}
|
136 |
-
.valentines-day-roses {
|
137 |
clear: both;
|
138 |
}
|
139 |
-
.valentines-day-roses input,
|
140 |
-
.valentines-day-roses textarea {
|
141 |
background: none;
|
142 |
border: none;
|
143 |
|
144 |
}
|
145 |
-
.valentines-day-roses input[type="text"],
|
146 |
-
.valentines-day-roses input[type="email"],
|
147 |
-
.valentines-day-roses input[type="url"],
|
148 |
-
.valentines-day-roses input[type="password"],
|
149 |
-
.valentines-day-roses input[type="search"],
|
150 |
-
.valentines-day-roses textarea{
|
151 |
width: 92%;
|
152 |
}
|
153 |
-
.valentines-day-roses input {
|
154 |
padding-bottom: 2px;
|
155 |
}
|
156 |
-
.valentines-day-roses input,
|
157 |
-
.valentines-day-roses input:hover,
|
158 |
-
.valentines-day-roses input:focus {
|
159 |
border-bottom: 1px solid #490706;
|
160 |
}
|
161 |
-
.valentines-day-roses textarea {
|
162 |
width: 215px;
|
163 |
height: 140px;
|
164 |
resize: none;
|
165 |
padding-top: 0;
|
166 |
line-height: 32px;
|
167 |
}
|
168 |
-
.valentines-day-roses p {
|
169 |
margin-bottom: 10px;
|
170 |
}
|
171 |
-
.valentines-day-roses .letter-box {
|
172 |
background:#826e50 url(../images/vday-rose/contact-bg.png) 0 0 no-repeat;
|
173 |
width: 285px;
|
174 |
margin: 62px 0 0 -50px;
|
175 |
padding: 35px 15px 45px;
|
176 |
}
|
177 |
-
.valentines-day-roses .wpcf7-submit {
|
178 |
position: absolute;
|
179 |
bottom: 5px;
|
180 |
right: 20px;
|
@@ -183,12 +183,12 @@
|
|
183 |
color: #fff;
|
184 |
box-shadow: none;
|
185 |
}
|
186 |
-
.valentines-day-roses input[type="submit"]:hover,
|
187 |
-
.valentines-day-roses input[type="submit"]:focus {
|
188 |
background: #490706;
|
189 |
}
|
190 |
-
.valentines-day-roses .wpcf7-validation-errors,
|
191 |
-
.valentines-day-roses .wpcf7-mail-sent-ok {
|
192 |
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.6);
|
193 |
border: none;
|
194 |
left: 115px;
|
@@ -196,10 +196,10 @@
|
|
196 |
top: 145px;
|
197 |
width: 295px;
|
198 |
}
|
199 |
-
.valentines-day-roses .wpcf7-validation-errors {
|
200 |
color: #ff0000;
|
201 |
}
|
202 |
-
.valentines-day-roses .wpcf7-mail-sent-ok {
|
203 |
color: green;
|
204 |
}
|
205 |
|
@@ -210,64 +210,64 @@
|
|
210 |
* 1.3 - Birds
|
211 |
* -----------------------------------------------------------------------------
|
212 |
*/
|
213 |
-
.valentines-day-birds {
|
214 |
position: relative;
|
215 |
width: 280px;
|
216 |
margin: 234px 0 301px 97px;
|
217 |
}
|
218 |
-
.valentines-day-birds-container {
|
219 |
background: url('../images/vday-birds/bg-middle.png') 63px 0 repeat-y;
|
220 |
width: 486px;
|
221 |
margin: 0 auto;
|
222 |
}
|
223 |
-
.valentines-day-birds .bg-header,
|
224 |
-
.valentines-day-birds .bg-bottom {
|
225 |
width: 486px;
|
226 |
}
|
227 |
-
.valentines-day-birds .bg-header {
|
228 |
background: url('../images/vday-birds/bg-top.png') 25px 0 no-repeat;
|
229 |
height: 234px;
|
230 |
left: -97px;
|
231 |
position: absolute;
|
232 |
top: -234px;
|
233 |
}
|
234 |
-
.valentines-day-birds .bg-bottom {
|
235 |
background: url('../images/vday-birds/bg-bottom.png') 0 0 no-repeat;
|
236 |
bottom: -301px;
|
237 |
height: 301px;
|
238 |
left: -97px;
|
239 |
position: absolute;
|
240 |
}
|
241 |
-
.valentines-day-birds p {
|
242 |
margin: 0;
|
243 |
}
|
244 |
-
.valentines-day-birds input,
|
245 |
-
.valentines-day-birds textarea {
|
246 |
background: none;
|
247 |
border: 2px dashed #000;
|
248 |
resize:vertical;
|
249 |
}
|
250 |
-
.valentines-day-birds input[type="text"],
|
251 |
-
.valentines-day-birds input[type="email"],
|
252 |
-
.valentines-day-birds input[type="url"],
|
253 |
-
.valentines-day-birds input[type="password"],
|
254 |
-
.valentines-day-birds input[type="search"],
|
255 |
-
.valentines-day-birds textarea{
|
256 |
width: 94%;
|
257 |
}
|
258 |
-
.valentines-day-birds textarea {
|
259 |
height: 120px;
|
260 |
}
|
261 |
-
.valentines-day-birds input:hover,
|
262 |
-
.valentines-day-birds textarea:hover,
|
263 |
-
.valentines-day-birds input:focus,
|
264 |
-
.valentines-day-birds textarea:focus {
|
265 |
border: 2px dashed #000;
|
266 |
}
|
267 |
-
.valentines-day-birds input {
|
268 |
margin-bottom: 5px;
|
269 |
}
|
270 |
-
.valentines-day-birds input[type="submit"] {
|
271 |
font-size: 30px;
|
272 |
color: #444;
|
273 |
text-transform: capitalize;
|
@@ -277,20 +277,20 @@
|
|
277 |
display: block;
|
278 |
margin: 0 auto;
|
279 |
}
|
280 |
-
.valentines-day-birds input[type="submit"]:hover,
|
281 |
-
.valentines-day-birds input[type="submit"]:focus {
|
282 |
background: none;
|
283 |
color: #000;
|
284 |
}
|
285 |
-
.valentines-day-birds div.wpcf7-response-output {
|
286 |
width: 265px;
|
287 |
margin: 0 0 0 -36px;
|
288 |
border: none;
|
289 |
}
|
290 |
-
.valentines-day-birds .wpcf7-validation-errors {
|
291 |
color: #ff0000;
|
292 |
}
|
293 |
-
.valentines-day-birds .wpcf7-mail-sent-ok {
|
294 |
color: green;
|
295 |
}
|
296 |
|
@@ -302,28 +302,28 @@
|
|
302 |
* 1.4 - Blue Birds
|
303 |
* -----------------------------------------------------------------------------
|
304 |
*/
|
305 |
-
.valentines-day-blue-birds {
|
306 |
position: relative;
|
307 |
background: url("../images/vday-blue-birds/pattern.jpg") repeat;
|
308 |
color: #100804;
|
309 |
}
|
310 |
-
.valentines-day-blue-birds .header {
|
311 |
background: url("../images/vday-blue-birds/header.png") no-repeat top center;
|
312 |
height: 260px;
|
313 |
width: 100%;
|
314 |
}
|
315 |
-
.valentines-day-blue-birds input,
|
316 |
-
.valentines-day-blue-birds textarea {
|
317 |
width: 290px;
|
318 |
display: inline-block;
|
319 |
background-color: #dad3c2;
|
320 |
border: none;
|
321 |
}
|
322 |
-
.valentines-day-blue-birds input:focus,
|
323 |
-
.valentines-day-blue-birds textarea:focus {
|
324 |
background-color: #dad3c2;
|
325 |
}
|
326 |
-
.valentines-day-blue-birds .wpcf7-submit {
|
327 |
background: url("../images/vday-blue-birds/submit.png") no-repeat top right;
|
328 |
height: 50px;
|
329 |
line-height: 50px;
|
@@ -337,26 +337,26 @@
|
|
337 |
color: #100804;
|
338 |
box-shadow: none;
|
339 |
}
|
340 |
-
.valentines-day-blue-birds span.wpcf7-not-valid-tip,
|
341 |
-
.valentines-day-blue-birds .wpcf7-submit:hover {
|
342 |
color: #7f2a3a;
|
343 |
}
|
344 |
|
345 |
-
.valentines-day-blue-birds textarea {
|
346 |
height: 75px;
|
347 |
}
|
348 |
-
.valentines-day-blue-birds p {
|
349 |
width: 290px;
|
350 |
margin: 7px auto;
|
351 |
position: relative;
|
352 |
}
|
353 |
-
.valentines-day-blue-birds .footer {
|
354 |
background: url("../images/vday-blue-birds/footer.png") no-repeat bottom center;
|
355 |
height: 145px;
|
356 |
width: 100%;
|
357 |
}
|
358 |
-
.valentines-day-blue-birds div.wpcf7-mail-sent-ok,
|
359 |
-
.valentines-day-blue-birds div.wpcf7-validation-errors {
|
360 |
border: none;
|
361 |
background: rgba( 127, 42, 58, .9 );
|
362 |
position: absolute;
|
@@ -366,7 +366,7 @@
|
|
366 |
padding: 10px 20px;
|
367 |
right: 0;
|
368 |
}
|
369 |
-
.valentines-day-blue-birds div.wpcf7-mail-sent-ok {
|
370 |
background: rgba( 9, 94, 0, .9 );
|
371 |
}
|
372 |
|
@@ -378,10 +378,10 @@
|
|
378 |
* 2.1 - Classic
|
379 |
* -----------------------------------------------------------------------------
|
380 |
*/
|
381 |
-
.christmas-classic {
|
382 |
position: relative;
|
383 |
}
|
384 |
-
.christmas-classic-container {
|
385 |
background: url("../images/xmas-classic/bg-repeat.png") repeat-y scroll 1px 1px rgba(0, 0, 0, 0);
|
386 |
display: block;
|
387 |
margin: auto;
|
@@ -389,12 +389,12 @@
|
|
389 |
text-align: center;
|
390 |
width: 403px;
|
391 |
}
|
392 |
-
.christmas-classic .header {
|
393 |
background: url("../images/xmas-classic/top_border.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
394 |
height: 23px;
|
395 |
width: 100%;
|
396 |
}
|
397 |
-
.christmas-classic .left {
|
398 |
background: url("../images/xmas-classic/left_part_bg.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
399 |
bottom: 0;
|
400 |
height: 129px;
|
@@ -402,16 +402,16 @@
|
|
402 |
position: absolute;
|
403 |
width: 99px;
|
404 |
}
|
405 |
-
.christmas-classic p {
|
406 |
color: #482C09;
|
407 |
margin-bottom: 20px;
|
408 |
margin-left: 27px;
|
409 |
width: 350px;
|
410 |
}
|
411 |
-
.christmas-classic span {
|
412 |
display: block;
|
413 |
}
|
414 |
-
.christmas-classic .footer {
|
415 |
background: url("../images/xmas-classic/bottombg.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
416 |
bottom: 0;
|
417 |
height: 255px;
|
@@ -420,8 +420,8 @@
|
|
420 |
position: absolute;
|
421 |
bottom: -255px;
|
422 |
}
|
423 |
-
.christmas-classic input,
|
424 |
-
.christmas-classic textarea {
|
425 |
display: inline-block;
|
426 |
*display: inline;
|
427 |
*zoom: 1;
|
@@ -431,27 +431,27 @@
|
|
431 |
background-color: #f3eadf;
|
432 |
border: 1px dotted #b2a28e;
|
433 |
}
|
434 |
-
.christmas-classic input {
|
435 |
height: 28px;
|
436 |
padding: 3px 5px;
|
437 |
line-height: 28px;
|
438 |
}
|
439 |
-
.christmas-classic input:focus,
|
440 |
-
.christmas-classic textarea:focus {
|
441 |
background-color: #f3eadf;
|
442 |
border: 1px dotted #b2a28e;
|
443 |
}
|
444 |
-
.christmas-classic .wpcf7-form-control-wrap input,
|
445 |
-
.christmas-classic .wpcf7-form-control-wrap textarea {
|
446 |
display: block;
|
447 |
width: 93%;
|
448 |
}
|
449 |
-
.christmas-classic form textarea {
|
450 |
resize: vertical;
|
451 |
margin-bottom: 10px;
|
452 |
}
|
453 |
|
454 |
-
.christmas-classic .wpcf7-submit {
|
455 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
|
456 |
border: medium none;
|
457 |
bottom: -252px;
|
@@ -471,7 +471,7 @@
|
|
471 |
* 2.2 - Red
|
472 |
* -----------------------------------------------------------------------------
|
473 |
*/
|
474 |
-
.christmas-red-container {
|
475 |
color: #fff;
|
476 |
font-size: 25px;
|
477 |
width: 600px;
|
@@ -479,10 +479,10 @@
|
|
479 |
background: url( ../images/xmas-red/middle.png ) repeat-y top center;
|
480 |
position: relative;
|
481 |
}
|
482 |
-
.christmas-red {
|
483 |
margin: 94px 0 125px;
|
484 |
}
|
485 |
-
.christmas-red .header {
|
486 |
display: block;
|
487 |
background: url( ../images/xmas-red/header.png ) no-repeat 32px top;
|
488 |
width: 600px;
|
@@ -490,7 +490,7 @@
|
|
490 |
position: absolute;
|
491 |
top: -94px;
|
492 |
}
|
493 |
-
.christmas-red .footer {
|
494 |
display: block;
|
495 |
background: url( ../images/xmas-red/footer.png ) no-repeat top center;
|
496 |
width: 600px;
|
@@ -498,33 +498,33 @@
|
|
498 |
bottom: -94px;
|
499 |
position: absolute;
|
500 |
}
|
501 |
-
.christmas-red p {
|
502 |
width: 370px;
|
503 |
margin: 0 auto;
|
504 |
}
|
505 |
-
.christmas-red input,
|
506 |
-
.christmas-red textarea {
|
507 |
color: #222;
|
508 |
width: 100%;
|
509 |
font-size: 16px;
|
510 |
}
|
511 |
-
.christmas-red input[type="text"],
|
512 |
-
.christmas-red input[type="email"],
|
513 |
-
.christmas-red input[type="url"],
|
514 |
-
.christmas-red input[type="password"],
|
515 |
-
.christmas-red input[type="search"],
|
516 |
-
.christmas-red textarea{
|
517 |
width: 96%;
|
518 |
}
|
519 |
-
.christmas-red input:focus,
|
520 |
-
.christmas-red textarea:focus {
|
521 |
background-color: #fff;
|
522 |
}
|
523 |
-
.christmas-red textarea {
|
524 |
height: 120px;
|
525 |
resize: vertical;
|
526 |
}
|
527 |
-
.christmas-red .wpcf7-submit {
|
528 |
display: block;
|
529 |
width: 232px;
|
530 |
height: 126px;
|
@@ -539,10 +539,10 @@
|
|
539 |
-moz-box-shadow: none;
|
540 |
box-shadow: none;
|
541 |
}
|
542 |
-
.christmas-red .wpcf7-validation-errors,
|
543 |
-
.christmas-red .wpcf7-mail-sent-ok,
|
544 |
-
.christmas-classic-validation-errors,
|
545 |
-
.christmas-classic-mail-sent-ok{
|
546 |
border: none;
|
547 |
width: 350px;
|
548 |
font-size: 22px;
|
@@ -550,12 +550,12 @@
|
|
550 |
margin-left: 25px;
|
551 |
padding: 0;
|
552 |
}
|
553 |
-
.christmas-red .wpcf7-mail-sent-ok,
|
554 |
-
.christmas-classic-mail-sent-ok {
|
555 |
color: #73C94E;
|
556 |
}
|
557 |
-
.christmas-red span.wpcf7-not-valid-tip,
|
558 |
-
.christmas-classic span.wpcf7-not-valid-tip {
|
559 |
left: 0;
|
560 |
top: 0;
|
561 |
padding: 5px 10px;
|
@@ -568,21 +568,21 @@
|
|
568 |
-moz-border-radius: 5px;
|
569 |
border-radius: 5px;
|
570 |
}
|
571 |
-
.christmas-red span.wpcf7-list-item {
|
572 |
display: inline-block;
|
573 |
height: 32px;
|
574 |
}
|
575 |
-
.christmas-red .wpcf7-radio .wpcf7-list-item {
|
576 |
background: url(../images/xmas-red/radio.png) no-repeat 0 6px;
|
577 |
}
|
578 |
-
.christmas-red .wpcf7-radio .wpcf7-list-item.active {
|
579 |
background-position: 0 -27px;
|
580 |
}
|
581 |
-
.christmas-red .wpcf7-radio .wpcf7-list-item-label {
|
582 |
display: inline-block;
|
583 |
vertical-align: top;
|
584 |
}
|
585 |
-
.christmas-red span.wpcf7-list-item input[type="radio"] {
|
586 |
width: 30px;
|
587 |
height: 30px;
|
588 |
cursor: pointer;
|
@@ -612,7 +612,7 @@
|
|
612 |
border:0;*/
|
613 |
|
614 |
}
|
615 |
-
.christmas-red .wpcf7-response-output {
|
616 |
position: relative;
|
617 |
margin: 0 auto;
|
618 |
}
|
@@ -625,7 +625,7 @@
|
|
625 |
* 2.3 - Simple
|
626 |
* -----------------------------------------------------------------------------
|
627 |
*/
|
628 |
-
.christmas-simple {
|
629 |
width: 410px;
|
630 |
padding: 50px 20px 15px 20px;
|
631 |
margin-bottom: 20px;
|
@@ -634,39 +634,39 @@
|
|
634 |
margin: 75px 0 35px;
|
635 |
|
636 |
}
|
637 |
-
.christmas-simple-container {
|
638 |
width: 425px;
|
639 |
margin: 0 auto;
|
640 |
border-left: dashed 2px #542c0e;
|
641 |
border-right: dashed 2px #542c0e;
|
642 |
background: url(../images/xmas-simple/middle.png) repeat-y center top;
|
643 |
}
|
644 |
-
.christmas-simple p {
|
645 |
width: 325px;
|
646 |
margin: 15px auto;
|
647 |
}
|
648 |
-
.christmas-simple p input[type="text"],
|
649 |
-
.christmas-simple p input[type="email"],
|
650 |
-
.christmas-simple p input[type="tel"],
|
651 |
-
.christmas-simple p textarea,
|
652 |
-
.christmas-simple p input[type="text"]:hover,
|
653 |
-
.christmas-simple p input[type="email"]:hover,
|
654 |
-
.christmas-simple p input[type="tel"]:hover,
|
655 |
-
.christmas-simple p textarea:hover,
|
656 |
-
.christmas-simple p input[type="text"]:focus,
|
657 |
-
.christmas-simple p input[type="email"]:focus,
|
658 |
-
.christmas-simple p input[type="tel"]:focus,
|
659 |
-
.christmas-simple p textarea:focus {
|
660 |
width: 94%;
|
661 |
background: transparent;
|
662 |
border: dashed 2px #7d5f48;
|
663 |
}
|
664 |
-
.christmas-simple textarea {
|
665 |
height: 110px;
|
666 |
resize: vertical;
|
667 |
}
|
668 |
-
.christmas-simple .header,
|
669 |
-
.christmas-simple .footer {
|
670 |
width: 425px;
|
671 |
height: 35px;
|
672 |
margin: 0 auto;
|
@@ -676,14 +676,14 @@
|
|
676 |
position: absolute;
|
677 |
left: -2px;
|
678 |
}
|
679 |
-
.christmas-simple .header {
|
680 |
background-position: 1px 1px;
|
681 |
border-radius: 12px 12px 0 0;
|
682 |
left: -2px;
|
683 |
top: -35px;
|
684 |
width: 421px;
|
685 |
}
|
686 |
-
.christmas-simple .footer {
|
687 |
background: url( '../images/xmas-simple/footer.png' ) no-repeat center top;
|
688 |
border-bottom: 2px dashed #542c0e;
|
689 |
border-radius: 0 0 20px 20px;
|
@@ -692,7 +692,7 @@
|
|
692 |
padding-bottom: 3px;
|
693 |
width: 421px;
|
694 |
}
|
695 |
-
.christmas-simple .ribbon {
|
696 |
width: 182px;
|
697 |
height: 202px;
|
698 |
position: absolute;
|
@@ -700,13 +700,14 @@
|
|
700 |
right: -118px;
|
701 |
top: -85px;
|
702 |
}
|
703 |
-
.christmas-simple div.wpcf7-response-output {
|
704 |
width: 360px;
|
705 |
margin: 0 auto;
|
706 |
border: none;
|
707 |
color: #ee0000;
|
708 |
}
|
709 |
-
.christmas-simple .wpcf7-submit
|
|
|
710 |
background: #e7e3d0;
|
711 |
color: #555;
|
712 |
border-top: solid 1px #fff;
|
@@ -719,7 +720,7 @@
|
|
719 |
-webkit-box-shadow: -3px 3px 9px 1px #999;
|
720 |
box-shadow: -3px 3px 9px 1px #999;
|
721 |
}
|
722 |
-
.christmas-simple input[type='submit']:hover {
|
723 |
border-top: solid 1px #fff;
|
724 |
background: #e7e3d0;
|
725 |
color: #000;
|
@@ -730,7 +731,7 @@
|
|
730 |
/**
|
731 |
* Fix Error tooltips position
|
732 |
*/
|
733 |
-
.christmas-simple span.wpcf7-not-valid-tip {
|
734 |
top: -4px;
|
735 |
left: 2px;
|
736 |
height: 30px;
|
@@ -742,7 +743,7 @@
|
|
742 |
border: none;
|
743 |
}
|
744 |
/*Christmas clasic - unique*/
|
745 |
-
.christmas-classic .wpcf7-not-valid-tip{
|
746 |
width: 100%;
|
747 |
background: transparent;
|
748 |
}
|
@@ -753,10 +754,10 @@
|
|
753 |
* 3.1 - Twenty fiffteen like
|
754 |
* -----------------------------------------------------------------------------
|
755 |
*/
|
756 |
-
.twenty-fifteen-pattern {
|
757 |
padding-top: 1.6842em;
|
758 |
}
|
759 |
-
.twenty-fifteen-pattern p {
|
760 |
font-size: 1.6rem;
|
761 |
margin-bottom: 1.6842em;
|
762 |
color: rgba(51, 51, 51, 0.7);
|
@@ -767,11 +768,11 @@
|
|
767 |
line-height: 1.5;
|
768 |
text-transform: uppercase;
|
769 |
}
|
770 |
-
.twenty-fifteen-pattern input[type="text"],
|
771 |
-
.twenty-fifteen-pattern input[type="email"],
|
772 |
-
.twenty-fifteen-pattern input[type="url"],
|
773 |
-
.twenty-fifteen-pattern input[type="submit"],
|
774 |
-
.twenty-fifteen-pattern textarea {
|
775 |
width: 100%;
|
776 |
padding: 0.5278em;
|
777 |
line-height: normal;
|
@@ -790,16 +791,16 @@
|
|
790 |
box-sizing: border-box;
|
791 |
|
792 |
}
|
793 |
-
.twenty-fifteen-pattern input:focus,
|
794 |
-
.twenty-fifteen-pattern textarea:focus {
|
795 |
border: 1px solid rgba(51, 51, 51, 0.3);
|
796 |
color: #333;
|
797 |
background-color: #fff;
|
798 |
}
|
799 |
-
.twenty-fifteen-pattern button,
|
800 |
-
.twenty-fifteen-pattern input[type="button"],
|
801 |
-
.twenty-fifteen-pattern input[type="reset"],
|
802 |
-
.twenty-fifteen-pattern input[type="submit"] {
|
803 |
font-size: 1.6rem;
|
804 |
padding: 0.8125em 1.625em;
|
805 |
background-color: #333;
|
@@ -811,10 +812,10 @@
|
|
811 |
text-transform: uppercase;
|
812 |
width: 100%;
|
813 |
}
|
814 |
-
.twenty-fifteen-pattern button:hover,
|
815 |
-
.twenty-fifteen-pattern input[type="button"]:hover,
|
816 |
-
.twenty-fifteen-pattern input[type="reset"]:hover,
|
817 |
-
.twenty-fifteen-pattern input[type="submit"]:hover {
|
818 |
background-color: rgba(51, 51, 51, 0.7);
|
819 |
outline: 0 none;
|
820 |
-
}
|
22 |
* 0.0 - Reset
|
23 |
* -----------------------------------------------------------------------------
|
24 |
*/
|
25 |
+
.cf7-style * {
|
26 |
-moz-box-sizing: initial;
|
27 |
-webkit-box-sizing: initial;
|
28 |
box-sizing: initial;
|
29 |
}
|
30 |
+
.cf7-style input[type="text"],
|
31 |
+
.cf7-style input[type="email"],
|
32 |
+
.cf7-style input[type="url"],
|
33 |
+
.cf7-style input[type="password"],
|
34 |
+
.cf7-style input[type="search"],
|
35 |
+
.cf7-style textarea {
|
36 |
width: 100%;
|
37 |
}
|
38 |
+
body .cf7-style input:focus,
|
39 |
+
body .cf7-style textarea:focus,
|
40 |
+
body .cf7-style input[ type="submit" ]:hover {
|
41 |
+
background: inherit;
|
42 |
}
|
43 |
|
44 |
/**
|
47 |
* 1.1 - Classic
|
48 |
* -----------------------------------------------------------------------------
|
49 |
*/
|
50 |
+
body .valentines-day-classic {
|
51 |
background: url('../images/vday-classic/hearted-bg.png') -45px 0 repeat;
|
52 |
position: relative;
|
53 |
}
|
54 |
+
body .valentines-day-classic .heart {
|
55 |
position: absolute;
|
56 |
right:0;
|
57 |
background: url('../images/vday-classic/big-heart.png') 0 0 no-repeat;
|
59 |
height: 135px;
|
60 |
top:-90px;
|
61 |
}
|
62 |
+
body .valentines-day-classic p {
|
63 |
margin-bottom: 10px;
|
64 |
text-shadow: 1px 1px #FFF;
|
65 |
}
|
66 |
+
body .valentines-day-classic input,
|
67 |
+
body .valentines-day-classic textarea {
|
68 |
background: rgba(255,255,255,0.7);
|
69 |
border: none;
|
70 |
border-left: 1px solid #AAA;
|
77 |
box-shadow: 5px 6px 10px -5px #999999;
|
78 |
margin-top: 3px;
|
79 |
}
|
80 |
+
body .valentines-day-classic input:focus,
|
81 |
+
body .valentines-day-classic textarea:focus {
|
82 |
background: rgba(255,255,255,0.7);
|
83 |
border-left: 1px solid #AAA;
|
84 |
border-bottom: 1px solid #AAA;
|
85 |
}
|
86 |
+
body .valentines-day-classic .wpcf7-submit {
|
87 |
-webkit-box-shadow: none;
|
88 |
-moz-box-shadow: none;
|
89 |
box-shadow: none;
|
107 |
float: right;
|
108 |
text-shadow: 1px 1px #555;
|
109 |
}
|
110 |
+
body .valentines-day-classic .wpcf7-submit:hover {
|
111 |
background-color: transparent;
|
112 |
}
|
113 |
+
body .valentines-day-classic .wpcf7-validation-errors {
|
114 |
border: 1px solid #FF0000;
|
115 |
background: rgba(255,255,255,0.7);
|
116 |
}
|
123 |
* 1.2 - Roses
|
124 |
* -----------------------------------------------------------------------------
|
125 |
*/
|
126 |
+
body .valentines-day-roses {
|
127 |
background: url(../images/vday-rose/rose-bg-50percent.png) 0 0 no-repeat;
|
128 |
position: relative;
|
129 |
min-height:380px;
|
133 |
-moz-box-sizing: initial;
|
134 |
box-sizing: initial;
|
135 |
}
|
136 |
+
body .valentines-day-roses {
|
137 |
clear: both;
|
138 |
}
|
139 |
+
body .valentines-day-roses input,
|
140 |
+
body .valentines-day-roses textarea {
|
141 |
background: none;
|
142 |
border: none;
|
143 |
|
144 |
}
|
145 |
+
body .valentines-day-roses input[type="text"],
|
146 |
+
body .valentines-day-roses input[type="email"],
|
147 |
+
body .valentines-day-roses input[type="url"],
|
148 |
+
body .valentines-day-roses input[type="password"],
|
149 |
+
body .valentines-day-roses input[type="search"],
|
150 |
+
body .valentines-day-roses textarea{
|
151 |
width: 92%;
|
152 |
}
|
153 |
+
body .valentines-day-roses input {
|
154 |
padding-bottom: 2px;
|
155 |
}
|
156 |
+
body .valentines-day-roses input,
|
157 |
+
body .valentines-day-roses input:hover,
|
158 |
+
body .valentines-day-roses input:focus {
|
159 |
border-bottom: 1px solid #490706;
|
160 |
}
|
161 |
+
body .valentines-day-roses textarea {
|
162 |
width: 215px;
|
163 |
height: 140px;
|
164 |
resize: none;
|
165 |
padding-top: 0;
|
166 |
line-height: 32px;
|
167 |
}
|
168 |
+
body .valentines-day-roses p {
|
169 |
margin-bottom: 10px;
|
170 |
}
|
171 |
+
body .valentines-day-roses .letter-box {
|
172 |
background:#826e50 url(../images/vday-rose/contact-bg.png) 0 0 no-repeat;
|
173 |
width: 285px;
|
174 |
margin: 62px 0 0 -50px;
|
175 |
padding: 35px 15px 45px;
|
176 |
}
|
177 |
+
body .valentines-day-roses .wpcf7-submit {
|
178 |
position: absolute;
|
179 |
bottom: 5px;
|
180 |
right: 20px;
|
183 |
color: #fff;
|
184 |
box-shadow: none;
|
185 |
}
|
186 |
+
body .valentines-day-roses input[type="submit"]:hover,
|
187 |
+
body .valentines-day-roses input[type="submit"]:focus {
|
188 |
background: #490706;
|
189 |
}
|
190 |
+
body .valentines-day-roses .wpcf7-validation-errors,
|
191 |
+
body .valentines-day-roses .wpcf7-mail-sent-ok {
|
192 |
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.6);
|
193 |
border: none;
|
194 |
left: 115px;
|
196 |
top: 145px;
|
197 |
width: 295px;
|
198 |
}
|
199 |
+
body .valentines-day-roses .wpcf7-validation-errors {
|
200 |
color: #ff0000;
|
201 |
}
|
202 |
+
body .valentines-day-roses .wpcf7-mail-sent-ok {
|
203 |
color: green;
|
204 |
}
|
205 |
|
210 |
* 1.3 - Birds
|
211 |
* -----------------------------------------------------------------------------
|
212 |
*/
|
213 |
+
body .valentines-day-birds {
|
214 |
position: relative;
|
215 |
width: 280px;
|
216 |
margin: 234px 0 301px 97px;
|
217 |
}
|
218 |
+
body .valentines-day-birds-container {
|
219 |
background: url('../images/vday-birds/bg-middle.png') 63px 0 repeat-y;
|
220 |
width: 486px;
|
221 |
margin: 0 auto;
|
222 |
}
|
223 |
+
body .valentines-day-birds .bg-header,
|
224 |
+
body .valentines-day-birds .bg-bottom {
|
225 |
width: 486px;
|
226 |
}
|
227 |
+
body .valentines-day-birds .bg-header {
|
228 |
background: url('../images/vday-birds/bg-top.png') 25px 0 no-repeat;
|
229 |
height: 234px;
|
230 |
left: -97px;
|
231 |
position: absolute;
|
232 |
top: -234px;
|
233 |
}
|
234 |
+
body .valentines-day-birds .bg-bottom {
|
235 |
background: url('../images/vday-birds/bg-bottom.png') 0 0 no-repeat;
|
236 |
bottom: -301px;
|
237 |
height: 301px;
|
238 |
left: -97px;
|
239 |
position: absolute;
|
240 |
}
|
241 |
+
body .valentines-day-birds p {
|
242 |
margin: 0;
|
243 |
}
|
244 |
+
body .valentines-day-birds input,
|
245 |
+
body .valentines-day-birds textarea {
|
246 |
background: none;
|
247 |
border: 2px dashed #000;
|
248 |
resize:vertical;
|
249 |
}
|
250 |
+
body .valentines-day-birds input[type="text"],
|
251 |
+
body .valentines-day-birds input[type="email"],
|
252 |
+
body .valentines-day-birds input[type="url"],
|
253 |
+
body .valentines-day-birds input[type="password"],
|
254 |
+
body .valentines-day-birds input[type="search"],
|
255 |
+
body .valentines-day-birds textarea{
|
256 |
width: 94%;
|
257 |
}
|
258 |
+
body .valentines-day-birds textarea {
|
259 |
height: 120px;
|
260 |
}
|
261 |
+
body .valentines-day-birds input:hover,
|
262 |
+
body .valentines-day-birds textarea:hover,
|
263 |
+
body .valentines-day-birds input:focus,
|
264 |
+
body .valentines-day-birds textarea:focus {
|
265 |
border: 2px dashed #000;
|
266 |
}
|
267 |
+
body .valentines-day-birds input {
|
268 |
margin-bottom: 5px;
|
269 |
}
|
270 |
+
body .valentines-day-birds input[type="submit"] {
|
271 |
font-size: 30px;
|
272 |
color: #444;
|
273 |
text-transform: capitalize;
|
277 |
display: block;
|
278 |
margin: 0 auto;
|
279 |
}
|
280 |
+
body .valentines-day-birds input[type="submit"]:hover,
|
281 |
+
body .valentines-day-birds input[type="submit"]:focus {
|
282 |
background: none;
|
283 |
color: #000;
|
284 |
}
|
285 |
+
body .valentines-day-birds div.wpcf7-response-output {
|
286 |
width: 265px;
|
287 |
margin: 0 0 0 -36px;
|
288 |
border: none;
|
289 |
}
|
290 |
+
body .valentines-day-birds .wpcf7-validation-errors {
|
291 |
color: #ff0000;
|
292 |
}
|
293 |
+
body .valentines-day-birds .wpcf7-mail-sent-ok {
|
294 |
color: green;
|
295 |
}
|
296 |
|
302 |
* 1.4 - Blue Birds
|
303 |
* -----------------------------------------------------------------------------
|
304 |
*/
|
305 |
+
body .valentines-day-blue-birds {
|
306 |
position: relative;
|
307 |
background: url("../images/vday-blue-birds/pattern.jpg") repeat;
|
308 |
color: #100804;
|
309 |
}
|
310 |
+
body .valentines-day-blue-birds .header {
|
311 |
background: url("../images/vday-blue-birds/header.png") no-repeat top center;
|
312 |
height: 260px;
|
313 |
width: 100%;
|
314 |
}
|
315 |
+
body .valentines-day-blue-birds input,
|
316 |
+
body .valentines-day-blue-birds textarea {
|
317 |
width: 290px;
|
318 |
display: inline-block;
|
319 |
background-color: #dad3c2;
|
320 |
border: none;
|
321 |
}
|
322 |
+
body .valentines-day-blue-birds input:focus,
|
323 |
+
body .valentines-day-blue-birds textarea:focus {
|
324 |
background-color: #dad3c2;
|
325 |
}
|
326 |
+
body .valentines-day-blue-birds .wpcf7-submit {
|
327 |
background: url("../images/vday-blue-birds/submit.png") no-repeat top right;
|
328 |
height: 50px;
|
329 |
line-height: 50px;
|
337 |
color: #100804;
|
338 |
box-shadow: none;
|
339 |
}
|
340 |
+
body .valentines-day-blue-birds span.wpcf7-not-valid-tip,
|
341 |
+
body .valentines-day-blue-birds .wpcf7-submit:hover {
|
342 |
color: #7f2a3a;
|
343 |
}
|
344 |
|
345 |
+
body .valentines-day-blue-birds textarea {
|
346 |
height: 75px;
|
347 |
}
|
348 |
+
body .valentines-day-blue-birds p {
|
349 |
width: 290px;
|
350 |
margin: 7px auto;
|
351 |
position: relative;
|
352 |
}
|
353 |
+
body .valentines-day-blue-birds .footer {
|
354 |
background: url("../images/vday-blue-birds/footer.png") no-repeat bottom center;
|
355 |
height: 145px;
|
356 |
width: 100%;
|
357 |
}
|
358 |
+
body .valentines-day-blue-birds div.wpcf7-mail-sent-ok,
|
359 |
+
body .valentines-day-blue-birds div.wpcf7-validation-errors {
|
360 |
border: none;
|
361 |
background: rgba( 127, 42, 58, .9 );
|
362 |
position: absolute;
|
366 |
padding: 10px 20px;
|
367 |
right: 0;
|
368 |
}
|
369 |
+
body .valentines-day-blue-birds div.wpcf7-mail-sent-ok {
|
370 |
background: rgba( 9, 94, 0, .9 );
|
371 |
}
|
372 |
|
378 |
* 2.1 - Classic
|
379 |
* -----------------------------------------------------------------------------
|
380 |
*/
|
381 |
+
body .christmas-classic {
|
382 |
position: relative;
|
383 |
}
|
384 |
+
body .christmas-classic-container {
|
385 |
background: url("../images/xmas-classic/bg-repeat.png") repeat-y scroll 1px 1px rgba(0, 0, 0, 0);
|
386 |
display: block;
|
387 |
margin: auto;
|
389 |
text-align: center;
|
390 |
width: 403px;
|
391 |
}
|
392 |
+
body .christmas-classic .header {
|
393 |
background: url("../images/xmas-classic/top_border.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
394 |
height: 23px;
|
395 |
width: 100%;
|
396 |
}
|
397 |
+
body .christmas-classic .left {
|
398 |
background: url("../images/xmas-classic/left_part_bg.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
399 |
bottom: 0;
|
400 |
height: 129px;
|
402 |
position: absolute;
|
403 |
width: 99px;
|
404 |
}
|
405 |
+
body .christmas-classic p {
|
406 |
color: #482C09;
|
407 |
margin-bottom: 20px;
|
408 |
margin-left: 27px;
|
409 |
width: 350px;
|
410 |
}
|
411 |
+
body .christmas-classic span {
|
412 |
display: block;
|
413 |
}
|
414 |
+
body .christmas-classic .footer {
|
415 |
background: url("../images/xmas-classic/bottombg.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
416 |
bottom: 0;
|
417 |
height: 255px;
|
420 |
position: absolute;
|
421 |
bottom: -255px;
|
422 |
}
|
423 |
+
body .christmas-classic input,
|
424 |
+
body .christmas-classic textarea {
|
425 |
display: inline-block;
|
426 |
*display: inline;
|
427 |
*zoom: 1;
|
431 |
background-color: #f3eadf;
|
432 |
border: 1px dotted #b2a28e;
|
433 |
}
|
434 |
+
body .christmas-classic input {
|
435 |
height: 28px;
|
436 |
padding: 3px 5px;
|
437 |
line-height: 28px;
|
438 |
}
|
439 |
+
body .christmas-classic input:focus,
|
440 |
+
body .christmas-classic textarea:focus {
|
441 |
background-color: #f3eadf;
|
442 |
border: 1px dotted #b2a28e;
|
443 |
}
|
444 |
+
body .christmas-classic .wpcf7-form-control-wrap input,
|
445 |
+
body .christmas-classic .wpcf7-form-control-wrap textarea {
|
446 |
display: block;
|
447 |
width: 93%;
|
448 |
}
|
449 |
+
body .christmas-classic form textarea {
|
450 |
resize: vertical;
|
451 |
margin-bottom: 10px;
|
452 |
}
|
453 |
|
454 |
+
body .christmas-classic .wpcf7-submit {
|
455 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
|
456 |
border: medium none;
|
457 |
bottom: -252px;
|
471 |
* 2.2 - Red
|
472 |
* -----------------------------------------------------------------------------
|
473 |
*/
|
474 |
+
body .christmas-red-container {
|
475 |
color: #fff;
|
476 |
font-size: 25px;
|
477 |
width: 600px;
|
479 |
background: url( ../images/xmas-red/middle.png ) repeat-y top center;
|
480 |
position: relative;
|
481 |
}
|
482 |
+
body .christmas-red {
|
483 |
margin: 94px 0 125px;
|
484 |
}
|
485 |
+
body .christmas-red .header {
|
486 |
display: block;
|
487 |
background: url( ../images/xmas-red/header.png ) no-repeat 32px top;
|
488 |
width: 600px;
|
490 |
position: absolute;
|
491 |
top: -94px;
|
492 |
}
|
493 |
+
body .christmas-red .footer {
|
494 |
display: block;
|
495 |
background: url( ../images/xmas-red/footer.png ) no-repeat top center;
|
496 |
width: 600px;
|
498 |
bottom: -94px;
|
499 |
position: absolute;
|
500 |
}
|
501 |
+
body .christmas-red p {
|
502 |
width: 370px;
|
503 |
margin: 0 auto;
|
504 |
}
|
505 |
+
body .christmas-red input,
|
506 |
+
body .christmas-red textarea {
|
507 |
color: #222;
|
508 |
width: 100%;
|
509 |
font-size: 16px;
|
510 |
}
|
511 |
+
body .christmas-red input[type="text"],
|
512 |
+
body .christmas-red input[type="email"],
|
513 |
+
body .christmas-red input[type="url"],
|
514 |
+
body .christmas-red input[type="password"],
|
515 |
+
body .christmas-red input[type="search"],
|
516 |
+
body .christmas-red textarea{
|
517 |
width: 96%;
|
518 |
}
|
519 |
+
body .christmas-red input:focus,
|
520 |
+
body .christmas-red textarea:focus {
|
521 |
background-color: #fff;
|
522 |
}
|
523 |
+
body .christmas-red textarea {
|
524 |
height: 120px;
|
525 |
resize: vertical;
|
526 |
}
|
527 |
+
body .christmas-red .wpcf7-submit {
|
528 |
display: block;
|
529 |
width: 232px;
|
530 |
height: 126px;
|
539 |
-moz-box-shadow: none;
|
540 |
box-shadow: none;
|
541 |
}
|
542 |
+
body .christmas-red .wpcf7-validation-errors,
|
543 |
+
body .christmas-red .wpcf7-mail-sent-ok,
|
544 |
+
body .christmas-classic-validation-errors,
|
545 |
+
body .christmas-classic-mail-sent-ok{
|
546 |
border: none;
|
547 |
width: 350px;
|
548 |
font-size: 22px;
|
550 |
margin-left: 25px;
|
551 |
padding: 0;
|
552 |
}
|
553 |
+
body .christmas-red .wpcf7-mail-sent-ok,
|
554 |
+
body .christmas-classic-mail-sent-ok {
|
555 |
color: #73C94E;
|
556 |
}
|
557 |
+
body .christmas-red span.wpcf7-not-valid-tip,
|
558 |
+
body .christmas-classic span.wpcf7-not-valid-tip {
|
559 |
left: 0;
|
560 |
top: 0;
|
561 |
padding: 5px 10px;
|
568 |
-moz-border-radius: 5px;
|
569 |
border-radius: 5px;
|
570 |
}
|
571 |
+
body .christmas-red span.wpcf7-list-item {
|
572 |
display: inline-block;
|
573 |
height: 32px;
|
574 |
}
|
575 |
+
body .christmas-red .wpcf7-radio .wpcf7-list-item {
|
576 |
background: url(../images/xmas-red/radio.png) no-repeat 0 6px;
|
577 |
}
|
578 |
+
body .christmas-red .wpcf7-radio .wpcf7-list-item.active {
|
579 |
background-position: 0 -27px;
|
580 |
}
|
581 |
+
body .christmas-red .wpcf7-radio .wpcf7-list-item-label {
|
582 |
display: inline-block;
|
583 |
vertical-align: top;
|
584 |
}
|
585 |
+
body .christmas-red span.wpcf7-list-item input[type="radio"] {
|
586 |
width: 30px;
|
587 |
height: 30px;
|
588 |
cursor: pointer;
|
612 |
border:0;*/
|
613 |
|
614 |
}
|
615 |
+
body .christmas-red .wpcf7-response-output {
|
616 |
position: relative;
|
617 |
margin: 0 auto;
|
618 |
}
|
625 |
* 2.3 - Simple
|
626 |
* -----------------------------------------------------------------------------
|
627 |
*/
|
628 |
+
body .christmas-simple {
|
629 |
width: 410px;
|
630 |
padding: 50px 20px 15px 20px;
|
631 |
margin-bottom: 20px;
|
634 |
margin: 75px 0 35px;
|
635 |
|
636 |
}
|
637 |
+
body .christmas-simple-container {
|
638 |
width: 425px;
|
639 |
margin: 0 auto;
|
640 |
border-left: dashed 2px #542c0e;
|
641 |
border-right: dashed 2px #542c0e;
|
642 |
background: url(../images/xmas-simple/middle.png) repeat-y center top;
|
643 |
}
|
644 |
+
body .christmas-simple p {
|
645 |
width: 325px;
|
646 |
margin: 15px auto;
|
647 |
}
|
648 |
+
body .christmas-simple p input[type="text"],
|
649 |
+
body .christmas-simple p input[type="email"],
|
650 |
+
body .christmas-simple p input[type="tel"],
|
651 |
+
body .christmas-simple p textarea,
|
652 |
+
body .christmas-simple p input[type="text"]:hover,
|
653 |
+
body .christmas-simple p input[type="email"]:hover,
|
654 |
+
body .christmas-simple p input[type="tel"]:hover,
|
655 |
+
body .christmas-simple p textarea:hover,
|
656 |
+
body .christmas-simple p input[type="text"]:focus,
|
657 |
+
body .christmas-simple p input[type="email"]:focus,
|
658 |
+
body .christmas-simple p input[type="tel"]:focus,
|
659 |
+
body .christmas-simple p textarea:focus {
|
660 |
width: 94%;
|
661 |
background: transparent;
|
662 |
border: dashed 2px #7d5f48;
|
663 |
}
|
664 |
+
body .christmas-simple textarea {
|
665 |
height: 110px;
|
666 |
resize: vertical;
|
667 |
}
|
668 |
+
body .christmas-simple .header,
|
669 |
+
body .christmas-simple .footer {
|
670 |
width: 425px;
|
671 |
height: 35px;
|
672 |
margin: 0 auto;
|
676 |
position: absolute;
|
677 |
left: -2px;
|
678 |
}
|
679 |
+
body .christmas-simple .header {
|
680 |
background-position: 1px 1px;
|
681 |
border-radius: 12px 12px 0 0;
|
682 |
left: -2px;
|
683 |
top: -35px;
|
684 |
width: 421px;
|
685 |
}
|
686 |
+
body .christmas-simple .footer {
|
687 |
background: url( '../images/xmas-simple/footer.png' ) no-repeat center top;
|
688 |
border-bottom: 2px dashed #542c0e;
|
689 |
border-radius: 0 0 20px 20px;
|
692 |
padding-bottom: 3px;
|
693 |
width: 421px;
|
694 |
}
|
695 |
+
body .christmas-simple .ribbon {
|
696 |
width: 182px;
|
697 |
height: 202px;
|
698 |
position: absolute;
|
700 |
right: -118px;
|
701 |
top: -85px;
|
702 |
}
|
703 |
+
body .christmas-simple div.wpcf7-response-output {
|
704 |
width: 360px;
|
705 |
margin: 0 auto;
|
706 |
border: none;
|
707 |
color: #ee0000;
|
708 |
}
|
709 |
+
body .christmas-simple .wpcf7-submit,
|
710 |
+
body .christmas-simple input[type="submit"] {
|
711 |
background: #e7e3d0;
|
712 |
color: #555;
|
713 |
border-top: solid 1px #fff;
|
720 |
-webkit-box-shadow: -3px 3px 9px 1px #999;
|
721 |
box-shadow: -3px 3px 9px 1px #999;
|
722 |
}
|
723 |
+
body .christmas-simple input[type='submit']:hover {
|
724 |
border-top: solid 1px #fff;
|
725 |
background: #e7e3d0;
|
726 |
color: #000;
|
731 |
/**
|
732 |
* Fix Error tooltips position
|
733 |
*/
|
734 |
+
body .christmas-simple span.wpcf7-not-valid-tip {
|
735 |
top: -4px;
|
736 |
left: 2px;
|
737 |
height: 30px;
|
743 |
border: none;
|
744 |
}
|
745 |
/*Christmas clasic - unique*/
|
746 |
+
body .christmas-classic .wpcf7-not-valid-tip{
|
747 |
width: 100%;
|
748 |
background: transparent;
|
749 |
}
|
754 |
* 3.1 - Twenty fiffteen like
|
755 |
* -----------------------------------------------------------------------------
|
756 |
*/
|
757 |
+
body .twenty-fifteen-pattern {
|
758 |
padding-top: 1.6842em;
|
759 |
}
|
760 |
+
body .twenty-fifteen-pattern p {
|
761 |
font-size: 1.6rem;
|
762 |
margin-bottom: 1.6842em;
|
763 |
color: rgba(51, 51, 51, 0.7);
|
768 |
line-height: 1.5;
|
769 |
text-transform: uppercase;
|
770 |
}
|
771 |
+
body .twenty-fifteen-pattern input[type="text"],
|
772 |
+
body .twenty-fifteen-pattern input[type="email"],
|
773 |
+
body .twenty-fifteen-pattern input[type="url"],
|
774 |
+
body .twenty-fifteen-pattern input[type="submit"],
|
775 |
+
body .twenty-fifteen-pattern textarea {
|
776 |
width: 100%;
|
777 |
padding: 0.5278em;
|
778 |
line-height: normal;
|
791 |
box-sizing: border-box;
|
792 |
|
793 |
}
|
794 |
+
body .twenty-fifteen-pattern input:focus,
|
795 |
+
body .twenty-fifteen-pattern textarea:focus {
|
796 |
border: 1px solid rgba(51, 51, 51, 0.3);
|
797 |
color: #333;
|
798 |
background-color: #fff;
|
799 |
}
|
800 |
+
body .twenty-fifteen-pattern button,
|
801 |
+
body .twenty-fifteen-pattern input[type="button"],
|
802 |
+
body .twenty-fifteen-pattern input[type="reset"],
|
803 |
+
body .twenty-fifteen-pattern input[type="submit"] {
|
804 |
font-size: 1.6rem;
|
805 |
padding: 0.8125em 1.625em;
|
806 |
background-color: #333;
|
812 |
text-transform: uppercase;
|
813 |
width: 100%;
|
814 |
}
|
815 |
+
body .twenty-fifteen-pattern button:hover,
|
816 |
+
body .twenty-fifteen-pattern input[type="button"]:hover,
|
817 |
+
body .twenty-fifteen-pattern input[type="reset"]:hover,
|
818 |
+
body .twenty-fifteen-pattern input[type="submit"]:hover {
|
819 |
background-color: rgba(51, 51, 51, 0.7);
|
820 |
outline: 0 none;
|
821 |
+
}
|
readme.txt
CHANGED
@@ -47,6 +47,12 @@ You will find 'Contact Style' menu in your WordPress admin panel.
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
= 2.2.4 =
|
51 |
* New feature - ability to add your own custom css rules
|
52 |
* [Fixed](https://wordpress.org/support/topic/textarea-height-and-submit-width) textarea and submit button on focus issue
|
@@ -109,6 +115,7 @@ You will find 'Contact Style' menu in your WordPress admin panel.
|
|
109 |
* First plugin version.
|
110 |
|
111 |
== Upgrade Notice ==
|
112 |
-
= Contact Form 7 Style Version 2.2.
|
113 |
-
*
|
114 |
-
* [Fixed](https://wordpress.org/support/topic/
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 2.2.5 =
|
51 |
+
* [Fixed](https://wordpress.org/support/topic/avada-theme-5) Avada Theme Fusion Page Builder incompatibility issue
|
52 |
+
* [Fixed](https://wordpress.org/support/topic/good-morning-1) Contact form 7 shortcode detection for Flatco - Multipurpose & Responsive WordPress Theme
|
53 |
+
* Improve plugin installer process
|
54 |
+
|
55 |
+
|
56 |
= 2.2.4 =
|
57 |
* New feature - ability to add your own custom css rules
|
58 |
* [Fixed](https://wordpress.org/support/topic/textarea-height-and-submit-width) textarea and submit button on focus issue
|
115 |
* First plugin version.
|
116 |
|
117 |
== Upgrade Notice ==
|
118 |
+
= Contact Form 7 Style Version 2.2.5 =
|
119 |
+
* [Fixed](https://wordpress.org/support/topic/avada-theme-5) Avada Theme Fusion Page Builder incompatibility issue
|
120 |
+
* [Fixed](https://wordpress.org/support/topic/good-morning-1) Contact form 7 shortcode detection for Flatco - Multipurpose & Responsive WordPress Theme
|
121 |
+
* Improve plugin installer process
|