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 / beaver-builder / cartflows-bb-optin-form / includes / frontend.css.php

frontend.css.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.3.0, at modules/beaver-builder/cartflows-bb-optin-form/includes/frontend.css.php

128 lines 6.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * BB Order Details Form Module front-end CSS php file.
4 *
5 * @package cartflows
6 */
7
8 //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
9
10 global $post;
11
12 ?>
13
14 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order,
15 .fl-node-<?php echo $id; ?> .wcf-optin-form .woocommerce #order_review button {
16 background-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->global_primary_color ); ?>;
17 border-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->global_primary_color ); ?>;
18 }
19
20 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order:hover,
21 .fl-node-<?php echo $id; ?> .wcf-optin-form .woocommerce #order_review button:hover {
22 background-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->global_primary_color ); ?>;
23 border-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->global_primary_color ); ?>;
24 }
25
26 <?php
27 if ( class_exists( 'FLBuilderCSS' ) ) {
28 FLBuilderCSS::typography_field_rule(
29 array(
30 'settings' => $settings,
31 'setting_name' => 'global_typography',
32 'selector' => ".fl-node-$id .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout label,
33 .fl-node-$id .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout input,
34 .fl-node-$id .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order",
35 )
36 );
37 }
38 ?>
39
40 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout label {
41 color: <?php echo FLBuilderColor::hex_or_rgb( $settings->label_color ); ?>;
42 }
43
44 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout input {
45 background-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->input_bgcolor ); ?>;
46 }
47
48 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout input {
49 color: <?php echo FLBuilderColor::hex_or_rgb( $settings->input_color ); ?> !important;
50 }
51
52 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout input {
53 border-radius: <?php echo ( '' != $settings->input_border_radius ) ? $settings->input_border_radius : '0'; ?>px;
54 }
55
56 <?php if ( 'none' != $settings->input_border_style ) { ?>
57 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout input {
58 border-style: <?php echo ( '' != $settings->input_border_style ) ? $settings->input_border_style : 'solid'; ?>;
59 border-width: <?php echo ( '' != $settings->input_border_width ) ? $settings->input_border_width : '0'; ?>px;
60 border-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->input_border_color ); ?>;
61 }
62
63 <?php } ?>
64
65 <?php
66 if ( class_exists( 'FLBuilderCSS' ) ) {
67 FLBuilderCSS::typography_field_rule(
68 array(
69 'settings' => $settings,
70 'setting_name' => 'input_text_typography',
71 'selector' => ".fl-node-$id .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout label,
72 .fl-node-$id .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout input",
73 )
74 );
75 }
76 ?>
77
78 <?php
79 if ( class_exists( 'FLBuilderCSS' ) ) {
80 FLBuilderCSS::typography_field_rule(
81 array(
82 'settings' => $settings,
83 'setting_name' => 'button_typography',
84 'selector' => ".fl-node-$id .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review #payment button#place_order,
85 .fl-node-$id .wcf-optin-form .woocommerce #order_review #payment button",
86 )
87 );
88 }
89 ?>
90
91 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order,
92 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .woocommerce #order_review button {
93 color: <?php echo FLBuilderColor::hex_or_rgb( $settings->button_text_color ); ?>;
94 background-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->button_bg_color ); ?>;
95 }
96
97 <?php // Button text hover color. ?>
98
99 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order:hover,
100 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .woocommerce #order_review button:hover {
101 color: <?php echo FLBuilderColor::hex_or_rgb( $settings->button_text_hover_color ); ?> !important;
102 background-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->button_bg_hover_color ); ?> !important;
103 border-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->button_border_hover_color ); ?> !important;
104 }
105
106 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order,
107 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .woocommerce #order_review button {
108 border-radius: <?php echo ( '' != $settings->button_border_radius ) ? $settings->button_border_radius : '0'; ?>px;
109 }
110
111 <?php if ( 'none' != $settings->button_border_style ) { ?>
112
113 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order,
114 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .woocommerce #order_review button {
115 border-style: <?php echo ( '' != $settings->button_border_style ) ? $settings->button_border_style : 'solid'; ?>;
116 border-width: <?php echo ( '' != $settings->button_border_width ) ? $settings->button_border_width : '0'; ?>px;
117 border-color: <?php echo FLBuilderColor::hex_or_rgb( $settings->button_border_color ); ?>;
118 }
119
120 <?php } else { ?>
121
122 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .checkout.woocommerce-checkout .wcf-order-wrap #order_review .woocommerce-checkout-payment button#place_order,
123 .fl-node-<?php echo $id; ?> .cartflows-bb__optin-form .wcf-optin-form .woocommerce #order_review button {
124 border-width: 0px !important;
125 }
126
127 <?php } ?>
128