X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2Fmenuv3.css;h=5e5a93f5b6a2a0e9210a84a1bde39eedfa246539;hb=f7b22ba3be03a171bb5ac64e1e408fcb3287caf1;hp=cbb2d660920a9810ae96c5ddc199081a83ef74af;hpb=e98e20941b580769e3f4e6e2bcac60a679b7e06b;p=kivitendo-erp.git diff --git a/css/menuv3.css b/css/menuv3.css index cbb2d6609..5e5a93f5b 100644 --- a/css/menuv3.css +++ b/css/menuv3.css @@ -2,15 +2,19 @@ body { behavior:url("css/csshover.htc"); } -#menu{ -width:100%; +#menu { +width:99.8%; float:left; +background:url(../image/bg_css_menu.png) repeat bottom; +border:1px solid; +border-color:#ccc #888 #555 #bbb; } #menu a, #menu h2, #menu div.x { font:11px/16px arial,helvetica,sans-serif; display:block; -border-width:1px; +border:0; +border-right:1px; border-style:solid; border-color:#ccc #888 #555 #bbb; white-space:nowrap; @@ -18,52 +22,79 @@ margin:0; padding:1px 0 1px 3px; } -#menu h2{ +#menu h2 { color:#fff; -background:#000 url(../image/expand3.gif) no-repeat 100% 100%; +padding:0 5px; } -#menu a{ -background:#eee; +#menu a, #menu a:visited, #menu div.x, #menu div.x:visited { +color:#000; text-decoration:none; +padding-right:10px; } -#menu a, #menu a:visited{ -color:#000; +#menu a { +background:#eee; } -#menu a:hover{ +#menu div.x, #menu div.x:visited { +background:#eee url(../image/right.gif) no-repeat right; +} + +#menu a:hover, #menu div.x:hover { color:#a00; -background:#ddd; +background-color:#ddd; } -#menu a:active{ +#menu a:active, #menu div.x:active { color:#060; -background:#ccc; +background-color:#ccc; } -#menu ul{ +#menu ul { list-style:none; margin:0; padding:0; float:left; -width:9em; +min-width:7em; } -#menu li{ +#menu li { position:relative; +float:none; +border:0; +} + +/* IE6 spacing bug fix,
  • s without a bottom border get spaced to far + * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow + * so the only method to get this pile of crap going is to add a bottom border to the
  • s, where the enclosing