server/search/css/results.css

65 lines
1.1 KiB
CSS
Raw Normal View History

/* 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. */
2012-10-23 21:44:23 +00:00
#searchresults
{
background-color: #fff;
border-bottom-left-radius: 1em;
box-shadow: 0 0 10px #000;
list-style: none;
max-height: 80%;
overflow: hidden;
padding-bottom: 1em;
position: fixed;
right: 0;
text-overflow: ellipsis;
top: 3.5em;
width: 26.5em;
z-index: 75;
}
#searchresults li.resultHeader
{
background-color: #eee;
border-bottom: solid 1px #CCC;
font-size: 1.2em;
font-weight: bold;
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;
vertical-align: top;
}
#searchresults td.result div.text
{
padding-left: 1em;
white-space: nowrap;
}
#searchresults td.result *
{
cursor: pointer;
}
#searchresults td.type
{
border-bottom: none;
border-right: 1px solid #aaa;
font-weight: bold;
text-align: right;
width: 3.5em;
}
#searchresults tr.current
{
background-color: #ddd;
}