Server IP : 172.67.158.161 / Your IP : 3.12.74.138 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/sieuthiweb.com.vn/wp-content/themes/flatsome/inc/admin/options/styles/ |
Upload File : |
<?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' => '#4e657b', 'transport' => $transport, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color', 'settings' => 'color_links_hover', 'label' => __( 'Link Colors:hover', 'flatsome-admin' ), 'section' => 'colors', 'default' => '#111', '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, ) ); 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', 'label' => __( 'New bubble', 'flatsome-admin' ), 'description' => __( 'Change color of the "New" 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, ) ); }