1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

improve poster sizing

This commit is contained in:
Luke Pulverenti 2014-08-01 22:34:45 -04:00
parent 48ea645cf9
commit cd1e583fa7
58 changed files with 931 additions and 549 deletions

View file

@ -239,7 +239,7 @@
var nowPlayingItem = session.NowPlayingItem;
var className = nowPlayingItem ? 'card card-16-9 activeSession manualSize' : 'card card-16-9 activeSession manualSize';
var className = nowPlayingItem ? 'card activeSession' : 'card activeSession';
if (session.TranscodingInfo && session.TranscodingInfo.CompletionPercentage) {
className += ' transcodingSession';
@ -322,7 +322,7 @@
html += '</div>';
html += '<div class="posterItemOverlayTarget">';
html += '<div class="cardOverlayTarget">';
html += '<div class="sessionNowPlayingStreamInfo">' + DashboardPage.getSessionNowPlayingStreamInfo(session) + '</div>';
html += '<div class="sessionNowPlayingTime">' + DashboardPage.getSessionNowPlayingTime(session) + '</div>';
@ -978,7 +978,7 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow)
showOverlayTimeout = null;
}
$('.posterItemOverlayTarget:visible', this).each(function () {
$('.cardOverlayTarget:visible', this).each(function () {
var elem = this;
@ -990,7 +990,7 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow)
});
$('.posterItemOverlayTarget:visible', this).stop().animate({ "height": "0" }, function () {
$('.cardOverlayTarget:visible', this).stop().animate({ "height": "0" }, function () {
$(this).hide();
@ -1005,7 +1005,7 @@ $(document).on('pagebeforeshow', "#dashboardPage", DashboardPage.onPageShow)
return;
}
var innerElem = $('.posterItemOverlayTarget', elem);
var innerElem = $('.cardOverlayTarget', elem);
innerElem.show().each(function () {