| @@ -91,8 +91,15 @@ | ||
| 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 | + ] | |
| 95 | 102 | ] |
| 96 | 103 | ), |
| 97 | 104 | 'font_family' => ElementsHelper::get_font_family_selector( $attributes ), |
| 98 | 105 | 'title' => ElementsHelper::get_rich_text( |
| @@ -100,8 +107,10 @@ | ||
| 100 | 107 | [ |
| 101 | 108 | 'value_path' => 'title', |
| 102 | 109 | 'title' => __( 'Billing title', 'yaymail' ), |
| 103 | 110 | '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', | |
| 104 | 113 | ] |
| 105 | 114 | ), |
| 106 | 115 | 'billing_content_font_size' => ElementsHelper::get_dimension( |
| 107 | 116 | $attributes, |