Hacked By AnonymousFox
<?php
/* Font styles */
$main_font = vce_get_font_option( 'main_font' );
$h_font = vce_get_font_option( 'h_font' );
$nav_font = vce_get_font_option( 'nav_font' );
/* Background */
$body_style = vce_get_bg_styles( 'body_style' );
/* Header styling */
$color_top_bar_bg = vce_get_option( 'color_top_bar_bg' );
$color_top_bar_txt = vce_get_option( 'color_top_bar_txt' );
$header_height = absint( vce_get_option( 'header_height' ) );
$logo_position = vce_get_option( 'logo_position' );
$logo_top = isset( $logo_position['padding-bottom'] ) ? absint( $logo_position['padding-bottom'] ) : 0;
$logo_left = isset( $logo_position['padding-right'] ) ? absint( $logo_position['padding-right'] ) : 0;
$color_website_title = vce_get_option( 'color_website_title' );
$color_website_desc = vce_get_option( 'color_website_desc' );
$color_header_bg = vce_get_option( 'color_header_bg' );
$color_header_nav_bg = vce_get_option( 'color_header_nav_bg' );
$color_header_txt = vce_get_option( 'color_header_txt' );
$color_header_acc = vce_get_option( 'color_header_acc' );
$color_header_submenu_bg = vce_get_option( 'color_header_submenu_bg' );
/* Single post/page width */
$single_content_width = vce_get_option( 'single_content_width' );
$single_content_width_full = vce_get_option( 'single_content_width_full' );
$page_content_width = vce_get_option( 'page_content_width' );
$page_content_width_full = vce_get_option( 'page_content_width_full' );
/* Content styling */
$color_box_title_bg = vce_get_option( 'color_box_title_bg' );
$color_box_title_txt = vce_get_option( 'color_box_title_txt' );
$color_box_bg = vce_get_option( 'color_box_bg' );
$color_content_bg = vce_get_option( 'color_content_bg' );
$color_content_title_txt = vce_get_option( 'color_content_title_txt' );
$color_content_txt = vce_get_option( 'color_content_txt' );
$color_content_acc = vce_get_option( 'color_content_acc' );
$color_content_meta = vce_get_option( 'color_content_meta' );
$color_pagination_bg = vce_get_option( 'color_pagination_bg' );
/* Sidebar styling */
$color_widget_title_bg = vce_get_option( 'color_widget_title_bg' );
$color_widget_title_txt = vce_get_option( 'color_widget_title_txt' );
$color_widget_bg = vce_get_option( 'color_widget_bg' );
$color_widget_txt = vce_get_option( 'color_widget_txt' );
$color_widget_acc = vce_get_option( 'color_widget_acc' );
$color_widget_sub = vce_get_option( 'color_widget_sub' );
/*Footer styling */
$color_footer_bg = vce_get_option( 'color_footer_bg' );
$color_footer_title_txt = vce_get_option( 'color_footer_title_txt' );
$color_footer_txt = vce_get_option( 'color_footer_txt' );
$color_footer_acc = vce_get_option( 'color_footer_acc' );
$opacity_fa_big = vce_get_option( 'lay_fa_big_opc' );
$opacity_fa_grid = vce_get_option( 'lay_fa_grid_opc' );
$color_scroll_top = vce_get_option( 'scroll_to_top_color' );
?>
body {
<?php echo $body_style; ?>
}
body,
.mks_author_widget h3,
.site-description,
.meta-category a,
textarea {
font-family: <?php echo $main_font['font-family']; ?>;
font-weight: <?php echo $main_font['font-weight']; ?>;
<?php if ( isset( $main_font['font-style'] ) && !empty( $main_font['font-style'] ) ):?>
font-style: <?php echo $main_font['font-style']; ?>;
<?php endif; ?>
}
h1,h2,h3,h4,h5,h6,
blockquote,
.vce-post-link,
.site-title,
.site-title a,
.main-box-title,
.comment-reply-title,
.entry-title a,
.vce-single .entry-headline p,
.vce-prev-next-link,
.author-title,
.mks_pullquote,
.widget_rss ul li .rsswidget,
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
font-family: <?php echo $h_font['font-family']; ?>;
font-weight: <?php echo $h_font['font-weight']; ?>;
<?php if ( isset( $h_font['font-style'] ) && !empty( $h_font['font-style'] ) ):?>
font-style: <?php echo $h_font['font-style']; ?>;
<?php endif; ?>
}
.main-navigation a,
.sidr a{
font-family: <?php echo $nav_font['font-family']; ?>;
font-weight: <?php echo $nav_font['font-weight']; ?>;
<?php if ( isset( $nav_font['font-style'] ) && !empty( $nav_font['font-style'] ) ):?>
font-style: <?php echo $nav_font['font-style']; ?>;
<?php endif; ?>
}
.vce-single .entry-content,
.vce-single .entry-headline,
.vce-single .entry-footer {
width: <?php echo $single_content_width; ?>px;
}
.vce-page .entry-content,
.vce-page .entry-title-page {
width: <?php echo $page_content_width; ?>px;
}
.vce-sid-none .vce-single .entry-content,
.vce-sid-none .vce-single .entry-headline,
.vce-sid-none .vce-single .entry-footer {
width: <?php echo $single_content_width_full; ?>px;
}
.vce-sid-none .vce-page .entry-content,
.vce-sid-none .vce-page .entry-title-page,
.error404 .entry-content {
width: <?php echo $page_content_width_full; ?>px;
max-width: <?php echo $page_content_width_full; ?>px;
}
body, button, input, select, textarea{
color: <?php echo $color_content_txt; ?>;
}
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title a,
.prev-next-nav a,
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink,
.woocommerce ul.products li.product .price .amount{
color: <?php echo $color_content_title_txt; ?>;
}
a,
.entry-title a:hover,
.vce-prev-next-link:hover,
.vce-author-links a:hover,
.required,
.error404 h4,
.prev-next-nav a:hover,
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover,
.woocommerce ul.products li.product h3:hover,
.woocommerce ul.products li.product h3:hover mark,
.main-box-title a:hover{
color: <?php echo $color_content_acc; ?>;
}
.vce-square,
.vce-main-content .mejs-controls .mejs-time-rail .mejs-time-current,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.vce-button,
.pagination-wapper a,
#vce-pagination .next.page-numbers,
#vce-pagination .prev.page-numbers,
#vce-pagination .page-numbers,
#vce-pagination .page-numbers.current,
.vce-link-pages a,
#vce-pagination a,
.vce-load-more a,
.vce-slider-pagination .owl-nav > div,
.comment-reply-link:hover,
.vce-featured-section a,
.vce-lay-g .vce-featured-info .meta-category a,
.vce-404-menu a,
.vce-post.sticky .meta-image:before,
#vce-pagination .page-numbers:hover,
#bbpress-forums .bbp-pagination .current,
#bbpress-forums .bbp-pagination a:hover,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce ul.products li.product .added_to_cart:hover,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce span.onsale,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.comments-holder .navigation .page-numbers.current,
.vce-lay-a .vce-read-more:hover,
.vce-lay-c .vce-read-more:hover{
background-color: <?php echo $color_content_acc; ?>;
}
#vce-pagination .page-numbers,
.comments-holder .navigation .page-numbers{
background: transparent;
color: <?php echo $color_content_acc; ?>;
border: 1px solid <?php echo $color_content_acc; ?>;
}
.comments-holder .navigation .page-numbers:hover{
background: <?php echo $color_content_acc; ?>;
border: 1px solid <?php echo $color_content_acc; ?>;
}
.bbp-pagination-links a{
background: transparent;
color: <?php echo $color_content_acc; ?>;
border: 1px solid <?php echo $color_content_acc; ?> !important;
}
#vce-pagination .page-numbers.current,
.bbp-pagination-links span.current,
.comments-holder .navigation .page-numbers.current{
border: 1px solid <?php echo $color_content_acc; ?>;
}
.widget_categories .cat-item:before,
.widget_categories .cat-item .count{
background: <?php echo $color_content_acc; ?>;
}
.comment-reply-link,
.vce-lay-a .vce-read-more,
.vce-lay-c .vce-read-more{
border: 1px solid <?php echo $color_content_acc; ?>;
}
.entry-meta div,
.entry-meta div a,
.comment-metadata a,
.meta-category span,
.meta-author-wrapped,
.wp-caption .wp-caption-text,
.widget_rss .rss-date,
.sidebar cite,
.site-footer cite,
.sidebar .vce-post-list .entry-meta div,
.sidebar .vce-post-list .entry-meta div a,
.sidebar .vce-post-list .fn,
.sidebar .vce-post-list .fn a,
.site-footer .vce-post-list .entry-meta div,
.site-footer .vce-post-list .entry-meta div a,
.site-footer .vce-post-list .fn,
.site-footer .vce-post-list .fn a,
#bbpress-forums .bbp-topic-started-by,
#bbpress-forums .bbp-topic-started-in,
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta,
span.bbp-admin-links a,
.bbp-reply-post-date,
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer,
.woocommerce .woocommerce-result-count,
.woocommerce .product_meta{
color: <?php echo $color_content_meta; ?>;
}
.main-box-title, .comment-reply-title, .main-box-head{
background: <?php echo $color_box_title_bg; ?>;
color: <?php echo $color_box_title_txt; ?>;
}
.main-box-title a{
color: <?php echo $color_box_title_txt; ?>;
}
.sidebar .widget .widget-title a{
color: <?php echo $color_box_title_txt; ?>;
}
.main-box,
.comment-respond,
.prev-next-nav{
background: <?php echo $color_box_bg; ?>;
}
.vce-post,
ul.comment-list > li.comment,
.main-box-single,
.ie8 .vce-single,
#disqus_thread,
.vce-author-card,
.vce-author-card .vce-content-outside,
.mks-bredcrumbs-container,
ul.comment-list > li.pingback{
background: <?php echo $color_content_bg; ?>;
}
.mks_tabs.horizontal .mks_tab_nav_item.active{
border-bottom: 1px solid <?php echo $color_content_bg; ?>;
}
.mks_tabs.horizontal .mks_tab_item,
.mks_tabs.vertical .mks_tab_nav_item.active,
.mks_tabs.horizontal .mks_tab_nav_item.active{
background: <?php echo $color_content_bg; ?>;
}
.mks_tabs.vertical .mks_tab_nav_item.active{
border-right: 1px solid <?php echo $color_content_bg; ?>;
}
#vce-pagination,
.vce-slider-pagination .owl-controls,
.vce-content-outside,
.comments-holder .navigation{
background: <?php echo $color_pagination_bg; ?>;
}
.sidebar .widget-title{
background: <?php echo $color_widget_title_bg; ?>;
color: <?php echo $color_widget_title_txt; ?>;
}
.sidebar .widget{
background: <?php echo $color_widget_bg; ?>;
}
.sidebar .widget,
.sidebar .widget li a,
.sidebar .mks_author_widget h3 a,
.sidebar .mks_author_widget h3,
.sidebar .vce-search-form .vce-search-input,
.sidebar .vce-search-form .vce-search-input:focus{
color: <?php echo $color_widget_txt; ?>;
}
.sidebar .widget li a:hover,
.sidebar .widget a,
.widget_nav_menu li.menu-item-has-children:hover:after,
.widget_pages li.page_item_has_children:hover:after{
color: <?php echo $color_widget_acc; ?>;
}
.sidebar .tagcloud a {
border: 1px solid <?php echo $color_widget_acc; ?>;
}
.sidebar .mks_author_link,
.sidebar .tagcloud a:hover,
.sidebar .mks_themeforest_widget .more,
.sidebar button,
.sidebar input[type="button"],
.sidebar input[type="reset"],
.sidebar input[type="submit"],
.sidebar .vce-button,
.sidebar .bbp_widget_login .button{
background-color: <?php echo $color_widget_acc; ?>;
}
.sidebar .mks_author_widget .mks_autor_link_wrap,
.sidebar .mks_themeforest_widget .mks_read_more{
background: <?php echo $color_widget_sub; ?>;
}
.sidebar #wp-calendar caption,
.sidebar .recentcomments,
.sidebar .post-date,
.sidebar #wp-calendar tbody{
color: <?php echo vce_hex2rgba( $color_widget_txt, 0.7 ); ?>;
}
.site-footer{
background: <?php echo $color_footer_bg; ?>;
}
.site-footer .widget-title{
color: <?php echo $color_footer_title_txt; ?>;
}
.site-footer,
.site-footer .widget,
.site-footer .widget li a,
.site-footer .mks_author_widget h3 a,
.site-footer .mks_author_widget h3,
.site-footer .vce-search-form .vce-search-input,
.site-footer .vce-search-form .vce-search-input:focus{
color: <?php echo $color_footer_txt; ?>;
}
.site-footer .widget li a:hover,
.site-footer .widget a,
.site-info a{
color: <?php echo $color_footer_acc; ?>;
}
.site-footer .tagcloud a {
border: 1px solid <?php echo $color_footer_acc; ?>;
}
.site-footer .mks_author_link,
.site-footer .mks_themeforest_widget .more,
.site-footer button,
.site-footer input[type="button"],
.site-footer input[type="reset"],
.site-footer input[type="submit"],
.site-footer .vce-button,
.site-footer .tagcloud a:hover
{
background-color: <?php echo $color_footer_acc; ?>;
}
.site-footer #wp-calendar caption,
.site-footer .recentcomments,
.site-footer .post-date,
.site-footer #wp-calendar tbody,
.site-footer .site-info{
color: <?php echo vce_hex2rgba( $color_footer_txt, 0.7 ); ?>;
}
.top-header,
.top-nav-menu li .sub-menu{
background: <?php echo $color_top_bar_bg; ?>;
}
.top-header,
.top-header a{
color: <?php echo $color_top_bar_txt; ?>;
}
.top-header .vce-search-form .vce-search-input,
.top-header .vce-search-input:focus,
.top-header .vce-search-submit{
color: <?php echo $color_top_bar_txt; ?>;
}
.top-header .vce-search-form .vce-search-input::-webkit-input-placeholder { /* WebKit browsers */
color: <?php echo $color_top_bar_txt; ?>;
}
.top-header .vce-search-form .vce-search-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: <?php echo $color_top_bar_txt; ?>;
}
.top-header .vce-search-form .vce-search-input::-moz-placeholder { /* Mozilla Firefox 19+ */
color: <?php echo $color_top_bar_txt; ?>;
}
.top-header .vce-search-form .vce-search-input:-ms-input-placeholder { /* Internet Explorer 10+ */
color: <?php echo $color_top_bar_txt; ?>;
}
.header-1-wrapper{
height: <?php echo $header_height; ?>px;
padding-top: <?php echo $logo_top; ?>px;
}
.header-2-wrapper,
.header-3-wrapper{
height: <?php echo $header_height; ?>px;
}
.header-2-wrapper .site-branding,
.header-3-wrapper .site-branding{
top: <?php echo $logo_top; ?>px;
<?php if ( vce_get_option( 'rtl_mode' ) ): ?>
right: <?php echo $logo_left; ?>px;
<?php else: ?>
left: <?php echo $logo_left; ?>px;
<?php endif;?>
}
.site-title a, .site-title a:hover{
color: <?php echo $color_website_title;?>;
}
.site-description{
color: <?php echo $color_website_desc;?>;
}
.main-header{
background-color: <?php echo $color_header_bg; ?>;
}
.header-bottom-wrapper{
background: <?php echo $color_header_nav_bg; ?>;
}
.vce-header-ads{
margin: <?php echo ( $header_height-90 )/2; ?>px 0;
}
.header-3-wrapper .nav-menu > li > a{
padding: <?php echo ( $header_height-20 )/2; ?>px 15px;
}
.header-sticky,
.sidr{
<?php if ( vce_get_option( 'header_layout' ) == 3 ):?>
background: <?php echo vce_hex2rgba( $color_header_bg, 0.95 ); ?>;
<?php else: ?>
background: <?php echo vce_hex2rgba( $color_header_nav_bg, 0.95 ); ?>;
<?php endif; ?>
}
.ie8 .header-sticky{
background: <?php echo $color_header_bg; ?>;
}
.main-navigation a,
.nav-menu .vce-mega-menu > .sub-menu > li > a,
.sidr li a,
.vce-menu-parent{
color: <?php echo $color_header_txt; ?>;
}
.nav-menu > li:hover > a,
.nav-menu > .current_page_item > a,
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-ancestor > a,
.main-navigation a.vce-item-selected,
.main-navigation ul ul li:hover > a,
.nav-menu ul .current-menu-item a,
.nav-menu ul .current_page_item a,
.vce-menu-parent:hover,
.sidr li a:hover,
.main-navigation li.current-menu-item.fa:before{
color: <?php echo $color_header_acc; ?>;
}
.nav-menu > li:hover > a,
.nav-menu > .current_page_item > a,
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-ancestor > a,
.main-navigation a.vce-item-selected,
.main-navigation ul ul,
.header-sticky .nav-menu > .current_page_item:hover > a,
.header-sticky .nav-menu > .current-menu-item:hover > a,
.header-sticky .nav-menu > .current-menu-ancestor:hover > a,
.header-sticky .main-navigation a.vce-item-selected:hover{
background-color: <?php echo $color_header_submenu_bg; ?>;
}
.search-header-wrap ul{
border-top: 2px solid <?php echo $color_header_acc; ?>;
}
.vce-border-top .main-box-title{
border-top: 2px solid <?php echo $color_content_acc; ?>;
}
.tagcloud a:hover,
.sidebar .widget .mks_author_link,
.sidebar .widget.mks_themeforest_widget .more,
.site-footer .widget .mks_author_link,
.site-footer .widget.mks_themeforest_widget .more,
.vce-lay-g .entry-meta div,
.vce-lay-g .fn,
.vce-lay-g .fn a{
color: #FFF;
}
.vce-featured-header .vce-featured-header-background{
opacity: <?php echo $opacity_fa_big[1]; ?>
}
.vce-featured-grid .vce-featured-header-background,
.vce-post-big .vce-post-img:after,
.vce-post-slider .vce-post-img:after{
opacity: <?php echo $opacity_fa_grid[1]; ?>
}
.vce-featured-grid .owl-item:hover .vce-grid-text .vce-featured-header-background,
.vce-post-big li:hover .vce-post-img:after,
.vce-post-slider li:hover .vce-post-img:after {
opacity: <?php echo $opacity_fa_grid[2]; ?>
}
#back-top {
background: <?php echo $color_scroll_top; ?>
}
<?php if(!vce_get_option('use_gallery')): ?>
.gallery-item {
display: inline-block;
text-align: center;
vertical-align: top;
width: 100%;
padding: 0.79104477%;
}
.gallery-columns-2 .gallery-item {
max-width: 50%;
}
.gallery-columns-3 .gallery-item {
max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
max-width: 25%;
}
.gallery-columns-5 .gallery-item {
max-width: 20%;
}
.gallery-columns-6 .gallery-item {
max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
max-width: 11.11%;
}
<?php endif; ?>
<?php
/* Generate css for category colors */
$cat_colors = get_option( 'vce_cat_colors' );
if ( !empty( $cat_colors ) ) {
foreach ( $cat_colors as $cat => $color ) {
echo 'a.category-'.$cat.'{ color: '.$color.';}';
echo 'body.category-'.$cat.' .main-box-title, .main-box-title.cat-'.$cat.' { border-top: 2px solid '.$color.';}';
echo '.widget_categories li.cat-item-'.$cat.' .count { background: '.$color.';}';
echo '.widget_categories li.cat-item-'.$cat.':before { background:'.$color.';}';
echo '.vce-featured-section .category-'.$cat.'{ background: '.$color.';}';
echo '.vce-lay-g .vce-featured-info .meta-category a.category-'.$cat.'{ background-color: '.$color.';}';
if ( vce_get_option( 'color_navigation_cat' ) ) {
echo '.main-navigation li.vce-cat-'.$cat.' a:hover { color: '.$color.';}';
}
}
}
/* Apply uppercase options */
$text_upper = vce_get_option( 'text_upper' );
if ( !empty( $text_upper ) ) {
foreach ( $text_upper as $text_class => $val ) {
if ( $val )
echo '.'.$text_class.'{text-transform: uppercase;}';
}
}
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox