From 4e7dcfec5c5e85747bbec37c70d84d40cfdec436 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 10 Sep 2012 14:47:10 +0200 Subject: [PATCH] =?utf8?q?kivitendo=20styles=20f=C3=BCr=20html=20men=C3=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- css/kivitendo/menu.css | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index 0e7c726a7..09a82eb01 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -284,13 +284,29 @@ div#menuv3 li:hover ul, div#menuv3 li li:hover ul, div#menuv3 li li li:hover ul, } /* End of non-anchor hover selectors */ -#html-menu { float:left; white-space: nowrap; } -#html-menu tr { vertical-align: top; } -#html-menu div.menuitem { padding: 2px 4px 1px 4px; } -#html-menu div.submenu { font-weight: bold } -#html-menu img { vertical-align: middle; visibility:hidden; border: 0; } -#html-menu div.menuitem:first-child img { visibility:visible } +/* 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 */ +#html-menu { float:left; 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 .item span.menu-spacer { display: inline-block; width: 24px } -#html-menu .menu span.menu-spacer { display: inline-block; width: 32px } - +#html-menu .i span.ms { float: left; width: 24px } +#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 { color:#000000; background-color: #ffffff; position: relative; top: 5px; } +#html-menu div.m span.mic { position: relative; top: 5px; } +#html-menu a:link, +#html-menu a:visited, +#html-menu a:active { border-bottom: none; } +#html-menu div.m:hover, +#html-menu div.i:hover { color: #FE5F14; 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 } -- 2.20.1