server/core/search/css/results.css

103 lines
1.9 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;
text-overflow: ellipsis;
padding-top: 65px;
box-sizing: border-box;
z-index: 75;
/* account for margin-bottom in files list */
margin-top: -250px;
}
#searchresults.hidden {
display: none;
}
2014-12-11 15:23:39 +00:00
#searchresults * {
box-sizing: content-box;
}
2012-10-24 11:09:05 +00:00
#searchresults .status {
2014-12-17 21:28:37 +00:00
background-color: rgba(255, 255, 255, .85);
height: 12px;
padding: 28px 0 28px 56px;
2014-12-17 21:28:37 +00:00
font-size: 18px;
}
.has-favorites:not(.hidden) ~ #searchresults .status {
padding-left: 102px;
}
#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%;
}
2012-10-24 11:09:05 +00:00
#searchresults td {
padding: 5px 19px;
2014-12-11 15:23:39 +00:00
font-style: normal;
vertical-align: middle;
2014-12-04 12:43:38 +00:00
border-bottom: none;
}
#searchresults td.icon {
text-align: right;
width: 40px;
height: 40px;
padding: 5px 0;
background-position: right center;
background-repeat: no-repeat;
}
.has-favorites:not(.hidden) ~ #searchresults td.icon {
width: 86px;
}
#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;
}
#searchresults .text {
2014-12-04 12:43:38 +00:00
white-space: normal;
color: #545454;
}
#searchresults .path {
2014-12-17 21:28:37 +00:00
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
2014-12-04 12:43:38 +00:00
}
#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 tr.current {
background-color:#ddd;
}