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 */
288 /* types of lines: m sm i (menu submenu item)
289 each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
290 and one mic (menu-item-chunk)
291 indenting is done with the levels s0, s1, s2 */
292 #content.html-menu, #html-menu {
295 transition: margin-left 0.2s, width 0.2s;
296 -moz-transition: margin-left 0.2s, width 0.2s;
297 -webkit-transition: margin-left 0.2s, width 0.2s;
298 -o-transition: margin-left 0.2s, width 0.2s;
300 #content.html-menu { margin-left: 190px; }
301 #content.html-menu.folded { margin-left: 40px }
302 #html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px }
303 #html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; }
304 #html-menu.folded { width: 32px; }
305 #html-menu.folded:hover { width: 183px; }
306 #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; }
307 #html-menu div.sm { font-weight: bold }
308 #html-menu img { vertical-align: top; border: 0; }
309 #html-menu a { vertical-align: top }
310 #html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; }
311 #html-menu .m span.ms { float: left; width: 32px }
312 #html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); }
313 #html-menu div.m { height: 24px }
314 #html-menu div.m span.mic { color:black; position: relative; top: 4px }
315 #html-menu div.m:hover,
316 #html-menu div.i:hover { color:blue; background-color: #d1d1d1; cursor: pointer; }
317 #html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; }
318 #html-menu a.ml span.mic { width: 145px } /* fix deep indents */
319 #html-menu div.s0 { padding-left: 2px }
320 #html-menu div.s1 { padding-left: 8px }
321 #html-menu div.s2 { padding-left: 16px }