Revision 5d73281e
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
css/lx-office-erp/menu.css | ||
---|---|---|
290 | 290 |
|
291 | 291 |
/* End of non-anchor hover selectors */ |
292 | 292 |
|
293 |
|
|
293 |
/* html menu */ |
|
294 |
/* types of lines: m sm i (menu submenu item) |
|
295 |
each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer) |
|
296 |
and one mic (menu-item-chunk) |
|
297 |
indenting is done with the levels s0, s1, s2 */ |
|
294 | 298 |
#html-menu { float:left; width: 183px; } |
295 |
#html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both } |
|
296 |
#html-menu div.submenu { font-weight: bold }
|
|
299 |
#html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; }
|
|
300 |
#html-menu div.sm { font-weight: bold }
|
|
297 | 301 |
#html-menu img { vertical-align: top; border: 0; } |
298 | 302 |
#html-menu a { vertical-align: top } |
299 |
#html-menu .item span.ms { float:left; width: 24px }
|
|
300 |
#html-menu .menu span.ms { float:left; width: 32px }
|
|
301 |
#html-menu div.menu { height: 24px }
|
|
302 |
#html-menu div.menu span.mic { color:blue; position: relative; top: 5px; }
|
|
303 |
#html-menu div.menu:hover,
|
|
304 |
#html-menu div.item:hover { color:blue; background-color: lemonchiffon; cursor: pointer; }
|
|
303 |
#html-menu .i span.ms { float:left; width: 24px } |
|
304 |
#html-menu .m span.ms { float:left; width: 32px } |
|
305 |
#html-menu div.m { height: 24px } |
|
306 |
#html-menu div.m span.mic { color:blue; position: relative; top: 5px; } |
|
307 |
#html-menu div.m:hover, |
|
308 |
#html-menu div.i:hover { color:blue; background-color: lemonchiffon; cursor: pointer; } |
|
305 | 309 |
#html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; } |
306 | 310 |
#html-menu a.ml span.mic { width: 145px } /* fix deep indents */ |
307 |
#html-menu div.spacer0 { position:relative; padding-left: 2px }
|
|
308 |
#html-menu div.spacer1 { position:relative; padding-left: 8px }
|
|
309 |
#html-menu div.spacer2 { position:relative; padding-left: 16px }
|
|
311 |
#html-menu div.s0 { padding-left: 2px }
|
|
312 |
#html-menu div.s1 { padding-left: 8px }
|
|
313 |
#html-menu div.s2 { padding-left: 16px }
|
|
310 | 314 |
|
311 | 315 |
|
Auch abrufbar als: Unified diff
menu.pl aufgeräumt
request ist jetzt auf netto 20ms zum herstellen des menüs und nochmal ein 30ms
zum rendern. bei letzterem hoffe ich dass das beim einbinden in ein template
beschleunigt wird.