related to #1609 replacing squeleton in the search album tab

This commit is contained in:
Matthieu Leproux
2022-04-26 11:36:15 +02:00
parent 903a2f27ae
commit 11b51ff2b8
5 changed files with 15 additions and 12 deletions
+1 -12
View File
@@ -128,15 +128,6 @@ function resultAppear(result) {
}
}
function prepare_skeleton() {
while (!($(document).height() > $(window).height())) {
$(".search-album-ghost").append("<div></div>");
}
$(".search-album-ghost div:last").remove();
};
prepare_skeleton();
updateSearch();
$('.search-input').focus();
{/literal}
@@ -156,9 +147,7 @@ $('.search-input').focus();
</div>
<div class="search-album-ghost">
<div></div>
<div></div>
<div></div>
<span>{'No research in progress'|@translate}</span>
</div>
<div class="search-album-elem-template" style="display:none">
+8
View File
@@ -5993,6 +5993,14 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
background-image: linear-gradient(0.25turn, #eee, rgb(250, 250, 250));
background-attachment: fixed;
}
.search-album-ghost span{
text-align: center;
font-weight: 600;
padding: 90px 0;
background-color: #f3f3f3;
color: #c1c1c1;
margin: 1em;
}
.search-album-elem {
box-shadow: 0px 2px 3px #00000024;
+4
View File
@@ -1202,6 +1202,10 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
.search-album-ghost div {
background-image: linear-gradient(#333, #444);
}
.search-album-ghost span{
background-color: #5a5757;
color: #c1c1c1;
}
/* Icon colors*/
+1
View File
@@ -1278,6 +1278,7 @@ $lang['This albums is already in related categories list'] = 'This albums is alr
$lang['No search in progress'] = 'No search in progress';
$lang['Create a new album at root'] = 'Create a new album at root';
$lang['Create a sub-album of "%s"'] = 'Create a sub-album of "%s"';
$lang['No research in progress'] = 'No research in progress';
$lang['Visited'] = 'Visited';
$lang['Downloaded'] = 'Downloaded';
+1
View File
@@ -1272,6 +1272,7 @@ $lang['Purge Actions'] = 'Actions de purge';
$lang['Purge Cache'] = 'Purger le cache';
$lang['Create a new album at root'] = 'Créer un nouvel album à la racine';
$lang['Create a sub-album of "%s"'] = 'Créer un sous-album de "%s"';
$lang['No research in progress'] = 'Pas de recherche en cours';
$lang['Rename "%s"'] = 'Renommer "%s"';
$lang['Yes, rename'] = 'Oui, renommer';
$lang['Tag name'] = 'Nom du tag';