MenĂ¼variante "Oben (mit CSS, neu)" bei Stilvorlage "lx-office" nicht verdeckt lassen
[kivitendo-erp.git] / css / lx-office-erp / menu.css
1
2 body.menu {
3   background-image: url("../../image/fade.png");background-repeat:repeat-x;
4   font-family: Verdana, Arial, Helvetica, sans-serif;
5   font-size:8pt;
6   color: black;
7 }
8
9 table.menunew {
10   border: 0;
11   width: 100%;
12   background-image: url("../../image/bg_titel.gif");
13   border-spacing: 0;
14 }
15
16 table.menunew td {
17   padding: 0;
18   color:white;
19   font-family: Verdana, Arial, sans-serif;
20   font-size: 12px;
21 }
22
23 body.menunew {
24   padding:0px;
25   margin:0px;
26 }
27
28 body {
29 behavior:url("csshover.htc");
30 }
31
32 #menuv3 {
33 width:99.8%;
34 float:left;
35 background:url(../../image/bg_css_menu.png) repeat bottom;
36 border:1px solid;
37 border-color:#ccc #888 #555 #bbb;
38 }
39
40 #menuv3 a, #menuv3 h2, #menuv3 div.x {
41 font:11px/16px arial,helvetica,sans-serif;
42 display:block;
43 border:0;
44 border-right:1px;
45 border-style:solid;
46 border-color:#ccc #888 #555 #bbb;
47 white-space:nowrap;
48 margin:0;
49 padding:1px 0 1px 3px;
50 }
51
52 #menuv3 h2 {
53 color:#fff;
54 padding:0 5px;
55 }
56
57 #menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
58 color:#000;
59 text-decoration:none;
60 padding-right:10px;
61 }
62
63 #menuv3 a {
64 background:#eee;
65 }
66
67 #menuv3 div.x, #menuv3 div.x:visited {
68 background:#eee url(../../image/right.gif) no-repeat right;
69 }
70
71 #menuv3 a:hover, #menuv3 div.x:hover {
72 color:#a00;
73 background-color:#ddd;
74 }
75
76 #menuv3 a:active, #menuv3 div.x:active {
77 color:#060;
78 background-color:#ccc;
79 }
80
81 #menuv3 ul {
82 list-style:none;
83 margin:0;
84 padding:0;
85 float:left;
86 min-width:7em;
87 }
88
89 #menuv3 li {
90 position:relative;
91 float:none;
92 border:0;
93 }
94
95 /* IE6 spacing bug fix, <li>s without a bottom border get spaced to far
96  * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow
97  * 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
98  * a bottom border, which just looks ugly
99  * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */
100 #menuv3 ul li {
101 border:solid;
102 border-color:#ccd5e5;
103 border-width:0 0 1px 0;
104 }
105
106 #menuv3 ul ul li {
107 border:solid;
108 border-width:0 0 1px 0;
109 }
110
111 /* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below
112  * causing the menu to close. Opera 9 has the same bug btw. */
113 #menuv3 ul ul {
114 position:absolute;
115 z-index:500;
116 top:auto;
117 display:none;
118 background:#000;
119 }
120
121 #menuv3 ul ul ul {
122 top:0;
123 left:100%;
124 background:#000;
125 }
126
127 /* Begin non-anchor hover selectors */
128
129 /* Enter the more specific element (div) selector
130 on non-anchor hovers for IE5.x to comply with the
131 older version of csshover.htc - V1.21.041022. It
132 improves IE's performance speed to use the older
133 file and this method */
134
135 div#menuv3 h2:hover {
136 background:#A3C5FF;
137 color:#a00;
138 }
139
140 div#menuv3 li:hover {
141 cursor:pointer;
142 z-index:100;
143 }
144
145 div#menuv3 li:hover ul ul,
146 div#menuv3 li li:hover ul ul,
147 div#menuv3 li li li:hover ul ul,
148 div#menuv3 li li li li:hover ul ul
149 {display:none;}
150
151 div#menuv3 li:hover ul,
152 div#menuv3 li li:hover ul,
153 div#menuv3 li li li:hover ul,
154 div#menuv3 li li li li:hover ul
155 {display:block;}
156
157 /* End of non-anchor hover selectors */
158
159 #menuv4 {
160 width:99.8%;
161 float:left;
162 background:url(../../image/bg_css_menu.png) repeat bottom;
163 border:1px solid;
164 border-color:#ccc #888 #555 #bbb;
165         margin-top: 14px;
166 }
167
168 #menuv4 a, #menuv4 h2, #menuv4 div.x {
169 font:11px/16px arial,helvetica,sans-serif;
170 display:block;
171 border:0;
172 border-right:1px;
173 border-style:solid;
174 border-color:#ccc #888 #555 #bbb;
175 white-space:nowrap;
176 margin:0;
177 padding:1px 0 1px 3px;
178 }
179
180 #menuv4 h2:before {
181     content:" ";
182 }
183 #menuv4 h2:after {
184     content:" ";
185 }
186 #menuv4 h2 {
187 color:#fff;
188 padding:2px 10px;
189 }
190
191 #menuv4 a, #menuv4 a:visited, #menuv4 div.x, #menuv4 div.x:visited {
192 color:#000;
193 text-decoration:none;
194 padding-right:10px;
195 }
196
197 #menuv4 a {
198 background:#eee;
199 }
200 #menuv4 div.x, #menuv4 div.x:visited {
201 background:#eee url(../../image/right.gif) no-repeat right;
202 }
203
204 #menuv4 a:hover, #menuv4 div.x:hover {
205 color:#a00;
206 background-color:#ddd;
207 }
208
209 #menuv4 a:active, #menuv4 div.x:active {
210 color:#060;
211 background-color:#ccc;
212 }
213
214 #menuv4 ul {
215 list-style:none;
216 margin:0;
217 padding:0;
218 float:left;
219 }
220
221 #menuv4 li {
222 position:relative;
223 float:none;
224 border:0;
225 }
226
227 #menuv4 li.sub {
228 left:-25px;
229 top:-3px;
230 }
231
232 /* IE6 spacing bug fix, <li>s without a bottom border get spaced to far
233  * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow
234  * 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
235  * a bottom border, which just looks ugly
236  * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */
237 #menuv4 ul li {
238 border:solid;
239 border-color:#ccd5e5;
240 border-width:0 0 1px 0;
241 }
242
243 #menuv4 ul ul li {
244 border:solid;
245 border-width:0 0 1px 0;
246 }
247
248 /* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below
249  * causing the menu to close. Opera 9 has the same bug btw. */
250 #menuv4 ul ul {
251 position:absolute;
252 z-index:500;
253 top:auto;
254 display:none;
255 }
256
257 #menuv4 ul ul ul {
258 top:0;
259 left:100%;
260 }
261
262 /* Begin non-anchor hover selectors */
263
264 /* Enter the more specific element (div) selector
265 on non-anchor hovers for IE5.x to comply with the
266 older version of csshover.htc - V1.21.041022. It
267 improves IE's performance speed to use the older
268 file and this method */
269
270 div#menuv4 h2:hover {
271 background:#A3C5FF;
272 color:#a00;
273 }
274
275 div#menuv4 li:hover {
276 cursor:pointer;
277 z-index:100;
278 }
279
280 div#menuv4 li:hover ul ul,
281 div#menuv4 li li:hover ul ul,
282 div#menuv4 li li li:hover ul ul,
283 div#menuv4 li li li li:hover ul ul
284 {display:none;}
285
286 div#menuv4 li:hover ul,
287 div#menuv4 li li:hover ul,
288 div#menuv4 li li li:hover ul,
289 div#menuv4 li li li li:hover ul
290 {display:block; left:10px;}
291
292 /* End of non-anchor hover selectors */
293
294 /* html menu */
295 /* types of lines: m sm i (menu submenu item)
296    each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
297    and one mic (menu-item-chunk)
298    indenting is done with the levels s0, s1, s2 */
299 #content.html-menu, #html-menu {
300   position: relative;
301   top: 20px;
302   transition:         margin-left 0.2s, width 0.2s;
303   -moz-transition:    margin-left 0.2s, width 0.2s;
304   -webkit-transition: margin-left 0.2s, width 0.2s;
305   -o-transition:      margin-left 0.2s, width 0.2s;
306 }
307 #content.html-menu { margin-left: 190px; }
308 #content.html-menu.folded { margin-left: 40px }
309 #html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px }
310 #html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; }
311 #html-menu.folded { width: 32px; }
312 #html-menu.folded:hover { width: 183px; }
313 #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; }
314 #html-menu div.sm { font-weight: bold }
315 #html-menu img { vertical-align: top; border: 0; }
316 #html-menu a { vertical-align: top }
317 #html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; }
318 #html-menu .m span.ms { float: left; width: 32px }
319 #html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); }
320 #html-menu div.m { height: 24px }
321 #html-menu div.m span.mic { color:blue; position: relative; top: 4px }
322 #html-menu div.m:hover,
323 #html-menu div.i:hover { color:blue; background-color: lemonchiffon; cursor: pointer; }
324 #html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; }
325 #html-menu a.ml span.mic { width: 145px } /* fix deep indents */
326 #html-menu div.s0 { padding-left: 2px }
327 #html-menu div.s1 { padding-left: 8px }
328 #html-menu div.s2 { padding-left: 16px }
329
330 body { margin: 0 }