server/search/css/results.css
Jörn Friedrich Dreyer 0ba3093196 full page search results
2015-01-02 10:28:41 +01:00

91 lines
1.5 KiB
CSS

/* 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%;
z-index:75;
}
#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 {
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 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 {
font-weight:700;
text-align:right;
width:3.5em;
}
#searchresults tr.current {
background-color:#ddd;
}