Linux hkvL61zh9Vexzf 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 Path : /www/wwwroot/fashion-kingdom.com/wp-content/plugins/miniture-core/options/sections/ |
Current File : /www/wwwroot/fashion-kingdom.com/wp-content/plugins/miniture-core/options/sections/styling.php |
<?php $opt_name = NOVA_FRAMEWORK_VAR; $primary_color = '#FFA832'; $titles_color = '#181818'; $text_color = '#666666'; $border_color = '#ECECEC'; $input_bg_color = '#FFFFFF'; $background_color = '#FFFFFF'; $content_bg_color = '#FFFACD'; $black = '#000000'; $white = '#FFFFFF'; $s_button_color = '#222222'; $header_notice_color = '#000000'; /* Blog */ CSF::createSection( $opt_name, array( 'title' => esc_html__('Styling', 'miniture-core'), 'icon' => 'fa fa-pencil', 'id' => 'styling' ) ); /* Basic Styling */ CSF::createSection( $opt_name, array( 'title' => esc_html__('Basic Styling', 'miniture-core'), // 'icon' => 'el-icon-pencil', 'parent' => 'styling', 'fields' => array( array( 'id' => 'bg_color', 'type' => 'color', 'title' => esc_html__('Body Background Color ', 'miniture-core'), 'default' => $background_color, 'subtitle' => esc_html__("Default: ".$background_color, 'miniture-core'), 'desc' => esc_html__('Body background color', 'miniture-core'), 'transparent' => false, 'class' => 'nova-hide-transparent', 'validate' => 'csf_validate_hex_color_transparent', ), array( 'id' => 'primary_color', 'type' => 'color', 'title' => esc_html__('Primary color ', 'miniture-core'), 'default' => $primary_color, 'subtitle' => esc_html__("Default: ".$primary_color, 'miniture-core'), 'desc' => esc_html__('Accent color', 'miniture-core'), 'transparent' => false, 'class' => 'nova-hide-transparent', 'validate' => 'csf_validate_hex_color_transparent', ), array( 'id' => 'titles_color', 'type' => 'color', 'title' => esc_html__('Titles Color', 'miniture-core'), 'default' => $titles_color, 'subtitle' => esc_html__("Default: ".$titles_color, 'miniture-core'), // 'desc' => esc_html__('Buttons, main links, etc', 'miniture-core'), // 'validate' => 'color', 'transparent' => false, 'class' => 'nova-hide-transparent', 'validate' => 'csf_validate_hex_color_transparent', ), array( 'id' => 'text_color', 'type' => 'color', 'title' => esc_html__('Text Color', 'miniture-core'), 'default' => $text_color, 'subtitle' => esc_html__("Default: ".$text_color, 'miniture-core'), //'validate' => 'color', 'transparent' => false, 'class' => 'nova-hide-transparent', 'validate' => 'csf_validate_hex_color_transparent', ), array( 'id' => 'border_color', 'type' => 'color', 'title' => esc_html__('Border Color', 'miniture-core'), 'default' => $border_color, 'subtitle' => esc_html__("Default: ".$border_color, 'miniture-core'), //'validate' => 'color', 'transparent' => false, 'class' => 'nova-hide-transparent', 'validate' => 'csf_validate_hex_color_transparent', ), ) ) ); /* Buttons */ CSF::createSection( $opt_name, array( 'title' => esc_html__('Buttons/Links', 'miniture-core'), // 'icon' => 'el-icon-edit', 'parent' => 'styling', 'fields' => array( array( 'id' => 'content_link_color', 'type' => 'link_color', 'title' => esc_html__('General link color', 'miniture-core'), 'subtitle' => esc_html__("Default: $black, Hover: $primary_color", 'miniture-core'), // 'validate' => 'color', 'active' => false, 'default' => array( 'color' => $black, 'hover' => $primary_color, ), 'class' => 'nova-hide-transparent', ), array( 'id' => 'primary_button', 'type' => 'color_group', 'title' => esc_html__('Primary Button', 'miniture-core'), 'default' => $white, 'subtitle' => esc_html__("Default: $primary_color, Text: $white", 'miniture-core'), 'transparent' => false, // 'validate' => 'csf_validate_hex_color', 'class' => 'nova-hide-transparent', 'options' => array( 'background' => 'Background', 'text_color' => 'Text Color', ), 'default' => array( 'background' => $primary_color, 'text_color' => $white, ) ), array( 'id' => 'secondary_button', 'type' => 'color_group', 'title' => esc_html__('Secondary Button', 'miniture-core'), 'default' => $s_button_color, 'subtitle' => esc_html__("Default: $black, Text: $white", 'miniture-core'), 'transparent' => false, // 'validate' => 'csf_validate_hex_color', 'class' => 'nova-hide-transparent', 'options' => array( 'background' => 'Background', 'text_color' => 'Text Color', ), 'default' => array( 'background' => $s_button_color, 'text_color' => $white, ) ), array( 'id' => 'button_radius', 'type' => 'slider', 'title' => esc_html__('Button radius', 'miniture-core'), 'desc' => esc_html__('Default: 3 pixels.', 'miniture-core'), 'default' => '3', 'min' => '0', 'step' => '1', 'max' => '100', 'unit' => 'px', ), ) ) ); /* Forms */ CSF::createSection( $opt_name, array( 'title' => esc_html__('Forms', 'miniture-core'), // 'icon' => 'el-icon-edit', 'parent' => 'styling', 'fields' => array( array( 'id' => 'info_forms', 'type' => 'subheading', 'title' => esc_html__('Important:', 'miniture-core'), 'subtitle' => esc_html__('All these options affects contact and comments form.', 'miniture-core') ), array( 'id' => 'field_radius', 'type' => 'slider', 'title' => esc_html__('Field radius', 'miniture-core'), 'desc' => esc_html__('Default: 0 pixels.', 'miniture-core'), 'default' => '0', 'min' => '0', 'step' => '1', 'max' => '100', 'unit' => 'px', ), array( 'id' => 'input_bg_color', 'type' => 'color', 'title' => esc_html__('Input box background color', 'miniture-core'), 'default' => $input_bg_color, 'subtitle' => esc_html__('Default: '.$input_bg_color, 'miniture-core'), // 'validate' => 'color', 'transparent' => false ), array( 'id' => 'input_text_color', 'type' => 'color', 'title' => esc_html__('Input box text color', 'miniture-core'), 'default' => $text_color, 'subtitle' => esc_html__('Default: '.$text_color, 'miniture-core'), // 'validate' => 'color', 'transparent' => false ), array( 'id' => 'label_text_color', 'type' => 'color', 'title' => esc_html__('Label text color', 'miniture-core'), 'default' => $text_color, 'subtitle' => esc_html__('Default: '.$text_color, 'miniture-core'), // 'validate' => 'color', 'transparent' => false ), array( 'id' => 'submit_bg_color', 'type' => 'color', 'title' => esc_html__('Submit button background color', 'miniture-core'), 'default' => $primary_color, 'subtitle' => esc_html__("Default: ".$primary_color, 'miniture-core'), // 'validate' => 'color', 'transparent' => false, // 'class' => 'nova-hide-transparent', 'validate' => 'csf_validate_hex_color', ), array( 'id' => 'submit_text_color', 'type' => 'color', 'title' => esc_html__('Submit button text color', 'miniture-core'), 'default' => $white, 'subtitle' => esc_html__('Default: '.$white, 'miniture-core'), // 'validate' => 'color', 'transparent' => false ), ) ) );