X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2Fmenuv3.css;h=939ffa9f1c12a0b4c6259ff3ddf77ea1a47fb15f;hb=0d92e871ca31531d0120a8df52a11dce7253eba0;hp=19a2197e71b0d32cf1161df50facd3927443e66a;hpb=7b818ddcf36c7e2ccfc849ebb68a7ab4ea699a7a;p=kivitendo-erp.git diff --git a/css/menuv3.css b/css/menuv3.css index 19a2197e7..939ffa9f1 100644 --- a/css/menuv3.css +++ b/css/menuv3.css @@ -2,25 +2,19 @@ body { behavior:url("css/csshover.htc"); } -#menu{ +#menu { width:100%; float:left; -background:url(../image/bg_css_menu.png) repeat 100% 100%; -border-right-width:1px; -border-top-width:1px; -border-bottom-width:1px; -border-left-width:0px; -border-style:solid; +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-right-width:1px; -border-left-width:1px; -border-top-width:0px; -border-bottom-width:0px; +border:0; +border-right:1px; border-style:solid; border-color:#ccc #888 #555 #bbb; white-space:nowrap; @@ -28,31 +22,36 @@ margin:0; padding:1px 0 1px 3px; } -#menu h2{ +#menu h2 { color:#fff; -background:#000 url(../image/bg_css_menu.png) 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 div.x, #menu div.x:visited { +background:#eee url(../image/right.gif) no-repeat right; } -#menu a:hover{ +#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; @@ -60,20 +59,32 @@ float:left; 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 */ + +#menu ul ul li { +border:solid; +border-width:0 0 1px 0; } -#menu ul ul{ +#menu ul ul { position:absolute; z-index:500; top:auto; display:none; +/* IE6 event bug fix, a z-indexed layer without some kind of background will lose its events to the layer below */ +background:#000; } -#menu ul ul ul{ +#menu ul ul ul { top:0; left:100%; +background:#000; } /* Begin non-anchor hover selectors */ @@ -84,12 +95,12 @@ older version of csshover.htc - V1.21.041022. It improves IE's performance speed to use the older file and this method */ -div#menu h2:hover{ -background:#A3C5FF url(../image/expand3.gif) no-repeat -999px -9999px; +div#menu h2:hover { +background:#A3C5FF; color:#a00; } -div#menu li:hover{ +div#menu li:hover { cursor:pointer; z-index:100; } @@ -108,36 +119,3 @@ div#menu li li li li:hover ul /* End of non-anchor hover selectors */ -/* Styling for Expand */ - -#menu a.x, #menu a.x:visited{ -/*font-weight:bold;*/ -color:#000; -background:#eee url(../image/right.png) no-repeat 100% right; -} - -#menu a.x:hover{ -color:#fff; -background:#000; -} - -#menu a.x:active{ -color:#060; -background:#ccc; -} - -#menu div.x, #menu div.x:visited{ -/*font-weight:bold;*/ -color:#000; -background:#eee url(../image/right.png) no-repeat 100% 50%; -} - -#menu div.x:hover{ -color:#a00; -background:#ddd; -} - -#menu div.x:active{ -color:#060; -background:#ccc; -}