server/search/css/results.css

78 lines
1.3 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;
overflow-x:hidden;
overflow-y: auto;
position:fixed;
text-overflow:ellipsis;
2014-12-04 12:43:38 +00:00
top:0;
padding-top: 45px;
height: 100%;
box-sizing: border-box;
z-index:75;
}
2014-12-11 15:23:39 +00:00
#searchresults * {
box-sizing: content-box;
}
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 {
2014-12-11 15:23:39 +00:00
padding: 0 15px;
font-style: normal;
vertical-align: middle;
2014-12-04 12:43:38 +00:00
border-top: 20px solid white;
border-bottom: none;
}
#searchresults tr.template {
display: none;
}
2012-10-24 11:09:05 +00:00
#searchresults .name,
2014-12-04 12:43:38 +00:00
#searchresults .text,
#searchresults .path {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2014-12-04 12:43:38 +00:00
#searchresults .name {
font-size: larger;
}
#searchresults .text {
2014-12-04 12:43:38 +00:00
white-space: normal;
color: #545454;
}
#searchresults .path {
color: green;
}
#searchresults .text em {
color: #545454;
font-weight: bold;
opacity: 1;
}
2012-10-24 11:09:05 +00:00
#searchresults tr.result * {
cursor:pointer;
}
2012-10-24 11:09:05 +00:00
#searchresults td.icon {
font-weight:700;
text-align:right;
width:32px;
height: 40px;
background-position: 30px 4px;
background-repeat: no-repeat;
}
#searchresults tr.current {
background-color:#ddd;
}