Revision 4e7dcfec
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
css/kivitendo/menu.css | ||
---|---|---|
284 | 284 |
} |
285 | 285 |
/* End of non-anchor hover selectors */ |
286 | 286 |
|
287 |
#html-menu { float:left; white-space: nowrap; } |
|
288 |
#html-menu tr { vertical-align: top; } |
|
289 |
#html-menu div.menuitem { padding: 2px 4px 1px 4px; } |
|
290 |
#html-menu div.submenu { font-weight: bold } |
|
291 |
#html-menu img { vertical-align: middle; visibility:hidden; border: 0; } |
|
292 |
#html-menu div.menuitem:first-child img { visibility:visible } |
|
287 |
/* html menu */ |
|
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 |
#html-menu { float:left; width: 183px; } |
|
293 |
#html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; } |
|
294 |
#html-menu div.sm { font-weight: bold } |
|
295 |
#html-menu img { vertical-align: top; border: 0; } |
|
293 | 296 |
#html-menu a { vertical-align: top } |
294 |
#html-menu .item span.menu-spacer { display: inline-block; width: 24px } |
|
295 |
#html-menu .menu span.menu-spacer { display: inline-block; width: 32px } |
|
296 |
|
|
297 |
#html-menu .i span.ms { float: left; width: 24px } |
|
298 |
#html-menu .m span.ms { float: left; width: 32px } |
|
299 |
#html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); } |
|
300 |
#html-menu div.m { height: 24px } |
|
301 |
#html-menu div.m { color:#000000; background-color: #ffffff; position: relative; top: 5px; } |
|
302 |
#html-menu div.m span.mic { position: relative; top: 5px; } |
|
303 |
#html-menu a:link, |
|
304 |
#html-menu a:visited, |
|
305 |
#html-menu a:active { border-bottom: none; } |
|
306 |
#html-menu div.m:hover, |
|
307 |
#html-menu div.i:hover { color: #FE5F14; 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 } |
Auch abrufbar als: Unified diff
kivitendo styles für html menü