From f0c9c57ab3a3124507553175c2594b86689f4c2f Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Fri, 14 Sep 2012 16:17:58 +0200 Subject: [PATCH] Menu style fixes --- wp-content/themes/tn-2012/sass/screen.scss | 6 ++++-- wp-content/themes/tn-2012/stylesheets/screen.css | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/tn-2012/sass/screen.scss b/wp-content/themes/tn-2012/sass/screen.scss index b9b9adb..c117eb6 100644 --- a/wp-content/themes/tn-2012/sass/screen.scss +++ b/wp-content/themes/tn-2012/sass/screen.scss @@ -118,12 +118,13 @@ body { li { float: left; + position: relative; &:hover ul, &:focus ul { display:block; z-index:9; color:rgba(255,255,255,1); - background:rgba(0,0,0,0.3); + background:darken($main-color, 10%); } a { @@ -132,10 +133,11 @@ body { padding: 0px 7px 7px; text-decoration: none; border-right: 1px solid #FFFFE1; + position: relative; &:hover, .current { color:rgba(255,255,255,1); - background:rgba(0,0,0,0.3); + background:darken($main-color, 10%); } } diff --git a/wp-content/themes/tn-2012/stylesheets/screen.css b/wp-content/themes/tn-2012/stylesheets/screen.css index e1fc78c..f093b44 100644 --- a/wp-content/themes/tn-2012/stylesheets/screen.css +++ b/wp-content/themes/tn-2012/stylesheets/screen.css @@ -176,12 +176,13 @@ body #site-header #header-container #menu ul ul { } body #site-header #header-container #menu ul li { float: left; + position: relative; } body #site-header #header-container #menu ul li:hover ul, body #site-header #header-container #menu ul li:focus ul { display: block; z-index: 9; color: white; - background: rgba(0, 0, 0, 0.3); + background: #5e3f91; } body #site-header #header-container #menu ul li a { display: block; @@ -189,10 +190,11 @@ body #site-header #header-container #menu ul li a { padding: 0px 7px 7px; text-decoration: none; border-right: 1px solid #FFFFE1; + position: relative; } body #site-header #header-container #menu ul li a:hover, body #site-header #header-container #menu ul li a .current { color: white; - background: rgba(0, 0, 0, 0.3); + background: #5e3f91; } body #site-header #header-container #menu ul li .sub-menu li { position: relative;