From 42ff117d72f66885e5f6746c8b22d41887a1fb20 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 18 Aug 2015 11:25:57 -0400 Subject: [PATCH] update recordings --- dashboard-ui/css/librarybrowser.css | 2 +- dashboard-ui/scripts/itemdetailpage.js | 1 + dashboard-ui/scripts/librarymenu.js | 22 +++++++++---------- .../thirdparty/paper-button-style.css | 6 ++++- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index fe31d9a083..b9aa5bcd3c 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -840,7 +840,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { } .inlineItemName { - font-size: 18px; + font-size: 22px; } .primaryDetailPageContent p { diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index 33a4a3726e..5522872cea 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -228,6 +228,7 @@ $(page).removeClass('noSecondaryNavPage'); $('#tvShowsTabs', page).show(); + LibraryMenu.setMenuButtonVisible(true); } else { $(page).addClass('noSecondaryNavPage'); diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js index 69c5b9d1c7..b3c1886b4b 100644 --- a/dashboard-ui/scripts/librarymenu.js +++ b/dashboard-ui/scripts/librarymenu.js @@ -470,7 +470,7 @@ } function showUserAtTop() { - return Dashboard.isConnectMode(); + return Dashboard.isConnectMode() || $.browser.mobile; } var requiresLibraryMenuRefresh = false; @@ -570,7 +570,7 @@ if (mainDrawerButton) { if (!visible && $.browser.mobile) { - mainDrawerButton.classList.add('hide'); + mainDrawerButton.classList.remove('hide'); } else { mainDrawerButton.classList.remove('hide'); } @@ -756,15 +756,15 @@ LibraryMenu.setTitle(Globalize.translate(titleKey)); } - //var mainDrawerButton = document.querySelector('.mainDrawerButton'); + var mainDrawerButton = document.querySelector('.mainDrawerButton'); - //if (mainDrawerButton) { - // if (page.getAttribute('data-menubutton') == 'false' && $.browser.mobile) { - // mainDrawerButton.classList.add('hide'); - // } else { - // mainDrawerButton.classList.remove('hide'); - // } - //} + if (mainDrawerButton) { + if (page.getAttribute('data-menubutton') == 'false' && $.browser.mobile) { + mainDrawerButton.classList.remove('hide'); + } else { + mainDrawerButton.classList.remove('hide'); + } + } if (isLibraryPage) { @@ -798,7 +798,7 @@ document.body.classList.add('hideMainDrawer'); } - if (!Dashboard.isConnectMode()) { + if (!Dashboard.isConnectMode() && !$.browser.mobile) { darkDrawer = true; } diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css index a20f834d7b..5eff3c66d2 100644 --- a/dashboard-ui/thirdparty/paper-button-style.css +++ b/dashboard-ui/thirdparty/paper-button-style.css @@ -379,9 +379,13 @@ paper-menu-item { } .ui-page-theme-b paper-input label, .ui-page-theme-b paper-textarea label { - color: #ccc !important; font-size: 20px !important; font-family: inherit !important; + color: #858585 !important; +} + +.ui-page-theme-b .label-is-highlighted label { + color: #52B54B !important; } .ui-page-theme-b paper-input input, .ui-page-theme-b paper-textarea textarea {