server/search/css/results.css

88 lines
1.4 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. */
#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: scroll;
padding-bottom:6px;
position:fixed;
right:0;
text-overflow:ellipsis;
top:45px;
width:380px;
z-index:75;
}
2012-10-24 11:09:05 +00:00
.ie8 #searchresults {
border: 1px solid #666 !important;
}
2012-10-24 11:09:05 +00:00
#searchresults li.resultHeader {
background-color:#eee;
border-bottom:solid 1px #CCC;
font-size:1.2em;
font-weight:700;
padding:.2em;
}
2012-10-24 11:09:05 +00:00
#searchresults li.result {
margin-left:2em;
}
2012-10-24 11:09:05 +00:00
#searchresults table {
border-spacing:0;
table-layout:fixed;
top:0;
width:100%;
}
2012-10-24 11:09:05 +00:00
#searchresults td {
padding:0 .3em;
height: 32px;
}
#searchresults tr.template {
display: none;
}
2012-10-24 11:09:05 +00:00
#searchresults td.result {
width:250px;
}
#searchresults td.result div.text {
padding-left:1em;
white-space:nowrap;
}
2012-10-24 11:09:05 +00:00
#searchresults td.result * {
cursor:pointer;
}
2012-10-24 11:09:05 +00:00
#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;
}