| 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 |
|