summaryrefslogtreecommitdiff
path: root/searx/static/less/autocompleter.less
blob: 2633facb95ba3e1953dfb2154e8f557d42781273 (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
ul {
	&.autocompleter-choices {
		position: absolute;
		margin: 0;
		padding: 0;
		list-style: none;
		border: 1px solid #7c7c7c;
		border-left-color: #c3c3c3;
		border-right-color: #c3c3c3;
		border-bottom-color: #ddd;
		background-color: #fff;
		text-align: left;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		z-index: 50;
		background-color: #fff;
	
		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: #444;
				color: #fff;

				span.autocompleter-queried {
					color: #9FCFFF;
				}
			}
		}

		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;
}