From 6ca6765458f864455446eeceea5d40c403241294 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Thu, 3 Feb 2011 18:42:13 +0000 Subject: [PATCH] Fixed navigation menus in Nebraska style sheet. svn: r16557 --- src/data/Web_Nebraska.css | 99 +++++++++++++-------------------------- 1 file changed, 33 insertions(+), 66 deletions(-) diff --git a/src/data/Web_Nebraska.css b/src/data/Web_Nebraska.css index 22a724046..ba7b420f8 100644 --- a/src/data/Web_Nebraska.css +++ b/src/data/Web_Nebraska.css @@ -204,90 +204,57 @@ p#user_header { background-color:#542; } -/* Navigation +/* Alphabet and Navigation Menus ----------------------------------------------------- */ -div#navigation, div#subnavigation { - width: 100%; - margin: 0; - padding: 0; -} -div#navigation ul, div#subnavigation ul { - list-style:none; - min-width: 900px; - height: 40px; - margin:0; - padding: 0px 0px 0px 16px; - border-bottom: solid 2px #5D835F; -} -div#navigation ul li, div#subnavigation ul li { - float:left; -} -div#navigation ul li a, div#subnavigation ul li a { - display: block; - padding: 12px 16px 14px 1px; - float:left; - font: .8em bold italic small-caps verdana, serif; - color: #000; - text-decoration:none; - margin:0; -} -div#navigation ul li a:hover, div#subnavigation ul li a:hover { - background-color: #C1B398; -} -#navigation ul li.CurrentSection a, #subnavigation ul li.CurrentSection a { - font-size:19px; - margin-top:-6px; - padding-top:11px; - padding-bottom:8px; - border-right:solid 1px #542; - border-left:solid 1px #542; - border-bottom:solid 1px #FFF; - background-color:#FFF; -} -#navigation ul li.CurrentSection a:hover { - background-color:#FFF; -} -#subnavigation ul li.CurrentSection a { - border-width:0 0 1px 0; -} - -/* Alphabet Navigation ------------------------------------------------------ */ -div#alphabet { +div#alphabet, div#navigation, div#subnavigation { width: 100%; margin: 0; background-color: #A97; } -div#alphabet ul { - list-style:none; - min-width:770px; - height:24px; - margin:0; +div#alphabet ul, div#navigation ul, div#subnavigation ul { + list-style: none; + min-width: 770px; + height: 24px; + margin: 0; padding: 0px 0px 0px 16px; border-width: 2px 0px 4px 0px; border-style: solid; border-color: #000; } -div#alphabet ul li:after { - content:" |"; +div#alphabet ul li:after, div#navigation ul li:after, div#subnavigation ul li:after { + content: " |"; } -div#alphabet ul li { - margin:0; - float:left; +div#alphabet ul li, div#navigation ul li, div#subnavigation ul li { + margin: 0; + float: left; } -div#alphabet ul li a { - display:block; +div#alphabet ul li a, div#navigation ul li a, div#subnavigation ul li a { + display: block; padding: 4px 8px 4px 8px; - float:left; - font:bold 16px/100% sans; - margin:0; - text-decoration:none; + float: left; + font: bold 16px/100% sans; + margin: 0; + text-decoration: none; color: #000; } -div#alphabet ul li a:hover { +div#alphabet ul li a:hover, div#navigation ul li a:hover, div#subnavigation ul li a:hover { background-color: #000; color: #FFF; } +div#navigation ul li.CurrentSection a, div#subnavigation ul li.CurrentSection a { + padding: 4px 2px 3px 2px; + border-right: solid 1px #542; + border-left: solid 1px #542; + border-bottom: solid 2px #5D835F; + background-color: #F2F6EE; +} +div#navigation ul li.CurrentSection a:hover { + background-color: #5D835F; + color: #FFF; +} +div#subnavigation ul li.CurrentSection a { + border-width: 0 0 1px 0; +} /* Main Table ----------------------------------------------------- */