first style fixes to search results

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 22:28:37 +01:00 committed by Jörn Friedrich Dreyer
parent 606f802b7b
commit 423a3047d7
2 changed files with 12 additions and 13 deletions

View file

@ -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;
}

View file

@ -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);
});