kivitendo/css/menuv3.css @ ddf6b218
e98e2094 | Moritz Bunkus | body {
|
||
behavior:url("css/csshover.htc");
|
||||
}
|
||||
eaa892c0 | Sven Schöling | #menu {
|
||
5559ae7f | Udo Spallek | width:99.8%;
|
||
e98e2094 | Moritz Bunkus | float:left;
|
||
95ceff1b | Sven Schöling | background:url(../image/bg_css_menu.png) repeat bottom;
|
||
65fd2f64 | Sven Schöling | border:1px solid;
|
||
7b818ddc | Sven Schöling | border-color:#ccc #888 #555 #bbb;
|
||
e98e2094 | Moritz Bunkus | }
|
||
#menu a, #menu h2, #menu div.x {
|
||||
font:11px/16px arial,helvetica,sans-serif;
|
||||
display:block;
|
||||
65fd2f64 | Sven Schöling | border:0;
|
||
border-right:1px;
|
||||
e98e2094 | Moritz Bunkus | border-style:solid;
|
||
border-color:#ccc #888 #555 #bbb;
|
||||
white-space:nowrap;
|
||||
margin:0;
|
||||
padding:1px 0 1px 3px;
|
||||
}
|
||||
eaa892c0 | Sven Schöling | #menu h2 {
|
||
e98e2094 | Moritz Bunkus | color:#fff;
|
||
65fd2f64 | Sven Schöling | padding:0 5px;
|
||
e98e2094 | Moritz Bunkus | }
|
||
65fd2f64 | Sven Schöling | #menu a, #menu a:visited, #menu div.x, #menu div.x:visited {
|
||
color:#000;
|
||||
e98e2094 | Moritz Bunkus | text-decoration:none;
|
||
d04a3724 | Sven Schöling | padding-right:10px;
|
||
e98e2094 | Moritz Bunkus | }
|
||
65fd2f64 | Sven Schöling | #menu a {
|
||
background:#eee;
|
||||
}
|
||||
#menu div.x, #menu div.x:visited {
|
||||
background:#eee url(../image/right.gif) no-repeat right;
|
||||
e98e2094 | Moritz Bunkus | }
|
||
65fd2f64 | Sven Schöling | #menu a:hover, #menu div.x:hover {
|
||
e98e2094 | Moritz Bunkus | color:#a00;
|
||
65fd2f64 | Sven Schöling | background-color:#ddd;
|
||
e98e2094 | Moritz Bunkus | }
|
||
65fd2f64 | Sven Schöling | #menu a:active, #menu div.x:active {
|
||
e98e2094 | Moritz Bunkus | color:#060;
|
||
65fd2f64 | Sven Schöling | background-color:#ccc;
|
||
e98e2094 | Moritz Bunkus | }
|
||
eaa892c0 | Sven Schöling | #menu ul {
|
||
e98e2094 | Moritz Bunkus | list-style:none;
|
||
margin:0;
|
||||
padding:0;
|
||||
float:left;
|
||||
b0d83fa8 | Udo Spallek | min-width:7em;
|
||
e98e2094 | Moritz Bunkus | }
|
||
eaa892c0 | Sven Schöling | #menu li {
|
||
e98e2094 | Moritz Bunkus | position:relative;
|
||
65fd2f64 | Sven Schöling | float:none;
|
||
border:0;
|
||||
}
|
||||
1d7e6dbb | Sven Schöling | /* 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;
|
||||
}
|
||||
0d92e871 | Sven Schöling | |||
65fd2f64 | Sven Schöling | #menu ul ul li {
|
||
border:solid;
|
||||
border-width:0 0 1px 0;
|
||||
e98e2094 | Moritz Bunkus | }
|
||
22733fad | Sven Schöling | /* 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. */
|
||||
eaa892c0 | Sven Schöling | #menu ul ul {
|
||
e98e2094 | Moritz Bunkus | position:absolute;
|
||
z-index:500;
|
||||
top:auto;
|
||||
display:none;
|
||||
b7bd3cd7 | Sven Schöling | background:#000;
|
||
e98e2094 | Moritz Bunkus | }
|
||
eaa892c0 | Sven Schöling | #menu ul ul ul {
|
||
e98e2094 | Moritz Bunkus | top:0;
|
||
left:100%;
|
||||
b7bd3cd7 | Sven Schöling | background:#000;
|
||
e98e2094 | Moritz Bunkus | }
|
||
/* 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 */
|
||||
eaa892c0 | Sven Schöling | div#menu h2:hover {
|
||
65fd2f64 | Sven Schöling | background:#A3C5FF;
|
||
07810068 | Moritz Bunkus | color:#a00;
|
||
e98e2094 | Moritz Bunkus | }
|
||
eaa892c0 | Sven Schöling | div#menu li:hover {
|
||
e98e2094 | Moritz Bunkus | 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
|
||||
{display:block;}
|
||||
/* End of non-anchor hover selectors */
|
||||