31,030
edits
mNo edit summary |
mNo edit summary |
||
| Line 543: | Line 543: | ||
.suggestions-result { | .suggestions-result { | ||
line-height: 2em !important; | line-height: 2em !important; | ||
} | |||
/** | |||
* Test for combo list of lang | |||
*/ | |||
/* Conteneur */ | |||
.vector-menu-content { | |||
position: relative; | |||
display: inline-block; | |||
width: 220px; | |||
font-family: sans-serif; | |||
} | |||
/* Cache la liste par défaut */ | |||
.vector-menu-content-list { | |||
max-height: 0; | |||
overflow: hidden; | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
position: absolute; | |||
top: 100%; | |||
left: 0; | |||
width: 100%; | |||
background: white; | |||
border: 1px solid #ccc; | |||
transition: max-height 0.3s ease; | |||
z-index: 1000; | |||
} | |||
/* Affiche au survol */ | |||
.vector-menu-content:hover .vector-menu-content-list { | |||
max-height: 500px; | |||
} | |||
/* Bouton visible */ | |||
.vector-menu-content::before { | |||
content: "Languages ▼"; | |||
display: block; | |||
padding: 10px; | |||
background: #f3f3f3; | |||
border: 1px solid #ccc; | |||
cursor: pointer; | |||
} | |||
/* Styles des liens */ | |||
.vector-menu-content-list li a { | |||
display: block; | |||
padding: 8px 12px; | |||
text-decoration: none; | |||
color: #333; | |||
} | |||
.vector-menu-content-list li a:hover { | |||
background: #eee; | |||
} | } | ||