searxng/searx/static/less/autocompleter.less

62 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-03-20 10:08:55 +00:00
/*
* searx, A privacy-respecting, hackable metasearch engine
*/
ul {
&.autocompleter-choices {
2014-03-19 19:26:08 +00:00
position: absolute;
margin: 0;
padding: 0;
list-style: none;
2014-03-20 10:08:55 +00:00
border: 1px solid @color-autocompleter-choices-border;
border-left-color: @color-autocompleter-choices-border-left-right;
border-right-color: @color-autocompleter-choices-border-left-right;
border-bottom-color: @color-autocompleter-choices-border-bottom;
2014-03-19 19:26:08 +00:00
text-align: left;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
z-index: 50;
2014-03-20 10:08:55 +00:00
background-color: @color-autocompleter-choices-background;
color: @color-autocompleter-choices-font;
li {
2014-03-19 19:26:08 +00:00
position: relative;
margin: -2px 0 0 0;
padding: 0.2em 1.5em 0.2em 1em;
display: block;
float: none !important;
cursor: pointer;
font-weight: normal;
white-space: nowrap;
font-size: 1em;
line-height: 1.5em;
&.autocompleter-selected {
2014-03-20 10:08:55 +00:00
background-color: @color-autocompleter-selected-background;
color: @color-autocompleter-selected-font;
span.autocompleter-queried {
2014-03-20 10:08:55 +00:00
color: @color-autocompleter-selected-queried-font;
}
}
}
span.autocompleter-queried {
2014-03-19 19:26:08 +00:00
display: inline;
float: none;
font-weight: bold;
margin: 0;
padding: 0;
}
}
}
2014-03-20 10:08:55 +00:00
/*.autocompleter-loading {
2014-03-19 19:26:08 +00:00
//background-image: url(images/spinner.gif);
background-repeat: no-repeat;
background-position: right 50%;
2014-03-20 10:08:55 +00:00
}*/
2014-03-20 10:08:55 +00:00
/*textarea.autocompleter-loading {
2014-03-19 19:26:08 +00:00
background-position: right bottom;
2014-03-20 10:08:55 +00:00
}*/