mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
improved tile styles
This commit is contained in:
parent
322cc9ebe9
commit
6510868c48
9 changed files with 307 additions and 130 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
html += '<div class="posterViewItem">';
|
||||
html += '<a href="' + view.url + '">';
|
||||
html += '<img style="background: ' + view.background + ';" src="' + view.img + '"><div class="posterViewItemText">' + view.name + '</div>';
|
||||
html += '<a class="posterItem backdropPosterItem" href="' + view.url + '">';
|
||||
|
||||
html += '<div class="posterItemImage" style="background-color: ' + view.background + ';background-image:url(\'' + view.img + '\');"></div><div class="posterItemText posterItemTextCentered">' + view.name + '</div>';
|
||||
|
||||
html += '</a>';
|
||||
html += '</div>';
|
||||
|
||||
return html;
|
||||
}
|
||||
|
@ -32,7 +32,9 @@
|
|||
|
||||
$('#divCollections', page).html(LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
showTitle: true
|
||||
showTitle: true,
|
||||
shape: "backdrop",
|
||||
centerText: true
|
||||
}));
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue