diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 9305d1ebbe..e166310677 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -44,7 +44,7 @@ } .cardBox { - margin: 1px; + margin: 3px; } .largeCardMargin .cardBox { @@ -55,12 +55,12 @@ margin: 4px; } -/*@media all and (max-width: 600px) { +@media all and (max-width: 600px) { .cardBox { - margin: 0; + margin: 1px; } -}*/ +} .grayscale { -webkit-filter: grayscale(100%); diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index baa9882179..68dcb63aa3 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -704,7 +704,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { } .lblDetailTab { - border-color: #1f1f1f !important; + border-color: #212121 !important; } .editMetadataForm { diff --git a/dashboard-ui/css/librarymenu.css b/dashboard-ui/css/librarymenu.css index bfa482ffda..d18c1f1a30 100644 --- a/dashboard-ui/css/librarymenu.css +++ b/dashboard-ui/css/librarymenu.css @@ -8,7 +8,7 @@ .libraryMenuDivider { height: 1px; - background: #282828; + background: #333; margin: .5em 0; } @@ -196,7 +196,7 @@ } .librarySidebarLinks a:hover { - background-color: #38c !important; + background-color: #383838 !important; color: #fff !important; } @@ -208,7 +208,7 @@ } .selectedMediaFolder { - background-color: #52B54B !important; + background-color: #3388cc !important; color: #fff !important; } @@ -217,7 +217,7 @@ } .ui-panel.ui-body-b { - background-color: #161616; + background-color: #212121; } .libraryViewNav .ui-btn-active { diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index 80d5303960..66f3f6eabf 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -243,6 +243,22 @@ body:not(.enableBackButton) .headerBackButton { left: 270px !important; } +@media all and (min-width: 340px) { + + .largePanel { + width: 300px; + } + + /* Make panels larger */ + .largePanelModalOpen.ui-panel-dismiss-position-right { + right: 300px !important; + } + + .largePanelModalOpen.ui-panel-dismiss-position-left { + left: 300px !important; + } +} + pre, textarea.pre { display: block; @@ -453,12 +469,17 @@ h1 .imageLink { } .sidebarLinkIcon { - font-size: 17px; + font-size: 16px; width: 66px; text-align: center; vertical-align: middle; + color: #ddd; } + .sidebarLinkIcon + span { + vertical-align: middle; + } + .ui-page-theme-a .sidebarLinkIcon { color: #666; } @@ -473,8 +494,9 @@ h1 .imageLink { .sidebarHeader { padding-left: 20px; - margin: 1em 0; + margin: 15px 0 10px; font-size: 90%; + color: #ccc; } .ui-page-theme-a .sidebarHeader { diff --git a/dashboard-ui/scripts/extensions.js b/dashboard-ui/scripts/extensions.js index 0dc58dd4e4..28717e674b 100644 --- a/dashboard-ui/scripts/extensions.js +++ b/dashboard-ui/scripts/extensions.js @@ -126,8 +126,17 @@ var WebNotifications = { if (window.cordova && window.cordova.plugins && window.cordova.plugins.notification) { + if (!WebNotifications.lastId) { + // Cordova plugin will crash on android with long. need an int + WebNotifications.lastId = new Date().getDate() + new Date().getMilliseconds(); + } + + WebNotifications.lastId++; + window.cordova.plugins.notification.local.schedule({ - id: new Date().getTime(), + + id: WebNotifications.lastId, + title: data.title, text: data.body, //firstAt: monday_9_am, diff --git a/dashboard-ui/scripts/itemlistpage.js b/dashboard-ui/scripts/itemlistpage.js index a8a63d99b8..48e88b7e72 100644 --- a/dashboard-ui/scripts/itemlistpage.js +++ b/dashboard-ui/scripts/itemlistpage.js @@ -1,6 +1,6 @@ (function ($, document) { - var view = LibraryBrowser.getDefaultItemsView('Poster', 'PosterCard'); + var view = LibraryBrowser.getDefaultItemsView('Poster', 'Poster'); // The base query options var query = { diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js index afb1c332ce..0e6d0bebd6 100644 --- a/dashboard-ui/scripts/librarymenu.js +++ b/dashboard-ui/scripts/librarymenu.js @@ -20,15 +20,9 @@ html += '