kivitendo/css/menuv3.css @ 6d169764
ab12ee09 | Holger Lindemann | body {
|
||
behavior:url("css/csshover.htc");
|
||||
}
|
||||
#menu {
|
||||
width:99.8%;
|
||||
float:left;
|
||||
background:url(../image/bg_css_menu.png) repeat bottom;
|
||||
border:1px solid;
|
||||
border-color:#ccc #888 #555 #bbb;
|
||||
}
|
||||
#menu a, #menu h2, #menu div.x {
|
||||
font:11px/16px arial,helvetica,sans-serif;
|
||||
display:block;
|
||||
border:0;
|
||||
border-right:1px;
|
||||
border-style:solid;
|
||||
border-color:#ccc #888 #555 #bbb;
|
||||
white-space:nowrap;
|
||||
margin:0;
|
||||
padding:1px 0 1px 3px;
|
||||
}
|
||||
#menu h2 {
|
||||
color:#fff;
|
||||
b1513dcc | Holger Lindemann | padding:0 5px;
|
||
ab12ee09 | Holger Lindemann | }
|
||
#menu a, #menu a:visited, #menu div.x, #menu div.x:visited {
|
||||
color:#000;
|
||||
text-decoration:none;
|
||||
padding-right:10px;
|
||||
}
|
||||
#menu a {
|
||||
background:#eee;
|
||||
}
|
||||
b1513dcc | Holger Lindemann | |||
ab12ee09 | Holger Lindemann | #menu div.x, #menu div.x:visited {
|
||
background:#eee url(../image/right.gif) no-repeat right;
|
||||
}
|
||||
#menu a:hover, #menu div.x:hover {
|
||||
color:#a00;
|
||||
background-color:#ddd;
|
||||
}
|
||||
#menu a:active, #menu div.x:active {
|
||||
color:#060;
|
||||
background-color:#ccc;
|
||||
}
|
||||
#menu ul {
|
||||
list-style:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
float:left;
|
||||
b1513dcc | Holger Lindemann | min-width:7em;
|
||
ab12ee09 | Holger Lindemann | }
|
||
#menu li {
|
||||
position:relative;
|
||||
float:none;
|
||||
border:0;
|
||||
}
|
||||
/* 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 */
|
||||
#menu ul li {
|
||||
border:solid;
|
||||
border-color:#ccd5e5;
|
||||
border-width:0 0 1px 0;
|
||||
}
|
||||
#menu ul ul li {
|
||||
border:solid;
|
||||
border-width:0 0 1px 0;
|
||||
}
|
||||
/* 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. */
|
||||
#menu ul ul {
|
||||
position:absolute;
|
||||
z-index:500;
|
||||
top:auto;
|
||||
display:none;
|
||||
b1513dcc | Holger Lindemann | background:#000;
|
||
ab12ee09 | Holger Lindemann | }
|
||
#menu ul ul ul {
|
||||
top:0;
|
||||
left:100%;
|
||||
b1513dcc | Holger Lindemann | background:#000;
|
||
ab12ee09 | Holger Lindemann | }
|
||
/* Begin non-anchor hover selectors */
|
||||
/* Enter the more specific element (div) selector
|
||||
on non-anchor hovers for IE5.x to comply with the
|
||||
older version of csshover.htc - V1.21.041022. It
|
||||
improves IE's performance speed to use the older
|
||||
file and this method */
|
||||
div#menu h2:hover {
|
||||
background:#A3C5FF;
|
||||
color:#a00;
|
||||
}
|
||||
div#menu li:hover {
|
||||
cursor:pointer;
|
||||
z-index:100;
|
||||
}
|
||||
div#menu li:hover ul ul,
|
||||
div#menu li li:hover ul ul,
|
||||
div#menu li li li:hover ul ul,
|
||||
div#menu li li li li:hover ul ul
|
||||
{display:none;}
|
||||
div#menu li:hover ul,
|
||||
div#menu li li:hover ul,
|
||||
div#menu li li li:hover ul,
|
||||
div#menu li li li li:hover ul
|
||||
b1513dcc | Holger Lindemann | {display:block;}
|
||
ab12ee09 | Holger Lindemann | |||
/* End of non-anchor hover selectors */
|