PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
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-divi-css.php

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

140 lines 5.4 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 .et_pb_module #wcf-optin-form .woocommerce #payment input[type=checkbox]:checked:before,
14 .et_pb_module #wcf-optin-form .woocommerce .woocommerce-shipping-fields [type='checkbox']:checked:before{
15 color: {$primary_color};
16 }
17 .et_pb_module #wcf-optin-form .woocommerce #payment input[type=radio]:checked:before{
18 background-color: {$primary_color};
19 }
20 .et_pb_module #wcf-optin-form .woocommerce #payment input[type=checkbox]:focus,
21 .et_pb_module #wcf-optin-form .woocommerce .woocommerce-shipping-fields [type='checkbox']:focus,
22 .et_pb_module #wcf-optin-form .woocommerce #payment input[type=radio]:checked:focus,
23 .et_pb_module #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 .et_pb_module #wcf-optin-form .woocommerce-checkout label{
28 color: {$field_label_color};
29 }
30
31 .et_pb_module #wcf-optin-form .woocommerce form .form-row input.input-text,
32 .et_pb_module #wcf-optin-form .woocommerce form .form-row textarea,
33 .et_pb_module #wcf-optin-form .woocommerce form .form-row select,
34 .et_pb_module #wcf-optin-form .woocommerce #order_review .input-text,
35 .et_pb_module #wcf-optin-form #order_review .wcf-custom-coupon-field input[type='text'],
36 .et_pb_module #wcf-optin-form .woocommerce form .form-row input.input-text,
37 .et_pb_module #wcf-optin-form .woocommerce form .form-row textarea,
38 .et_pb_module #wcf-optin-form .select2-container--default .select2-selection--single {
39 color: {$field_color} !important;
40 background-color: {$field_bg_color}!important;
41 border-color: {$field_border_color}!important;
42 padding-top: {$field_tb_padding}px;
43 padding-bottom: {$field_tb_padding}px;
44 padding-left: {$field_lr_padding}px;
45 padding-right: {$field_lr_padding}px;
46 min-height: {$field_input_size}!important;
47 font-family: {$input_font_family};
48 font-weight: {$input_font_weight};
49 }
50
51 .et_pb_module #wcf-optin-form .woocommerce .col2-set .col-1,
52 .et_pb_module #wcf-optin-form .woocommerce .col2-set .col-2,
53 .et_pb_module #wcf-optin-form .woocommerce-checkout .shop_table,
54 .et_pb_module #wcf-optin-form .woocommerce-checkout #order_review_heading,
55 .et_pb_module #wcf-optin-form .woocommerce-checkout #payment,
56 .et_pb_module #wcf-optin-form .woocommerce form.checkout_coupon {
57 font-family: {$input_font_family};
58 font-weight: {$input_font_weight};
59 }
60
61 .et_pb_module #wcf-optin-form .woocommerce table.shop_table th{
62 color: {$field_label_color};
63 }
64
65 .et_pb_module #wcf-optin-form .woocommerce a{
66 color: {$primary_color};
67 }
68 .et_pb_module #wcf-optin-form .select2-container--default .select2-selection--single .select2-selection__rendered {
69 color: {$field_color};
70 }
71 .et_pb_module #wcf-optin-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
72 color: {$field_color};
73 }
74 .et_pb_module #wcf-optin-form ::-moz-placeholder { /* Firefox 19+ */
75 color: {$field_color};
76 }
77 .et_pb_module #wcf-optin-form :-ms-input-placeholder { /* IE 10+ */
78 color: {$field_color};
79 }
80 .et_pb_module #wcf-optin-form :-moz-placeholder { /* Firefox 18- */
81 color: {$field_color};
82 }
83 .et_pb_module #wcf-optin-form .woocommerce form p.form-row label {
84 color: {$field_label_color};
85 font-family: {$input_font_family};
86 font-weight: {$input_font_weight};
87 }
88 .et_pb_module #wcf-optin-form .woocommerce #order_review button,
89 .et_pb_module #wcf-optin-form .woocommerce form.woocommerce-form-login .form-row button,
90 .et_pb_module #wcf-optin-form .woocommerce #order_review button.wcf-btn-small {
91 color: {$submit_color} !important;
92 background-color: {$submit_bg_color}!important;
93 padding-top: {$submit_tb_padding}px;
94 padding-bottom: {$submit_tb_padding}px;
95 padding-left: {$submit_lr_padding}px;
96 padding-right: {$submit_lr_padding}px;
97 border-color: {$submit_border_color}!important;
98 min-height: {$submit_button_height};
99 font-size: {$button_font_size}px;
100 font-family: {$button_font_family};
101 font-weight: {$button_font_weight};
102 width: {$submit_button_width};
103
104 }
105
106 .et_pb_module #wcf-optin-form .woocommerce-checkout form.woocommerce-form-login .button,
107 .et_pb_module #wcf-optin-form .woocommerce-checkout form.checkout_coupon .button{
108 background: {$submit_bg_color};
109 border: 1px {$submit_border_color} solid;
110 color: {$submit_color};
111 min-height: {$submit_button_height};
112 font-family: {$button_font_family};
113 font-weight: {$button_font_weight};
114 }
115 .et_pb_module #wcf-optin-form .woocommerce-checkout form.login .button:hover,
116 .et_pb_module #wcf-optin-form .woocommerce-checkout form.checkout_coupon .button:hover,
117 .et_pb_module #wcf-optin-form .woocommerce #payment #place_order:hover,
118 .et_pb_module #wcf-optin-form .woocommerce #order_review button.wcf-btn-small:hover{
119 color: {$submit_hover_color} !important;
120 background-color: {$submit_bg_hover_color} !important;
121 border-color: {$submit_border_hover_color} !important;
122 }
123 .et_pb_module #wcf-optin-form .woocommerce-info::before,
124 .et_pb_module #wcf-optin-form .woocommerce-message::before{
125 color: {$primary_color};
126 }
127 .et_pb_module #wcf-optin-form {
128 font-family: {$base_font_family};
129 }
130 img.emoji, img.wp-smiley {}
131 ";
132
133 if ( 'custom' == $submit_button_height ) {
134 $output .= "
135 .et_pb_module #wcf-optin-form .woocommerce #order_review #payment button{
136 margin: {$optin_button_position};
137 }
138 ";
139 }
140