[courgette_theme] add autocomplete theme

This commit is contained in:
Thomas LEBEAU 2014-08-19 15:06:20 +02:00
parent 195ff7522e
commit 75853bd0b5

View file

@ -53,10 +53,12 @@ html {
text-align: center; text-align: center;
background: rgba(255,255,255,0.6); background: rgba(255,255,255,0.6);
padding: 4em 2em; padding: 4em 2em;
position: absolute; margin: 7% auto 0;
position: relative;
/*position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin:-220px 0 0 -408px; margin:-220px 0 0 -408px;*/
} }
.center.search { .center.search {
@ -67,6 +69,21 @@ html {
padding-top: 1.8em; padding-top: 1.8em;
} }
.autocompleter-choices {
position: absolute;
margin: 0;
padding: 0;
background: #FFF;
}
.autocompleter-choices li {
padding: 0.5em 1em;
}
.autocompleter-choices li:hover {
background: #3498DB;
color: #FFF;
cursor: pointer;
}
#categories { #categories {
text-align: center; text-align: center;
} }