diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-13 16:27:05 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-13 16:27:05 +0100 |
commit | a83647928722eef039302971e36fd58e3238de25 (patch) | |
tree | ffdd866797224538625b5920c22f00d46e6e179b /core/search/css | |
parent | 55672280e060241aed453748f6072ef6ed91994d (diff) | |
download | nextcloud-server-a83647928722eef039302971e36fd58e3238de25.tar.gz nextcloud-server-a83647928722eef039302971e36fd58e3238de25.zip |
move search folder into core/
Diffstat (limited to 'core/search/css')
-rw-r--r-- | core/search/css/results.css | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/core/search/css/results.css b/core/search/css/results.css new file mode 100644 index 00000000000..04f7b6dcb99 --- /dev/null +++ b/core/search/css/results.css @@ -0,0 +1,100 @@ +/* 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; +} + +#searchresults.hidden { + display: none; +} +#searchresults * { + box-sizing: content-box; +} + +#searchresults #status { + background-color: rgba(255, 255, 255, .85); + height: 12px; + padding: 28px 0 28px 56px; + 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%; +} + +#searchresults td { + padding: 5px 19px; + font-style: normal; + vertical-align: middle; + 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; +} + +#searchresults .name, +#searchresults .text, +#searchresults .path { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +#searchresults .text { + white-space: normal; + color: #545454; +} +#searchresults .path { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); + opacity: .5; +} +#searchresults .text em { + color: #545454; + font-weight: bold; + opacity: 1; +} + +#searchresults tr.result * { + cursor:pointer; +} + +#searchresults tr.current { + background-color:#ddd; +} |