summaryrefslogtreecommitdiffstats
path: root/core/search/css/results.css
blob: 5369a3093d9d5fbbd5003fc84075beb2f02b49ea (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
91
92
93
94
95
96
97
98
/* 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;
	text-overflow: ellipsis;
	padding-top: 65px;
	box-sizing: border-box;
	z-index: 75;
	/* account for margin-bottom in files list */
	margin-top: -250px;
}
#searchresults.filter-empty {
	/* remove whitespace on bottom when no search results, to fix layout */
	margin-top: 0 !important;
}

#searchresults.hidden {
	display: none;
}
#searchresults * {
	box-sizing: content-box;
}

#searchresults .status {
	background-color: rgba(255, 255, 255, .85);
	height: 12px;
	padding: 28px 0 28px 56px;
	font-size: 18px;
}
#searchresults .status.fixed {
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 10;
}

#searchresults .status .spinner {
	height: 16px;
	width: 16px;
	vertical-align: middle;
	margin-left: 10px;
}
#searchresults table {
	border-spacing:0;
	table-layout:fixed;
	top:0;
	width:100%;
}

#searchresults td {
	padding: 5px 19px;
	font-style: normal;
	vertical-align: middle;
	border-bottom: none;
}
#searchresults td.icon {
	text-align: right;
	width: 40px;
	height: 40px;
	padding: 5px 0;
	background-position: right center;
	background-repeat: no-repeat;
}

#searchresults tr.template {
	display: none;
}

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

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

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