From d3ab281afad0e14d6a8f76d06d4cd20fe7fb44e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 5 Apr 2012 14:03:08 +0200 Subject: [PATCH] =?utf8?q?kivitendo=20style=20f=C3=BCr=20menuv3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- css/kivitendo/menu.css | 140 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index c2dd86700..38b2669a6 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -143,3 +143,143 @@ div#menuv4 li:hover ul, div#menuv4 li li:hover ul, div#menuv4 li li li:hover ul, position: relativ: left: 10px; } /* End of non-anchor hover selectors */ + +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; +} +#menuv3 { + /*font-size: 85%;*/ + width: 99.8%; + float: left; + /*border: 3px solid;*/ + background-color: #FFFFFF; + color: #000000; + margin-top: 0.2em; +} +#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:before { + content: " "; +} +#menuv3 h2:after { + content: " "; +} +#menuv3 h2 { + 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: #000000; + text-decoration: none; + padding-right: 10px; +} +#menuv3 a { + background: #EBEBEB; +} +#menuv3 div.x, #menuv3 div.x:visited { + background-color: #EBEBEB; + border-right: 1em solid #FE5F14; +} +#menuv3 div.x:hover { + border-right: none; +} +#menuv3 a:hover, #menuv3 div.x:hover { + color: #FE5F14; + background-color: #EBEBEB; +} +#menuv3 a:active, #menuv3 div.x:active { + color: #FE5F14; + background-color: #EBEBEB; +} +#menuv3 ul { + list-style: none; + margin: 0; + padding: 0; + float: left; +} + +#menuv3 li { + position: relative; + float: none; + border: 0; +} +li.sub { + position: relativ; + left: 0.2em; + top: 0px; + 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