diff --git a/dashboard-ui/css/dashboard.css b/dashboard-ui/css/dashboard.css index 66a2bda18d..ca6044009a 100644 --- a/dashboard-ui/css/dashboard.css +++ b/dashboard-ui/css/dashboard.css @@ -23,6 +23,10 @@ paper-input + .fieldDescription { margin-bottom: 30px !important; } +.ui-body-a .visualCardBox .cardScalable, .ui-body-a .visualCardBox .cardFooter { + background-color: #fff; +} + @media all and (min-width: 800px) { .type-interior > .ui-content, .type-interior > .ui-panel-content-wrap > .ui-content { diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index 5a8cc4d120..cefc9caaeb 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -1,4 +1,4 @@ -define(['jQuery', 'apphost'], function ($, appHost) { +define(['jQuery', 'apphost', 'cardStyle'], function ($, appHost) { function changeCollectionType(page, virtualFolder) { @@ -197,6 +197,8 @@ var divVirtualFolders = page.querySelector('#divVirtualFolders'); divVirtualFolders.innerHTML = html; + divVirtualFolders.classList.add('itemsContainer'); + divVirtualFolders.classList.add('vertical-wrap'); $('.btnCardMenu', divVirtualFolders).on('click', function () { showCardMenu(page, this, virtualFolders); @@ -255,23 +257,23 @@ switch (type) { case "movies": - return "local-movies"; + return "local_movies"; case "music": - return "library-music"; + return "library_music"; case "photos": return "photo"; case "livetv": - return "live-tv"; + return "live_tv"; case "tvshows": - return "live-tv"; + return "live_tv"; case "games": return "folder"; case "trailers": - return "local-movies"; + return "local_movies"; case "homevideos": - return "video-library"; + return "video_library"; case "musicvideos": - return "video-library"; + return "video_library"; case "books": return "folder"; case "channels": @@ -293,7 +295,7 @@ style += "min-width:33.3%;"; } - html += '