mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update probing
This commit is contained in:
parent
11e4966819
commit
8ac4ff719f
5 changed files with 29 additions and 9 deletions
|
@ -14,12 +14,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.4.368",
|
"version": "1.4.369",
|
||||||
"_release": "1.4.368",
|
"_release": "1.4.369",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.4.368",
|
"tag": "1.4.369",
|
||||||
"commit": "6d80986170e396308e4e9c1865b97375c1769708"
|
"commit": "ffc05de380954c16b3621824d3034dc2c1a5a1ee"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "^1.2.1",
|
"_target": "^1.2.1",
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
user-select: none;
|
user-select: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
padding: 0.95em 0.64em;
|
padding: 1em .7em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -139,7 +139,8 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
|
||||||
Filters: "IsNotFolder",
|
Filters: "IsNotFolder",
|
||||||
SortBy: "DateCreated",
|
SortBy: "DateCreated",
|
||||||
SortOrder: "Descending",
|
SortOrder: "Descending",
|
||||||
Ids: newItems.join(',')
|
Ids: newItems.join(','),
|
||||||
|
MediaTypes: "Audio,Video"
|
||||||
|
|
||||||
}).then(function (result) {
|
}).then(function (result) {
|
||||||
|
|
||||||
|
|
|
@ -301,7 +301,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
|
|
||||||
.detailLogo {
|
.detailLogo {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: 80px;
|
height: 70px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10%;
|
top: 10%;
|
||||||
right: 20%;
|
right: 20%;
|
||||||
|
@ -372,7 +372,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
||||||
|
|
||||||
.detailPagePrimaryContainer {
|
.detailPagePrimaryContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 3em;
|
margin-bottom: 3.6em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
renderDetails(page, item, context);
|
renderDetails(page, item, context);
|
||||||
|
|
||||||
backdrop.setBackdrops([item], {
|
backdrop.setBackdrops([item], {
|
||||||
blur: 48
|
blur: 40
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
LibraryBrowser.renderDetailPageBackdrop(page, item, imageLoader);
|
LibraryBrowser.renderDetailPageBackdrop(page, item, imageLoader);
|
||||||
|
@ -288,6 +288,18 @@
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function bounceIn(elem) {
|
||||||
|
var keyframes = [
|
||||||
|
{ transform: 'scale3d(.3, .3, .3)', opacity: '0', offset: 0 },
|
||||||
|
{ transform: 'scale3d(1.1, 1.1, 1.1)', offset: 0.2 },
|
||||||
|
{ transform: 'scale3d(.9, .9, .9)', offset: 0.4 },
|
||||||
|
{ transform: 'scale3d(1.03, 1.03, 1.03)', opacity: '1', offset: 0.6 },
|
||||||
|
{ transform: 'scale3d(.97, .97, .97)', offset: 0.8 },
|
||||||
|
{ transform: 'scale3d(1, 1, 1)', opacity: '1', offset: 1 }];
|
||||||
|
var timing = { duration: 900, iterations: 1, easing: 'cubic-bezier(0.215, 0.610, 0.355, 1.000)' };
|
||||||
|
return elem.animate(keyframes, timing);
|
||||||
|
}
|
||||||
|
|
||||||
function renderLogo(page, item, apiClient) {
|
function renderLogo(page, item, apiClient) {
|
||||||
var url = logoImageUrl(item, apiClient, {
|
var url = logoImageUrl(item, apiClient, {
|
||||||
maxWidth: 300
|
maxWidth: 300
|
||||||
|
@ -300,6 +312,13 @@
|
||||||
detailLogo.classList.add('lazy');
|
detailLogo.classList.add('lazy');
|
||||||
detailLogo.setAttribute('data-src', url);
|
detailLogo.setAttribute('data-src', url);
|
||||||
imageLoader.lazyImage(detailLogo);
|
imageLoader.lazyImage(detailLogo);
|
||||||
|
|
||||||
|
//if (detailLogo.animate) {
|
||||||
|
// setTimeout(function() {
|
||||||
|
// bounceIn(detailLogo);
|
||||||
|
// }, 100);
|
||||||
|
//}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
detailLogo.classList.add('hide');
|
detailLogo.classList.add('hide');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue