1 /* kivitendo menu Colors:
2 Menu Background color #FE5F14
3 orangemenu color #FFFFFF
4 whiteMenu Hover background color #FFFFE0
5 DarkGreensubenu pointer
8 behavior: url("css/csshover.htc");
11 font-family: Verdana, Geneva, Tahoma, sans-serif;
12 background-color: #FFFFFF;
19 /*border: 3px solid;*/
20 background-color: #FFFFFF;
24 #menuv4 a, #menuv4 h2, #menuv4 div.x {
40 background-color: #ffffff;
42 /*padding: 2px 15px;*/
44 -moz-border-radius: 0.4em 0.4em 0;
46 -webkit-border-radius: 0.4em 0.4em 0;
48 -khtml-border-radius: 0.4em 0.4em 0;
50 border-radius: 0.4em 0.4em 0 0;
51 /* behavior: url(border-radius.htc); */
54 background-color:#DCDCDC;
56 #menuv4 a, #menuv4 a:visited, #menuv4 div.x, #menuv4 div.x:visited {
58 text-decoration: none;
64 #menuv4 div.x, #menuv4 div.x:visited {
65 background-color: #EBEBEB;
66 border-right: 1em solid #FE5F14;
71 #menuv4 a:hover, #menuv4 div.x:hover {
73 background-color: #EBEBEB;
75 #menuv4 a:active, #menuv4 div.x:active {
77 background-color: #EBEBEB;
95 background-color: #FFFFFF;
97 /* IE6 spacing bug fix, <li>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 <li>s, where the enclosing <ul> already has * a bottom border, which just looks ugly * the trick:color the bottom border with the same color as the bottom pixel of the background image - noone notices */
100 border-color: #991900;
101 border-width: 0 0 1px 0;
105 padding: 0 2em 2em 2em;
106 margin: 0 -2em -2em -2em;
109 /*padding-top: 0.01em;*/
110 background-color: #FFFFFF;
112 /* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below * causing the menu to close. Opera 9 has the same bug btw. */
125 #menuv4 ul ul ul li {
126 border-left: 0.2em solid #EBEBEB;
128 /* Begin non-anchor hover selectors */
129 /* Enter the more specific element (div) selectoron non-anchor hovers for IE5.x to comply with theolder version of csshover.htc - V1.21.041022. Itimproves IE's performance speed to use the olderfile and this method */
130 div#menuv4 h2:hover {
134 div#menuv4 li:hover {
138 div#menuv4 li:hover ul ul, div#menuv4 li li:hover ul ul, div#menuv4 li li li:hover ul ul, div#menuv4 li li li li:hover ul ul {
141 div#menuv4 li:hover ul, div#menuv4 li li:hover ul, div#menuv4 li li li:hover ul, div#menuv4 li li li li:hover ul {
143 position: relativ: left: 10px;
145 /* End of non-anchor hover selectors */
148 behavior: url("css/csshover.htc");
151 font-family: Verdana, Geneva, Tahoma, sans-serif;
152 background-color: #FFFFFF;
159 /*border: 3px solid;*/
160 background-color: #FFFFFF;
164 #menuv3 a, #menuv3 h2, #menuv3 div.x {
180 background-color: #ffffff;
182 /*padding: 2px 15px;*/
184 -moz-border-radius: 0.4em 0.4em 0;
186 -webkit-border-radius: 0.4em 0.4em 0;
188 -khtml-border-radius: 0.4em 0.4em 0;
190 border-radius: 0.4em 0.4em 0 0;
191 /* behavior: url(border-radius.htc); */
193 #menuv3 ul:hover h2 {
194 background-color:#DCDCDC;
196 #menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
198 text-decoration: none;
204 #menuv3 div.x, #menuv3 div.x:visited {
205 background-color: #EBEBEB;
206 border-right: 1em solid #FE5F14;
208 #menuv3 div.x:hover {
211 #menuv3 a:hover, #menuv3 div.x:hover {
213 background-color: #EBEBEB;
215 #menuv3 a:active, #menuv3 div.x:active {
217 background-color: #EBEBEB;
235 background-color: #FFFFFF;
237 /* IE6 spacing bug fix, <li>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 <li>s, where the enclosing <ul> already has * a bottom border, which just looks ugly * the trick:color the bottom border with the same color as the bottom pixel of the background image - noone notices */
240 border-color: #991900;
241 border-width: 0 0 1px 0;
245 padding: 0 2em 2em 2em;
246 margin: 0 -2em -2em -2em;
249 /*padding-top: 0.01em;*/
250 background-color: #FFFFFF;
252 /* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below * causing the menu to close. Opera 9 has the same bug btw. */
265 #menuv3 ul ul ul li {
266 border-left: 0.2em solid #EBEBEB;
268 /* Begin non-anchor hover selectors */
269 /* Enter the more specific element (div) selectoron non-anchor hovers for IE5.x to comply with theolder version of csshover.htc - V1.21.041022. Itimproves IE's performance speed to use the olderfile and this method */
270 div#menuv3 h2:hover {
274 div#menuv3 li:hover {
278 div#menuv3 li:hover ul ul, div#menuv3 li li:hover ul ul, div#menuv3 li li li:hover ul ul, div#menuv3 li li li li:hover ul ul {
281 div#menuv3 li:hover ul, div#menuv3 li li:hover ul, div#menuv3 li li li:hover ul, div#menuv3 li li li li:hover ul {
283 position: relativ: left: 10px;
285 /* End of non-anchor hover selectors */
287 #html-menu { float:left; white-space: nowrap; }
288 #html-menu tr { vertical-align: top; }
289 #html-menu div.menuitem { padding: 2px 4px 1px 4px; }
290 #html-menu div.submenu { font-weight: bold }
291 #html-menu img { vertical-align: middle; visibility:hidden; border: 0; }
292 #html-menu div.menuitem:first-child img { visibility:visible }
293 #html-menu a { vertical-align: top }
294 #html-menu .item span.menu-spacer { display: inline-block; width: 24px }
295 #html-menu .menu span.menu-spacer { display: inline-block; width: 32px }