File "panel-css.php"

Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/themes/publisher/includes/styles/classic/blog/panel-css.php
File size: 1.54 KB
MIME-type: text/x-php
Charset: utf-8

<?php

$css_id = $this->get_css_id();

/**
 * =>Color & Style
 */
$theme_color = include PUBLISHER_THEME_PATH . 'includes/options/panel-css-theme_color.php';

$theme_color['color']['selector'][]      = '.section-heading.multi-tab .main-link.active .h-text';
$theme_color['color']['selector'][]      = '.section-heading.multi-tab .main-link:hover .h-text';
$theme_color['color_impo']['selector'][] = '.section-heading .other-link:hover .h-text';
$theme_color['color_impo']['selector'][] = '.bs-pretty-tabs-container:hover .bs-pretty-tabs-more.other-link .h-text';
$theme_color['color_impo']['selector'][] = '.section-heading .bs-pretty-tabs-more.other-link:hover .h-text.h-text';

$fields['theme_color'][ $css_id ] = $theme_color;

unset( $theme_color ); // clean memory

/**
 * -> Widgets
 */
$fields['widget_title_bg_color'][ $css_id ] = array(
	array(
		'selector' => array(
			'.widget .widget-heading',
		),
		'prop'     => array(
			'background-color' => '%%value%%'
		)
	),
	array(
		'selector' => array(
			'.widget .widget-heading:after',
		),
		'prop'     => array(
			'border-top-color' => '%%value%% !important'
		)
	),
);


/**
 * -> Section Headings
 */
$fields['section_title_bg_color'][ $css_id ] = array(
	array(
		'selector' => array(
			'.section-heading',
			'.bs-pretty-tabs-container .bs-pretty-tabs-elements',
		),
		'prop'     => array(
			'background-color' => '%%value%%'
		)
	),
	array(
		'selector' => array(
			'.section-heading:after',
		),
		'prop'     => array(
			'border-top-color' => '%%value%% !important'
		)
	),
);


unset( $css_id );