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

update probing

This commit is contained in:
Luke Pulverenti 2016-12-03 15:00:41 -05:00
parent 11e4966819
commit 8ac4ff719f
5 changed files with 29 additions and 9 deletions

View file

@ -14,12 +14,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.368",
"_release": "1.4.368",
"version": "1.4.369",
"_release": "1.4.369",
"_resolution": {
"type": "version",
"tag": "1.4.368",
"commit": "6d80986170e396308e4e9c1865b97375c1769708"
"tag": "1.4.369",
"commit": "ffc05de380954c16b3621824d3034dc2c1a5a1ee"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1",

View file

@ -15,7 +15,7 @@
user-select: none;
cursor: pointer;
z-index: 0;
padding: 0.95em 0.64em;
padding: 1em .7em;
font-weight: normal;
vertical-align: middle;
border: 0;

View file

@ -139,7 +139,8 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
Filters: "IsNotFolder",
SortBy: "DateCreated",
SortOrder: "Descending",
Ids: newItems.join(',')
Ids: newItems.join(','),
MediaTypes: "Audio,Video"
}).then(function (result) {

View file

@ -301,7 +301,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
.detailLogo {
width: 300px;
height: 80px;
height: 70px;
position: absolute;
top: 10%;
right: 20%;
@ -372,7 +372,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
.detailPagePrimaryContainer {
display: flex;
margin-bottom: 3em;
margin-bottom: 3.6em;
}
}

View file

@ -117,7 +117,7 @@
renderDetails(page, item, context);
backdrop.setBackdrops([item], {
blur: 48
blur: 40
}, false);
LibraryBrowser.renderDetailPageBackdrop(page, item, imageLoader);
@ -288,6 +288,18 @@
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) {
var url = logoImageUrl(item, apiClient, {
maxWidth: 300
@ -300,6 +312,13 @@
detailLogo.classList.add('lazy');
detailLogo.setAttribute('data-src', url);
imageLoader.lazyImage(detailLogo);
//if (detailLogo.animate) {
// setTimeout(function() {
// bounceIn(detailLogo);
// }, 100);
//}
} else {
detailLogo.classList.add('hide');
}