X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=css%2Fkivitendo%2Fmenu.css;h=b5819a6ccc4c568c625660f2429b0caf40eb4f97;hb=4a6f0b74c08f02cd04adfe2429eb9965e770c2ba;hp=38b2669a692cafcf357aded4cbb76fe9fce9b00a;hpb=6fdf290898b160dd60af5e00fab9f5820394947d;p=kivitendo-erp.git diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index 38b2669a6..b5819a6cc 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -19,7 +19,6 @@ body.menuv4 { /*border: 3px solid;*/ background-color: #FFFFFF; color: #000000; - margin-top: 0.2em; } #menuv4 a, #menuv4 h2, #menuv4 div.x { font-size: 80%; @@ -30,12 +29,6 @@ body.menuv4 { margin: 0; padding: 0.3em 1em; } -#menuv4 h2:before { - content: " "; -} -#menuv4 h2:after { - content: " "; -} #menuv4 h2 { background-color: #ffffff; color: #000000; @@ -283,3 +276,46 @@ div#menuv3 li:hover ul, div#menuv3 li li:hover ul, div#menuv3 li li li:hover ul, position: relativ: left: 10px; } /* End of non-anchor hover selectors */ + +/* html menu */ +/* types of lines: m sm i (menu submenu item) + each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer) + and one mic (menu-item-chunk) + indenting is done with the levels s0, s1, s2 */ +#content.html-menu, #html-menu { + transition: margin-left 0.2s, width 0.2s; + -moz-transition: margin-left 0.2s, width 0.2s; + -webkit-transition: margin-left 0.2s, width 0.2s; + -o-transition: margin-left 0.2s, width 0.2s; +} +#content.html-menu { margin-left: 190px; } +#content.html-menu.folded { margin-left: 40px } +#html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px } +#html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; } +#html-menu.folded { width: 32px; } +#html-menu.folded:hover { width: 183px; } +#html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; } +#html-menu div.sm { font-weight: bold } +#html-menu img { vertical-align: top; border: 0; } +#html-menu a { vertical-align: top } +#html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; } +#html-menu .m span.ms { float: left; width: 32px } +#html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); } +#html-menu div.m { height: 24px } +#html-menu div.m span.mic { color:black; position: relative; top: 4px } +#html-menu div.m:hover, +#html-menu div.i:hover { color:blue; background-color: #d1d1d1; cursor: pointer; } +#html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; } +#html-menu a.ml span.mic { width: 145px } /* fix deep indents */ +#html-menu div.s0 { padding-left: 2px } +#html-menu div.s1 { padding-left: 8px } +#html-menu div.s2 { padding-left: 16px } + +body { margin: 0 } + +@media print { + #menuv3, #menuv4, #html-menu, #frame-header, #js-menu { /* items with this class won't print */ + display: none; + } + #content.html-menu { margin-left: 0; } +}