summaryrefslogtreecommitdiff
path: root/searx/static/themes/default/less/search.less
blob: d285ca734e1e9271396006a6e126c38ddcf6e611 (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
62
63
64
65
66
67
68
/*
 * searx, A privacy-respecting, hackable metasearch engine
 */

.search  {
	padding: 0;
	margin: 0;
	.checkbox_container label {
        font-size: 0.9em;
		border-bottom: 2px solid @color-categories-item-border-unselected;
	}

	.checkbox_container label:hover {
		border-bottom: 2px solid @color-categories-item-border-unselected-hover;
	}

	.checkbox_container input[type="checkbox"]:checked + label { 
		border-bottom: 2px solid @color-categories-item-border-selected;
	}
}

#search_wrapper {
	position: relative;
	width: @results-width;
	padding: 10px;
}

.center #search_wrapper {
	margin-left: auto;
	margin-right: auto;
}

.q {
	background: none repeat scroll 0 0 @color-search-background;
	border: 1px solid @color-search-border;
	color: @color-search-font;
	font-size: 16px;
	height: 28px;
	margin: 0;
	outline: medium none;
	padding: 2px;
	padding-left: 8px;
	padding-right: 0px !important;
	width: 100%;
	z-index: 2;
}

#search_submit {
	position: absolute;
	top: 13px;
	right: 1px;
	padding: 0;
	border: 0;
	background: url('../img/search-icon.png') no-repeat;
	background-size: 24px 24px;
	opacity: 0.8;
	width: 24px;
	height: 30px;
	font-size: 0;
}

@media screen and (max-width: @results-width) {
	#search_wrapper {
		width: 90%;
		clear:both;
		overflow: hidden
	}
}