PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.0.1
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.0.1
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / optin / includes / optin-dynamic-css.php

optin-dynamic-css.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.0.1, at modules/optin/includes/optin-dynamic-css.php

135 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Dynamic checkout css
4 *
5 * @package CartFlows
6 */
7
8 // Exit if accessed directly.
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 $output .= "
13 .wcf-optin-form .woocommerce #payment input[type=checkbox]:checked:before,
14 .wcf-optin-form .woocommerce .woocommerce-shipping-fields [type='checkbox']:checked:before{
15 color: {$primary_color};
16 }
17 .wcf-optin-form .woocommerce #payment input[type=radio]:checked:before{
18 background-color: {$primary_color};
19 }
20 .wcf-optin-form .woocommerce #payment input[type=checkbox]:focus,
21 .wcf-optin-form .woocommerce .woocommerce-shipping-fields [type='checkbox']:focus,
22 .wcf-optin-form .woocommerce #payment input[type=radio]:checked:focus,
23 .wcf-optin-form .woocommerce #payment input[type=radio]:not(:checked):focus{
24 border-color: {$primary_color};
25 box-shadow: 0 0 2px rgba( " . $r . ',' . $g . ',' . $b . ", .8);
26 }
27 .wcf-optin-form .woocommerce-checkout label{
28 color: {$field_label_color};
29 }
30
31 .wcf-optin-form #order_review .wcf-custom-coupon-field input[type='text'],
32 .wcf-optin-form .woocommerce form .form-row input.input-text,
33 .wcf-optin-form .woocommerce form .form-row textarea,
34 .wcf-optin-form .select2-container--default .select2-selection--single {
35 color: {$field_color};
36 background: {$field_bg_color};
37 border-color: {$field_border_color};
38 padding-top: {$field_tb_padding}px;
39 padding-bottom: {$field_tb_padding}px;
40 padding-left: {$field_lr_padding}px;
41 padding-right: {$field_lr_padding}px;
42 min-height: {$field_input_size};
43 font-family: {$input_font_family};
44 font-weight: {$input_font_weight};
45 }
46
47 .wcf-optin-form .woocommerce .col2-set .col-1,
48 .wcf-optin-form .woocommerce .col2-set .col-2,
49 .wcf-optin-form .woocommerce-checkout .shop_table,
50 .wcf-optin-form .woocommerce-checkout #order_review_heading,
51 .wcf-optin-form .woocommerce-checkout #payment,
52 .wcf-optin-form .woocommerce form.checkout_coupon {
53 font-family: {$input_font_family};
54 font-weight: {$input_font_weight};
55 }
56
57 .woocommerce table.shop_table th{
58 color: {$field_label_color};
59 }
60
61 .wcf-optin-form .woocommerce a{
62 color: {$primary_color};
63 }
64 .wcf-optin-form .select2-container--default .select2-selection--single .select2-selection__rendered {
65 color: {$field_color};
66 }
67 .wcf-optin-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
68 color: {$field_color};
69 }
70 .wcf-optin-form ::-moz-placeholder { /* Firefox 19+ */
71 color: {$field_color};
72 }
73 .wcf-optin-form :-ms-input-placeholder { /* IE 10+ */
74 color: {$field_color};
75 }
76 .wcf-optin-form :-moz-placeholder { /* Firefox 18- */
77 color: {$field_color};
78 }
79 .wcf-optin-form .woocommerce form p.form-row label {
80 color: {$field_label_color};
81 font-family: {$input_font_family};
82 font-weight: {$input_font_weight};
83 }
84 .wcf-optin-form .woocommerce #order_review button,
85 .wcf-optin-form .woocommerce form.woocommerce-form-login .form-row button,
86 .wcf-optin-form .woocommerce #order_review button.wcf-btn-small {
87 color: {$submit_color};
88 background: {$submit_bg_color};
89 padding-top: {$submit_tb_padding}px;
90 padding-bottom: {$submit_tb_padding}px;
91 padding-left: {$submit_lr_padding}px;
92 padding-right: {$submit_lr_padding}px;
93 border-color: {$submit_border_color};
94 min-height: {$submit_button_height};
95 font-size: {$button_font_size}px;
96 font-family: {$button_font_family};
97 font-weight: {$button_font_weight};
98 width: {$submit_button_width};
99
100 }
101
102 .wcf-optin-form .woocommerce-checkout form.woocommerce-form-login .button,
103 .wcf-optin-form .woocommerce-checkout form.checkout_coupon .button{
104 background: {$submit_bg_color};
105 border: 1px {$submit_border_color} solid;
106 color: {$submit_color};
107 min-height: {$submit_button_height};
108 font-family: {$button_font_family};
109 font-weight: {$button_font_weight};
110 }
111 .wcf-optin-form .woocommerce-checkout form.login .button:hover,
112 .wcf-optin-form .woocommerce-checkout form.checkout_coupon .button:hover,
113 .wcf-optin-form .woocommerce #payment #place_order:hover,
114 .wcf-optin-form .woocommerce #order_review button.wcf-btn-small:hover{
115 color: {$submit_hover_color};
116 background-color: {$submit_bg_hover_color};
117 border-color: {$submit_border_hover_color};
118 }
119 .wcf-optin-form .woocommerce-info::before,
120 .wcf-optin-form .woocommerce-message::before{
121 color: {$primary_color};
122 }
123 .wcf-optin-form{
124 font-family: {$base_font_family};
125 }
126 img.emoji, img.wp-smiley {}";
127
128 if ( 'custom' == $submit_button_height ) {
129 $output .= "
130 .wcf-optin-form .woocommerce #order_review #payment button{
131 margin: {$optin_button_position};
132 }
133 ";
134 }
135