2012-04-23 16:19:03 +04:00
|
|
|
/* 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. */
|
|
|
|
|
2013-07-31 18:52:53 +04:00
|
|
|
#searchresults {
|
2015-05-02 16:07:42 +03:00
|
|
|
background-color: #fff;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-01-02 16:46:35 +03:00
|
|
|
padding-top: 65px;
|
2014-12-06 02:53:06 +03:00
|
|
|
box-sizing: border-box;
|
2015-05-02 16:07:42 +03:00
|
|
|
z-index: 75;
|
|
|
|
/* account for margin-bottom in files list */
|
|
|
|
margin-top: -250px;
|
2013-07-31 18:52:53 +04:00
|
|
|
}
|
2015-06-22 16:30:29 +03:00
|
|
|
#searchresults.filter-empty {
|
|
|
|
/* remove whitespace on bottom when no search results, to fix layout */
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
2015-01-02 16:46:35 +03:00
|
|
|
|
|
|
|
#searchresults.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-12-11 18:23:39 +03:00
|
|
|
#searchresults * {
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2015-03-24 12:56:44 +03:00
|
|
|
#searchresults .status {
|
2014-12-18 00:28:37 +03:00
|
|
|
background-color: rgba(255, 255, 255, .85);
|
|
|
|
height: 12px;
|
2014-12-18 01:28:29 +03:00
|
|
|
padding: 28px 0 28px 56px;
|
2014-12-18 00:28:37 +03:00
|
|
|
font-size: 18px;
|
2014-12-18 01:28:29 +03:00
|
|
|
}
|
2015-03-24 12:56:44 +03:00
|
|
|
.has-favorites:not(.hidden) ~ #searchresults .status {
|
2014-12-18 01:28:29 +03:00
|
|
|
padding-left: 102px;
|
2014-12-17 20:49:39 +03:00
|
|
|
}
|
2015-03-24 12:56:44 +03:00
|
|
|
#searchresults .status.fixed {
|
2014-12-17 20:49:39 +03:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
2015-03-24 12:56:44 +03:00
|
|
|
#searchresults .status .spinner {
|
2015-01-02 16:22:48 +03:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2013-07-31 18:52:53 +04:00
|
|
|
#searchresults table {
|
|
|
|
border-spacing:0;
|
|
|
|
table-layout:fixed;
|
|
|
|
top:0;
|
|
|
|
width:100%;
|
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-07-31 18:52:53 +04:00
|
|
|
#searchresults td {
|
2014-12-18 01:28:29 +03:00
|
|
|
padding: 5px 19px;
|
2014-12-11 18:23:39 +03:00
|
|
|
font-style: normal;
|
|
|
|
vertical-align: middle;
|
2014-12-04 15:43:38 +03:00
|
|
|
border-bottom: none;
|
2013-08-01 00:24:52 +04:00
|
|
|
}
|
2014-12-18 01:28:29 +03:00
|
|
|
#searchresults td.icon {
|
|
|
|
text-align: right;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
padding: 5px 0;
|
|
|
|
background-position: right center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2015-01-02 16:22:48 +03:00
|
|
|
.has-favorites:not(.hidden) ~ #searchresults td.icon {
|
2014-12-18 01:28:29 +03:00
|
|
|
width: 86px;
|
2017-02-20 21:48:40 +03:00
|
|
|
background-size: 32px;
|
2014-12-18 01:28:29 +03:00
|
|
|
}
|
|
|
|
|
2013-08-01 00:24:52 +04:00
|
|
|
#searchresults tr.template {
|
|
|
|
display: none;
|
2013-07-31 18:52:53 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2014-04-09 14:51:32 +04:00
|
|
|
#searchresults .name,
|
2014-12-04 15:43:38 +03:00
|
|
|
#searchresults .text,
|
|
|
|
#searchresults .path {
|
2014-04-09 14:51:32 +04:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-08-01 00:24:52 +04:00
|
|
|
}
|
2014-04-09 14:51:32 +04:00
|
|
|
#searchresults .text {
|
2014-12-04 15:43:38 +03:00
|
|
|
white-space: normal;
|
|
|
|
color: #545454;
|
|
|
|
}
|
|
|
|
#searchresults .path {
|
2014-12-18 00:28:37 +03:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
opacity: .5;
|
2014-12-04 15:43:38 +03:00
|
|
|
}
|
|
|
|
#searchresults .text em {
|
|
|
|
color: #545454;
|
|
|
|
font-weight: bold;
|
|
|
|
opacity: 1;
|
2013-07-31 18:52:53 +04:00
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2014-12-06 02:53:06 +03:00
|
|
|
#searchresults tr.result * {
|
2013-07-31 18:52:53 +04:00
|
|
|
cursor:pointer;
|
|
|
|
}
|
2012-10-24 15:09:05 +04:00
|
|
|
|
2013-07-31 18:52:53 +04:00
|
|
|
#searchresults tr.current {
|
|
|
|
background-color:#ddd;
|
2013-08-18 13:02:08 +04:00
|
|
|
}
|