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 / checkout / includes / checkout-dynamic-divi-css.php

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

189 lines 8.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Dynamic checkout divi 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-embed-checkout-form .woocommerce .woocommerce-checkout .product-name .remove:hover{
14 color:$primary_color !important;
15 border:1px solid $primary_color !important;
16 }
17 .et_pb_module #wcf-embed-checkout-form .wcf-checkout-header-image img{
18 width: {$header_logo_width}px;
19 }
20 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment input[type=checkbox]:checked:before,
21 .et_pb_module #wcf-embed-checkout-form .woocommerce .woocommerce-shipping-fields [type='checkbox']:checked:before{
22 color: {$primary_color} !important;
23 }
24 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment input[type=radio]:checked:before{
25 background-color: {$primary_color};
26 }
27 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment input[type=checkbox]:focus,
28 .et_pb_module #wcf-embed-checkout-form .woocommerce .woocommerce-shipping-fields [type='checkbox']:focus,
29 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment input[type=radio]:checked:focus,
30 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment input[type=radio]:not(:checked):focus{
31 border-color: {$primary_color} !important;
32 box-shadow: 0 0 2px rgba( " . $r . ',' . $g . ',' . $b . ", .8) !important;
33 }
34 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout label{
35 color: {$field_label_color};
36 }
37 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout #payment div.payment_box{
38 background-color: {$hl_bg_color};
39 font-family: {$input_font_family};
40 font-weight: {$input_font_weight};
41 }
42
43 .et_pb_module #wcf-embed-checkout-form #add_payment_method #payment div.payment_box::before,
44 .et_pb_module #wcf-embed-checkout-form .woocommerce-cart #payment div.payment_box::before,
45 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout #payment div.payment_box::before
46 {
47 border-bottom-color: {$hl_bg_color};
48 border-right-color: transparent;
49 border-left-color: transparent;
50 border-top-color: transparent;
51 position: absolute;
52 }
53
54 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment [type='radio']:checked + label,
55 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment [type='radio']:not(:checked) + label{
56 font-family: {$input_font_family};
57 font-weight: {$input_font_weight};
58 }
59
60 .et_pb_module #wcf-embed-checkout-form #order_review .wcf-custom-coupon-field input[type='text'],
61 .et_pb_module #wcf-embed-checkout-form .woocommerce form .form-row input.input-text,
62 .et_pb_module #wcf-embed-checkout-form .woocommerce form .form-row textarea,
63 .et_pb_module #wcf-embed-checkout-form .select2-container--default .select2-selection--single {
64 color: {$field_color} !important;
65 background-color: {$field_bg_color} !important;
66 border-color: {$field_border_color} !important;
67 padding-top: {$field_tb_padding}px;
68 padding-bottom: {$field_tb_padding}px;
69 padding-left: {$field_lr_padding}px;
70 padding-right: {$field_lr_padding}px;
71 min-height: {$field_input_size} !important;
72 font-family: {$input_font_family};
73 font-weight: {$input_font_weight};
74 }
75 .et_pb_module #wcf-embed-checkout-form.wcf-field-style-one .woocommerce .form-row input[type='text'],
76 .et_pb_module #wcf-embed-checkout-form.wcf-field-style-one .woocommerce .form-row input[type='email'],
77 .et_pb_module #wcf-embed-checkout-form.wcf-field-style-one .woocommerce .form-row input[type='password'],
78 .et_pb_module #wcf-embed-checkout-form.wcf-field-style-one .woocommerce .form-row input[type='tel'],
79 .et_pb_module #wcf-embed-checkout-form.wcf-field-style-one .select2-container--default .select2-selection--single{
80 padding:{$field_tb_padding}px {$field_lr_padding}px !important;
81
82 }
83
84 .et_pb_module #wcf-embed-checkout-form .woocommerce .col2-set .col-1,
85 .et_pb_module #wcf-embed-checkout-form .woocommerce .col2-set .col-2,
86 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout .shop_table,
87 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout #order_review_heading,
88 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout #payment,
89 .et_pb_module #wcf-embed-checkout-form .woocommerce form.checkout_coupon
90 {
91 background-color: {$section_bg_color};
92 border-color: {$box_border_color};
93 font-family: {$input_font_family};
94 font-weight: {$input_font_weight};
95 }
96
97 .et_pb_module #wcf-embed-checkout-form .woocommerce table.shop_table th{
98 color: {$field_label_color};
99 }
100 /*.et_pb_module #wcf-embed-checkout-form .woocommerce .woocommerce-info,
101 .et_pb_module #wcf-embed-checkout-form .woocommerce-message{
102 border-top-color: {$primary_color};
103 background-color: {$hl_bg_color};
104 }*/
105
106 .et_pb_module #wcf-embed-checkout-form .woocommerce a:not(.wcf-next-button){
107 color: {$primary_color} !important;
108 }
109 .et_pb_module #wcf-embed-checkout-form .select2-container--default .select2-selection--single .select2-selection__rendered {
110 color: {$field_color};
111 }
112 .et_pb_module #wcf-embed-checkout-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
113 color: {$field_color};
114 }
115 .et_pb_module #wcf-embed-checkout-form ::-moz-placeholder { /* Firefox 19+ */
116 color: {$field_color};
117 }
118 .et_pb_module #wcf-embed-checkout-form :-ms-input-placeholder { /* IE 10+ */
119 color: {$field_color};
120 }
121 .et_pb_module #wcf-embed-checkout-form :-moz-placeholder { /* Firefox 18- */
122 color: {$field_color};
123 }
124
125 .et_pb_module #wcf-embed-checkout-form .woocommerce form p.form-row label {
126 color: {$field_label_color};
127 font-family: {$input_font_family};
128 font-weight: {$input_font_weight};
129 }
130 .et_pb_module #wcf-embed-checkout-form .woocommerce #order_review button,
131 .et_pb_module #wcf-embed-checkout-form .woocommerce form.woocommerce-form-login .form-row button,
132 .et_pb_module #wcf-embed-checkout-form .woocommerce #order_review button.wcf-btn-small{
133 color: {$submit_color};
134 background: {$submit_bg_color};
135 padding-top: {$submit_tb_padding}px;
136 padding-bottom: {$submit_tb_padding}px;
137 padding-left: {$submit_lr_padding}px;
138 padding-right: {$submit_lr_padding}px;
139 border-color: {$submit_border_color};
140 min-height: {$submit_button_height};
141 font-family: {$button_font_family};
142 font-weight: {$button_font_weight};
143 }
144 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout form.woocommerce-form-login .button,
145 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout form.checkout_coupon .button{
146 background: {$submit_bg_color};
147 border: 1px {$submit_border_color} solid;
148 color: {$submit_color};
149 min-height: {$submit_button_height};
150 font-family: {$button_font_family};
151 font-weight: {$button_font_weight};
152 }
153 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout form.login .button:hover,
154 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout form.checkout_coupon .button:hover,
155 .et_pb_module #wcf-embed-checkout-form .woocommerce #payment #place_order:hover,
156 .et_pb_module #wcf-embed-checkout-form .woocommerce #order_review button.wcf-btn-small:hover{
157 color: {$submit_hover_color};
158 background-color: {$submit_bg_hover_color};
159 border-color: {$submit_border_hover_color};
160 }
161 .et_pb_module #wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .wcf-customer-info-main-wrapper h3,
162 .et_pb_module #wcf-embed-checkout-form .woocommerce h3,
163 .et_pb_module #wcf-embed-checkout-form .woocommerce h3 span,
164 .et_pb_module #wcf-embed-checkout-form .woocommerce-checkout #order_review_heading{
165 color: {$section_heading_color};
166 font-family: {$heading_font_family};
167 font-weight: {$heading_font_weight};
168 }
169 .et_pb_module #wcf-embed-checkout-form .woocommerce-info::before,
170 .et_pb_module #wcf-embed-checkout-form .woocommerce-message::before{
171 color: {$primary_color};
172 }
173 .et_pb_module #wcf-embed-checkout-form {
174 font-family: {$base_font_family};
175 }";
176
177 if ( 'modern-checkout' === $checkout_layout ) {
178 $output .= "
179 .et_pb_module #wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce-checkout table.shop_table {
180 background-color: {$hl_bg_color} !important;
181 }
182 .et_pb_module #wcf-embed-checkout-form.wcf-embed-checkout-form-modern-checkout .woocommerce-checkout #payment div.payment_box{
183 background-color: {$hl_bg_color} !important;
184 }
185 ";
186 }
187
188 $output .= 'img.emoji, img.wp-smiley {}';
189