mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
support plot keywords
This commit is contained in:
parent
e3b57e4c97
commit
e8dd5c816f
@ -14,6 +14,11 @@
|
|||||||
transition: all 500ms ease;
|
transition: all 500ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.posterItemOverlayTarget {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
.smallBackdropPosterItem, .smallPosterItem {
|
.smallBackdropPosterItem, .smallPosterItem {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
@ -916,6 +916,8 @@
|
|||||||
imageCssClass += " coveredPosterItemImage";
|
imageCssClass += " coveredPosterItemImage";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html += '<div class="posterItemOverlayTarget"></div>';
|
||||||
|
|
||||||
var progressHtml = LibraryBrowser.getItemProgressBarHtml(item);
|
var progressHtml = LibraryBrowser.getItemProgressBarHtml(item);
|
||||||
|
|
||||||
html += '<div class="' + imageCssClass + '" style="' + style + '">';
|
html += '<div class="' + imageCssClass + '" style="' + style + '">';
|
||||||
@ -2498,7 +2500,11 @@
|
|||||||
|
|
||||||
$(document.body).append(html);
|
$(document.body).append(html);
|
||||||
|
|
||||||
var popup = $('.itemFlyout').on('mouseenter', onOverlayMouseOver).on('mouseleave', onOverlayMouseOut).popup({ positionTo: elem }).trigger('create').popup("open").on("popupafterclose", function () {
|
var popup = $('.itemFlyout').on('mouseenter', onOverlayMouseOver).on('mouseleave', onOverlayMouseOut).popup({
|
||||||
|
|
||||||
|
positionTo: $('.posterItemOverlayTarget', elem)
|
||||||
|
|
||||||
|
}).trigger('create').popup("open").on("popupafterclose", function () {
|
||||||
|
|
||||||
$(this).off("popupafterclose").off("mouseenter").off("mouseleave").remove();
|
$(this).off("popupafterclose").off("mouseenter").off("mouseleave").remove();
|
||||||
});
|
});
|
||||||
@ -2588,7 +2594,7 @@
|
|||||||
|
|
||||||
onShowTimerExpired(elem);
|
onShowTimerExpired(elem);
|
||||||
|
|
||||||
}, 600);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://hacks.mozilla.org/2013/04/detecting-touch-its-the-why-not-the-how/
|
// https://hacks.mozilla.org/2013/04/detecting-touch-its-the-why-not-the-how/
|
||||||
@ -2599,8 +2605,6 @@
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this;
|
|
||||||
|
|
||||||
return this.on('mouseenter', '.posterItem', onHoverIn)
|
return this.on('mouseenter', '.posterItem', onHoverIn)
|
||||||
.on('mouseleave', '.posterItem', onHoverOut)
|
.on('mouseleave', '.posterItem', onHoverOut)
|
||||||
.on('click', '.posterItem', onPosterItemClicked);
|
.on('click', '.posterItem', onPosterItemClicked);
|
||||||
|
Loading…
Reference in New Issue
Block a user