X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2Fkivitendo%2Fmenu.css;h=ffeea2be870d3d6467585ec876cfb668022bf352;hb=577042c61c5e1fffb8747079b4f9826e51532ee8;hp=c2dd867005279ebf16145eef97c75d96d551c87c;hpb=c707edd523dc852f3bd11008d64ab3cb1daca545;p=kivitendo-erp.git diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index c2dd86700..ffeea2be8 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -4,24 +4,53 @@ orangemenu color #FFFFFF whiteMenu Hover background color #FFFFE0 DarkGreensubenu pointer */ -body.menuv4 { +/* #main_menu_div { */ +/* background-color: #d0cfc9 */ +/* } */ + +div.layout-actionbar ~ #content { + padding-top: 32px; +} + +#main_menu_div ~ div.layout-actionbar { + top: 45px; +} + +#main_menu_div ~ #content { + padding-top: 25px; +} +#main_menu_div ~ div.layout-actionbar ~ #content { + padding-top: 54px; +} + +body.menuv3 { behavior: url("css/csshover.htc"); /*font-size: 14pt;*/ line-height: 20pt; - font-family: Verdana, Geneva, Tahoma, sans-serif; background-color: #FFFFFF; color: #000000; } -#menuv4 { - /*font-size: 85%;*/ - width: 99.8%; - float: left; - /*border: 3px solid;*/ +#menuv3 { background-color: #FFFFFF; color: #000000; - margin-top: 0.2em; + width: 100%; + position: fixed; + z-index: 30; +} + +#menuv3 ~ div.layout-actionbar { + top: 40px; +} + +#menuv3 ~ #content { + padding-top: 35px; +} + +#menuv3 ~ div.layout-actionbar ~ #content { + padding-top: 64px; } -#menuv4 a, #menuv4 h2, #menuv4 div.x { + +#menuv3 a, #menuv3 h2, #menuv3 div.x { font-size: 80%; line-height: 120%; display: block; @@ -30,13 +59,7 @@ body.menuv4 { margin: 0; padding: 0.3em 1em; } -#menuv4 h2:before { - content: " "; -} -#menuv4 h2:after { - content: " "; -} -#menuv4 h2 { +#menuv3 h2 { background-color: #ffffff; color: #000000; /*padding: 2px 15px;*/ @@ -50,43 +73,44 @@ body.menuv4 { border-radius: 0.4em 0.4em 0 0; /* behavior: url(border-radius.htc); */ } -#menuv4 ul:hover h2 { +#menuv3 ul:hover h2 { background-color:#DCDCDC; } -#menuv4 a, #menuv4 a:visited, #menuv4 div.x, #menuv4 div.x:visited { +#menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited { color: #000000; text-decoration: none; padding-right: 10px; } -#menuv4 a { +#menuv3 a { background: #EBEBEB; } -#menuv4 div.x, #menuv4 div.x:visited { +#menuv3 div.x, #menuv3 div.x:visited { background-color: #EBEBEB; border-right: 1em solid #FE5F14; } -#menuv4 div.x:hover { +#menuv3 div.x:hover { border-right: none; } -#menuv4 a:hover, #menuv4 div.x:hover { +#menuv3 a:hover, #menuv3 div.x:hover { color: #FE5F14; background-color: #EBEBEB; } -#menuv4 a:active, #menuv4 div.x:active { +#menuv3 a:active, #menuv3 div.x:active { color: #FE5F14; background-color: #EBEBEB; } -#menuv4 ul { +#menuv3 ul { list-style: none; margin: 0; padding: 0; float: left; } -#menuv4 li { +#menuv3 li { position: relative; float: none; border: 0; + border-width:0 0 1px 0; } li.sub { position: relativ; @@ -95,51 +119,103 @@ li.sub { background-color: #FFFFFF; } /* 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