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;
23 #menuv4 a, #menuv4 h2, #menuv4 div.x {
39 background-color: #ffffff;
41 /*padding: 2px 15px;*/
43 -moz-border-radius: 0.4em 0.4em 0;
45 -webkit-border-radius: 0.4em 0.4em 0;
47 -khtml-border-radius: 0.4em 0.4em 0;
49 border-radius: 0.4em 0.4em 0 0;
50 /* behavior: url(border-radius.htc); */
53 background-color:#DCDCDC;
55 #menuv4 a, #menuv4 a:visited, #menuv4 div.x, #menuv4 div.x:visited {
57 text-decoration: none;
63 #menuv4 div.x, #menuv4 div.x:visited {
64 background-color: #EBEBEB;
65 border-right: 1em solid #FE5F14;
70 #menuv4 a:hover, #menuv4 div.x:hover {
72 background-color: #EBEBEB;
74 #menuv4 a:active, #menuv4 div.x:active {
76 background-color: #EBEBEB;
94 background-color: #FFFFFF;
96 /* 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 */
99 border-color: #991900;
100 border-width: 0 0 1px 0;
104 padding: 0 2em 2em 2em;
105 margin: 0 -2em -2em -2em;
108 /*padding-top: 0.01em;*/
109 background-color: #FFFFFF;
111 /* 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. */
124 #menuv4 ul ul ul li {
125 border-left: 0.2em solid #EBEBEB;
127 /* Begin non-anchor hover selectors */
128 /* 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 */
129 div#menuv4 h2:hover {
133 div#menuv4 li:hover {
137 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 {
140 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 {
142 position: relativ: left: 10px;
144 /* End of non-anchor hover selectors */
147 behavior: url("css/csshover.htc");
150 font-family: Verdana, Geneva, Tahoma, sans-serif;
151 background-color: #FFFFFF;
158 /*border: 3px solid;*/
159 background-color: #FFFFFF;
163 #menuv3 a, #menuv3 h2, #menuv3 div.x {
179 background-color: #ffffff;
181 /*padding: 2px 15px;*/
183 -moz-border-radius: 0.4em 0.4em 0;
185 -webkit-border-radius: 0.4em 0.4em 0;
187 -khtml-border-radius: 0.4em 0.4em 0;
189 border-radius: 0.4em 0.4em 0 0;
190 /* behavior: url(border-radius.htc); */
192 #menuv3 ul:hover h2 {
193 background-color:#DCDCDC;
195 #menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
197 text-decoration: none;
203 #menuv3 div.x, #menuv3 div.x:visited {
204 background-color: #EBEBEB;
205 border-right: 1em solid #FE5F14;
207 #menuv3 div.x:hover {
210 #menuv3 a:hover, #menuv3 div.x:hover {
212 background-color: #EBEBEB;
214 #menuv3 a:active, #menuv3 div.x:active {
216 background-color: #EBEBEB;
234 background-color: #FFFFFF;
236 /* 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 */
239 border-color: #991900;
240 border-width: 0 0 1px 0;
244 padding: 0 2em 2em 2em;
245 margin: 0 -2em -2em -2em;
248 /*padding-top: 0.01em;*/
249 background-color: #FFFFFF;
251 /* 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. */
264 #menuv3 ul ul ul li {
265 border-left: 0.2em solid #EBEBEB;
267 /* Begin non-anchor hover selectors */
268 /* 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 */
269 div#menuv3 h2:hover {
273 div#menuv3 li:hover {
277 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 {
280 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 {
282 position: relativ: left: 10px;
284 /* End of non-anchor hover selectors */
287 /* types of lines: m sm i (menu submenu item)
288 each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
289 and one mic (menu-item-chunk)
290 indenting is done with the levels s0, s1, s2 */
291 #content.html-menu, #html-menu {
292 transition: margin-left 0.2s, width 0.2s;
293 -moz-transition: margin-left 0.2s, width 0.2s;
294 -webkit-transition: margin-left 0.2s, width 0.2s;
295 -o-transition: margin-left 0.2s, width 0.2s;
297 #content.html-menu { margin-left: 190px; }
298 #content.html-menu.folded { margin-left: 40px }
299 #html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px }
300 #html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; }
301 #html-menu.folded { width: 32px; }
302 #html-menu.folded:hover { width: 183px; }
303 #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; }
304 #html-menu div.sm { font-weight: bold }
305 #html-menu img { vertical-align: top; border: 0; }
306 #html-menu a { vertical-align: top }
307 #html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; }
308 #html-menu .m span.ms { float: left; width: 32px }
309 #html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); }
310 #html-menu div.m { height: 24px }
311 #html-menu div.m span.mic { color:black; position: relative; top: 4px }
312 #html-menu div.m:hover,
313 #html-menu div.i:hover { color:blue; background-color: #d1d1d1; cursor: pointer; }
314 #html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; }
315 #html-menu a.ml span.mic { width: 145px } /* fix deep indents */
316 #html-menu div.s0 { padding-left: 2px }
317 #html-menu div.s1 { padding-left: 8px }
318 #html-menu div.s2 { padding-left: 16px }