1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
| .menu {
width:977px;
position:absolute;
z-index:100;
visibility: visible;
margin-left:12px;
font-weight: normal;
font-family:Tahoma, Geneva, sans-serif;
font-size:12px;
list-style: none;
}
/* style des liens du top niveau */
.menu a {
display:block;
width:94px;
height:46px;
border:1px solid #aca29e;
border-width:1px 1px 0 0;
padding-left :2px ;
text-decoration:none;
color:#660000;
float: left;
}
/* style the top level hover */
.menu a:hover, .menu :hover > a{
background:#dfe0e1;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
position: absolute;
z-index: 99999;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:auto;
position:relative;
}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
width:120px;
visibility: hidden;
top:47px;
margin-top: 0;
left: 0;
position: absolute;
}
/* style the second level links */
.menu ul ul a {
background:#f2f0ef;
color:#000;
height:auto;
line-height:14px;
border:1px solid #aca29e;
border-width:1px 1px 0 0;
padding:5px 5px;
}
/* style the second level hover */
.menu ul ul a:hover, .menu ul ul :hover > a {
color :#660000;
background:#dfe0e1;
}
/* position du troisième niveau */
.menu ul ul ul{
top:0;
left:105px;
}
/* style du 3e niveau arrière plan */
.menu ul ul ul a {
background:#f2f0ef;
}
/* style du 3e niveau hover */
.menu ul ul ul a:hover, .menu ul ul ul :hover > a {
background:#dfe0e1;
}
/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
position:absolute;
top:-9px;
left:0;
z-index:80;
}
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
visibility:visible;
}
/*----Internet explorer balise spécifique---/*
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:94px;
}
/* yet another hack for IE5.5 */
}
*html .menu ul ul a{
width:120px;
width:120px;
}
/*Masquer les niveaux 1, 2 et 3*/
.niveau1, .niveau2, .niveau3 {
visibility:hidden;
}
/*Survol Niveau 0*/
/*_______________*/
/*Affiche Niveau 1*/
.menu li:hover .niveau1
{
visibility:visible;
}
/*Masque Niveau 2 et 3*/
.menu li:hover .niveau2,
.menu li:hover .niveau3
{
visibility:hidden;
}
/*Survol Niveau 1*/
/*_______________*/
/*Affiche Niveau 1 et 2*/
.niveau1 li:hover .niveau2,
.niveau1 li:hover .niveau1
{
visibility:visible;
}
/*Masque Niveau3*/
.niveau1 li:hover .niveau3
{
visibility:hidden;
}
/*Survol Niveau 2*/
/*_______________*/
/*Affiche Niveau 1, 2 et 3*/
.niveau2 li:hover .niveau3,
.niveau2 li:hover .niveau2,
.niveau2 li:hover .niveau1
{
visibility:visible;
} |
Partager