%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/themes/flatsome/inc/admin/options/styles/ |
Current File : /home/tradesc/www/relax/wp-content/themes/flatsome/inc/admin/options/styles/options-colors.php |
<?php /** * Style & Colors */ Flatsome_Option::add_section( 'colors', array( 'title' => __( 'Colors', 'flatsome-admin' ), 'panel' => 'style', ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_title_colors_main', 'label' => __( '', 'flatsome-admin' ), 'section' => 'colors', 'default' => '<div class="options-title-divider">Main Colors</div>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_primary', 'label' => __( 'Primary Color', 'flatsome-admin' ), 'description' => __( 'Change primary color.', 'flatsome-admin' ), 'section' => 'colors', 'default' => Flatsome_Default::COLOR_PRIMARY, 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_secondary', 'transport' => $transport, 'label' => __( 'Secondary Color', 'flatsome-admin' ), 'description' => __( 'Change secondary color.', 'flatsome-admin' ), 'default' => Flatsome_Default::COLOR_SECONDARY, 'section' => 'colors', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_success', 'transport' => $transport, 'label' => __( 'Success Color', 'flatsome-admin' ), 'description' => __( 'Change the success color. Used for global success messages.', 'flatsome-admin' ), 'section' => 'colors', 'default' => Flatsome_Default::COLOR_SUCCESS, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_alert', 'transport' => $transport, 'label' => __( 'Alert Color', 'flatsome-admin' ), 'description' => __( 'Change the alert color. Used for global error messages etc.', 'flatsome-admin' ), 'section' => 'colors', 'default' => Flatsome_Default::COLOR_ALERT, ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_title_color_type', 'label' => __( '', 'flatsome-admin' ), 'section' => 'colors', 'default' => '<div class="options-title-divider">Type</div>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_texts', 'label' => __( 'Base Color', 'flatsome-admin' ), 'description' => __( 'Used for all normal texts.', 'flatsome-admin' ), 'section' => 'colors', 'default' => '#777', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'type_headings_color', 'label' => __( 'Headline Color', 'flatsome-admin' ), 'description' => __( 'Used for all headlines on white backgrounds. (H1, H2, H3 etc.)', 'flatsome-admin' ), 'section' => 'colors', 'default' => '#555', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color-alpha', 'settings' => 'color_divider', 'label' => __( 'Divider Color', 'flatsome-admin' ), 'description' => __( 'Used for dividers.', 'flatsome-admin' ), 'section' => 'colors', ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_title_type_links', 'label' => __( '', 'flatsome-admin' ), 'section' => 'colors', 'default' => '<div class="options-title-divider">Links</div>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_links', 'label' => __( 'Link Colors', 'flatsome-admin' ), 'section' => 'colors', 'default' => Flatsome_Default::LINK_COLOR, 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_links_hover', 'label' => __( 'Link Colors :hover', 'flatsome-admin' ), 'section' => 'colors', 'default' => Flatsome_Default::LINK_COLOR_HOVER, 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_widget_links', 'label' => __( 'Widget Link Colors', 'flatsome-admin' ), 'section' => 'colors', 'default' => '', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_widget_links_hover', 'label' => __( 'Widget Link Colors :hover', 'flatsome-admin' ), 'section' => 'colors', 'default' => '', 'transport' => $transport, ) ); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_title_colors_tooltip', 'label' => '', 'section' => 'colors', 'default' => '<div class="options-title-divider">' . esc_html__( 'Tooltip colors', 'flatsome' ) . '</div>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'tooltip_color', 'label' => esc_html__( 'Tooltip color', 'flatsome' ), 'section' => 'colors', 'default' => Flatsome_Default::TOOLTIP_COLOR, 'transport' => flatsome_customizer_transport(), ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'tooltip_bg_color', 'label' => esc_html__( 'Tooltip background color', 'flatsome' ), 'section' => 'colors', 'default' => Flatsome_Default::TOOLTIP_BG_COLOR, 'transport' => flatsome_customizer_transport(), ) ); if ( is_woocommerce_activated() ) { Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_title_colors_shop', 'label' => __( '', 'flatsome-admin' ), 'section' => 'colors', 'default' => '<div class="options-title-divider">Shop Colors</div>', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_checkout', 'label' => __( 'Add to cart / Checkout buttons', 'flatsome-admin' ), 'description' => __( 'Change color for checkout buttons. Default is Secondary color', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_sale', 'label' => __( 'Sale bubble', 'flatsome-admin' ), 'description' => __( 'Change color of sale bubble. Default is Secondary color', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_new_bubble_auto', 'label' => __( 'New bubble (auto)', 'flatsome-admin' ), 'description' => __( 'Change color of the automatic "New" bubble.', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_new_bubble', 'label' => __( 'Custom bubble', 'flatsome-admin' ), 'description' => __( 'Change color of the custom bubble.', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_review', 'label' => __( 'Review Stars', 'flatsome-admin' ), 'description' => __( 'Change color of review stars', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_regular_price', 'label' => __( 'Regular Price', 'flatsome-admin' ), 'description' => __( 'Change color of the regular price of an on sale product.', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_sale_price', 'label' => __( 'Sale Price', 'flatsome-admin' ), 'description' => __( 'Change color of the sale price.', 'flatsome-admin' ), 'section' => 'colors', 'transport' => $transport, ) ); }