git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@7 c22fe52d-42d7-ba4f-95f7-33effcf65713
869 lines
28 KiB
PHP
869 lines
28 KiB
PHP
<?php
|
|
// this file generates the admin options css cache
|
|
|
|
ob_start();
|
|
|
|
global $wpv_fonts;
|
|
?>
|
|
|
|
body {
|
|
color: <?php wpvge('primary-font-color') ?>;
|
|
background: <?php wpvge('css_body_background')?>
|
|
<?php if(wpv_get_option('css_body_background_picture') != ''):?>
|
|
url('<?php wpvge('css_body_background_picture')?>')
|
|
<?php wpvge('css_body_background_repeat')?>
|
|
<?php wpvge('css_body_background_attachment')?>
|
|
<?php wpvge('css_body_background_position')?>
|
|
<?php endif ?>;
|
|
}
|
|
|
|
/* Primary font color */
|
|
.slider-helper-dark thead th,
|
|
.body-helper-dark thead th,
|
|
.footer-helper-dark thead th,
|
|
.slider-helper-dark tfoot,
|
|
.body-helper-dark tfoot,
|
|
.footer-helper-dark tfoot {
|
|
color: <?php wpvge('primary-font-color') ?>;
|
|
}
|
|
|
|
|
|
/* primary font / Mako */
|
|
*,
|
|
p,
|
|
.main-container {
|
|
font-weight: <?php wpvge('primary-font-weight')?>;
|
|
font-size: <?php wpvge('primary-font-size')?>px;
|
|
line-height: <?php wpvge('primary-font-lheight')?>px;
|
|
}
|
|
|
|
*,
|
|
p,
|
|
.main-container,
|
|
.accordion.mini .tab,
|
|
.icomment-box,
|
|
.info-pad .category,
|
|
.info-pad .info .description,
|
|
.info-pad .info .description *,
|
|
footer.main-footer,
|
|
footer.main-footer *,
|
|
.wpv-caption .helper-caption-2,
|
|
.wpv-caption .helper-caption-2 * {
|
|
font-family: <?php wpv_font_family('primary-font');?>, sans-serif;
|
|
}
|
|
|
|
|
|
/* secondary font / Arvo */
|
|
|
|
.form-label, label,
|
|
select, input, textarea, button,
|
|
input[type=button],
|
|
input[type=submit],
|
|
label,
|
|
.button,
|
|
.thumbnail-pad span,
|
|
.slogan,
|
|
.thumbnail .name,
|
|
.accordion .tab,
|
|
.tabs .ui-tabs-nav li a,
|
|
thead th,
|
|
tfoot,
|
|
.dropcap1,
|
|
.dropcap2,
|
|
.form-label,
|
|
.info-pad .title,
|
|
.info-snippet,
|
|
.info-snippet a,
|
|
.slogan,
|
|
.slogan a,
|
|
.unapproved,
|
|
.author {
|
|
font-family: <?php wpv_font_family('secondary-font');?>, serif;
|
|
}
|
|
|
|
/* em font - Georgia */
|
|
|
|
cite,
|
|
cite *
|
|
.cite,
|
|
.cite *,
|
|
input[type=text]:focus,
|
|
input[type=email]:focus,
|
|
input[type=password]:focus,
|
|
textarea:focus,
|
|
.more-btn,
|
|
.more-btn span,
|
|
.pagination ul li a.prev-btn,
|
|
.pagination ul li a.next-btn,
|
|
.prev-btn a,
|
|
.next-btn a,
|
|
.sort_by_cat span:first-child,
|
|
.bquote,
|
|
.slogan .description,
|
|
.info-snippet .description,
|
|
.page-header .description,
|
|
blockquote,
|
|
blockquote:after,
|
|
blockquote p,
|
|
.page-content .description,
|
|
.page-content .description p,
|
|
.link-post-format *,
|
|
.grid_172 .description,
|
|
.grid_172 .description p,
|
|
.tweet_user,
|
|
.tweet_user *,
|
|
.tweet_time,
|
|
.tweet_time *,
|
|
.entry-date,
|
|
.entry-utility a,
|
|
.author b a,
|
|
.comment-meta,
|
|
.comment-meta *,
|
|
.comment-author,
|
|
.comment-edit-link,
|
|
#cancel-comment-reply-link,
|
|
em
|
|
/*
|
|
.wpv-caption .helper-caption-1,
|
|
.wpv-caption .helper-caption-1 *
|
|
*/{
|
|
<?php wpv_font('em') ?>
|
|
color: <?php wpvge('em-color') ?>;
|
|
}
|
|
|
|
#main,
|
|
/* .header-slider-wrapper, */
|
|
/*.boxed*/ .header-slider-wrapper,
|
|
.slider-helper, .wpv-slide-wrapper,
|
|
.section-helper,
|
|
.dgrid {
|
|
background-color: <?php wpvge('css_main_content_background')?>;
|
|
background-color: <?php echo wpv_hex2rgba('css_main_content_background', 'css_main_content_opacity')?>;
|
|
background-image: url('<?php wpvge('css_main_content_background_picture') ?>');
|
|
background-repeat: <?php wpvge('css_main_content_background_repeat')?>;
|
|
background-position: <?php wpvge('css_main_content_background_position')?>;
|
|
}
|
|
|
|
.boxed .boxed-layout
|
|
<?php if((wpv_get_option('css_main_content_background') == '') || (wpv_get_option('css_main_content_background') == 'transparent')):?>
|
|
, /*.boxed*/ .header-slider-wrapper,
|
|
.slider-helper,
|
|
.dgrid.halfwidth
|
|
<?php endif; ?>
|
|
{
|
|
background-color: <?php wpvge('css_content_background')?>;
|
|
background-color: <?php echo wpv_hex2rgba('css_content_background', 'css_content_opacity')?>;
|
|
background-image: url('<?php wpvge('css_content_background_picture') ?>');
|
|
background-repeat: <?php wpvge('css_content_background_repeat')?>;
|
|
background-position: <?php wpvge('css_content_background_position')?>;
|
|
}
|
|
|
|
/* Peek boxed layout halfwidth slider is with !important declaration */
|
|
/*.boxed*/ .header-slider-wrapper.style-peek.halfwidth
|
|
{
|
|
background-color: <?php wpvge('css_main_content_background')?> !important;
|
|
background-color: <?php echo wpv_hex2rgba('css_main_content_background', 'css_main_content_opacity')?> !important;
|
|
background-image: url('<?php wpvge('css_main_content_background_picture') ?>') !important;
|
|
background-repeat: <?php wpvge('css_main_content_background_repeat')?> !important;
|
|
background-position: <?php wpvge('css_main_content_background_position')?> !important;
|
|
}
|
|
|
|
<?php if((wpv_get_option('css_main_content_background') == '') || (wpv_get_option('css_main_content_background') == 'transparent')):?>
|
|
/*.boxed*/ .header-slider-wrapper.style-peek.halfwidth
|
|
{
|
|
background-color: <?php wpvge('css_content_background')?> !important;
|
|
background-color: <?php echo wpv_hex2rgba('css_content_background', 'css_content_opacity')?> !important;
|
|
background-image: url('<?php wpvge('css_content_background_picture') ?>') !important;
|
|
background-repeat: <?php wpvge('css_content_background_repeat')?> !important;
|
|
background-position: <?php wpvge('css_content_background_position')?> !important;
|
|
}
|
|
<?php endif; ?>
|
|
|
|
.header-slider-wrapper.style-peek {
|
|
background: none !important;
|
|
}
|
|
|
|
<?php
|
|
$slider_bgcolor = wpv_get_option('css_slider_background');
|
|
$slider_bgimage = wpv_get_option('css_slider_background_picture');
|
|
?>
|
|
|
|
.header-slider-wrapper,
|
|
.slider-helper {
|
|
<?php if( ($slider_bgcolor != '' && $slider_bgcolor != 'transparent') || !empty($slider_bgimage)): ?>
|
|
background: <?php echo $slider_bgcolor?>
|
|
<?php if($slider_bgimage != ''):?>
|
|
url('<?php wpvge('css_slider_background_picture')?>')
|
|
<?php wpvge('css_slider_background_repeat')?>
|
|
<?php wpvge('css_slider_background_position')?>
|
|
<?php endif ?> !important;
|
|
<?php endif ?>
|
|
}
|
|
|
|
<?php if($slider_bgcolor != 'transparent'): ?>
|
|
.header-slider-wrapper .wpv-loading-mask {
|
|
background-color: <?php echo $slider_bgcolor?>;
|
|
}
|
|
<?php endif ?>
|
|
|
|
<?php
|
|
$contentwidth = 940;
|
|
?>
|
|
|
|
aside.left {
|
|
width: <?php echo (int)wpv_get_option('left_sidebar_width')-20 ?>px;
|
|
}
|
|
|
|
aside.right {
|
|
width: <?php echo (int)wpv_get_option('right_sidebar_width')-20 ?>px;
|
|
}
|
|
|
|
header.main-header {
|
|
height: <?php wpvge('header-height')?>px;
|
|
background-color: <?php wpvge('css_header_background')?>;
|
|
background: <?php echo wpv_hex2rgba('css_header_background', 'css_header_background_opacity')?>
|
|
<?php if(wpv_get_option('css_header_background_picture') != ''):?>
|
|
url('<?php wpvge('css_header_background_picture')?>')
|
|
<?php wpvge('css_header_background_repeat')?>
|
|
<?php wpvge('css_header_background_position')?>
|
|
<?php endif ?>;
|
|
}
|
|
|
|
.ie8 header.main-header {
|
|
background: <?php wpvge('css_header_background')?>
|
|
<?php if(wpv_get_option('css_header_background_picture') != ''):?>
|
|
url('<?php wpvge('css_header_background_picture')?>')
|
|
<?php wpvge('css_header_background_repeat')?>
|
|
<?php wpvge('css_header_background_position')?>
|
|
<?php endif ?>;
|
|
}
|
|
|
|
.top-nav-box {
|
|
border-top: 4px solid <?php wpvge('accent-color')?>;
|
|
}
|
|
|
|
header.main-header .logo {
|
|
height: <?php wpvge('header-height')?>px;
|
|
<?php wpv_font('logo') ?>
|
|
color: <?php wpvge('logo-color') ?>;
|
|
}
|
|
|
|
footer.main-footer {
|
|
border-bottom: 4px solid <?php wpvge('accent-color')?>;
|
|
}
|
|
|
|
.menu-top.fixed-header { padding-top: <?php echo (int)wpv_get_option('header-height')+34?>px; }
|
|
.no-menu-top.fixed-header { padding-top: <?php echo (int)wpv_get_option('header-height')?>px; }
|
|
|
|
.visiblegrid .wpv-fx-grid-mask .wpv-fx-grid-facet {
|
|
border-color: <?php wpvge('header-slider-gridcolor') ?>;
|
|
}
|
|
|
|
<?php
|
|
$image_sizes = array('small', 'medium', 'large');
|
|
|
|
foreach($image_sizes as $size):
|
|
?>
|
|
.image_size_<?php echo $size?> {
|
|
width: <?php wpvge("image_{$size}_width")?>px;
|
|
height: <?php wpvge("image_{$size}_height")?>px;
|
|
}
|
|
<?php endforeach ?>
|
|
|
|
<?php
|
|
$page_content_widths = array(
|
|
'full' => $contentwidth,
|
|
'left-only' => $contentwidth - (int)wpv_get_option('left_sidebar_width'),
|
|
'right-only' => $contentwidth - (int)wpv_get_option('right_sidebar_width'),
|
|
'left-right' => $contentwidth - (int)wpv_get_option('left_sidebar_width') - (int)wpv_get_option('right_sidebar_width'),
|
|
);
|
|
|
|
include 'grid.php';
|
|
?>
|
|
|
|
.post-thumb {
|
|
width: <?php echo (int)wpv_get_option('post-thumbnail-width')+8 ?>px
|
|
}
|
|
|
|
.logo {
|
|
<?php wpv_font('logo') ?>
|
|
color: <?php wpvge('em-color') ?>;
|
|
}
|
|
|
|
<?php
|
|
for($i=1; $i<=6; $i++):
|
|
$h = "h$i";
|
|
?>
|
|
<?php echo "$h, $h a, $h a:visited"?> {
|
|
<?php wpv_font($h) ?>
|
|
color: <?php wpvge("$h-color")?>;
|
|
}
|
|
<?php endfor; ?>
|
|
|
|
<?php
|
|
$links = array(
|
|
'' => '',
|
|
'#header-sidebars ' => 'header_',
|
|
'#footer-sidebars ' => 'footer_',
|
|
);
|
|
?>
|
|
|
|
<?php foreach($links as $selector=>$substr): ?>
|
|
|
|
<?php echo $selector ?> a,
|
|
<?php echo $selector ?> .more-btn span,
|
|
<?php echo $selector ?> .next-btn span,
|
|
<?php echo $selector ?> .prev-btn span,
|
|
<?php echo $selector ?> .comments-link a b {
|
|
color: <?php wpvge('css_'.$substr.'link_color')?>;
|
|
border-bottom-color: <?php wpvge('css_'.$substr.'link_border_color')?>;
|
|
}
|
|
|
|
<?php echo $selector ?> a:visited {
|
|
color: <?php wpvge('css_'.$substr.'link_visited_color')?>;
|
|
border-bottom-color: <?php wpvge('css_'.$substr.'link_border_color')?>;
|
|
}
|
|
|
|
<?php echo $selector ?> a:hover,
|
|
<?php echo $selector ?> .more-btn:hover span,
|
|
<?php echo $selector ?> .next-btn:hover span,
|
|
<?php echo $selector ?> .prev-btn:hover span,
|
|
<?php echo $selector ?> .toggle_title:hover b,
|
|
<?php echo $selector ?> .toggle_active b,
|
|
<?php echo $selector ?> .accordion.mini .tab:hover,
|
|
<?php echo $selector ?> .accordion .tab:hover,
|
|
<?php echo $selector ?> .comments-link a:hover b,
|
|
<?php echo $selector ?> .sortable a.active,
|
|
<?php echo $selector ?> .vamtam_full a:hover img,
|
|
<?php echo $selector ?> .comments-link a:hover b,
|
|
<?php echo $selector ?> .widget .current_page_item a:hover {
|
|
color: <?php wpvge('css_'.$substr.'link_hover_color')?> !important;
|
|
border-bottom-color: <?php wpvge('css_'.$substr.'link_hover_border_color')?> !important;
|
|
}
|
|
|
|
<?php endforeach ?>
|
|
|
|
.widget .current_page_item a {
|
|
color: <?php wpvge('css_'.$substr.'link_hover_color')?> !important;
|
|
}
|
|
|
|
nav ul > li.current_page_item > a,
|
|
nav ul > li.current_page_item > ul > li > a:hover,
|
|
nav ul > li.current-menu-parent > a,
|
|
nav ul > li.current-menu-ancestor > a {
|
|
color: <?php wpvge('css_header_link_hover_color')?>;
|
|
border-bottom-color: <?php wpvge('css_header_link_hover_border_color')?> !important;
|
|
}
|
|
|
|
.top-nav ul > li.current_page_item > a,
|
|
.top-nav ul > li.current_page_item > ul > li > a:hover,
|
|
.top-nav ul > li.current-menu-parent > a,
|
|
.top-nav ul > li.current-menu-ancestor > a {
|
|
color: <?php wpvge('css_header_link_hover_color')?>;
|
|
background: <?php wpvge('accent-color'); ?>;
|
|
border-bottom: 0 !important;
|
|
}
|
|
|
|
nav {
|
|
color: <?php wpvge('menu-font-color')?>;
|
|
}
|
|
|
|
/*
|
|
Without top-nav
|
|
nav ul li a {
|
|
<?php wpv_font('menu-font')?>
|
|
color: <?php wpvge('menu-font-color')?>;
|
|
line-height: <?php echo wpv_get_option('header-height') ?>px !important;
|
|
}
|
|
*/
|
|
|
|
nav ul li a {
|
|
<?php wpv_font('menu-font')?>
|
|
color: <?php wpvge('menu-font-color')?>;
|
|
/*line-height: <?php echo wpv_get_option('header-height') ?>px !important; */
|
|
/*padding-bottom: <?php echo ((int)wpv_get_option('header-height') / 2)-5 ?>px;*/
|
|
}
|
|
|
|
nav ul > li > a:visited {
|
|
color: <?php wpvge('menu-font-color')?>;
|
|
}
|
|
|
|
nav ul > li:hover > a,
|
|
nav ul > li > a:hover,
|
|
nav > ul > li.current_page_item > a,
|
|
nav > ul > li.current-menu-parent > a,
|
|
nav > ul > li.current-menu-ancestor > a {
|
|
color: <?php wpvge('css_menu_hover_color') ?> !important;
|
|
}
|
|
|
|
nav ul li .sub-menu, nav ul li ul {
|
|
background-color: <?php wpvge('css_header_background')?>;
|
|
background: <?php echo wpv_hex2rgba('css_header_background', 'css_header_background_opacity')?>
|
|
<?php if(wpv_get_option('css_header_background_picture') != ''):?>
|
|
url('<?php wpvge('css_header_background_picture')?>')
|
|
<?php wpvge('css_header_background_repeat')?>
|
|
<?php wpvge('css_header_background_position')?>
|
|
<?php endif ?>;
|
|
}
|
|
|
|
nav .sub-menu li > a,
|
|
nav .sub-menu li > a:visited,
|
|
nav ul li ul li > a,
|
|
nav ul li ul li > a:visited {
|
|
color: <?php wpvge('css_submenu_color') ?>;
|
|
background: <?php wpvge('css_submenu_background') ?>;
|
|
}
|
|
|
|
nav ul .sub-menu li:hover > a,
|
|
nav ul .sub-menu.current_page_item > a,
|
|
nav ul li ul li:hover > a,
|
|
nav ul li ul.current_page_item > a {
|
|
color: <?php wpvge('css_submenu_hover_color') ?> !important;
|
|
background: <?php wpvge('css_submenu_hover_background') ?>;
|
|
}
|
|
|
|
footer.main-footer h4 {
|
|
color: <?php wpvge('css_footer_sidebars_title_color')?>;
|
|
}
|
|
|
|
footer.main-footer {
|
|
background-color: <?php wpvge('css_footer_background')?>;
|
|
background-color: <?php echo wpv_hex2rgba('css_footer_background', 'css_footer_opacity')?>;
|
|
background-image: url('<?php wpvge('css_footer_background_picture') ?>');
|
|
background-repeat: <?php wpvge('css_footer_background_repeat')?>;
|
|
background-attachment: <?php wpvge('css_footer_background_attachment')?>;
|
|
background-position: <?php wpvge('css_footer_background_position')?>;
|
|
color: <?php wpvge('css_footer_color') ?>;
|
|
font-size: <?php wpvge('css_footer_font_size')?>px;
|
|
}
|
|
|
|
.copyrights {
|
|
background-color: <?php wpvge('css_credits_background')?> !important;
|
|
background-image: url('<?php wpvge('css_credits_background_picture') ?>') !important;
|
|
background-repeat: <?php wpvge('css_credits_background_repeat')?> !important;
|
|
background-position: <?php wpvge('css_credits_background_position')?> !important;
|
|
|
|
color: <?php wpvge('css_credits_color')?> !important;
|
|
}
|
|
|
|
.top-nav-box {
|
|
background-color: <?php wpvge('css_tophead_background')?> !important;
|
|
background-image: url('<?php wpvge('css_tophead_background_picture') ?>') !important;
|
|
background-repeat: <?php wpvge('css_tophead_background_repeat')?> !important;
|
|
background-position: <?php wpvge('css_tophead_background_position')?> !important;
|
|
color: <?php wpvge('css_tophead_color')?> !important;
|
|
}
|
|
|
|
.top-nav-box a {
|
|
color: <?php wpvge('css_tophead_link_color')?> !important;
|
|
}
|
|
|
|
.top-nav-box a:hover {
|
|
color: <?php wpvge('css_tophead_link_hover_color')?> !important;
|
|
}
|
|
|
|
.top-nav-box .current_page_item > a,
|
|
.top-nav-box .current-menu-item > a {
|
|
color: <?php wpvge('css_tophead_current_link_color')?> !important;
|
|
}
|
|
|
|
.button {
|
|
color: <?php wpvge('css_button_color')?> !important;
|
|
border-radius: <?php wpvge('css_button_radius')?>px;
|
|
}
|
|
|
|
.button:hover {
|
|
color: <?php wpvge('css_button_hover_color')?> !important;
|
|
}
|
|
|
|
input[type=button],
|
|
input[type=submit] {
|
|
border-radius: <?php wpvge('css_button_radius')?>px;
|
|
}
|
|
|
|
input[type=text],
|
|
input[type=email],
|
|
input[type=password],
|
|
textarea {
|
|
background: <?php wpvge('css_input_text_background')?>;
|
|
color: <?php wpvge('css_input_text_color')?>;
|
|
}
|
|
|
|
input[type=text]:focus,
|
|
input[type=email]:focus,
|
|
input[type=password]:focus,
|
|
textarea:focus {
|
|
background: <?php wpvge('css_input_text_focus_background')?>;
|
|
color: <?php wpvge('css_input_text_focus_color')?>;
|
|
}
|
|
|
|
<?php
|
|
$tab_border = wpv_get_option('css_tab_border_color');
|
|
?>
|
|
|
|
.tabs .ui-tabs-nav {
|
|
border-bottom: 1px solid <?php echo $tab_border?> !important;
|
|
}
|
|
|
|
.tabs.vertical .pane {
|
|
border-top: 1px solid <?php echo $tab_border?> !important;
|
|
border-left: 1px solid <?php echo $tab_border?> !important;
|
|
}
|
|
|
|
.tabs .ui-tabs-nav li a,
|
|
.tabs.vertical .ui-tabs-nav li a {
|
|
border: 1px solid <?php echo $tab_border?> !important;
|
|
color: <?php wpvge('css_tab_color')?>;
|
|
background-color: <?php wpvge('css_tab_background')?>;
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
.tabs.vertical .ui-tabs-nav li:last-child a {
|
|
border: 1px solid <?php echo $tab_border?> !important;
|
|
}
|
|
|
|
<?php
|
|
$active_tab_top = wpv_get_option('css_tab_active_background_top');
|
|
$active_tab_bottom = wpv_get_option('css_tab_active_background_bottom');
|
|
?>
|
|
|
|
.tabs .ui-tabs-nav .ui-state-active a,
|
|
.tabs .ui-tabs-nav .ui-state-selected a,
|
|
.tabs.vertical .ui-tabs-nav .ui-state-active a,
|
|
.tabs.vertical .ui-tabs-nav .ui-state-selected a {
|
|
color: <?php wpvge('css_tab_active_color')?>;
|
|
background-color: <?php echo $active_tab_top?>;
|
|
background-image: -webkit-gradient(linear, left top, left bottom, from(<?php echo $active_tab_top?>), to(<?php echo $active_tab_bottom?>));
|
|
background-image: -webkit-linear-gradient(top, <?php echo $active_tab_top?>, <?php echo $active_tab_bottom?>);
|
|
background-image: -moz-linear-gradient(top, <?php echo $active_tab_top?>, <?php echo $active_tab_bottom?>);
|
|
background-image: -ms-linear-gradient(top, <?php echo $active_tab_top?>, <?php echo $active_tab_bottom?>);
|
|
background-image: -o-linear-gradient(top, <?php echo $active_tab_top?>, <?php echo $active_tab_bottom?>);
|
|
background-image: linear-gradient(top, <?php echo $active_tab_top?>, <?php echo $active_tab_bottom?>);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='<?php echo wpv_grad_filter($active_tab_top)?>', EndColorStr='<?php echo wpv_grad_filter($active_tab_bottom)?>');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='<?php echo wpv_grad_filter($active_tab_top)?>', EndColorStr='<?php echo wpv_grad_filter($active_tab_bottom)?>')";
|
|
}
|
|
|
|
/* accordion */
|
|
|
|
<?php
|
|
$acc_border = wpv_get_option('css_accordion_border_color');
|
|
$acc_pane = wpv_get_option('css_accordion_pane_opacity');
|
|
$acc_top = wpv_get_option('css_accordion_background_top');
|
|
$acc_bottom = wpv_get_option('css_accordion_background_bottom');
|
|
$acc_color = wpv_get_option('css_accordion_color');
|
|
?>
|
|
|
|
.accordion .tab .inner {
|
|
color: <?php echo $acc_color ?>;
|
|
background-color: <?php echo $acc_top?>;
|
|
background-image: -webkit-gradient(linear, left top, left bottom, from(<?php echo $acc_top?>), to(<?php echo $acc_bottom?>));
|
|
background-image: -webkit-linear-gradient(top, <?php echo $acc_top?>, <?php echo $acc_bottom?>);
|
|
background-image: -moz-linear-gradient(top, <?php echo $acc_top?>, <?php echo $acc_bottom?>);
|
|
background-image: -ms-linear-gradient(top, <?php echo $acc_top?>, <?php echo $acc_bottom?>);
|
|
background-image: -o-linear-gradient(top, <?php echo $acc_top?>, <?php echo $acc_bottom?>);
|
|
background-image: linear-gradient(top, <?php echo $acc_top?>, <?php echo $acc_bottom?>);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='<?php echo wpv_grad_filter($acc_top)?>', EndColorStr='<?php echo wpv_grad_filter($acc_bottom)?>');
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='<?php echo wpv_grad_filter($acc_top)?>', EndColorStr='<?php echo wpv_grad_filter($acc_bottom)?>')";
|
|
}
|
|
|
|
.accordion .tab .inner {
|
|
border: 1px solid <?php echo $acc_border?>;
|
|
}
|
|
|
|
.accordion .tab:first-child .inner {
|
|
border: 1px solid <?php echo $acc_border?>;
|
|
}
|
|
|
|
.accordion .pane {
|
|
background: rgba(255,255,255,<?php echo $acc_pane?>);
|
|
}
|
|
|
|
.accordion .pane .inner {
|
|
border: 1px solid <?php echo $acc_border?>;
|
|
}
|
|
|
|
.toggle_title b:hover,
|
|
.toggle_active b {
|
|
border-bottom: 1px solid <?php echo $acc_border?>;
|
|
}
|
|
|
|
.toggle_title,
|
|
.toggle_title * {
|
|
color: <?php wpvge('css_toggle_title_color')?> !important;
|
|
background-color: <?php wpvge('css_toggle_title_background')?> !important;
|
|
}
|
|
.toggle_content {
|
|
color: <?php wpvge('css_toggle_content_color')?> !important;
|
|
background: <?php wpvge('css_toggle_content_background')?> !important;
|
|
}
|
|
|
|
/* header slider */
|
|
|
|
<?php
|
|
$slider_height = (int)wpv_get_option('header-slider-height');
|
|
?>
|
|
|
|
#header-slider {
|
|
height: <?php echo $slider_height?>px;
|
|
}
|
|
|
|
.style-peek .wpv-caption,
|
|
.style-peek .wpv-caption * {
|
|
font-family: <?php wpv_font_family('h1')?> !important;
|
|
font-size: 32px;
|
|
line-height: 1em;
|
|
color: #eee;
|
|
}
|
|
|
|
.style-peek .wpv-view,
|
|
.style-peek .wpv-slide-wrapper {
|
|
width: <?php echo (int)wpv_get_option('content-width')-180?>px !important;
|
|
}
|
|
|
|
.menu-top .style-peek.halfwidth .wpv-nav-next,
|
|
.menu-top .style-peek.halfwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+30+34?>px;
|
|
}
|
|
|
|
.menu-top .style-peek.fullwidth .wpv-nav-next,
|
|
.menu-top .style-peek.fullwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+34?>px;
|
|
}
|
|
|
|
.menu-top.admin-bar .style-peek.halfwidth .wpv-nav-next,
|
|
.menu-top.admin-bar .style-peek.halfwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+30+28+34?>px;
|
|
}
|
|
|
|
.menu-top.admin-bar .style-peek.fullwidth .wpv-nav-next,
|
|
.menu-top.admin-bar .style-peek.fullwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+28+34?>px;
|
|
}
|
|
|
|
.menu-top .style-peek.halfwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+30+34?>px;
|
|
}
|
|
|
|
.menu-top .style-peek.fullwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+34?>px;
|
|
}
|
|
|
|
body.menu-top.admin-bar .style-peek.halfwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+30+28+34?>px;
|
|
}
|
|
|
|
body.menu-top.admin-bar .style-peek.fullwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+28+34?>px;
|
|
}
|
|
|
|
/**/
|
|
|
|
.no-menu-top .style-peek.halfwidth .wpv-nav-next,
|
|
.no-menu-top .style-peek.halfwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+30?>px;
|
|
}
|
|
|
|
.no-menu-top .style-peek.fullwidth .wpv-nav-next,
|
|
.no-menu-top .style-peek.fullwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')?>px;
|
|
}
|
|
|
|
.no-menu-top.admin-bar .style-peek.halfwidth .wpv-nav-next,
|
|
.no-menu-top.admin-bar .style-peek.halfwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+30+28?>px;
|
|
}
|
|
|
|
.no-menu-top.admin-bar .style-peek.fullwidth .wpv-nav-next,
|
|
.no-menu-top.admin-bar .style-peek.fullwidth .wpv-nav-prev {
|
|
top: <?php echo ceil($slider_height/2)+(int)wpv_get_option('header-height')+28?>px;
|
|
}
|
|
|
|
.no-menu-top .style-peek.halfwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+30?>px;
|
|
}
|
|
|
|
.no-menu-top .style-peek.fullwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')?>px;
|
|
}
|
|
|
|
body.admin-bar.no-menu-top .style-peek.halfwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+30+28?>px;
|
|
}
|
|
|
|
body.admin-bar.no-menu-top .style-peek.fullwidth #header-slider-caption-wrapper {
|
|
top: <?php echo ceil($slider_height*0.7)+(int)wpv_get_option('header-height')+28?>px;
|
|
}
|
|
|
|
.style-side-caption #header-slider-caption-wrapper {
|
|
height: <?php echo $slider_height ?>px;
|
|
}
|
|
|
|
.style-side-caption .wpv-caption {
|
|
height: <?php echo $slider_height-40 ?>px;
|
|
}
|
|
|
|
.style-side-caption .wpv-caption .main-caption,
|
|
.style-side-caption .wpv-caption .main-caption a {
|
|
color: <?php wpvge('accent-color')?> !important;
|
|
}
|
|
|
|
.accent-1 {
|
|
color: <?php wpvge('accent-color')?>;
|
|
}
|
|
|
|
/* accent color */
|
|
.accordion .tab.ui-state-active,
|
|
.accordion .tab.ui-state-hover,
|
|
.price .value,
|
|
.info-pad .category,
|
|
.icomment-box,
|
|
.pagination ul li.current {
|
|
color: <?php wpvge('accent-color')?>;
|
|
}
|
|
|
|
.tweet_user,
|
|
.tweet_user *,
|
|
.tweet_user:before {
|
|
color: <?php wpvge('accent-color')?> !important;
|
|
}
|
|
|
|
::selection {
|
|
background: <?php wpvge('accent-color')?>;
|
|
}
|
|
|
|
/*
|
|
.style-peek #header-slider-caption-wrapper {
|
|
background-color: <?php wpvge('accent-color')?>;
|
|
}
|
|
*/
|
|
|
|
.page-header .description {
|
|
color: <?php wpvge("h5-color")?>;
|
|
}
|
|
|
|
.info-snippet,
|
|
.slogan {
|
|
color: <?php wpvge("h6-color")?>;
|
|
}
|
|
|
|
.thumbnail .name,
|
|
.info-snippet a,
|
|
.slogan a,
|
|
.slogan,
|
|
thead th,
|
|
tfoot,
|
|
.value-box .value i,
|
|
.form-label,
|
|
label,
|
|
.style-navigation-preview .wpv-caption .main-caption,
|
|
.style-navigation-preview .wpv-caption .main-caption a {
|
|
color: <?php wpvge("h3-color")?>;
|
|
}
|
|
|
|
.dropcap1 {
|
|
color: <?php wpvge("h2-color")?>;
|
|
}
|
|
|
|
.dropcap2 {
|
|
background: <?php wpvge("h2-color")?>;
|
|
}
|
|
|
|
.entry-date,
|
|
.entry-utility {
|
|
color: <?php wpvge("h6-color")?>;
|
|
}
|
|
|
|
.entry-date,
|
|
.entry-utility a,
|
|
.author b,
|
|
.comment-meta,
|
|
.comment-meta *,
|
|
.comment-edit-link,
|
|
.comment-notes,
|
|
.comments-link a b {
|
|
color: <?php wpvge("h5-color")?>;
|
|
}
|
|
|
|
.style-navigation-preview .wpv-caption .helper-caption-1,
|
|
.style-navigation-preview .wpv-caption .helper-caption-1 *,
|
|
.style-navigation-preview .wpv-nav-prev,
|
|
.style-navigation-preview .wpv-nav-next,
|
|
.style-caption-center .wpv-caption .main-caption,
|
|
.style-caption-center .wpv-caption .main-caption *,
|
|
.style-side-caption .wpv-caption .main-caption,
|
|
.style-side-caption .wpv-caption .main-caption * {
|
|
font-family: <?php wpv_font_family('h1')?> !important;
|
|
}
|
|
|
|
/*
|
|
.style-navigation-preview .wpv-caption .helper-caption-1 h2,
|
|
.style-navigation-preview .wpv-caption .helper-caption-1 h2 a,
|
|
--
|
|
.style-navigation-preview .wpv-caption .helper-caption-1,
|
|
.style-navigation-preview .wpv-caption .helper-caption-1 a,
|
|
.style-face .wpv-nav-prev:hover,
|
|
.style-face .wpv-nav-next:hover,
|
|
.style-face .wpv-nav-pager:hover,
|
|
.style-face #header-slider-caption-wrapper {
|
|
background-color: <?php wpvge('accent-color')?>;
|
|
}
|
|
|
|
.style-face .wpv-caption,
|
|
.style-face .wpv-caption a,
|
|
.style-peek .wpv-caption .main-caption,
|
|
.style-peek .wpv-caption .main-caption * {
|
|
color: #f4f4f4 !important;
|
|
}
|
|
*/
|
|
|
|
.style-face .wpv-caption,
|
|
.style-face .wpv-caption *,
|
|
.slider-shortcode-wrapper.style-gallery .wpv-caption .main-caption,
|
|
.slider-shortcode-wrapper.style-gallery .wpv-caption .main-caption a {
|
|
font-family: <?php wpv_font_family('h1')?> !important;
|
|
}
|
|
|
|
.style-navigation-preview .wpv-caption .helper-caption-1 strong {
|
|
color: <?php wpvge('css_link_color')?>;
|
|
}
|
|
|
|
.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
|
|
.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
|
|
.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderTopRight.png, sizingMethod='scale');}
|
|
.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
|
|
.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
|
|
.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
|
|
.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
|
|
.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=<?php echo WPV_THEME_CSS; ?>colorbox/images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}
|
|
|
|
<?php
|
|
// IE fixes requiring relative path to the theme's image folder
|
|
include 'ie_dynamic.php';
|
|
|
|
global $used_google_fonts, $used_local_fonts, $mocked;
|
|
|
|
$font_imports = '';
|
|
|
|
if(is_array($used_google_fonts) && count($used_google_fonts)) {
|
|
$font_imports .= "@import url('http://fonts.googleapis.com/css?family=".implode('|', $used_google_fonts)."&subset=cyrillic,greek,latin');";
|
|
}
|
|
|
|
if(is_array($used_local_fonts) && count($used_local_fonts)) {
|
|
foreach($used_local_fonts as $font) {
|
|
$font_imports .= "@import url('".WPV_FONTS_URI."$font/stylesheet.css');";
|
|
}
|
|
}
|
|
|
|
if(!isset($mocked)) {
|
|
file_put_contents(WPV_CACHE_DIR.'gfonts.css', $font_imports);
|
|
|
|
wpvge('custom_css');
|
|
|
|
return ob_get_clean();
|
|
} else {
|
|
return array(
|
|
'styles' => ob_get_clean(),
|
|
'imports' => $font_imports,
|
|
);
|
|
}
|