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 += '
'; + html += '
'; html += '
'; html += '
'; @@ -310,10 +312,10 @@ } if (imgUrl) { - html += '
'; + html += '
'; } else if (!virtualFolder.showNameWithIcon) { - html += '
'; - html += '' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + ''; + html += '
'; + html += '' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + ''; html += '
'; } @@ -325,17 +327,15 @@ html += "
"; if (!imgUrl && virtualFolder.showNameWithIcon) { - html += '

'; + html += '

'; - html += '
'; - html += '' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + ''; + html += '' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + ''; if (virtualFolder.showNameWithIcon) { html += '
'; html += virtualFolder.Name; html += "
"; } - html += "
"; html += '

'; } @@ -345,7 +345,7 @@ if (virtualFolder.showMenu !== false) { var moreIcon = appHost.moreIcon == 'dots-horiz' ? '' : ''; - html += '
'; + html += '
'; html += ''; html += "
"; } diff --git a/dashboard-ui/scripts/userprofilespage.js b/dashboard-ui/scripts/userprofilespage.js index 10f5afa006..0daf15112d 100644 --- a/dashboard-ui/scripts/userprofilespage.js +++ b/dashboard-ui/scripts/userprofilespage.js @@ -1,4 +1,4 @@ -define(['jQuery', 'paper-icon-button-light'], function ($) { +define(['jQuery', 'paper-icon-button-light', 'cardStyle'], function ($) { function deleteUser(page, id) { @@ -85,7 +85,7 @@ var html = ''; - var cssClass = "card squareCard bottomPaddedCard"; + var cssClass = "card squareCard scalableCard"; if (user.Policy.IsDisabled) { cssClass += ' grayscale'; @@ -135,7 +135,7 @@ html += '
'; - html += '
'; + html += '
'; html += ''; html += "
"; diff --git a/dashboard-ui/userprofiles.html b/dashboard-ui/userprofiles.html index bc5eb158d7..4d45026b97 100644 --- a/dashboard-ui/userprofiles.html +++ b/dashboard-ui/userprofiles.html @@ -11,7 +11,7 @@ ${ButtonAdd}
-
+

@@ -22,7 +22,7 @@ ${ButtonAdd}

-
+