diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 22:28:37 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2015-01-02 10:28:41 +0100 |
commit | 423a3047d7cb26c53674530fb99d7b381a3853ef (patch) | |
tree | 0df9aa2d830f243cfdaa6c2d42af2d974b5734a3 /search | |
parent | 606f802b7be0cb6f2f6d99c547e432bb8cd27994 (diff) | |
download | nextcloud-server-423a3047d7cb26c53674530fb99d7b381a3853ef.tar.gz nextcloud-server-423a3047d7cb26c53674530fb99d7b381a3853ef.zip |
first style fixes to search results
Diffstat (limited to 'search')
-rw-r--r-- | search/css/results.css | 23 | ||||
-rw-r--r-- | search/js/search.js | 2 |
2 files changed, 12 insertions, 13 deletions
diff --git a/search/css/results.css b/search/css/results.css index bf9a7871d17..d361090a374 100644 --- a/search/css/results.css +++ b/search/css/results.css @@ -17,9 +17,11 @@ } #searchresults #status { - background-color:#ccc; - height: 24px; - padding: 17px 15px; + background-color: rgba(255, 255, 255, .85); + height: 12px; + padding: 28px 0; + font-size: 18px; + text-align: center; } #searchresults #status.fixed { position: fixed; @@ -36,10 +38,9 @@ } #searchresults td { - padding: 0 15px; + padding: 5px 15px; font-style: normal; vertical-align: middle; - border-top: 20px solid white; border-bottom: none; } #searchresults tr.template { @@ -53,15 +54,14 @@ overflow: hidden; text-overflow: ellipsis; } -#searchresults .name { - font-size: larger; -} #searchresults .text { white-space: normal; color: #545454; } #searchresults .path { - color: green; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); + opacity: .5; } #searchresults .text em { color: #545454; @@ -74,11 +74,10 @@ } #searchresults td.icon { - font-weight:700; text-align:right; - width:32px; + width: 32px; height: 40px; - background-position: 30px 4px; + background-position: 30px 8px; background-repeat: no-repeat; } diff --git a/search/js/search.js b/search/js/search.js index 8791b98cfdd..2da5dd5c3d2 100644 --- a/search/js/search.js +++ b/search/js/search.js @@ -182,7 +182,7 @@ $('#app-content').on('scroll', _.bind(onScroll, this)); lastResults = results; $status = $searchResults.find('#status') - .text(t('search', '{count} Search results', {count:results.length}, results.length)); + .text(t('search', '{count} search results in other folders', {count:results.length}, results.length)); placeStatus(); showResults(results); }); |