X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2Fkivitendo%2Fmenu.css;h=ffeea2be870d3d6467585ec876cfb668022bf352;hb=5474d397bbc42ffaea0b51ebb4bb9a4c7afaa881;hp=cbe012cc15340d5e665d8896ab7495bd0a516ebc;hpb=4c8bc4a9ce7bcd4d26d939129accecebc4567488;p=kivitendo-erp.git diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index cbe012cc1..ffeea2be8 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -1,185 +1,210 @@ +/* kivitendo menu Colors: +Menu Background color #FE5F14 +orangemenu color #FFFFFF +whiteMenu Hover background color #FFFFE0 +DarkGreensubenu pointer +*/ +/* #main_menu_div { */ +/* background-color: #d0cfc9 */ +/* } */ -body.menu { - background-image: url("../../image/fade.png");background-repeat:repeat-x; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size:8pt; - color: black; +div.layout-actionbar ~ #content { + padding-top: 32px; } -table.menunew { - border: 0; - width: 100%; - background-image: url("../../image/bg_kivi_titel.png"); - border-spacing: 0; +#main_menu_div ~ div.layout-actionbar { + top: 45px; } -table.menunew td { - padding: 0; - color:white; - font-family: Verdana, Arial, sans-serif; - font-size: 12px; +#main_menu_div ~ #content { + padding-top: 25px; +} +#main_menu_div ~ div.layout-actionbar ~ #content { + padding-top: 54px; } -body.menunew { - padding:0px; - margin:0px; +body.menuv3 { + behavior: url("css/csshover.htc"); + /*font-size: 14pt;*/ + line-height: 20pt; + background-color: #FFFFFF; + color: #000000; +} +#menuv3 { + background-color: #FFFFFF; + color: #000000; + width: 100%; + position: fixed; + z-index: 30; } -body { -behavior:url("csshover.htc"); +#menuv3 ~ div.layout-actionbar { + top: 40px; } -#menuv3 { -width:99.8%; -float:left; -background:url(../../image/bg_css_kivi_menu.png) repeat bottom; -border:1px solid; -border-color:#ccc #888 #555 #bbb; +#menuv3 ~ #content { + padding-top: 35px; } -#menuv3 a, #menuv3 h2, #menuv3 div.x { -font:11px/16px arial,helvetica,sans-serif; -display:block; -border:0; -border-right:1px; -border-style:solid; -border-color:#ccc #888 #555 #bbb; -white-space:nowrap; -margin:0; -padding:1px 0 1px 3px; +#menuv3 ~ div.layout-actionbar ~ #content { + padding-top: 64px; } +#menuv3 a, #menuv3 h2, #menuv3 div.x { + font-size: 80%; + line-height: 120%; + display: block; + border: 0; + white-space: nowrap; + margin: 0; + padding: 0.3em 1em; +} #menuv3 h2 { -color:#fff; -padding:2px 10px; + background-color: #ffffff; + color: #000000; + /*padding: 2px 15px;*/ +/* Firefox */ + -moz-border-radius: 0.4em 0.4em 0; +/* Safari, Chrome */ + -webkit-border-radius: 0.4em 0.4em 0; +/* Konqueror */ + -khtml-border-radius: 0.4em 0.4em 0; +/* CSS3 */ + border-radius: 0.4em 0.4em 0 0; +/* behavior: url(border-radius.htc); */ +} +#menuv3 ul:hover h2 { + background-color:#DCDCDC; } - #menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited { -color:#000; -text-decoration:none; -padding-right:10px; + color: #000000; + text-decoration: none; + padding-right: 10px; } - #menuv3 a { -background:#eee; + background: #EBEBEB; } #menuv3 div.x, #menuv3 div.x:visited { -background:#eee url(../../image/right.gif) no-repeat right; + background-color: #EBEBEB; + border-right: 1em solid #FE5F14; +} +#menuv3 div.x:hover { + border-right: none; } - #menuv3 a:hover, #menuv3 div.x:hover { -color:#a00; -background-color:#ddd; + color: #FE5F14; + background-color: #EBEBEB; } - #menuv3 a:active, #menuv3 div.x:active { -color:#060; -background-color:#ccc; + color: #FE5F14; + background-color: #EBEBEB; } - #menuv3 ul { -list-style:none; -margin:0; -padding:0; -float:left; + list-style: none; + margin: 0; + padding: 0; + float: left; } #menuv3 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