summaryrefslogtreecommitdiff
path: root/searx/static/themes/legacy/less/autocompleter.less
blob: 4ab2508f87cdf9143a72b0aac8ef5a2841732614 (plain)
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
/*
 * searx, A privacy-respecting, hackable metasearch engine
 */

ul {
	&.autocompleter-choices {
		position: absolute;
		margin: 0;
		padding: 0;
		list-style: none;
		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;
		text-align: left;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		z-index: 50;
		background-color: @color-autocompleter-choices-background;
	    color: @color-autocompleter-choices-font;

		li {
			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 {
				background-color: @color-autocompleter-selected-background;
				color: @color-autocompleter-selected-font;

				span.autocompleter-queried {
					color: @color-autocompleter-selected-queried-font;
				}
			}
		}

		span.autocompleter-queried {
			display: inline;
			float: none;
			font-weight: bold;
			margin: 0;
			padding: 0;
		}
	}
}

/*.autocompleter-loading {
	//background-image: url(images/spinner.gif);
	background-repeat: no-repeat;
	background-position: right 50%;
}*/

/*textarea.autocompleter-loading {
	background-position: right bottom;
}*/