From ac4c7c7b71880832001d1642181d1430f8ab452f Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Mon, 30 Sep 2019 21:42:04 +0300 Subject: [PATCH 1/3] Update itemMediaInfo.js remove centerfocus --- src/components/itemMediaInfo/itemMediaInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/itemMediaInfo/itemMediaInfo.js b/src/components/itemMediaInfo/itemMediaInfo.js index da3708714..e33b1273f 100644 --- a/src/components/itemMediaInfo/itemMediaInfo.js +++ b/src/components/itemMediaInfo/itemMediaInfo.js @@ -136,7 +136,7 @@ define(["dialogHelper", "require", "layoutManager", "globalize", "userSettings", html += globalize.translateDocument(template, "core"); dlg.innerHTML = html; if (layoutManager.tv) { - scrollHelper.centerFocus.on(dlg.querySelector(".formDialogContent"), false); + dlg.querySelector(".formDialogContent"); } dialogHelper.open(dlg); dlg.querySelector(".btnCancel").addEventListener("click", function (e) { From dc6f7dcb8f469721b39235efb7c6569b45a47ab1 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Mon, 30 Sep 2019 21:43:20 +0300 Subject: [PATCH 2/3] add style mediaInfoContent --- src/components/themes/appletv/theme.css | 6 ++++++ src/components/themes/blueradiance/theme.css | 6 ++++++ src/components/themes/dark/theme.css | 6 ++++++ src/components/themes/emby/theme.css | 6 ++++++ src/components/themes/light/theme.css | 6 ++++++ src/components/themes/purple-haze/theme.css | 6 ++++++ src/components/themes/wmc/theme.css | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/src/components/themes/appletv/theme.css b/src/components/themes/appletv/theme.css index 35b388d1c..600dd43f3 100644 --- a/src/components/themes/appletv/theme.css +++ b/src/components/themes/appletv/theme.css @@ -462,3 +462,9 @@ html { .metadataSidebarIcon { color: #00a4dc } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} diff --git a/src/components/themes/blueradiance/theme.css b/src/components/themes/blueradiance/theme.css index 4740fc5ee..476ea0dab 100644 --- a/src/components/themes/blueradiance/theme.css +++ b/src/components/themes/blueradiance/theme.css @@ -470,3 +470,9 @@ html { .metadataSidebarIcon { color: #00a4dc } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} diff --git a/src/components/themes/dark/theme.css b/src/components/themes/dark/theme.css index 161c8d6df..781ea538e 100644 --- a/src/components/themes/dark/theme.css +++ b/src/components/themes/dark/theme.css @@ -447,3 +447,9 @@ html { .metadataSidebarIcon { color: #00a4dc } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} diff --git a/src/components/themes/emby/theme.css b/src/components/themes/emby/theme.css index d018ec715..93172a322 100644 --- a/src/components/themes/emby/theme.css +++ b/src/components/themes/emby/theme.css @@ -447,3 +447,9 @@ html { .metadataSidebarIcon { color: #00a4dc } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} diff --git a/src/components/themes/light/theme.css b/src/components/themes/light/theme.css index f7cc4da9f..af0aa04f8 100644 --- a/src/components/themes/light/theme.css +++ b/src/components/themes/light/theme.css @@ -443,3 +443,9 @@ html { .metadataSidebarIcon { color: #00a4dc } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} diff --git a/src/components/themes/purple-haze/theme.css b/src/components/themes/purple-haze/theme.css index 684ac96f1..5670394f1 100644 --- a/src/components/themes/purple-haze/theme.css +++ b/src/components/themes/purple-haze/theme.css @@ -575,3 +575,9 @@ a[data-role=button] { .metadataSidebarIcon { color: #dbe6ff } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} diff --git a/src/components/themes/wmc/theme.css b/src/components/themes/wmc/theme.css index 239e920a3..66b4b2389 100644 --- a/src/components/themes/wmc/theme.css +++ b/src/components/themes/wmc/theme.css @@ -465,3 +465,9 @@ html { .metadataSidebarIcon { color: #00a4dc } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +} From cb6920c51fe05e85a50a69da5c39c21fa9f8ccac Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Tue, 1 Oct 2019 16:42:01 +0300 Subject: [PATCH 3/3] move mediainfocontent style to site.css --- src/components/themes/appletv/theme.css | 6 ------ src/components/themes/blueradiance/theme.css | 6 ------ src/components/themes/dark/theme.css | 6 ------ src/components/themes/emby/theme.css | 6 ------ src/components/themes/light/theme.css | 6 ------ src/components/themes/purple-haze/theme.css | 6 ------ src/components/themes/wmc/theme.css | 6 ------ src/css/site.css | 6 ++++++ 8 files changed, 6 insertions(+), 42 deletions(-) diff --git a/src/components/themes/appletv/theme.css b/src/components/themes/appletv/theme.css index 600dd43f3..35b388d1c 100644 --- a/src/components/themes/appletv/theme.css +++ b/src/components/themes/appletv/theme.css @@ -462,9 +462,3 @@ html { .metadataSidebarIcon { color: #00a4dc } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/components/themes/blueradiance/theme.css b/src/components/themes/blueradiance/theme.css index 476ea0dab..4740fc5ee 100644 --- a/src/components/themes/blueradiance/theme.css +++ b/src/components/themes/blueradiance/theme.css @@ -470,9 +470,3 @@ html { .metadataSidebarIcon { color: #00a4dc } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/components/themes/dark/theme.css b/src/components/themes/dark/theme.css index 781ea538e..161c8d6df 100644 --- a/src/components/themes/dark/theme.css +++ b/src/components/themes/dark/theme.css @@ -447,9 +447,3 @@ html { .metadataSidebarIcon { color: #00a4dc } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/components/themes/emby/theme.css b/src/components/themes/emby/theme.css index 93172a322..d018ec715 100644 --- a/src/components/themes/emby/theme.css +++ b/src/components/themes/emby/theme.css @@ -447,9 +447,3 @@ html { .metadataSidebarIcon { color: #00a4dc } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/components/themes/light/theme.css b/src/components/themes/light/theme.css index af0aa04f8..f7cc4da9f 100644 --- a/src/components/themes/light/theme.css +++ b/src/components/themes/light/theme.css @@ -443,9 +443,3 @@ html { .metadataSidebarIcon { color: #00a4dc } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/components/themes/purple-haze/theme.css b/src/components/themes/purple-haze/theme.css index 5670394f1..684ac96f1 100644 --- a/src/components/themes/purple-haze/theme.css +++ b/src/components/themes/purple-haze/theme.css @@ -575,9 +575,3 @@ a[data-role=button] { .metadataSidebarIcon { color: #dbe6ff } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/components/themes/wmc/theme.css b/src/components/themes/wmc/theme.css index 66b4b2389..239e920a3 100644 --- a/src/components/themes/wmc/theme.css +++ b/src/components/themes/wmc/theme.css @@ -465,9 +465,3 @@ html { .metadataSidebarIcon { color: #00a4dc } - -.mediaInfoContent { - margin-left: auto; - margin-right: auto; - width: 85% -} diff --git a/src/css/site.css b/src/css/site.css index 87ce6841a..7c7f70885 100644 --- a/src/css/site.css +++ b/src/css/site.css @@ -108,3 +108,9 @@ div[data-role=page] { padding-bottom: .4em !important; padding-top: .4em !important } + +.mediaInfoContent { + margin-left: auto; + margin-right: auto; + width: 85% +}