Sección nueva de Russian Desk con menú horizontal
git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@7 c22fe52d-42d7-ba4f-95f7-33effcf65713
This commit is contained in:
parent
ff6fd29756
commit
d3a500f2d8
@ -181,6 +181,24 @@
|
||||
<?php endif ?>
|
||||
|
||||
<div class="boxed-layout">
|
||||
<?php if ( is_page_template('template-russian-desk.php') ) { ?>
|
||||
<!-- Russian desk menu -->
|
||||
<div class="fixed-header-box">
|
||||
<?php if (has_nav_menu('russian-desk-menu')) { ?>
|
||||
<div class="section-header section-helper light">
|
||||
<div class="container_16">
|
||||
<div class="grid_5"> </div><!-- / .grid_5 -->
|
||||
<div class="grid_11">
|
||||
<nav class="section-nav">
|
||||
<?php wp_nav_menu(array('fallback_cb' => 'wp_page_menu', 'depth' => 0, 'theme_location' => 'russian-desk-menu' )); ?>
|
||||
</nav>
|
||||
</div><!-- / .grid_11 -->
|
||||
</div><!-- / .container_16 -->
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<?php } ?>
|
||||
<div class="clearboth"></div>
|
||||
<?php } ?>
|
||||
<div class="slider-helper <?php echo wpv_get_option('slider-helper-style')?> <?php if(wpv_get_option('slider-helper-classic')) echo 'classic'?>">
|
||||
<div class="slider-shadow"></div>
|
||||
</div>
|
||||
|
||||
7
www/template-russian-desk.php
Normal file
7
www/template-russian-desk.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/* Template Name: Russian Desk */
|
||||
|
||||
include('page.php') ;
|
||||
|
||||
?>
|
||||
@ -135,6 +135,7 @@ em
|
||||
/* .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')?>;
|
||||
|
||||
@ -2060,6 +2060,7 @@ footer.main-footer.footer-helper.dark .widget {
|
||||
LIGHT Helper elemenets
|
||||
--------------------------------------------------------------------------*/
|
||||
.header-helper.light,
|
||||
.section-helper.light,
|
||||
.body-helper.light,
|
||||
.footer-helper.light {
|
||||
text-shadow: rgba(255,255,255,0.3) 0px 1px 0px;
|
||||
|
||||
@ -388,15 +388,17 @@ nav ul li.current_page_ancestor a, nav ul li.current_page_ancestor a:hover {
|
||||
}
|
||||
|
||||
nav ul ul {
|
||||
/*width: 250px;*/
|
||||
display: none;
|
||||
position: absolute;
|
||||
/*top: 100%;*/
|
||||
top: 48px;
|
||||
left: 0;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
nav ul li.current_page_item ul {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
nav ul ul ul {
|
||||
margin-top: 0px;
|
||||
}
|
||||
@ -490,6 +492,77 @@ nav ul ul ul li {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* Section nav */
|
||||
.section-header {
|
||||
border-bottom: 1px dotted #a8a8a8;
|
||||
}
|
||||
|
||||
nav.section-nav {
|
||||
float: left;
|
||||
margin: 8px 0 8px 133px;
|
||||
}
|
||||
|
||||
nav.section-nav ul li {
|
||||
padding-right: 35px;
|
||||
}
|
||||
|
||||
nav.section-nav ul li a {
|
||||
color: #6D6E6E !important;
|
||||
}
|
||||
|
||||
nav.section-nav ul > li.current_page_item > a,
|
||||
nav.section-nav ul > li.current-menu-parent > a,
|
||||
nav.section-nav ul > li.current-menu-ancestor > a {
|
||||
color: #353535 !important;
|
||||
}
|
||||
|
||||
nav.section-nav ul ul {
|
||||
display: block;
|
||||
background: none !important;
|
||||
left: -118px !important;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
width: 800px !important;
|
||||
}
|
||||
|
||||
nav.section-nav ul ul ul {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
nav.section-nav ul ul li {
|
||||
float: left;
|
||||
height: auto !important;
|
||||
line-height: 2em !important;
|
||||
margin: 0px;
|
||||
padding-right: 20px;
|
||||
background: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
nav.section-nav ul ul li a {
|
||||
background: none !important;
|
||||
border: medium none;
|
||||
padding: 6px 0 8px;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
nav.section-nav ul > li.current_page_item > a,
|
||||
nav.section-nav ul > li.current-menu-parent > a,
|
||||
nav.section-nav ul > li.current-menu-ancestor > a {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
nav.section-nav ul li.current_page_item a,
|
||||
nav.section-nav ul li.current_page_ancestor a {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
nav.section-nav ul > li.current_page_item > ul > li > a:hover,
|
||||
nav.section-nav ul li.current_page_item a:hover,
|
||||
nav.section-nav ul li.current_page_ancestor a:hover {
|
||||
color: #E1BF47 !important;
|
||||
}
|
||||
|
||||
/* -----------------------------------------
|
||||
Slider
|
||||
----------------------------------------- */
|
||||
|
||||
@ -141,10 +141,10 @@ input[type=submit],
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
nav ul ul {font-size: 11px}
|
||||
nav ul ul {font-size: 12px}
|
||||
|
||||
nav ul ul li a {
|
||||
font-size: 11px;
|
||||
font-size: 12px;
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
|
||||
|
||||
@ -224,7 +224,7 @@
|
||||
|
||||
$("nav > div > ul > li:last").css("paddingRight", 0);
|
||||
|
||||
$("nav ul li").each(function (i, o) {
|
||||
$("nav.main-nav ul li").each(function (i, o) {
|
||||
|
||||
$(this).find("ul").css({
|
||||
visibility: "hidden",
|
||||
@ -287,6 +287,22 @@
|
||||
});
|
||||
});
|
||||
|
||||
$("nav.section-nav ul li").each(function (i, o) {
|
||||
$(this).find("ul").css({
|
||||
visibility: "hidden",
|
||||
display: "none",
|
||||
opacity: 0
|
||||
});
|
||||
});
|
||||
|
||||
$("nav.section-nav ul li.current-menu-item, nav.section-nav ul li.current-page-ancestor").each(function (i, o) {
|
||||
$(this).find("ul").css({
|
||||
visibility: "visible",
|
||||
display: "inline",
|
||||
opacity: 1
|
||||
});
|
||||
});
|
||||
|
||||
$("nav ul li ul li:has(ul)").find("a:first").append(" » ");
|
||||
|
||||
$('.post-head a img').parent().addClass('a-reset');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user