@@ -600,7 +600,7 @@ table.dragshadow td.size { | |||
opacity: 0; | |||
} | |||
#nofilterresults { | |||
.nofilterresults { | |||
font-size: 16px; | |||
color: #888; | |||
position: absolute; | |||
@@ -608,12 +608,12 @@ table.dragshadow td.size { | |||
top: 30%; | |||
width: 100%; | |||
} | |||
#nofilterresults h2 { | |||
.nofilterresults h2 { | |||
font-size: 22px; | |||
margin-bottom: 10px; | |||
} | |||
#nofilterresults [class^="icon-"], | |||
#nofilterresults [class*=" icon-"] { | |||
.nofilterresults [class^="icon-"], | |||
.nofilterresults [class*=" icon-"] { | |||
background-size: 64px; | |||
height: 64px; | |||
width: 64px; |
@@ -1691,13 +1691,13 @@ | |||
this.$el.find('#filestable thead th').addClass('hidden'); | |||
this.$el.find('#emptycontent').addClass('hidden'); | |||
if ( $('#searchresults').length === 0 || $('#searchresults').hasClass('hidden')) { | |||
this.$el.find('#nofilterresults').removeClass('hidden'). | |||
this.$el.find('.nofilterresults').removeClass('hidden'). | |||
find('p').text(t('files', "No entries in this folder match '{filter}'", {filter:this._filter})); | |||
} | |||
} else { | |||
this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty); | |||
this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty); | |||
this.$el.find('#nofilterresults').addClass('hidden'); | |||
this.$el.find('.nofilterresults').addClass('hidden'); | |||
} | |||
}, | |||
/** |
@@ -48,7 +48,7 @@ | |||
} | |||
} | |||
function hideNoFilterResults() { | |||
var $nofilterresults = $('#nofilterresults'); | |||
var $nofilterresults = $('.nofilterresults'); | |||
if ( ! $nofilterresults.hasClass('hidden') ) { | |||
$nofilterresults.addClass('hidden'); | |||
} | |||
@@ -171,7 +171,7 @@ | |||
if (query.length > 2) { | |||
//search is not started until 500msec have passed | |||
window.setTimeout(function() { | |||
$('#nofilterresults').addClass('hidden'); | |||
$('.nofilterresults').addClass('hidden'); | |||
}, 500); | |||
} | |||
} |
@@ -60,7 +60,7 @@ | |||
<p><?php p($l->t('Upload some content or sync with your devices!')); ?></p> | |||
</div> | |||
<div id="nofilterresults" class="hidden"> | |||
<div class="nofilterresults hidden"> | |||
<div class="icon-search"></div> | |||
<h2><?php p($l->t('No entries found in this folder')); ?></h2> | |||
<p></p> |
@@ -11,7 +11,7 @@ | |||
<input type="hidden" name="dir" value="" id="dir"> | |||
<div id="nofilterresults" class="hidden"> | |||
<div class="nofilterresults hidden"> | |||
<div class="icon-search"></div> | |||
<h2><?php p($l->t('No entries found in this folder')); ?></h2> | |||
<p></p> |
@@ -8,7 +8,7 @@ | |||
<input type="hidden" name="dir" value="" id="dir"> | |||
<div id="nofilterresults" class="hidden"> | |||
<div class="nofilterresults hidden"> | |||
<div class="icon-search"></div> | |||
<h2><?php p($l->t('No entries found in this folder')); ?></h2> | |||
<p></p> |
@@ -12,7 +12,7 @@ | |||
<input type="hidden" name="dir" value="" id="dir"> | |||
<div id="nofilterresults" class="hidden"> | |||
<div class="nofilterresults hidden"> | |||
<div class="icon-search"></div> | |||
<h2><?php p($l->t('No entries found in this folder')); ?></h2> | |||
<p></p> |