selectors; return self::general_settings() + TitleSettings::title_settings( self::$widget ) + self::review_tables(); } /** * Widget Field * * @return array */ public static function general_settings() { // The function will Overwrite. return TitleSettings::general_settings(); } /** * Widget Field * * @return array */ public static function review_tables(): array { // The function will Overwrite. return [ 'review_table_start' => [ 'mode' => 'section_start', 'tab' => 'style', 'label' => esc_html__( 'Review Table', 'shopbuilder' ), ], 'table_border' => [ 'mode' => 'group', 'type' => 'border', 'selector' => self::$selectors['table_border'], 'size_units' => [ 'px' ], 'separator' => 'default', ], 'table_label' => [ 'type' => 'html', 'raw' => sprintf( '

%s

', esc_html__( 'Label', 'shopbuilder' ) ), 'content_classes' => 'elementor-panel-heading-title', 'separator' => 'default', ], 'label_typo' => [ 'mode' => 'group', 'type' => 'typography', 'label' => esc_html__( 'Label Typography', 'shopbuilder' ), 'selector' => self::$selectors['label_typo'], ], 'label_color' => [ 'label' => esc_html__( 'Label Color', 'shopbuilder' ), 'type' => 'color', 'selectors' => [ self::$selectors['label_color'] => 'color: {{VALUE}} !important;', ], ], 'label_item_padding' => [ 'label' => esc_html__( 'Item Padding (px)', 'shopbuilder' ), 'type' => 'dimensions', 'size_units' => [ 'px' ], 'selectors' => [ self::$selectors['label_item_padding'] => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ], ], 'label_bg_color' => [ 'label' => esc_html__( 'Background Color', 'shopbuilder' ), 'type' => 'color', 'alpha' => true, 'selectors' => [ self::$selectors['label_bg_color'] => 'background-color: {{VALUE}};', ], ], 'table_body' => [ 'type' => 'html', 'raw' => sprintf( '

%s

', esc_html__( 'Table Body', 'shopbuilder' ) ), 'content_classes' => 'elementor-panel-heading-title', 'separator' => 'default', ], 'body_text_typo' => [ 'mode' => 'group', 'type' => 'typography', 'label' => esc_html__( 'Typography', 'shopbuilder' ), 'selector' => self::$selectors['body_text_typo'], ], 'table_text_color' => [ 'label' => esc_html__( 'Body Text Color', 'shopbuilder' ), 'type' => 'color', 'selectors' => [ self::$selectors['body_text_color'] => 'color: {{VALUE}} !important;', ], ], 'body_item_padding' => [ 'label' => esc_html__( 'Item Padding (px)', 'shopbuilder' ), 'type' => 'dimensions', 'size_units' => [ 'px' ], 'selectors' => [ self::$selectors['body_item_padding'] => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ], ], 'table_footer' => [ 'type' => 'html', 'raw' => sprintf( '

%s

', esc_html__( 'Table Footer', 'shopbuilder' ) ), 'content_classes' => 'elementor-panel-heading-title', 'separator' => 'default', ], 'table_footer_label_typo' => [ 'mode' => 'group', 'type' => 'typography', 'label' => esc_html__( 'Footer Typography', 'shopbuilder' ), 'selector' => self::$selectors['table_footer_label_typo'], ], 'table_footer_label_color' => [ 'label' => esc_html__( 'Label Color', 'shopbuilder' ), 'type' => 'color', 'selectors' => [ self::$selectors['table_footer_label_color'] => 'color: {{VALUE}} !important;', ], ], 'table_footer_text_color' => [ 'label' => esc_html__( 'Value Color', 'shopbuilder' ), 'type' => 'color', 'selectors' => [ self::$selectors['table_footer_text_color'] => 'color: {{VALUE}} !important;', ], ], 'table_footer_item_padding' => [ 'label' => esc_html__( 'Item Padding (px)', 'shopbuilder' ), 'type' => 'dimensions', 'size_units' => [ 'px' ], 'selectors' => [ self::$selectors['table_footer_item_padding'] => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ], ], 'review_table_end' => [ 'mode' => 'section_end', ], ]; } }