From d3a500f2d8f4bcf6c3d228293af0c307e71bc1ec Mon Sep 17 00:00:00 2001 From: david Date: Mon, 15 Apr 2013 16:55:42 +0000 Subject: [PATCH] =?UTF-8?q?Secci=C3=B3n=20nueva=20de=20Russian=20Desk=20co?= =?UTF-8?q?n=20men=C3=BA=20horizontal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@7 c22fe52d-42d7-ba4f-95f7-33effcf65713 --- www/header.php | 18 +++++ www/template-russian-desk.php | 7 ++ www/wpv_theme/assets/css/css_generator.php | 1 + www/wpv_theme/assets/css/default.css | 1 + www/wpv_theme/assets/css/layout.css | 77 +++++++++++++++++++++- www/wpv_theme/assets/css/typography.css | 4 +- www/wpv_theme/assets/js/wpv_theme.js | 18 ++++- 7 files changed, 121 insertions(+), 5 deletions(-) create mode 100644 www/template-russian-desk.php diff --git a/www/header.php b/www/header.php index 41a25ea..c99637b 100644 --- a/www/header.php +++ b/www/header.php @@ -181,6 +181,24 @@
+ + +
+ +
+
+
 
+
+ +
+
+
+
+ +
+
diff --git a/www/template-russian-desk.php b/www/template-russian-desk.php new file mode 100644 index 0000000..9b2a0bc --- /dev/null +++ b/www/template-russian-desk.php @@ -0,0 +1,7 @@ + diff --git a/www/wpv_theme/assets/css/css_generator.php b/www/wpv_theme/assets/css/css_generator.php index a448227..1e57c10 100644 --- a/www/wpv_theme/assets/css/css_generator.php +++ b/www/wpv_theme/assets/css/css_generator.php @@ -135,6 +135,7 @@ em /* .header-slider-wrapper, */ /*.boxed*/ .header-slider-wrapper, .slider-helper, .wpv-slide-wrapper, +.section-helper, .dgrid { background-color: ; background-color: ; diff --git a/www/wpv_theme/assets/css/default.css b/www/wpv_theme/assets/css/default.css index 0fa1595..ce2f960 100644 --- a/www/wpv_theme/assets/css/default.css +++ b/www/wpv_theme/assets/css/default.css @@ -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; diff --git a/www/wpv_theme/assets/css/layout.css b/www/wpv_theme/assets/css/layout.css index e8d5561..ec9c424 100644 --- a/www/wpv_theme/assets/css/layout.css +++ b/www/wpv_theme/assets/css/layout.css @@ -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 ----------------------------------------- */ diff --git a/www/wpv_theme/assets/css/typography.css b/www/wpv_theme/assets/css/typography.css index 426254d..b1cb786 100644 --- a/www/wpv_theme/assets/css/typography.css +++ b/www/wpv_theme/assets/css/typography.css @@ -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; } diff --git a/www/wpv_theme/assets/js/wpv_theme.js b/www/wpv_theme/assets/js/wpv_theme.js index e50776c..10e5c5d 100644 --- a/www/wpv_theme/assets/js/wpv_theme.js +++ b/www/wpv_theme/assets/js/wpv_theme.js @@ -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');