opacity: 0;
}
-#nofilterresults {
+.nofilterresults {
font-size: 16px;
color: #888;
position: absolute;
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;
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');
}
},
/**
}
}
function hideNoFilterResults() {
- var $nofilterresults = $('#nofilterresults');
+ var $nofilterresults = $('.nofilterresults');
if ( ! $nofilterresults.hasClass('hidden') ) {
$nofilterresults.addClass('hidden');
}
if (query.length > 2) {
//search is not started until 500msec have passed
window.setTimeout(function() {
- $('#nofilterresults').addClass('hidden');
+ $('.nofilterresults').addClass('hidden');
}, 500);
}
}
<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>
<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>
<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>
<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>