diff --git a/htdocs/css/ie.css b/htdocs/css/ie.css index 55a84ae25417df58a0a12bbf0f76096b73444331..ad9e0767625e4fad41309636ea7c35678991eecd 100644 --- a/htdocs/css/ie.css +++ b/htdocs/css/ie.css @@ -21,3 +21,18 @@ height: 100%; background: url('/images/right-bottom-corner.png') bottom right no-repeat; } + +/* -------------------------------------------------- + Menu + -------------------------------------------------- */ +#navigationC ul li a { + background: #e76808 url('/images/menu-top-right.png') no-repeat top right; +} +#navigationC ul ul li a span { + background: url('/images/menu-bottom-right.png') no-repeat bottom right; +} + +#navigationC ul li a span { + display: block; + background: url('/images/menu-bottom-right.png') no-repeat bottom right; +} diff --git a/htdocs/css/sucs.css b/htdocs/css/sucs.css index 6623e922573724ab6bdb1ca4c3c9c5defcbf1340..9bab3707a63bde3f0d0811f2e1b985c702e34050 100644 --- a/htdocs/css/sucs.css +++ b/htdocs/css/sucs.css @@ -160,7 +160,9 @@ a:hover { line-height: 1.5em; font-size: 95%; color: #ffc62b; - background: #e76808 url('/images/menu-top-right.png') no-repeat top right; + background: #e76808; + border-top-right-radius: 7px; + border-bottom-right-radius: 7px; padding-left: 1em; margin-bottom: 2px; } @@ -171,6 +173,7 @@ a:hover { #navigationC ul li a.select { color: #fff0cd; + border-bottom-right-radius: 0; } /* --- Submenu item */ @@ -179,6 +182,8 @@ a:hover { font-weight: normal; padding-left: 2em; background: #ffa405; + border-top-right-radius: 0; + border-bottom-right-radius: 0; color: #d45e08; } @@ -191,13 +196,13 @@ a:hover { } -#navigationC ul ul li a span { - background: url('/images/menu-bottom-right.png') no-repeat bottom right; +#navigationC ul ul li#lastsub a { + border-bottom-right-radius: 7px; } -#navigationC ul li a span { +#navigationC ul li#lastsub a { display: block; - background: url('/images/menu-bottom-right.png') no-repeat bottom right; + border-bottom-right-radius: 7px; } /* -------------------------------------------------- diff --git a/templates/menu.tpl b/templates/menu.tpl index 9ed0c7c075d20dbb5753c15c351704f9ed2ea864..3bb6fc35a433e9bce6783a46d7df3a0979496451 100644 --- a/templates/menu.tpl +++ b/templates/menu.tpl @@ -1,13 +1,13 @@ <div id="navigationC"> <ul> {foreach name=menu from=$menu key=name item=target} - <li>{if is_array($target)}<a href="{$baseurl}/{$name}"{if $select==$name} class="select"{/if}>{$name}</a> + {if is_array($target)}<li><a href="{$baseurl}/{$name}"{if $select==$name} class="select"{/if}>{$name}</a> <ul> {foreach name=submenu from=$target key=subitem item=subname} - <li><a href="{$baseurl}{$subname}"{if $subselect==$subitem} class="select"{/if}>{if $smarty.foreach.submenu.last}<span>{/if}{$subitem}{if $smarty.foreach.submenu.last}</span>{/if}</a></li> + <li{if $smarty.foreach.submenu.last} id="lastsub"{/if}><a href="{$baseurl}{$subname}"{if $subselect==$subitem} class="select"{/if}>{if $smarty.foreach.submenu.last}<span>{/if}{$subitem}{if $smarty.foreach.submenu.last}</span>{/if}</a></li> {/foreach} </ul> - {else}<a href="{$baseurl}{$target}"{if $select==$name} class="select"{/if}><span>{$name}</span></a>{/if}</li> + {else}<li id="lastsub"><a href="{$baseurl}{$target}"{if $select==$name} class="select"{/if}><span>{$name}</span></a>{/if}</li> {/foreach} </ul> </div>