| @@ -91,15 +91,8 @@ | ||
| 91 | 91 | [ |
| 92 | 92 | 'value_path' => 'border_color', |
| 93 | 93 | 'title' => __( 'Table border color', 'yaymail' ), |
| 94 | 94 | 'default_value' => YAYMAIL_COLOR_BORDER_DEFAULT, |
| 95 | - 'conditions' => [ | |
| 96 | - 'condition_1' => [ | |
| 97 | - 'attribute' => 'layout_type', | |
| 98 | - 'comparison' => '!=', | |
| 99 | - 'value' => 'modern', | |
| 100 | - ], | |
| 101 | - ] | |
| 102 | 95 | ] |
| 103 | 96 | ), |
| 104 | 97 | 'font_family' => ElementsHelper::get_font_family_selector( $attributes ), |
| 105 | 98 | 'title' => ElementsHelper::get_rich_text( |
| @@ -107,37 +100,8 @@ | ||
| 107 | 100 | [ |
| 108 | 101 | 'value_path' => 'title', |
| 109 | 102 | 'title' => __( 'Billing title', 'yaymail' ), |
| 110 | 103 | 'default_value' => '<span style="font-size: 20px;font-weight:600;">' . __( 'Billing Address', 'woocommerce' ) . '</span>', |
| 111 | - 'text_color_path' => 'title_color', | |
| 112 | - 'background_color_path' => 'background_color', | |
| 113 | - ] | |
| 114 | - ), | |
| 115 | - 'billing_content_font_size' => ElementsHelper::get_dimension( | |
| 116 | - $attributes, | |
| 117 | - [ | |
| 118 | - 'value_path' => 'billing_content_font_size', | |
| 119 | - 'title' => __( 'Billing content font size', 'yaymail' ), | |
| 120 | - 'default_value' => '14', | |
| 121 | - 'min' => 8, | |
| 122 | - 'max' => 25, | |
| 123 | - 'unit' => 'px', | |
| 124 | - 'type' => 'style', | |
| 125 | - ] | |
| 126 | - ), | |
| 127 | - 'billing_content_alignment' => ElementsHelper::get_align( | |
| 128 | - $attributes, | |
| 129 | - [ | |
| 130 | - 'value_path' => 'billing_content_alignment', | |
| 131 | - 'title' => __( 'Billing content alignment', 'yaymail' ), | |
| 132 | - 'default_value' => 'left', | |
| 133 | - ] | |
| 134 | - ), | |
| 135 | - 'billing_content_text_format' => ElementsHelper::get_text_format_toggles( | |
| 136 | - $attributes, | |
| 137 | - [ | |
| 138 | - 'value_path' => 'billing_content_text_format', | |
| 139 | - 'title' => __( 'Billing address text formatting', 'yaymail' ), | |
| 140 | 104 | ] |
| 141 | 105 | ), |
| 142 | 106 | 'rich_text' => [ |
| 143 | 107 | 'value_path' => 'rich_text', |