File: //home/cafsindia/allyindian_com/wp-content/plugins/blog-designer/designer_css.php
<?php
$settings = get_option("wp_blog_designer_settings");
$background = (isset($settings['template_bgcolor']) && $settings['template_bgcolor'] != '') ? $settings['template_bgcolor'] : "";
$templatecolor = (isset($settings['template_color']) && $settings['template_color'] != '') ? $settings['template_color'] : "";
$color = (isset($settings['template_ftcolor']) && $settings['template_ftcolor'] != '') ? $settings['template_ftcolor'] : "";
$linkhover = (isset($settings['template_fthovercolor']) && $settings['template_fthovercolor'] != '') ? $settings['template_fthovercolor'] : "";
$titlecolor = (isset($settings['template_titlecolor']) && $settings['template_titlecolor'] != '') ? $settings['template_titlecolor'] : "";
$contentcolor = (isset($settings['template_contentcolor']) && $settings['template_contentcolor'] != '') ? $settings['template_contentcolor'] : "";
$readmorecolor = (isset($settings['template_readmorecolor']) && $settings['template_readmorecolor'] != '') ? $settings['template_readmorecolor'] : "";
$readmorebackcolor = (isset($settings['template_readmorebackcolor']) && $settings['template_readmorebackcolor'] != '') ? $settings['template_readmorebackcolor'] : "";
$alterbackground = (isset($settings['template_alterbgcolor']) && $settings['template_alterbgcolor'] != '') ? $settings['template_alterbgcolor'] : "";
$titlebackcolor = (isset($settings['template_titlebackcolor']) && $settings['template_titlebackcolor'] != '') ? $settings['template_titlebackcolor'] : "";
$social_icon_style = get_option('social_icon_style');
$template_alternativebackground = get_option('template_alternativebackground');
$template_titlefontsize = get_option('template_titlefontsize');
$content_fontsize = get_option('content_fontsize');
$custom_css = get_option('custom_css');
?>
<style type="text/css">
/**
* Table of Contents
*
* 1.0 - Pagination
* 2.0 - Social Media Icon
* 3.0 - Default Blog Template
* 4.0 - Classical Template
* 5.0 - Light Breeze Template
* 6.0 - Spektrum Template
* 7.0 - Evolution Template
* 8.0 - Timeline Template
* 9.0 - News Template
*
*/
/**
* 1.0 - Pagination
*/
.bd_pagination_box.wl_pagination_box .paging-navigation ul.page-numbers li a.page-numbers:hover,
.bd_pagination_box.wl_pagination_box .paging-navigation ul.page-numbers li > span.current {
<?php echo ($readmorebackcolor != '') ? 'background-color: ' . $readmorebackcolor . ';' : ''; ?>
<?php echo ($readmorecolor != '') ? 'color: ' . $readmorecolor . ';' : ''; ?>
}
.bd_pagination_box.wl_pagination_box .paging-navigation ul.page-numbers li a.page-numbers {
<?php echo ($readmorecolor != '') ? 'background-color: ' . $readmorecolor . ';' : ''; ?>
<?php echo ($readmorebackcolor != '') ? 'color: ' . $readmorebackcolor . ';' : ''; ?>
}
/**
* 2.0 - Social Media Icon
*/
.bdp_blog_template .social-component a {
<?php
if ($social_icon_style == 0) {
echo "border-radius: 100%;";
}
?>
}
/**
* 3.0 - Default Blog Template
*/
.bdp_blog_template .bd-blog-header h2 {
<?php
if ($titlebackcolor != '') {
echo "background: " . $titlebackcolor;
}
?>
}
.blog_template .bd-more-tag-inline {
<?php echo ($readmorecolor != '') ? 'color: ' . $readmorecolor . ';' : ''; ?>
}
<?php if ($titlecolor != '' || $template_titlefontsize != '') { ?>
.bdp_blog_template .bd-blog-header h2 a {
<?php echo ($titlecolor != '') ? 'color: ' . $titlecolor . ';' : ''; ?>
<?php echo ($template_titlefontsize != '') ? 'font-size: ' . $template_titlefontsize . 'px;' : ''; ?>
}
<?php } ?>
.bd-post-content {
<?php echo ($contentcolor != '') ? 'color:' . $contentcolor . ';' : ''; ?>
<?php echo ($content_fontsize != '') ? 'font-size:' . $content_fontsize . 'px;' : ''; ?>
}
.bdp_blog_template .bd-meta-data-box {
<?php echo ($contentcolor != '') ? 'color:' . $contentcolor . ';' : ''; ?>
}
.bdp_blog_template .bd-meta-data-box i {
<?php echo ($titlecolor != '') ? 'color: ' . $titlecolor . ';' : ''; ?>
}
<?php if ($contentcolor != '') { ?>
.bd-metadatabox {
<?php echo ($contentcolor != '') ? 'color:' . $contentcolor . ';' : ''; ?>
}
<?php } ?>
.bd-link-label {
<?php echo ($contentcolor != '') ? 'color:' . $contentcolor . ';' : ''; ?>
}
.bdp_blog_template a.bd-more-tag {
<?php echo ($readmorebackcolor != '') ? 'background-color: ' . $readmorebackcolor . ';' : ''; ?>
<?php echo ($readmorecolor != '') ? 'color: ' . $readmorecolor . ';' : ''; ?>
}
<?php if ($readmorebackcolor != '' || $readmorecolor != '') { ?>
.bdp_blog_template a.bd-more-tag:hover {
<?php echo ($readmorecolor != '') ? 'background-color: ' . $readmorecolor . ';' : ''; ?>
<?php echo ($readmorebackcolor != '') ? 'color: ' . $readmorebackcolor . ';' : ''; ?>
}
<?php } ?>
<?php if ($color != '') { ?>
.bd-tags,
span.bd-category-link,
.bdp_blog_template .bd-categories,
.bd-meta-data-box .bd-metacats,
.bd-meta-data-box .bd-metacats a,
.bd-meta-data-box .bd-metacomments a,
.bdp_blog_template .bd-categories a,
.bd-post-content a,
.bd-tags a,
span.bd-category-link a,
.bdp_blog_template a {
color:<?php echo $color; ?>;
}
<?php } ?>
<?php if ($linkhover != '') { ?>
.bd-meta-data-box .bd-metacats a:hover,
.bd-meta-data-box .bd-metacomments a:hover,
.bdp_blog_template .bd-categories a:hover,
.spektrum .post-bottom .bd-categories a:hover,
.bd-post-content a:hover,
.bd-tags a:hover,
span.bd-category-link a:hover,
.bdp_blog_template a:hover,
.bd-post-content a:hover {
color:<?php echo $linkhover; ?>;
}
<?php } ?>
<?php if ($background != '') { ?>
.bdp_blog_template.evolution,
.bdp_blog_template.lightbreeze {
background: <?php echo $background; ?>;
}
<?php } ?>
<?php
if ($template_alternativebackground == '0') {
if ($alterbackground != '') {
?>
.bdp_blog_template.evolution.alternative-back,
.bdp_blog_template.lightbreeze.alternative-back {
background: <?php echo $alterbackground; ?>;
}
<?php } else { ?>
.bdp_blog_template.evolution.alternative-back,
.bdp_blog_template.lightbreeze.alternative-back {
background: transparent;
}
<?php
}
}
?>
/**
* 4.0 - Classical Template
*/
.bdp_blog_template.classical .bd-blog-header .bd-tags {
<?php echo ($color != '') ? 'color: ' . $color . ';' : ''; ?>
}
/**
* 5.0 - Light Breeze Template
*/
/**
* 6.0 - Spektrum Template
*/
.bdp_blog_template.spektrum .bd-blog-header {
<?php echo ($titlebackcolor != '') ? 'background:' . $titlebackcolor . ';' : ''; ?>
}
<?php if ($titlecolor != '') { ?>
.spektrum .date {
background-color: <?php echo $titlecolor; ?>;
}
<?php
}
if ($color != '') {
?>
.spektrum .post-bottom .bd-categories a {
color: <?php echo $color; ?>;
}
<?php
}
if ($readmorecolor != '') {
?>
.spektrum .details a {
color :<?php echo $readmorecolor; ?>;
}
<?php
}
if ($readmorebackcolor != '') {
?>
.spektrum .details a:hover {
color :<?php echo $readmorebackcolor; ?>;
}
<?php } ?>
/**
* 7.0 - Evolution Template
*/
/**
* 8.0 - Timeline Template
*/
.timeline_bg_wrap:before {
background: none repeat scroll 0 0 <?php echo $templatecolor; ?>;
}
.bd-datetime {
background: none repeat scroll 0 0 <?php echo $templatecolor; ?>;
}
.bdp_blog_template.timeline .post_hentry > i {
<?php echo ($templatecolor != '') ? 'background: ' . $templatecolor . ';' : ''; ?>
}
.bdp_blog_template.timeline:nth-child(2n+1) .post_content_wrap:before,
.bdp_blog_template.timeline:nth-child(2n+1) .post_content_wrap:after {
border-left: 8px solid <?php echo $templatecolor; ?>;
}
.rtl .bdp_blog_template.timeline:nth-child(2n+1) .post_content_wrap:before,
.rtl .bdp_blog_template.timeline:nth-child(2n+1) .post_content_wrap:after {
border-right: 8px solid <?php echo $templatecolor; ?>;
}
.bdp_blog_template.timeline:nth-child(2n) .post_content_wrap:before,
.bdp_blog_template.timeline:nth-child(2n) .post_content_wrap:after {
border-right: 8px solid <?php echo $templatecolor; ?>;
}
.rtl .bdp_blog_template.timeline:nth-child(2n) .post_content_wrap:before,
.rtl .bdp_blog_template.timeline:nth-child(2n) .post_content_wrap:after {
border-left: 8px solid <?php echo $templatecolor; ?>;
}
.post_content_wrap {
border:1px solid <?php echo $templatecolor; ?>;
}
.bdp_blog_template .post_content_wrap .blog_footer {
border-top: 1px solid <?php echo $templatecolor; ?> ;
}
.bdp_blog_template .post-icon {
<?php echo ($titlebackcolor != '') ? 'background:' . $titlebackcolor . ';' : ''; ?>
}
.bdp_blog_template.timeline .desc a h3 {
<?php echo ($titlecolor != '') ? 'color: ' . $titlecolor . ';' : ''; ?>
<?php echo ($titlebackcolor != '') ? 'background:' . $titlebackcolor . ';' : ''; ?>
<?php echo ($template_titlefontsize != '') ? 'font-size: ' . $template_titlefontsize . 'px;' : ''; ?>
}
/**
* 9.0 - News Template
*/
<?php if ($titlecolor != '' || $template_titlefontsize != '') { ?>
.bdp_blog_template.news .bd-blog-header h2.title a{
<?php echo ($titlecolor != '') ? 'color: ' . $titlecolor . ';' : ''; ?>
<?php echo ($template_titlefontsize != '') ? 'font-size: ' . $template_titlefontsize . 'px;' : ''; ?>
}
<?php } ?>
.bdp_blog_template.news .bd-blog-header h2.title{
<?php
if ($titlebackcolor != '') {
echo "background: " . $titlebackcolor;
}
?>
}
<?php echo $custom_css; ?>
</style>