mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
08972d0648
commit
315d60943d
6 changed files with 24 additions and 7 deletions
|
@ -14,12 +14,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.4.395",
|
"version": "1.4.396",
|
||||||
"_release": "1.4.395",
|
"_release": "1.4.396",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.4.395",
|
"tag": "1.4.396",
|
||||||
"commit": "d50378cacaf7e08eea2768f7b088dd0f5c62a91d"
|
"commit": "4e12304c8e306a0cb82191bb47b9db4d9ceeef9a"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||||
"_target": "^1.2.1",
|
"_target": "^1.2.1",
|
||||||
|
|
|
@ -54,6 +54,10 @@
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.actionSheetMenuItem:focus {
|
||||||
|
transform: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.actionSheetMenuItem-noflex {
|
.actionSheetMenuItem-noflex {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
.emby-button-focusscale:focus {
|
.emby-button-focusscale:focus {
|
||||||
transform: scale(1.16);
|
transform: scale(1.16);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.emby-button > i {
|
.emby-button > i {
|
||||||
|
|
|
@ -2,6 +2,18 @@
|
||||||
margin: 0 1em 0 0;
|
margin: 0 1em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mediaInfoText {
|
||||||
|
background: rgba(31,31,31,.7);
|
||||||
|
padding: .2em .5em;
|
||||||
|
border-radius: .25em;
|
||||||
|
color: #ddd;
|
||||||
|
font-size: 84%;
|
||||||
|
background: rgba(170,170,190, .2);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.mediaInfoIconItem {
|
.mediaInfoIconItem {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
|
@ -7,13 +7,15 @@ define(['browser', 'dom', 'css!./viewcontainer-lite'], function (browser, dom) {
|
||||||
var pageContainerCount = 3;
|
var pageContainerCount = 3;
|
||||||
var selectedPageIndex = -1;
|
var selectedPageIndex = -1;
|
||||||
|
|
||||||
|
var forceDisableAnimation = navigator.userAgent.toLowerCase().indexOf('embytheaterpi') !== -1;
|
||||||
|
|
||||||
function enableAnimation() {
|
function enableAnimation() {
|
||||||
|
|
||||||
// too slow
|
// too slow
|
||||||
if (browser.tv) {
|
if (browser.tv) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (navigator.userAgent.toLowerCase().indexOf('embytheaterpi') !== -1) {
|
if (forceDisableAnimation) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1367,7 +1367,7 @@
|
||||||
page.querySelector('#childrenTitle').innerHTML = globalize.translate('HeaderEpisodes');
|
page.querySelector('#childrenTitle').innerHTML = globalize.translate('HeaderEpisodes');
|
||||||
}
|
}
|
||||||
else if (item.Type == "Episode") {
|
else if (item.Type == "Episode") {
|
||||||
page.querySelector('#childrenTitle').innerHTML = item.SeasonName;
|
page.querySelector('#childrenTitle').innerHTML = globalize.translate('MoreFromValue', item.SeasonName);
|
||||||
}
|
}
|
||||||
else if (item.Type == "Series") {
|
else if (item.Type == "Series") {
|
||||||
page.querySelector('#childrenTitle').innerHTML = globalize.translate('HeaderSeasons');
|
page.querySelector('#childrenTitle').innerHTML = globalize.translate('HeaderSeasons');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue