aboutsummaryrefslogtreecommitdiffstats
path: root/search/css/results.css
blob: c41e23af8a43463a06b186b73043a425b1768549 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* 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;
	border-bottom-left-radius:11px;
	box-shadow:0 0 10px #000;
	list-style:none;
	max-height:80%;
	overflow-x:hidden;
	overflow-y: auto;
	padding-bottom:6px;
	position:fixed;
	right:0;
	text-overflow:ellipsis;
	top:45px;
	width:380px;
	max-width: 95%;
	z-index:75;
}

.ie8 #searchresults {
	border: 1px solid #666 !important;
}

#searchresults li.resultHeader {
	background-color:#eee;
	border-bottom:solid 1px #CCC;
	font-size:1.2em;
	font-weight:700;
	padding:.2em;
}

#searchresults li.result {
	margin-left:2em;
}

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

#searchresults td {
	padding:0 .3em;
	height: 32px;
}
#searchresults tr.template {
	display: none;
}

#searchresults .name,
#searchresults .text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#searchresults .text {
	padding-left: 16px;
}

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

#searchresults td.container {
	width:20px;
}

#searchresults td.container img {
	vertical-align: middle;
	display:none;
}
#searchresults tr:hover td.container img {
	display:inline;
}

#searchresults td.type {
	border-bottom:none;
	border-right:1px solid #aaa;
	font-weight:700;
	text-align:right;
	width:3.5em;
}

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