summaryrefslogtreecommitdiffstats
path: root/search/css/results.css
blob: 78b60e65e458dd7c0daacf266c7b196f579a2e4a (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
69
70
71
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
 This file is licensed under the Affero General Public License version 3 or later.
 See the COPYING-README file. */

#searchresults {
	background-color:#fff;
	overflow-x:hidden;
	overflow-y: auto;
	position:fixed;
	text-overflow:ellipsis;
	top:0;
	padding-top: 45px;
	height: 100%;
	box-sizing: border-box;
	z-index:75;
}

#searchresults table {
	border-spacing:0;
	table-layout:fixed;
	top:0;
	width:100%;
}

#searchresults td {
	border-top: 20px solid white;
	border-bottom: none;
}
#searchresults tr.template {
	display: none;
}

#searchresults .name,
#searchresults .text,
#searchresults .path {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#searchresults .name {
	font-size: larger;
}
#searchresults .text {
	white-space: normal;
	color: #545454;
}
#searchresults .path {
	color: green;
}
#searchresults .text em {
	color: #545454;
	font-weight: bold;
	opacity: 1;
}

#searchresults tr.result * {
	cursor:pointer;
}

#searchresults td.icon {
	font-weight:700;
	text-align:right;
	width:32px;
	height: 40px;
	background-position: 30px 4px;
	background-repeat: no-repeat;
}

#searchresults tr.current {
	background-color:#ddd;
}