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 {
33 background-color: #ffffff;
35 /*padding: 2px 15px;*/
37 -moz-border-radius: 0.4em 0.4em 0;
39 -webkit-border-radius: 0.4em 0.4em 0;
41 -khtml-border-radius: 0.4em 0.4em 0;
43 border-radius: 0.4em 0.4em 0 0;
44 /* behavior: url(border-radius.htc); */
47 background-color:#DCDCDC;
49 #menuv4 a, #menuv4 a:visited, #menuv4 div.x, #menuv4 div.x:visited {
51 text-decoration: none;
57 #menuv4 div.x, #menuv4 div.x:visited {
58 background-color: #EBEBEB;
59 border-right: 1em solid #FE5F14;
64 #menuv4 a:hover, #menuv4 div.x:hover {
66 background-color: #EBEBEB;
68 #menuv4 a:active, #menuv4 div.x:active {
70 background-color: #EBEBEB;
88 background-color: #FFFFFF;
90 /* 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 */
93 border-color: #991900;
94 border-width: 0 0 1px 0;
98 padding: 0 2em 2em 2em;
99 margin: 0 -2em -2em -2em;
102 /*padding-top: 0.01em;*/
103 background-color: #FFFFFF;
105 /* 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. */
118 #menuv4 ul ul ul li {
119 border-left: 0.2em solid #EBEBEB;
121 /* Begin non-anchor hover selectors */
122 /* 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 */
123 div#menuv4 h2:hover {
127 div#menuv4 li:hover {
131 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 {
134 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 {
136 position: relativ: left: 10px;
138 /* End of non-anchor hover selectors */
141 behavior: url("css/csshover.htc");
144 font-family: Verdana, Geneva, Tahoma, sans-serif;
145 background-color: #FFFFFF;
152 /*border: 3px solid;*/
153 background-color: #FFFFFF;
157 #menuv3 a, #menuv3 h2, #menuv3 div.x {
173 background-color: #ffffff;
175 /*padding: 2px 15px;*/
177 -moz-border-radius: 0.4em 0.4em 0;
179 -webkit-border-radius: 0.4em 0.4em 0;
181 -khtml-border-radius: 0.4em 0.4em 0;
183 border-radius: 0.4em 0.4em 0 0;
184 /* behavior: url(border-radius.htc); */
186 #menuv3 ul:hover h2 {
187 background-color:#DCDCDC;
189 #menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
191 text-decoration: none;
197 #menuv3 div.x, #menuv3 div.x:visited {
198 background-color: #EBEBEB;
199 border-right: 1em solid #FE5F14;
201 #menuv3 div.x:hover {
204 #menuv3 a:hover, #menuv3 div.x:hover {
206 background-color: #EBEBEB;
208 #menuv3 a:active, #menuv3 div.x:active {
210 background-color: #EBEBEB;
228 background-color: #FFFFFF;
230 /* 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 */
233 border-color: #991900;
234 border-width: 0 0 1px 0;
238 padding: 0 2em 2em 2em;
239 margin: 0 -2em -2em -2em;
242 /*padding-top: 0.01em;*/
243 background-color: #FFFFFF;
245 /* 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. */
258 #menuv3 ul ul ul li {
259 border-left: 0.2em solid #EBEBEB;
261 /* Begin non-anchor hover selectors */
262 /* 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 */
263 div#menuv3 h2:hover {
267 div#menuv3 li:hover {
271 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 {
274 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 {
276 position: relativ: left: 10px;
278 /* End of non-anchor hover selectors */
281 /* types of lines: m sm i (menu submenu item)
282 each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
283 and one mic (menu-item-chunk)
284 indenting is done with the levels s0, s1, s2 */
285 #content.html-menu, #html-menu {
286 transition: margin-left 0.2s, width 0.2s;
287 -moz-transition: margin-left 0.2s, width 0.2s;
288 -webkit-transition: margin-left 0.2s, width 0.2s;
289 -o-transition: margin-left 0.2s, width 0.2s;
291 #content.html-menu { margin-left: 190px; }
292 #content.html-menu.folded { margin-left: 40px }
293 #html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px }
294 #html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; }
295 #html-menu.folded { width: 32px; }
296 #html-menu.folded:hover { width: 183px; }
297 #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; }
298 #html-menu div.sm { font-weight: bold }
299 #html-menu img { vertical-align: top; border: 0; }
300 #html-menu a { vertical-align: top }
301 #html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; }
302 #html-menu .m span.ms { float: left; width: 32px }
303 #html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); }
304 #html-menu div.m { height: 24px }
305 #html-menu div.m span.mic { color:black; position: relative; top: 4px }
306 #html-menu div.m:hover,
307 #html-menu div.i:hover { color:blue; background-color: #d1d1d1; cursor: pointer; }
308 #html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; }
309 #html-menu a.ml span.mic { width: 145px } /* fix deep indents */
310 #html-menu div.s0 { padding-left: 2px }
311 #html-menu div.s1 { padding-left: 8px }
312 #html-menu div.s2 { padding-left: 16px }
317 #menuv3, #menuv4, #html-menu, #frame-header, #js-menu { /* items with this class won't print */
320 #content.html-menu { margin-left: 0; }