mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
sync updates
This commit is contained in:
parent
4ad1f56376
commit
9f3dd3d2e6
4 changed files with 67 additions and 5 deletions
|
@ -383,7 +383,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
}
|
}
|
||||||
|
|
||||||
.noBackdrop {
|
.noBackdrop {
|
||||||
height: 260px;
|
height: 220px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.noBackdrop .itemBackdropContent {
|
.noBackdrop .itemBackdropContent {
|
||||||
|
@ -513,7 +513,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
}
|
}
|
||||||
|
|
||||||
.portraitDetailImageContainer img {
|
.portraitDetailImageContainer img {
|
||||||
max-width: 220px;
|
max-width: 185px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lastDetailContentEffectedByImage.detailContentEffectedByPortraitImage {
|
.lastDetailContentEffectedByImage.detailContentEffectedByPortraitImage {
|
||||||
|
@ -537,6 +537,10 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.portraitDetailImageContainer img {
|
||||||
|
max-height: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
.lastDetailContentEffectedByImage.detailContentEffectedByPortraitImage {
|
.lastDetailContentEffectedByImage.detailContentEffectedByPortraitImage {
|
||||||
min-height: initial;
|
min-height: initial;
|
||||||
}
|
}
|
||||||
|
|
|
@ -486,6 +486,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 800px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 32%;
|
||||||
|
/* Specify a min width just in case the container doesn't have a width */
|
||||||
|
min-width: 160px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (min-width: 1000px) {
|
@media all and (min-width: 1000px) {
|
||||||
|
|
||||||
.myLibraryPosterItem {
|
.myLibraryPosterItem {
|
||||||
|
@ -494,3 +503,47 @@
|
||||||
min-width: 220px;
|
min-width: 220px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 1200px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 24.0%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 1440px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 19.0%;
|
||||||
|
/* Specify a min width just in case the container doesn't have a width */
|
||||||
|
min-width: 220px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 1600px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 15.5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 1700px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 16%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 2000px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 13.5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 2300px) {
|
||||||
|
|
||||||
|
.myLibraryPosterItem {
|
||||||
|
width: 13.8%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
html += "<div class='posterItemDefaultText posterItemText'>";
|
html += "<div class='posterItemDefaultText posterItemText'>";
|
||||||
html += '<i class="fa ' + icon + '"></i>';
|
html += '<i class="fa ' + icon + '"></i>';
|
||||||
html += item.Name;
|
html += '<span>' + item.Name + '</span>';
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
|
|
||||||
html += "</a>";
|
html += "</a>";
|
||||||
|
@ -315,7 +315,12 @@
|
||||||
|
|
||||||
$('a.posterItem', elem).on('click', function () {
|
$('a.posterItem', elem).on('click', function () {
|
||||||
|
|
||||||
var text = $('.posterItemText', this).html();
|
var textElem = $('.posterItemText span', this);
|
||||||
|
|
||||||
|
if (!textElem.length) {
|
||||||
|
textElem = $('.posterItemText', this);
|
||||||
|
}
|
||||||
|
var text = textElem.html();
|
||||||
|
|
||||||
LibraryMenu.setText(text);
|
LibraryMenu.setText(text);
|
||||||
});
|
});
|
||||||
|
|
|
@ -160,7 +160,7 @@
|
||||||
var listItem = $(elem).parents('li');
|
var listItem = $(elem).parents('li');
|
||||||
var id = listItem.attr('data-itemid');
|
var id = listItem.attr('data-itemid');
|
||||||
var status = listItem.attr('data-status');
|
var status = listItem.attr('data-status');
|
||||||
var remove = listItem.attr('data-remove');
|
var remove = listItem.attr('data-remove').toLowerCase() == 'true';
|
||||||
|
|
||||||
$('.jobMenu', page).popup("close").remove();
|
$('.jobMenu', page).popup("close").remove();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue